diff options
author | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2013-11-29 20:44:36 -0200 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2013-11-29 20:44:36 -0200 |
commit | 88dd84fa84eb76705244e9bf6f2fb68a002a83b8 (patch) | |
tree | 1f40216eeae3b3b73a7c0ae5f3439d9064b69197 /nonprism | |
parent | aa2b2d4b2cc268803b3bbcbf19566d22b0fe01ea (diff) | |
download | abslibre-88dd84fa84eb76705244e9bf6f2fb68a002a83b8.tar.gz abslibre-88dd84fa84eb76705244e9bf6f2fb68a002a83b8.tar.bz2 abslibre-88dd84fa84eb76705244e9bf6f2fb68a002a83b8.zip |
bitlbee-libre-nonprism-3.2.1-1: updating version
Diffstat (limited to 'nonprism')
-rw-r--r-- | nonprism/bitlbee-libre-nonprism/PKGBUILD | 11 | ||||
-rw-r--r-- | nonprism/bitlbee-libre-nonprism/bitlbee.install | 21 | ||||
-rw-r--r-- | nonprism/bitlbee-libre-nonprism/xinetd | 2 |
3 files changed, 20 insertions, 14 deletions
diff --git a/nonprism/bitlbee-libre-nonprism/PKGBUILD b/nonprism/bitlbee-libre-nonprism/PKGBUILD index e48667d52..02418359a 100644 --- a/nonprism/bitlbee-libre-nonprism/PKGBUILD +++ b/nonprism/bitlbee-libre-nonprism/PKGBUILD @@ -1,4 +1,4 @@ -# $Id$ +# $Id: PKGBUILD 200603 2013-11-29 19:17:58Z dreisner $ # Contributor: FUBAR <mrfubar@gmail.com> # Contributor: simo <simo@archlinux.org> @@ -10,8 +10,8 @@ _pkgname=bitlbee pkgname=bitlbee-libre-nonprism -pkgver=3.2 -pkgrel=3 +pkgver=3.2.1 +pkgrel=1 pkgdesc='Brings XMPP to IRC, without support for unsafe and dangerous for privacy protocols' url='http://www.bitlbee.org/' license=('GPL') @@ -26,8 +26,8 @@ replaces=("$_pkgname" "$_pkgname-libre" "$_pkgname-coherence") source=("http://get.bitlbee.org/src/${_pkgname}-${pkgver}.tar.gz" 'xinetd' 'bitlbee.tmpfiles') -sha1sums=('21e17f082c776566429603b1e8c966983a75ac9e' - 'ec1a3efff09b9fc3d3e52560d8cdbe23186c819f' +sha1sums=('954471ab87206826c072f31b3def40a1be5a78f5' + '5e0af27ba9cc4fe455e3381c75fc49a9326e2f17' '3695ed2fe22436c4d0fc3ead829f7d1f89bc491c') backup=('etc/bitlbee/bitlbee.conf' 'etc/bitlbee/motd.txt' @@ -49,7 +49,6 @@ build() { --oscar=0 \ --yahoo=0 \ --twitter=0 \ - --purple=0 \ --ssl=gnutls \ --strip=0 \ --otr=plugin \ diff --git a/nonprism/bitlbee-libre-nonprism/bitlbee.install b/nonprism/bitlbee-libre-nonprism/bitlbee.install index aa5a81a70..c8a8f93a1 100644 --- a/nonprism/bitlbee-libre-nonprism/bitlbee.install +++ b/nonprism/bitlbee-libre-nonprism/bitlbee.install @@ -1,15 +1,22 @@ post_install() { - getent group bitlbee &>/dev/null || groupadd -r -g 65 bitlbee >/dev/null - getent passwd bitlbee &>/dev/null || useradd -r -u 65 -g bitlbee -d /var/lib/bitlbee -s /bin/false -c bitlbee bitlbee >/dev/null - systemd-tmpfiles --create bitlbee.conf + if ! getent group bitlbee &>/dev/null; then + groupadd -r -g 65 bitlbee >/dev/null + fi + if ! getent passwd bitlbee &>/dev/null; then + useradd -r -u 65 -g bitlbee -d /var/lib/bitlbee -s /bin/false -c bitlbee bitlbee >/dev/null + fi + systemd-tmpfiles --create bitlbee.conf } post_upgrade() { - post_install + post_install } post_remove() { - getent passwd bitlbee &>/dev/null && userdel bitlbee >/dev/null - getent group bitlbee &>/dev/null && groupdel bitlbee >/dev/null - true + if getent passwd bitlbee &>/dev/null; then + userdel bitlbee >/dev/null + fi + if getent group bitlbee &>/dev/null; then + groupdel bitlbee >/dev/null + fi } diff --git a/nonprism/bitlbee-libre-nonprism/xinetd b/nonprism/bitlbee-libre-nonprism/xinetd index 68d5663b3..d671a8cfc 100644 --- a/nonprism/bitlbee-libre-nonprism/xinetd +++ b/nonprism/bitlbee-libre-nonprism/xinetd @@ -6,7 +6,7 @@ service bitlbee wait = no user = bitlbee group = bitlbee - server = /usr/bin/bitlbee + server = /usr/sbin/bitlbee port = 6667 disable = yes } |