systemd: removed; no plans to resurrect this.

This commit is contained in:
Juan RP 2015-06-06 09:38:02 +02:00
parent dd59a44de9
commit dc6429e189
14 changed files with 0 additions and 311 deletions

View file

@ -1 +0,0 @@
libgudev

View file

@ -1,75 +0,0 @@
# Template file for 'libgudev'
. ${XBPS_SRCPKGDIR}/systemd/template
unset -f systemd-libs_package systemd-devel_package
unset -f libudev_package libudev-devel_package post_install
pkgname=libgudev
version=208
revision=10
configure_args+=" --enable-gudev --with-python"
hostmakedepends+=" glib-devel python-devel"
makedepends+=" libglib-devel python-devel"
short_desc="GObject-based wrapper library for libudev"
depends="libudev>=${version}"
do_install() {
mkdir -p ${wrksrc}/install_gudev/usr/lib
ln -s lib ${wrksrc}/install_gudev/usr/lib32
# We are only interested in gudev and python bindings.
make DESTDIR=${wrksrc}/install_gudev install
vmkdir usr/lib/pkgconfig
vmkdir usr/include
vmkdir usr/share
mv install_gudev/usr/lib/libgudev* ${DESTDIR}/usr/lib
if [ -d install_gudev/usr/lib/girepository-1.0 ]; then
mv install_gudev/usr/lib/girepository-1.0 ${DESTDIR}/usr/lib
fi
mv install_gudev/usr/include/gudev* ${DESTDIR}/usr/include
mv install_gudev/usr/lib/pkgconfig/gudev* ${DESTDIR}/usr/lib/pkgconfig
if [ -d install_gudev/usr/share/gir-1.0 ]; then
mv install_gudev/usr/share/gir-1.0 ${DESTDIR}/usr/share
fi
mv install_gudev/usr/lib/python* ${DESTDIR}/usr/lib
}
# Package build options
build_options="gir"
# Disable gir for cross builds.
if [ -z "$CROSS_BUILD" ]; then
build_options_default="gir"
fi
if [ "$build_option_gir" ]; then
configure_args+=" --enable-introspection"
hostmakedepends+=" gobject-introspection"
else
configure_args+=" --disable-introspection"
fi
libgudev-devel_package() {
depends="libglib-devel libudev-devel libgudev>=${version}_${revision}"
short_desc="GObject-based wrapper library for libudev - development files"
pkg_install() {
vmove usr/include/gudev-1.0
vmove "usr/lib/libgudev*.so"
vmove "usr/lib/pkgconfig/gudev*"
if [ "$build_option_gir" ]; then
vmove usr/share/gir-1.0
fi
}
}
systemd-python_package() {
lib32disabled=yes
short_desc="systemd python bindings"
depends="systemd-libs>=${version}_${revision}"
pycompile_module="systemd"
pkg_install() {
vmove "usr/lib/python*"
}
}

View file

@ -1 +0,0 @@
systemd

View file

@ -1 +0,0 @@
systemd

View file

@ -1 +0,0 @@
systemd

View file

@ -1 +0,0 @@
systemd

View file

@ -1 +0,0 @@
libgudev

View file

@ -1,16 +0,0 @@
case "${ACTION}" in
post)
setcap cap_dac_override,cap_sys_ptrace+ep usr/bin/systemd-detect-virt || :
if [ -c dev/urandom -a ! -f etc/machine-id ]; then
systemd-machine-id-setup
fi
systemctl enable getty@tty1.service || :
if [ "$UPDATE" = "yes" -a -e sys/fs/cgroup/systemd ]; then
udevadm hwdb --update
journalctl --update-catalog
systemctl --system daemon-reexec || :
fi
;;
esac

View file

@ -1 +0,0 @@
void-live

View file

@ -1,2 +0,0 @@
LANG=en_US.UTF-8
LC_COLLATE=C

View file

