[arch-commits] Commit in osec/trunk (PKGBUILD osec.install)
Sergej Pupykin
spupykin at archlinux.org
Tue Feb 10 16:41:03 UTC 2015
Date: Tuesday, February 10, 2015 @ 17:41:03
Author: spupykin
Revision: 127499
upgpkg: osec 1.2.5-1
upd
Modified:
osec/trunk/PKGBUILD
osec/trunk/osec.install
--------------+
PKGBUILD | 8 ++++----
osec.install | 13 ++++---------
2 files changed, 8 insertions(+), 13 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2015-02-10 16:40:59 UTC (rev 127498)
+++ PKGBUILD 2015-02-10 16:41:03 UTC (rev 127499)
@@ -3,8 +3,8 @@
# Contributor: Sergej Pupykin <pupykin.s+arch at gmail.com>
pkgname=osec
-pkgver=1.2.3
-pkgrel=3
+pkgver=1.2.5
+pkgrel=1
pkgdesc="lightweight integrity checking system"
arch=(i686 x86_64)
url="http://o-security.sourceforge.net/"
@@ -14,8 +14,8 @@
install=osec.install
backup=(etc/osec/dirs.conf
etc/osec/pipe.conf)
-source=(https://downloads.sourceforge.net/project/o-security/o-security/$pkgver/osec-$pkgver.tar.gz)
-md5sums=('b7f3612e58c7b0ff379a8ee6b79c725c')
+source=(http://downloads.sourceforge.net/project/o-security/o-security/$pkgver/osec-$pkgver.tar.gz)
+md5sums=('34eb5b327affee6717e9cc589e83019f')
build() {
cd $srcdir/$pkgname-$pkgver
Modified: osec.install
===================================================================
--- osec.install 2015-02-10 16:40:59 UTC (rev 127498)
+++ osec.install 2015-02-10 16:41:03 UTC (rev 127499)
@@ -1,16 +1,11 @@
post_install() {
- groupadd osecgroup
- useradd -G osecgroup -d /var/lib/osec osec
- chown -R osec.osecgroup /var/lib/osec
+ groupadd -r osecgroup
+ useradd -r -G osecgroup -d /var/lib/osec osec
+ chown -R osec:osecgroup /var/lib/osec
echo "-- Use osec -D /var/lib/osec -u osec -g osecgroup -f /etc/osec/dirs.conf | osec_reporter"
}
post_upgrade() {
- chown -R osec.osecgroup /var/lib/osec
+ chown -R osec:osecgroup /var/lib/osec
echo "-- Use osec -D /var/lib/osec -u osec -g osecgroup -f /etc/osec/dirs.conf | osec_reporter"
}
-
-post_remove() {
- userdel osec
- groupdel osecgroup
-}
More information about the arch-commits
mailing list