Update packages that use $openrc_services with the third argument.

Packages that can be started without modifications are enabled,
well some of them, otherwise disabled.

--HG--
extra : convert_revision : 42105adabbc02b0f07a5d7173664778a5001c739
This commit is contained in:
Juan RP 2010-04-16 22:09:33 +02:00
parent f704027919
commit 5aa2f34f73
26 changed files with 69 additions and 44 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'NetworkManager'
pkgname=NetworkManager
version=0.8
revision=1
revision=2
distfiles="${GNOME_SITE}/$pkgname/0.8/$pkgname-$version.tar.bz2"
build_style=gnu_configure
configure_args="--localstatedir=/var --with-distro=gentoo
@ -14,7 +14,7 @@ long_desc="
This packages common libraries for the GNOME desktop."
keep_empty_dirs=yes
openrc_services="NetworkManager default"
openrc_services="NetworkManager default true"
conf_files="/etc/NetworkManager/nm-system-settings.conf"
subpackages="$pkgname-devel"

View File

@ -1,6 +1,7 @@
# Template file for 'acpid'
pkgname=acpid
version=1.0.10
revision=1
distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.gz"
build_style=gnu_makefile
make_install_args="INSTPREFIX=$XBPS_DESTDIR/$pkgname-$version
@ -14,7 +15,7 @@ long_desc="
Any event that publishes itself to /proc/acpi/event can be handled."
keep_empty_dirs=yes
openrc_services="acpid default"
openrc_services="acpid default true"
conf_files="/etc/conf.d/acpid"
Add_dependency full glibc

View File

@ -1,7 +1,7 @@
# Template file for 'anacron'
pkgname=anacron
version=2.3
revision=1
revision=2
distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.gz"
build_style=gnu_makefile
make_install_args="PREFIX=$XBPS_DESTDIR/$pkgname-$version
@ -20,9 +20,9 @@ long_desc="
keep_empty_dirs=yes
conf_files="/etc/anacrontab"
openrc_services="anacrond default"
openrc_services="anacrond default true"
Add_dependency full glibc
Add_dependency run glibc
Add_dependency full bash
Add_dependency full run-parts

View File

@ -1,7 +1,7 @@
# Template file for 'avahi'
pkgname=avahi
version=0.6.25
revision=4
revision=5
distfiles="http://www.avahi.org/download/avahi-$version.tar.gz"
build_style=gnu_configure
configure_args="--disable-qt3 --disable-qt4 --disable-mono --disable-monodoc
@ -22,7 +22,7 @@ long_desc="
# Create avahi and netdev system accounts.
system_accounts="avahi netdev"
openrc_services="avahi-daemon default avahi-dnsconfd default"
openrc_services="avahi-daemon default true avahi-dnsconfd default true"
conf_files="/etc/avahi/avahi-daemon.conf /etc/avahi/hosts.conf"
subpackages="$pkgname-autoipd $pkgname-discover $pkgname-compat-libs"

View File

@ -1,6 +1,7 @@
# Template file for 'bluez'
pkgname=bluez
version=4.61
revision=1
distfiles="${KERNEL_SITE}/bluetooth/$pkgname-$version.tar.bz2"
build_style=gnu_configure
configure_args="--localstatedir=/var --libexecdir=/lib --enable-gstreamer
@ -23,7 +24,7 @@ conf_files="
/etc/bluetooth/main.conf
/etc/bluetooth/network.conf
/etc/bluetooth/rfcomm.conf"
openrc_services="bluetooth default"
openrc_services="bluetooth default true"
subpackages="$pkgname-alsa $pkgname-compat $pkgname-gstreamer libbluetooth"
subpackages="$subpackages libbluetooth-devel"

View File

@ -1,7 +1,7 @@
# Template file for 'cronie'
pkgname=cronie
version=1.4.3
revision=1
revision=2
distfiles="https://fedorahosted.org/releases/c/r/cronie/cronie-$version.tar.gz"
build_style=gnu_configure
configure_args="--with-inotify --without-selinux --with-pam --disable-anacron
@ -18,7 +18,7 @@ long_desc="
keep_empty_dirs=yes
conf_files="/etc/crontab"
openrc_services="crond default"
openrc_services="crond default true"
Add_dependency run glibc
Add_dependency run pam

View File

