diff options
author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2009-01-12 22:59:26 +0000 |
---|---|---|
committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2009-01-12 22:59:26 +0000 |
commit | 5981b096444e6457e72b8711782e247842994eb2 (patch) | |
tree | b76786d57f1dbdddc1a3d75a074f81c34da678c8 /security/snort | |
parent | be8ff57cd20cf986c58ca8da022364ec51f57efd (diff) | |
download | ports-5981b096444e6457e72b8711782e247842994eb2.tar.gz ports-5981b096444e6457e72b8711782e247842994eb2.zip |
- Add mysql/postgresql to REQUIRE: in rc.script for correct start order
PR: 127954
Submitted by: Helmut Schneider <jumper99 at gmx dot de>
Approved by: maintainer timeout
Notes
Notes:
svn path=/head/; revision=225892
Diffstat (limited to 'security/snort')
-rw-r--r-- | security/snort/Makefile | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/security/snort/Makefile b/security/snort/Makefile index e59f13bea5e4..c35883120ecf 100644 --- a/security/snort/Makefile +++ b/security/snort/Makefile @@ -7,7 +7,7 @@ PORTNAME= snort PORTVERSION= 2.8.2.2 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= security MASTER_SITES= http://www.snort.org/dl/current/ @@ -152,6 +152,14 @@ pre-configure: @sleep 5 .endif +pre-install: +.if defined(WITH_POSTGRESQL) + @${REINPLACE_CMD} -e '/REQUIRE:/ s|$$| postgresql|' ${WRKDIR}/snort.sh +.endif +.if defined(WITH_MYSQL) + @${REINPLACE_CMD} -e '/REQUIRE:/ s|$$| mysql|' ${WRKDIR}/snort.sh +.endif + post-install: .if !defined(WITHOUT_DYNAMIC) @${LIBTOOL} --finish ${LOCALBASE}/snort/dynamicpreprocessor |