summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys-cluster/util-vserver/Manifest8
-rw-r--r--sys-cluster/util-vserver/util-vserver-0.30.211-r1.ebuild9
2 files changed, 13 insertions, 4 deletions
diff --git a/sys-cluster/util-vserver/Manifest b/sys-cluster/util-vserver/Manifest
index dab1ec3..02e22e4 100644
--- a/sys-cluster/util-vserver/Manifest
+++ b/sys-cluster/util-vserver/Manifest
@@ -1,9 +1,9 @@
DIST util-vserver-0.30.211.tar.bz2 638003 RMD160 42856f7131756ffc278719831de9ae190943e532 SHA1 c4b28b10b38ba88d003ea45ab1b784e1b0b31324 SHA256 992a2dd76994813508cc043bbaf7c1f903166d2b7fbcb7bd1320aa285234df59
DIST util-vserver-patches-0.30.211-r1.tar.bz2 16779 RMD160 4ef73897df3209e4eddac85360c838a532c5f13e SHA1 2ddf70bacd2094efca6faf453ee1d88af0cafac9 SHA256 e9d5b28da16bf93a5fd9a709c0dd8023342310ce8f01e76cb8b7bf703f573401
-EBUILD util-vserver-0.30.211-r1.ebuild 3418 RMD160 88d53face4dd4baeac7974b17d33978fdd0f0c58 SHA1 9e30581cfa6e655990997cd5de5a42828f5509c9 SHA256 61d92007b8f61a3c67a4f40925671751df44a4581d2e1c3f2adaba2e25c63ea0
-MD5 bb3d68c543ce58bd7b0f4f60d14e7e46 util-vserver-0.30.211-r1.ebuild 3418
-RMD160 88d53face4dd4baeac7974b17d33978fdd0f0c58 util-vserver-0.30.211-r1.ebuild 3418
-SHA256 61d92007b8f61a3c67a4f40925671751df44a4581d2e1c3f2adaba2e25c63ea0 util-vserver-0.30.211-r1.ebuild 3418
+EBUILD util-vserver-0.30.211-r1.ebuild 3697 RMD160 d9635d0db85d50202d028bebcf519eba7df27518 SHA1 f542fa445467bf0f882b7bc502d857774b164527 SHA256 49f59e5b9428da4feb51b94ce84c2205f8a37825b6ae5d6d54e1c6517bfae2b5
+MD5 811a696f8f14199084f0d7870c342fcc util-vserver-0.30.211-r1.ebuild 3697
+RMD160 d9635d0db85d50202d028bebcf519eba7df27518 util-vserver-0.30.211-r1.ebuild 3697
+SHA256 49f59e5b9428da4feb51b94ce84c2205f8a37825b6ae5d6d54e1c6517bfae2b5 util-vserver-0.30.211-r1.ebuild 3697
MD5 77937bb08a50ba48e642629c7d3b54dd files/digest-util-vserver-0.30.211-r1 566
RMD160 a59916559f436aa675d588499d439ef1170d7bf6 files/digest-util-vserver-0.30.211-r1 566
SHA256 410ff4c38c27031cab826fe559e83140a8090cd31343412509173eee38bceb87 files/digest-util-vserver-0.30.211-r1 566
diff --git a/sys-cluster/util-vserver/util-vserver-0.30.211-r1.ebuild b/sys-cluster/util-vserver/util-vserver-0.30.211-r1.ebuild
index 1f1a512..10e7e10 100644
--- a/sys-cluster/util-vserver/util-vserver-0.30.211-r1.ebuild
+++ b/sys-cluster/util-vserver/util-vserver-0.30.211-r1.ebuild
@@ -72,6 +72,15 @@ src_compile() {
src_install() {
make DESTDIR="${D}" install install-distribution || die "install failed"
+ # remove non-legacy files
+ if ! use legacy ; then
+ rm -r -f "${D}/etc/vservers.conf"
+ rm -r -f "${D}/usr/lib/util-vserver/legacy"
+ rm -r -f "${D}/usr/sbin/vserver-copy"
+ rm -r -f "${D}/usr/share/man/man8/distrib-info.8.gz"
+ rm -r -f "${D}/usr/share/man/man8/vps.8.gz"
+ fi
+
# keep dirs
keepdir /var/run/{vservers,vservers.rev,vshelper}
keepdir /var/lock/vservers