From owner-freebsd-apache@FreeBSD.ORG Mon Aug 8 11:00:57 2005 Return-Path: X-Original-To: apache@freebsd.org 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 1B69916A41F for ; Mon, 8 Aug 2005 11:00:57 +0000 (GMT) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id BFAAA43D46 for ; Mon, 8 Aug 2005 11:00:56 +0000 (GMT) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (peter@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j78B0uBc005911 for ; Mon, 8 Aug 2005 11:00:56 GMT (envelope-from owner-bugmaster@freebsd.org) Received: (from peter@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j78B0sjo005903 for apache@freebsd.org; Mon, 8 Aug 2005 11:00:54 GMT (envelope-from owner-bugmaster@freebsd.org) Date: Mon, 8 Aug 2005 11:00:54 GMT Message-Id: <200508081100.j78B0sjo005903@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: peter set sender to owner-bugmaster@freebsd.org using -f From: FreeBSD bugmaster To: apache@FreeBSD.org Cc: Subject: Current problem reports assigned to you X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Aug 2005 11:00:57 -0000 Current FreeBSD problem reports Critical problems Serious problems Non-critical problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2004/12/09] ports/74907 apache [PATCH] www/mod_perl: cleanups o [2005/05/18] ports/81183 apache apache13-modperl can not compile with por 2 problems total. From owner-freebsd-apache@FreeBSD.ORG Thu Aug 11 13:58:26 2005 Return-Path: X-Original-To: apache@freebsd.org 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 A866216A41F; Thu, 11 Aug 2005 13:58:26 +0000 (GMT) (envelope-from martin@gneto.com) Received: from av9-1-sn2.hy.skanova.net (av9-1-sn2.hy.skanova.net [81.228.8.179]) by mx1.FreeBSD.org (Postfix) with ESMTP id 01CB643D46; Thu, 11 Aug 2005 13:58:25 +0000 (GMT) (envelope-from martin@gneto.com) Received: by av9-1-sn2.hy.skanova.net (Postfix, from userid 502) id D9F5D3804F; Thu, 11 Aug 2005 15:58:23 +0200 (CEST) Received: from smtp4-1-sn2.hy.skanova.net (smtp4-1-sn2.hy.skanova.net [81.228.8.92]) by av9-1-sn2.hy.skanova.net (Postfix) with ESMTP id B91CA37E7B; Thu, 11 Aug 2005 15:58:23 +0200 (CEST) Received: from [192.168.2.130] (h99n2fls34o985.telia.com [213.66.202.99]) by smtp4-1-sn2.hy.skanova.net (Postfix) with ESMTP id 9235137E50; Thu, 11 Aug 2005 15:58:23 +0200 (CEST) Message-ID: <42FB597D.1020405@gneto.com> Date: Thu, 11 Aug 2005 15:58:21 +0200 From: Martin Nilsson User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: sv, en-us, en MIME-Version: 1.0 To: "Andrey A. Chernov" Content-Type: multipart/mixed; boundary="------------080509080909020104050701" Cc: apache@freebsd.org Subject: www/apache13-modperl does not work with external expat X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Aug 2005 13:58:26 -0000 This is a multi-part message in MIME format. --------------080509080909020104050701 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit I'm unable to make this port work with external expat. I have the following in make.conf # Apache 1.3 + mod_perl WITHOUT_APACHE_EXPAT=no WITH_APACHE_INTERNAL_EXPAT=no This is what I want: www# ldd /usr/local/sbin/httpd-1.3.33+mod_perl-1.29 /usr/local/sbin/httpd-1.3.33+mod_perl-1.29: libcrypt.so.2 => /usr/lib/libcrypt.so.2 (0x280bf000) libperl.so => /usr/local/lib/perl5/5.8.7/mach/CORE/libperl.so (0x280d8000) libm.so.2 => /usr/lib/libm.so.2 (0x281d1000) libutil.so.3 => /usr/lib/libutil.so.3 (0x281ed000) libexpat.so.5 => /usr/local/lib/libexpat.so.5 (0x281f6000) libc_r.so.4 => /usr/lib/libc_r.so.4 (0x28214000) Without the attached patch I get this: www# ldd /usr/local/sbin/httpd /usr/local/sbin/httpd: libcrypt.so.2 => /usr/lib/libcrypt.so.2 (0x280d2000) libperl.so => /usr/local/lib/perl5/5.8.7/mach/CORE/libperl.so (0x280eb000) libm.so.2 => /usr/lib/libm.so.2 (0x281e4000) libutil.so.3 => /usr/lib/libutil.so.3 (0x28200000) libc_r.so.4 => /usr/lib/libc_r.so.4 (0x28209000) This breaks SOAP::Lite which includes the sytem expat. The attached patch makes this port work the same way as www/apache13 Thanks in advance for fixing this! /Martin --------------080509080909020104050701 Content-Type: text/plain; name="expat_working.diff" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="expat_working.diff" --- Makefile.orig Tue May 17 17:22:12 2005 +++ Makefile Tue May 17 17:22:24 2005 @@ -48,10 +48,12 @@ WRKSRC_MODPERL= ${WRKDIR}/mod_perl-${VERSION_MODPERL} .if defined(WITHOUT_APACHE_EXPAT) && ${WITHOUT_APACHE_EXPAT} == yes -EXPAT_CONF+= --disable-rule=EXPAT +EXPAT_CONF+= --disable-rule=EXPAT .else -LIB_DEPENDS+= expat.5:${PORTSDIR}/textproc/expat2 -EXPAT_CONF+= --enable-rule=EXPAT +.if !defined(WITH_APACHE_INTERNAL_EXPAT) || ${WITH_APACHE_INTERNAL_EXPAT} != yes +LIB_DEPENDS+= expat.5:${PORTSDIR}/textproc/expat2 +.endif +EXPAT_CONF+= --enable-rule=EXPAT .endif .if defined(WITH_APACHE_SUEXEC) && ${WITH_APACHE_SUEXEC} == yes @@ -124,11 +126,14 @@ OPTIM+= -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 .endif -# For expat. -CFLAGS+= -I${LOCALBASE}/include -LIBS+= -L${LOCALBASE}/libs - CONFIGURE_ENV= OPTIM='${OPTIM}' LIBS='${LIBS}' + +.if (!defined(WITHOUT_APACHE_EXPAT) || ${WITHOUT_APACHE_EXPAT} != yes) && \ + (!defined(WITH_APACHE_INTERNAL_EXPAT) || ${WITH_APACHE_INTERNAL_EXPAT} != yes) +CONFIGURE_ENV+= \ + INCLUDES=-I${LOCALBASE}/include \ + LDFLAGS=-L${LOCALBASE}/lib +.endif MAN1= dbmmanage.1 htdigest.1 htpasswd.1 --------------080509080909020104050701-- From owner-freebsd-apache@FreeBSD.ORG Thu Aug 11 15:31:32 2005 Return-Path: X-Original-To: freebsd-apache@freebsd.org 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 81EE416A41F for ; Thu, 11 Aug 2005 15:31:32 +0000 (GMT) (envelope-from hamza95@emailplus.org) Received: from out2.smtp.messagingengine.com (out2.smtp.messagingengine.com [66.111.4.26]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3804243D5A for ; Thu, 11 Aug 2005 15:31:30 +0000 (GMT) (envelope-from hamza95@emailplus.org) Received: from web2.messagingengine.com (web2.internal [10.202.2.211]) by frontend1.messagingengine.com (Postfix) with ESMTP id D90EFCCA094 for ; Thu, 11 Aug 2005 11:31:25 -0400 (EDT) Received: by web2.messagingengine.com (Postfix, from userid 99) id 5AE8D1AED; Thu, 11 Aug 2005 11:31:20 -0400 (EDT) Message-Id: <1123774280.15948.240478936@webmail.messagingengine.com> X-Sasl-Enc: v0E5XA8U6lEBbv3zLK8WpV7z2QQzaIOnvAJuWsgWY/gZ 1123774280 From: "Hamza Eraldi" To: freebsd-apache@freebsd.org Content-Disposition: inline Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="ISO-8859-9" MIME-Version: 1.0 X-Mailer: MIME::Lite 1.5 (F2.73; T1.001; A1.64; B3.05; Q3.03) Date: Thu, 11 Aug 2005 18:31:20 +0300 Subject: changing the httpd header and limiting the total amount of data X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Aug 2005 15:31:32 -0000 I am using FreeBSD 5.3 with apache 1.3.33.. Could you please write that how can i change the apache's header? example: from Apache/1.3.31 (Unix) PHP/4.3.6 anothermodule/version....etc to 'Webserver', or 'unknown', or something like that.. And my second question is: How to limit the total amount of transfered data of virtualhosts? (Like xxx.com : 10 GB/month, yyy.com: 15 GB/month, zzz.com: 30 GB/month) Thanks in advance.. Best regards. -- http://www.fastmail.fm - IMAP accessible web-mail From owner-freebsd-apache@FreeBSD.ORG Sat Aug 13 18:59:31 2005 Return-Path: X-Original-To: apache@FreeBSD.org 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 11FC916A41F for ; Sat, 13 Aug 2005 18:59:31 +0000 (GMT) (envelope-from martin.baum@berlin.de) Received: from fizz.visp.de (fizz.visp.de [84.23.254.153]) by mx1.FreeBSD.org (Postfix) with ESMTP id 909BC43D46 for ; Sat, 13 Aug 2005 18:59:30 +0000 (GMT) (envelope-from martin.baum@berlin.de) X-Trace: 4d7c6d617274696e2e6261756d406265726c696e2e64657c38342e3138392e3233 362e32367c3145343145342d303030374a492d45547c31313233393539353634 Received: from fizz.visp.de ([10.153.10.14] helo=localhost) by fizz.visp.de with esmtpa (Exim 4.51 id 1E41E4-0007JI-ET) for apache@FreeBSD.org; Sat, 13 Aug 2005 20:59:24 +0200 Message-ID: <42FE430A.3030806@berlin.de> Date: Sat, 13 Aug 2005 20:59:22 +0200 From: Martin Baum User-Agent: Mozilla Thunderbird 1.0.1 (Macintosh/20050226) X-Accept-Language: en-us, en MIME-Version: 1.0 To: apache@FreeBSD.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: mod_bandwidth don't compile X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Aug 2005 18:59:31 -0000 Hello. mod_bandwidth 2.0.6 from ports will not compile. root@stunk:/usr/ports/www/mod_bandwidth# uname -simr FreeBSD 5.4-RELEASE i386 GENERIC Anybody can help me? thanks Martin Here the make output: root@stunk:/usr/ports/www/mod_bandwidth# make ===> Vulnerability check disabled, database not found ===> Extracting for mod_bandwidth-2.0.6 => Checksum OK for apache/mod_bandwidth-2.0.6.tar.gz. ===> mod_bandwidth-2.0.6 depends on file: /usr/local/bin/perl5.8.7 - found ===> Patching for mod_bandwidth-2.0.6 ===> mod_bandwidth-2.0.6 depends on file: /usr/local/bin/perl5.8.7 - found ===> mod_bandwidth-2.0.6 depends on file: /usr/local/sbin/apxs - found ===> mod_bandwidth-2.0.6 depends on file: /usr/local/bin/perl5.8.7 - found ===> Configuring for mod_bandwidth-2.0.6 ===> Building for mod_bandwidth-2.0.6 /usr/local/share/apache2/build/libtool --silent --mode=compile cc -prefer-pic -O -pipe -march=pentiumpro -DAP_HAVE_DESIGNATED_INITIALIZER -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include/apache2 -I/usr/local/include/apache2 -I/usr/local/include/apache2 -I/usr/local/include -c -o mod_bandwidth.lo mod_bandwidth.c && touch mod_bandwidth.slo mod_bandwidth.c:438: error: syntax error before "array_header" mod_bandwidth.c:462: error: syntax error before '*' token mod_bandwidth.c: In function `create_bw_config': mod_bandwidth.c:464: error: `p' undeclared (first use in this function) mod_bandwidth.c:464: error: (Each undeclared identifier is reported only once mod_bandwidth.c:464: error: for each function it appears in.) mod_bandwidth.c:465: error: structure has no member named `limits' mod_bandwidth.c:466: error: structure has no member named `minlimits' mod_bandwidth.c:467: error: structure has no member named `sizelimits' mod_bandwidth.c:468: error: `path' undeclared (first use in this function) mod_bandwidth.c:468: warning: assignment makes pointer from integer without a cast mod_bandwidth.c: At top level: mod_bandwidth.c:473: error: syntax error before '*' token mod_bandwidth.c: In function `create_bw_server_config': mod_bandwidth.c:476: error: `p' undeclared (first use in this function) mod_bandwidth.c: In function `set_bandwidth_data_dir': mod_bandwidth.c:497: warning: assignment makes pointer from integer without a cast mod_bandwidth.c:499: warning: passing arg 1 of `ap_is_directory' from incompatible pointer type mod_bandwidth.c:499: error: too few arguments to function `ap_is_directory' mod_bandwidth.c: In function `bandwidth': mod_bandwidth.c:552: error: structure has no member named `limits' mod_bandwidth.c:553: warning: assignment makes pointer from integer without a cast mod_bandwidth.c: In function `minbandwidth': mod_bandwidth.c:568: error: structure has no member named `minlimits' mod_bandwidth.c:569: warning: assignment makes pointer from integer without a cast mod_bandwidth.c: In function `largefilelimit': mod_bandwidth.c:597: error: structure has no member named `sizelimits' mod_bandwidth.c: At top level: mod_bandwidth.c:604: warning: initialization from incompatible pointer type mod_bandwidth.c:606: warning: initialization from incompatible pointer type mod_bandwidth.c:608: warning: initialization from incompatible pointer type mod_bandwidth.c:610: warning: initialization from incompatible pointer type mod_bandwidth.c:612: warning: initialization from incompatible pointer type mod_bandwidth.c:614: warning: initialization from incompatible pointer type mod_bandwidth.c:616: warning: initialization from incompatible pointer type mod_bandwidth.c:689: error: syntax error before "array_header" mod_bandwidth.c: In function `get_bw_rate': mod_bandwidth.c:690: error: `a' undeclared (first use in this function) mod_bandwidth.c:694: error: `r' undeclared (first use in this function) mod_bandwidth.c:694: error: too few arguments to function `ap_get_remote_host' mod_bandwidth.c: At top level: mod_bandwidth.c:710: error: syntax error before "array_header" mod_bandwidth.c: In function `get_bw_filesize': mod_bandwidth.c:711: error: `a' undeclared (first use in this function) mod_bandwidth.c:715: error: `filesize' undeclared (first use in this function) mod_bandwidth.c: In function `current_connection': mod_bandwidth.c:732: error: storage size of 'mdata' isn't known mod_bandwidth.c: In function `handle_bw': mod_bandwidth.c:780: error: storage size of 'fdata' isn't known mod_bandwidth.c:805: error: structure has no member named `limits' mod_bandwidth.c:806: error: structure has no member named `minlimits' mod_bandwidth.c:807: error: structure has no member named `sizelimits' mod_bandwidth.c:807: error: structure has no member named `st_size' mod_bandwidth.c:819: error: structure has no member named `st_mode' mod_bandwidth.c:821: error: `NOT_FOUND' undeclared (first use in this function) mod_bandwidth.c:824: error: structure has no member named `st_mtime' mod_bandwidth.c:828: error: structure has no member named `st_size' mod_bandwidth.c:828: error: void value not ignored as it ought to be mod_bandwidth.c:859: error: `FORBIDDEN' undeclared (first use in this function) mod_bandwidth.c:868: warning: assignment makes pointer from integer without a cast mod_bandwidth.c:872: warning: passing arg 4 of `ap_log_error' makes integer from pointer without a cast mod_bandwidth.c:872: warning: passing arg 5 of `ap_log_error' from incompatible pointer type mod_bandwidth.c:928: error: structure has no member named `st_size' mod_bandwidth.c: At top level: mod_bandwidth.c:1234: error: syntax error before "bw_handlers" mod_bandwidth.c:1235: warning: braces around scalar initializer mod_bandwidth.c:1235: warning: (near initialization for `bw_handlers[0]') mod_bandwidth.c:1235: warning: initialization makes integer from pointer without a cast mod_bandwidth.c:1235: warning: excess elements in scalar initializer mod_bandwidth.c:1235: warning: (near initialization for `bw_handlers[0]') mod_bandwidth.c:1236: warning: braces around scalar initializer mod_bandwidth.c:1236: warning: (near initialization for `bw_handlers[1]') mod_bandwidth.c:1236: warning: initialization makes integer from pointer without a cast mod_bandwidth.c:1237: warning: data definition has no type or storage class mod_bandwidth.c:1240: error: `this_module_needs_to_be_ported_to_apache_2_0' undeclared here (not in a function) mod_bandwidth.c:1240: error: initializer element is not constant mod_bandwidth.c:1240: error: (near initialization for `bandwidth_module.version') mod_bandwidth.c:1241: warning: initialization makes integer from pointer without a cast mod_bandwidth.c:1242: warning: initialization makes integer from pointer without a cast mod_bandwidth.c:1246: warning: initialization makes integer from pointer without a cast mod_bandwidth.c:1247: warning: initialization from incompatible pointer type mod_bandwidth.c:1255: warning: excess elements in struct initializer mod_bandwidth.c:1255: warning: (near initialization for `bandwidth_module') apxs:Error: Command failed with rc=65536 . *** Error code 1 Stop in /usr/ports/www/mod_bandwidth. From owner-freebsd-apache@FreeBSD.ORG Sat Aug 13 19:16:04 2005 Return-Path: X-Original-To: apache@FreeBSD.org 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 4A2D016A41F for ; Sat, 13 Aug 2005 19:16:04 +0000 (GMT) (envelope-from sheepkiller@cultdeadsheep.org) Received: from goofy.cultdeadsheep.org (charon.cultdeadsheep.org [80.65.226.72]) by mx1.FreeBSD.org (Postfix) with SMTP id 32DAD43D46 for ; Sat, 13 Aug 2005 19:16:02 +0000 (GMT) (envelope-from sheepkiller@cultdeadsheep.org) Received: (qmail 52416 invoked by uid 1000); 13 Aug 2005 21:16:00 +0200 Date: Sat, 13 Aug 2005 21:16:00 +0200 From: Clement Laforet To: Martin Baum Message-ID: <20050813191600.GG66776@goofy.cultdeadsheep.org> References: <42FE430A.3030806@berlin.de> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="vJguvTgX93MxBIIe" Content-Disposition: inline In-Reply-To: <42FE430A.3030806@berlin.de> User-Agent: Mutt/1.5.6i Cc: apache@FreeBSD.org Subject: Re: mod_bandwidth don't compile X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Aug 2005 19:16:04 -0000 --vJguvTgX93MxBIIe Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi Martin, On Sat, Aug 13, 2005 at 08:59:22PM +0200, Martin Baum wrote: > Hello. >=20 > mod_bandwidth 2.0.6 from ports will not compile. >=20 > root@stunk:/usr/ports/www/mod_bandwidth# uname -simr > FreeBSD 5.4-RELEASE i386 GENERIC >=20 > Anybody can help me? < snip >=20 > Here the make output: > root@stunk:/usr/ports/www/mod_bandwidth# make > =3D=3D=3D> Vulnerability check disabled, database not found > =3D=3D=3D> Extracting for mod_bandwidth-2.0.6 > =3D> Checksum OK for apache/mod_bandwidth-2.0.6.tar.gz. > =3D=3D=3D> mod_bandwidth-2.0.6 depends on file: /usr/local/bin/perl5.8.= 7 - found > =3D=3D=3D> Patching for mod_bandwidth-2.0.6 > =3D=3D=3D> mod_bandwidth-2.0.6 depends on file: /usr/local/bin/perl5.8.= 7 - found > =3D=3D=3D> mod_bandwidth-2.0.6 depends on file: /usr/local/sbin/apxs - = found > =3D=3D=3D> mod_bandwidth-2.0.6 depends on file: /usr/local/bin/perl5.8.= 7 - found > =3D=3D=3D> Configuring for mod_bandwidth-2.0.6 > =3D=3D=3D> Building for mod_bandwidth-2.0.6 > /usr/local/share/apache2/build/libtool --silent --mode=3Dcompile cc=20 ^^^^^^^ mod_bandwidth is an apache 1.3 only module. =20 regards, =20 clem --vJguvTgX93MxBIIe Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFC/kbwsRhfjwcjuh0RAog0AKCiQXBEXGnb5jwnCFounFwna48I7ACgnWi3 v8iG1kQdQTsavIPFKVV+TF0= =M7KW -----END PGP SIGNATURE----- --vJguvTgX93MxBIIe--