>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"
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