Import of pkgsrc-2014Q1

This commit is contained in:
2014-04-17 16:38:45 +02:00
parent 785076ae39
commit 9a8c06dafb
19365 changed files with 828089 additions and 278039 deletions

View File

@@ -1,18 +1,18 @@
# $NetBSD: Makefile,v 1.24 2013/02/06 23:23:34 jperkin Exp $
# $NetBSD: Makefile,v 1.29 2014/02/12 23:18:31 tron Exp $
DISTNAME= modsecurity-apache_2.5.13
DISTNAME= modsecurity-apache_2.7.7
PKGNAME= ${APACHE_PKG_PREFIX}-${DISTNAME:S/apache_//}
PKGREVISION= 5
PKGREVISION= 1
CATEGORIES= www security
MASTER_SITES= http://www.modsecurity.org/download/
LICENSE= gnu-gpl-v2
MASTER_SITES= https://www.modsecurity.org/tarball/${PKGVERSION_NOREV}/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.modsecurity.org/
COMMENT= Intrusion detection and prevention engine for web applications
LICENSE= apache-2.0
APACHE_MODULE= yes
PKG_APACHE_ACCEPTED= apache22
PKG_APACHE_ACCEPTED= apache22 apache24
USE_APR= yes
USE_LANGUAGES= c++ c
@@ -22,7 +22,7 @@ USE_LANGUAGES= c++ c
GNU_CONFIGURE= YES
USE_TOOLS+= pax
USE_LIBTOOL= yes
WRKSRC= ${WRKDIR}/${DISTNAME}/apache2
BUILD_DIRS= apache2
CONFIGURE_ARGS+= --with-apxs=${APXS}
CONFIGURE_ARGS+= --with-pcre=${BUILDLINK_PREFIX.pcre}
@@ -32,22 +32,19 @@ CONFIGURE_ARGS+= --with-apr=${BUILDLINK_PREFIX.apr}
CONFIGURE_ARGS+= --with-apu=${BUILDLINK_PREFIX.apr-util}
INSTALLATION_DIRS+= lib/httpd
INSTALL_ENV+= APACHEPREFIX=${BUILDLINK_PREFIX.apache}
INSTALL_ENV+= DESTDIR=${DESTDIR}
EGDIR= share/examples/ap-modsecurity
DOCDIR= share/doc/ap-modsecurity
INSTALLATION_DIRS+= ${EGDIR} ${DOCDIR}
CONF_FILES= ${PREFIX}/${EGDIR}/modsecurity.conf-minimal \
CONF_FILES= ${PREFIX}/${EGDIR}/modsecurity.conf-recommended \
${PKG_SYSCONFDIR}/httpd/modsecurity.conf
BUILDLINK_API_DEPENDS.apache+= apache>=2.0.59nb2
post-install:
${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/modsecurity.conf-minimal \
${RM} -f ${DESTDIR}${PREFIX}/lib/mod_security2.so
${INSTALL_DATA} ${WRKSRC}/modsecurity.conf-recommended \
${DESTDIR}${PREFIX}/${EGDIR}
cd ${WRKDIR}/${DISTNAME}/doc && \
cd ${WRKSRC}/doc && \
pax -rw . ${DESTDIR}${PREFIX}/${DOCDIR}
.include "../../textproc/libxml2/buildlink3.mk"

View File

@@ -1,33 +1,4 @@
@comment $NetBSD: PLIST,v 1.7 2011/03/19 21:16:27 dholland Exp $
@comment $NetBSD: PLIST,v 1.8 2014/02/06 08:17:42 obache Exp $
lib/httpd/mod_security2.so
share/doc/ap-modsecurity/apache_request_cycle-modsecurity.jpg
share/doc/ap-modsecurity/breach-logo-small.gif
share/doc/ap-modsecurity/html-multipage/actions.html
share/doc/ap-modsecurity/html-multipage/apache_request_cycle-modsecurity.jpg
share/doc/ap-modsecurity/html-multipage/ar01s02.html
share/doc/ap-modsecurity/html-multipage/ar01s10.html
share/doc/ap-modsecurity/html-multipage/ar01s11.html
share/doc/ap-modsecurity/html-multipage/ar01s12.html
share/doc/ap-modsecurity/html-multipage/breach-logo-small.gif
share/doc/ap-modsecurity/html-multipage/configuration-directives.html
share/doc/ap-modsecurity/html-multipage/index.html
share/doc/ap-modsecurity/html-multipage/installation.html
share/doc/ap-modsecurity/html-multipage/introduction.html
share/doc/ap-modsecurity/html-multipage/modsecurity-reference.css
share/doc/ap-modsecurity/html-multipage/modsecurity.gif
share/doc/ap-modsecurity/html-multipage/operators.html
share/doc/ap-modsecurity/html-multipage/processing-phases.html
share/doc/ap-modsecurity/html-multipage/transformation-functions.html
share/doc/ap-modsecurity/html-multipage/variables.html
share/doc/ap-modsecurity/index.html
share/doc/ap-modsecurity/migration-matrix.html
share/doc/ap-modsecurity/migration-matrix.xml
share/doc/ap-modsecurity/modsecurity-reference.css
share/doc/ap-modsecurity/modsecurity.gif
share/doc/ap-modsecurity/modsecurity2-apache-reference.html
share/doc/ap-modsecurity/modsecurity2-apache-reference.pdf
share/doc/ap-modsecurity/modsecurity2-apache-reference.xml
share/doc/ap-modsecurity/modsecurity2-data-formats.html
share/doc/ap-modsecurity/modsecurity2-data-formats.pdf
share/doc/ap-modsecurity/modsecurity2-data-formats.xml
share/examples/ap-modsecurity/modsecurity.conf-minimal
share/doc/ap-modsecurity/README.txt
share/examples/ap-modsecurity/modsecurity.conf-recommended

View File

@@ -1,6 +1,5 @@
$NetBSD: distinfo,v 1.7 2011/03/19 21:18:06 dholland Exp $
$NetBSD: distinfo,v 1.8 2014/02/06 08:17:42 obache Exp $
SHA1 (modsecurity-apache_2.5.13.tar.gz) = dff3dc2b360aeb4a4feebc94ff3d507a4dfad0cf
RMD160 (modsecurity-apache_2.5.13.tar.gz) = 2e7be42d5a755acc888ef28cf44598cc2540a207
Size (modsecurity-apache_2.5.13.tar.gz) = 1421293 bytes
SHA1 (patch-aa) = 21b8ba084e0a70d4751764433ccb4c09078e057e
SHA1 (modsecurity-apache_2.7.7.tar.gz) = 344c8c102d9800d48bd42eb683cd2ddd7c515be1
RMD160 (modsecurity-apache_2.7.7.tar.gz) = aa6eb85000d8bee86a5ec3cf6a03ac82a9e76dc6
Size (modsecurity-apache_2.7.7.tar.gz) = 1003835 bytes

View File

@@ -1,20 +0,0 @@
$NetBSD: patch-aa,v 1.7 2011/03/19 21:18:06 dholland Exp $
destdir support.
--- Makefile.in~ 2011-03-19 20:34:00.000000000 +0000
+++ Makefile.in
@@ -81,8 +81,12 @@ distclean: clean
maintainer-clean: distclean
@rm -rf config config.log config.status configure mod_security2_config.h autoscan.log configure.scan build/libtool.m4 build/config.guess build/config.sub build/ltmain.sh
+# dholland 20110319 apxs -i currently doesn't know how to cope with DESTDIRs,
+# so hack around it. XXX this is abusive and someone should fix apxs.
install-mods: mod_security2.la
- $(INSTALL_MOD_SHARED) mod_security2.la
+ #$(INSTALL_MOD_SHARED) mod_security2.la
+ ${APACHEPREFIX}/share/httpd/build/instdso.sh SH_LIBTOOL='libtool' \
+ mod_security2.la ${DESTDIR}${APACHEPREFIX}/lib/httpd
${MOD_SECURITY2:=.slo}: $(MOD_SECURITY2_H)
${MOD_SECURITY2:=.lo}: $(MOD_SECURITY2_H)