Commit cff6e49d authored by Anke's avatar Anke

merge core systemd in core testing

parent 9c2537ea
#
# Chakra Packages for Chakra, part of chakra-project.org
#
# maintainer: abveritas[at]chakra-project[dot]org>
pkgname=chakra-init
pkgver=2012.08
pkgrel=1
pkgdesc="Transitional systemd scripts"
arch=('i686' 'x86_64')
url="http://www.chakra-project.org"
license=('GPL2')
depends=('filesystem')
makedepends=('asciidoc')
install=chakra-init.install
source=('rc.shutdown' 'rc.local.shutdown' 'inittab')
md5sums=('e4798daef2b565e3b6f2ec5e0d5ce3d2'
'669ce6d766dd9deb86686219f3763fe4'
'ec5d68e47feac3fb486b72f82ddabfb5')
package() {
cd ${srcdir}
# setup /etc
mkdir ${pkgdir}/etc
install -m644 -t ${pkgdir}/etc inittab
install -m755 -t ${pkgdir}/etc rc.local.shutdown
install -m755 -t ${pkgdir}/etc rc.shutdown
}
post_install() {
grep "KEYMAP=" /etc/rc.conf.pacsave >> /etc/vconsole.conf
grep "HOSTNAME=" /etc/rc.conf.pacsave | awk -F'"' '{print $2}' > /etc/hostname
sed -i -e 's/halt/poweroff/' /usr/share/config/kdm/kdmrc
systemctl enable NetworkManager.service
systemctl enable kdm.service
}
......@@ -13,15 +13,15 @@
## Only one of the following two lines can be uncommented!
# Boot to console
id:3:initdefault:
#id:3:initdefault:
# Boot to X11
#id:5:initdefault:
rc::sysinit:/etc/rc.sysinit
rs:S1:wait:/etc/rc.single
rm:2345:wait:/etc/rc.multi
#rc::sysinit:/etc/rc.sysinit
#rs:S1:wait:/etc/rc.single
#rm:2345:wait:/etc/rc.multi
rh:06:wait:/etc/rc.shutdown
su:S:wait:/sbin/sulogin -p
#su:S:wait:/sbin/sulogin -p
# -8 options fixes umlauts problem on login
c1:2345:respawn:/sbin/agetty -8 -s 38400 tty1 linux
......@@ -40,7 +40,7 @@ c6:2345:respawn:/sbin/agetty -8 -s 38400 tty6 linux
ca::ctrlaltdel:/sbin/shutdown -t3 -r now
# Example lines for starting a login manager
x:5:respawn:/usr/bin/xdm -nodaemon
#x:5:respawn:/usr/bin/xdm -nodaemon
#x:5:respawn:/usr/sbin/gdm -nodaemon
#x:5:respawn:/usr/bin/kdm -nodaemon
#x:5:respawn:/usr/bin/slim >/dev/null 2>&1
......
......@@ -6,12 +6,12 @@
pkgname=crda
pkgver=1.1.2
pkgrel=2
pkgrel=3
pkgdesc="Central Regulatory Domain Agent"
arch=('i686' 'x86_64')
url="http://wireless.kernel.org/en/developers/Regulatory/CRDA"
license=('custom')
depends=('wireless-regdb' 'libnl' 'libgcrypt' 'udev' 'iw')
depends=('wireless-regdb' 'libnl' 'libgcrypt' 'systemd' 'iw')
makedepends=('python-m2crypto')
install=crda.install
source=(http://wireless.kernel.org/download/crda/${pkgname}-${pkgver}.tar.bz2
......
#
# Core Packages for Chakra, part of chakra-project.org
#
# maintainer abveritas@chakra-project.org
# maintainer: abveritas@chakra-project.org
pkgname=dbus-core
pkgver=1.4.14
pkgrel=4
pkgdesc="Freedesktop.org message bus system."
pkgver=1.6.4
pkgrel=1
pkgdesc="Freedesktop.org message bus system"
url="http://www.freedesktop.org/Software/dbus"
arch=('i686' 'x86_64')
arch=(i686 x86_64)
license=('GPL' 'custom')
depends=('expat>=2.0.1' 'coreutils' 'filesystem' 'shadow')
depends=('expat' 'coreutils' 'filesystem' 'shadow' 'systemd') # shadow for install scriptlet FS#29341
makedepends=('libx11')
conflicts=('dbus<1.2.3-2')
options=(!libtool)
install="dbus.install"
source=("http://dbus.freedesktop.org/releases/dbus/dbus-${pkgver}.tar.gz"
'dbus')
md5sums=('ae6de2562a57516cfabaf56903375ba9'
'81eb58bbe2b2212210e592ccd1eb5c3c')
install=dbus.install
source=(http://dbus.freedesktop.org/releases/dbus/dbus-$pkgver.tar.gz{,.asc}
dbus)
md5sums=('5ec43dc4554cba638917317b2b4f7640'
'3d4482ee39b49da334441c76f83bf1cb'
'f0364f3f5dc5f653bb05d39aa36e3264')
build() {
cd "${srcdir}/dbus-${pkgver}"
./configure --prefix=/usr \
--sysconfdir=/etc --localstatedir=/var \
--libexecdir=/usr/lib/dbus-1.0 \
--with-dbus-user=81 \
--with-system-pid-file=/var/run/dbus.pid \
--enable-inotify \
--disable-dnotify \
--disable-verbose-mode \
--disable-static \
--disable-tests \
--disable-asserts \
--with-systemdsystemunitdir=/usr/lib/systemd/system
cd dbus-$pkgver
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
--libexecdir=/usr/lib/dbus-1.0 --with-dbus-user=81 \
--with-system-pid-file=/run/dbus/pid \
--with-system-socket=/run/dbus/system_bus_socket \
--with-console-auth-dir=/run/console/ \
--enable-inotify --disable-dnotify \
--disable-verbose-mode --disable-static \
--disable-tests --disable-asserts \
--with-systemdsystemunitdir=/usr/lib/systemd/system \
--enable-systemd
make
}
package(){
cd "${srcdir}/dbus-${pkgver}"
make DESTDIR="${pkgdir}" install
rm -f "${pkgdir}/usr/bin/dbus-launch"
rm -f "${pkgdir}/usr/share/man/man1/dbus-launch.1"
cd dbus-$pkgver
make DESTDIR="$pkgdir" install
chown 81:81 "${pkgdir}/var/run/dbus"
rm -f "$pkgdir/usr/bin/dbus-launch"
rm -f "$pkgdir/usr/share/man/man1/dbus-launch.1"
rm -rf "$pkgdir/var/run"
install -m755 -d "${pkgdir}/etc/rc.d"
install -m755 "${srcdir}/dbus" "${pkgdir}/etc/rc.d/"
install -m755 -d "$pkgdir/etc/rc.d"
install -m755 ../dbus "$pkgdir/etc/rc.d/"
# Fix configuration file
sed -i -e 's|<user>81</user>|<user>dbus</user>|' "${pkgdir}/etc/dbus-1/system.conf"
#Fix configuration file
sed -i -e 's|<user>81</user>|<user>dbus</user>|' "$pkgdir/etc/dbus-1/system.conf"
# Install .keep files so pacman doesn't delete empty dirs
touch "${pkgdir}/usr/share/dbus-1/services/.keep"
touch "${pkgdir}/usr/share/dbus-1/system-services/.keep"
touch "${pkgdir}/etc/dbus-1/session.d/.keep"
touch "${pkgdir}/etc/dbus-1/system.d/.keep"
install -d -m755 "${pkgdir}/usr/share/licenses/dbus-core"
install -m644 COPYING "${pkgdir}/usr/share/licenses/dbus-core/"
install -dm755 "$pkgdir/usr/share/licenses/dbus-core"
install -m644 COPYING "$pkgdir/usr/share/licenses/dbus-core/"
}
# vim:set ts=2 sw=2 et:
......@@ -4,19 +4,14 @@
. /etc/rc.conf
. /etc/rc.d/functions
case "$1" in
case $1 in
start)
stat_busy "Starting D-BUS system messagebus"
if [ ! -x /var/run/dbus ] ; then
install -m755 -g 81 -o 81 -d /var/run/dbus
fi
if [ -x /usr/bin/dbus-uuidgen ] ; then
/usr/bin/dbus-uuidgen --ensure
if [[ ! -d /run/dbus ]] ; then
install -m755 -g 81 -o 81 -d /run/dbus
fi
if ! /usr/bin/dbus-daemon --system; then
if ! dbus-daemon --system; then
stat_fail
else
add_daemon dbus
......@@ -25,27 +20,25 @@ case "$1" in
;;
stop)
stat_busy "Stopping D-BUS system messagebus"
[ -f /var/run/dbus.pid ] && kill "$(cat /var/run/dbus.pid)" &>/dev/null
if [ ${?} -gt 0 ]; then
if ! { [[ -f /run/dbus/pid ]] && kill $(</run/dbus/pid); }; then
stat_fail
else
rm -f /var/run/dbus.pid
rm -f /run/dbus/pid
rm_daemon dbus
stat_done
fi
;;
restart)
"${0}" stop
sleep 1
"${0}" start
$0 stop
sleep 1
$0 start
;;
reload)
stat_busy "Reloading D-BUS configuration"
[ -f /var/run/dbus.pid ] && /usr/bin/dbus-send \
if ! { [[ -f /run/dbus/pid ]] && dbus-send \
--system --type=method_call \
--dest=org.freedesktop.DBus \
/org.freedesktop.DBus.ReloadConfig
if [ ${?} -gt 0 ]; then
/ org.freedesktop.DBus.ReloadConfig; }; then
stat_fail
else
stat_done
......@@ -53,6 +46,6 @@ case "$1" in
;;
*)
echo "usage: $0 {start|stop|restart|reload}"
;;
;;
esac
exit 0
post_install() {
if ! getent group dbus >/dev/null; then
/usr/sbin/groupadd -g 81 dbus || {
echo 'Could not set up the dbus group!'
return 1
}
fi
if ! getent passwd dbus >/dev/null; then
/usr/sbin/useradd -c 'System message bus' -u 81 -g dbus -d '/' -s /bin/false dbus || {
echo 'Could not set up the dbus user!'
return 1
}
fi
usr/bin/passwd -l dbus >/dev/null
dbus-uuidgen --ensure
getent group dbus >/dev/null || groupadd -g 81 dbus
getent passwd dbus >/dev/null || useradd -c 'System message bus' -u 81 -g dbus -d '/' -s /bin/false dbus
passwd -l dbus &>/dev/null
}
post_upgrade() {
post_install
#Make sure new rc script can shutdown running dbus
if [ -f /var/run/dbus/pid ]; then
mv /var/run/dbus/pid /var/run/dbus.pid
# Make sure new rc script can shutdown running dbus
if [ -f run/dbus.pid -a -d run/dbus ]; then
mv run/dbus.pid run/dbus/pid
fi
}
post_remove() {
if getent passwd dbus >/dev/null; then
/usr/sbin/userdel dbus
userdel dbus
fi
if getent group dbus >/dev/null; then
/usr/sbin/groupdel dbus
groupdel dbus
fi
}
# vim:set ts=2 sw=2 et:
......@@ -5,9 +5,9 @@
# maintainer Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
pkgname=filesystem
pkgver=2012.2
pkgrel=3
_codename=Archimedes
pkgver=2012.8
pkgrel=1
_codename=Claire
pkgdesc='Base filesystem'
arch=('any')
license=('GPL')
......@@ -18,11 +18,13 @@ options=('force')
depends=('iana-etc' 'bash' 'coreutils')
backup=('etc/fstab' 'etc/crypttab' 'etc/group' 'etc/hosts' 'etc/ld.so.conf' 'etc/passwd'
'etc/shadow' 'etc/gshadow' 'etc/resolv.conf' 'etc/motd' 'etc/nsswitch.conf'
'etc/shells' 'etc/host.conf' 'etc/securetty' 'etc/profile' 'etc/issue')
'etc/shells' 'etc/host.conf' 'etc/securetty' 'etc/profile' 'etc/issue' 'etc/hostname'
'etc/machine-info' 'etc/vconsole.conf')
source=('group' 'issue' 'nsswitch.conf' 'securetty' 'host.conf' 'ld.so.conf'
'passwd' 'shadow' 'fstab' 'crypttab' 'hosts' 'motd' 'resolv.conf' 'shells'
'gshadow' 'profile' 'modprobe.d.usb-load-ehci-first')
md5sums=('772fe869b921698cc3e6fde73c4ac85a'
'passwd' 'shadow' 'fstab' 'crypttab' 'hosts' 'hostname' 'motd' 'resolv.conf' 'shells'
'gshadow' 'profile' 'modprobe.d.usb-load-ehci-first' 'machine-info' 'os-release'
'vconsole.conf')
md5sums=('45940618da782cc391c59f88ab3333c3'
'8266bc7566e99f2b5f5e0b5b1ac17241'
'13753e4e0964f3652b0cc60a28528bdf'
'4c4540eeb748bf1f71d631b8c1dcf0b3'
......@@ -30,15 +32,19 @@ md5sums=('772fe869b921698cc3e6fde73c4ac85a'
'6e488ffecc8ba142c0cf7e2d7aeb832e'
'8a9042a2cedf6b6b47eb8973f14289cb'
'b8355d9d2782f424f4cedcf682651be0'
'18854ca68f1edc5777e6cb1cace1ffd9'
'e5d8323a4dbee7a6d0d2a19cbf4b819f'
'ca716f853860199c1286e7939b2f2666'
'a367150bd0fe6b02114365121de64a53'
'7bc65f234dfb6abf24e7c3b03e86f4ff'
'b7244a8455581eeb441edeec03495054'
'd41d8cd98f00b204e9800998ecf8427e'
'6f48288b6fcaf0065fcb7b0e525413e0'
'22518e922891f9359f971f4f5b4e793c'
'd2dc4e39dbdea75b107f91789e3274ab'
'f95416882cef800edef08382a1176b7d'
'f3b6ae7db8adffaaa4bffc6099dcbd50'
'a8a962370cd0128465d514e6a1f74130')
'a8a962370cd0128465d514e6a1f74130'
'8aba0b33527e812211b9e5f9b87887ae'
'ad64ad33ec45e4f87c6bf225a91ff484'
'201bbb8b4734d2f46afe1e24d7cc6173')
package() {
cd ${pkgdir}
......@@ -46,10 +52,11 @@ package() {
#
# setup root filesystem
#
for d in bin boot dev etc home media mnt sbin usr var opt srv/http sys run; do
for d in boot dev etc home media mnt usr var opt srv/http run; do
install -d -m755 ${d}
done
install -d -m555 proc
install -d -m555 sys
install -d -m0750 root
install -d -m1777 tmp
# vsftpd won't run with write perms on /srv/ftp
......@@ -57,7 +64,7 @@ package() {
# setup /etc
install -d etc/{ld.so.conf.d,skel,profile.d}
for f in fstab group host.conf hosts issue ld.so.conf motd nsswitch.conf passwd resolv.conf securetty shells profile; do
for f in fstab group host.conf hostname hosts issue ld.so.conf motd nsswitch.conf passwd resolv.conf securetty shells profile machine-info os-release vconsole.conf; do
install -m644 ${srcdir}/${f} etc/
done
ln -s /proc/self/mounts etc/mtab
......@@ -68,17 +75,15 @@ package() {
install -D -m644 ${srcdir}/modprobe.d.usb-load-ehci-first usr/lib/modprobe.d/usb-load-ehci-first.conf
# setup /var
for d in cache/man local opt log/old lib/misc empty run; do
for d in cache/man local opt log/old lib/misc empty; do
install -d -m755 var/${d}
done
install -d -m1777 var/{tmp,spool/mail,lock}
install -d -m1777 var/{tmp,spool/mail}
# allow setgid games to write scores
install -d -m775 -g games var/games
ln -s spool/mail var/mail
# not ready yet, needs possible change in pacman or other magic
# is fixed by initscripts on next boot
# ln -s ../run var/run
# ln -s ../run/lock var/lock
ln -s ../run var/run
ln -s ../run/lock var/lock
#
# setup /usr hierarchy
......@@ -99,8 +104,4 @@ package() {
done
ln -s ../man usr/local/share/man
}
#
# setup chakra tags
#
#echo "Chakra Linux release ${pkgver} (${_codename})" > "${pkgdir}/etc/chakra-release"
#sed -i -e "s~Chakra Linux~Chakra Linux (${pkgver} - ${_codename})~g" "${pkgdir}/etc/issue"
# crypttab: Mappings for encrypted partitions
# crypttab: mappings for encrypted partitions
#
# Each mapped device will be created in /dev/mapper, so your /etc/fstab
# should use the /dev/mapper/{NAME} paths for encrypted devices.
# should use the /dev/mapper/<name> paths for encrypted devices.
#
# Each PASSWORD field can be an absolute pathname to a key file (starting
# with a slash, recommended) or a literal string that will be used as
# a passphrase. To use special characters in the passphrase, surround it
# by quotes, the usual bash quoting rules apply.
# There are two special keywords that cannot be used as passphrases:
# - ASK ask for a passphrase on boot
# - SWAP use a random key and create a swapspace afterwards
# WARNING: use the SWAP keyword carefully, as it overwrites the data
# on the specified partition
#
# To create a key file:
# hashalot -n 32 ripemd160 >/etc/crytfs.key
# or
# dd if=/dev/urandom of=/etc/cryptfs.key bs=256 count=1
#
# To pass additional options to cryptsetup for non-LUKS partitions, use the
# fourth column.
# The Chakra specific syntax has been deprecated, see crypttab(5) for the
# new supported syntax.
#
# NOTE: Do not list your root (/) partition here, it must be set up
# beforehand by the initramfs (/etc/mkinitcpio.conf).
# NAME SOURCE DEVICE PASSWORD OPTIONS
#home /dev/hda4 mypassword
#data1 /dev/hda3 "my \"password\""
#data2 /dev/hda5 /etc/cryptfs.key
#swap /dev/hdx4 SWAP -c aes-cbc-essiv:sha256 -s 256
#vol /dev/hdb7 ASK
# <name> <device> <password> <options>
# home /dev/hda4 /etc/mypassword1
# data1 /dev/hda3 /etc/mypassword2
# data2 /dev/hda5 /etc/cryptfs.key
# swap /dev/hdx4 /dev/urandom swap,cipher=aes-cbc-essiv:sha256,size=256
# vol /dev/hdb7 none
post_install() {
[ -f var/log/lastlog ] || : >var/log/lastlog
[ -f var/log/wtmp ] || : >var/log/wtmp
[ -f var/log/btmp ] || (: >var/log/btmp && chmod 600 var/log/btmp)
[ -f var/log/lastlog ] || : >var/log/lastlog
[ -f var/log/wtmp ] || : >var/log/wtmp
[ -f var/log/btmp ] || { : >var/log/btmp && chmod 600 var/log/btmp; }
# workaround for bug #7194
# readded due to bug #9465
# please do not remove!
chmod 1777 var/spool/mail tmp var/tmp var/lock
chmod 1777 var/spool/mail tmp var/tmp
}
# args: <group> [options]
......@@ -38,9 +40,10 @@ post_upgrade() {
_adduser http -u 33 -d /srv/http -g http -s /bin/false
_addgroup scanner -g 96
_addgroup rfkill -g 24
_addgroup lock -g 54
# sync gshadow to group
if ! grep -q '^rfkill:' etc/gshadow; then
# sync gshadow to group (fixes FS#19869
if ! grep -q '^lock:' etc/gshadow; then
grpconv >/dev/null
fi
......
#
#
# /etc/fstab: static file system information
#
# <file system> <dir> <type> <options> <dump> <pass>
......
......@@ -19,6 +19,7 @@ rfkill:x:24:
smmsp:x:25:
http:x:33:
games:x:50:
lock:x:54:
network:x:90:
video:x:91:
audio:x:92:
......
......@@ -19,6 +19,7 @@ rfkill:x::
smmsp:::
http:::
games:::
lock:::
network:x::
video:x::
audio:::
......
PRETTY_NAME="Chakra computer"
ICON_NAME="chakra-pc"
NAME="The Chakra-Project"
VERSION="Claire"
ID=chakra
PRETTY_NAME="The Chakra-Project (Claire)"
ANSI_COLOR="0;36"
HOME_URL="http://www.chakra-project.org/"
BUG_REPORT_URL="http://chakra-linux.org/bugs/"
#
# Core Packages for Chakra, part of chakra-project.org
#
# maintainer abveritas@chakra-project.org
# maintainer: abveritas@chakra-project.org
pkgname=hwids
pkgver=20120512
pkgver=20120815
pkgrel=1
pkgdesc="hardware identification databases"
url=https://github.com/Flameeyes/hwids
url="https://github.com/gentoo/hwids"
license=('GPL2')
arch=('any')
source=("https://github.com/Flameeyes/${pkgname}/tarball/${pkgname}-${pkgver}")
md5sums=('d530009df4967b5ece996262f4e39851')
source=("https://github.com/gentoo/${pkgname}/tarball/${pkgname}-${pkgver}")
md5sums=('7a3addeab3fa94e7ce946a5eb8549775')
package() {
cd ${srcdir}/*
mkdir -p "${pkgdir}/usr/share/hwdata"
cp pci.ids usb.ids "${pkgdir}/usr/share/hwdata/"
}
tags
*.tar.xz*
hostname.5
locale.conf.5
vconsole.conf.5
rc.conf.5
rc.d.8
pkg/
VER := $(shell git describe)
DIRS := \
/etc/rc.d \
/etc/conf.d \
/etc/rc.d/functions.d \
/etc/logrotate.d \
/etc/profile.d \
/usr/sbin \
/etc/tmpfiles.d \
/usr/lib/tmpfiles.d \
/etc/binfmt.d \
/usr/lib/binfmt.d \
/etc/sysctl.d \
/usr/lib/sysctl.d \
/usr/lib/initscripts \
/usr/share/bash-completion/completions \
/usr/share/zsh/site-functions \
/usr/share/man/man5 \
/usr/share/man/man8
MAN_PAGES := \
rc.d.8 \
rc.conf.5 \
locale.conf.5 \
vconsole.conf.5 \
hostname.5
all: doc
installdirs:
install -dm755 $(foreach DIR, $(DIRS), $(DESTDIR)$(DIR))
install: installdirs doc
install -m644 -t $(DESTDIR)/etc inittab rc.conf
install -m755 -t $(DESTDIR)/etc rc.local rc.local.shutdown rc.multi rc.shutdown rc.single rc.sysinit
install -m644 -t $(DESTDIR)/etc/logrotate.d bootlog
install -m644 -t $(DESTDIR)/etc/rc.d functions
install -m755 -t $(DESTDIR)/etc/rc.d hwclock network netfs
install -m755 -t $(DESTDIR)/etc/profile.d locale.sh
install -m755 -t $(DESTDIR)/usr/sbin rc.d
install -m644 -t $(DESTDIR)/usr/share/man/man5 $(filter %.5, $(MAN_PAGES))
install -m644 -t $(DESTDIR)/usr/share/man/man8 $(filter %.8, $(MAN_PAGES))
install -m755 -t $(DESTDIR)/usr/lib/initscripts chakra-tmpfiles chakra-sysctl chakra-binfmt
install -m644 tmpfiles.conf $(DESTDIR)/usr/lib/tmpfiles.d/chakra.conf
install -m644 -T bash-completion $(DESTDIR)/usr/share/bash-completion/completions/rc.d
install -m644 -T zsh-completion $(DESTDIR)/usr/share/zsh/site-functions/_rc.d
%.5: %.5.txt
a2x -d manpage -f manpage $<
%.8: %.8.txt
a2x -d manpage -f manpage $<
doc: $(MAN_PAGES)
clean:
rm -f $(MAN_PAGES)
tar:
git archive HEAD --prefix=initscripts-$(VER)/ | xz > initscripts-$(VER).tar.xz
release: tar
scp initscripts-$(VER).tar.xz gerolde.archlinux.org:/srv/ftp/other/initscripts/
scp initscripts-$(VER).tar.xz pkgbuild.com:~/packages/initscripts/trunk/
.PHONY: all installdirs install doc clean tar release
#
# Chakra Packages for Chakra, part of chakra-project.org
#
# maintainer abveritas@chakra-project.org
_origname=initscripts
pkgname=initscripts-live
pkgver=2012.05
pkgrel=2
pkgdesc="System initialization/bootup scripts"
arch=('i686' 'x86_64')
url="http://www.chakra-project.org"
license=('GPL2')
groups=('livecd')
provides=("initscripts=${pkgver}")
conflicts=('initscripts' 'chakra-initscripts')
backup=(etc/inittab etc/rc.conf etc/rc.local etc/rc.local.shutdown etc/conf.d/wireless)
depends=('glibc' 'bash' 'grep' 'coreutils' 'udev>=182' 'iproute2'
'ncurses' 'kbd' 'findutils' 'sysvinit')
optdepends=('net-tools: legacy networking support'
'bridge-utils: Network bridging support'
'dhcpcd: DHCP network configuration'
'wireless_tools: Wireless networking')
makedepends=('asciidoc')
install=initscripts.install
source=('Makefile' 'binfmt.d.5.txt' 'chakra-tmpfiles' 'hostname.5.txt' 'locale.conf.5.txt'
'network' 'rc.d.8.txt' 'rc.shutdown' 'wireless.conf.d' 'bootlog' 'chakra-tmpfiles'
'hwclock' 'locale.conf.5.txt' 'rc.conf' 'rc.local' 'rc.single' 'zsh-completion'
'chakra-binfmt' 'functions' 'initscripts.install' 'locale.sh' 'rc.conf.5.txt'
'rc.local.shutdown' 'rc.sysinit' 'bash-completion' 'chakra-sysctl' 'inittab' 'netfs'
'rc.d' 'rc.multi' 'tmpfiles.conf' 'vconsole.conf.5.txt' 'initscripts-live-2012.06.patch')
md5sums=('022d743d6c324fa1325d8187e9354365'
'94bf95df61a06ec45107c4ce9bb59439'
'e5e9f79dac305c9a0ffa2077a817d354'
'bdb87ed9c8bd97fcc8ae0c643909c813'
'b772c5a6489881f796a6ec13a4e48cc3'
'e886ba94b6d5fd7987ecf9dfee7cbab3'
'52e1a2dd6339d88eda50d7c990a4513c'
'e4798daef2b565e3b6f2ec5e0d5ce3d2'
'dc5462ed765fa34c907f974d67fb776a'
'5d253f4da16e543efaff53ac9684c1c6'
'e5e9f79dac305c9a0ffa2077a817d354'
'75e147e59b91751b451dcc7bab225278'
'b772c5a6489881f796a6ec13a4e48cc3'
'727e677a2dca88a9dde4fc5846076b69'
'bd236a57bc00aa4727b98c5ae401c457'
'bbdeefad2a1732af6b04484b02527266'
'00ee10313b866a3fe6520a86f6318518'
'f9b3005a8eaae5eb69d2c3d5641534ed'
'a6affe9c73bd416a97d727a54b0b40dd'
'c366072d0b230eb9ee7ab31dd77cf245'
'b910fd6e0b5c421d083de72da03d9d1a'
'ac2d6d1cf7df7d65efc90b7766fceae1'
'669ce6d766dd9deb86686219f3763fe4'
'9b0244348a8acdf179026f46b3cd4d30'
'7d4981aa562187a5fc163ca2677a7cc1'
'1e799eb4a685c494613cb4249feeeb24'
'da9949f67b9100f8b03f4f2c81ff1108'
'5f61e38df0816d4a265f7c27958f2411'
'f528320f16c50d2cb5ad71079bf5f957'
'f3f55aa80da56b1435e8a876bbe18c72'
'2eb9f00e48115a7d19365872cddaa04d'
'7a1e90a17a9f6a89817fb9800fbc54a2'
'82b4149e8f2c461880faa39fb3d710b0')
package() {
cd ${srcdir}
make DESTDIR=${pkgdir} install
install -D -m644 ${srcdir}/wireless.conf.d ${pkgdir}/etc/conf.d/wireless
cd ${pkgdir}
patch -p1 -i ${srcdir}/${pkgname}-2012.06.patch
#rm -v $(find . -type f -name '*.orig')
}