[arch-commits] Commit in snort/repos (3 files)
Hugo Doria
hugo at archlinux.org
Thu Jul 24 16:28:37 UTC 2008
Date: Thursday, July 24, 2008 @ 12:28:37
Author: hugo
Revision: 6478
Merged revisions 5490-6477 via svnmerge from
svn+ssh://hugo@archlinux.org/home/svn-packages/snort/trunk
........
r6477 | hugo | 2008-07-24 13:28:08 -0300 (Thu, 24 Jul 2008) | 2 lines
upgpkg: snort 2.8.2.1-7
adding UID/GID
........
Modified:
snort/repos/extra-i686/ (properties)
snort/repos/extra-i686/PKGBUILD
snort/repos/extra-i686/snort.install
---------------+
PKGBUILD | 2 +-
snort.install | 25 +++++++++----------------
2 files changed, 10 insertions(+), 17 deletions(-)
Property changes on: snort/repos/extra-i686
___________________________________________________________________
Name: svnmerge-integrated
- /snort/trunk:1-5489
+ /snort/trunk:1-6477
Modified: extra-i686/PKGBUILD
===================================================================
--- extra-i686/PKGBUILD 2008-07-24 16:28:08 UTC (rev 6477)
+++ extra-i686/PKGBUILD 2008-07-24 16:28:37 UTC (rev 6478)
@@ -6,7 +6,7 @@
pkgname=snort
pkgver=2.8.2.1
-pkgrel=6
+pkgrel=7
pkgdesc="A lightweight network intrusion detection system"
arch=('i686' 'x86_64')
license=('GPL')
Modified: extra-i686/snort.install
===================================================================
--- extra-i686/snort.install 2008-07-24 16:28:08 UTC (rev 6477)
+++ extra-i686/snort.install 2008-07-24 16:28:37 UTC (rev 6478)
@@ -1,15 +1,17 @@
post_install() {
- getent group snort >/dev/null || usr/sbin/groupadd snort
- getent passwd snort >/dev/null || usr/sbin/useradd -c 'Snort user' -g snort -d /var/log/snort -s /bin/false snort
+ getent group snort >/dev/null || usr/sbin/groupadd -g 29 snort
+ getent passwd snort >/dev/null || usr/sbin/useradd -c 'Snort user' -u 29 -g snort -d /var/log/snort -s /bin/false snort
usr/bin/passwd -l snort &>/dev/null
[ -f var/log/snort/alert ] || : >var/log/snort/alert
chown snort.snort var/log/snort/alert
-
- echo
- echo ">>> You have to edit the HOME_NET variable in the /etc/snort/snort.conf \
-file to reflect your local network."
- echo ">>> If you do not change it, snort may not work."
+
+cat << _EOF
+
+>>> You have to edit the HOME_NET variable in the /etc/snort/snort.conf file to reflect your local network.
+>>> If you do not change it, snort may not work.
+
+_EOF
}
post_upgrade() {
@@ -21,13 +23,4 @@
usr/sbin/groupdel snort &>/dev/null
}
-post_remove() {
- /bin/true
-}
-
-op=$1
-shift
-
-$op $*
-
# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list