aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--www/apache13-ssl/Makefile8
-rw-r--r--www/apache13/Makefile8
-rw-r--r--www/apache13/pkg-plist2
-rw-r--r--www/apache2/Makefile8
-rw-r--r--www/apache2/pkg-plist2
-rw-r--r--www/apache20/Makefile8
-rw-r--r--www/apache20/pkg-plist2
-rw-r--r--www/apache21/Makefile8
-rw-r--r--www/apache21/pkg-plist2
-rw-r--r--www/apache22/Makefile8
-rw-r--r--www/apache22/pkg-plist2
-rw-r--r--www/mod_php3/Makefile8
-rw-r--r--www/mod_php3/pkg-plist2
-rw-r--r--www/mod_php4/Makefile8
-rw-r--r--www/mod_php4/pkg-plist2
-rw-r--r--www/mod_php5/Makefile8
-rw-r--r--www/mod_php5/pkg-plist2
17 files changed, 79 insertions, 9 deletions
diff --git a/www/apache13-ssl/Makefile b/www/apache13-ssl/Makefile
index f527a3d7112..0804ca7b31f 100644
--- a/www/apache13-ssl/Makefile
+++ b/www/apache13-ssl/Makefile
@@ -3,7 +3,7 @@
# Date created: Fri Aug 25 16:42:36 CDT 1995
# Whom: erich@rrnet.com
#
-# $Id: Makefile,v 1.10 1996/05/19 22:21:42 ache Exp $
+# $Id: Makefile,v 1.11 1996/05/20 07:37:06 asami Exp $
#
DISTNAME= apache_1.0.5
@@ -20,4 +20,10 @@ EXTRACT_ONLY= ${DISTNAME}.tar.gz
post-extract:
cp ${DISTDIR}/mod_env.c ${WRKSRC}/src
+post-install:
+ @echo "Installing ${PREFIX}/etc/rc.d/apache.sh startup file."
+ @echo "#!/bin/sh" > ${PREFIX}/etc/rc.d/apache.sh
+ @echo "[ -x /usr/local/sbin/httpd ] && /usr/local/sbin/httpd && echo -n ' httpd'" >> ${PREFIX}/etc/rc.d/apache.sh
+ @chmod 751 ${PREFIX}/etc/rc.d/apache.sh
+
.include <bsd.port.mk>
diff --git a/www/apache13/Makefile b/www/apache13/Makefile
index f527a3d7112..0804ca7b31f 100644
--- a/www/apache13/Makefile
+++ b/www/apache13/Makefile
@@ -3,7 +3,7 @@
# Date created: Fri Aug 25 16:42:36 CDT 1995
# Whom: erich@rrnet.com
#
-# $Id: Makefile,v 1.10 1996/05/19 22:21:42 ache Exp $
+# $Id: Makefile,v 1.11 1996/05/20 07:37:06 asami Exp $
#
DISTNAME= apache_1.0.5
@@ -20,4 +20,10 @@ EXTRACT_ONLY= ${DISTNAME}.tar.gz
post-extract:
cp ${DISTDIR}/mod_env.c ${WRKSRC}/src
+post-install:
+ @echo "Installing ${PREFIX}/etc/rc.d/apache.sh startup file."
+ @echo "#!/bin/sh" > ${PREFIX}/etc/rc.d/apache.sh
+ @echo "[ -x /usr/local/sbin/httpd ] && /usr/local/sbin/httpd && echo -n ' httpd'" >> ${PREFIX}/etc/rc.d/apache.sh
+ @chmod 751 ${PREFIX}/etc/rc.d/apache.sh
+
.include <bsd.port.mk>
diff --git a/www/apache13/pkg-plist b/www/apache13/pkg-plist
index cf13ab2ef10..ae2bda3c3d1 100644
--- a/www/apache13/pkg-plist
+++ b/www/apache13/pkg-plist
@@ -1,3 +1,5 @@
+etc/rc.d/apache.sh
+@unexec rm %D/etc/rc.d/apache.sh
sbin/httpd
www/cgi-bin
www/data
diff --git a/www/apache2/Makefile b/www/apache2/Makefile
index f527a3d7112..0804ca7b31f 100644
--- a/www/apache2/Makefile
+++ b/www/apache2/Makefile
@@ -3,7 +3,7 @@
# Date created: Fri Aug 25 16:42:36 CDT 1995
# Whom: erich@rrnet.com
#
-# $Id: Makefile,v 1.10 1996/05/19 22:21:42 ache Exp $
+# $Id: Makefile,v 1.11 1996/05/20 07:37:06 asami Exp $
#
DISTNAME= apache_1.0.5
@@ -20,4 +20,10 @@ EXTRACT_ONLY= ${DISTNAME}.tar.gz
post-extract:
cp ${DISTDIR}/mod_env.c ${WRKSRC}/src
+post-install:
+ @echo "Installing ${PREFIX}/etc/rc.d/apache.sh startup file."
+ @echo "#!/bin/sh" > ${PREFIX}/etc/rc.d/apache.sh
+ @echo "[ -x /usr/local/sbin/httpd ] && /usr/local/sbin/httpd && echo -n ' httpd'" >> ${PREFIX}/etc/rc.d/apache.sh
+ @chmod 751 ${PREFIX}/etc/rc.d/apache.sh
+
.include <bsd.port.mk>
diff --git a/www/apache2/pkg-plist b/www/apache2/pkg-plist
index cf13ab2ef10..ae2bda3c3d1 100644
--- a/www/apache2/pkg-plist
+++ b/www/apache2/pkg-plist
@@ -1,3 +1,5 @@
+etc/rc.d/apache.sh
+@unexec rm %D/etc/rc.d/apache.sh
sbin/httpd
www/cgi-bin
www/data
diff --git a/www/apache20/Makefile b/www/apache20/Makefile
index f527a3d7112..0804ca7b31f 100644
--- a/www/apache20/Makefile
+++ b/www/apache20/Makefile
@@ -3,7 +3,7 @@
# Date created: Fri Aug 25 16:42:36 CDT 1995
# Whom: erich@rrnet.com
#
-# $Id: Makefile,v 1.10 1996/05/19 22:21:42 ache Exp $
+# $Id: Makefile,v 1.11 1996/05/20 07:37:06 asami Exp $
#
DISTNAME= apache_1.0.5
@@ -20,4 +20,10 @@ EXTRACT_ONLY= ${DISTNAME}.tar.gz
post-extract:
cp ${DISTDIR}/mod_env.c ${WRKSRC}/src
+post-install:
+ @echo "Installing ${PREFIX}/etc/rc.d/apache.sh startup file."
+ @echo "#!/bin/sh" > ${PREFIX}/etc/rc.d/apache.sh
+ @echo "[ -x /usr/local/sbin/httpd ] && /usr/local/sbin/httpd && echo -n ' httpd'" >> ${PREFIX}/etc/rc.d/apache.sh
+ @chmod 751 ${PREFIX}/etc/rc.d/apache.sh
+
.include <bsd.port.mk>
diff --git a/www/apache20/pkg-plist b/www/apache20/pkg-plist
index cf13ab2ef10..ae2bda3c3d1 100644
--- a/www/apache20/pkg-plist
+++ b/www/apache20/pkg-plist
@@ -1,3 +1,5 @@
+etc/rc.d/apache.sh
+@unexec rm %D/etc/rc.d/apache.sh
sbin/httpd
www/cgi-bin
www/data
diff --git a/www/apache21/Makefile b/www/apache21/Makefile
index f527a3d7112..0804ca7b31f 100644
--- a/www/apache21/Makefile
+++ b/www/apache21/Makefile
@@ -3,7 +3,7 @@
# Date created: Fri Aug 25 16:42:36 CDT 1995
# Whom: erich@rrnet.com
#
-# $Id: Makefile,v 1.10 1996/05/19 22:21:42 ache Exp $
+# $Id: Makefile,v 1.11 1996/05/20 07:37:06 asami Exp $
#
DISTNAME= apache_1.0.5
@@ -20,4 +20,10 @@ EXTRACT_ONLY= ${DISTNAME}.tar.gz
post-extract:
cp ${DISTDIR}/mod_env.c ${WRKSRC}/src
+post-install:
+ @echo "Installing ${PREFIX}/etc/rc.d/apache.sh startup file."
+ @echo "#!/bin/sh" > ${PREFIX}/etc/rc.d/apache.sh
+ @echo "[ -x /usr/local/sbin/httpd ] && /usr/local/sbin/httpd && echo -n ' httpd'" >> ${PREFIX}/etc/rc.d/apache.sh
+ @chmod 751 ${PREFIX}/etc/rc.d/apache.sh
+
.include <bsd.port.mk>
diff --git a/www/apache21/pkg-plist b/www/apache21/pkg-plist
index cf13ab2ef10..ae2bda3c3d1 100644
--- a/www/apache21/pkg-plist
+++ b/www/apache21/pkg-plist
@@ -1,3 +1,5 @@
+etc/rc.d/apache.sh
+@unexec rm %D/etc/rc.d/apache.sh
sbin/httpd
www/cgi-bin
www/data
diff --git a/www/apache22/Makefile b/www/apache22/Makefile
index f527a3d7112..0804ca7b31f 100644
--- a/www/apache22/Makefile
+++ b/www/apache22/Makefile
@@ -3,7 +3,7 @@
# Date created: Fri Aug 25 16:42:36 CDT 1995
# Whom: erich@rrnet.com
#
-# $Id: Makefile,v 1.10 1996/05/19 22:21:42 ache Exp $
+# $Id: Makefile,v 1.11 1996/05/20 07:37:06 asami Exp $
#
DISTNAME= apache_1.0.5
@@ -20,4 +20,10 @@ EXTRACT_ONLY= ${DISTNAME}.tar.gz
post-extract:
cp ${DISTDIR}/mod_env.c ${WRKSRC}/src
+post-install:
+ @echo "Installing ${PREFIX}/etc/rc.d/apache.sh startup file."
+ @echo "#!/bin/sh" > ${PREFIX}/etc/rc.d/apache.sh
+ @echo "[ -x /usr/local/sbin/httpd ] && /usr/local/sbin/httpd && echo -n ' httpd'" >> ${PREFIX}/etc/rc.d/apache.sh
+ @chmod 751 ${PREFIX}/etc/rc.d/apache.sh
+
.include <bsd.port.mk>
diff --git a/www/apache22/pkg-plist b/www/apache22/pkg-plist
index cf13ab2ef10..ae2bda3c3d1 100644
--- a/www/apache22/pkg-plist
+++ b/www/apache22/pkg-plist
@@ -1,3 +1,5 @@
+etc/rc.d/apache.sh
+@unexec rm %D/etc/rc.d/apache.sh
sbin/httpd
www/cgi-bin
www/data
diff --git a/www/mod_php3/Makefile b/www/mod_php3/Makefile
index f527a3d7112..0804ca7b31f 100644
--- a/www/mod_php3/Makefile
+++ b/www/mod_php3/Makefile
@@ -3,7 +3,7 @@
# Date created: Fri Aug 25 16:42:36 CDT 1995
# Whom: erich@rrnet.com
#
-# $Id: Makefile,v 1.10 1996/05/19 22:21:42 ache Exp $
+# $Id: Makefile,v 1.11 1996/05/20 07:37:06 asami Exp $
#
DISTNAME= apache_1.0.5
@@ -20,4 +20,10 @@ EXTRACT_ONLY= ${DISTNAME}.tar.gz
post-extract:
cp ${DISTDIR}/mod_env.c ${WRKSRC}/src
+post-install:
+ @echo "Installing ${PREFIX}/etc/rc.d/apache.sh startup file."
+ @echo "#!/bin/sh" > ${PREFIX}/etc/rc.d/apache.sh
+ @echo "[ -x /usr/local/sbin/httpd ] && /usr/local/sbin/httpd && echo -n ' httpd'" >> ${PREFIX}/etc/rc.d/apache.sh
+ @chmod 751 ${PREFIX}/etc/rc.d/apache.sh
+
.include <bsd.port.mk>
diff --git a/www/mod_php3/pkg-plist b/www/mod_php3/pkg-plist
index cf13ab2ef10..ae2bda3c3d1 100644
--- a/www/mod_php3/pkg-plist
+++ b/www/mod_php3/pkg-plist
@@ -1,3 +1,5 @@
+etc/rc.d/apache.sh
+@unexec rm %D/etc/rc.d/apache.sh
sbin/httpd
www/cgi-bin
www/data
diff --git a/www/mod_php4/Makefile b/www/mod_php4/Makefile
index f527a3d7112..0804ca7b31f 100644
--- a/www/mod_php4/Makefile
+++ b/www/mod_php4/Makefile
@@ -3,7 +3,7 @@
# Date created: Fri Aug 25 16:42:36 CDT 1995
# Whom: erich@rrnet.com
#
-# $Id: Makefile,v 1.10 1996/05/19 22:21:42 ache Exp $
+# $Id: Makefile,v 1.11 1996/05/20 07:37:06 asami Exp $
#
DISTNAME= apache_1.0.5
@@ -20,4 +20,10 @@ EXTRACT_ONLY= ${DISTNAME}.tar.gz
post-extract:
cp ${DISTDIR}/mod_env.c ${WRKSRC}/src
+post-install:
+ @echo "Installing ${PREFIX}/etc/rc.d/apache.sh startup file."
+ @echo "#!/bin/sh" > ${PREFIX}/etc/rc.d/apache.sh
+ @echo "[ -x /usr/local/sbin/httpd ] && /usr/local/sbin/httpd && echo -n ' httpd'" >> ${PREFIX}/etc/rc.d/apache.sh
+ @chmod 751 ${PREFIX}/etc/rc.d/apache.sh
+
.include <bsd.port.mk>
diff --git a/www/mod_php4/pkg-plist b/www/mod_php4/pkg-plist
index cf13ab2ef10..ae2bda3c3d1 100644
--- a/www/mod_php4/pkg-plist
+++ b/www/mod_php4/pkg-plist
@@ -1,3 +1,5 @@
+etc/rc.d/apache.sh
+@unexec rm %D/etc/rc.d/apache.sh
sbin/httpd
www/cgi-bin
www/data
diff --git a/www/mod_php5/Makefile b/www/mod_php5/Makefile
index f527a3d7112..0804ca7b31f 100644
--- a/www/mod_php5/Makefile
+++ b/www/mod_php5/Makefile
@@ -3,7 +3,7 @@
# Date created: Fri Aug 25 16:42:36 CDT 1995
# Whom: erich@rrnet.com
#
-# $Id: Makefile,v 1.10 1996/05/19 22:21:42 ache Exp $
+# $Id: Makefile,v 1.11 1996/05/20 07:37:06 asami Exp $
#
DISTNAME= apache_1.0.5
@@ -20,4 +20,10 @@ EXTRACT_ONLY= ${DISTNAME}.tar.gz
post-extract:
cp ${DISTDIR}/mod_env.c ${WRKSRC}/src
+post-install:
+ @echo "Installing ${PREFIX}/etc/rc.d/apache.sh startup file."
+ @echo "#!/bin/sh" > ${PREFIX}/etc/rc.d/apache.sh
+ @echo "[ -x /usr/local/sbin/httpd ] && /usr/local/sbin/httpd && echo -n ' httpd'" >> ${PREFIX}/etc/rc.d/apache.sh
+ @chmod 751 ${PREFIX}/etc/rc.d/apache.sh
+
.include <bsd.port.mk>
diff --git a/www/mod_php5/pkg-plist b/www/mod_php5/pkg-plist
index cf13ab2ef10..ae2bda3c3d1 100644
--- a/www/mod_php5/pkg-plist
+++ b/www/mod_php5/pkg-plist
@@ -1,3 +1,5 @@
+etc/rc.d/apache.sh
+@unexec rm %D/etc/rc.d/apache.sh
sbin/httpd
www/cgi-bin
www/data