summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authoradrianp <adrianp@pkgsrc.org>2007-02-17 21:45:18 +0000
committeradrianp <adrianp@pkgsrc.org>2007-02-17 21:45:18 +0000
commit0e80ca1b0036d9a3cb8321dc053a7036feff053c (patch)
tree040622a97dcb763996ff818e13b5c401acac576b /net
parent9b5f815b2dd6f96942c112a80e6db3d00587537a (diff)
downloadpkgsrc-0e80ca1b0036d9a3cb8321dc053a7036feff053c.tar.gz
Remove the now obsolete Makefile.common
Diffstat (limited to 'net')
-rw-r--r--net/snort/Makefile.common81
1 files changed, 0 insertions, 81 deletions
diff --git a/net/snort/Makefile.common b/net/snort/Makefile.common
deleted file mode 100644
index 49a937f4e11..00000000000
--- a/net/snort/Makefile.common
+++ /dev/null
@@ -1,81 +0,0 @@
-# $NetBSD: Makefile.common,v 1.37 2007/01/07 09:14:06 rillig Exp $
-#
-
-DISTNAME= snort-2.4.5
-CATEGORIES= net security
-MASTER_SITES= http://www.snort.org/dl/current/ \
- ftp://the.wiretapped.net/pub/security/network-intrusion-detection/snort/ \
- ftp://gd.tuwien.ac.at/infosys/security/snort/dl/
-
-MAINTAINER= adrianp@NetBSD.org
-HOMEPAGE= http://www.snort.org/
-
-GNU_CONFIGURE= YES
-
-CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q}
-CONFIGURE_ARGS+= --with-libpcap-includes=${BUILDLINK_PREFIX.libpcap}/include
-CONFIGURE_ARGS+= --with-libpcap-libraries=${BUILDLINK_PREFIX.libpcap}/lib
-
-PKG_SYSCONFSUBDIR= snort
-
-RCD_SCRIPTS= snort
-
-SNORT_USER?= snort
-SNORT_GROUP?= snort
-PKG_GROUPS= ${SNORT_GROUP}
-PKG_USERS= ${SNORT_USER}:${SNORT_GROUP}
-FILES_SUBST+= SNORT_USER=${SNORT_USER:Q} SNORT_GROUP=${SNORT_GROUP:Q}
-
-OWN_DIRS_PERMS= ${VARBASE}/log/snort ${SNORT_USER} ${SNORT_GROUP} 700
-CONF_FILES= ${EGDIR}/snort.conf.default \
- ${PKG_SYSCONFDIR}/snort.conf
-CONF_FILES+= ${EGDIR}/threshold.conf \
- ${PKG_SYSCONFDIR}/threshold.conf
-CONF_FILES+= ${EGDIR}/classification.config \
- ${PKG_SYSCONFDIR}/classification.config
-CONF_FILES+= ${EGDIR}/reference.config \
- ${PKG_SYSCONFDIR}/reference.config
-CONF_FILES+= ${EGDIR}/gen-msg.map \
- ${PKG_SYSCONFDIR}/gen-msg.map
-CONF_FILES+= ${EGDIR}/generators \
- ${PKG_SYSCONFDIR}/generators
-CONF_FILES+= ${EGDIR}/sid \
- ${PKG_SYSCONFDIR}/sid
-CONF_FILES+= ${EGDIR}/sid-msg.map \
- ${PKG_SYSCONFDIR}/sid-msg.map
-CONF_FILES+= ${EGDIR}/unicode.map \
- ${PKG_SYSCONFDIR}/unicode.map
-
-EGDIR= ${PREFIX}/share/examples/snort
-SNORTDIR= ${PREFIX}/share/snort
-
-SUBST_CLASSES+= paths
-SUBST_STAGE.paths= post-patch
-SUBST_MESSAGE.paths= Fixing paths.
-SUBST_FILES.paths= etc/snort.conf src/snort.c
-SUBST_SED.paths= -e "s|@PREFIX@|${PREFIX}|g"
-SUBST_SED.paths+= -e "s|@PKG_SYSCONFDIR@|${PKG_SYSCONFDIR}|g"
-
-post-install:
- @${CP} ${WRKSRC}/etc/snort.conf ${WRKSRC}/etc/snort.conf.default
- ${INSTALL_DATA_DIR} ${EGDIR}
- ${INSTALL_DATA} ${WRKSRC}/etc/*.config \
- ${WRKSRC}/etc/*.map \
- ${WRKSRC}/etc/generators \
- ${WRKSRC}/etc/sid \
- ${WRKSRC}/etc/threshold.conf \
- ${WRKSRC}/etc/snort.conf.default ${EGDIR}/
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/snort
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/snort/schemas
- cd ${WRKSRC}/doc ; \
- for i in `${LS} | ${EGREP} -v "(Makefile|signatures)"` ; do \
- ${INSTALL_DATA} $$i ${PREFIX}/share/doc/snort ; \
- done
- ${INSTALL_MAN} ${WRKSRC}/snort.8 ${PREFIX}/${PKGMANDIR}/man8
- ${INSTALL_DATA} ${WRKSRC}/schemas/create_mysql \
- ${PREFIX}/share/doc/snort/schemas
- ${INSTALL_DATA} ${WRKSRC}/schemas/create_postgresql \
- ${PREFIX}/share/doc/snort/schemas
-
-.include "../../devel/pcre/buildlink3.mk"
-.include "../../net/libpcap/buildlink3.mk"