aboutsummaryrefslogtreecommitdiffstats
path: root/www/mod_cband
diff options
context:
space:
mode:
authorclement <clement@FreeBSD.org>2005-12-05 01:21:21 +0800
committerclement <clement@FreeBSD.org>2005-12-05 01:21:21 +0800
commit96ee8b705ed5b53741a7557e109b8489091376a7 (patch)
treeca0caf854297af2aed7b4d1b4f8dca44534b3a46 /www/mod_cband
parentc722bc9dcc5a4c2079c1e7c9038c13f04462aee6 (diff)
downloadfreebsd-ports-graphics-96ee8b705ed5b53741a7557e109b8489091376a7.tar.gz
freebsd-ports-graphics-96ee8b705ed5b53741a7557e109b8489091376a7.tar.zst
freebsd-ports-graphics-96ee8b705ed5b53741a7557e109b8489091376a7.zip
- Update to 0.9.5.3
- Convert to new USE_APACHE - Add SHA256
Diffstat (limited to 'www/mod_cband')
-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 8bed17b12ed..d52a65c3936 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 19168697339..3ef2ca68219 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 00000000000..4bf96596ae8
--- /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"