[arch-commits] Commit in osiris/trunk (PKGBUILD osiris.install)
Sergej Pupykin
spupykin at archlinux.org
Tue Feb 10 17:50:27 UTC 2015
Date: Tuesday, February 10, 2015 @ 18:50:26
Author: spupykin
Revision: 127527
upgpkg: osiris 4.2.3-8
upd
Modified:
osiris/trunk/PKGBUILD
osiris/trunk/osiris.install
----------------+
PKGBUILD | 7 ++++---
osiris.install | 9 ++-------
2 files changed, 6 insertions(+), 10 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2015-02-10 17:46:22 UTC (rev 127526)
+++ PKGBUILD 2015-02-10 17:50:26 UTC (rev 127527)
@@ -4,15 +4,16 @@
pkgname=osiris
pkgver=4.2.3
-pkgrel=7
+pkgrel=8
pkgdesc="A file integrity management system"
arch=('i686' 'x86_64')
-url="http://osiris.shmoo.com/"
+url="https://launchpad.net/osiris"
license=('custom')
depends=('openssl' 'readline')
install=$pkgname.install
#source=(http://osiris.shmoo.com/data/osiris-$pkgver.tar.gz
-source=(http://arch.p5n.pp.ru/~sergej/dl/2011/osiris-$pkgver.tar.gz
+#source=(http://arch.p5n.pp.ru/~sergej/dl/2011/osiris-$pkgver.tar.gz
+source=(https://launchpad.net/osiris/main/$pkgver/+download/osiris-$pkgver.tar.gz
osirismd.service
osirisd.service)
md5sums=('1951c7dc0fe729af9ffaf58910340d12'
Modified: osiris.install
===================================================================
--- osiris.install 2015-02-10 17:46:22 UTC (rev 127526)
+++ osiris.install 2015-02-10 17:50:26 UTC (rev 127527)
@@ -1,17 +1,12 @@
post_install() {
if [ ! `grep osiris etc/group` ]; then
- groupadd -g 18 osiris &>/dev/null;
+ groupadd -r -g 18 osiris &>/dev/null;
fi
id osiris &>/dev/null || \
- useradd -u 18 -g osiris -d /var/lib/osiris -s /bin/false osiris
+ useradd -r -u 18 -g osiris -d /var/lib/osiris -s /bin/false osiris
}
post_upgrade() {
post_install $1
}
-
-pre_remove() {
- userdel osiris &> /dev/null
- groupdel osiris &> /dev/null
-}
More information about the arch-commits
mailing list