bitlbee: only create /run/bitlbee on service, use make_dirs= for
/var/lib/bitlbee
This commit is contained in:
parent
4f98732598
commit
b86875c2f5
2 changed files with 9 additions and 8 deletions
|
@ -1,6 +1,5 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
set -e
|
set -e
|
||||||
mkdir -p /var/lib/bitlbee /run/bitlbee
|
install -d -m0755 -o bitlbee -g bitlbee /run/bitlbee
|
||||||
chown bitlbee:bitlbee /var/lib/bitlbee /run/bitlbee
|
|
||||||
[ -r conf ] && . ./conf
|
[ -r conf ] && . ./conf
|
||||||
exec chpst -u bitlbee:bitlbee bitlbee -n ${OPTS:=-F}
|
exec chpst -u bitlbee:bitlbee bitlbee -n ${OPTS:=-F}
|
||||||
|
|
|
@ -1,29 +1,31 @@
|
||||||
# Template file for 'bitlbee'
|
# Template file for 'bitlbee'
|
||||||
pkgname=bitlbee
|
pkgname=bitlbee
|
||||||
version=3.5.1
|
version=3.5.1
|
||||||
revision=6
|
revision=7
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--etcdir=/etc/bitlbee --sbindir=/usr/bin
|
configure_args="--etcdir=/etc/bitlbee --sbindir=/usr/bin
|
||||||
--pidfile=/run/${pkgname}/${pkgname}.pid
|
--pidfile=/run/${pkgname}/${pkgname}.pid
|
||||||
--ipcsocket=/run/${pkgname}/${pkgname}.sock
|
--ipcsocket=/run/${pkgname}/${pkgname}.sock
|
||||||
--ssl=openssl --strip=0 --otr=plugin --skype=plugin
|
--ssl=openssl --strip=0 --otr=plugin --skype=plugin
|
||||||
$(vopt_if purple --purple=1 --purple=0)"
|
$(vopt_if purple --purple=1 --purple=0)"
|
||||||
|
make_install_args="install-etc"
|
||||||
hostmakedepends="pkg-config asciidoc"
|
hostmakedepends="pkg-config asciidoc"
|
||||||
makedepends="libgcrypt-devel libotr-devel libressl-devel libglib-devel
|
makedepends="libgcrypt-devel libotr-devel libressl-devel libglib-devel
|
||||||
$(vopt_if purple libpurple-devel)"
|
$(vopt_if purple libpurple-devel)"
|
||||||
make_install_args="install-etc"
|
|
||||||
short_desc="Brings instant messaging (XMPP, MSN, Yahoo!, AIM, ICQ, Twitter) to IRC"
|
short_desc="Brings instant messaging (XMPP, MSN, Yahoo!, AIM, ICQ, Twitter) to IRC"
|
||||||
maintainer="Juan RP <xtraeme@voidlinux.org>"
|
maintainer="Juan RP <xtraeme@voidlinux.org>"
|
||||||
license="GPL-2"
|
license="GPL-2.0-or-later"
|
||||||
homepage="http://www.bitlbee.org/"
|
homepage="https://www.bitlbee.org/"
|
||||||
distfiles="http://get.bitlbee.org/src/$pkgname-$version.tar.gz"
|
distfiles="https://get.bitlbee.org/src/${pkgname}-${version}.tar.gz"
|
||||||
checksum=9636d7fd89ebb3756c13a9a3387736ca6d56ccf66ec0580d512f07b21db0fa69
|
checksum=9636d7fd89ebb3756c13a9a3387736ca6d56ccf66ec0580d512f07b21db0fa69
|
||||||
|
|
||||||
build_options="purple"
|
build_options="purple"
|
||||||
desc_option_purple="Build with libpurple support"
|
desc_option_purple="Build with libpurple support"
|
||||||
|
|
||||||
system_accounts="$pkgname"
|
system_accounts="$pkgname"
|
||||||
bitlbee_homedir="/var/lib/$pkgname"
|
bitlbee_homedir="/var/lib/${pkgname}"
|
||||||
|
|
||||||
|
make_dirs="/var/lib/bitlbee 0755 bitlbee bitlbee"
|
||||||
|
|
||||||
conf_files="
|
conf_files="
|
||||||
/etc/${pkgname}/*.txt
|
/etc/${pkgname}/*.txt
|
||||||
|
|
Loading…
Reference in a new issue