8a29704740
PR: ports/82802 Submitted by: maintainer
38 lines
958 B
Makefile
38 lines
958 B
Makefile
# 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
|
|
PORTVERSION= 0.14.9
|
|
CATEGORIES= security www
|
|
MASTER_SITES= http://snortsms.servangle.net/dnloads/
|
|
|
|
MAINTAINER= snortsms@servangle.net
|
|
COMMENT= A remote management and monitoring interface for Snort based IDS
|
|
|
|
RUN_DEPENDS= ${LOCALBASE}/share/pear/DB.php:${PORTSDIR}/databases/pear-DB \
|
|
${LOCALBASE}/bin/curl:${PORTSDIR}/ftp/curl
|
|
|
|
USE_PHP= mysql pcre pcntl session
|
|
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>
|