@ -1,4 +0,0 @@
NAME="Void"
ID="void"
PRETTY_NAME="Void Linux"
ANSI_COLOR="1;34"

View file

@ -1,18 +0,0 @@
d /etc/udev/rules.d 0755 root root
d /etc/binfmt.d 0755 root root
d /etc/sysctl.d 0755 root root
d /etc/modules-load.d 0755 root root
d /etc/tmpfiles.d 0755 root root
d /etc/local.d 0755 root root
d /etc/systemd/ntp-units.d 0755 root root
d /etc/systemd/user 0755 root root
d /etc/systemd/system/local-fs.target.wants 0755 root root
d /etc/systemd/system/sysinit.target.wants 0755 root root
d /usr/lib/systemd/system-shutdown 0755 root root
d /usr/lib/systemd/system-sleep 0755 root root
d /usr/lib/systemd/system/graphical.target.wants 0755 root root
d /usr/lib/systemd/user-generators 0755 root root
d /usr/lib/systemd/ntp-units.d 0755 root root
d /usr/lib/binfmt.d 0755 root root
d /usr/lib/sysctl.d 0755 root root
d /usr/lib/modules-load.d 0755 root root

View file

@ -1,17 +0,0 @@
# systemd virtual console configuration file for Void GNU/Linux.
#
# To choose your system keymap.
# All keymaps are available in /usr/share/kbd/keymaps.
KEYMAP=us
# To choose your system font.
# All fonts are available in /usr/share/kbd/consolefonts.
FONT=lat9w-16
# To choose your system charset map.
# All charset maps are available in /usr/share/kbd/consoletrans.
#FONT_MAP=latin2u
# To choose your system unicode map.
# All unicode maps are available in /usr/share/kbd/unimaps.
#FONT_UNIMAP=lat9w

View file

