summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Heim <phreak@gentoo.org>2006-10-12 11:21:27 +0000
committerChristian Heim <phreak@gentoo.org>2006-10-12 11:21:27 +0000
commitdda6778693dad510d5c49cea58bc6aa85d8ae1d7 (patch)
treec5222b9889b766cc9b9249e55e2841fd70cf442f /sys-cluster
parentManifest/digest update. (diff)
downloadoverlay-dda6778693dad510d5c49cea58bc6aa85d8ae1d7.tar.gz
overlay-dda6778693dad510d5c49cea58bc6aa85d8ae1d7.tar.bz2
overlay-dda6778693dad510d5c49cea58bc6aa85d8ae1d7.zip
Now in portage!
svn path=/; revision=70
Diffstat (limited to 'sys-cluster')
-rw-r--r--sys-cluster/vzctl/Manifest17
-rw-r--r--sys-cluster/vzctl/files/digest-vzctl-3.0.126
-rw-r--r--sys-cluster/vzctl/files/vzctl-3.0.12-libdir.patch38
-rw-r--r--sys-cluster/vzctl/files/vzctl-3.0.12-libdir64.patch38
-rw-r--r--sys-cluster/vzctl/vzctl-3.0.12.ebuild81
5 files changed, 0 insertions, 180 deletions
diff --git a/sys-cluster/vzctl/Manifest b/sys-cluster/vzctl/Manifest
deleted file mode 100644
index 8a9d608..0000000
--- a/sys-cluster/vzctl/Manifest
+++ /dev/null
@@ -1,17 +0,0 @@
-AUX vzctl-3.0.12-libdir.patch 1289 RMD160 5c85a854df124012e0600af25fc52978fa5ea4a9 SHA1 af4cc01aaf66ada6f419503c043ecb636b914279 SHA256 9b204f5170d8ce21d78670137daf5ca79343688795c8c60c015a4234cdfe03b6
-MD5 b89fa58129bab3bc5f9922b6c3f02648 files/vzctl-3.0.12-libdir.patch 1289
-RMD160 5c85a854df124012e0600af25fc52978fa5ea4a9 files/vzctl-3.0.12-libdir.patch 1289
-SHA256 9b204f5170d8ce21d78670137daf5ca79343688795c8c60c015a4234cdfe03b6 files/vzctl-3.0.12-libdir.patch 1289
-AUX vzctl-3.0.12-libdir64.patch 1291 RMD160 07cd8baf2082db77945bbe5f60cbe15c819f0c0f SHA1 c1ac0768e06b2874881bedb6808496d8bb1fde0a SHA256 c2c2bc56ca52f483b0a5cfc3d74bd2d997e653ab157d99bab193953824e8ed29
-MD5 dd1a13b6cca0095ae5be9730545ba91c files/vzctl-3.0.12-libdir64.patch 1291
-RMD160 07cd8baf2082db77945bbe5f60cbe15c819f0c0f files/vzctl-3.0.12-libdir64.patch 1291
-SHA256 c2c2bc56ca52f483b0a5cfc3d74bd2d997e653ab157d99bab193953824e8ed29 files/vzctl-3.0.12-libdir64.patch 1291
-DIST vzctl-3.0.12.tar.bz2 127309 RMD160 9e94be2d61a8e1c9c9be1947d45677c24f763649 SHA1 14cecffd1b28d319553d68327b82aa9b494c1270 SHA256 d165f551c2004211d4001d5f8764dbe0249d61fe61632f4ce5b26c01b99897f9
-DIST vzctl-patches-3.0.12.tar.bz2 3307 RMD160 6f504387ed20f25f9f10724e835a3207be0f49af SHA1 06b66969ac3817ae42cca1e541445698bc36df72 SHA256 0efd0c067743501dc12f96d58849717e1442e1b8e4a6763a9e3ee5d32c35ac41
-EBUILD vzctl-3.0.12.ebuild 2306 RMD160 8fea90c6ac9158fa557650f9ff870e22dedff4e5 SHA1 f6e584906c21e72f17306d06d1133016ba459810 SHA256 0760a8194ee472c23933224b05942c25da467f5cd6ac3ea99c316cbfc4d4c74e
-MD5 78abfe4d9332fb63ed2d563881bae9d1 vzctl-3.0.12.ebuild 2306
-RMD160 8fea90c6ac9158fa557650f9ff870e22dedff4e5 vzctl-3.0.12.ebuild 2306
-SHA256 0760a8194ee472c23933224b05942c25da467f5cd6ac3ea99c316cbfc4d4c74e vzctl-3.0.12.ebuild 2306
-MD5 2ca9ffa4469faf6fe584f874f0c75d86 files/digest-vzctl-3.0.12 500
-RMD160 446a01823a163383d5fbaf092778fbc5a6333dcb files/digest-vzctl-3.0.12 500
-SHA256 6343368ebc79899582e3ca7a4229314df2555f110410e051c71ce7c1ce492db0 files/digest-vzctl-3.0.12 500
diff --git a/sys-cluster/vzctl/files/digest-vzctl-3.0.12 b/sys-cluster/vzctl/files/digest-vzctl-3.0.12
deleted file mode 100644
index fc32606..0000000
--- a/sys-cluster/vzctl/files/digest-vzctl-3.0.12
+++ /dev/null
@@ -1,6 +0,0 @@
-MD5 ba83f2b8949d9c1ed469bd325fb47840 vzctl-3.0.12.tar.bz2 127309
-RMD160 9e94be2d61a8e1c9c9be1947d45677c24f763649 vzctl-3.0.12.tar.bz2 127309
-SHA256 d165f551c2004211d4001d5f8764dbe0249d61fe61632f4ce5b26c01b99897f9 vzctl-3.0.12.tar.bz2 127309
-MD5 2c63e918c4a4946d0ba752ad5081a57a vzctl-patches-3.0.12.tar.bz2 3307
-RMD160 6f504387ed20f25f9f10724e835a3207be0f49af vzctl-patches-3.0.12.tar.bz2 3307
-SHA256 0efd0c067743501dc12f96d58849717e1442e1b8e4a6763a9e3ee5d32c35ac41 vzctl-patches-3.0.12.tar.bz2 3307
diff --git a/sys-cluster/vzctl/files/vzctl-3.0.12-libdir.patch b/sys-cluster/vzctl/files/vzctl-3.0.12-libdir.patch
deleted file mode 100644
index 5f363df..0000000
--- a/sys-cluster/vzctl/files/vzctl-3.0.12-libdir.patch
+++ /dev/null
@@ -1,38 +0,0 @@
-diff --git vzctl-3.0.12.orig/src/Makefile vzctl-3.0.12/src/Makefile
-index a8be2d2..2c3adbc 100644
---- vzctl-3.0.12.orig/src/Makefile
-+++ vzctl-3.0.12/src/Makefile
-@@ -17,7 +17,7 @@ #
- INSTALL = install
- PREFIX = /usr
- SBINDIR = $(PREFIX)/sbin
-- LIBDIR = $(PREFIX)/lib/vzctl/lib
-+ LIBDIR = $(PREFIX)/lib
- CONFDIR = /etc/vz
- GLBCONFIG = $(CONFDIR)/vz.conf
- VPSCONFDIR = $(CONFDIR)/conf
-@@ -64,7 +64,6 @@ LIB_vzctl = libvzctl.so.$(LIB_VER)
- LIB_simfs = libvzctl-simfs.so.$(LIB_VER)
- LIB_fs = $(LIB_simfs)
-
--LDFLAGS += -Wl,-rpath=$(LIBDIR)
- LIBSCRIPTS = vps-create vps-postcreate vps-net_add vps-net_del vps-stop \
- vps-functions
-
-@@ -103,14 +102,14 @@ check-version:
- $(CC) -c $(CFLAGS) $(SHAREDLIB_CFLAGS) $(INC) $< -o $@
-
- $(LIB_fs) : $(OBJ_simfs) lib/logger.lo
-- $(CC) $(CFLAGS) $(INC) $(LDFLAGS) $^ -shared -o $@
-+ $(CC) $(CFLAGS) $(INC) $(LDFLAGS) -shared --Wl,-soname,$@ -o $@ $^
-
- libvzctl.a: $(OBJ_libvzctl) $(OBJ_simfs)
- ar scq $@ $+
- ranlib $@
-
- $(LIB_vzctl) : $(OBJ_simfs) $(OBJ_libvzctl)
-- $(CC) $(CFLAGS) $(INC) $(LDFLAGS) $^ $(LD_FLAGS) -shared -o $@
-+ $(CC) $(CFLAGS) $(INC) $(LDFLAGS) -shared --Wl,-soname,$@ -o $@ $^
-
- vzctl-static: $(OBJ_vzctl) libvzctl.a
- $(CC) $(CFLAGS) $(INC) $(LDFLAGS) $^ -rdynamic -ldl -lutil -o $@
diff --git a/sys-cluster/vzctl/files/vzctl-3.0.12-libdir64.patch b/sys-cluster/vzctl/files/vzctl-3.0.12-libdir64.patch
deleted file mode 100644
index d04d7f6..0000000
--- a/sys-cluster/vzctl/files/vzctl-3.0.12-libdir64.patch
+++ /dev/null
@@ -1,38 +0,0 @@
-diff --git vzctl-3.0.12.orig/src/Makefile vzctl-3.0.12/src/Makefile
-index a8be2d2..2c3adbc 100644
---- vzctl-3.0.12.orig/src/Makefile
-+++ vzctl-3.0.12/src/Makefile
-@@ -17,7 +17,7 @@ #
- INSTALL = install
- PREFIX = /usr
- SBINDIR = $(PREFIX)/sbin
-- LIBDIR = $(PREFIX)/lib/vzctl/lib
-+ LIBDIR = $(PREFIX)/lib64
- CONFDIR = /etc/vz
- GLBCONFIG = $(CONFDIR)/vz.conf
- VPSCONFDIR = $(CONFDIR)/conf
-@@ -64,7 +64,6 @@ LIB_vzctl = libvzctl.so.$(LIB_VER)
- LIB_simfs = libvzctl-simfs.so.$(LIB_VER)
- LIB_fs = $(LIB_simfs)
-
--LDFLAGS += -Wl,-rpath=$(LIBDIR)
- LIBSCRIPTS = vps-create vps-postcreate vps-net_add vps-net_del vps-stop \
- vps-functions
-
-@@ -103,14 +102,14 @@ check-version:
- $(CC) -c $(CFLAGS) $(SHAREDLIB_CFLAGS) $(INC) $< -o $@
-
- $(LIB_fs) : $(OBJ_simfs) lib/logger.lo
-- $(CC) $(CFLAGS) $(INC) $(LDFLAGS) $^ -shared -o $@
-+ $(CC) $(CFLAGS) $(INC) $(LDFLAGS) -shared --Wl,-soname,$@ -o $@ $^
-
- libvzctl.a: $(OBJ_libvzctl) $(OBJ_simfs)
- ar scq $@ $+
- ranlib $@
-
- $(LIB_vzctl) : $(OBJ_simfs) $(OBJ_libvzctl)
-- $(CC) $(CFLAGS) $(INC) $(LDFLAGS) $^ $(LD_FLAGS) -shared -o $@
-+ $(CC) $(CFLAGS) $(INC) $(LDFLAGS) -shared --Wl,-soname,$@ -o $@ $^
-
- vzctl-static: $(OBJ_vzctl) libvzctl.a
- $(CC) $(CFLAGS) $(INC) $(LDFLAGS) $^ -rdynamic -ldl -lutil -o $@
diff --git a/sys-cluster/vzctl/vzctl-3.0.12.ebuild b/sys-cluster/vzctl/vzctl-3.0.12.ebuild
deleted file mode 100644
index 7195d7e..0000000
--- a/sys-cluster/vzctl/vzctl-3.0.12.ebuild
+++ /dev/null
@@ -1,81 +0,0 @@
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-inherit bash-completion eutils flag-o-matic multilib
-
-DESCRIPTION="OpenVZ VPS control utility"
-HOMEPAGE="http://openvz.org/"
-SRC_URI="http://download.openvz.org/utils/${PN}/${PV}/src/${P}.tar.bz2
- http://dev.gentoo.org/~phreak/distfiles/${PN}-patches-${PVR}.tar.bz2
- http://dev.gentoo.org/~hollow/distfiles/${PN}-patches-${PVR}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="bash-completion logrotate udev"
-
-RDEPEND="logrotate? ( app-admin/logrotate )
- net-firewall/iptables
- sys-apps/ed
- sys-apps/iproute2
- sys-fs/vzquota
- udev? ( sys-fs/udev )
- virtual/cron"
-
-DEPEND="${RDEPEND}"
-
-src_unpack() {
- unpack ${A}
-
- epatch "${WORKDIR}/patches"/*.patch
-}
-
-src_compile() {
- append-flags -Wall -g2
- emake CFLAGS="${CFLAGS}" || die
-}
-
-src_install() {
- make DESTDIR="${D}" LIBDIR="/usr/$(get_libdir)/vzctl" install install-gentoo || die "make install failed"
-
- # the get_libdir in `make install' breaks src/Makefile's logic (and thus all
- # contained tools), so we have to create a env.d entry for vzctl's LDPATH.
- dodir /etc/env.d
- echo "LDPATH=\"/usr/$(get_libdir)/vzctl\"" > "${D}"/etc/env.d/05vzctl
-
- # Remove udev files unless USE=udev
- use udev || rm -rf "${D}"/etc/udev
-
- # Remove the bash-completion and use dobashcompletion to install it in the
- # right place!
- rm -rf "${D}"/etc/bash_completion.d
- dobashcompletion "${S}"/etc/bash_completion.d/vzctl.sh vzctl
-
- # Remove the logrotate entr unless USE=logrotate
- use logrotate || rm -rf "${D}"/etc/logrotate.d
-
- # Provide a symlink for vz.conf (fixing #138462)
-# dosym /etc/vz/vz.conf /etc/conf.d/vz
-
- # Remove cruftie sysconfig entries
- # We can get rid of that once ovz #254 is solved
- rm -rf "${D}"/etc/sysconfig
-
- # Install gentoo specific init script
-# rm -f "${D}"/etc/init.d/*
-# newinitd "${WORKDIR}"/init.d/vz.initd vz
-}
-
-pkg_postinst() {
- if has_version "<3.0.10"; then
- ewarn
- ewarn "The location of some vzctl files have changed. Most notably,"
- ewarn "VE configuration files and samples directory has changed from"
- ewarn "/etc/vz to /etc/vz/conf. In order to be able to work with"
- ewarn "your VEs, please do the following:"
- ewarn
- ewarn "bash# mv /etc/vz/[0-9]*.conf /etc/vz/conf/"
- ewarn
- fi
-}