From owner-freebsd-apache@FreeBSD.ORG Sun Aug 22 01:59:30 2004 Return-Path: Delivered-To: freebsd-apache@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3421116A4CE; Sun, 22 Aug 2004 01:59:30 +0000 (GMT) Received: from smtp-out.hotpop.com (smtp-out.hotpop.com [38.113.3.71]) by mx1.FreeBSD.org (Postfix) with ESMTP id AF64743D3F; Sun, 22 Aug 2004 01:59:29 +0000 (GMT) (envelope-from dryice@hotpop.com) Received: from hotpop.com (kubrick.hotpop.com [38.113.3.103]) by smtp-out.hotpop.com (Postfix) with SMTP id D79E5107282B; Sun, 22 Aug 2004 01:59:25 +0000 (UTC) Received: from hotpop.com (unknown [219.146.251.143]) by smtp-3.hotpop.com (Postfix) with ESMTP id C3B7E106F496; Sun, 22 Aug 2004 01:59:17 +0000 (UTC) Received: by hotpop.com (sSMTP sendmail emulation); Sun, 22 Aug 2004 09:59:47 +0800 X-Mailer: emacs 21.3.1 (via feedmail 8 I) To: Clement Laforet References: <20040820170725.19b920dd.sheepkiller@cultdeadsheep.org> From: Dryice Liu Date: Sun, 22 Aug 2004 09:59:46 +0800 In-Reply-To: <20040820170725.19b920dd.sheepkiller@cultdeadsheep.org> (Clement Laforet's message of "Fri, 20 Aug 2004 17:07:25 +0200") Message-ID: <86llg8gcfh.fsf@dryice.3322.org> User-Agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-HotPOP: ----------------------------------------------- Sent By HotPOP.com FREE Email Get your FREE POP email at www.HotPOP.com ----------------------------------------------- X-Mailman-Approved-At: Sun, 22 Aug 2004 11:58:24 +0000 cc: hikari@hikari.org.uk cc: lev@FreeBSD.org cc: apache@FreeBSD.org cc: svenasse@polaris.ca cc: seanc@FreeBSD.org cc: maske@maske.org cc: anton@chelcom.ru cc: mbr@FreeBSD.org cc: perky@FreeBSD.org cc: toshiya@saitoh.nu cc: dryice@liu.com.cn cc: vivek@kciLink.com cc: demon@FreeBSD.org cc: petef@FreeBSD.org cc: hollywar@mail.holywar.net cc: jre@vineyard.net cc: ms@vol.cz cc: ale@FreeBSD.org cc: asachs@uunet.co.za Subject: Re: module installation behavior cleanup patches. X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Aug 2004 01:59:30 -0000 Clement Laforet wrote: > You're maintaining, at least, one apache module which doesn't follow > installation/deinstallation requirements. > These patches fix: > - use of apxs -A during installation/deinstallation via port or packages > - Additionnaly, support for @exec/@unexec in pkg-plist Hi Clement, For mod_scgi, I have no problem with this. Please go ahead. And could you point me where the requirements are? BTW, There seams to be some minor bugs in your script splitting the patches. The header of Makefile patch moves :) -- Cheers, Dryice http://dryice.3322.org From owner-freebsd-apache@FreeBSD.ORG Wed Aug 25 02:39:39 2004 Return-Path: Delivered-To: freebsd-apache@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8898516A4CE for ; Wed, 25 Aug 2004 02:39:39 +0000 (GMT) Received: from utopia.in.force-elite.com (force-elite.com [216.255.199.145]) by mx1.FreeBSD.org (Postfix) with ESMTP id 19B8043D49 for ; Wed, 25 Aug 2004 02:39:39 +0000 (GMT) (envelope-from chip@force-elite.com) X-AuthUser: chip@force-elite.com Received: from [10.10.10.101] (199.5.172.2:34173)Server] ; Tue, 24 Aug 2004 19:39:37 -0700 From: Paul Querna To: freebsd-apache@freebsd.org Content-Type: text/plain Date: Tue, 24 Aug 2004 20:40:09 -0600 Message-Id: <1093401609.12212.15.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 1.5.92.1 Content-Transfer-Encoding: 7bit Subject: KQueue Patches X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Aug 2004 02:39:39 -0000 Hello, I am the author of the KQueue/Epoll support for APR/Apache-2.1. I noticed that the Ports are including these changes as an optional patch. (cool!) I was wondering if anyone has had success using this patch, or if they have had any problems since applying it? I am also wondering if anyone has started writing a document about performance tuning Apache 2.0/2.1 just for FreeBSD? There are many small optimizations that can make a huge difference in production. Thanks, -Paul Querna From owner-freebsd-apache@FreeBSD.ORG Wed Aug 25 08:32:42 2004 Return-Path: Delivered-To: freebsd-apache@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 986DA16A4CE for ; Wed, 25 Aug 2004 08:32:42 +0000 (GMT) Received: from goofy.cultdeadsheep.org (charon.cultdeadsheep.org [80.65.226.72]) by mx1.FreeBSD.org (Postfix) with SMTP id 0E42F43D46 for ; Wed, 25 Aug 2004 08:32:41 +0000 (GMT) (envelope-from sheepkiller@cultdeadsheep.org) Received: (qmail 95443 invoked by uid 89); 25 Aug 2004 10:32:35 +0200 Received: from sheepkiller@cultdeadsheep.org by goofy.cultdeadsheep.org by uid 89 with qmail-scanner-1.22 (clamdscan: 0.74. spamassassin: 2.63. Clear:RC:1(192.168.0.8):. Processed in 0.092787 secs); 25 Aug 2004 08:32:35 -0000 X-Qmail-Scanner-Mail-From: sheepkiller@cultdeadsheep.org via goofy.cultdeadsheep.org X-Qmail-Scanner: 1.22 (Clear:RC:1(192.168.0.8):. Processed in 0.092787 secs) Received: from unknown (HELO persephone.cultdeadsheep.org) (192.168.0.8) by goofy.cultdeadsheep.org with SMTP; 25 Aug 2004 10:32:34 +0200 Received: (qmail 11570 invoked from network); 25 Aug 2004 10:31:01 +0200 Received: from unknown (HELO satan.cultdeadsheep.org) (192.168.0.4) by persephone.cultdeadsheep.org with SMTP; 25 Aug 2004 10:31:01 +0200 Date: Wed, 25 Aug 2004 10:32:27 +0200 From: Clement Laforet To: Dryice Liu Message-Id: <20040825103227.2d756a8a.sheepkiller@cultdeadsheep.org> In-Reply-To: <86llg8gcfh.fsf@dryice.3322.org> References: <20040820170725.19b920dd.sheepkiller@cultdeadsheep.org> <86llg8gcfh.fsf@dryice.3322.org> Organization: tH3 cUlt 0f tH3 d3@d sH33p X-Mailer: Sylpheed version 0.9.12 (GTK+ 1.2.10; i386-portbld-freebsd6.0) Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg="pgp-sha1"; boundary="Signature=_Wed__25_Aug_2004_10_32_27_+0200_IbPHzBmHi77JnjDJ" cc: apache@FreeBSD.org Subject: Re: module installation behavior cleanup patches. X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Aug 2004 08:32:42 -0000 --Signature=_Wed__25_Aug_2004_10_32_27_+0200_IbPHzBmHi77JnjDJ Content-Type: text/plain; charset=US-ASCII Content-Disposition: inline Content-Transfer-Encoding: 7bit On Sun, 22 Aug 2004 09:59:46 +0800 Dryice Liu wrote: Hi, > For mod_scgi, I have no problem with this. Please go ahead. And could > you point me where the requirements are? I hope I can release a document at the end of the week. I'll post the URL to apache@. > BTW, There seams to be some minor bugs in your script splitting the > patches. The header of Makefile patch moves :) Oops :-) Thanks, clem --Signature=_Wed__25_Aug_2004_10_32_27_+0200_IbPHzBmHi77JnjDJ Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (FreeBSD) iD8DBQFBLE6esRhfjwcjuh0RAmltAKChwUFNydSExFl9BdC5BA0+RX4XIgCfbWkJ C2Dgc/MrT2LTLudZhhILVAA= =VDE2 -----END PGP SIGNATURE----- --Signature=_Wed__25_Aug_2004_10_32_27_+0200_IbPHzBmHi77JnjDJ-- From owner-freebsd-apache@FreeBSD.ORG Wed Aug 25 08:54:54 2004 Return-Path: Delivered-To: freebsd-apache@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BFA6216A4CE for ; Wed, 25 Aug 2004 08:54:54 +0000 (GMT) Received: from goofy.cultdeadsheep.org (charon.cultdeadsheep.org [80.65.226.72]) by mx1.FreeBSD.org (Postfix) with SMTP id A0DC943D49 for ; Wed, 25 Aug 2004 08:54:53 +0000 (GMT) (envelope-from sheepkiller@cultdeadsheep.org) Received: (qmail 1702 invoked by uid 89); 25 Aug 2004 10:54:52 +0200 Received: from sheepkiller@cultdeadsheep.org by goofy.cultdeadsheep.org by uid 89 with qmail-scanner-1.22 (clamdscan: 0.74. spamassassin: 2.63. Clear:RC:1(192.168.0.8):. Processed in 0.388089 secs); 25 Aug 2004 08:54:52 -0000 X-Qmail-Scanner-Mail-From: sheepkiller@cultdeadsheep.org via goofy.cultdeadsheep.org X-Qmail-Scanner: 1.22 (Clear:RC:1(192.168.0.8):. Processed in 0.388089 secs) Received: from unknown (HELO persephone.cultdeadsheep.org) (192.168.0.8) by goofy.cultdeadsheep.org with SMTP; 25 Aug 2004 10:54:51 +0200 Received: (qmail 11637 invoked from network); 25 Aug 2004 10:53:18 +0200 Received: from unknown (HELO satan.cultdeadsheep.org) (192.168.0.4) by persephone.cultdeadsheep.org with SMTP; 25 Aug 2004 10:53:18 +0200 Date: Wed, 25 Aug 2004 10:54:48 +0200 From: Clement Laforet To: Paul Querna Message-Id: <20040825105448.2f1be797.sheepkiller@cultdeadsheep.org> In-Reply-To: <1093401609.12212.15.camel@localhost> References: <1093401609.12212.15.camel@localhost> Organization: tH3 cUlt 0f tH3 d3@d sH33p X-Mailer: Sylpheed version 0.9.12 (GTK+ 1.2.10; i386-portbld-freebsd6.0) Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg="pgp-sha1"; boundary="Signature=_Wed__25_Aug_2004_10_54_48_+0200_SWeOw=07GHMOKcqd" cc: freebsd-apache@freebsd.org Subject: Re: KQueue Patches X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Aug 2004 08:54:54 -0000 --Signature=_Wed__25_Aug_2004_10_54_48_+0200_SWeOw=07GHMOKcqd Content-Type: text/plain; charset=US-ASCII Content-Disposition: inline Content-Transfer-Encoding: 7bit On Tue, 24 Aug 2004 20:40:09 -0600 Paul Querna wrote: Hi Paul, > I am the author of the KQueue/Epoll support for APR/Apache-2.1. I > noticed that the Ports are including these changes as an optional > patch.(cool!) Thanks for your nice job! (note: it's WITH_EXPERIMENTAL_PATCHES knob) > I was wondering if anyone has had success using this patch, or if they > have had any problems since applying it? I run it on my personnal apache server and on my crashbox. And I never encounter problem. I'm currently running benchmarch with debug.mpsafenet set to "1". Unfortunalty it's a UP system. > I am also wondering if anyone has started writing a document about > performance tuning Apache 2.0/2.1 just for FreeBSD? There are many > small optimizations that can make a huge difference in production. A such document is planned, I (we?) have more urgent stuff to do. Feel free to discuss performance tuning here, it's easier to write doc from archives ;-) clem --Signature=_Wed__25_Aug_2004_10_54_48_+0200_SWeOw=07GHMOKcqd Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (FreeBSD) iD8DBQFBLFPYsRhfjwcjuh0RArxdAKCrFA5QdDfs6Pmf1yTBvT7FUrOctgCgnm60 uutny8OYV/1sT06FdhAFp2I= =z7f5 -----END PGP SIGNATURE----- --Signature=_Wed__25_Aug_2004_10_54_48_+0200_SWeOw=07GHMOKcqd-- From owner-freebsd-apache@FreeBSD.ORG Wed Aug 25 12:47:18 2004 Return-Path: Delivered-To: freebsd-apache@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 77D5316A4CE for ; Wed, 25 Aug 2004 12:47:18 +0000 (GMT) Received: from ns6.globalevideo.com (ns3.globalevideo.com [80.241.68.227]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7FF5443D41 for ; Wed, 25 Aug 2004 12:47:16 +0000 (GMT) (envelope-from rob@robc.info) Received: from maldives (northpole.globalvc.co.uk [80.241.68.229]) by ns6.globalevideo.com (8.12.11/8.12.11) with SMTP id i7PDm1D3098541 for ; Wed, 25 Aug 2004 14:48:02 +0100 (BST) (envelope-from rob@robc.info) Message-ID: <005601c48aa1$a5fb63e0$0800000a@globalvc.co.uk> From: "rob.c" To: Date: Wed, 25 Aug 2004 13:47:13 +0100 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_0053_01C48AAA.06EEC040" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1437 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 Subject: mod_dav port bug report X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Aug 2004 12:47:18 -0000 This is a multi-part message in MIME format. ------=_NextPart_000_0053_01C48AAA.06EEC040 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Hi, I have just tried to build mod_dav port 1.0.3 on my system: Apache/2.0.48 FreeBSD 5.2.1 i386 And i get an error telling me to send the attached file. Am i doing something wrong ? Or does this port have a problem with Apache2 maybe ? regards, Rob ------=_NextPart_000_0053_01C48AAA.06EEC040 Content-Type: application/octet-stream; name="config.log" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="config.log" This file contains any messages produced by compilers while=0A= running configure, to aid debugging if configure makes a mistake.=0A= =0A= It was created by configure, which was=0A= generated by GNU Autoconf 2.52. Invocation command line was=0A= =0A= $ ./configure --prefix=3D/usr/local --bindir=3D/usr/local/bin = --sbindir=3D/usr/local/sbin --libexecdir=3D/usr/local/libexec/apache = --mandir=3D/usr/local/man --sysconfdir=3D/usr/local/etc/apache = --datadir=3D/usr/local/share/apache = --includedir=3D/usr/local/include/apache = --with-apxs=3D/usr/local/sbin/apxs=0A= =0A= ## ---------- ##=0A= ## Platform. ##=0A= ## ---------- ##=0A= =0A= hostname =3D www.robc.info=0A= uname -m =3D i386=0A= uname -r =3D 5.2.1-RELEASE=0A= uname -s =3D FreeBSD=0A= uname -v =3D FreeBSD 5.2.1-RELEASE #0: Mon Feb 23 20:45:55 GMT 2004 = root@wv1u.btc.adaptec.com:/usr/obj/usr/src/sys/GENERIC =0A= =0A= /usr/bin/uname -p =3D i386=0A= /bin/uname -X =3D unknown=0A= =0A= /bin/arch =3D unknown=0A= /usr/bin/arch -k =3D unknown=0A= /usr/convex/getsysinfo =3D unknown=0A= hostinfo =3D unknown=0A= /bin/machine =3D unknown=0A= /usr/bin/oslevel =3D unknown=0A= /bin/universe =3D unknown=0A= =0A= PATH =3D = /usr/local/bin:/usr/local/sbin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/= usr/local/sbin:/usr/local/bin:/usr/X11R6/bin:/root/bin=0A= =0A= ## ------------ ##=0A= ## Core tests. ##=0A= ## ------------ ##=0A= =0A= configure:921: PATH=3D".;."; conftest.sh=0A= conftest.sh: not found=0A= configure:924: $? =3D 127=0A= configure:980: checking for gcc=0A= configure:1003: result: cc=0A= configure:1231: checking for C compiler version=0A= configure:1234: cc --version &5=0A= cc (GCC) 3.3.3 [FreeBSD] 20031106=0A= Copyright (C) 2003 Free Software Foundation, Inc.=0A= This is free software; see the source for copying conditions. There is = NO=0A= warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR = PURPOSE.=0A= =0A= configure:1237: $? =3D 0=0A= configure:1239: cc -v &5=0A= Using built-in specs.=0A= Configured with: FreeBSD/i386 system compiler=0A= Thread model: posix=0A= gcc version 3.3.3 [FreeBSD] 20031106=0A= configure:1242: $? =3D 0=0A= configure:1244: cc -V &5=0A= cc: `-V' option must have argument=0A= configure:1247: $? =3D 1=0A= configure:1267: checking for C compiler default output=0A= configure:1270: cc -O -pipe -mcpu=3Dpentiumpro conftest.c >&5=0A= configure:1273: $? =3D 0=0A= configure:1302: result: a.out=0A= configure:1307: checking whether the C compiler works=0A= configure:1313: ./a.out=0A= configure:1316: $? =3D 0=0A= configure:1331: result: yes=0A= configure:1338: checking whether we are cross compiling=0A= configure:1340: result: no=0A= configure:1343: checking for executable suffix=0A= configure:1345: cc -o conftest -O -pipe -mcpu=3Dpentiumpro conftest.c = >&5=0A= configure:1348: $? =3D 0=0A= configure:1370: result: =0A= configure:1376: checking for object suffix=0A= configure:1394: cc -c -O -pipe -mcpu=3Dpentiumpro conftest.c >&5=0A= configure:1397: $? =3D 0=0A= configure:1416: result: o=0A= configure:1420: checking whether we are using the GNU C compiler=0A= configure:1441: cc -c -O -pipe -mcpu=3Dpentiumpro conftest.c >&5=0A= configure:1444: $? =3D 0=0A= configure:1447: test -s conftest.o=0A= configure:1450: $? =3D 0=0A= configure:1462: result: yes=0A= configure:1468: checking whether cc accepts -g=0A= configure:1486: cc -c -g conftest.c >&5=0A= configure:1489: $? =3D 0=0A= configure:1492: test -s conftest.o=0A= configure:1495: $? =3D 0=0A= configure:1505: result: yes=0A= configure:1532: cc -c -O -pipe -mcpu=3Dpentiumpro conftest.c >&5=0A= conftest.c:2: error: syntax error before "me"=0A= configure:1535: $? =3D 1=0A= configure: failed program was:=0A= #ifndef __cplusplus=0A= choke me=0A= #endif=0A= configure:1671: checking for ranlib=0A= configure:1686: found /usr/bin/ranlib=0A= configure:1695: result: ranlib=0A= configure:1737: checking how to run the C preprocessor=0A= configure:1763: cc -E conftest.c=0A= configure:1769: $? =3D 0=0A= configure:1796: cc -E conftest.c=0A= configure:1793:28: ac_nonexistent.h: No such file or directory=0A= configure:1802: $? =3D 1=0A= configure: failed program was:=0A= #line 1792 "configure"=0A= #include "confdefs.h"=0A= #include =0A= configure:1839: result: cc -E=0A= configure:1854: cc -E conftest.c=0A= configure:1860: $? =3D 0=0A= configure:1887: cc -E conftest.c=0A= configure:1884:28: ac_nonexistent.h: No such file or directory=0A= configure:1893: $? =3D 1=0A= configure: failed program was:=0A= #line 1883 "configure"=0A= #include "confdefs.h"=0A= #include =0A= configure:1932: checking for ANSI C header files=0A= configure:1946: cc -E conftest.c=0A= configure:1952: $? =3D 0=0A= configure:2039: cc -o conftest -O -pipe -mcpu=3Dpentiumpro conftest.c = >&5=0A= configure:2042: $? =3D 0=0A= configure:2044: ./conftest=0A= configure:2047: $? =3D 0=0A= configure:2060: result: yes=0A= configure:2070: checking for static Apache module support=0A= configure:2103: result: no=0A= configure:2108: checking for dynamic Apache module support (via APXS)=0A= configure:2148: result: found at /usr/local/sbin/apxs=0A= configure:2157: error: Your APXS installation is broken and cannot be = used.=0A= Please see http://www.webdav.org/mod_dav/install.html#apxs for=0A= more information.=0A= =0A= ## ----------------- ##=0A= ## Cache variables. ##=0A= ## ----------------- ##=0A= =0A= ac_cv_prog_cc_g=3Dyes=0A= ac_cv_env_LDFLAGS_set=3D=0A= ac_cv_c_compiler_gnu=3Dyes=0A= ac_cv_env_CFLAGS_set=3Dset=0A= ac_cv_env_CPP_value=3D=0A= ac_cv_env_CPPFLAGS_set=3D=0A= ac_cv_env_host_alias_set=3D=0A= ac_cv_env_build_alias_set=3D=0A= ac_cv_env_LDFLAGS_value=3D=0A= ac_cv_env_target_alias_set=3D=0A= ac_cv_env_CFLAGS_value=3D'-O -pipe -mcpu=3Dpentiumpro'=0A= ac_cv_env_CC_set=3Dset=0A= ac_cv_header_stdc=3Dyes=0A= ac_cv_env_CPPFLAGS_value=3D=0A= ac_cv_prog_ac_ct_RANLIB=3Dranlib=0A= ac_cv_env_host_alias_value=3D=0A= ac_cv_prog_CPP=3D'cc -E'=0A= ac_cv_env_build_alias_value=3D=0A= ac_cv_prog_ac_ct_CC=3Dcc=0A= ac_cv_env_target_alias_value=3D=0A= ac_cv_env_CC_value=3Dcc=0A= ac_cv_env_CPP_set=3D=0A= ac_cv_objext=3Do=0A= =0A= ## ------------ ##=0A= ## confdefs.h. ##=0A= ## ------------ ##=0A= =0A= #define STDC_HEADERS 1=0A= =0A= =0A= configure: exit 1=0A= ------=_NextPart_000_0053_01C48AAA.06EEC040-- From owner-freebsd-apache@FreeBSD.ORG Wed Aug 25 13:04:30 2004 Return-Path: Delivered-To: freebsd-apache@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 32A0A16A4CE for ; Wed, 25 Aug 2004 13:04:30 +0000 (GMT) Received: from goofy.cultdeadsheep.org (charon.cultdeadsheep.org [80.65.226.72]) by mx1.FreeBSD.org (Postfix) with SMTP id 062B343D1D for ; Wed, 25 Aug 2004 13:04:26 +0000 (GMT) (envelope-from sheepkiller@cultdeadsheep.org) Received: (qmail 72701 invoked by uid 89); 25 Aug 2004 15:04:14 +0200 Received: from sheepkiller@cultdeadsheep.org by goofy.cultdeadsheep.org by uid 89 with qmail-scanner-1.22 (clamdscan: 0.74. spamassassin: 2.63. Clear:RC:1(192.168.0.8):. Processed in 0.135985 secs); 25 Aug 2004 13:04:14 -0000 X-Qmail-Scanner-Mail-From: sheepkiller@cultdeadsheep.org via goofy.cultdeadsheep.org X-Qmail-Scanner: 1.22 (Clear:RC:1(192.168.0.8):. Processed in 0.135985 secs) Received: from unknown (HELO persephone.cultdeadsheep.org) (192.168.0.8) by goofy.cultdeadsheep.org with SMTP; 25 Aug 2004 15:04:13 +0200 Received: (qmail 12477 invoked from network); 25 Aug 2004 15:02:39 +0200 Received: from unknown (HELO satan.cultdeadsheep.org) (192.168.0.4) by persephone.cultdeadsheep.org with SMTP; 25 Aug 2004 15:02:39 +0200 Date: Wed, 25 Aug 2004 15:04:06 +0200 From: Clement Laforet To: "rob.c" Message-Id: <20040825150406.792dd922.sheepkiller@cultdeadsheep.org> In-Reply-To: <005601c48aa1$a5fb63e0$0800000a@globalvc.co.uk> References: <005601c48aa1$a5fb63e0$0800000a@globalvc.co.uk> Organization: tH3 cUlt 0f tH3 d3@d sH33p X-Mailer: Sylpheed version 0.9.12 (GTK+ 1.2.10; i386-portbld-freebsd6.0) Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg="pgp-sha1"; boundary="Signature=_Wed__25_Aug_2004_15_04_06_+0200_2Qo3rKvh.CykN4_I" cc: apache@freebsd.org Subject: Re: mod_dav port bug report X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Aug 2004 13:04:30 -0000 --Signature=_Wed__25_Aug_2004_15_04_06_+0200_2Qo3rKvh.CykN4_I Content-Type: text/plain; charset=US-ASCII Content-Disposition: inline Content-Transfer-Encoding: 7bit On Wed, 25 Aug 2004 13:47:13 +0100 "rob.c" wrote: Hi rob, > > I have just tried to build mod_dav port 1.0.3 on my system: > Apache/2.0.48 > FreeBSD 5.2.1 i386 > > And i get an error telling me to send the attached file. > > Am i doing something wrong ? Or does this port have a problem with Apache2 > maybe ? www/mod_dav is designed for apache 1.3.x only. apache2 has its own dav module: http://httpd.apache.org/docs-2.0/mod/mod_dav.html Theorically, you needn't rebuild your apache port. clem --Signature=_Wed__25_Aug_2004_15_04_06_+0200_2Qo3rKvh.CykN4_I Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (FreeBSD) iD8DBQFBLI5JsRhfjwcjuh0RAmAZAKDBTGmKPN+HyJPuVq+4DvG4zH6H9ACdFs2D ue6pMqmeOyjSR8YsanmMDQ8= =XaAA -----END PGP SIGNATURE----- --Signature=_Wed__25_Aug_2004_15_04_06_+0200_2Qo3rKvh.CykN4_I-- From owner-freebsd-apache@FreeBSD.ORG Thu Aug 26 11:00:44 2004 Return-Path: Delivered-To: freebsd-apache@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ED6DC16A4D2 for ; Thu, 26 Aug 2004 11:00:44 +0000 (GMT) Received: from atlas.informatik.rwth-aachen.de (atlas.informatik.RWTH-Aachen.DE [137.226.194.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id D858C43D2F for ; Thu, 26 Aug 2004 11:00:43 +0000 (GMT) (envelope-from stolz@i2.informatik.rwth-aachen.de) Received: from i2.informatik.rwth-aachen.de (menelaos.informatik.RWTH-Aachen.DE [137.226.194.73]) with ESMTP id i7QB0gkL020141 for ; Thu, 26 Aug 2004 13:00:42 +0200 Received: (from stolz@localhost)i7QB0gDj042254 for apache@freebsd.org; Thu, 26 Aug 2004 13:00:42 +0200 (CEST) (envelope-from stolz) Date: Thu, 26 Aug 2004 13:00:42 +0200 From: Volker Stolz To: apache@freebsd.org Message-ID: <20040826110042.GJ90982@i2.informatik.rwth-aachen.de> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="9Ek0hoCL9XbhcSqy" Content-Disposition: inline X-PGP-Key: finger vs@foldr.org X-PGP-Id: 0x3FD1B6B5 User-Agent: Mutt/1.5.6i Subject: Improvements to mod_dav [patch] X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Aug 2004 11:00:45 -0000 --9Ek0hoCL9XbhcSqy Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Please review: - Remove pkg-plist in favour of PLIST_FILES (oh, yeah, great ;) - Automatically follow instructions in apache.conf.mod_dav to setup the two files req'd for locking to work. Cheers, Volker -- http://www-i2.informatik.rwth-aachen.de/stolz/ *** PGP *** S/MIME L-Attriwutgrammatik --9Ek0hoCL9XbhcSqy Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="mod_dav.diff" Index: Makefile =================================================================== RCS file: /usr/freebsdcvs/cvs-ports/ports/www/mod_dav/Makefile,v retrieving revision 1.14 diff -u -r1.14 Makefile --- Makefile 18 Aug 2004 16:21:49 -0000 1.14 +++ Makefile 26 Aug 2004 10:15:05 -0000 @@ -18,6 +18,9 @@ # This port will work with the following version of Apache and anything newer. APACHE_VERSION= 1.3.6 +PKGDEINSTALL= ${PKGINSTALL} +PLIST_FILES= etc/apache/apache.conf.mod_dav libexec/apache/libdav.so + USE_APACHE= yes HAS_CONFIGURE= yes CONFIGURE_ARGS= --prefix=${PREFIX} \ @@ -45,6 +48,9 @@ post-install: ${INSTALL_DATA} ${FILESDIR}/apache.conf.mod_dav ${PREFIX}/etc/apache +.if !defined(PACKAGE_BUILDING) + @${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL +.endif @${ECHO_MSG} "*******************************************************" @${ECHO_MSG} "* Please review the mod_dav configuration in the main" @${ECHO_MSG} "* Apache configuration file." Index: pkg-install =================================================================== RCS file: pkg-install diff -N pkg-install --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ pkg-install 26 Aug 2004 10:17:06 -0000 @@ -0,0 +1,23 @@ +#!/bin/sh + +USER=www +GROUP=${USER} +CHMOD=/bin/chmod +CHOWN=/usr/sbin/chown +TOUCH=/usr/bin/touch + +case $2 in +POST-INSTALL) + for i in DAVLock.dir DAVLock.pag ; do + ${TOUCH} /var/db/$i + ${CHOWN} ${USER}:${GROUP} /var/db/$i + ${CHMOD} 640 /var/db/$i + done + ;; +POST-DEINSTALL) + for i in DAVLock.dir DAVLock.pag ; do + rm -f /var/db/$i + done + ;; +esac +exit 0 --9Ek0hoCL9XbhcSqy-- From owner-freebsd-apache@FreeBSD.ORG Thu Aug 26 12:23:31 2004 Return-Path: Delivered-To: freebsd-apache@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6296916A4CE for ; Thu, 26 Aug 2004 12:23:31 +0000 (GMT) Received: from goofy.cultdeadsheep.org (charon.cultdeadsheep.org [80.65.226.72]) by mx1.FreeBSD.org (Postfix) with SMTP id 6E7F443D49 for ; Thu, 26 Aug 2004 12:23:27 +0000 (GMT) (envelope-from sheepkiller@cultdeadsheep.org) Received: (qmail 67831 invoked by uid 89); 26 Aug 2004 14:23:20 +0200 Received: from sheepkiller@cultdeadsheep.org by goofy.cultdeadsheep.org by uid 89 with qmail-scanner-1.22 (clamdscan: 0.74. spamassassin: 2.63. Clear:RC:1(192.168.0.8):. Processed in 0.107762 secs); 26 Aug 2004 12:23:20 -0000 X-Qmail-Scanner-Mail-From: sheepkiller@cultdeadsheep.org via goofy.cultdeadsheep.org X-Qmail-Scanner: 1.22 (Clear:RC:1(192.168.0.8):. Processed in 0.107762 secs) Received: from unknown (HELO persephone.cultdeadsheep.org) (192.168.0.8) by goofy.cultdeadsheep.org with SMTP; 26 Aug 2004 14:23:19 +0200 Received: (qmail 17132 invoked from network); 26 Aug 2004 14:21:46 +0200 Received: from unknown (HELO satan.cultdeadsheep.org) (192.168.0.4) by persephone.cultdeadsheep.org with SMTP; 26 Aug 2004 14:21:46 +0200 Date: Thu, 26 Aug 2004 14:23:10 +0200 From: Clement Laforet To: Volker Stolz Message-Id: <20040826142310.6c2f0276.sheepkiller@cultdeadsheep.org> In-Reply-To: <20040826110042.GJ90982@i2.informatik.rwth-aachen.de> References: <20040826110042.GJ90982@i2.informatik.rwth-aachen.de> Organization: tH3 cUlt 0f tH3 d3@d sH33p X-Mailer: Sylpheed version 0.9.12 (GTK+ 1.2.10; i386-portbld-freebsd6.0) Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg="pgp-sha1"; boundary="Signature=_Thu__26_Aug_2004_14_23_10_+0200_6ERW25axmbWcid57" cc: apache@freebsd.org Subject: Re: Improvements to mod_dav [patch] X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Aug 2004 12:23:31 -0000 --Signature=_Thu__26_Aug_2004_14_23_10_+0200_6ERW25axmbWcid57 Content-Type: text/plain; charset=US-ASCII Content-Disposition: inline Content-Transfer-Encoding: 7bit On Thu, 26 Aug 2004 13:00:42 +0200 Volker Stolz wrote: Hi Volker, > Please review: > - Remove pkg-plist in favour of PLIST_FILES (oh, yeah, great ;) > - Automatically follow instructions in apache.conf.mod_dav to setup > the two files req'd for locking to work. fine for me. But please use ${WWWOWN} and ${WWWGRP} instead of USER=www. clem --Signature=_Thu__26_Aug_2004_14_23_10_+0200_6ERW25axmbWcid57 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (FreeBSD) iD8DBQFBLdYwsRhfjwcjuh0RAuDrAKDSIsm1UHIuN6DyKvs+Bh43LAw1HgCfZFVl jIbN4xCC7949HgRLjF5AIU0= =Kj/E -----END PGP SIGNATURE----- --Signature=_Thu__26_Aug_2004_14_23_10_+0200_6ERW25axmbWcid57-- From owner-freebsd-apache@FreeBSD.ORG Fri Aug 27 02:49:42 2004 Return-Path: Delivered-To: freebsd-apache@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0E40C16A4CE for ; Fri, 27 Aug 2004 02:49:42 +0000 (GMT) Received: from black.imgsrc.co.jp (black.imgsrc.co.jp [210.226.20.147]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6409143D31 for ; Fri, 27 Aug 2004 02:49:41 +0000 (GMT) (envelope-from kuriyama@imgsrc.co.jp) Received: from localhost (localhost [127.0.0.1]) by black.imgsrc.co.jp (Postfix) with ESMTP id 40BE850BE2 for ; Fri, 27 Aug 2004 11:49:40 +0900 (JST) Received: from black.imgsrc.co.jp (black.imgsrc.co.jp [IPv6:2001:218:422:2::9999]) by black.imgsrc.co.jp (Postfix) with ESMTP id BEBB850BC0 for ; Fri, 27 Aug 2004 11:49:38 +0900 (JST) Date: Fri, 27 Aug 2004 11:49:38 +0900 Message-ID: <7m3c295m7x.wl@black.imgsrc.co.jp> From: Jun Kuriyama To: apache@freebsd.org User-Agent: Wanderlust/2.10.1 (Watching The Wheels) SEMI/1.14.6 (Maruoka) FLIM/1.14.6 (Marutamachi) APEL/10.6 Emacs/21.3 (i386--freebsd) MULE/5.0 (SAKAKI) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-Virus-Scanned: by amavisd 0.1 Subject: Using etc/apache2/Includes/ for lang/php5 X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Aug 2004 02:49:42 -0000 Hi, I'd like to hear comments about this patch (not yet tested, just an idea). When I installed lang/php5, I suggested to add directives in httpd.conf by lang/php5/pkg-message.mod. But I think it would be good if I can use PHP out of the box after installing lang/php5. And, www/apache2 port has a feature to include config files automatically which are matched with etc/apache2/Includes/*.conf glob. So I'd like to install php5.conf file from lang/php5 port. And I want to use conditional DirectoryIndex wrapped with . There are such conditionals in 1.3 port patch, but we don't have in 2.0 port. How about adding them in 2.0 port, too? Index: Makefile =================================================================== RCS file: /home/ncvs/ports/lang/php5/Makefile,v retrieving revision 1.73 diff -u -r1.73 Makefile --- Makefile 23 Aug 2004 13:18:38 -0000 1.73 +++ Makefile 27 Aug 2004 02:28:09 -0000 @@ -96,6 +96,11 @@ .if defined(WITH_APACHE) PLIST_SUB+= APACHE="" +.if defined(WITH_APACHE2) +PLIST_SUB+= APACHE2="" +.else +PLIST_SUB+= APACHE2="@comment " +.endif .else PLIST_SUB+= APACHE="@comment " .endif @@ -198,8 +203,12 @@ @${INSTALL_DATA} ${WRKDIR}/php.conf ${PREFIX}/etc @${TOUCH} ${PREFIX}/include/php/ext/php_config.h .if defined(WITH_APACHE) +.if defined(WITH_APACHE2) + @${INSTALL_DATA} ${FILESDIR}/apache2-php5.conf ${PREFIX}/etc/apache2/Includes/php5.conf +.else @${CAT} ${PKGMESSAGE} .endif +.endif .else .if ${PKGNAMESUFFIX} == "-pear" Index: pkg-message.mod =================================================================== RCS file: /home/ncvs/ports/lang/php5/pkg-message.mod,v retrieving revision 1.1 diff -u -r1.1 pkg-message.mod --- pkg-message.mod 19 Jul 2004 07:05:33 -0000 1.1 +++ pkg-message.mod 27 Aug 2004 02:26:23 -0000 @@ -2,7 +2,8 @@ Make sure index.php is part of your DirectoryIndex. -You should add the following to your Apache configuration file: +You should add the following to your Apache configuration file +(if you are using www/apache13): AddType application/x-httpd-php .php AddType application/x-httpd-php-source .phps Index: pkg-plist =================================================================== RCS file: /home/ncvs/ports/lang/php5/pkg-plist,v retrieving revision 1.15 diff -u -r1.15 pkg-plist --- pkg-plist 28 Jul 2004 08:59:35 -0000 1.15 +++ pkg-plist 27 Aug 2004 02:26:57 -0000 @@ -5,6 +5,7 @@ etc/php.conf etc/php.ini-dist etc/php.ini-recommended +%%APACHE2%%/etc/apache/Includes/php5.conf include/php/TSRM/TSRM.h include/php/TSRM/acconfig.h include/php/TSRM/readdir.h Index: files/apache2-php5.conf =================================================================== RCS file: files/apache2-php5.conf diff -N files/apache2-php5.conf --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ files/apache2-php5.conf 27 Aug 2004 02:25:32 -0000 @@ -0,0 +1,4 @@ + +AddType application/x-httpd-php .php +AddType application/x-httpd-php-source .phps + -- Jun Kuriyama // IMG SRC, Inc. // FreeBSD Project From owner-freebsd-apache@FreeBSD.ORG Fri Aug 27 09:20:26 2004 Return-Path: Delivered-To: freebsd-apache@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 981AA16A4CE for ; Fri, 27 Aug 2004 09:20:26 +0000 (GMT) Received: from atlas.informatik.rwth-aachen.de (atlas.informatik.RWTH-Aachen.DE [137.226.194.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id A899443D5A for ; Fri, 27 Aug 2004 09:20:25 +0000 (GMT) (envelope-from stolz@i2.informatik.rwth-aachen.de) Received: from i2.informatik.rwth-aachen.de (menelaos.informatik.RWTH-Aachen.DE [137.226.194.73]) with ESMTP id i7R9K8kL017380; Fri, 27 Aug 2004 11:20:08 +0200 Received: (from stolz@localhost)i7R9K6kb068316; Fri, 27 Aug 2004 11:20:06 +0200 (CEST) (envelope-from stolz) Date: Fri, 27 Aug 2004 11:20:06 +0200 From: Volker Stolz To: Clement Laforet Message-ID: <20040827092006.GD62195@i2.informatik.rwth-aachen.de> References: <20040826110042.GJ90982@i2.informatik.rwth-aachen.de> <20040826142310.6c2f0276.sheepkiller@cultdeadsheep.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="MfFXiAuoTsnnDAfZ" Content-Disposition: inline In-Reply-To: <20040826142310.6c2f0276.sheepkiller@cultdeadsheep.org> X-PGP-Key: finger vs@foldr.org X-PGP-Id: 0x3FD1B6B5 User-Agent: Mutt/1.5.6i cc: apache@freebsd.org Subject: Re: Improvements to mod_dav [patch] X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Aug 2004 09:20:26 -0000 --MfFXiAuoTsnnDAfZ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Am 26. Aug 2004 um 14:23 CEST schrieb Clement Laforet: > > - Remove pkg-plist in favour of PLIST_FILES (oh, yeah, great ;) > > - Automatically follow instructions in apache.conf.mod_dav to setup > > the two files req'd for locking to work. > > fine for me. But please use ${WWWOWN} and ${WWWGRP} instead of USER=www. Okay, changed. I just noticed two more things: Installing from the port behaves differently from the package since apxs isn't called. I revamped the *-install-logic so that it does exactly the same in all cases. Also, I moved the displayed advice from post-install to pkg-message where everybody can see it and pointed out the already created lock db. (Like in the previous version, the module is activated immediately) Sorry for having to bother you again. Cheers, Volker -- http://www-i2.informatik.rwth-aachen.de/stolz/ *** PGP *** S/MIME L-Attriwutgrammatik --MfFXiAuoTsnnDAfZ Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="mod_dav.diff" Index: Makefile =================================================================== RCS file: /usr/freebsdcvs/cvs-ports/ports/www/mod_dav/Makefile,v retrieving revision 1.14 diff -u -r1.14 Makefile --- Makefile 18 Aug 2004 16:21:49 -0000 1.14 +++ Makefile 27 Aug 2004 09:06:46 -0000 @@ -18,6 +18,10 @@ # This port will work with the following version of Apache and anything newer. APACHE_VERSION= 1.3.6 +PKGDEINSTALL= ${PKGINSTALL} +PKGMESSAGE= ${WRKSRC}/pkg-message +PLIST_FILES= etc/apache/apache.conf.mod_dav libexec/apache/libdav.so + USE_APACHE= yes HAS_CONFIGURE= yes CONFIGURE_ARGS= --prefix=${PREFIX} \ @@ -43,16 +47,17 @@ @/bin/sleep 5 .endif -post-install: +do-install: + ${INSTALL_DATA} ${WRKSRC}/libdav.so ${PREFIX}/libexec/apache ${INSTALL_DATA} ${FILESDIR}/apache.conf.mod_dav ${PREFIX}/etc/apache - @${ECHO_MSG} "*******************************************************" - @${ECHO_MSG} "* Please review the mod_dav configuration in the main" - @${ECHO_MSG} "* Apache configuration file." - @${ECHO_MSG} "* ${PREFIX}/etc/apache/httpd.conf" - @${ECHO_MSG} "*" - @${ECHO_MSG} "* Look at the file ${PREFIX}/etc/apache/apache.conf.mod_dav" - @${ECHO_MSG} "* for indications on what to do." - @${ECHO_MSG} "*" - @${ECHO_MSG} "*******************************************************" + +post-install: +.if !defined(PACKAGE_BUILDING) + @${SETENV} WWWOWN=${WWWOWN} WWWGRP=${WWWGRP} PKG_PREFIX=${PREFIX} \ + ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL +.endif + @${SED} -e 's+%%PREFIX%%+${PREFIX}+' ${FILESDIR}/pkg-message.in \ + > ${PKGMESSAGE} + @${CAT} ${PKGMESSAGE} .include Index: pkg-install =================================================================== RCS file: pkg-install diff -N pkg-install --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ pkg-install 27 Aug 2004 09:00:51 -0000 @@ -0,0 +1,23 @@ +#!/bin/sh + +CHMOD=/bin/chmod +CHOWN=/usr/sbin/chown +TOUCH=/usr/bin/touch + +case $2 in +POST-INSTALL) + ${PKG_PREFIX}/sbin/apxs -e -a -n dav libdav.so + for i in DAVLock.dir DAVLock.pag ; do + ${TOUCH} /var/db/$i + ${CHOWN} ${WWWOWN}:${WWWGRP} /var/db/$i + ${CHMOD} 640 /var/db/$i + done + ;; +POST-DEINSTALL) + ${PKG_PREFIX}/sbin/apxs -e -A -n dav libdav.so + for i in DAVLock.dir DAVLock.pag ; do + rm -f /var/db/$i + done + ;; +esac +exit 0 Index: pkg-plist =================================================================== RCS file: pkg-plist diff -N pkg-plist --- pkg-plist 26 Nov 1999 19:32:19 -0000 1.1.1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,2 +0,0 @@ -etc/apache/apache.conf.mod_dav -libexec/apache/libdav.so Index: files/pkg-message.in =================================================================== RCS file: files/pkg-message.in diff -N files/pkg-message.in --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ files/pkg-message.in 27 Aug 2004 09:07:16 -0000 @@ -0,0 +1,10 @@ +******************************************************* +* Please review the mod_dav configuration in the main +* Apache configuration file: +* %%PREFIX%%/etc/apache/httpd.conf +* +* Look at the file %%PREFIX%%/etc/apache/apache.conf.mod_dav +* for indications on what to do. The default lock database +* has already been created in /var/db/DAVLock.{dir,pag}. +* +******************************************************* --MfFXiAuoTsnnDAfZ-- From owner-freebsd-apache@FreeBSD.ORG Fri Aug 27 12:13:55 2004 Return-Path: Delivered-To: freebsd-apache@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1BB4B16A4CE for ; Fri, 27 Aug 2004 12:13:55 +0000 (GMT) Received: from goofy.cultdeadsheep.org (charon.cultdeadsheep.org [80.65.226.72]) by mx1.FreeBSD.org (Postfix) with SMTP id CE36C43D69 for ; Fri, 27 Aug 2004 12:13:50 +0000 (GMT) (envelope-from sheepkiller@cultdeadsheep.org) Received: (qmail 74516 invoked by uid 89); 27 Aug 2004 14:13:46 +0200 Received: from sheepkiller@cultdeadsheep.org by goofy.cultdeadsheep.org by uid 89 with qmail-scanner-1.22 (clamdscan: 0.74. spamassassin: 2.63. Clear:RC:1(192.168.0.8):. Processed in 0.108381 secs); 27 Aug 2004 12:13:46 -0000 X-Qmail-Scanner-Mail-From: sheepkiller@cultdeadsheep.org via goofy.cultdeadsheep.org X-Qmail-Scanner: 1.22 (Clear:RC:1(192.168.0.8):. Processed in 0.108381 secs) Received: from unknown (HELO persephone.cultdeadsheep.org) (192.168.0.8) by goofy.cultdeadsheep.org with SMTP; 27 Aug 2004 14:13:46 +0200 Received: (qmail 21821 invoked from network); 27 Aug 2004 14:12:13 +0200 Received: from unknown (HELO satan.cultdeadsheep.org) (192.168.0.4) by persephone.cultdeadsheep.org with SMTP; 27 Aug 2004 14:12:13 +0200 Date: Fri, 27 Aug 2004 14:13:33 +0200 From: Clement Laforet To: Volker Stolz Message-Id: <20040827141333.466568bb.sheepkiller@cultdeadsheep.org> In-Reply-To: <20040827092006.GD62195@i2.informatik.rwth-aachen.de> References: <20040826110042.GJ90982@i2.informatik.rwth-aachen.de> <20040826142310.6c2f0276.sheepkiller@cultdeadsheep.org> <20040827092006.GD62195@i2.informatik.rwth-aachen.de> Organization: tH3 cUlt 0f tH3 d3@d sH33p X-Mailer: Sylpheed version 0.9.12 (GTK+ 1.2.10; i386-portbld-freebsd6.0) Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg="pgp-sha1"; boundary="Signature=_Fri__27_Aug_2004_14_13_33_+0200_UFb9MN06Jrv8PvRY" cc: apache@freebsd.org Subject: Re: Improvements to mod_dav [patch] X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Aug 2004 12:13:55 -0000 --Signature=_Fri__27_Aug_2004_14_13_33_+0200_UFb9MN06Jrv8PvRY Content-Type: text/plain; charset=US-ASCII Content-Disposition: inline Content-Transfer-Encoding: 7bit On Fri, 27 Aug 2004 11:20:06 +0200 Volker Stolz wrote: > Am 26. Aug 2004 um 14:23 CEST schrieb Clement Laforet: > > fine for me. But please use ${WWWOWN} and ${WWWGRP} instead of > > USER=www. > > Okay, changed. thanks! > I just noticed two more things: Installing from the > port behaves differently from the package since apxs isn't called. I > revamped the *-install-logic so that it does exactly the same in all > cases. Also, I moved the displayed advice from post-install to > pkg-message where everybody can see it and pointed out the already > created lock db.(Like in the previous version, the module is activated > immediately) OK. neat :) +do-install: + ${INSTALL_DATA} ${WRKSRC}/libdav.so ${PREFIX}/libexec/apache Can you please use ${INSTALL_PROGRAM}? So it can be stripped, and install with 755 perms (like other apache modules) > Sorry for having to bother you again. Cheers, > Volker Hey, it's our works ;-) Feel free to commit it. clem --Signature=_Fri__27_Aug_2004_14_13_33_+0200_UFb9MN06Jrv8PvRY Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (FreeBSD) iD8DBQFBLyVwsRhfjwcjuh0RAkAtAJ91acjWVDBDji0QNkGWZRR4JD8XaACgtAr1 3bDgwWcnTn0eB5/eAeIjhgs= =WasW -----END PGP SIGNATURE----- --Signature=_Fri__27_Aug_2004_14_13_33_+0200_UFb9MN06Jrv8PvRY--