From owner-freebsd-apache@FreeBSD.ORG Mon Jul 6 06:22:40 2009 Return-Path: Delivered-To: apache@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 29FBE1065675 for ; Mon, 6 Jul 2009 06:22:40 +0000 (UTC) (envelope-from itetcu@freebsd.org) Received: from worf.ds9.tecnik93.com (worf.ds9.tecnik93.com [81.196.207.130]) by mx1.freebsd.org (Postfix) with ESMTP id 9C3288FC13 for ; Mon, 6 Jul 2009 06:22:39 +0000 (UTC) (envelope-from itetcu@freebsd.org) Received: from release.ixsystems.com (unknown [206.40.55.81]) by worf.ds9.tecnik93.com (Postfix) with ESMTP id E4C2B22C52DE; Mon, 6 Jul 2009 09:08:28 +0300 (EEST) Received: by release.ixsystems.com (Postfix, from userid 0) id D6FF38FCB7; Sun, 5 Jul 2009 22:47:22 -0700 (PDT) From: QAT@FreeBSD.org To: apache@FreeBSD.org X-Mailer: $Tecnik: people/itetcu/ports/QA-Tindy/QAT_postPortBuild.sh, v 1.57 2009/03/08 00:17:57 itetcu Exp $ X-QAT-Tindy_Version: tinderbox-devel-3.2_4; dsversion: 3.2 X-QAT-Jail_Arch: amd64 X-QAT-Jail_Csup_Tag: RELENG_7 X-QAT-Jail_Last_Built: 2009-05-04 14:01:42 X-QAT-Port: www/mod_log_sql2 X-QAT-Log: http://QATty.TecNik93.com/logs/7-STABLE-FPT-CustDir/mod_log_sql-1.101.log X-QAT-Build_Reason: QA Run X-QAT-Fail_Reason: PLIST Message-Id: <20090706054722.D6FF38FCB7@release.ixsystems.com> Date: Sun, 5 Jul 2009 22:47:22 -0700 (PDT) Cc: Subject: [Custom LOCALBASE/PREFIX] www/mod_log_sql2 - fails: PLIST 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, 06 Jul 2009 06:22:40 -0000 The Restless Daemon identified a PLIST error while trying to build: mod_log_sql-1.101 maintained by apache@FreeBSD.org Makefile ident: $FreeBSD: ports/www/mod_log_sql2/Makefile,v 1.12 2009/05/17 07:24:32 pgollucci Exp $ THIS A BUILD WITH _CUSTOM_ PREFIX AND LOCALBASE, _standard_ env in rest. Patches for testing and committing welcomed as a reply to this email. To check if the latest version port builds OK with standard PREFIX/LOCALBASE and with -DNOPORT* please see: http://qat.tecnik93.com/index.php?action=list_buildports&build=7-STABLE-FPT-NPD&search_port_name=mod_log_sql2 PortsMon page for the port: http://portsmon.freebsd.org/portoverview.py?category=www&portname=mod_log_sql2 See http://docs.freebsd.org/cgi/mid.cgi?20090531085138.5bd9cc21 for some help Excerpt from http://QATty.TecNik93.com/logs/7-STABLE-FPT-CustDir/mod_log_sql-1.101.log : building mod_log_sql-1.101 in directory /usr/local/tinderbox/7-STABLE-FPT-CustDir build started at Mon Jul 6 05:46:57 UTC 2009 port directory: /usr/ports/www/mod_log_sql2 building for: 7.2-STABLE amd64 ............................................. ===> Registering installation for mod_log_sql-1.101 ================================================================ ======================================== ===> Building package for mod_log_sql-1.101 tar: libexec/apache/mod_log_sql_mysql.so: Cannot stat: No such file or directory tar: Error exit delayed from previous errors. pkg_create: make_dist: tar command failed with code 256 Creating package /tmp/packages/All/mod_log_sql-1.101.tbz Registering depends: mysql-client-5.0.83 apache-1.3.41_1 perl-5.8.9_3 expat-2.0.1. Creating bzip'd tar ball in '/tmp/packages/All/mod_log_sql-1.101.tbz' *** Error code 1 Stop in /a/ports/www/mod_log_sql2. Deleting mod_log_sql-1.101 [preparing module `log_sql' in /usr/PPP/etc/apache/httpd.conf] cp /usr/PPP/etc/apache/httpd.conf.new /usr/PPP/etc/apache/httpd.conf rm /usr/PPP/etc/apache/httpd.conf.new pkg_delete: file '/usr/PPP/libexec/apache/mod_log_sql_mysql.so' doesn't exist pkg_delete: couldn't entirely delete package (perhaps the packing list is incorrectly specified?) === Checking filesystem state Deleting mysql-client-5.0.83 Deleting gmake-3.81_3 Deleting apache-1.3.41_1 To delete Apache user permanently, use 'pw userdel www' Deleting expat-2.0.1 Deleting gettext-0.17_1 Deleting perl-5.8.9_3 Removing stale symlinks from /usr/bin... Removing /usr/bin/perl Removing /usr/bin/perl5 Done. Cleaning up /etc/make.conf... Done. Cleaning up /etc/manpath.config... Done. Deleting libiconv-1.13.1 === Checking filesystem state after all packages deleted ================================================================ build of /usr/ports/www/mod_log_sql2 ended at Mon Jul 6 05:47:20 UTC 2009 The tarballed WRKDIR can be found here: http://QATty.TecNik93.com/wrkdirs/7-STABLE-FPT-CustDir/mod_log_sql-1.101.tbz The build which triggered this BotMail was done under tinderbox-devel-3.2_4; dsversion: 3.2 on RELENG_7 on amd64, kern.smp.cpus: 4 with tinderd_flags="-nullfs -plistcheck -onceonly" and ccache support, with: PREFIX=/usr/PPP, LOCALBASE=/usr/PPP, X11BASE=/usr/PPP. A description of the testing process can be found here: http://T32.TecNik93.com/FreeBSD/QA-Tindy/ Thanks for your work on making FreeBSD better, -- QAT - your friendly neighborhood Daemon, preparing a heck of an error trapping system: - "HMC and EOI?" - "Halt, Melt and Catch fire or Execute Operator Immediately." From owner-freebsd-apache@FreeBSD.ORG Mon Jul 6 06:22:40 2009 Return-Path: Delivered-To: apache@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2BBC81065676 for ; Mon, 6 Jul 2009 06:22:40 +0000 (UTC) (envelope-from itetcu@freebsd.org) Received: from worf.ds9.tecnik93.com (worf.ds9.tecnik93.com [81.196.207.130]) by mx1.freebsd.org (Postfix) with ESMTP id 9D7868FC14 for ; Mon, 6 Jul 2009 06:22:39 +0000 (UTC) (envelope-from itetcu@freebsd.org) Received: from release.ixsystems.com (unknown [206.40.55.81]) by worf.ds9.tecnik93.com (Postfix) with ESMTP id 2EA4F22C52B3; Mon, 6 Jul 2009 09:17:01 +0300 (EEST) Received: by release.ixsystems.com (Postfix, from userid 0) id 11E118FCB7; Sun, 5 Jul 2009 22:55:55 -0700 (PDT) From: QAT@FreeBSD.org To: apache@FreeBSD.org X-Mailer: $Tecnik: people/itetcu/ports/QA-Tindy/QAT_postPortBuild.sh, v 1.57 2009/03/08 00:17:57 itetcu Exp $ X-QAT-Tindy_Version: tinderbox-devel-3.2_4; dsversion: 3.2 X-QAT-Jail_Arch: amd64 X-QAT-Jail_Csup_Tag: RELENG_7 X-QAT-Jail_Last_Built: 2009-05-04 14:01:42 X-QAT-Port: www/mod_mp3 X-QAT-Log: http://QATty.TecNik93.com/logs/7-STABLE-FPT-CustDir/mod_mp3-0.40_1.log X-QAT-Build_Reason: QA Run X-QAT-Fail_Reason: configure_error Message-Id: <20090706055555.11E118FCB7@release.ixsystems.com> Date: Sun, 5 Jul 2009 22:55:54 -0700 (PDT) Cc: Subject: [Custom LOCALBASE/PREFIX] www/mod_mp3 - fails: configure_error 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, 06 Jul 2009 06:22:41 -0000 The Restless Daemon identified a configure error while trying to build: mod_mp3-0.40_1 maintained by apache@FreeBSD.org Makefile ident: $FreeBSD: ports/www/mod_mp3/Makefile,v 1.32 2009/05/17 07:24:33 pgollucci Exp $ THIS A BUILD WITH _CUSTOM_ PREFIX AND LOCALBASE, _standard_ env in rest. Patches for testing and committing welcomed as a reply to this email. To check if the latest version port builds OK with standard PREFIX/LOCALBASE and with -DNOPORT* please see: http://qat.tecnik93.com/index.php?action=list_buildports&build=7-STABLE-FPT-NPD&search_port_name=mod_mp3 PortsMon page for the port: http://portsmon.freebsd.org/portoverview.py?category=www&portname=mod_mp3 See http://docs.freebsd.org/cgi/mid.cgi?20090531085138.5bd9cc21 for some help Excerpt from http://QATty.TecNik93.com/logs/7-STABLE-FPT-CustDir/mod_mp3-0.40_1.log : building mod_mp3-0.40_1 in directory /usr/local/tinderbox/7-STABLE-FPT-CustDir build started at Mon Jul 6 05:55:20 UTC 2009 port directory: /usr/ports/www/mod_mp3 building for: 7.2-STABLE amd64 ............................................. Symlinking /usr/PPP/bin/perl5.8.9 to /usr/bin/perl5 Done. Cleaning up /etc/make.conf... Done. Spamming /etc/make.conf... Done. Cleaning up /etc/manpath.config... Done. Spamming /etc/manpath.config... Done. pkg_add expat-2.0.1.tbz pkg_add apache-1.3.41_1.tbz ===> COMPATIBILITY NOTE: As of version 1.3.24, the RedirectMatch directive requires an absolute URL target location per RFC 2068. Uses of RedirectMatch that specify a relative URL will fail and must be corrected to function. ===> BE CAREFULL HOW TO BOOT on 1.3.29_4 or after: To run apache www server from startup, add apache_enable="YES" in your /etc/rc.conf. Your hostname must be resolvable using at least 1 mechanism in /etc/nsswitch typically DNS or /etc/hosts or apache might have issues starting depending on the modules you are using. ===> mod_mp3-0.40_1 depends on file: /usr/PPP/sbin/apxs - found ===> mod_mp3-0.40_1 depends on file: /usr/PPP/bin/perl5.8.9 - found ===> Configuring for mod_mp3-0.40_1 ARGS checking for ghttp for yp... could not find ghttp for yp support checking for perl... found checking for apxs... could not find apxs ===> Script "configure" failed unexpectedly. Please report the problem to apache@FreeBSD.org [maintainer] and attach the "/work/a/ports/www/mod_mp3/work/mod_mp3-0.40/config.log" including the output of the failure of your make command. Also, it might be a good idea to provide an overview of all packages installed on your system (e.g. an `ls /var/db/pkg`). *** Error code 1 Stop in /a/ports/www/mod_mp3. ================================================================ build of /usr/ports/www/mod_mp3 ended at Mon Jul 6 05:55:53 UTC 2009 The tarballed WRKDIR can be found here: http://QATty.TecNik93.com/wrkdirs/7-STABLE-FPT-CustDir/mod_mp3-0.40_1.tbz The build which triggered this BotMail was done under tinderbox-devel-3.2_4; dsversion: 3.2 on RELENG_7 on amd64, kern.smp.cpus: 4 with tinderd_flags="-nullfs -plistcheck -onceonly" and ccache support, with: PREFIX=/usr/PPP, LOCALBASE=/usr/PPP, X11BASE=/usr/PPP. A description of the testing process can be found here: http://T32.TecNik93.com/FreeBSD/QA-Tindy/ Thanks for your work on making FreeBSD better, -- QAT - your friendly neighborhood Daemon, preparing a heck of an error trapping system: - "HMC and EOI?" - "Halt, Melt and Catch fire or Execute Operator Immediately." From owner-freebsd-apache@FreeBSD.ORG Mon Jul 6 11:06:15 2009 Return-Path: Delivered-To: apache@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 915731065674 for ; Mon, 6 Jul 2009 11:06:15 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 7DF978FC08 for ; Mon, 6 Jul 2009 11:06:15 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n66B6Fct010012 for ; Mon, 6 Jul 2009 11:06:15 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n66B6EUT010008 for apache@FreeBSD.org; Mon, 6 Jul 2009 11:06:14 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 6 Jul 2009 11:06:14 GMT Message-Id: <200907061106.n66B6EUT010008@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: apache@FreeBSD.org Cc: Subject: Current problem reports assigned to apache@FreeBSD.org 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, 06 Jul 2009 11:06:15 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o ports/136091 apache [PATCH] www/apache22 - suexec resource limits patch o ports/136034 apache new port: security/shibboleth2-sp: C++ Shibboleth Serv a ports/134577 apache www/apache22: build faild with mod_auth_digest a ports/133773 apache net/keepalived port update request o ports/130479 apache www/apache20 and www/apache22 configure_args busted o ports/128952 apache [NEW PORT] java/javadb: Sun's supported distribution o o ports/128078 apache www/apache20 -- LDAP support is broken o ports/125183 apache www/apache22 wrong SUEXEC_DOCROOT o ports/124375 apache www/mod_auth_kerb doesn't compile against heimdal o ports/121134 apache www/mod_log_sql2-dtc scoreboard problem o ports/120229 apache www/apache20 does not pick up usernames from NIS [regr o ports/118003 apache www/apache22: with PgSQL option require only libpq.so. p ports/116984 apache [patch] www/apache13-modssl missing perl5.8 as RUN_DEP o ports/108169 apache www/apache20 wrong AP_SAFE_PATH for suEXEC a ports/101566 apache www/apache20 All .svn subdirectories in $(htdocsdir) g a ports/96953 apache www/apache22 port uses its own directories a ports/83644 apache www/apache20 add support for ndbm 17 problems total. From owner-freebsd-apache@FreeBSD.ORG Tue Jul 7 04:50:04 2009 Return-Path: Delivered-To: apache@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BFF991065673 for ; Tue, 7 Jul 2009 04:50:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 940518FC26 for ; Tue, 7 Jul 2009 04:50:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n674o4h9063060 for ; Tue, 7 Jul 2009 04:50:04 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n674o4ko063059; Tue, 7 Jul 2009 04:50:04 GMT (envelope-from gnats) Date: Tue, 7 Jul 2009 04:50:04 GMT Message-Id: <200907070450.n674o4ko063059@freefall.freebsd.org> To: apache@FreeBSD.org From: =?ISO-8859-1?Q?S=E9bastien_Santoro?= Cc: Subject: re: ports/136091: [PATCH] www/apache22 - suexec resource limits patch X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: =?ISO-8859-1?Q?S=E9bastien_Santoro?= List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Jul 2009 04:50:05 -0000 The following reply was made to PR ports/136091; it has been noted by GNATS. From: =?ISO-8859-1?Q?S=E9bastien_Santoro?= To: bug-followup@FreeBSD.org, alexey@renatasystems.org Cc: Subject: re: ports/136091: [PATCH] www/apache22 - suexec resource limits patch Date: Tue, 7 Jul 2009 06:26:43 +0200 Should be an optional patch, please consider adding a make config option. From owner-freebsd-apache@FreeBSD.ORG Tue Jul 7 16:06:28 2009 Return-Path: Delivered-To: apache@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 930BC1065673; Tue, 7 Jul 2009 16:06:28 +0000 (UTC) (envelope-from girgen@pingpong.net) Received: from melon.pingpong.net (h-79-136-116-200.NA.cust.bahnhof.se [79.136.116.200]) by mx1.freebsd.org (Postfix) with ESMTP id 151E58FC14; Tue, 7 Jul 2009 16:06:27 +0000 (UTC) (envelope-from girgen@pingpong.net) Received: from localhost (localhost.pingpong.net [127.0.0.1]) by melon.pingpong.net (Postfix) with ESMTP id 1E3145084D; Tue, 7 Jul 2009 17:34:58 +0200 (CEST) Received: from melon.pingpong.net ([127.0.0.1]) by localhost (melon.pingpong.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 25186-01-9; Tue, 7 Jul 2009 17:34:57 +0200 (CEST) Received: from paron.pingpong.net (unknown [88.131.74.85]) by melon.pingpong.net (Postfix) with ESMTP id B00405082C; Tue, 7 Jul 2009 17:34:57 +0200 (CEST) Received: from paron.pingpong.net (localhost [127.0.0.1]) by paron.pingpong.net (8.14.3/8.14.3) with ESMTP id n678lx54055113; Tue, 7 Jul 2009 10:47:59 +0200 (CEST) (envelope-from girgen@paron.pingpong.net) Received: (from girgen@localhost) by paron.pingpong.net (8.14.3/8.14.3/Submit) id n678lxXa055112; Tue, 7 Jul 2009 10:47:59 +0200 (CEST) (envelope-from girgen) Date: Tue, 7 Jul 2009 10:47:59 +0200 (CEST) Message-Id: <200907070847.n678lxXa055112@paron.pingpong.net> To: FreeBSD-gnats-submit@freebsd.org From: Palle Girgensohn X-send-pr-version: 3.113 X-GNATS-Notify: X-Virus-Scanned: by amavisd-new at pingpong.net Cc: apache@freebsd.org Subject: mod_auth_kerb does not build with MIT Kerberos (security/krb5) X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Palle Girgensohn List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Jul 2009 16:06:29 -0000 >Submitter-Id: current-users >Originator: Palle Girgensohn >Organization: >Confidential: no >Synopsis: mod_auth_kerb does not build with MIT Kerberos (security/krb5) >Severity: serious >Priority: medium >Category: ports >Class: >Release: FreeBSD 7.2-STABLE i386 >Environment: System: FreeBSD paron.pingpong.net 7.2-STABLE FreeBSD 7.2-STABLE #4: Mon Jul 6 19:43:58 CEST 2009 girgen@paron.pingpong.net:/usr/obj/.a/banan/usr/src/sys/VMWARE i386 # pkg_info |egrep 'apache|openssl|mod_|krb' apache+mod_ssl+mod_deflate-1.3.41+2.8.31 The Apache 1.3 webserver with SSL/TLS functionality apache-ant-1.7.0_2 Java- and XML-based build tool, conceptually similar to mak apache-tomcat-6.0.16 Open-source Java web server by Apache, 6.x branch krb5-1.6.3_5 An authentication system developed at MIT, successor to Ker mod_auth_kerb-5.3,1 An Apache module for authenticating users with Kerberos v5 mod_gzip-1.3.26.1a_1 An Internet Content Acceleration module for Apache mod_jk-1.2.27,1 Apache JK module for connecting to Tomcat using AJP1X openssl-0.9.8k_2 SSL and crypto library >Description: www/mod_auth_kerb does not build, since MIT krb5's krb5-config is too verbose: MIT:$ /usr/local/bin/krb5-config --libs gssapi -L/usr/local/lib -Wl,-rpath -Wl,/usr/local/lib -rpath=/usr/local/lib -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err HEIMDAL:$ krb5-config --libs gssapi -L/usr/lib -lgssapi -lkrb5 -lasn1 -lcrypto -lroken -lcrypt -lcom_err In my world, MIT krb5's krb5-config --libs gssapi should say: $ /usr/local/bin/krb5-config --libs gssapi -L/usr/local/lib -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err >How-To-Repeat: install apache+mod_ssl install krb5 try to run cd /usr/ports/www/mod_auth_kerb && make install ===> Building for mod_auth_kerb-5.3,1 /usr/local/sbin/apxs -c -Wc,-I. -Wc,-Ispnegokrb5 -Wc,-I/usr/local/include -Wl,-L/usr/local/lib -Wl,-Wl,-rpath -Wl,-Wl,/usr/local/lib -Wl,-O2 -Wl,-fno-strict-aliasing -Wl,-pipe -Wl,-rpath=/usr/local/lib -Wl,-lgssapi_krb5 -Wl,-lkrb5 -Wl,-lk5crypto -Wl,-lcom_err src/mod_auth_kerb.c cc -DHARD_SERVER_LIMIT=512 -DDOCUMENT_LOCATION="/usr/local/www/data" -DDEFAULT_PATH="/usr/local/bin:/bin:/usr/bin" -DACCEPT_FILTER_NAME="httpready" -DFD_SETSIZE=1024 -funsigned-char -DMOD_SSL=208131 -DMOD_DEFLATE -DMOD_DEFLATE_IDLE_SUPPORTED -DEAPI -DEAPI_MM -O2 -fno-strict-aliasing -pipe -fPIC -DSHARED_MODULE -I/usr/local/include/apache -I. -Ispnegokrb5 -I/usr/local/include -c src/mod_auth_kerb.c src/mod_auth_kerb.c: In function 'create_krb5_ccache': src/mod_auth_kerb.c:819: warning: passing argument 3 of 'ap_register_cleanup' from incompatible pointer type src/mod_auth_kerb.c: In function 'get_gss_creds': src/mod_auth_kerb.c:1153: warning: passing argument 3 of 'gss_import_name' discards qualifiers from pointer target type gcc -shared -o src/mod_auth_kerb.so mod_auth_kerb.o -Wc,-I. -Wc,-Ispnegokrb5 -Wc,-I/usr/local/include -Wl,-L/usr/local/lib -Wl,-Wl,-rpath -Wl,-Wl,/usr/local/lib -Wl,-O2 -Wl,-fno-strict-aliasing -Wl,-pipe -Wl,-rpath=/usr/local/lib -Wl,-lgssapi_krb5 -Wl,-lkrb5 -Wl,-lk5crypto -Wl,-lcom_err /usr/bin/ld: unrecognized option '-Wl' /usr/bin/ld: use the --help option for usage information apxs:Break: Command failed with rc=1 gmake: *** [src/mod_auth_kerb.so] Fel 1 >Fix: dunno what the best way to fix it is, but I ran export KRB5_LDFLAGS="-L/usr/local/lib -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err" make install and that seems to have helped. Main problem is, IMO, the krb5-config verbosity. Fix this by either modify krb5-config, or if the problem is specific to mod_auth_kerb, patch the mod_auth_kerb port. From owner-freebsd-apache@FreeBSD.ORG Tue Jul 7 17:29:23 2009 Return-Path: Delivered-To: apache@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2BABA106566C; Tue, 7 Jul 2009 17:29:23 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 011728FC13; Tue, 7 Jul 2009 17:29:23 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (linimon@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n67HTMv4000817; Tue, 7 Jul 2009 17:29:22 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n67HTMBQ000813; Tue, 7 Jul 2009 17:29:22 GMT (envelope-from linimon) Date: Tue, 7 Jul 2009 17:29:22 GMT Message-Id: <200907071729.n67HTMBQ000813@freefall.freebsd.org> To: linimon@FreeBSD.org, cy@FreeBSD.org, apache@FreeBSD.org From: linimon@FreeBSD.org Cc: Subject: Re: ports/136432: www/mod_auth_kerb does not build with MIT Kerberos (security/krb5) 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: Tue, 07 Jul 2009 17:29:23 -0000 Old Synopsis: mod_auth_kerb does not build with MIT Kerberos (security/krb5) New Synopsis: www/mod_auth_kerb does not build with MIT Kerberos (security/krb5) Responsible-Changed-From-To: cy->apache Responsible-Changed-By: linimon Responsible-Changed-When: Tue Jul 7 17:27:09 UTC 2009 Responsible-Changed-Why: This is really about www/mod_auth_kerb. http://www.freebsd.org/cgi/query-pr.cgi?pr=136432 From owner-freebsd-apache@FreeBSD.ORG Tue Jul 7 18:40:05 2009 Return-Path: Delivered-To: apache@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3272910656B4 for ; Tue, 7 Jul 2009 18:40:05 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 183B18FC17 for ; Tue, 7 Jul 2009 18:40:05 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n67Ie4n2056337 for ; Tue, 7 Jul 2009 18:40:04 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n67Ie4JR056336; Tue, 7 Jul 2009 18:40:04 GMT (envelope-from gnats) Date: Tue, 7 Jul 2009 18:40:04 GMT Message-Id: <200907071840.n67Ie4JR056336@freefall.freebsd.org> To: apache@FreeBSD.org From: "Alexey V. Degtyarev" Cc: Subject: Re: ports/136091: [PATCH] www/apache22 - suexec resource limits patch X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: "Alexey V. Degtyarev" List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Jul 2009 18:40:05 -0000 The following reply was made to PR ports/136091; it has been noted by GNATS. From: "Alexey V. Degtyarev" To: S?bastien Santoro Cc: bug-followup@FreeBSD.org Subject: Re: ports/136091: [PATCH] www/apache22 - suexec resource limits patch Date: Tue, 7 Jul 2009 22:03:36 +0400 --EeQfGwPcQSOJBaQU Content-Type: text/plain; charset=us-ascii Content-Disposition: inline > Should be an optional patch, please consider adding a make config option. Ok, I have attached diff with this patch enabled via config option (default is off). + minor code cleanup for Makefile: [129]: whitespace before end of line. -- Alexey V. Degtyarev --EeQfGwPcQSOJBaQU Content-Type: text/x-diff; charset=us-ascii Content-Disposition: attachment; filename="apache22.patch" diff -u -N -r apache22.orig/Makefile apache22/Makefile --- apache22.orig/Makefile 2009-06-18 19:40:42.000000000 +0400 +++ apache22/Makefile 2009-07-07 21:24:54.000000000 +0400 @@ -126,7 +126,7 @@ .if defined(WITH_APR_FROM_PORTS) PLIST_SUB+= APR_PORTS="@comment " -APR_PORT?= devel/apr +APR_PORT?= devel/apr LIB_DEPENDS+= apr-1:${PORTSDIR}/${APR_PORT} CONFIGURE_ARGS+= --with-apr=${LOCALBASE}/bin/apr-1-config \ --with-apr-util=${LOCALBASE}/bin/apu-1-config @@ -169,6 +169,14 @@ . endif .endif +.if defined(WITH_SUEXEC_RSRCLIMIT) +EXTRA_PATCHES+= ${FILESDIR}/extra-patch-suexec_rsrclimit +.if !defined(WITH_SUEXEC) +IGNORE= suEXEC resource limit patch requires mod_suexec.\ + Please (re)run 'make config' and choose SUEXEC option also +.endif +.endif + CONFIGURE_ARGS+= --with-mpm=${WITH_MPM:L} pre-everything:: diff -u -N -r apache22.orig/Makefile.options apache22/Makefile.options --- apache22.orig/Makefile.options 2009-06-12 16:35:33.000000000 +0400 +++ apache22/Makefile.options 2009-07-07 21:22:40.000000000 +0400 @@ -71,5 +71,6 @@ PROXY_BALANCER "Enable mod_proxy_balancer" OFF \ SSL "Enable mod_ssl" ON \ SUEXEC "Enable mod_suexec" OFF \ + SUEXEC_RSRCLIMIT "SuEXEC rlimits based on login class" OFF \ CGID "Enable mod_cgid" OFF \ diff -u -N -r apache22.orig/files/extra-patch-suexec_rsrclimit apache22/files/extra-patch-suexec_rsrclimit --- apache22.orig/files/extra-patch-suexec_rsrclimit 1970-01-01 03:00:00.000000000 +0300 +++ apache22/files/extra-patch-suexec_rsrclimit 2009-06-27 17:08:57.000000000 +0400 @@ -0,0 +1,49 @@ +# http://www.chrishardie.com/tech/apache/suexec_rsrclimit.html +--- support/suexec.c.orig Wed Jul 12 07:38:44 2006 ++++ support/suexec.c Wed Nov 15 23:58:04 2006 +@@ -37,6 +37,7 @@ + #include + #include + #include ++#include + #include + #include + #if APR_HAVE_UNISTD_H +@@ -259,6 +260,7 @@ + char *cmd; /* command to be executed */ + char cwd[AP_MAXPATH]; /* current working directory */ + char dwd[AP_MAXPATH]; /* docroot working directory */ ++ login_cap_t *lc; /* user resource limits */ + struct passwd *pw; /* password entry holder */ + struct group *gr; /* group entry holder */ + struct stat dir_info; /* directory info holder */ +@@ -463,6 +465,18 @@ + log_err("cannot run as forbidden gid (%d/%s)\n", gid, cmd); + exit(108); + } ++ ++ /* ++ * Apply user resource limits based on login class. ++ */ ++ if ((lc = login_getclassbyname(pw->pw_class, pw)) == NULL) { ++ log_err("failed to login_getclassbyname()\n"); ++ exit(109); ++ } ++ if ((setusercontext(lc, pw, uid, LOGIN_SETRESOURCES)) != 0) { ++ log_err("failed to setusercontext()\n"); ++ exit(109); ++ } + + /* + * Change UID/GID here so that the following tests work over NFS. +--- support/Makefile.in.orig Thu Nov 16 02:20:47 2006 ++++ support/Makefile.in Thu Nov 16 02:11:29 2006 +@@ -65,7 +65,7 @@ + + suexec_OBJECTS = suexec.lo + suexec: $(suexec_OBJECTS) +- $(LINK) $(suexec_OBJECTS) ++ $(LINK) -lutil $(suexec_OBJECTS) + + htcacheclean_OBJECTS = htcacheclean.lo + htcacheclean: $(htcacheclean_OBJECTS) --EeQfGwPcQSOJBaQU-- From owner-freebsd-apache@FreeBSD.ORG Wed Jul 8 03:16:04 2009 Return-Path: Delivered-To: apache@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4A9C4106566C; Wed, 8 Jul 2009 03:16:04 +0000 (UTC) (envelope-from pgollucci@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 1FF788FC27; Wed, 8 Jul 2009 03:16:04 +0000 (UTC) (envelope-from pgollucci@FreeBSD.org) Received: from freefall.freebsd.org (pgollucci@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n683G4qE053617; Wed, 8 Jul 2009 03:16:04 GMT (envelope-from pgollucci@freefall.freebsd.org) Received: (from pgollucci@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n683G3BW053613; Wed, 8 Jul 2009 03:16:04 GMT (envelope-from pgollucci) Date: Wed, 8 Jul 2009 03:16:04 GMT Message-Id: <200907080316.n683G3BW053613@freefall.freebsd.org> To: pgollucci@FreeBSD.org, apache@FreeBSD.org, pgollucci@FreeBSD.org From: pgollucci@FreeBSD.org Cc: Subject: Re: ports/136091: [PATCH] www/apache22 - suexec resource limits patch 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: Wed, 08 Jul 2009 03:16:04 -0000 Synopsis: [PATCH] www/apache22 - suexec resource limits patch Responsible-Changed-From-To: apache->pgollucci Responsible-Changed-By: pgollucci Responsible-Changed-When: Wed Jul 8 03:16:03 UTC 2009 Responsible-Changed-Why: I'll take it. http://www.freebsd.org/cgi/query-pr.cgi?pr=136091 From owner-freebsd-apache@FreeBSD.ORG Wed Jul 8 03:17:18 2009 Return-Path: Delivered-To: apache@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CE929106566C; Wed, 8 Jul 2009 03:17:18 +0000 (UTC) (envelope-from pgollucci@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id A30918FC24; Wed, 8 Jul 2009 03:17:18 +0000 (UTC) (envelope-from pgollucci@FreeBSD.org) Received: from freefall.freebsd.org (pgollucci@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n683HIic053712; Wed, 8 Jul 2009 03:17:18 GMT (envelope-from pgollucci@freefall.freebsd.org) Received: (from pgollucci@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n683HICk053708; Wed, 8 Jul 2009 03:17:18 GMT (envelope-from pgollucci) Date: Wed, 8 Jul 2009 03:17:18 GMT Message-Id: <200907080317.n683HICk053708@freefall.freebsd.org> To: pgollucci@FreeBSD.org, apache@FreeBSD.org, pgollucci@FreeBSD.org From: pgollucci@FreeBSD.org Cc: Subject: Re: ports/136034: new port: security/shibboleth2-sp: C++ Shibboleth Service Provider (Internet2) for Apache 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: Wed, 08 Jul 2009 03:17:19 -0000 Synopsis: new port: security/shibboleth2-sp: C++ Shibboleth Service Provider (Internet2) for Apache Responsible-Changed-From-To: apache->pgollucci Responsible-Changed-By: pgollucci Responsible-Changed-When: Wed Jul 8 03:17:18 UTC 2009 Responsible-Changed-Why: I'll take it. http://www.freebsd.org/cgi/query-pr.cgi?pr=136034 From owner-freebsd-apache@FreeBSD.ORG Wed Jul 8 06:23:12 2009 Return-Path: Delivered-To: apache@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 25ABF1065670; Wed, 8 Jul 2009 06:23:12 +0000 (UTC) (envelope-from admin@lissyara.su) Received: from hosting.lissyara.su (hosting.lissyara.su [77.221.149.162]) by mx1.freebsd.org (Postfix) with ESMTP id CEDCA8FC17; Wed, 8 Jul 2009 06:23:11 +0000 (UTC) (envelope-from admin@lissyara.su) Received: from [195.93.241.27] (port=22878 helo=lissyara.moskb.local) by hosting.lissyara.su with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69 (FreeBSD)) (envelope-from ) id 1MOQ3b-000COv-9S; Wed, 08 Jul 2009 09:51:03 +0400 Message-ID: <4A5433C6.3030202@lissyara.su> Date: Wed, 08 Jul 2009 09:51:02 +0400 From: Alex Keda User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; ru-RU; rv:1.8.1.22) Gecko/20090629 Thunderbird/2.0.0.22 Mnenhy/0.7.6.666 MIME-Version: 1.0 To: pgollucci@FreeBSD.org References: <200907080316.n683G3BW053613@freefall.freebsd.org> In-Reply-To: <200907080316.n683G3BW053613@freefall.freebsd.org> Content-Type: text/plain; charset=windows-1251; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Description: if spam count > 60 - this is spam X-Spam-Count: 0 X-Spam-Description: if spam count > 60 - this is spam X-Spam-Count: 0 X-Descriptions: powered by www.lissyara.su X-Bounce-ID: hosting.lissyara.su Cc: apache@FreeBSD.org Subject: Re: ports/136091: [PATCH] www/apache22 - suexec resource limits patch 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: Wed, 08 Jul 2009 06:23:12 -0000 pgollucci@FreeBSD.org ïèøåò: > Synopsis: [PATCH] www/apache22 - suexec resource limits patch > > Responsible-Changed-From-To: apache->pgollucci > Responsible-Changed-By: pgollucci > Responsible-Changed-When: Wed Jul 8 03:16:03 UTC 2009 > Responsible-Changed-Why: > I'll take it. > > http://www.freebsd.org/cgi/query-pr.cgi?pr=136091 > hi all! It's patchset work with apache 2.0. Some body can commit it for /usr/ports/www/apache20 ? From owner-freebsd-apache@FreeBSD.ORG Wed Jul 8 07:28:18 2009 Return-Path: Delivered-To: apache@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3A5FC106567C; Wed, 8 Jul 2009 07:28:18 +0000 (UTC) (envelope-from admin@lissyara.su) Received: from hosting.lissyara.su (hosting.lissyara.su [77.221.149.162]) by mx1.freebsd.org (Postfix) with ESMTP id E4B268FC1A; Wed, 8 Jul 2009 07:28:17 +0000 (UTC) (envelope-from admin@lissyara.su) Received: from [195.93.241.27] (port=26856 helo=lissyara.moskb.local) by hosting.lissyara.su with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69 (FreeBSD)) (envelope-from ) id 1MORZf-00003a-VZ; Wed, 08 Jul 2009 11:28:16 +0400 Message-ID: <4A544A90.3080506@lissyara.su> Date: Wed, 08 Jul 2009 11:28:16 +0400 From: Alex Keda User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; ru-RU; rv:1.8.1.22) Gecko/20090629 Thunderbird/2.0.0.22 Mnenhy/0.7.6.666 MIME-Version: 1.0 To: pgollucci@FreeBSD.org References: <200907080316.n683G3BW053613@freefall.freebsd.org> <4A5433C6.3030202@lissyara.su> In-Reply-To: <4A5433C6.3030202@lissyara.su> Content-Type: text/plain; charset=windows-1251; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Description: if spam count > 60 - this is spam X-Spam-Count: 0 X-Descriptions: powered by www.lissyara.su X-Bounce-ID: hosting.lissyara.su Cc: apache@FreeBSD.org Subject: Re: ports/136091: [PATCH] www/apache22 - suexec resource limits patch 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: Wed, 08 Jul 2009 07:28:18 -0000 Alex Keda ïèøåò: > pgollucci@FreeBSD.org ïèøåò: >> Synopsis: [PATCH] www/apache22 - suexec resource limits patch >> >> Responsible-Changed-From-To: apache->pgollucci >> Responsible-Changed-By: pgollucci >> Responsible-Changed-When: Wed Jul 8 03:16:03 UTC 2009 >> Responsible-Changed-Why: I'll take it. >> >> http://www.freebsd.org/cgi/query-pr.cgi?pr=136091 >> > hi all! > It's patchset work with apache 2.0. > Some body can commit it for /usr/ports/www/apache20 ? for apache20 strange behavior limits work only for maxproc, not for priority =( for 1.3 - priority work From owner-freebsd-apache@FreeBSD.ORG Thu Jul 9 03:40:26 2009 Return-Path: Delivered-To: apache@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 75D44106568A; Thu, 9 Jul 2009 03:40:26 +0000 (UTC) (envelope-from edwin@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 4D1488FC13; Thu, 9 Jul 2009 03:40:26 +0000 (UTC) (envelope-from edwin@FreeBSD.org) Received: from freefall.freebsd.org (edwin@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n693eQ47044271; Thu, 9 Jul 2009 03:40:26 GMT (envelope-from edwin@freefall.freebsd.org) Received: (from edwin@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n693eQcK044261; Thu, 9 Jul 2009 03:40:26 GMT (envelope-from edwin) Date: Thu, 9 Jul 2009 03:40:26 GMT Message-Id: <200907090340.n693eQcK044261@freefall.freebsd.org> To: edwin@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org, apache@FreeBSD.org From: edwin@FreeBSD.org Cc: Subject: Re: ports/136598: [PATCH] www/mod_fastcgi: Fix non-threadsafe function 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, 09 Jul 2009 03:40:27 -0000 Synopsis: [PATCH] www/mod_fastcgi: Fix non-threadsafe function Responsible-Changed-From-To: freebsd-ports-bugs->apache Responsible-Changed-By: edwin Responsible-Changed-When: Thu Jul 9 03:40:25 UTC 2009 Responsible-Changed-Why: Over to maintainer (via the GNATS Auto Assign Tool) http://www.freebsd.org/cgi/query-pr.cgi?pr=136598 From owner-freebsd-apache@FreeBSD.ORG Thu Jul 9 04:49:12 2009 Return-Path: Delivered-To: apache@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ED47E1065672 for ; Thu, 9 Jul 2009 04:49:12 +0000 (UTC) (envelope-from gslin@colo-p.gslin.org) Received: from colo-p.gslin.org (60-199-248-145.static.tfn.net.tw [60.199.248.145]) by mx1.freebsd.org (Postfix) with ESMTP id C0FA88FC15 for ; Thu, 9 Jul 2009 04:49:12 +0000 (UTC) (envelope-from gslin@colo-p.gslin.org) Received: by colo-p.gslin.org (Postfix, from userid 1000) id 011E27E81C; Thu, 9 Jul 2009 10:22:39 +0800 (CST) To: FreeBSD-gnats-submit@freebsd.org From: Gea-Suan Lin X-send-pr-version: 3.113 X-GNATS-Notify: Message-Id: <20090709022239.011E27E81C@colo-p.gslin.org> Date: Thu, 9 Jul 2009 10:22:39 +0800 (CST) Cc: gslin@gslin.org, apache@FreeBSD.org Subject: [PATCH] www/mod_fastcgi: Fix non-threadsafe function 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, 09 Jul 2009 04:49:13 -0000 >Submitter-Id: current-users >Originator: Gea-Suan Lin >Organization: >Confidential: no >Synopsis: [PATCH] www/mod_fastcgi: Fix non-threadsafe function >Severity: non-critical >Priority: low >Category: ports >Class: change-request >Release: FreeBSD 7.1-STABLE i386 >Environment: System: FreeBSD colo-p.gslin.org 7.1-STABLE FreeBSD 7.1-STABLE #0: Sat Jan 31 21:46:23 UTC 2009 >Description: - Don't use non-threadsafe functions. - This patch has been sent to official mailing list. Added file(s): - files/patch-fcgi_util.c Port maintainer (apache@FreeBSD.org) is cc'd. Generated with FreeBSD Port Tools 0.77 >How-To-Repeat: >Fix: --- mod_fastcgi-2.4.6_1.patch begins here --- diff -ruN --exclude=CVS /usr/ports/www/mod_fastcgi/Makefile /home/staff/gslin/work/ports/mod_fastcgi/Makefile --- /usr/ports/www/mod_fastcgi/Makefile 2009-05-17 15:24:30.000000000 +0800 +++ /home/staff/gslin/work/ports/mod_fastcgi/Makefile 2009-07-09 10:21:26.000000000 +0800 @@ -7,13 +7,14 @@ PORTNAME= mod_fastcgi PORTVERSION= 2.4.6 +PORTREVISION= 1 CATEGORIES= www MASTER_SITES= http://www.fastcgi.com/dist/ MAINTAINER= apache@FreeBSD.org COMMENT= A fast-cgi module for Apache -MAKE_JOBS_SAFE= yes +MAKE_JOBS_SAFE= yes CONFLICTS= apache-contrib-1.* USE_APACHE= 1.3+ diff -ruN --exclude=CVS /usr/ports/www/mod_fastcgi/files/patch-fcgi_util.c /home/staff/gslin/work/ports/mod_fastcgi/files/patch-fcgi_util.c --- /usr/ports/www/mod_fastcgi/files/patch-fcgi_util.c 1970-01-01 08:00:00.000000000 +0800 +++ /home/staff/gslin/work/ports/mod_fastcgi/files/patch-fcgi_util.c 2009-07-09 10:17:48.000000000 +0800 @@ -0,0 +1,54 @@ +--- fcgi_util.c.orig 2009-07-08 17:16:29.816884000 +0800 ++++ fcgi_util.c 2009-07-09 08:43:09.222180000 +0800 +@@ -268,13 +268,17 @@ + /* Get the user membership for the file's group. If the + * uid is a member, check the group bits. */ + { +- const struct group * const gr = getgrgid(statBuf->st_gid); +- const struct passwd * const pw = getpwuid(uid); ++ char buf[1024], buf2[1024]; ++ struct group gr, *r; ++ struct passwd pw, *r2; + +- if (gr != NULL && pw != NULL) { +- char **user = gr->gr_mem; ++ getgrgid_r(statBuf->st_gid, &gr, buf, sizeof(buf), &r); ++ getpwuid_r(uid, &pw, buf2, sizeof(buf2), &r2); ++ ++ if (r != NULL && r2 != NULL) { ++ char **user = r->gr_mem; + for ( ; *user != NULL; user++) { +- if (strcmp(*user, pw->pw_name) == 0) { ++ if (strcmp(*user, r2->pw_name) == 0) { + if (mode & R_OK && !(statBuf->st_mode & S_IRGRP)) + return "read not allowed by group"; + if (mode & W_OK && !(statBuf->st_mode & S_IWGRP)) +@@ -445,8 +449,9 @@ + { + #ifndef WIN32 + ++ char buf[1024]; + struct passwd *pw; +- struct group *gr; ++ struct group gr, *r; + + if (fcgi_wrapper == NULL) + return NULL; +@@ -467,14 +472,14 @@ + s->username = s->user; + + s->gid = gid; +- gr = getgrgid(gid); +- if (gr == NULL) { ++ getgrgid_r(gid, &gr, buf, sizeof(buf), &r); ++ if (r == NULL) { + return ap_psprintf(p, + "getgrgid() couldn't determine the group name for gid '%ld', " + "you probably need to modify the Group directive: %s", + (long)gid, strerror(errno)); + } +- s->group = ap_pstrdup(p, gr->gr_name); ++ s->group = ap_pstrdup(p, r->gr_name); + + #endif /* !WIN32 */ + --- mod_fastcgi-2.4.6_1.patch ends here --- From owner-freebsd-apache@FreeBSD.ORG Thu Jul 9 16:55:08 2009 Return-Path: Delivered-To: apache@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A7B08106568C for ; Thu, 9 Jul 2009 16:55:08 +0000 (UTC) (envelope-from bounces+305227.47128622.578549@icpbounce.com) Received: from drone5.rtp.icpbounce.com (drone5.rtp.icpbounce.com [74.202.227.45]) by mx1.freebsd.org (Postfix) with ESMTP id A0DE38FC13 for ; Thu, 9 Jul 2009 16:55:06 +0000 (UTC) (envelope-from bounces+305227.47128622.578549@icpbounce.com) Received: from localhost.localdomain (localhost [127.0.0.1]) by drone5.rtp.icpbounce.com (Postfix) with ESMTP id 4B0778A93BB for ; Thu, 9 Jul 2009 12:18:44 -0400 (EDT) Date: Thu, 9 Jul 2009 12:18:44 -0400 To: apache@freebsd.org From: Global Access Travel Message-ID: X-Priority: 3 X-Mailer: PHPMailer [version 1.72] Errors-To: bounces+305227.47128622.578549@icpbounce.com X-List-Unsubscribe: X-Unsubscribe-Web: X-ICPINFO: X-Return-Path-Hint: bounces+305227.47128622.578549@icpbounce.com MIME-Version: 1.0 Content-Type: text/plain; charset = "utf-8" Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Fam Trip to TURKEY for $999 (Refundable) 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, 09 Jul 2009 16:55:09 -0000 [http://www.turkeycallingus.com/] Exclusive Boutique Enterprise Turkey FAM ISTANBUL - CAPPADOCIA - KONYA - ANTALYA - PAMUKKALE - KUSADASI 9 Nights / 11 Days $999 • 5 Continents • 150 Countries Worldwide • 100.000 Hotels • Instant Confirmation [http://www.turkeycallingus.com] [http://www.turkeycallingus.com/turkey-fam/TurkeyFam.htm] [http://www.turkeycallingus.com/turkey-fam/TurkeyFamItinerary.htm] [http://www.turkeycallingus.com/turkey-fam/TurkeyFamRates.htm] [http://www.turkeycallingus.com/turkey-fam/TurkeyFamServices.htm] [http://www.turkeycallingus.com/turkey-fam/TurkeyFamHotels.htm] Global Access proudly presents the biggest FAM Trip of the year, teaming with Turkish Airlines and Turkish Ministry of Tourism and Culture. As the host of ASTA IDE 2010 and European Capital of Culture 2010, Turkey is likely to be the one of the most popular destinations in 2010. Those who act early and get to know this beautiful country better will be able to give a better insight to their clients and secure more bookings. Our specially selected travel agents will stay in best hotels in each town, be escorted by professional, top tour guides, taste exceptionally good examples of Turkish Cuisine, and get to know Turkey in elegant way. Join us for a luxury FAM adventure and be our special guest in our beautiful country! COMBINE WITH World Travel Market! One of the biggest travel shows of Europe and the world, WTM, will be held in London between 9-12 November 2009. Combine your London trip with Turkey and benefit from great agent rates to see one of the most popular tourist destinations from USA and Canada. WE WILL REFUND YOUR MONEY BACK ! Upon booking your 20th passenger on a Global Access Travel Service, we will refund you the whole tour price that you’ve paid for the FAM Trip. If you book 20 or more people on a Global Access Travel Service before the FAM Trip starts, then you will travel for free! About Us Global Access Travel (GA) was founded in Turkey by a group of tourism professionals and marketing experts who recognized the needs to offer online services for accommodations, car rentals, and other travel related services to travel agencies. Through its sophisticated online reservation services, GA offers more than 100,000 hotels, motels, resorts, clubs and apartments all around the world. Other services of GA include car rentals, transfers, special tours, luxury services, city breaks, flight tickets and other services such as tailor made tour packages, exhibition organizations, incentives and other travel related services around the globe at competitive rates. [http://www.TurkeyCallingus.com] www.TurkeyCalling.us [http://www.turkeycallingus.com/turkey-calling-contact-us.htm] Global Access Travel Tel: +90 212 258 58 29 Fax: +90 212 258 34 47 E-mail : [mailto:incoming@gaturkey.com] incoming@gaturkey.com Website: [http://www.turkeycallingus.com/] www.TurkeyCalling.Us This message was sent by: FamTrit turkey, Nüzhetiye Cad., istanbul, besiktas 34357, Turkey To be removed click here: http://app.icontact.com/icp/mmail-mprofile.pl?r=47128622&l=82243&s=6GPU&m=578549&c=305227 Forward to a friend: http://app.icontact.com/icp/sub/forward?m=578549&s=47128622&c=6GPU&cid=305227 From owner-freebsd-apache@FreeBSD.ORG Fri Jul 10 12:24:19 2009 Return-Path: Delivered-To: apache@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BC8741065672 for ; Fri, 10 Jul 2009 12:24:19 +0000 (UTC) (envelope-from drm@melp.nl) Received: from smtp-vbr12.xs4all.nl (smtp-vbr12.xs4all.nl [194.109.24.32]) by mx1.freebsd.org (Postfix) with ESMTP id 50C658FC16 for ; Fri, 10 Jul 2009 12:24:18 +0000 (UTC) (envelope-from drm@melp.nl) Received: from zicht.nl.alt001.com (Zichtrotterdam.xs4all.nl [213.84.233.128]) by smtp-vbr12.xs4all.nl (8.13.8/8.13.8) with ESMTP id n6AC9X53047981 for ; Fri, 10 Jul 2009 14:09:33 +0200 (CEST) (envelope-from drm@melp.nl) Received: from localhost (localhost.localdomain [127.0.0.1]) by zicht.nl.alt001.com (Postfix) with ESMTP id DC6E71754C for ; Fri, 10 Jul 2009 14:09:29 +0200 (CEST) X-Virus-Scanned: by XS4ALL Virus Scanner Received: from zicht.nl.alt001.com ([127.0.0.1]) by localhost (zicht.nl.alt001.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ZdhsGMDUc52H for ; Fri, 10 Jul 2009 14:09:29 +0200 (CEST) Received: from [192.168.90.180] (host180.zicht.intern [192.168.90.180]) by zicht.nl.alt001.com (Postfix) with ESMTP id C792E17546 for ; Fri, 10 Jul 2009 14:09:29 +0200 (CEST) Message-ID: <4A572F7D.906@melp.nl> Date: Fri, 10 Jul 2009 14:09:33 +0200 From: drm User-Agent: Thunderbird 2.0.0.22 (Windows/20090605) MIME-Version: 1.0 To: apache@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Broken apache20 port? 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: Fri, 10 Jul 2009 12:24:20 -0000 Hi, I ran csup a few hours ago (RELEASE-7.2), and tried making the port apache20 (/usr/ports/www/apache20) and ran into the problem of "libtool not found". It seemed the make script expected libtool in work/httpd-2.0.63/srclib/apr. I symlinked the libtool from /usr/local/bin/libtool to here and ran make reinstall. Later a similar problem with the script expecting shlibtool in work/httpd-2.0.63 Again I symlinked /usr/local/bin/libtool to shlibtool and ran make reinstall Now the build finished succesfully. Hope this helps, drm / Gerard From owner-freebsd-apache@FreeBSD.ORG Fri Jul 10 13:14:11 2009 Return-Path: Delivered-To: apache@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7AA16106575C for ; Fri, 10 Jul 2009 13:14:11 +0000 (UTC) (envelope-from pgollucci@p6m7g8.com) Received: from exhub015-2.exch015.msoutlookonline.net (exhub015-2.exch015.msoutlookonline.net [207.5.72.94]) by mx1.freebsd.org (Postfix) with ESMTP id 685F78FC18 for ; Fri, 10 Jul 2009 13:14:10 +0000 (UTC) (envelope-from pgollucci@p6m7g8.com) Received: from [172.28.1.195] (98.141.235.114) by smtpx15.msoutlookonline.net (207.5.72.103) with Microsoft SMTP Server (TLS) id 8.1.358.0; Fri, 10 Jul 2009 06:14:10 -0700 Message-ID: <4A573EA5.3090401@p6m7g8.com> Date: Fri, 10 Jul 2009 09:14:13 -0400 From: "Philip M. Gollucci" Organization: P6 Web Applications User-Agent: Thunderbird 2.0.0.22 (Windows/20090605) MIME-Version: 1.0 To: drm References: <4A572F7D.906@melp.nl> In-Reply-To: <4A572F7D.906@melp.nl> Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit Cc: apache@freebsd.org Subject: Re: Broken apache20 port? 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: Fri, 10 Jul 2009 13:14:11 -0000 drm wrote: > Hi, > > > I ran csup a few hours ago (RELEASE-7.2), and tried making the port > apache20 (/usr/ports/www/apache20) and ran into the problem of "libtool > not found". It seemed the make script expected libtool in > work/httpd-2.0.63/srclib/apr. I symlinked the libtool from > /usr/local/bin/libtool to here and ran make reinstall. Later a similar > problem with the script expecting shlibtool in work/httpd-2.0.63 Again I > symlinked /usr/local/bin/libtool to shlibtool and ran make reinstall Now > the build finished succesfully. do you have devel/apr installed ? nothing relating to libtool in that port has changed in at least years.