diff options
author | ale <ale@FreeBSD.org> | 2005-12-10 22:25:43 +0800 |
---|---|---|
committer | ale <ale@FreeBSD.org> | 2005-12-10 22:25:43 +0800 |
commit | 6b4d8c6329166a31e14c4019c6404a76783a6f56 (patch) | |
tree | d48ba1956be99e3d3a45453781b131fb956f8b5d /www/mod_security | |
parent | 0d1f908f5a76b1c4794fc7716601392d76eb2fd1 (diff) | |
download | freebsd-ports-graphics-6b4d8c6329166a31e14c4019c6404a76783a6f56.tar.gz freebsd-ports-graphics-6b4d8c6329166a31e14c4019c6404a76783a6f56.tar.zst freebsd-ports-graphics-6b4d8c6329166a31e14c4019c6404a76783a6f56.zip |
Update to 1.9.1 release.
Diffstat (limited to 'www/mod_security')
-rw-r--r-- | www/mod_security/Makefile | 23 | ||||
-rw-r--r-- | www/mod_security/distinfo | 5 | ||||
-rw-r--r-- | www/mod_security/pkg-plist | 8 |
3 files changed, 12 insertions, 24 deletions
diff --git a/www/mod_security/Makefile b/www/mod_security/Makefile index 5848dd7cc96..086089a08c4 100644 --- a/www/mod_security/Makefile +++ b/www/mod_security/Makefile @@ -6,39 +6,32 @@ # PORTNAME= mod_security -PORTVERSION= 1.8.7 +PORTVERSION= 1.9.1 CATEGORIES= www security MASTER_SITES= http://www.modsecurity.org/download/ -DISTNAME= ${PORTNAME:S/_//}-${PORTVERSION} +DISTNAME= ${PORTNAME:S/_//}-apache-${PORTVERSION} MAINTAINER= ale@FreeBSD.org COMMENT= An intrusion detection and prevention engine -USE_APACHE= yes +USE_APACHE= 1.3+ .include <bsd.port.pre.mk> -.if exists(${LOCALBASE}/include/apache2/httpd.h) -WITH_APACHE2= yes -.endif - -.if defined(WITH_APACHE2) +.if ${APACHE_VERSION} > 13 APWRKSRC?= ${WRKSRC}/apache2 -PLIST_SUB= APACHE=apache2 -SO= la .else APWRKSRC?= ${WRKSRC}/apache1 -PLIST_SUB= APACHE=apache -SO= so .endif -DOCS= CHANGES INSTALL LICENSE README modsecurity-manual.pdf +DOCS= CHANGES INSTALL LICENSE README doc/modsecurity-apache-manual-1.9.pdf +PORTDOCS= * do-build: - @cd ${APWRKSRC} && ${APXS} -c mod_security.c + @cd ${APWRKSRC} && ${APXS} -c ${MODULENAME}.c do-install: - ${APXS} -i -a -n security ${APWRKSRC}/mod_security.${SO} + ${APXS} -i -a -n ${SHORTMODNAME} ${APWRKSRC}/${MODULENAME}.${AP_BUILDEXT} @${MKDIR} ${EXAMPLESDIR} @${INSTALL_DATA} ${WRKSRC}/httpd.conf.example-* ${EXAMPLESDIR} .if !defined(NOPORTDOCS) diff --git a/www/mod_security/distinfo b/www/mod_security/distinfo index 1208afb49ad..84d5bb7f56b 100644 --- a/www/mod_security/distinfo +++ b/www/mod_security/distinfo @@ -1,2 +1,3 @@ -MD5 (modsecurity-1.8.7.tar.gz) = 0dd48656e451c711358c097dc80e0369 -SIZE (modsecurity-1.8.7.tar.gz) = 313004 +MD5 (modsecurity-apache-1.9.1.tar.gz) = d648ba26b1dba708a06344072bea984c +SHA256 (modsecurity-apache-1.9.1.tar.gz) = b8ef27d4bdfa652884217592c1c17d31a78a1b97978a9d9e2b7dcdf6e969cd6b +SIZE (modsecurity-apache-1.9.1.tar.gz) = 395659 diff --git a/www/mod_security/pkg-plist b/www/mod_security/pkg-plist index c0bd7e7cb21..ee753404335 100644 --- a/www/mod_security/pkg-plist +++ b/www/mod_security/pkg-plist @@ -1,11 +1,5 @@ -libexec/%%APACHE%%/mod_security.so +%%APACHEMODDIR%%/%%AP_MODULE%% @exec %D/sbin/apxs -e -a -n security %D/%F @unexec %D/sbin/apxs -e -A -n security %D/%F -%%PORTDOCS%%%%DOCSDIR%%/CHANGES -%%PORTDOCS%%%%DOCSDIR%%/INSTALL -%%PORTDOCS%%%%DOCSDIR%%/LICENSE -%%PORTDOCS%%%%DOCSDIR%%/README -%%PORTDOCS%%%%DOCSDIR%%/modsecurity-manual.pdf %%EXAMPLESDIR%%/httpd.conf.example-minimal -%%PORTDOCS%%@dirrm %%DOCSDIR%% @dirrm %%EXAMPLESDIR%% |