diff options
author | Vasil Dimov <vd@FreeBSD.org> | 2006-12-12 15:29:36 +0000 |
---|---|---|
committer | Vasil Dimov <vd@FreeBSD.org> | 2006-12-12 15:29:36 +0000 |
commit | b4a2be37168bf09f15ebc5b0fec74ddfe68476de (patch) | |
tree | 0af2219aa17a79488ae16beadf7ad01f54c6372f /www/mod_v2h | |
parent | Remove expired leaf ports: (diff) |
Remove expired leaf ports:
2006-12-01 x11/XFree86-aoutlibs: Requires a.out ld.so and support libraries
2006-12-10 x11/linux-XFree86-libs: superseeded by linux-xorg-libs port
2006-12-04 www/mod_v2h: No longer available for download, the website is gone
2006-12-04 www/mod_injection: No longer available for download, the website is gone
Notes
Notes:
svn path=/head/; revision=179572
Diffstat (limited to 'www/mod_v2h')
-rw-r--r-- | www/mod_v2h/Makefile | 53 | ||||
-rw-r--r-- | www/mod_v2h/distinfo | 3 | ||||
-rw-r--r-- | www/mod_v2h/files/add-module | 61 | ||||
-rw-r--r-- | www/mod_v2h/files/files-Makefile | 26 | ||||
-rw-r--r-- | www/mod_v2h/files/patch-mod_v2h.cpp | 10 | ||||
-rw-r--r-- | www/mod_v2h/pkg-descr | 4 | ||||
-rw-r--r-- | www/mod_v2h/pkg-plist | 6 |
7 files changed, 0 insertions, 163 deletions
diff --git a/www/mod_v2h/Makefile b/www/mod_v2h/Makefile deleted file mode 100644 index d1c8d64cd022..000000000000 --- a/www/mod_v2h/Makefile +++ /dev/null @@ -1,53 +0,0 @@ -# ports collection makefile for: mod_v2h -# Date created: 6th May 2002 -# Whom: hikari-chan -# -# $FreeBSD$ -# - -PORTNAME= mod_v2h -PORTVERSION= 2.0 -CATEGORIES= www -MASTER_SITES= http://www.fractal.net/files/ -DISTNAME= mod_v2h - -MAINTAINER= apache@FreeBSD.org -COMMENT= A mass virtual hosting module for Apache with support - -BUILD_DEPENDS= ${LOCALBASE}/sbin/httpd:${PORTSDIR}/www/apache20 \ - ${LOCALBASE}/lib/mysql/libmysqlclient.so:${PORTSDIR}/databases/mysql323-client -RUN_DEPENDS= ${LOCALBASE}/sbin/httpd:${PORTSDIR}/www/apache20 \ - ${LOCALBASE}/lib/mysql/libmysqlclient.so:${PORTSDIR}/databases/mysql323-client - -WRKSRC= ${WRKDIR}/${DISTNAME}-2 -USE_PERL5_RUN= yes - -EXPIRATION_DATE=2006-12-04 -DEPRECATED= No longer available for download, the website is gone - -.include <bsd.port.pre.mk> - -.if ${ARCH} == "amd64" -CFLAGS= -fPIC -.endif - -post-patch: - ${CP} ${FILESDIR}/add-module ${WRKSRC} - ${CP} ${FILESDIR}/files-Makefile ${WRKSRC}/Makefile - ${REINPLACE_CMD} \ - -e 's,@@PERL@@,${PERL},g' \ - -e 's,@@LOCAL@@,${LOCALBASE},g' \ - ${WRKSRC}/Makefile ${WRKSRC}/add-module - -post-install: - @${ECHO_MSG} "" - @${ECHO_MSG} "===> Stripping ${LOCALBASE}/libexec/apache2/mod_v2h.so" - @${STRIP_CMD} ${LOCALBASE}/libexec/apache2/mod_v2h.so - @${ECHO_MSG} "" - @${ECHO_MSG} "---------------------------------------" - @${ECHO_MSG} "Remember to check the documentation on:" - @${ECHO_MSG} "http://www.fractal.net/mod_v2h.tm" - @${ECHO_MSG} "---------------------------------------" - @${ECHO_MSG} "" - -.include <bsd.port.post.mk> diff --git a/www/mod_v2h/distinfo b/www/mod_v2h/distinfo deleted file mode 100644 index 3193737d13ab..000000000000 --- a/www/mod_v2h/distinfo +++ /dev/null @@ -1,3 +0,0 @@ -MD5 (mod_v2h.tar.gz) = 8333be4ea39c043ad0bdfe0950709d64 -SHA256 (mod_v2h.tar.gz) = 8d215895f0d732d581b9ab0deb5d0632f9292b5661e53d809dc7f5d0b06a0829 -SIZE (mod_v2h.tar.gz) = 6870 diff --git a/www/mod_v2h/files/add-module b/www/mod_v2h/files/add-module deleted file mode 100644 index 9f4392eea16c..000000000000 --- a/www/mod_v2h/files/add-module +++ /dev/null @@ -1,61 +0,0 @@ -#!@@PERL@@ - -# This was stolen from the Apache apxs script -$CFG_SYSCONFDIR = "@@LOCAL@@/etc/apache2"; -$CFG_TARGET = "httpd"; -$name = "v2h"; -$dir = "libexec/apache2/"; -$t = "mod_v2h.so"; - -push(@lmd, sprintf("LoadModule %-18s %s", "${name}_module", "$dir$t")); - -open(FP, "<$CFG_SYSCONFDIR/$CFG_TARGET.conf") || die("Couldn't open conf file"); -my $content = join('', <FP>); -close(FP); - -if ($content !~ m|\n#?\s*LoadModule\s+|) { - error("Activation failed for custom $CFG_SYSCONFDIR/$CFG_TARGET.conf file."); - error("At least one `LoadModule' directive already has to exist."); - exit(1); -} - -my $lmd; -my $c = ''; - -foreach $lmd (@lmd) { - if ($content !~ m|\n#?\s*$lmd|) { - $content =~ s|^(.*\n#?\s*LoadModule\s+[^\n]+\n)|$1$c$lmd\n|sg; - } else { - $content =~ s|^(.*\n)#?\s*$lmd[^\n]*\n|$1$c$lmd\n|sg; - } - - $lmd =~ m|LoadModule\s+(.+?)_module.*|; - notice("[activating module `$1' in $CFG_SYSCONFDIR/$CFG_TARGET.conf]"); -} - -my $amd; - -foreach $amd (@amd) { - if ($content !~ m|\n#?\s*$amd|) { - $content =~ s|^(.*\n#?\s*AddModule\s+[^\n]+\n)|$1$c$amd\n|sg; - } else { - $content =~ s|^(.*\n)#?\s*$amd[^\n]*\n|$1$c$amd\n|sg; - } -} - -if (@lmd or @amd) { - if (open(FP, ">$CFG_SYSCONFDIR/$CFG_TARGET.conf.new")) { - print FP $content; - close(FP); - system("cp $CFG_SYSCONFDIR/$CFG_TARGET.conf.new $CFG_SYSCONFDIR/$CFG_TARGET.conf && " . "rm $CFG_SYSCONFDIR/$CFG_TARGET.conf.new"); -} else { - notice("unable to open configuration file"); -} - -} - -sub notice{ - print STDERR "$_[0]\n"; -} - - diff --git a/www/mod_v2h/files/files-Makefile b/www/mod_v2h/files/files-Makefile deleted file mode 100644 index cca2a129c9d9..000000000000 --- a/www/mod_v2h/files/files-Makefile +++ /dev/null @@ -1,26 +0,0 @@ -APXS=${LOCALBASE}/sbin/apxs -PERL=@@PERL@@ -RM=/bin/rm -CP=/bin/cp -MKDIR=/bin/mkdir - -CXX=g++ -CFLAGS+=-shared -EXTRA_INCLUDES+=-I${LOCALBASE}/include/mysql -I${LOCALBASE}/include/apache2 -LIBS+=-lmysqlclient -LDFLAGS+=-L${LOCALBASE}/lib/mysql -Wl,-R,/usr/local/lib/mysql \ --Wl,-soname,mod_v2h.so - -all: - $(CXX) $(CFLAGS) $(EXTRA_INCLUDES) $(LDFLAGS) $(LIBS) -o mod_v2h.so mod_v2h.cpp - -install: - $(CP) mod_v2h.so ${LOCALBASE}/libexec/apache2/mod_v2h.so - $(PERL) add-module - $(MKDIR) -p ${LOCALBASE}/share/doc/mod_v2h - $(CP) README AUTHORS ${LOCALBASE}/share/doc/mod_v2h/ - -clean: - $(RM) -rf .libs - $(RM) -f mod_v2h.la - diff --git a/www/mod_v2h/files/patch-mod_v2h.cpp b/www/mod_v2h/files/patch-mod_v2h.cpp deleted file mode 100644 index 42d67ef3b726..000000000000 --- a/www/mod_v2h/files/patch-mod_v2h.cpp +++ /dev/null @@ -1,10 +0,0 @@ ---- mod_v2h.cpp.orig Sat Apr 9 16:38:04 2005 -+++ mod_v2h.cpp Sat Apr 9 16:38:30 2005 -@@ -199,6 +199,7 @@ - } - }; - -+template <> - class plist<char*> { - protected: - osize_t sz; diff --git a/www/mod_v2h/pkg-descr b/www/mod_v2h/pkg-descr deleted file mode 100644 index 15375ac99e99..000000000000 --- a/www/mod_v2h/pkg-descr +++ /dev/null @@ -1,4 +0,0 @@ -mod_v2h is a mass virtual hosting module for Apache with support -for referencing translation paths from MySQL. mod_v2h also has -the ability to cache translation rules into a memory image for -faster performance. diff --git a/www/mod_v2h/pkg-plist b/www/mod_v2h/pkg-plist deleted file mode 100644 index 9b1ca28a82e3..000000000000 --- a/www/mod_v2h/pkg-plist +++ /dev/null @@ -1,6 +0,0 @@ -@unexec %D/sbin/apxs -e -A -n layout %D/libexec/apache2/mod_v2h.so -libexec/apache2/mod_v2h.so -@exec %D/sbin/apxs -e -A -n layout %D/%f -%%PORTDOCS%%%%DOCSDIR%%/AUTHORS -%%PORTDOCS%%%%DOCSDIR%%/README -%%PORTDOCS%%@dirrm %%DOCSDIR%% |