- Dupliate $] fix in apxs in www/apache22

- Rename rc.d script apache2.sh -> apache2
- Bump PORTREVISION

With Hat:   apache@
This commit is contained in:
Philip M. Gollucci 2010-05-13 01:13:19 +00:00
parent 6aee801e30
commit 0497bd9e9f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=254239
4 changed files with 23 additions and 5 deletions

View File

@ -5,6 +5,16 @@ they are unavoidable.
You should get into the habit of checking this file for changes each time
you update your ports collection, before attempting any port upgrades.
20100512:
AFFECTS: users of www/apache20
AUTHOR: pgollucci@FreeBSD.org
Two rc.d script has been renamed
apache2.sh -> apache2
You'll need to update any crons wrappers, etc. for the new paths.
20100511:
AFFECTS: users of KDE SC 4
AUTHOR: kde@FreeBSD.org

View File

@ -9,7 +9,7 @@
PORTNAME= apache
PORTVERSION= 2.0.63
PORTREVISION= 9
PORTREVISION= 10
CATEGORIES= www
MASTER_SITES= ${MASTER_SITE_APACHE_HTTPD} \
${MASTER_SITE_LOCAL:S/$/:powerlogo/}
@ -60,7 +60,7 @@ SCRIPTS_ENV+= LIBTOOL=${LIBTOOL} LIBTOOLIZE=${LIBTOOLIZE} \
USE_ICONV= yes
USE_AUTOTOOLS= autoconf:262 libtool:22
USE_PERL5= yes
USE_RC_SUBR= apache2.sh
USE_RC_SUBR= apache2
USE_APACHE= common20
LIBTOOLFILES= configure
USE_LDCONFIG= ${PREFIX}/lib/apache2

View File

@ -1,6 +1,14 @@
--- ./support/apxs.in.orig 2006-07-12 03:40:55.000000000 -0400
+++ ./support/apxs.in 2010-05-06 16:06:03.795832133 -0400
@@ -548,7 +548,10 @@
@@ -83,7 +83,6 @@
my ($argumentative, @ARGV) = @_;
my $errs = 0;
local $_;
- local $[ = 0;
my @args = split / */, $argumentative;
while (@ARGV && ($_ = $ARGV[0]) =~ /^-(.)(.*)/) {
@@ -548,7 +547,10 @@
$c = '#' if ($opt_A);
foreach $lmd (@lmd) {
my $what = $opt_A ? "preparing" : "activating";
@ -12,7 +20,7 @@
# check for open <containers>, so that the new LoadModule
# directive always appears *outside* of an <container>.
@@ -611,7 +614,13 @@
@@ -611,7 +613,13 @@
}
} else {
# replace already existing LoadModule line
@ -27,7 +35,7 @@
}
$lmd =~ m|LoadModule\s+(.+?)_module.*|;
notice("[$what module `$1' in $CFG_SYSCONFDIR/$CFG_TARGET.conf]");
@@ -628,8 +637,7 @@
@@ -628,8 +636,7 @@
if (open(FP, ">$CFG_SYSCONFDIR/$CFG_TARGET.conf.new")) {
print FP $content;
close(FP);