From dc6429e189adcaa775648c554256b877ae7fcefd Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sat, 6 Jun 2015 09:38:02 +0200 Subject: [PATCH] systemd: removed; no plans to resurrect this. --- srcpkgs/libgudev-devel | 1 - srcpkgs/libgudev/template | 75 --------- srcpkgs/libudev | 1 - srcpkgs/libudev-devel | 1 - srcpkgs/systemd-devel | 1 - srcpkgs/systemd-libs | 1 - srcpkgs/systemd-python | 1 - srcpkgs/systemd/INSTALL | 16 -- srcpkgs/systemd/files/hostname | 1 - srcpkgs/systemd/files/locale.conf | 2 - srcpkgs/systemd/files/os-release | 4 - srcpkgs/systemd/files/systemd-dirs.tmpfiles | 18 -- srcpkgs/systemd/files/vconsole.conf | 17 -- srcpkgs/systemd/template | 172 -------------------- 14 files changed, 311 deletions(-) delete mode 120000 srcpkgs/libgudev-devel delete mode 100644 srcpkgs/libgudev/template delete mode 120000 srcpkgs/libudev delete mode 120000 srcpkgs/libudev-devel delete mode 120000 srcpkgs/systemd-devel delete mode 120000 srcpkgs/systemd-libs delete mode 120000 srcpkgs/systemd-python delete mode 100644 srcpkgs/systemd/INSTALL delete mode 100644 srcpkgs/systemd/files/hostname delete mode 100644 srcpkgs/systemd/files/locale.conf delete mode 100644 srcpkgs/systemd/files/os-release delete mode 100644 srcpkgs/systemd/files/systemd-dirs.tmpfiles delete mode 100644 srcpkgs/systemd/files/vconsole.conf delete mode 100644 srcpkgs/systemd/template diff --git a/srcpkgs/libgudev-devel b/srcpkgs/libgudev-devel deleted file mode 120000 index 5bd48a4071cedd..00000000000000 --- a/srcpkgs/libgudev-devel +++ /dev/null @@ -1 +0,0 @@ -libgudev \ No newline at end of file diff --git a/srcpkgs/libgudev/template b/srcpkgs/libgudev/template deleted file mode 100644 index f15398fe937951..00000000000000 --- a/srcpkgs/libgudev/template +++ /dev/null @@ -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*" - } -} diff --git a/srcpkgs/libudev b/srcpkgs/libudev deleted file mode 120000 index 1514658181daea..00000000000000 --- a/srcpkgs/libudev +++ /dev/null @@ -1 +0,0 @@ -systemd \ No newline at end of file diff --git a/srcpkgs/libudev-devel b/srcpkgs/libudev-devel deleted file mode 120000 index 1514658181daea..00000000000000 --- a/srcpkgs/libudev-devel +++ /dev/null @@ -1 +0,0 @@ -systemd \ No newline at end of file diff --git a/srcpkgs/systemd-devel b/srcpkgs/systemd-devel deleted file mode 120000 index 1514658181daea..00000000000000 --- a/srcpkgs/systemd-devel +++ /dev/null @@ -1 +0,0 @@ -systemd \ No newline at end of file diff --git a/srcpkgs/systemd-libs b/srcpkgs/systemd-libs deleted file mode 120000 index 1514658181daea..00000000000000 --- a/srcpkgs/systemd-libs +++ /dev/null @@ -1 +0,0 @@ -systemd \ No newline at end of file diff --git a/srcpkgs/systemd-python b/srcpkgs/systemd-python deleted file mode 120000 index 5bd48a4071cedd..00000000000000 --- a/srcpkgs/systemd-python +++ /dev/null @@ -1 +0,0 @@ -libgudev \ No newline at end of file diff --git a/srcpkgs/systemd/INSTALL b/srcpkgs/systemd/INSTALL deleted file mode 100644 index 2ad5bfbd8b779b..00000000000000 --- a/srcpkgs/systemd/INSTALL +++ /dev/null @@ -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 diff --git a/srcpkgs/systemd/files/hostname b/srcpkgs/systemd/files/hostname deleted file mode 100644 index 916d471cd4c99a..00000000000000 --- a/srcpkgs/systemd/files/hostname +++ /dev/null @@ -1 +0,0 @@ -void-live diff --git a/srcpkgs/systemd/files/locale.conf b/srcpkgs/systemd/files/locale.conf deleted file mode 100644 index abfaa52b3b93cb..00000000000000 --- a/srcpkgs/systemd/files/locale.conf +++ /dev/null @@ -1,2 +0,0 @@ -LANG=en_US.UTF-8 -LC_COLLATE=C diff --git a/srcpkgs/systemd/files/os-release b/srcpkgs/systemd/files/os-release deleted file mode 100644 index 6b9b239061d85f..00000000000000 --- a/srcpkgs/systemd/files/os-release +++ /dev/null @@ -1,4 +0,0 @@ -NAME="Void" -ID="void" -PRETTY_NAME="Void Linux" -ANSI_COLOR="1;34" diff --git a/srcpkgs/systemd/files/systemd-dirs.tmpfiles b/srcpkgs/systemd/files/systemd-dirs.tmpfiles deleted file mode 100644 index aaf5d591dfe741..00000000000000 --- a/srcpkgs/systemd/files/systemd-dirs.tmpfiles +++ /dev/null @@ -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 diff --git a/srcpkgs/systemd/files/vconsole.conf b/srcpkgs/systemd/files/vconsole.conf deleted file mode 100644 index 2c3e9f59866f39..00000000000000 --- a/srcpkgs/systemd/files/vconsole.conf +++ /dev/null @@ -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 diff --git a/srcpkgs/systemd/template b/srcpkgs/systemd/template deleted file mode 100644 index d53b5ed42545ea..00000000000000 --- a/srcpkgs/systemd/template +++ /dev/null @@ -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 " -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.*" - } -}