misc/144262: [PATCH] www/p5-FCGI-Spawn: update to 0.16.1
>Number: 144262 >Category: misc >Synopsis: [PATCH] www/p5-FCGI-Spawn: update to 0.16.1 >Confidential: no >Severity: non-critical >Priority: low >Responsible:freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Feb 24 11:10:01 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Peter Vereshagin >Release:releng_7 as of year+ ago >Organization: ' >Environment: FreeBSD my.host 7.1-STABLE FreeBSD 7.1-STABLE #1: Sat Jan 10 14:27:57 SAMT 2009 u...@my.host:/usr/local/src/sys/i386/compile/MYKERN i386 >Description: FCGI::Spawn-0.16.1 release brings the daemon and thus the port has the script for rc.d now and "fcgi" user addition advisory. >How-To-Repeat: >Fix: Patch attached with submission follows: diff -uNr www/p5-FCGI-Spawn.orig/Makefile www/p5-FCGI-Spawn/Makefile --- www/p5-FCGI-Spawn.orig/Makefile 2009-12-16 23:04:11.0 +0400 +++ www/p5-FCGI-Spawn/Makefile 2010-02-24 14:48:51.509806422 +0400 @@ -2,22 +2,53 @@ # Date created:2007-12-28 # Whom:Peter # -# $FreeBSD: ports/www/p5-FCGI-Spawn/Makefile,v 1.5 2009/12/16 19:04:11 pgollucci Exp $ +# $FreeBSD$ # PORTNAME= FCGI-Spawn -PORTVERSION= 0.15.1 +PORTVERSION= 0.16.1 CATEGORIES=www perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER=pe...@vereshagin.org -COMMENT= Process manager/(CGI-like)application server for FastCGI protocol +COMMENT= FastCGI server for CGI-like applications multiprocessing RUN_DEPENDS= ${SITE_PERL}/FCGI/ProcManager.pm:${PORTSDIR}/www/p5-FCGI-ProcManager PERL_CONFIGURE=yes +USE_RC_SUBR+= fcgi_spawn + MAN3= FCGI::Spawn.3 +MAN1= fcgi_spawn.1 + +OPTIONS= MYSQL "MySQL dependency to run on RC start" off \ +PGSQL "PgSQL dependency to run on RC start" off + +.include + +.if defined(WITH_MYSQL) +# RUN_DEPENDS+= mysql-server>=0:${PORTSDIR}/databases/mysql${MYSQL_VER}-server +SUB_LIST+= MYSQL=mysql +. else +SUB_LIST+= MYSQL= +.endif + +.if defined(WITH_PGSQL) +# RUN_DEPENDS+= postgresql-server>=0:${PORTSDIR}/databases/postgresql${PGSQL_VER}-server +SUB_LIST+= PGSQL=postgresql +. else +SUB_LIST+= PGSQL= +.endif + +post-install: + ${ECHO} ${WITH_MYSQL} ${SUB_LIST} + @${MKDIR} ${PREFIX}/etc/fcgi_spawn + @${INSTALL_DATA} ${WRKSRC}/fcgi_spawn.conf.sample ${PREFIX}/etc/fcgi_spawn + @${MKDIR} ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME} + @${INSTALL_DATA} ${WRKSRC}/README ${WRKSRC}/Bugzilla.CGI.pm.fcgi.spawn.patch ${WRKSRC}/CGI.pm.fcgi.spawn.patch \ + ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME} + @${CAT} ${PKGMESSAGE} -.include +.include diff -uNr www/p5-FCGI-Spawn.orig/distinfo www/p5-FCGI-Spawn/distinfo --- www/p5-FCGI-Spawn.orig/distinfo 2009-12-16 23:04:11.0 +0400 +++ www/p5-FCGI-Spawn/distinfo 2010-02-24 14:48:51.509806422 +0400 @@ -1,3 +1,3 @@ -MD5 (FCGI-Spawn-0.15.1.tar.gz) = 4fbc9d3779c4f3b4d7b95386fed2fc48 -SHA256 (FCGI-Spawn-0.15.1.tar.gz) = fcf8dbeae55b486f845330b37643619566e0f7bd9373167b8e378fba6c82c3ca -SIZE (FCGI-Spawn-0.15.1.tar.gz) = 22409 +SIZE (FCGI-Spawn-0.16.1.tar.gz) = 27199 +MD5 (FCGI-Spawn-0.16.1.tar.gz) = a6124efd9b12f56cfe7cb9d750e7db34 +SHA256 (FCGI-Spawn-0.16.1.tar.gz) = 8163dd5d78e6c29197ef6f97f6429cbf4e5a800b668b6162fa18b9da6c330d49 diff -uNr www/p5-FCGI-Spawn.orig/files/fcgi_spawn.in www/p5-FCGI-Spawn/files/fcgi_spawn.in --- www/p5-FCGI-Spawn.orig/files/fcgi_spawn.in 1970-01-01 04:00:00.0 +0400 +++ www/p5-FCGI-Spawn/files/fcgi_spawn.in 2010-02-24 14:48:51.500805836 +0400 @@ -0,0 +1,29 @@ +#!/bin/sh + +# PROVIDE: fcgi_spawn +# REQUIRE: LOGIN %%MYSQL%% %%PGSQL%% +# BEFORE: +# KEYWORD: shutdown + +. %%RC_SUBR%% + +name="fcgi_spawn" +rcvar=${name}_enable + +fcgi_spawn_enable=${fcgi_spawn_enable:-"NO"} +pidfile=${fcgi_spawn_pid:-"/var/run/${name}.pid"} + +load_rc_config ${name} + +fcgi_spawn_config_path=${fcgi_spawn_config_path:-"/usr/local/etc/${name}"} +fcgi_spawn_log=${fcgi_spawn_log:-"/var/log/${name}.log"} +fcgi_spawn_socket_path=${fcgi_spawn_socket_path:-"/tmp/spawner.sock"} +fcgi_spawn_redefine_exit=${fcgi_spawn_redefine_exit:-"0"} +fcgi_spawn_username=${fcgi_spawn_username:-"fcgi"} +fcgi_spawn_groupname=${fcgi_spawn_groupname:-"fcgi"} +fcgi_spawn_flags=${fcgi_spawn_flags:-""} +command="%%PREFIX%%/bin/${name}" +command_args="-l ${fcgi_spawn_log} -p ${pidfile} -c ${fcgi_spawn_config_path} -u ${fcgi_spawn_username} -g ${fcgi_spawn_groupname} -s ${fcgi_spawn_socket_path}" +required_dirs=${fcgi_spawn_config_path} + +run_rc_command "$1" diff -uNr www/p5-FCGI-Spawn.orig/pkg-deinstall www/p5-FCGI-Spawn/pkg-deinstall --- www/p5-FCGI-Spawn.orig/pkg-deinstall1970-01-01 04:00:00.0 +0400 +++ www/p5-FCGI-Spawn/pkg-deinstall 2010-02-24 14:48:51.511806676
Re: ports/144262: [PATCH] www/p5-FCGI-Spawn: update to 0.16.1
Synopsis: [PATCH] www/p5-FCGI-Spawn: update to 0.16.1 Class-Changed-From-To: sw-bug->maintainer-update Class-Changed-By: linimon Class-Changed-When: Wed Feb 24 12:29:39 UTC 2010 Class-Changed-Why: fix category and class. Responsible-Changed-From-To: freebsd-bugs->freebsd-ports-bugs Responsible-Changed-By: linimon Responsible-Changed-When: Wed Feb 24 12:29:39 UTC 2010 Responsible-Changed-Why: http://www.freebsd.org/cgi/query-pr.cgi?pr=144262 ___ freebsd-bugs@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"
Re: bin/89410: commit references a PR
The following reply was made to PR bin/89410; it has been noted by GNATS. From: dfil...@freebsd.org (dfilter service) To: bug-follo...@freebsd.org Cc: Subject: Re: bin/89410: commit references a PR Date: Wed, 24 Feb 2010 14:20:10 + (UTC) Author: jh Date: Wed Feb 24 14:19:56 2010 New Revision: 204276 URL: http://svn.freebsd.org/changeset/base/204276 Log: Fix expansion of \W in prompt strings when the working directory is "/". The prompt string was truncated after \W when the working directory was "/". PR: bin/89410 Submitted by:Dr Balwinder Singh Dheeman MFC after: 1 week Modified: head/bin/sh/parser.c Modified: head/bin/sh/parser.c == --- head/bin/sh/parser.c Wed Feb 24 13:13:29 2010(r204275) +++ head/bin/sh/parser.c Wed Feb 24 14:19:56 2010(r204276) @@ -1641,7 +1641,7 @@ getprompt(void *unused __unused) case 'w': ps[i] = '\0'; getcwd(&ps[i], PROMPTLEN - i); - if (*fmt == 'W') { + if (*fmt == 'W' && ps[i + 1] != '\0') { /* Final path component only. */ trim = 1; for (j = i; ps[j] != '\0'; j++) ___ svn-src-...@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org" ___ freebsd-bugs@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"
kern/144269: problem with ipfw tables
>Number: 144269 >Category: kern >Synopsis: problem with ipfw tables >Confidential: no >Severity: serious >Priority: medium >Responsible:freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Feb 24 20:40:03 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Alexey Kouznetsov >Release:FreeBSD 7.x adm64 >Organization: >Environment: FreeBSD xxx.xxx.ru 7.3-PRERELEASE FreeBSD 7.3-PRERELEASE #0: Thu Feb 18 17:35:07 MSK 2010 r...@xxx.xxx.ru:/usr/o rc/sys/XX amd64 >Description: sometimes we have "Flying Dutchman" in freebsd tables # ipfw table 30 list | wc -l 1331 # /sbin/ipfw table 30 list | egrep 10.10.2.143 10.10.2.143/32 101 # /sbin/ipfw table 30 delete 10.10.2.143 ipfw: setsockopt(IP_FW_TABLE_DEL): No such process # /sbin/ipfw table 30 list | egrep 10.10.2.143 10.10.2.143/32 101 # ipfw table 30 list | wc -l 1331 >How-To-Repeat: this problem returns time to time. I saw it some time since 7.0-RELEASE until latest 7 stable. (did not use i386 with 7.x and tables). Did not saw it on 6.x and older branch. We do not use 8.x >Fix: reboot :(. But after reboot, possible, we will have different ip(s) "always in table". Also sometimes I saw "pipe tablearg ip from any to table(30) xmit em1 out" and some pipes shown IPs, whis are not in table 30 at all, and never was here. (this is not output problem, speed is actually same as defined for this pipe, all counters grown and so on. "show table 30" do not show the IP, but this actually come to pipe) I use fake pipe without speed limits, and add to such table all possible IPs, which are should not to be speed limited, with this, fake, argument. In this case this second problem gone. Also seen only on 7.x amd64 branch. I think both problems came from same place. >Release-Note: >Audit-Trail: >Unformatted: ___ freebsd-bugs@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"
Re: kern/144269: [ipfw] problem with ipfw tables
Old Synopsis: problem with ipfw tables New Synopsis: [ipfw] problem with ipfw tables Responsible-Changed-From-To: freebsd-bugs->freebsd-ipfw Responsible-Changed-By: linimon Responsible-Changed-When: Wed Feb 24 23:07:24 UTC 2010 Responsible-Changed-Why: Over to maintainer(s). http://www.freebsd.org/cgi/query-pr.cgi?pr=144269 ___ freebsd-bugs@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"