diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2008-08-20 17:45:33 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2008-08-20 17:45:33 +0000 |
commit | b158544e04c35d7a5ac17694936fdb1855bb21a1 (patch) | |
tree | 20c1753fce4d3067c53f7e303a4f87e71a5cc6d2 /sys-cluster | |
parent | arm/s390/sh stable (diff) | |
download | historical-b158544e04c35d7a5ac17694936fdb1855bb21a1.tar.gz historical-b158544e04c35d7a5ac17694936fdb1855bb21a1.tar.bz2 historical-b158544e04c35d7a5ac17694936fdb1855bb21a1.zip |
clean out old, dep-broken ebuilds
Package-Manager: portage-2.1.4.4
Diffstat (limited to 'sys-cluster')
-rw-r--r-- | sys-cluster/gnbd/ChangeLog | 8 | ||||
-rw-r--r-- | sys-cluster/gnbd/Manifest | 23 | ||||
-rw-r--r-- | sys-cluster/gnbd/files/gnbd-client-1.0x.conf | 5 | ||||
-rwxr-xr-x | sys-cluster/gnbd/files/gnbd-client-1.0x.rc | 102 | ||||
-rw-r--r-- | sys-cluster/gnbd/files/gnbd-srv-1.0x.conf | 5 | ||||
-rwxr-xr-x | sys-cluster/gnbd/files/gnbd-srv-1.0x.rc | 81 | ||||
-rw-r--r-- | sys-cluster/gnbd/gnbd-1.02.00-r1.ebuild | 57 | ||||
-rw-r--r-- | sys-cluster/gnbd/gnbd-1.03.00.ebuild | 46 | ||||
-rw-r--r-- | sys-cluster/gnbd/gnbd-1.04.00.ebuild | 46 |
9 files changed, 8 insertions, 365 deletions
diff --git a/sys-cluster/gnbd/ChangeLog b/sys-cluster/gnbd/ChangeLog index 79d6d76a08f5..93291fc6cca5 100644 --- a/sys-cluster/gnbd/ChangeLog +++ b/sys-cluster/gnbd/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sys-cluster/gnbd # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/gnbd/ChangeLog,v 1.25 2008/03/23 16:39:50 xmerlin Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/gnbd/ChangeLog,v 1.26 2008/08/20 17:45:32 mr_bones_ Exp $ + + 20 Aug 2008; Michael Sterrett <mr_bones_@gentoo.org> + -files/gnbd-client-1.0x.conf, -files/gnbd-srv-1.0x.conf, + -files/gnbd-client-1.0x.rc, -files/gnbd-srv-1.0x.rc, + -gnbd-1.02.00-r1.ebuild, -gnbd-1.03.00.ebuild, -gnbd-1.04.00.ebuild: + clean out old, dep-broken ebuilds *gnbd-2.02.00-r1 (23 Mar 2008) diff --git a/sys-cluster/gnbd/Manifest b/sys-cluster/gnbd/Manifest index 379a936efe0a..adb003f8ac87 100644 --- a/sys-cluster/gnbd/Manifest +++ b/sys-cluster/gnbd/Manifest @@ -1,33 +1,12 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - -AUX gnbd-client-1.0x.conf 248 RMD160 31571aa4c32728bc131e0af714b7591d83aa31eb SHA1 5bf17af9a31bba327662b61521e920d60961d969 SHA256 3831db69bc1b092f019d51f952d74f4f1e1c585014ff674851ac33d9a2dea498 -AUX gnbd-client-1.0x.rc 2766 RMD160 3207ff76d087cd1aa52a3df84e27632db3132f01 SHA1 5e9c6384b79539bea83104d48a8fb7352601250c SHA256 1e30471a26ce52e4effb1bd7e2e67404910755bc9c1a52d9fd45820a176f213e AUX gnbd-client-2.0x.conf 248 RMD160 c24dfeeb546f2ad58f63bf1a776cf78f021b0dcb SHA1 135f16705101f4b2f47ca0b71f5f2876eb3b0ba3 SHA256 045c9af6236fd3dcaaa96faf8477cd6d154228755b6ed465c70ed2d80299dbf8 AUX gnbd-client-2.0x.rc 2789 RMD160 21e65237ab2d1af6afab59162e3e6e7202cafd38 SHA1 81eca7c5facaaa293063d7f000343a274a8a97cb SHA256 12abe553131c142ab151975ce34fa387849932c826e8a38ff61be61705701ac2 -AUX gnbd-srv-1.0x.conf 242 RMD160 eba961749867be35b5274b03bf67f7e8fbe334a3 SHA1 55fe78251ef779452d0f52c31f4525777fdb9e7f SHA256 3e9c1c3904e4a293164c2b2656b5e525d68d32ad09e9b06a6ebc0faadfb9c998 -AUX gnbd-srv-1.0x.rc 1972 RMD160 770ae1923613b31010b2f66720fe4a7c5021a18e SHA1 3f20cfd8b35fb85787105f0fe4ea41de4352e99a SHA256 53d342addec5414a014ca0c3bf05e60337cd0d3907be1c64ff250c8ed4282068 AUX gnbd-srv-2.0x.conf 242 RMD160 97ffaf3641fb64c874c5ca285ec353654bce46b3 SHA1 750c15f28f5028fc8c36106f2b83dc09e6bef56e SHA256 d1bc310481ab4005c45623d1d57e1c4ee429865af4788e5f685122dd73f8e9e4 AUX gnbd-srv-2.0x.rc 1970 RMD160 52a630cb0caca235ee8ce86a6469e4f486e7864d SHA1 5da33a8592076083a062d4cf893f0ec454a902c8 SHA256 6165a67efd4b0db836607d6a371204853f99bfc53085c0d08796243021666a36 AUX gnbd.devfs 332 RMD160 d811c80610b0b1618e70cac0af588f3f7d0d04ff SHA1 a44dc1c955b13b4268843c64d63d0dcd4b0fd6a0 SHA256 8a67ac6ad801178db5783595642f54f97fb6ecf5a23aebc631b6e33930c9d06e AUX gnbdtab 177 RMD160 69bddcac6110f5ac127dcec937361dc2551a9c02 SHA1 e43b0c3f68bc994531f017d6094c2eae72c216ae SHA256 271f519506eda3a4630ac6870bc2b5ad1e9b6ff01f063d63c6970e1ed9fd47a1 -DIST cluster-1.02.00.tar.gz 1356451 RMD160 e9c0cdd1f5a7542c8a4ea38ccf6d057767269dc5 SHA1 d74cadb1ef21d1cfda333b20d7ef20272e0002d6 SHA256 de45885146f1481808f7a34af5e6b7e2042895a4e3844eaa6161f942345c7849 -DIST cluster-1.03.00.tar.gz 1658274 RMD160 6fc16e2edba73dd1a83ecfad749b1553eca6d938 SHA1 c205d8ec034433c33f26724f7f69b0028d2a63d4 SHA256 e61c2438c7ee8d546aec9dd86ee1851c9a71f127c25ad1fb0c59eb4ed534e97b -DIST cluster-1.04.00.tar.gz 1663798 RMD160 5b241f38123c9ad65faf2a9eda7aa3e2dabee839 SHA1 af3bb244a11a6a26c31b142009f6c1f771799337 SHA256 6f4b48e67383681ea6ad6e2907b56e755049816186375c4f2bcb9482da31c2c2 DIST cluster-2.02.00.tar.gz 1764851 RMD160 b5a56a0ae69c2959c85e5e89319f96c974d8efb1 SHA1 c86510ed8be84704271c10466cd5a4732eb5f6c9 SHA256 92117aa02d17cdde9ae7d6e71c2b12314a99e24e90f131c491e97d8fbda52196 DIST gfs-2.02.00-20080323-cvs.patch.bz2 25743 RMD160 648b85f02231bd81a8cfcc6a334d70b76a445780 SHA1 3061d9b4a703dd582b30fc60b981f5a8c2fc863d SHA256 699297ea985d7eb69c94c27d0cb661187047afe56110b88bab68afdf15f1b072 -DIST gnbd-1.02.00-20060713-cvs.patch.gz 5191 RMD160 a87ae833bb486a10d84771c09b81c8ce50e3c5ba SHA1 ef959b7fab4b47a4a78cdd0dcac379efee2923ac SHA256 ae877ec5d3665da985e59605f2358bddbc6e77bd282a4dd85a9db1aab5068ef3 -EBUILD gnbd-1.02.00-r1.ebuild 1501 RMD160 04528a2047fafa0eb026bba570bb3425dbb7b36a SHA1 de261df603c82ed39aa6a8d91675cf823ac6a405 SHA256 556f7324d28b668fb88158ab3b29a11e05f751a9e6de18b03642f9d3f5ed43b0 -EBUILD gnbd-1.03.00.ebuild 1219 RMD160 1d329a6b85868f3d9bf3ba4142d493b6511a39cd SHA1 9cd328a5a89b80a502d9a014a44eb70f154688c9 SHA256 fad891d516c14704c758ab8042889fd796fa2c7b52b6ccf40890fd2774dd6283 -EBUILD gnbd-1.04.00.ebuild 1220 RMD160 f0be805e4bcc8d34c890293ef2158c9b46f5b670 SHA1 e7db605867501810587b32fea4f13e674104869b SHA256 204ac708bc8f6e11dba104868f17836a25de9bea3e8cb2bea1b4cb1cad6fa6da EBUILD gnbd-2.02.00-r1.ebuild 1997 RMD160 1ffdadd7b54ccd3d504b1a8081685cda841f269c SHA1 78fee336e6e1771b538a9f005a4c860d3b3f2240 SHA256 e18932b94a90958c34bbf06f08f8f6d0d32f02c919061e51a0d7b701bb1ae85f EBUILD gnbd-2.02.00.ebuild 1721 RMD160 48b86c1d77b464c364cde8df16cb30ac17b87bf2 SHA1 7e5d4e43b8ca28b3277db67fcf5967c7712d21e3 SHA256 b437c009040c48dd205a5e24a4f4d8219274608af6e07a0efb1c23af4965a9bb -MISC ChangeLog 4332 RMD160 005200672cacb8ed614b612458ebf57e05a4c927 SHA1 a6747f906ee85e0821b69da5a6b2016289ef1fff SHA256 efdea759c1a44d6c767fc2d8362da77d214158446357673cd21df0805e5564d6 +MISC ChangeLog 4611 RMD160 9921c3542cbacc5b0bbe76b9d1cced67d52aa8e0 SHA1 91f956831d6812828cb843b7fc852ad4d1bfcaad SHA256 a26bc7429fdbcadddc8e4fd041353dbebce102fa28a21fe0ab4010383fd89088 MISC metadata.xml 229 RMD160 4dcf17b88c5f4db2e817f473f3e8269b0bff2e6e SHA1 e6315be43241c55bdc0d12a42fa05632c5ff9b79 SHA256 49e13d2d49bef7298e3bb665ebeceeff9b0880fae5ff639cb8405993504f244f ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.7 (GNU/Linux) - -iD8DBQFH5offgMUyd/cdjWsRAjR+AJ9WRmqfYuVf1kXc3eEVMHovhJeVhwCdGXYN -B9G6YZ4CpxyPykTNHl/bNb8= -=YPw7 ------END PGP SIGNATURE----- diff --git a/sys-cluster/gnbd/files/gnbd-client-1.0x.conf b/sys-cluster/gnbd/files/gnbd-client-1.0x.conf deleted file mode 100644 index 77590695b69f..000000000000 --- a/sys-cluster/gnbd/files/gnbd-client-1.0x.conf +++ /dev/null @@ -1,5 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/gnbd/files/gnbd-client-1.0x.conf,v 1.1 2008/03/17 16:59:57 xmerlin Exp $ - -GNBD_CLIENT_OPTS="" diff --git a/sys-cluster/gnbd/files/gnbd-client-1.0x.rc b/sys-cluster/gnbd/files/gnbd-client-1.0x.rc deleted file mode 100755 index e14cc30bf829..000000000000 --- a/sys-cluster/gnbd/files/gnbd-client-1.0x.rc +++ /dev/null @@ -1,102 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License, v2 or later -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/gnbd/files/gnbd-client-1.0x.rc,v 1.1 2008/03/17 16:59:57 xmerlin Exp $ - -depend() { - use dns logger - need net - need fenced - after gnbd-srv -} - -load_modules() { - local module modules - modules=$1 - - for module in ${modules}; do - ebegin "Loading ${module} kernel module" - modprobe ${module} - eend $? "Failed to load ${module} kernel module" - done -} - -unload_modules() { - local module modules - modules=$1 - - for module in ${modules}; do - ebegin "Unloading ${module} kernel module" - modprobe -r ${module} - eend $? "Failed to unload ${module} kernel module" - done -} - - -start() { - if [ ! -f /etc/gnbdtab ] ; then - eerror "Please create /etc/gnbdtab" - eerror "Sample conf: /etc/gnbdtab" - return 1 - fi - - load_modules gnbd - - GNBD=`cat /etc/gnbdtab | egrep '^import'` - if [ -n "$GNBD" ] ; then - ebegin "Importing all GNBDs devices" - einfo "$(awk '/^import/ { print "--> server:", $2 }' /etc/gnbdtab )" - cat /etc/gnbdtab | awk '/^import/ { print "-i", $2 }' | xargs -l gnbd_import ${GNBD_CLIENT_OPTS} > /dev/null - eend $? "Failed to import gnbd devices" - fi -} - -stop() { - - # umount manually mounted gfs filesystems - local sig retry - local remaining="$(awk '$3 ~ /gfs/ && $1 ~ /\/dev\/gnbd\// { if ($2 != "/") print $2 }' /proc/mounts | sort -r)" - - if [ -z "${remaining}" ] - then - ebegin "Unmounting GFS filesystems (GNBDs imported devices)" - eend 0 - else - sig= - retry=3 - while [ -n "${remaining}" -a "${retry}" -gt 0 ] - do - if [ "${retry}" -lt 3 ] - then - ebegin "Unmounting GFS filesystems (retry)" - umount ${remaining} &>/dev/null - eend $? "Failed to unmount GFS filesystems this retry" - else - ebegin "Unmounting GFS filesystems" - umount ${remaining} &>/dev/null - eend $? "Failed to unmount GFS filesystems" - fi - remaining="$(awk '$3 ~ /gfs/ && $1 ~ /\/dev\/gnbd\// { if ($2 != "/") print $2 }' /proc/mounts | sort -r)" - [ -z "${remaining}" ] && break - /bin/fuser -k -m ${sig} ${remaining} &>/dev/null - sleep 5 - retry=$((${retry} -1)) - sig=-9 - done - fi - - local GNBD_MONITOR_PROC - - ebegin "Unimporting all GNBDs devices" - gnbd_import -q -R &> /dev/null - eend $? - - GNBD_MONITOR_PROC="$(pgrep gnbd_clusterd)" - if [ -n "${GNBD_MONITOR_PROC}" ]; then - ebegin "Stopping gnbd_monitor" - killall gnbd_monitor &> /dev/null - eend $? - fi - - unload_modules gnbd -} diff --git a/sys-cluster/gnbd/files/gnbd-srv-1.0x.conf b/sys-cluster/gnbd/files/gnbd-srv-1.0x.conf deleted file mode 100644 index f6cabbce3ca6..000000000000 --- a/sys-cluster/gnbd/files/gnbd-srv-1.0x.conf +++ /dev/null @@ -1,5 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/gnbd/files/gnbd-srv-1.0x.conf,v 1.1 2008/03/17 16:59:57 xmerlin Exp $ - -GNBD_SRV_OPTS="" diff --git a/sys-cluster/gnbd/files/gnbd-srv-1.0x.rc b/sys-cluster/gnbd/files/gnbd-srv-1.0x.rc deleted file mode 100755 index b057ef3e329a..000000000000 --- a/sys-cluster/gnbd/files/gnbd-srv-1.0x.rc +++ /dev/null @@ -1,81 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License, v2 or later -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/gnbd/files/gnbd-srv-1.0x.rc,v 1.1 2008/03/17 16:59:57 xmerlin Exp $ - -depend() { - use dns logger - need net - need fenced -} - -GNBD_SRV_TIMEOUT=5 - -start() { - local GNBD - - if [ ! -f /etc/gnbdtab ] ; then - eerror "Please create /etc/gnbdtab" - eerror "Sample conf: /etc/gnbdtab" - return 1 - fi - - ebegin "Loading needed kernel modules for gnbd" - modprobe gnbd - eend $? "Failed to load needed kernel modules for gnbd" - - ebegin "Starting gnbd_serv" - start-stop-daemon --start --quiet --exec /sbin/gnbd_serv -- -q - eend $? "Failed to start gnbd_serv" - - GNBD=`cat /etc/gnbdtab | egrep '^export'` - if [ -n "$GNBD" ] ; then - ebegin "Exporting all GNBDs devices" - einfo "$(awk '/^export/ { print "--> device:", $4, "as", $3 }' /etc/gnbdtab )" - cat /etc/gnbdtab | awk '/^export/ { print "-d", $4, "-e", $3 }' | xargs -l gnbd_export ${GNBD_SRV_OPTS} > /dev/null - eend $? "Failed to export gnbd devices" - fi -} - -stop() { - - local GNBD_SRV_PROCS GNBD_CLUSTERD_PROC - - ebegin "Unexporting all GNBDs devices" - gnbd_export -q -R &> /dev/null - eend $? - - if [ "$?" -ne 0 ] - then - ewend 1 "Failed to unexport all gnbd devices" - else - eend 0 - - fi - - ebegin "Stopping gnbd_serv" - - GNBD_SRV_PROCS="$(pgrep gnbd_serv)" - while [ -n "${GNBD_SRV_PROCS}" ] && [ ${GNBD_SRV_TIMEOUT} -gt 0 ] ; do - gnbd_serv -k &> /dev/null - sleep 1 - GNBD_SRV_TIMEOUT=$(( ${GNBD_SRV_TIMEOUT}-1 )) - GNBD_SRV_PROCS="$(pgrep gnbd_serv)" - done - - if [ -n "${GNBD_SRV_PROCS}" ]; then - gnbd_serv -K &> /dev/null - fi - eend $? "Failed to stop gnbd_serv" - - GNBD_CLUSTERD_PROC="$(pgrep gnbd_clusterd)" - if [ -n "${GNBD_CLUSTERD_PROC}" ]; then - ebegin "Stopping gnbd_clusterd" - killall gnbd_clusterd &> /dev/null - eend $? - fi - - ebegin "Unloading gnbd kernel module" - modprobe -r gnbd - eend $? "Failed to unload gnbd kernel module" -} diff --git a/sys-cluster/gnbd/gnbd-1.02.00-r1.ebuild b/sys-cluster/gnbd/gnbd-1.02.00-r1.ebuild deleted file mode 100644 index da34c6f647e7..000000000000 --- a/sys-cluster/gnbd/gnbd-1.02.00-r1.ebuild +++ /dev/null @@ -1,57 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/gnbd/gnbd-1.02.00-r1.ebuild,v 1.6 2008/03/17 16:59:56 xmerlin Exp $ - -inherit eutils - -CLUSTER_RELEASE="1.02.00" -MY_P="cluster-${CLUSTER_RELEASE}" -CVS_RELEASE="20060713" - -DESCRIPTION="GFS Network Block Devices" -HOMEPAGE="http://sources.redhat.com/cluster/" -SRC_URI="ftp://sources.redhat.com/pub/cluster/releases/${MY_P}.tar.gz - mirror://gentoo/${PN}-${PV}-${CVS_RELEASE}-cvs.patch.gz - http://dev.gentoo.org/~xmerlin/gfs/${PN}-${PV}-${CVS_RELEASE}-cvs.patch.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~ppc x86" -IUSE="" - -DEPEND="=sys-cluster/magma-${CLUSTER_RELEASE}* - =sys-cluster/gnbd-headers-${CLUSTER_RELEASE}* - <sys-fs/sysfsutils-2.0.0" - -RDEPEND="${DEPEND}" - -S="${WORKDIR}/${MY_P}/${PN}" - -src_unpack() { - unpack ${A} - cd "${S}" - epatch "${WORKDIR}"/${PN}-${PV}-${CVS_RELEASE}-cvs.patch || die -} - -src_compile() { - ./configure || die "configure problem" - emake || die "compile problem" -} - -src_install() { - emake DESTDIR="${D}" install || die "install problem" - - newinitd "${FILESDIR}"/${PN}-client-1.0x.rc ${PN}-client || die - newinitd "${FILESDIR}"/${PN}-srv-1.0x.rc ${PN}-srv || die - - doconfd "${FILESDIR}"/${PN}-client-1.0x.conf || die - doconfd "${FILESDIR}"/${PN}-srv-1.0x.conf || die - - insinto /etc - doins "${FILESDIR}"/gnbdtab - - if $(has_version sys-fs/devfsd ) ; then - insinto /etc/devfs.d/ - newins "${FILESDIR}"/gnbd.devfs gnbd - fi -} diff --git a/sys-cluster/gnbd/gnbd-1.03.00.ebuild b/sys-cluster/gnbd/gnbd-1.03.00.ebuild deleted file mode 100644 index 8bcb7ee64938..000000000000 --- a/sys-cluster/gnbd/gnbd-1.03.00.ebuild +++ /dev/null @@ -1,46 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/gnbd/gnbd-1.03.00.ebuild,v 1.6 2008/03/17 16:59:56 xmerlin Exp $ - -CLUSTER_RELEASE="1.03.00" -MY_P="cluster-${CLUSTER_RELEASE}" - -DESCRIPTION="GFS Network Block Devices" -HOMEPAGE="http://sources.redhat.com/cluster/" -SRC_URI="ftp://sources.redhat.com/pub/cluster/releases/${MY_P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~ppc x86" -IUSE="" - -DEPEND="=sys-cluster/magma-${CLUSTER_RELEASE}* - =sys-cluster/gnbd-headers-${CLUSTER_RELEASE}* - <sys-fs/sysfsutils-2.0.0" - -RDEPEND="${DEPEND}" - -S="${WORKDIR}/${MY_P}/${PN}" - -src_compile() { - ./configure || die "configure problem" - emake || die "compile problem" -} - -src_install() { - emake DESTDIR="${D}" install || die "install problem" - - newinitd "${FILESDIR}"/${PN}-client-1.0x.rc ${PN}-client || die - newinitd "${FILESDIR}"/${PN}-srv-1.0x.rc ${PN}-srv || die - - doconfd "${FILESDIR}"/${PN}-client-1.0x.conf || die - doconfd "${FILESDIR}"/${PN}-srv-1.0x.conf || die - - insinto /etc - doins "${FILESDIR}"/gnbdtab - - if $(has_version sys-fs/devfsd ) ; then - insinto /etc/devfs.d/ - newins "${FILESDIR}"/gnbd.devfs gnbd - fi -} diff --git a/sys-cluster/gnbd/gnbd-1.04.00.ebuild b/sys-cluster/gnbd/gnbd-1.04.00.ebuild deleted file mode 100644 index b41c6ad7efa2..000000000000 --- a/sys-cluster/gnbd/gnbd-1.04.00.ebuild +++ /dev/null @@ -1,46 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/gnbd/gnbd-1.04.00.ebuild,v 1.2 2008/03/17 16:59:56 xmerlin Exp $ - -CLUSTER_RELEASE="1.04.00" -MY_P="cluster-${CLUSTER_RELEASE}" - -DESCRIPTION="GFS Network Block Devices" -HOMEPAGE="http://sources.redhat.com/cluster/" -SRC_URI="ftp://sources.redhat.com/pub/cluster/releases/${MY_P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~ppc ~x86" -IUSE="" - -DEPEND="=sys-cluster/magma-${CLUSTER_RELEASE}* - =sys-cluster/gnbd-headers-${CLUSTER_RELEASE}* - <sys-fs/sysfsutils-2.0.0" - -RDEPEND="${DEPEND}" - -S="${WORKDIR}/${MY_P}/${PN}" - -src_compile() { - ./configure || die "configure problem" - emake || die "compile problem" -} - -src_install() { - emake DESTDIR="${D}" install || die "install problem" - - newinitd "${FILESDIR}"/${PN}-client-1.0x.rc ${PN}-client || die - newinitd "${FILESDIR}"/${PN}-srv-1.0x.rc ${PN}-srv || die - - doconfd "${FILESDIR}"/${PN}-client-1.0x.conf || die - doconfd "${FILESDIR}"/${PN}-srv-1.0x.conf || die - - insinto /etc - doins "${FILESDIR}"/gnbdtab - - if $(has_version sys-fs/devfsd ) ; then - insinto /etc/devfs.d/ - newins "${FILESDIR}"/gnbd.devfs gnbd - fi -} |