Disable enabling some dbus/socket systemd services by default.

This commit is contained in:
Juan RP 2012-05-27 20:04:01 +02:00
parent 2a7f103564
commit d990e4adf0
13 changed files with 35 additions and 72 deletions

View File

@ -1,11 +1,13 @@
# Template file for 'accountsservice' # Template file for 'accountsservice'
pkgname=accountsservice pkgname=accountsservice
version=0.6.21 version=0.6.21
revision=1
distfiles="http://www.freedesktop.org/software/$pkgname/$pkgname-$version.tar.xz" distfiles="http://www.freedesktop.org/software/$pkgname/$pkgname-$version.tar.xz"
build_style=gnu-configure build_style=gnu-configure
configure_args="--disable-static --with-systemdsystemunitdir=/lib/systemd/system" configure_args="--disable-static --with-systemdsystemunitdir=/lib/systemd/system"
depends="ConsoleKit-x11" depends="ConsoleKit-x11"
makedepends="pkg-config intltool gobject-introspection polkit-devel systemd-devel" makedepends="pkg-config intltool gobject-introspection polkit-devel systemd-devel"
subpackages="$pkgname-devel"
short_desc="D-Bus interfaces for querying and manipulating user account information" short_desc="D-Bus interfaces for querying and manipulating user account information"
maintainer="Juan RP <xtraeme@gmail.com>" maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://cgit.freedesktop.org/accountsservice/" homepage="http://cgit.freedesktop.org/accountsservice/"
@ -16,11 +18,6 @@ long_desc="
querying and manipulating user account information and an implementation querying and manipulating user account information and an implementation
of these interfaces, based on the useradd, usermod and userdel commands." of these interfaces, based on the useradd, usermod and userdel commands."
systemd_services="accounts-daemon.service on"
subpackages="$pkgname-devel"
post_install() { post_install() {
for d in users icons; do for d in users icons; do
vmkdir var/lib/AccountsService/${d} vmkdir var/lib/AccountsService/${d}

View File

@ -1,6 +1,7 @@
# Template file for 'avahi' # Template file for 'avahi'
pkgname=avahi pkgname=avahi
version=0.6.31 version=0.6.31
revision=3
homepage="http://www.avahi.org" homepage="http://www.avahi.org"
distfiles="$homepage/download/avahi-$version.tar.gz" distfiles="$homepage/download/avahi-$version.tar.gz"
build_style=gnu-configure build_style=gnu-configure
@ -10,7 +11,6 @@ configure_args="--disable-qt3 --disable-qt4 --disable-mono --disable-monodoc
--with-avahi-priv-access-group=netdev --with-autoipd-user=avahi --with-avahi-priv-access-group=netdev --with-autoipd-user=avahi
--with-autoipd-group=avahi --with-distro=none --disable-xmltoman --with-autoipd-group=avahi --with-distro=none --disable-xmltoman
--disable-dbm --with-systemdsystemunitdir=/lib/systemd/system" --disable-dbm --with-systemdsystemunitdir=/lib/systemd/system"
revision=2
depends="dbus" depends="dbus"
makedepends="pkg-config intltool libssp-devel dbus-devel libcap-devel libdaemon-devel gdbm-devel expat-devel pygtk-devel dbus-python gtk+3-devel gobject-introspection" makedepends="pkg-config intltool libssp-devel dbus-devel libcap-devel libdaemon-devel gdbm-devel expat-devel pygtk-devel dbus-python gtk+3-devel gobject-introspection"
short_desc="Multicast DNS Service Discovery" short_desc="Multicast DNS Service Discovery"
@ -26,7 +26,7 @@ long_desc="
# Create avahi and netdev system accounts. # Create avahi and netdev system accounts.
system_accounts="avahi netdev" system_accounts="avahi netdev"
systemd_services="avahi-daemon.service on avahi-dnsconfd.service on" systemd_services="avahi-daemon.service on"
conf_files=" conf_files="
/etc/avahi/services/ssh.service /etc/avahi/services/ssh.service
/etc/avahi/services/sftp-ssh.service /etc/avahi/services/sftp-ssh.service
@ -42,5 +42,3 @@ subpackages="$subpackages $pkgname-ui-libs-gtk3"
subpackages="$subpackages $pkgname-ui-libs-devel $pkgname-utils" subpackages="$subpackages $pkgname-ui-libs-devel $pkgname-utils"
subpackages="$subpackages $pkgname-ui-utils $pkgname-python-utils" subpackages="$subpackages $pkgname-ui-utils $pkgname-python-utils"
subpackages="$subpackages $pkgname-python" subpackages="$subpackages $pkgname-python"

View File

@ -1,7 +1,7 @@
# Template file for 'bluez' # Template file for 'bluez'
pkgname=bluez pkgname=bluez
version=4.99 version=4.99
revision=5 revision=6
distfiles="${KERNEL_SITE}/bluetooth/$pkgname-$version.tar.xz" distfiles="${KERNEL_SITE}/bluetooth/$pkgname-$version.tar.xz"
build_style=gnu-configure build_style=gnu-configure
configure_args="--libexecdir=/lib --enable-gstreamer --enable-dund configure_args="--libexecdir=/lib --enable-gstreamer --enable-dund
@ -21,7 +21,6 @@ long_desc="
BlueZ is the official Linux Bluetooth protocol stack. It is an Open Source BlueZ is the official Linux Bluetooth protocol stack. It is an Open Source
project distributed under GNU General Public License (GPL)." project distributed under GNU General Public License (GPL)."
systemd_services="bluetooth.service on"
make_dirs="/var/lib/bluetooth 0755 root root" make_dirs="/var/lib/bluetooth 0755 root root"
conf_files=" conf_files="
/etc/bluetooth/main.conf /etc/bluetooth/main.conf

View File

@ -1,7 +1,7 @@
# Template file for 'colord' # Template file for 'colord'
pkgname=colord pkgname=colord
version=0.1.19 version=0.1.19
revision=2 revision=3
homepage="http://www.freedesktop.org/software/colord" homepage="http://www.freedesktop.org/software/colord"
distfiles="$homepage/releases/$pkgname-$version.tar.xz" distfiles="$homepage/releases/$pkgname-$version.tar.xz"
build_style=gnu-configure build_style=gnu-configure
@ -10,6 +10,8 @@ configure_args="--disable-static --disable-schemas-compile
depends="dbus sane" depends="dbus sane"
makedepends="pkg-config intltool gobject-introspection docbook2x sqlite-devel vala-devel libgudev-devel polkit-devel lcms2-devel libusb-devel dbus-devel libgusb-devel sane-devel" makedepends="pkg-config intltool gobject-introspection docbook2x sqlite-devel vala-devel libgudev-devel polkit-devel lcms2-devel libusb-devel dbus-devel libgusb-devel sane-devel"
fulldepends="shared-color-profiles" fulldepends="shared-color-profiles"
conf_files="/etc/colord.conf"
subpackages="$pkgname-devel"
short_desc="Color daemon" short_desc="Color daemon"
maintainer="Juan RP <xtraeme@gmail.com>" maintainer="Juan RP <xtraeme@gmail.com>"
checksum=ae102b93f1ebd9dc0a9f6787670860fdd12e45e955d268a6ae088b9146e24214 checksum=ae102b93f1ebd9dc0a9f6787670860fdd12e45e955d268a6ae088b9146e24214
@ -27,9 +29,3 @@ long_desc="
colord itself is a system activated daemon called colord. Being system colord itself is a system activated daemon called colord. Being system
activated means that it's only started when the user is using a text mode activated means that it's only started when the user is using a text mode
or graphical tool." or graphical tool."
conf_files="/etc/colord.conf"
subpackages="$pkgname-devel"
systemd_services="colord.service on"

View File

@ -1,6 +1,7 @@
# Template file for 'dbus' # Template file for 'dbus'
pkgname=dbus pkgname=dbus
version=1.4.20 version=1.4.20
revision=1
homepage="http://dbus.freedesktop.org/" homepage="http://dbus.freedesktop.org/"
distfiles="${homepage}/releases/dbus/$pkgname-$version.tar.gz" distfiles="${homepage}/releases/dbus/$pkgname-$version.tar.gz"
build_style=gnu-configure build_style=gnu-configure
@ -9,6 +10,9 @@ configure_args="--disable-selinux --enable-userdb-cache --with-xml=expat
--disable-doxygen-docs --disable-xml-docs --disable-tests --disable-doxygen-docs --disable-xml-docs --disable-tests
--with-systemdsystemunitdir=/lib/systemd/system" --with-systemdsystemunitdir=/lib/systemd/system"
makedepends="pkg-config expat-devel libX11-devel" makedepends="pkg-config expat-devel libX11-devel"
conf_files="/etc/dbus-1/session.conf /etc/dbus-1/system.conf"
subpackages="dbus-devel dbus-libs dbus-x11"
system_accounts="dbus"
short_desc="Message bus system" short_desc="Message bus system"
maintainer="Juan RP <xtraeme@gmail.com>" maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-2" license="GPL-2"
@ -23,9 +27,3 @@ long_desc="
messages are sent using a binary protocol, not using XML. D-BUS also messages are sent using a binary protocol, not using XML. D-BUS also
supports a method call mapping for its messages, but it is not required; supports a method call mapping for its messages, but it is not required;
this makes using the system quite simple." this makes using the system quite simple."
conf_files="/etc/dbus-1/session.conf /etc/dbus-1/system.conf"
subpackages="dbus-devel dbus-libs dbus-x11"
systemd_services="dbus.service off"
system_accounts="dbus"

View File

@ -1,11 +1,13 @@
# Template file for 'dnsmasq' # Template file for 'dnsmasq'
pkgname=dnsmasq pkgname=dnsmasq
version=2.58 version=2.58
revision=3 revision=4
homepage="http://www.thekelleys.org.uk/dnsmasq/doc.html" homepage="http://www.thekelleys.org.uk/dnsmasq/doc.html"
distfiles="http://www.thekelleys.org.uk/$pkgname/$pkgname-$version.tar.gz" distfiles="http://www.thekelleys.org.uk/$pkgname/$pkgname-$version.tar.gz"
depends="libcap libidn dbus" depends="libcap libidn dbus"
makedepends="dbus-devel libcap-devel libidn-devel" makedepends="dbus-devel libcap-devel libidn-devel"
system_accounts="dnsmasq"
conf_files="/etc/dnsmasq.conf /etc/conf.d/dnsmasq"
short_desc="Lightweight, easy to configure DNS forwarder and DHCP server" short_desc="Lightweight, easy to configure DNS forwarder and DHCP server"
maintainer="Juan RP <xtraeme@gmail.com>" maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-2" license="GPL-2"
@ -19,20 +21,12 @@ long_desc="
each host or in a central configuration file. Dnsmasq supports static and each host or in a central configuration file. Dnsmasq supports static and
dynamic DHCP leases and BOOTP/TFTP/PXE for network booting of diskless machines." dynamic DHCP leases and BOOTP/TFTP/PXE for network booting of diskless machines."
system_accounts="dnsmasq" do_build() {
conf_files="/etc/dnsmasq.conf /etc/conf.d/dnsmasq"
systemd_services="dnsmasq.service on"
do_build()
{
echo '#define HAVE_DBUS' >> src/config.h echo '#define HAVE_DBUS' >> src/config.h
make ${makejobs} make ${makejobs}
} }
do_install() do_install() {
{
make PREFIX=/usr DESTDIR=${DESTDIR} install make PREFIX=/usr DESTDIR=${DESTDIR} install
vinstall dnsmasq.conf.example 644 etc dnsmasq.conf vinstall dnsmasq.conf.example 644 etc dnsmasq.conf

View File

@ -1,16 +1,13 @@
# Template file for 'polkit-devel'. # Template file for 'polkit-devel'.
# #
depends="pkg-config gobject-introspection glib-devel expat-devel pam-devel polkit" depends="glib-devel polkit>=$version"
replaces="PolicyKit-devel>=0"
short_desc="${short_desc} (development files)" short_desc="${short_desc} (development files)"
long_desc="${long_desc} long_desc="${long_desc}
This package contains files for development, headers, static libs, etc." This package contains files for development, headers, static libs, etc."
replaces="PolicyKit-devel>=0" do_install() {
do_install()
{
mkdir -p ${DESTDIR}/usr/lib ${DESTDIR}/usr/share mkdir -p ${DESTDIR}/usr/lib ${DESTDIR}/usr/share
mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr
mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib

View File

@ -1,11 +1,13 @@
# Template file for 'polkit' # Template file for 'polkit'
pkgname=polkit pkgname=polkit
version=0.105 version=0.105
revision=2 revision=3
distfiles="http://www.freedesktop.org/software/polkit/releases/$pkgname-$version.tar.gz" distfiles="http://www.freedesktop.org/software/polkit/releases/$pkgname-$version.tar.gz"
build_style=gnu-configure build_style=gnu-configure
configure_args="--disable-static --enable-systemd=yes" configure_args="--disable-static --enable-systemd=yes"
makedepends="pkg-config intltool libxslt docbook-xsl glib-devel expat-devel pam-devel systemd-devel gobject-introspection" makedepends="pkg-config intltool libxslt docbook-xsl glib-devel expat-devel pam-devel systemd-devel gobject-introspection"
replaces="PolicyKit>=0"
subpackages="polkit-devel"
short_desc="Authorization Toolkit" short_desc="Authorization Toolkit"
maintainer="Juan RP <xtraeme@gmail.com>" maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.freedesktop.org/wiki/Software/PolicyKit" homepage="http://www.freedesktop.org/wiki/Software/PolicyKit"
@ -19,14 +21,10 @@ long_desc="
to granting access to privileged operations (like calling the HAL Mount() to granting access to privileged operations (like calling the HAL Mount()
method) for unprivileged (desktop) applications." method) for unprivileged (desktop) applications."
systemd_services="polkitd.service on"
replaces="PolicyKit>=0"
subpackages="polkit-devel"
make_dirs=" make_dirs="
/etc/polkit-1/localauthority 700 root root /etc/polkit-1/localauthority 700 root root
/var/lib/polkit-1 700 root root" /var/lib/polkit-1 700 root root"
post_install() { post_install() {
vinstall ${FILESDIR}/polkit-1.pam 644 etc/pam.d polkit-1 vinstall ${FILESDIR}/polkit-1.pam 644 etc/pam.d polkit-1
vinstall ${FILESDIR}/polkitd.service 644 lib/systemd/system vinstall ${FILESDIR}/polkitd.service 644 lib/systemd/system

View File

@ -1,12 +1,14 @@
# Template file for 'rtkit' # Template file for 'rtkit'
pkgname=rtkit pkgname=rtkit
version=0.10 version=0.10
revision=4 revision=5
homepage="http://git.0pointer.de/?p=rtkit.git" homepage="http://git.0pointer.de/?p=rtkit.git"
distfiles="http://0pointer.de/public/$pkgname-$version.tar.gz" distfiles="http://0pointer.de/public/$pkgname-$version.tar.gz"
build_style=gnu-configure build_style=gnu-configure
configure_args="--with-systemdsystemunitdir=/lib/systemd/system" configure_args="--with-systemdsystemunitdir=/lib/systemd/system"
makedepends="pkg-config dbus-devel libcap-devel" makedepends="pkg-config dbus-devel libcap-devel"
system_accounts="rtkit"
rtkit_homedir="/proc"
short_desc="Realtime Policy and Watchdog Daemon" short_desc="Realtime Policy and Watchdog Daemon"
maintainer="Juan RP <xtraeme@gmail.com>" maintainer="Juan RP <xtraeme@gmail.com>"
license="BSD, GPL-2" license="BSD, GPL-2"
@ -17,13 +19,7 @@ long_desc="
It is intended to be used as a secure mechanism to allow real-time scheduling It is intended to be used as a secure mechanism to allow real-time scheduling
to be used by normal user processes." to be used by normal user processes."
system_accounts="rtkit" post_install() {
rtkit_homedir="/proc"
systemd_services="rtkit-daemon.service on"
post_install()
{
# DBus configuration # DBus configuration
install -d ${DESTDIR}/usr/share/dbus-1/interfaces install -d ${DESTDIR}/usr/share/dbus-1/interfaces
./rtkit-daemon --introspect > \ ./rtkit-daemon --introspect > \

View File

@ -1,13 +1,12 @@
# Template file for 'udisks' # Template file for 'udisks'
pkgname=udisks pkgname=udisks
version=1.0.4 version=1.0.4
revision=7 revision=8
distfiles="http://hal.freedesktop.org/releases/$pkgname-$version.tar.gz" distfiles="http://hal.freedesktop.org/releases/$pkgname-$version.tar.gz"
build_style=gnu-configure build_style=gnu-configure
configure_args="--disable-static --enable-lvm2" configure_args="--disable-static --enable-lvm2"
depends="udev" depends="udev"
makedepends="pkg-config intltool libxslt docbook-xsl device-mapper-devel liblvm2app-devel libparted-devel libatasmart-devel polkit-devel dbus-glib-devel libgudev-devel>=183 sg3_utils-devel" makedepends="pkg-config intltool libxslt docbook-xsl device-mapper-devel liblvm2app-devel libparted-devel libatasmart-devel polkit-devel dbus-glib-devel libgudev-devel>=183 sg3_utils-devel"
systemd_services="udisks.service on"
make_dirs="/var/lib/udisks 0750 root root" make_dirs="/var/lib/udisks 0750 root root"
short_desc="Disk Management Service" short_desc="Disk Management Service"
maintainer="Juan RP <xtraeme@gmail.com>" maintainer="Juan RP <xtraeme@gmail.com>"

View File

@ -1,11 +1,13 @@
# Template file for 'upower' # Template file for 'upower'
pkgname=upower pkgname=upower
version=0.9.16 version=0.9.16
revision=1
homepage="http://upower.freedesktop.org" homepage="http://upower.freedesktop.org"
distfiles="${homepage}/releases/$pkgname-$version.tar.xz" distfiles="${homepage}/releases/$pkgname-$version.tar.xz"
build_style=gnu-configure build_style=gnu-configure
configure_args="--with-backend=linux configure_args="--with-backend=linux --with-systemdsystemunitdir=/lib/systemd/system"
--with-systemdsystemunitdir=/lib/systemd/system" conf_files="/etc/UPower/UPower.conf"
subpackages="upower-devel"
depends="dbus" depends="dbus"
makedepends="pkg-config intltool libxslt docbook-xsl gobject-introspection libusb-devel libgudev-devel dbus-glib-devel polkit-devel" makedepends="pkg-config intltool libxslt docbook-xsl gobject-introspection libusb-devel libgudev-devel dbus-glib-devel polkit-devel"
fulldepends="udev pm-utils" fulldepends="udev pm-utils"
@ -19,10 +21,3 @@ long_desc="
the system can access the org.freedesktop.UPower service via the system the system can access the org.freedesktop.UPower service via the system
message bus. Some operations (such as suspending the system) are restricted message bus. Some operations (such as suspending the system) are restricted
using PolicyKit." using PolicyKit."
systemd_services="upower.service on"
conf_files="/etc/UPower/UPower.conf"
subpackages="upower-devel"

View File

@ -1,13 +1,12 @@
# Template file for 'upower-devel'. # Template file for 'upower-devel'.
# #
depends="pkg-config intltool libxslt docbook-xsl libusb-compat-devel glib-devel libgudev-devel dbus-devel dbus-glib-devel polkit-devel upower" depends="libusb-compat-devel libgudev-devel dbus-glib-devel polkit-devel upower>=$version"
short_desc="${short_desc} - development files" short_desc="${short_desc} - development files"
long_desc="${long_desc} long_desc="${long_desc}
This package contains the files needed for developing applications This package contains the files needed for developing applications
that use UPower." that use UPower."
do_install() do_install()
{ {
mkdir -p ${DESTDIR}/usr/{lib,share} mkdir -p ${DESTDIR}/usr/{lib,share}

View File

@ -1,11 +1,12 @@
# Template file for 'wpa_supplicant' # Template file for 'wpa_supplicant'
pkgname=wpa_supplicant pkgname=wpa_supplicant
version=0.7.3 version=0.7.3
revision=8 revision=9
build_wrksrc=$pkgname build_wrksrc=$pkgname
homepage="http://hostap.epitest.fi" homepage="http://hostap.epitest.fi"
distfiles="$homepage/releases/$pkgname-$version.tar.gz" distfiles="$homepage/releases/$pkgname-$version.tar.gz"
makedepends="libnl3-devel openssl-devel dbus-devel readline-devel" makedepends="libnl3-devel openssl-devel dbus-devel readline-devel"
conf_files="/etc/${pkgname}.conf"
short_desc="WPA/WPA2/IEEE 802.1X Supplicant" short_desc="WPA/WPA2/IEEE 802.1X Supplicant"
maintainer="Juan RP <xtraeme@gmail.com>" maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-2" license="GPL-2"
@ -23,10 +24,6 @@ long_desc="
$pkgname supports separate frontend programs and a text-based frontend $pkgname supports separate frontend programs and a text-based frontend
(wpa_cli) and a GUI (wpa_gui) are included with $pkgname." (wpa_cli) and a GUI (wpa_gui) are included with $pkgname."
conf_files="/etc/${pkgname}.conf"
systemd_services="${pkgname}.service on"
do_build() { do_build() {
sed -i 's|/usr/local|$(PREFIX)|g' Makefile sed -i 's|/usr/local|$(PREFIX)|g' Makefile
cp -f ${FILESDIR}/config .config cp -f ${FILESDIR}/config .config