From fbcc6f9be7990257caf64ffd29863aeeac727cb9 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sat, 28 Mar 2009 15:30:52 +0100 Subject: [PATCH] Remove initng*, it won't be supported. --HG-- extra : convert_revision : b43351a9c8a1681a7f327cdb486b34767135291f --- templates/initng-ifiles/INSTALL | 25 ----------------------- templates/initng-ifiles/template | 32 ------------------------------ templates/initng/template | 34 -------------------------------- 3 files changed, 91 deletions(-) delete mode 100644 templates/initng-ifiles/INSTALL delete mode 100644 templates/initng-ifiles/template delete mode 100644 templates/initng/template diff --git a/templates/initng-ifiles/INSTALL b/templates/initng-ifiles/INSTALL deleted file mode 100644 index 4a1b5a30cb8..00000000000 --- a/templates/initng-ifiles/INSTALL +++ /dev/null @@ -1,25 +0,0 @@ -#!/bin/sh -e - -export PATH="/bin:/sbin:/usr/bin:/usr/sbin" - -# $1 = chrootdir -# $2 = action -# $3 = pkgname -# $4 = version - -case "$2" in -pre) - ;; -post) - echo "Running $3-$4 post-installation command..." - if [ "$1" = "NOTSET" ]; then - run_cmd="/sbin/genrunlevel --all" - else - run_cmd="chroot $1 /sbin/genrunlevel --all" - fi - - ${run_cmd} - ;; -esac - -exit 0 diff --git a/templates/initng-ifiles/template b/templates/initng-ifiles/template deleted file mode 100644 index c1dc734f104..00000000000 --- a/templates/initng-ifiles/template +++ /dev/null @@ -1,32 +0,0 @@ -# Template file for 'initng-ifiles' -pkgname=initng-ifiles -version=0.1.5 -distfiles="http://download.initng.org/$pkgname/v0.1/$pkgname-$version.tar.bz2" -build_style=configure -configure_script="cmake" -configure_args="-DINSTALL_AS_INIT=ON - -DSYSCONF_INSTALL_DIR=$XBPS_DESTDIR/$pkgname-$version/etc - -DSBIN_INSTALL_DIR=$XBPS_DESTDIR/$pkgname-$version/sbin - -DLIB_INSTALL_DIR=$XBPS_DESTDIR/$pkgname-$version/lib - -DINCLUDE_INSTALL_DIR=$XBPS_DESTDIR/$pkgname-$version/usr/include - -DDATA_INSTALL_DIR=$XBPS_DESTDIR/$pkgname-$version/usr/share - -DBIN_INSTALL_DIR=$XBPS_DESTDIR/$pkgname-$version/bin ." -short_desc="The next generation init system (init files)" -maintainer="Juan RP " -checksum=157d0fdf9dfffc1285a6669708dc86218a3934faa71acc69a4e3ce76a6424794 -long_desc=" - Initng is a full replacement of the old and in many ways deprecated - sysvinit tool. It is designed to significantly increase the booting - speed of a unix-like operating system by starting processes - asynchronously. - - This packages contains the files necessary to run initng." - -build_depends="cmake-2.6.2 initng-0.6.10.2" -run_depends="glibc-2.8 initng-0.6.10.2 sysklogd-1.5" - -pre_install() -{ - # Replace hardcoded prefix. - sed -i -e "s|@LIB_INSTALL_DIR@|/lib|g" $wrksrc/genrunlevel.in -} diff --git a/templates/initng/template b/templates/initng/template deleted file mode 100644 index 6ed8fc2f14e..00000000000 --- a/templates/initng/template +++ /dev/null @@ -1,34 +0,0 @@ -# Template file for 'initng' -pkgname=initng -version=0.6.10.2 -distfiles="http://download.initng.org/initng/v0.6/initng-0.6.10.2.tar.bz2" -build_style=configure -configure_script="cmake" -configure_args="-DINSTALL_AS_INIT=1 -DSERVICE_CACHE=1 - -DSYSCONF_INSTALL_DIR=$XBPS_DESTDIR/$pkgname-$version/etc - -DSBIN_INSTALL_DIR=$XBPS_DESTDIR/$pkgname-$version/sbin - -DLIB_INSTALL_DIR=$XBPS_DESTDIR/$pkgname-$version/lib - -DINCLUDE_INSTALL_DIR=$XBPS_DESTDIR/$pkgname-$version/usr/include - -DDATA_INSTALL_DIR=$XBPS_DESTDIR/$pkgname-$version/usr/share - -DBIN_INSTALL_DIR=$XBPS_DESTDIR/$pkgname-$version/bin ." -short_desc="The next generation init system" -maintainer="Juan RP " -checksum=5b823f926b19affe2356278986f26d60113c469b3a35783621ae538d3aec1e44 -long_desc=" - Initng is a full replacement of the old and in many ways deprecated - sysvinit tool. It is designed to significantly increase the booting - speed of a unix-like operating system by starting processes - asynchronously." - -conf_files="/etc/initng/killall5-ignore" -build_depends="cmake-2.6.2" -run_depends="glibc-2.8 bash-3.2" - -post_install() -{ - # Make /sbin/initng -> /sbin/init link. - cd $DESTDIR/sbin && ln -sf initng init - # Fix /bin/pidof link. - rm -v $DESTDIR/bin/pidof - cd $DESTDIR/bin && ln -sf ../sbin/killalli5 pidof -}