aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-03-20 08:56:05 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-03-20 08:56:05 +0000
commit74cc72c197889381bccc35d809de73e4372c64ad (patch)
treecbb912a58f5a0626145b3829c27806b2fe385031
parent6277138938cfe1935fb6d189e19860874d9fb903 (diff)
downloadaports-74cc72c197889381bccc35d809de73e4372c64ad.tar.bz2
aports-74cc72c197889381bccc35d809de73e4372c64ad.tar.xz
extra/snort: ignore if snort user already exist
-rw-r--r--extra/snort/APKBUILD4
-rw-r--r--extra/snort/snort.pre-install1
2 files changed, 3 insertions, 2 deletions
diff --git a/extra/snort/APKBUILD b/extra/snort/APKBUILD
index 14098189cf..e51c04e6f9 100644
--- a/extra/snort/APKBUILD
+++ b/extra/snort/APKBUILD
@@ -1,7 +1,7 @@
# Contributor: Michael Mason <ms13sp@gmail.com>
pkgname=snort
pkgver=2.8.3.2
-pkgrel=0
+pkgrel=1
pkgdesc="An open source network intrusion prevention and detection system"
url="http://www.snort.org/"
license="GPL"
@@ -34,4 +34,4 @@ build() {
md5sums="f75547da33446ddb4ca07eefd9ce31dc snort-2.8.3.2.tar.gz
b3207150805e7b948d958c6f86e70a5b snort.initd
446f8d2b3435b8a6be738da978670605 snort.confd
-fc0cd41b3f16781cdbe6e5d7e3185892 snort.pre-install"
+b9473b349cc9d21faf7b91b591f497d6 snort.pre-install"
diff --git a/extra/snort/snort.pre-install b/extra/snort/snort.pre-install
index c865dc0790..e1555163a7 100644
--- a/extra/snort/snort.pre-install
+++ b/extra/snort/snort.pre-install
@@ -1,3 +1,4 @@
#!/bin/sh
adduser -h /var/log/snort -s /bin/false -D snort 2>/dev/null
+exit 0