diff options
Diffstat (limited to 'gentoo')
-rw-r--r-- | gentoo/bcfg2-0.8.7.2.ebuild | 48 | ||||
-rw-r--r-- | gentoo/files/bcfg2-client | 26 | ||||
-rw-r--r-- | gentoo/files/bcfg2-server | 24 | ||||
-rw-r--r-- | gentoo/files/digest-bcfg2-0.6.9.2 | 1 |
4 files changed, 0 insertions, 99 deletions
diff --git a/gentoo/bcfg2-0.8.7.2.ebuild b/gentoo/bcfg2-0.8.7.2.ebuild deleted file mode 100644 index 319c77e5a..000000000 --- a/gentoo/bcfg2-0.8.7.2.ebuild +++ /dev/null @@ -1,48 +0,0 @@ -# Copyright 1999-2004 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -DESCRIPTION="Bcfg2 is a configuration management tool. Package includes client -and server." -HOMEPAGE="http://trac.mcs.anl.gov/projects/bcfg2" - -# MY_PV=`echo $PV | sed -e 's/_//g'` -# SRC_URI="ftp://ftp.mcs.anl.gov/pub/bcfg/${PN}-${MY_PV}.tar.gz" -SRC_URI="ftp://ftp.mcs.anl.gov/pub/bcfg/${P}.tar.gz" -LICENSE="BSD" - -SLOT="0" -KEYWORDS="~x86" -IUSE="" - -# mrj added gamin as an alternative to fam, since that's what i'm using. -DEPEND="dev-python/elementtree - ( || ( app-admin/gamin - app-admin/fam ) )" - -RDEPEND="" - -S=${WORKDIR}/${P} - -src_compile() { - python setup.py build -} - -src_install() { - install -d ${D}/usr/sbin - install -d ${D}/etc/init.d - exeinto /etc/init.d - exeopts -m0755 - doexe ${FILESDIR}/bcfg2-server ${FILESDIR}/bcfg2-client - python setup.py install --root=${D} --record=PY_SERVER_LIBS -} - -pkg_postinst () { - depscan.sh -} - -pkg_postrm () { - [ -f /etc/init.d/bcfg2-client ] && rm -f /etc/init.d/bcfg2-client - [ -f /etc/init.d/bcfg2-server ] && rm -f /etc/init.d/bcfg2-server - depscan.sh -} diff --git a/gentoo/files/bcfg2-client b/gentoo/files/bcfg2-client deleted file mode 100644 index 1d903c737..000000000 --- a/gentoo/files/bcfg2-client +++ /dev/null @@ -1,26 +0,0 @@ -#!/sbin/runscript -# -# bcfg - bcfg configuration client -# -# - -depend () { - need net -} - -start () { - ebegin "Starting bcfg" - if [ -e /etc/bcfg.dont_run ]; then - einfo "bcfg does not need to run" - eend 0 - else - start-stop-daemon --start --quiet \ - --startas /usr/sbin/bcfg.py -- -q -s - eend $? "Failed to start bcfg" - fi -} -stop () { - ebegin "Stopping bcfg" - /bin/true - eend 0 -} diff --git a/gentoo/files/bcfg2-server b/gentoo/files/bcfg2-server deleted file mode 100644 index cb7848350..000000000 --- a/gentoo/files/bcfg2-server +++ /dev/null @@ -1,24 +0,0 @@ -#!/sbin/runscript -# -# bcfgd - bcfg configuration daemon -# -# - -depend () { - need net -} - -start () { - ebegin "Starting bcfgd" - start-stop-daemon --start --quiet --pidfile /var/run/bcfgd.pid \ - --startas /usr/sbin/bcfgd.py -- --daemon=/var/run/bcfgd.pid - eend $? "Failed to start bcfgd" -} - -stop () { - ebegin "Stopping bcfgd" - start-stop-daemon --stop --quiet --pidfile /var/run/bcfgd.pid \ - --signal INT - eend $? "Failed to stop bcfgd" - [ -f /var/run/bcfgd.pid ] && rm -f /var/run/bcfgd.pid -} diff --git a/gentoo/files/digest-bcfg2-0.6.9.2 b/gentoo/files/digest-bcfg2-0.6.9.2 deleted file mode 100644 index 88923ff68..000000000 --- a/gentoo/files/digest-bcfg2-0.6.9.2 +++ /dev/null @@ -1 +0,0 @@ -MD5 1e2585a3655b12123098d721889f7f2a bcfg2-0.6.9.2.tar.gz 70814 |