@ -1,7 +1,7 @@
# Template file for 'dbus'
pkgname=dbus
version=1.2.24
revision=1
revision=2
distfiles="http://dbus.freedesktop.org/releases/dbus/$pkgname-$version.tar.gz"
build_style=gnu_configure
configure_args="--disable-selinux --enable-userdb-cache --with-xml=expat
@ -24,7 +24,7 @@ long_desc="
keep_empty_dirs=yes
conf_files="/etc/dbus-1/session.conf /etc/dbus-1/system.conf"
subpackages="$pkgname-devel $pkgname-libs"
openrc_services="dbus default"
openrc_services="dbus default true"
system_accounts="dbus"
Add_dependency run glibc

View File

@ -1,6 +1,7 @@
# Template file for 'dhcpcd'
pkgname=dhcpcd
version=5.2.2
revision=1
distfiles="http://roy.marples.name/downloads/dhcpcd/dhcpcd-$version.tar.bz2"
build_style=configure
configure_args="--libexecdir=/lib/dhcpcd"
@ -19,7 +20,7 @@ Add_dependency run glibc
Add_dependency build ntp
conf_files="/etc/dhcpcd.conf"
openrc_services="dhcpcd default"
openrc_services="dhcpcd default false"
post_install()
{

View File

@ -1,6 +1,7 @@
# Template file for 'dnsmasq'
pkgname=dnsmasq
version=2.51
revision=1
distfiles="http://www.thekelleys.org.uk/$pkgname/$pkgname-$version.tar.gz"
build_style=gnu_makefile
make_build_target="all-i18n"
@ -18,13 +19,16 @@ long_desc="
dynamic DHCP leases and BOOTP/TFTP/PXE for network booting of diskless machines."
conf_files="/etc/dnsmasq.conf /etc/conf.d/dnsmasq"
openrc_services="dnsmasq default"
openrc_services="dnsmasq default false"
Add_dependency full glibc
Add_dependency full dbus
Add_dependency full libcap
Add_dependency full libidn
Add_dependency run glibc
Add_dependency run dbus-libs
Add_dependency run libcap
Add_dependency run libidn
Add_dependency build gettext
Add_dependency build dbus-devel
Add_dependency build libcap-devel
Add_dependency build libidn-devel
post_install()
{

View File

@ -1,6 +1,7 @@
# Template file for 'fuse'
pkgname=fuse
version=2.8.1
revision=1
distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.gz"
build_style=gnu_configure
configure_args="--enable-lib --enable-util --bindir=/bin"
@ -20,8 +21,8 @@ long_desc="
* Has proven very stable over time"
subpackages="$pkgname-devel"
openrc_services="fuse default"
Add_dependency full glibc
openrc_services="fuse default true"
Add_dependency run glibc
post_install()
{

View File

@ -1,6 +1,7 @@
# Template file for 'gdm'
pkgname=gdm
version=2.30.0
revision=1
distfiles="${GNOME_SITE}/$pkgname/2.30/$pkgname-$version.tar.bz2"
build_style=gnu_configure
configure_args="--disable-schemas-install --disable-scrollkeeper
@ -34,7 +35,7 @@ gtk_iconcache_dirs="/usr/share/icons/hicolor"
system_accounts="gdm"
gdm_homedir="/var/lib/gdm"
gdm_descr="GNOME Display Manager user"
openrc_services="gdm default"
openrc_services="gdm default true"
Add_dependency run glibc
Add_dependency run libX11

View File

@ -5,9 +5,9 @@ long_desc="
This package contains nscd, a daemon that provides a cache for the
most common name service requests."
revision=1
revision=2
openrc_services="nscd default"
openrc_services="nscd default false"
conf_files="/etc/nscd.conf"
Add_dependency run glibc

View File

@ -1,7 +1,7 @@
# Template file for 'hal'
pkgname=hal
version=0.5.14
revision=2
revision=3
distfiles="http://hal.freedesktop.org/releases/hal-$version.tar.bz2"
build_style=gnu_configure
configure_args="--enable-static=no --disable-console-kit
@ -21,7 +21,7 @@ keep_empty_dirs=yes
conf_files="
/etc/dbus-1/system.d/hal.conf
/etc/hal/fdi/policy/10-keymap.fdi"
openrc_services="hal default"
openrc_services="hal default true"
# Create hal system account.
system_accounts="hal"

View File

@ -1,6 +1,7 @@
# Template file for 'iptables'
pkgname=iptables
version=1.4.7
revision=1
distfiles="http://www.iptables.org/projects/iptables/files/$pkgname-$version.tar.bz2"
build_style=gnu_configure
configure_args="--enable-devel --enable-libipq --sbindir=/sbin
@ -19,7 +20,7 @@ long_desc="
The iptables package also includes ip6tables. ip6tables is used for
configuring the IPv6 packet filter."
openrc_services="iptables default"
openrc_services="iptables default false"
conf_files="
/etc/conf.d/iptables
/etc/conf.d/ip6tables"
@ -31,6 +32,8 @@ Add_dependency build kernel-headers
pre_configure()
{
export PATH="/bin:/sbin:/usr/bin:/usr/sbin:$PATH"
sed -i '87 i libxt_RATEEST.so: libxt_RATEEST.oo' \
${wrksrc}/extensions/GNUmakefile.in
sed -i '88 i \\t${AM_VERBOSE_CCLD} ${CCLD} ${AM_LDFLAGS} -lm -shared ${LDFLAGS} -o $@ $<;\n' \

View File

@ -1,6 +1,7 @@
# Template file for 'lvm2'
pkgname=lvm2
version=2.02.62
revision=1
wrksrc=LVM2.${version}
distfiles="ftp://sources.redhat.com/pub/lvm2/LVM2.${version}.tgz"
build_style=gnu_configure
@ -24,7 +25,7 @@ keep_empty_dirs=yes
subpackages="liblvm2app liblvm2app-devel device-mapper device-mapper-devel"
conf_files="/etc/lvm/lvm.conf"
triggers="initramfs-tools"
openrc_services="lvm2 shutdown"
openrc_services="lvm2 shutdown true"
Add_dependency run glibc
Add_dependency run bash

View File

@ -1,7 +1,7 @@
# Template file for 'metalog'
pkgname=metalog
version=1
revision=3
revision=4
distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.lzma"
build_style=gnu_configure
configure_args="--with-unicode"
@ -14,7 +14,7 @@ long_desc="
and/or Perl-compatible regular expressions."
conf_files="/etc/metalog.conf"
openrc_services="metalog default"
openrc_services="metalog default true"
Add_dependency full glibc
Add_dependency full pcre

View File

@ -1,6 +1,7 @@
# Template file for 'nfs-utils'
pkgname=nfs-utils
version=1.2.0
revision=1
distfiles="http://downloads.sf.net/nfs/$pkgname-$version.tar.bz2"
build_style=gnu_configure
configure_args="--with-statduser=nobody --disable-gss --disable-nfsv4
@ -13,7 +14,10 @@ long_desc="
related tools, which provides a much higher level of performance than the
traditional Linux NFS server used by most users."
openrc_services="mountd default nfsd default nfslock default"
openrc_services="
mountd default false
nfsd default false
nfslock default false"
conf_files="/etc/exports"
Add_dependency full glibc

View File

@ -1,6 +1,7 @@
# Template file for 'ntp'
pkgname=ntp
version=4.2.6p1
revision=1
distfiles="http://archive.ntp.org/ntp4/$pkgname-$version.tar.gz"
build_style=gnu_configure
configure_args="--enable-linuxcaps --enable-getifaddrs=glibc
@ -17,7 +18,7 @@ long_desc="
subpackages="$pkgname-perl"
conf_files="/etc/ntp.conf"
openrc_services="ntpd default"
openrc_services="ntpd default true"
system_accounts="ntpd"
ntpd_homedir="/var/chroot/ntpd"

View File

@ -5,10 +5,10 @@ long_desc="${long_desc}
This package contains the ${pkgname} server files."
revision=1
revision=2
keep_empty_dirs=yes
conf_files="/etc/ssh/sshd_config /etc/pam.d/sshd"
openrc_services="sshd default"
openrc_services="sshd default false"
Add_dependency run glibc
Add_dependency run zlib

View File

@ -1,7 +1,7 @@
# Template file for 'portmap'
pkgname=portmap
version=6.0
revision=2
revision=3
wrksrc="${pkgname}_${version}"
distfiles="http://neil.brown.name/$pkgname/$pkgname-$version.tgz"
build_style=gnu_makefile
@ -14,7 +14,7 @@ long_desc="
remote procedure calls between computer programs. It is use widely by NFS
and NIS, and assorted other systems."
openrc_services="portmap default"
openrc_services="portmap default true"
Add_dependency full glibc
Add_dependency build tcp_wrappers

View File

@ -1,7 +1,7 @@
# Template file for 'postgresql'
pkgname=postgresql
version=8.4.2
revision=1
revision=2
distfiles="ftp://ftp.postgresql.org/pub/source/v${version}/${pkgname}-${version}.tar.bz2"
build_style=gnu_configure
configure_args="--with-docdir=/usr/share/doc --with-openssl --with-python
@ -31,7 +31,7 @@ postgres_shell="/bin/sh"
postgres_descr="PostgreSQL database server user"
# Add the OpenRC service.
openrc_services="postgresql default"
openrc_services="postgresql default false"
Add_dependency run glibc
Add_dependency run pam

View File

@ -1,6 +1,7 @@
# Template file for 'rsyslog'
pkgname=rsyslog
version=4.6.2
revision=1
distfiles="http://download.rsyslog.com/$pkgname/$pkgname-$version.tar.gz"
build_style=gnu_configure
configure_args="--enable-gnutls --enable-mysql --enable-pgsql"
@ -14,7 +15,7 @@ long_desc="
subpackages="$pkgname-gnutls $pkgname-mysql $pkgname-postgresql"
conf_files="/etc/rsyslog.conf /etc/conf.d/rsyslogd"
openrc_services="rsyslogd default"
openrc_services="rsyslogd default true"
Add_dependency run glibc
Add_dependency run zlib

View File

@ -1,6 +1,7 @@
# Template file for 'udev'
pkgname=udev
version=151
revision=1
distfiles="${KERNEL_SITE}/utils/kernel/hotplug/udev-${version}.tar.bz2"
build_style=gnu_configure
configure_args="--exec-prefix= --without-selinux --libexecdir=/lib/udev
@ -13,7 +14,7 @@ long_desc="
/sbin/hotplug. It requires a 2.5/2.6 kernel to run properly."
keep_empty_dirs=yes
openrc_services="udev sysinit"
openrc_services="udev sysinit true"
conf_files="/etc/udev/udev.conf"
subpackages="libudev libudev-devel libgudev libgudev-devel"

View File

@ -1,6 +1,7 @@
# Template file for 'wicd'
pkgname=wicd
version=1.7.0
revision=1
distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.bz2"
build_style=custom-install
short_desc="Open source wired and wireless network manager"
@ -29,7 +30,7 @@ conf_files="
/etc/dbus-1/system.d/wicd.conf
/etc/wicd/encryption/templates/active"
gtk_iconcache_dirs="/usr/share/icons/hicolor"
openrc_services="wicd default"
openrc_services="wicd default false"
Add_dependency full dbus-python
Add_dependency full pygtk

View File

@ -1,7 +1,7 @@
# Template file for 'wpa_supplicant'
pkgname=wpa_supplicant
version=0.7.0
revision=1
revision=2
wrksrc=${pkgname}-${version}/${pkgname}
distfiles="http://hostap.epitest.fi/releases/$pkgname-$version.tar.gz"
build_style=gnu_makefile
@ -24,7 +24,7 @@ long_desc="
(wpa_cli) and a GUI (wpa_gui) are included with $pkgname."
conf_files="/etc/${pkgname}.conf"
openrc_services="$pkgname default"
openrc_services="$pkgname default false"
Add_dependency run glibc
Add_dependency run libnl

View File

@ -1,6 +1,7 @@
# Template file for 'xen'
pkgname=xen
version=4.0.0
revision=1
wrksrc=xen-${version}
distfiles="http://bits.xensource.com/oss-xen/release/$version/xen-$version.tar.gz"
build_style=gnu_makefile
@ -15,7 +16,7 @@ long_desc="
nostrip=yes
subpackages="xen-devel"
openrc_services="xend default"
openrc_services="xend default true"
conf_files="
/etc/sysconfig/xendomains
@ -66,6 +67,9 @@ Add_dependency build acpica-utils
pre_build()
{
# Use tools from coreutils.
export PATH="/bin:/sbin:/usr/bin:/usr/sbin:$PATH"
install -d ${DESTDIR}
cd ${DESTDIR} && ln -sf . install