ConsoleKit: use simple .owned files for required runtime dirs, bumprev.
This commit is contained in:
parent
f75f98bd99
commit
837769bf96
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'ConsoleKit'
|
# Template file for 'ConsoleKit'
|
||||||
pkgname=ConsoleKit
|
pkgname=ConsoleKit
|
||||||
version=0.4.5
|
version=0.4.5
|
||||||
revision=2
|
revision=3
|
||||||
distfiles="http://www.freedesktop.org/software/$pkgname/dist/$pkgname-$version.tar.bz2"
|
distfiles="http://www.freedesktop.org/software/$pkgname/dist/$pkgname-$version.tar.bz2"
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--enable-docbook-docs --enable-pam-module
|
configure_args="--enable-docbook-docs --enable-pam-module
|
||||||
|
@ -19,7 +19,6 @@ long_desc="
|
||||||
|
|
||||||
systemd_services="console-kit-daemon.service"
|
systemd_services="console-kit-daemon.service"
|
||||||
conf_files="/etc/logrotate.d/ConsoleKit"
|
conf_files="/etc/logrotate.d/ConsoleKit"
|
||||||
keep_empty_dirs=yes
|
|
||||||
subpackages="$pkgname-devel $pkgname-x11"
|
subpackages="$pkgname-devel $pkgname-x11"
|
||||||
|
|
||||||
Add_dependency run glibc
|
Add_dependency run glibc
|
||||||
|
@ -42,13 +41,13 @@ Add_dependency build zlib-devel
|
||||||
|
|
||||||
post_install()
|
post_install()
|
||||||
{
|
{
|
||||||
install -d ${DESTDIR}/usr/lib/ConsoleKit/run-session.d
|
vinstall ${FILESDIR}/pam-foreground-compat.ck 755 \
|
||||||
install -m755 ${FILESDIR}/pam-foreground-compat.ck \
|
usr/lib/${pkgname}/run-session.d
|
||||||
${DESTDIR}/usr/lib/ConsoleKit/run-session.d
|
for f in seat session; do
|
||||||
install -d ${DESTDIR}/etc/ConsoleKit/run-seat.d
|
vmkdir etc/${pkgname}/run-${f}.d
|
||||||
install -d ${DESTDIR}/etc/ConsoleKit/run-session.d
|
touch ${DESTDIR}/etc/${pkgname}/run-${f}.d/.owned
|
||||||
|
done
|
||||||
install -D -m644 ${FILESDIR}/ck.logrotate \
|
vmkdir usr/lib/${pkgname}/run-seat.d
|
||||||
${DESTDIR}/etc/logrotate.d/ConsoleKit
|
touch ${DESTDIR}/usr/lib/${pkgname}/run-seat.d/.owned
|
||||||
rm -rf ${DESTDIR}/var/run
|
vinstall ${FILESDIR}/ck.logrotate 644 etc/logrotate.d ConsoleKit
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue