2005-06-01 22:01:39 +02:00
|
|
|
# New ports collection makefile for: snortsms
|
|
|
|
# Date created: Mon May 28 16:05:01 CST 2005
|
|
|
|
# Whom: J Randolph <snortsms@servangle.net>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= snortsms
|
2006-05-13 05:54:06 +02:00
|
|
|
PORTVERSION= 1.2.2
|
2005-06-01 22:01:39 +02:00
|
|
|
CATEGORIES= security www
|
2005-11-29 12:40:42 +01:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_EXTENDED}
|
|
|
|
MASTER_SITE_SUBDIR= snortsms
|
2005-06-01 22:01:39 +02:00
|
|
|
|
2006-06-10 00:37:22 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2005-06-30 21:28:20 +02:00
|
|
|
COMMENT= A remote management and monitoring interface for Snort based IDS
|
2005-06-01 22:01:39 +02:00
|
|
|
|
|
|
|
RUN_DEPENDS= ${LOCALBASE}/share/pear/DB.php:${PORTSDIR}/databases/pear-DB \
|
|
|
|
${LOCALBASE}/bin/curl:${PORTSDIR}/ftp/curl
|
|
|
|
|
2005-06-30 21:28:20 +02:00
|
|
|
USE_PHP= mysql pcre pcntl session
|
2005-06-01 22:01:39 +02:00
|
|
|
NO_BUILD= yes
|
|
|
|
|
|
|
|
SUB_FILES= pkg-message
|
|
|
|
PKGMESSAGE= ${WRKDIR}/pkg-message
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
# Create directory structure
|
|
|
|
@${MKDIR} ${PREFIX}/www/snortsms
|
|
|
|
# copy files
|
|
|
|
${CP} -R ${WRKSRC}/* ${PREFIX}/www/snortsms
|
|
|
|
${RM} ${PREFIX}/www/snortsms/COPYING
|
|
|
|
# correct permissions
|
|
|
|
${CHMOD} 775 ${PREFIX}/www/snortsms/conf
|
|
|
|
${CHOWN} :${WWWGRP} ${PREFIX}/www/snortsms/conf
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|