summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorClement Laforet <clement@FreeBSD.org>2005-12-04 17:21:21 +0000
committerClement Laforet <clement@FreeBSD.org>2005-12-04 17:21:21 +0000
commit88a9762a7b6f4b3495adc0804208f5a740bac0d0 (patch)
treedf85a8333b0a55dba0b4662de3c892882e504cd1 /www
parent- export APACHEMODDIR and APACHEINCLUDEDIR to Makefile-land (diff)
- Update to 0.9.5.3
- Convert to new USE_APACHE - Add SHA256
Notes
Notes: svn path=/head/; revision=150393
Diffstat (limited to 'www')
-rw-r--r--www/mod_cband/Makefile8
-rw-r--r--www/mod_cband/distinfo5
-rw-r--r--www/mod_cband/pkg-plist4
3 files changed, 10 insertions, 7 deletions
diff --git a/www/mod_cband/Makefile b/www/mod_cband/Makefile
index 8bed17b12ed0..d52a65c39365 100644
--- a/www/mod_cband/Makefile
+++ b/www/mod_cband/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= mod_cband
-PORTVERSION= 0.9.5.2
+PORTVERSION= 0.9.5.3
CATEGORIES= www
MASTER_SITES= http://cband.linux.pl/download/
DISTNAME= ${PORTNAME:C/_/-/}-${PORTVERSION}
@@ -16,16 +16,14 @@ DIST_SUBDIR= apache2
MAINTAINER= apache@FreeBSD.org
COMMENT= A per-virtualhost bandwidth limiter module for Apache 2
-WANT_APACHE= 2
+USE_APACHE= 20+
GNU_CONFIGURE= YES
CONFIGURE_ARGS= --with-apxs=${APXS}
ALL_TARGET= #
PORTDOCS= libpatricia.copyright
-.include <bsd.port.pre.mk>
-.include "${PORTSDIR}/www/apache20/Makefile.modules.3rd"
post-install:
@${MKDIR} ${DOCSDIR}
@${INSTALL_DATA} ${WRKSRC}/libpatricia.copyright ${DOCSDIR}
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/www/mod_cband/distinfo b/www/mod_cband/distinfo
index 19168697339b..3ef2ca68219c 100644
--- a/www/mod_cband/distinfo
+++ b/www/mod_cband/distinfo
@@ -1,2 +1,3 @@
-MD5 (apache2/mod-cband-0.9.5.2.tgz) = 655b16a1445d464fe20ecd4b2b082b6f
-SIZE (apache2/mod-cband-0.9.5.2.tgz) = 54085
+MD5 (apache2/mod-cband-0.9.5.3.tgz) = 85f1bbcacae4e0360612cdec8f5005ed
+SHA256 (apache2/mod-cband-0.9.5.3.tgz) = 4e107db396469936237db4c5331cf5aa11b60e4b20e10ab3220874c3de882d4f
+SIZE (apache2/mod-cband-0.9.5.3.tgz) = 54394
diff --git a/www/mod_cband/pkg-plist b/www/mod_cband/pkg-plist
new file mode 100644
index 000000000000..4bf96596ae8a
--- /dev/null
+++ b/www/mod_cband/pkg-plist
@@ -0,0 +1,4 @@
+@unexec %D/sbin/apxs -e -A -n %%AP_NAME%% %D/%%APACHEMODDIR%%/%%AP_MODULE%%
+%%APACHEMODDIR%%/%%AP_MODULE%%
+@exec %D/sbin/apxs -e -A -n %%AP_NAME%% %D/%F
+@unexec echo "Don't forget to remove all mod_cband-related directives in your httpd.conf"