diff options
Diffstat (limited to 'www')
-rw-r--r-- | www/wyvern/Makefile | 6 | ||||
-rw-r--r-- | www/wyvern/files/patch-Makefile.in | 13 | ||||
-rw-r--r-- | www/wyvern/pkg-plist | 4 |
3 files changed, 20 insertions, 3 deletions
diff --git a/www/wyvern/Makefile b/www/wyvern/Makefile index 2629b71042bc..672210592b88 100644 --- a/www/wyvern/Makefile +++ b/www/wyvern/Makefile @@ -28,8 +28,14 @@ MAKE_ARGS= rcdir="${LOCALBASE}/etc/rc.d" CONFIGURE_ARGS+= --enable-ipv6 .endif +post-extract: + ${MV} ${WRKSRC}/htdocs/index.html ${WRKSRC}/htdocs/index.html-dist + post-install: ${LN} -sf ${PREFIX}/sbin/* ${LOCALBASE}/sbin/ + if [ ! -f ${PREFIX}/htdocs/index.html ]; then \ + ${CP} -p ${PREFIX}/htdocs/index.html-dist ${PREFIX}/htdocs/index.html; \ + fi @${CAT} ${PKGMESSAGE} certificate: diff --git a/www/wyvern/files/patch-Makefile.in b/www/wyvern/files/patch-Makefile.in index c197e0ed1f5b..67f50830273b 100644 --- a/www/wyvern/files/patch-Makefile.in +++ b/www/wyvern/files/patch-Makefile.in @@ -1,5 +1,14 @@ ---- Makefile.in.orig Mon Dec 11 01:06:38 2000 -+++ Makefile.in Sat Mar 3 23:29:15 2001 +--- Makefile.in.orig Sun Mar 4 22:41:15 2001 ++++ Makefile.in Mon Aug 6 18:00:15 2001 +@@ -48,7 +48,7 @@ + install_admin_md5 = dot.admin_passwd_md5 + install_conf = wyvern.conf wyvern.conf.ja mime.types @ssl_cnf@ + install_docs = AUTHORS ChangeLog LICENSE NEWS README TODO README.module README.en README.module.en LICENSE.en +-install_htdocs = index.html ++install_htdocs = index.html-dist + install_admin = menu.whtml config.whtml passwd.whtml module.whtml roaming.whtml + install_samples = dot.waccess dot.wpasswd hosts.allow hosts.deny + install_rc_d = wyvern.sh @@ -74,21 +74,20 @@ ${INSTALL} -m 444 ${install_docs} ${docsdir} -(cd ${confdir}; ${MV} wyvern.conf wyvern.conf.old) diff --git a/www/wyvern/pkg-plist b/www/wyvern/pkg-plist index 4a04c998da2d..70bedcf6e45c 100644 --- a/www/wyvern/pkg-plist +++ b/www/wyvern/pkg-plist @@ -44,7 +44,9 @@ wyvern/etc/.admin_passwd-dist @unexec if cmp -s %D/wyvern/etc/.admin_passwd_md5 %D/wyvern/etc/.admin_passwd_md5-dist; then rm -f %D/wyvern/etc/.admin_passwd_md5; fi wyvern/etc/.admin_passwd_md5-dist @exec [ ! -f %B/.admin_passwd_md5 ] && cp %B/%f %B/.admin_passwd_md5 -wyvern/htdocs/index.html +@unexec if cmp -s %D/wyvern/htdocs/index.html %D/wyvern/htdocs/index.html-dist; then rm -f %D/wyvern/htdocs/index.html; fi +wyvern/htdocs/index.html-dist +@exec [ ! -f %B/index.html ] && cp %B/%f %B/index.html wyvern/icons/a.gif wyvern/icons/alert.black.gif wyvern/icons/alert.red.gif |