1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00

Sync with www/apache13.

This commit is contained in:
Munechika SUMIKAWA 2001-12-09 00:39:30 +00:00
parent 7357ca7c85
commit 676fff5a3f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=51260
3 changed files with 7 additions and 13 deletions

View File

@ -8,7 +8,7 @@
PORTNAME= apache+ipv6
PORTVERSION= 1.3.22
CATEGORIES= www ipv6
PORTREVISION= 4
PORTREVISION= 5
MASTER_SITES= http://httpd.apache.org/dist/httpd/ \
ftp://ftp.ccs.neu.edu/net/mirrors/ftp.apache.org/apache/dist/httpd/ \
ftp://ftp.rge.com/pub/infosystems/apache/dist/httpd/ \
@ -66,7 +66,7 @@ MAN1= dbmmanage.1 htdigest.1 htpasswd.1
MAN8= ab.8 apachectl.8 apxs.8 httpd.8 logresolve.8 rotatelogs.8
pre-install:
PKG_PREFIX=${PREFIX} ./pkg-install ${PKGNAME} PRE-INSTALL
PKG_PREFIX=${PREFIX} ${SH} pkg-install ${PKGNAME} PRE-INSTALL
post-install:
@if [ ! -f ${PREFIX}/etc/rc.d/apache.sh ]; then \

View File

@ -1,5 +1,5 @@
--- Makefile.tmpl.orig Sun Oct 7 02:01:09 2001
+++ Makefile.tmpl Sun Oct 21 23:17:01 2001
+++ Makefile.tmpl Sun Dec 2 11:19:23 2001
@@ -270,10 +270,12 @@
$(MKDIR) $(root)$(mandir)/man1
$(MKDIR) $(root)$(mandir)/man8
@ -15,7 +15,7 @@
$(MKDIR) $(root)$(includedir)
$(MKDIR) $(root)$(includedir)/xml
$(MKDIR) $(root)$(runtimedir)
@@ -457,33 +459,40 @@
@@ -457,33 +459,39 @@
# icons and distributed CGI scripts.
install-data:
@echo "===> [data: Installing initial data files]"
@ -44,7 +44,6 @@
find $(root)$(manualdir)/ -type d -exec chmod a+rx {} \; ; \
find $(root)$(manualdir)/ -type f -print | xargs chmod a+r ; \
+# fi
+# $(LN) -sf $(root)$(manualdir) $(root)$(htdocsdir).default/manual
+ if [ ! -d $(root)$(htdocsdir)/ ]; then \
+ $(LN) -sf $(root)$(htdocsdir).default $(root)$(htdocsdir); \
fi
@ -71,7 +70,7 @@
@echo "Copying tree $(TOP)/icons/ -> $(root)$(iconsdir)/"; \
(cd $(TOP)/icons/ && $(TAR) $(TAROPT) - *) |\
(cd $(root)$(iconsdir)/ && $(TAR) -xf -); \
@@ -522,14 +531,14 @@
@@ -522,14 +530,14 @@
-e 's;logs/accept\.lock;$(runtimedir)/$(TARGET).lock;' \
-e 's;logs/apache_runtime_status;$(runtimedir)/$(TARGET).scoreboard;' \
-e 's;logs/httpd\.pid;$(runtimedir)/$(TARGET).pid;' \

View File

@ -1,5 +1,5 @@
#!/bin/sh
# $FreeBSD: /tmp/pcvs/ports/www/apache13+ipv6/Attic/pkg-deinstall,v 1.1 2001-10-23 04:41:45 sumikawa Exp $
# $FreeBSD: /tmp/pcvs/ports/www/apache13+ipv6/Attic/pkg-deinstall,v 1.2 2001-12-09 00:39:30 sumikawa Exp $
#
if [ "$2" != "POST-DEINSTALL" ]; then
@ -9,12 +9,7 @@ fi
USER=www
if pw usershow "${USER}" 2>/dev/null 1>&2; then
if pw userdel ${USER}; then
echo "Delete user/group \"${USER}\"."
else
echo "Deleting user/group \"${USER}\" failed..."
exit 1
fi
echo "To delete Apache user permanently, use 'pw userdel ${USER}'"
fi
exit 0