diff options
author | Andrey A. Chernov <ache@FreeBSD.org> | 1999-11-15 17:07:06 +0000 |
---|---|---|
committer | Andrey A. Chernov <ache@FreeBSD.org> | 1999-11-15 17:07:06 +0000 |
commit | 503aabcd4af176d95e79183cce70b73299afe72c (patch) | |
tree | 17159fabb703adc44b628f541e413646775449cf /www | |
parent | d4dc9aea78ea26a59c113e0809dab52187ad1bc9 (diff) | |
download | ports-503aabcd4af176d95e79183cce70b73299afe72c.tar.gz ports-503aabcd4af176d95e79183cce70b73299afe72c.zip |
Notes
Diffstat (limited to 'www')
-rw-r--r-- | www/apache13/pkg-plist | 7 | ||||
-rw-r--r-- | www/apache2/pkg-plist | 7 | ||||
-rw-r--r-- | www/apache20/pkg-plist | 7 | ||||
-rw-r--r-- | www/apache21/pkg-plist | 7 | ||||
-rw-r--r-- | www/apache22/pkg-plist | 7 |
5 files changed, 35 insertions, 0 deletions
diff --git a/www/apache13/pkg-plist b/www/apache13/pkg-plist index 71b62df25a05..9fde80455c3b 100644 --- a/www/apache13/pkg-plist +++ b/www/apache13/pkg-plist @@ -2,10 +2,15 @@ bin/dbmmanage bin/htdigest bin/htpasswd etc/apache/access.conf.default +@exec [ ! -f %B/access.conf ] && cp %B/%f %B/access.conf etc/apache/httpd.conf.default +@exec [ ! -f %B/httpd.conf ] && cp %B/%f %B/httpd.conf etc/apache/magic.default +@exec [ ! -f %B/magic ] && cp %B/%f %B/magic etc/apache/mime.types.default +@exec [ ! -f %B/mime.types ] && cp %B/%f %B/mime.types etc/apache/srm.conf.default +@exec [ ! -f %B/srm.conf ] && cp %B/%f %B/srm.conf etc/rc.d/apache.sh include/apache/alloc.h include/apache/ap.h @@ -76,6 +81,8 @@ share/doc/apache/apache_pb.gif @exec mkdir -p %D/www @exec ln -fs %B %D/www/data.default @unexec rm -f %D/www/data.default +@exec [ ! -d %D/www/data ] && ln -fs %B %D/www/data +@exec [ ! -d %D/www/cgi-bin ] && ln -fs %D/www/cgi-bin.default %D/www/cgi-bin share/doc/apache/index.html share/doc/apache/manual/LICENSE share/doc/apache/manual/bind.html diff --git a/www/apache2/pkg-plist b/www/apache2/pkg-plist index 71b62df25a05..9fde80455c3b 100644 --- a/www/apache2/pkg-plist +++ b/www/apache2/pkg-plist @@ -2,10 +2,15 @@ bin/dbmmanage bin/htdigest bin/htpasswd etc/apache/access.conf.default +@exec [ ! -f %B/access.conf ] && cp %B/%f %B/access.conf etc/apache/httpd.conf.default +@exec [ ! -f %B/httpd.conf ] && cp %B/%f %B/httpd.conf etc/apache/magic.default +@exec [ ! -f %B/magic ] && cp %B/%f %B/magic etc/apache/mime.types.default +@exec [ ! -f %B/mime.types ] && cp %B/%f %B/mime.types etc/apache/srm.conf.default +@exec [ ! -f %B/srm.conf ] && cp %B/%f %B/srm.conf etc/rc.d/apache.sh include/apache/alloc.h include/apache/ap.h @@ -76,6 +81,8 @@ share/doc/apache/apache_pb.gif @exec mkdir -p %D/www @exec ln -fs %B %D/www/data.default @unexec rm -f %D/www/data.default +@exec [ ! -d %D/www/data ] && ln -fs %B %D/www/data +@exec [ ! -d %D/www/cgi-bin ] && ln -fs %D/www/cgi-bin.default %D/www/cgi-bin share/doc/apache/index.html share/doc/apache/manual/LICENSE share/doc/apache/manual/bind.html diff --git a/www/apache20/pkg-plist b/www/apache20/pkg-plist index 71b62df25a05..9fde80455c3b 100644 --- a/www/apache20/pkg-plist +++ b/www/apache20/pkg-plist @@ -2,10 +2,15 @@ bin/dbmmanage bin/htdigest bin/htpasswd etc/apache/access.conf.default +@exec [ ! -f %B/access.conf ] && cp %B/%f %B/access.conf etc/apache/httpd.conf.default +@exec [ ! -f %B/httpd.conf ] && cp %B/%f %B/httpd.conf etc/apache/magic.default +@exec [ ! -f %B/magic ] && cp %B/%f %B/magic etc/apache/mime.types.default +@exec [ ! -f %B/mime.types ] && cp %B/%f %B/mime.types etc/apache/srm.conf.default +@exec [ ! -f %B/srm.conf ] && cp %B/%f %B/srm.conf etc/rc.d/apache.sh include/apache/alloc.h include/apache/ap.h @@ -76,6 +81,8 @@ share/doc/apache/apache_pb.gif @exec mkdir -p %D/www @exec ln -fs %B %D/www/data.default @unexec rm -f %D/www/data.default +@exec [ ! -d %D/www/data ] && ln -fs %B %D/www/data +@exec [ ! -d %D/www/cgi-bin ] && ln -fs %D/www/cgi-bin.default %D/www/cgi-bin share/doc/apache/index.html share/doc/apache/manual/LICENSE share/doc/apache/manual/bind.html diff --git a/www/apache21/pkg-plist b/www/apache21/pkg-plist index 71b62df25a05..9fde80455c3b 100644 --- a/www/apache21/pkg-plist +++ b/www/apache21/pkg-plist @@ -2,10 +2,15 @@ bin/dbmmanage bin/htdigest bin/htpasswd etc/apache/access.conf.default +@exec [ ! -f %B/access.conf ] && cp %B/%f %B/access.conf etc/apache/httpd.conf.default +@exec [ ! -f %B/httpd.conf ] && cp %B/%f %B/httpd.conf etc/apache/magic.default +@exec [ ! -f %B/magic ] && cp %B/%f %B/magic etc/apache/mime.types.default +@exec [ ! -f %B/mime.types ] && cp %B/%f %B/mime.types etc/apache/srm.conf.default +@exec [ ! -f %B/srm.conf ] && cp %B/%f %B/srm.conf etc/rc.d/apache.sh include/apache/alloc.h include/apache/ap.h @@ -76,6 +81,8 @@ share/doc/apache/apache_pb.gif @exec mkdir -p %D/www @exec ln -fs %B %D/www/data.default @unexec rm -f %D/www/data.default +@exec [ ! -d %D/www/data ] && ln -fs %B %D/www/data +@exec [ ! -d %D/www/cgi-bin ] && ln -fs %D/www/cgi-bin.default %D/www/cgi-bin share/doc/apache/index.html share/doc/apache/manual/LICENSE share/doc/apache/manual/bind.html diff --git a/www/apache22/pkg-plist b/www/apache22/pkg-plist index 71b62df25a05..9fde80455c3b 100644 --- a/www/apache22/pkg-plist +++ b/www/apache22/pkg-plist @@ -2,10 +2,15 @@ bin/dbmmanage bin/htdigest bin/htpasswd etc/apache/access.conf.default +@exec [ ! -f %B/access.conf ] && cp %B/%f %B/access.conf etc/apache/httpd.conf.default +@exec [ ! -f %B/httpd.conf ] && cp %B/%f %B/httpd.conf etc/apache/magic.default +@exec [ ! -f %B/magic ] && cp %B/%f %B/magic etc/apache/mime.types.default +@exec [ ! -f %B/mime.types ] && cp %B/%f %B/mime.types etc/apache/srm.conf.default +@exec [ ! -f %B/srm.conf ] && cp %B/%f %B/srm.conf etc/rc.d/apache.sh include/apache/alloc.h include/apache/ap.h @@ -76,6 +81,8 @@ share/doc/apache/apache_pb.gif @exec mkdir -p %D/www @exec ln -fs %B %D/www/data.default @unexec rm -f %D/www/data.default +@exec [ ! -d %D/www/data ] && ln -fs %B %D/www/data +@exec [ ! -d %D/www/cgi-bin ] && ln -fs %D/www/cgi-bin.default %D/www/cgi-bin share/doc/apache/index.html share/doc/apache/manual/LICENSE share/doc/apache/manual/bind.html |