@ -1,172 +0,0 @@
# Template file for 'systemd'
#
# We use the v208 stable branch, which is the branch that does not use IFUNC.
#
broken="DISABLED EXPLICITELY TO AVOID GRATUITOUS REBUILDS"
_gitbranch="v208-stable"
_gitcommit="722b7000a9973c9f3460fd5c41dfd613041a0976"
_gitshort="${_gitcommit:0:7}"
pkgname=systemd
version=208
revision=12
short_desc="A system and service manager for Linux (${_gitbranch} ${_gitshort})"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://www.freedesktop.org/wiki/Software/systemd"
license="LGPL-2.1, GPL-2, MIT"
build_style=gnu-configure
configure_args="--libexecdir=/usr/lib --with-rootprefix=/usr
--disable-selinux --with-sysvinit-path= --with-sysvrcnd-path=
--with-rc-local-script-path-start= --with-rc-local-script-path-stop=
--disable-audit --disable-static --disable-ima --disable-gudev
--disable-introspection --without-python"
hostmakedepends="automake gettext-devel libtool which pkg-config
intltool gperf libxslt docbook-xsl libgcrypt-devel git"
makedepends="acl-devel dbus-devel libcap-devel libkmod-devel
liblzma-devel cryptsetup-devel libblkid-devel libgcrypt-devel pam-devel"
depends="xbps-triggers>=0.64 dbus kbd libcap-progs shadow"
# Create systemd-journal (gid 24) and input (gid 25) system groups.
system_groups="systemd-journal:24 input:25"
replaces="nss-myhostname>=0 systemd-analyze>0"
conf_files="
/etc/hostname
/etc/vconsole.conf
/etc/locale.conf
/etc/systemd/system.conf
/etc/systemd/user.conf
/etc/systemd/journald.conf
/etc/systemd/logind.conf
/etc/systemd/bootchart.conf
/etc/udev/udev.conf"
lib32disabled=yes
# Package build options
build_options="efi microhttpd qrencode tcpwrappers"
# Enable EFI by default on x86.
if [ "$XBPS_TARGET_MACHINE" = "i686" -o "$XBPS_TARGET_MACHINE" = "x86_64" ]; then
build_options_default="efi"
fi
if [ "$build_option_efi" ]; then
configure_args+=" --enable-efi"
else
configure_args+=" --disable-efi"
fi
if [ "$build_option_microhttpd" ]; then
configure_args+=" --enable-microhttpd"
makedepends+=" libmicrohttpd-devel"
else
configure_args+=" --disable-microhttpd"
fi
if [ "$build_option_qrencode" ]; then
configure_args+=" --enable-qrencode"
makedepends+=" qrencode-devel"
else
configure_args+=" --disable-qrencode"
fi
if [ "$build_option_tcpwrappers" ]; then
configure_args+=" --enable-tcpwrap"
makedepends+=" tcp_wrappers-devel"
else
configure_args+=" --disable-tcpwrap"
fi
do_fetch() {
git clone -b ${_gitbranch} git://anongit.freedesktop.org/systemd/systemd-stable ${pkgname}-${version}
cd ${pkgname}-${version}
git checkout ${_gitcommit}
}
pre_configure() {
./autogen.sh
}
post_install() {
# Remove useless doc directory.
rm -rf ${DESTDIR}/usr/share/doc
vinstall ${FILESDIR}/hostname 644 etc
vinstall ${FILESDIR}/vconsole.conf 644 etc
vinstall ${FILESDIR}/os-release 644 etc
vinstall ${FILESDIR}/locale.conf 644 etc
printf "d /run/console 755 root root\n" > \
${DESTDIR}/usr/lib/tmpfiles.d/console.conf
chmod 644 ${DESTDIR}/usr/lib/tmpfiles.d/console.conf
# Create halt, reboot, shutdown, poweroff compat symlinks. Some
# applications expect them for "normal" use!
vmkdir usr/sbin
for f in halt poweroff shutdown reboot; do
ln -sf /usr/bin/systemctl ${DESTDIR}/usr/sbin/${f}
done
# Create /usr/sbin/init for compatibility.
ln -sf /usr/lib/systemd/systemd ${DESTDIR}/usr/sbin/init
# Remove RPM stuff.
rm -rf ${DESTDIR}/etc/rpm ${DESTDIR}/usr/lib/rpm
# Disable units in /etc; we do this at post-install time.
rm -rf ${DESTDIR}/etc/systemd/system/getty.target.wants
# Create /usr/sbin/udev symlink just for compatibility.
ln -sf /usr/lib/systemd/systemd-udevd ${DESTDIR}/usr/sbin/udevd
# Required dirs at run time.
vinstall ${FILESDIR}/systemd-dirs.tmpfiles 644 \
usr/lib/tmpfiles.d systemd-dirs.conf
# fix .so links in manpage stubs
find ${DESTDIR}/usr/share/man -type f -name '*.[[:digit:]]' \
-exec sed -ri '1s|^\.so (.*)\.([0-9]+)|.so man\2/\1.\2|' {} +
# XXX We don't have pam.d/system-auth, use login pam service instead.
sed -e 's,system-auth,login,g' -i ${DESTDIR}/etc/pam.d/systemd-user
}
libudev-devel_package() {
depends="libudev>=${version}_${revision}"
short_desc+=" - udev library (development files)"
pkg_install() {
vmove usr/include/libudev.h
vmove usr/lib/pkgconfig/libudev.pc
vmove usr/share/pkgconfig/udev.pc
vmove "usr/lib/libudev*.so"
}
}
libudev_package() {
short_desc+=" - udev library"
pkg_install() {
vmove "usr/lib/libudev.so.*"
}
}
systemd-devel_package() {
depends="systemd-libs>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
vmove usr/share/man/man3
vmove usr/share/pkgconfig
}
}
systemd-libs_package() {
short_desc+=" - runtime libraries"
replaces="systemd<43_1"
pkg_install() {
vmove "usr/lib/libsystemd*.so.*"
}
}