diff options
author | Akinori MUSHA <knu@FreeBSD.org> | 2001-03-05 09:18:47 +0000 |
---|---|---|
committer | Akinori MUSHA <knu@FreeBSD.org> | 2001-03-05 09:18:47 +0000 |
commit | fc6343332622bd3019fb383133203a308c7b3ed7 (patch) | |
tree | 604a04ca9d609ccb4c2b84e42457fb241422a328 | |
parent | 274812f3fe38b8ce4d8fb0ded275f156113c8730 (diff) | |
download | ports-fc6343332622bd3019fb383133203a308c7b3ed7.tar.gz ports-fc6343332622bd3019fb383133203a308c7b3ed7.zip |
Notes
-rw-r--r-- | www/Makefile | 1 | ||||
-rw-r--r-- | www/wyvern/Makefile | 39 | ||||
-rw-r--r-- | www/wyvern/distinfo | 1 | ||||
-rw-r--r-- | www/wyvern/files/patch-Makefile.in | 29 | ||||
-rw-r--r-- | www/wyvern/files/patch-configure.in | 20 | ||||
-rw-r--r-- | www/wyvern/pkg-comment | 1 | ||||
-rw-r--r-- | www/wyvern/pkg-descr | 7 | ||||
-rw-r--r-- | www/wyvern/pkg-message | 7 | ||||
-rw-r--r-- | www/wyvern/pkg-plist | 163 |
9 files changed, 268 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile index 4b7444638adc..1c8381f014e9 100644 --- a/www/Makefile +++ b/www/Makefile @@ -240,6 +240,7 @@ SUBDIR += wwwcount SUBDIR += wwwoffle SUBDIR += wwwstat + SUBDIR += wyvern SUBDIR += xitami SUBDIR += xswallow SUBDIR += znavigator diff --git a/www/wyvern/Makefile b/www/wyvern/Makefile new file mode 100644 index 000000000000..d2903e6029e2 --- /dev/null +++ b/www/wyvern/Makefile @@ -0,0 +1,39 @@ +# New ports collection makefile for: Wyvern +# Date created: 3 March 2001 +# Whom: Akinori MUSHA aka knu <knu@idaemons.org> +# +# $FreeBSD$ +# + +PORTNAME= wyvern +PORTVERSION= 1.0.3 +CATEGORIES= www ipv6 +MASTER_SITES= http://www.MysticWALL.com/software/src/ + +MAINTAINER= knu@FreeBSD.org + +USE_BZIP2= yes +USE_OPENSSL= yes +USE_GMAKE= yes +USE_AUTOCONF= yes +PREFIX= ${LOCALBASE}/wyvern +CONFIGURE_ARGS= --with-ssl=yes \ + --with-ssl-includes="${OPENSSLINC}" \ + --with-ssl-libraries="${OPENSSLLIB}" +MAKE_ARGS= rcdir="${LOCALBASE}/etc/rc.d" + +.include <bsd.port.pre.mk> + +.if ${OSVERSION} < 400014 +CONFIGURE_ARGS+= --enable-ipv6 +.endif + +post-install: + ${LN} -sf ${PREFIX}/sbin/* ${LOCALBASE}/sbin/ + @${CAT} ${PKGMESSAGE} + +certificate: + cd ${PREFIX} && openssl req -config conf/ssl.cnf -new -x509 -nodes \ + -out conf/wyvern.pem -keyout conf/wyvern.pem + +.include <bsd.port.post.mk> diff --git a/www/wyvern/distinfo b/www/wyvern/distinfo new file mode 100644 index 000000000000..e5d9779a9631 --- /dev/null +++ b/www/wyvern/distinfo @@ -0,0 +1 @@ +MD5 (wyvern-1.0.3.tar.bz2) = b8b0c08264d063999d25dc5d1cf68cc1 diff --git a/www/wyvern/files/patch-Makefile.in b/www/wyvern/files/patch-Makefile.in new file mode 100644 index 000000000000..c197e0ed1f5b --- /dev/null +++ b/www/wyvern/files/patch-Makefile.in @@ -0,0 +1,29 @@ +--- Makefile.in.orig Mon Dec 11 01:06:38 2000 ++++ Makefile.in Sat Mar 3 23:29:15 2001 +@@ -74,21 +74,20 @@ + ${INSTALL} -m 444 ${install_docs} ${docsdir} + -(cd ${confdir}; ${MV} wyvern.conf wyvern.conf.old) + -(cd ${confdir}; ${MV} mime.types mime.types.old) +- (cd conf; ${INSTALL_DATA} ${install_conf} ${confdir}) ++ (cd conf; for f in ${install_conf}; do ${INSTALL_DATA} $${f} ${confdir}/$${f}-dist; done) ++ (cd ${confdir}; for f in ${install_conf}; do [ -f $${f} ] || cp $${f}-dist $${f}; done) + (cd style; ${INSTALL_DATA} *.css ${styledir}) + (cd icons; ${INSTALL} -m 444 *.gif ${iconsdir}) + (cd images; ${INSTALL} -m 444 *.jpg ${imagesdir}) + (cd htdocs; ${INSTALL_DATA} ${install_htdocs} ${htdocsdir}) + (cd admin; ${INSTALL_DATA} ${install_admin} ${admindir}) + (cd manual; ${MAKE} install) +- (cd etc; ${INSTALL_DATA} ${install_admin_pwd} ${etcdir}/.admin_passwd) +- (cd etc; ${INSTALL_DATA} ${install_admin_md5} ${etcdir}/.admin_passwd_md5) +- (cd ${etcdir}; ${bindir}/plain2dbm .admin_passwd) +- (cd ${etcdir}; ${bindir}/plain2dbm .admin_passwd_md5) ++ (cd etc; for f in ${install_admin_pwd} ${install_admin_md5}; do ${INSTALL_DATA} $${f} ${etcdir}/$${f#dot}-dist; done) ++ (cd ${etcdir}; for f in ${install_admin_pwd} ${install_admin_md5}; do ${bindir}/plain2dbm $${f#dot}-dist; [ -f $${f#dot} ] || cp $${f#dot}-dist $${f#dot}; done) + (cd etc/rc.d; ${INSTALL} -m 555 ${install_rc_d} ${rcdir}) + (cd samples; ${INSTALL_DATA} ${install_samples} ${samplesdir}) + (cd cgi-bin; ${MAKE} install) +- @if [ "x${SSL_CMD}" != "x" ]; then ${MAKE} certificate; fi ++# @if [ "x${SSL_CMD}" != "x" ]; then ${MAKE} certificate; fi + + update:: check-dirs + (cd src; ${MAKE} install) diff --git a/www/wyvern/files/patch-configure.in b/www/wyvern/files/patch-configure.in new file mode 100644 index 000000000000..63f0a41d55b2 --- /dev/null +++ b/www/wyvern/files/patch-configure.in @@ -0,0 +1,20 @@ +--- configure.in.orig Sat Feb 10 02:18:57 2001 ++++ configure.in Mon Mar 5 17:20:20 2001 +@@ -102,7 +102,7 @@ + CFLAGS="-g -DDEBUG" + fi + else +- CFLAGS="-O2" ++# CFLAGS="-O2" + fi + + if test "x$mail_announce" = "xyes" ; then +@@ -434,7 +434,7 @@ + fi + + case "$host_os" in +- freebsd3*|freebsd4*) LDSHARED="ld -Bshareable" ++ freebsd[[3-9]]*) LDSHARED="ld -Bshareable" + WYVERN_LDFLAGS="-export-dynamic";; + freebsd2*) LDSHARED="ld -Bshareable";; + netbsd1.5*) LDSHARED="ld -Bshareable" diff --git a/www/wyvern/pkg-comment b/www/wyvern/pkg-comment new file mode 100644 index 000000000000..724b50b2c284 --- /dev/null +++ b/www/wyvern/pkg-comment @@ -0,0 +1 @@ +HTTP server with the simple design, easy setup and small size diff --git a/www/wyvern/pkg-descr b/www/wyvern/pkg-descr new file mode 100644 index 000000000000..51a74e32f1d5 --- /dev/null +++ b/www/wyvern/pkg-descr @@ -0,0 +1,7 @@ +Wivern is a lightweight HTTP server with the simple design, easy setup +and small size. + +There is a web site in Japanese: +http://www.MysticWALL.com/software/wyvern/wyvern.html + +Author: Kouichi ABE (WALL) <kouichi@MysticWALL.COM> diff --git a/www/wyvern/pkg-message b/www/wyvern/pkg-message new file mode 100644 index 000000000000..418130092f10 --- /dev/null +++ b/www/wyvern/pkg-message @@ -0,0 +1,7 @@ +************************************************************ +To create an SSL certificate, go to /usr/ports/www/wyvern +and type: + + make certificate + +************************************************************ diff --git a/www/wyvern/pkg-plist b/www/wyvern/pkg-plist new file mode 100644 index 000000000000..4a04c998da2d --- /dev/null +++ b/www/wyvern/pkg-plist @@ -0,0 +1,163 @@ +@cwd %%LOCALBASE%% +etc/rc.d/wyvern.sh +sbin/wyvern +sbin/wyvernctl +wyvern/admin/menu.whtml +wyvern/admin/config.whtml +wyvern/admin/passwd.whtml +wyvern/admin/module.whtml +wyvern/admin/roaming.whtml +wyvern/bin/plain2dbm +wyvern/bin/wpasswd +wyvern/cgi-bin/README.html +wyvern/cgi-bin/dic-tools.cgi +wyvern/cgi-bin/file-upload.cgi +wyvern/cgi-bin/location.cgi +wyvern/cgi-bin/printenv.cgi +wyvern/cgi-bin/gateway.rb +wyvern/cgi-bin/printenv.rb +@unexec if cmp -s %D/wyvern/conf/mime.types %D/wyvern/conf/mime.types-dist; then rm -f %D/wyvern/conf/mime.types; fi +wyvern/conf/mime.types-dist +@exec [ ! -f %B/mime.types ] && cp %B/%f %B/mime.types +@unexec if cmp -s %D/wyvern/conf/wyvern.conf %D/wyvern/conf/wyvern.conf-dist; then rm -f %D/wyvern/conf/wyvern.conf; fi +wyvern/conf/wyvern.conf-dist +@exec [ ! -f %B/wyvern.conf ] && cp %B/%f %B/wyvern.conf +@unexec if cmp -s %D/wyvern/conf/wyvern.conf.ja %D/wyvern/conf/wyvern.conf.ja-dist; then rm -f %D/wyvern/conf/wyvern.conf.ja; fi +wyvern/conf/wyvern.conf.ja-dist +@exec [ ! -f %B/wyvern.conf.ja ] && cp %B/%f %B/wyvern.conf.ja +@unexec if cmp -s %D/wyvern/conf/ssl.cnf %D/wyvern/conf/ssl.cnf-dist; then rm -f %D/wyvern/conf/ssl.cnf; fi +wyvern/conf/ssl.cnf-dist +@exec [ ! -f %B/ssl.cnf ] && cp %B/%f %B/ssl.cnf +wyvern/docs/AUTHORS +wyvern/docs/ChangeLog +wyvern/docs/LICENSE +wyvern/docs/LICENSE.en +wyvern/docs/NEWS +wyvern/docs/README +wyvern/docs/README.en +wyvern/docs/README.module +wyvern/docs/README.module.en +wyvern/docs/TODO +@unexec if cmp -s %D/wyvern/etc/.admin_passwd %D/wyvern/etc/.admin_passwd-dist; then rm -f %D/wyvern/etc/.admin_passwd; fi +wyvern/etc/.admin_passwd-dist +@exec [ ! -f %B/.admin_passwd ] && cp %B/%f %B/.admin_passwd +@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 +wyvern/icons/a.gif +wyvern/icons/alert.black.gif +wyvern/icons/alert.red.gif +wyvern/icons/ball.blue.gif +wyvern/icons/ball.gray.gif +wyvern/icons/ball.green.gif +wyvern/icons/ball.orange.gif +wyvern/icons/ball.pink.gif +wyvern/icons/ball.purple.gif +wyvern/icons/ball.red.gif +wyvern/icons/ball.white.gif +wyvern/icons/ball.yellow.gif +wyvern/icons/binary.gif +wyvern/icons/binhex.gif +wyvern/icons/bomb.gif +wyvern/icons/box.gif +wyvern/icons/broken.gif +wyvern/icons/c.gif +wyvern/icons/comp.gray.gif +wyvern/icons/compressed.gif +wyvern/icons/dir.gif +wyvern/icons/dvi.gif +wyvern/icons/f.gif +wyvern/icons/folder.gif +wyvern/icons/folder.open.gif +wyvern/icons/folder.sec.gif +wyvern/icons/generic.gif +wyvern/icons/generic.red.gif +wyvern/icons/generic.sec.gif +wyvern/icons/image1.gif +wyvern/icons/image2.gif +wyvern/icons/index.gif +wyvern/icons/layout.gif +wyvern/icons/link.gif +wyvern/icons/movie.gif +wyvern/icons/p.gif +wyvern/icons/patch.gif +wyvern/icons/pdf.gif +wyvern/icons/portal.gif +wyvern/icons/ps.gif +wyvern/icons/quill.gif +wyvern/icons/screw.gif +wyvern/icons/script.gif +wyvern/icons/sound1.gif +wyvern/icons/sound2.gif +wyvern/icons/sphere2.gif +wyvern/icons/tar.gif +wyvern/icons/tex.gif +wyvern/icons/text.gif +wyvern/icons/transfer.gif +wyvern/icons/unknown.gif +wyvern/icons/uuencoded.gif +wyvern/images/wyvern-logo.jpg +wyvern/images/wyvern-logo2.jpg +wyvern/images/wyvern-logo3.jpg +wyvern/manual/Wyvern-Logo.jpg +wyvern/manual/flame02.jpg +wyvern/manual/wyvern.css +wyvern/manual/wyvern.html +wyvern/manual/contents.html +wyvern/manual/introduction.html +wyvern/manual/features.html +wyvern/manual/install.html +wyvern/manual/setup.html +wyvern/manual/howto.html +wyvern/manual/cgi.html +wyvern/manual/ssi.html +wyvern/manual/authentication.html +wyvern/manual/access.html +wyvern/manual/admin-tools.html +wyvern/manual/ssl.html +wyvern/manual/roaming.html +wyvern/manual/logformat.html +wyvern/manual/copyright.html +wyvern/manual/license.html +wyvern/manual/conclusion.html +wyvern/manual/bibliography.html +wyvern/manual/acknowledgement.html +wyvern/manual/faq.html +wyvern/manual/index.html +wyvern/modules/log.mod +wyvern/modules/cgi.mod +wyvern/modules/ssi.mod +wyvern/modules/auth.mod +wyvern/modules/access.mod +wyvern/modules/dir.mod +wyvern/modules/ident.mod +wyvern/modules/roaming.mod +wyvern/modules/admin.mod +wyvern/modules/newlog.mod +wyvern/modules/moredir.mod +wyvern/modules/newdir.mod +wyvern/samples/dot.waccess +wyvern/samples/dot.wpasswd +wyvern/samples/hosts.allow +wyvern/samples/hosts.deny +wyvern/style/default.css +wyvern/style/wyvern.css +wyvern/sbin/wyvern +wyvern/sbin/wyvernctl +@comment @dirrm wyvern/admin +@comment @dirrm wyvern/bin +@comment @dirrm wyvern/cgi-bin +@comment @dirrm wyvern/conf +@comment @dirrm wyvern/docs +@comment @dirrm wyvern/etc +@comment @dirrm wyvern/htdocs +@comment @dirrm wyvern/icons +@comment @dirrm wyvern/images +@comment @dirrm wyvern/manual +@comment @dirrm wyvern/modules +@comment @dirrm wyvern/samples +@comment @dirrm wyvern/sbin +@comment @dirrm wyvern/style +@comment @dirrm wyvern +@unexec find %D/wyvern -type d | sort -r | xargs rmdir || true |