2009-05-02 23:03:32 +02:00
|
|
|
# Template file for 'OpenRC'
|
|
|
|
pkgname=OpenRC
|
|
|
|
version=20090430
|
|
|
|
wrksrc=openrc
|
2009-05-02 23:34:49 +02:00
|
|
|
patch_files="xbps-changes.diff"
|
2009-05-02 23:03:32 +02:00
|
|
|
distfiles="http://ftp.gnu.org/gnu/openrc/openrc-$version.tar.bz2"
|
|
|
|
build_style=gnu_makefile
|
|
|
|
short_desc="Universal init system"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
|
|
checksum=c12f3b8a7878d41f33b25526e14adff6f0210f5e64420733b1cf0adec74abeb9
|
|
|
|
long_desc="
|
|
|
|
OpenRC is a dependency based init system that works with the system
|
|
|
|
provided init program, normally /sbin/init. It is not a replacement for
|
|
|
|
/sbin/init. OpenRC is 100% compatible with Gentoo init scripts, which
|
|
|
|
means you can probably find one for the daemons you want to start in the
|
|
|
|
Gentoo Portage Tree. OpenRC also provides an init script that runs BSD
|
|
|
|
rc.d style scripts too, making it easy to port your BSD system to OpenRC."
|
|
|
|
|
|
|
|
conf_files="/etc/rc.conf /etc/conf.d/bootmisc /etc/conf.d/consolefont
|
|
|
|
/etc/conf.d/dmesg /etc/conf.d/fsck /etc/conf.d/hostname /etc/conf.d/hwclock
|
|
|
|
/etc/conf.d/keymaps /etc/conf.d/local /etc/conf.d/localmount
|
|
|
|
/etc/conf.d/modules /etc/conf.d/network /etc/conf.d/urandom"
|
|
|
|
|
|
|
|
Add_dependency full glibc
|
|
|
|
Add_dependency full psmisc
|
2009-05-02 23:34:49 +02:00
|
|
|
|
|
|
|
pre_configure()
|
|
|
|
{
|
2009-05-02 23:46:06 +02:00
|
|
|
# Provide a shutdown service.
|
2009-05-02 23:34:49 +02:00
|
|
|
cp ${FILESDIR}/shutdown.in ${wrksrc}/init.d
|
2009-05-02 23:46:06 +02:00
|
|
|
|
|
|
|
# Fix path for kbd stuff.
|
|
|
|
for f in init.d/consolefont.in conf.d/consolefont; do
|
|
|
|
sed -i -e "s|/usr/share/consolefonts|/lib/kbd/consolefonts|g" \
|
|
|
|
${wrksrc}/${f}
|
|
|
|
done
|
2009-05-02 23:34:49 +02:00
|
|
|
}
|