Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

ports/127038: [patch] mute www/apache22 apache22.sh script with regarding to sysctl call

1 view
Skip to first unread message

Edwin Groothuis

unread,
Sep 2, 2008, 1:59:55 AM9/2/08
to

>Number: 127038
>Category: ports
>Synopsis: [patch] mute www/apache22 apache22.sh script with regarding to sysctl call
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Tue Sep 02 06:00:03 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator: Edwin Groothuis
>Release: FreeBSD 7.0-RELEASE-p1 i386
>Organization:
-
>Environment:
System: FreeBSD k7.mavetju 7.0-RELEASE-p1 FreeBSD 7.0-RELEASE-p1 #2: Wed May 28 08:12:56 EST 2008 ed...@k7.mavetju:/usr/src/sys/i386/compile/k7 i386


>Description:

<Tabmow> sysctl: unknown oid 'net.fibs'
<Tabmow> Starting apache22.
<Tabmow> getting this after the recent upgrading of apache
<andy_t> Mavvie: the "2>&1" and "> /dev/null" should be swapped
<andy_t> Mavvie: See http://lists.freebsd.org/pipermail/freebsd-questions/2003-October/022122.html

>How-To-Repeat:
>Fix:

Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/www/apache22/Makefile,v
retrieving revision 1.222
diff -u -r1.222 Makefile
--- Makefile 31 Aug 2008 23:00:27 -0000 1.222
+++ Makefile 2 Sep 2008 05:58:50 -0000
@@ -9,7 +9,7 @@

PORTNAME= apache
PORTVERSION= 2.2.9
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= www
MASTER_SITES= ${MASTER_SITE_APACHE_HTTPD}
DISTNAME= httpd-${PORTVERSION}
Index: files/apache22.sh.in
===================================================================
RCS file: /home/pcvs/ports/www/apache22/files/apache22.sh.in,v
retrieving revision 1.6
diff -u -r1.6 apache22.sh.in
--- files/apache22.sh.in 31 Aug 2008 23:00:27 -0000 1.6
+++ files/apache22.sh.in 2 Sep 2008 05:58:51 -0000
@@ -54,7 +54,7 @@
retcode=0
if checkyesno apache22_http_accept_enable
then
- /sbin/kldstat -v | grep accf_http 2>&1 > /dev/null
+ /sbin/kldstat -v | grep accf_http >/dev/null 2>&1
retcode=${?}
if [ ${retcode} -ne 0 ]
then
@@ -177,7 +177,7 @@
}

apache22_checkfib () {
- sysctl net.fibs 2>&1 > /dev/null
+ sysctl net.fibs >/dev/null 2>&1
ret=$?
[ $ret -gt 0 ] && return 0
if [ "x$apache22_fib" != "xNO" ]

>Release-Note:
>Audit-Trail:
>Unformatted:
_______________________________________________
freebsd-p...@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports-bugs
To unsubscribe, send any mail to "freebsd-ports-b...@freebsd.org"

ed...@freebsd.org

unread,
Sep 2, 2008, 2:00:21 AM9/2/08
to
Synopsis: [patch] mute www/apache22 apache22.sh script with regarding to sysctl call

Responsible-Changed-From-To: freebsd-ports-bugs->clement
Responsible-Changed-By: edwin
Responsible-Changed-When: Tue Sep 2 06:00:20 UTC 2008
Responsible-Changed-Why:
Over to maintainer (via the GNATS Auto Assign Tool)

http://www.freebsd.org/cgi/query-pr.cgi?pr=127038

0 new messages