summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxim Koltsov <maksbotan@gentoo.org>2013-05-12 19:48:27 +0000
committerMaxim Koltsov <maksbotan@gentoo.org>2013-05-12 19:48:27 +0000
commit5b88af164e6facb1d8b889a13993b6761284701d (patch)
tree83b9e4410b6faf00177326f449db5b851509d6eb /sys-cluster
parentRemove old versions, thanks to slepnoga (diff)
downloadhistorical-5b88af164e6facb1d8b889a13993b6761284701d.tar.gz
historical-5b88af164e6facb1d8b889a13993b6761284701d.tar.bz2
historical-5b88af164e6facb1d8b889a13993b6761284701d.zip
Remove old versions, thanks to slepnoga
Package-Manager: portage-2.1.11.63/cvs/Linux x86_64 Manifest-Sign-Key: 0xF8DBDADE
Diffstat (limited to 'sys-cluster')
-rw-r--r--sys-cluster/vzctl/ChangeLog6
-rw-r--r--sys-cluster/vzctl/Manifest32
-rw-r--r--sys-cluster/vzctl/vzctl-3.0.29.3.ebuild62
-rw-r--r--sys-cluster/vzctl/vzctl-3.0.30.2.ebuild62
-rw-r--r--sys-cluster/vzctl/vzctl-3.1.ebuild63
-rw-r--r--sys-cluster/vzctl/vzctl-3.3-r2.ebuild69
6 files changed, 14 insertions, 280 deletions
diff --git a/sys-cluster/vzctl/ChangeLog b/sys-cluster/vzctl/ChangeLog
index d7b3102e70f0..4f0dd6da2b52 100644
--- a/sys-cluster/vzctl/ChangeLog
+++ b/sys-cluster/vzctl/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sys-cluster/vzctl
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-cluster/vzctl/ChangeLog,v 1.109 2013/04/30 12:31:17 ago Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/vzctl/ChangeLog,v 1.110 2013/05/12 19:48:16 maksbotan Exp $
+
+ 12 May 2013; Maxim Koltsov <maksbotan@gentoo.org> -vzctl-3.0.29.3.ebuild,
+ -vzctl-3.0.30.2.ebuild, -vzctl-3.1.ebuild, -vzctl-3.3-r2.ebuild:
+ Remove old versions, thanks to slepnoga
30 Apr 2013; Agostino Sarubbo <ago@gentoo.org> vzctl-3.3-r2.ebuild:
Stable for x86, wrt bug #467760
diff --git a/sys-cluster/vzctl/Manifest b/sys-cluster/vzctl/Manifest
index 9aafe46b0ec5..bb59a28d1c4b 100644
--- a/sys-cluster/vzctl/Manifest
+++ b/sys-cluster/vzctl/Manifest
@@ -1,36 +1,22 @@
-----BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA512
+Hash: SHA256
AUX vzctl-initscript-paths.patch 4263 SHA256 be63f86112708db48d474a3d9d75b08eaa9c61e754be6e3677254d7deded34be SHA512 2539f1b41d623a147f52640cf966b7a1b7e3ebc114e4731f8f684c89675211363c084405cc70f2666ad8a42d2c1a3035467a6aac7e078fc1b76f6a3672b6fc98 WHIRLPOOL 526a38c6292caa0213380dd576026715ca9c864e7048f082fc769506e77d2f356117a7e3a29bf2ab089b33b32c54831ec450dc35697f7fd3e3d75951ab960d39
-DIST vzctl-3.0.29.3.tar.bz2 421448 SHA256 1af2a6c61ee39e9f51128dd1b78b5d1adfaa12b41f74da0276c49102c262d2e7
-DIST vzctl-3.0.30.2.tar.bz2 425118 SHA256 c100914ec10db7cce6114bb8fcfdf67dd406d0547ac07ea8d2994e6ca7299635 SHA512 2487482c96666bf73e961bb2849fafb54463ccf63b44dfbb7c5e6cedc19a7d029bcb66d902d67d1709b8899f61e014d938c150dcfe7b560800710d78ac6cf8f4 WHIRLPOOL 045826e689244d8fc5b60d32a5c0f26ae713693afc3f823b7d5229477db730c25fbea69edeb41de0add55362fc607e09eeb79dedb13d5705f530ee5372bf5c45
-DIST vzctl-3.1.tar.bz2 442684 SHA256 c2b3f37df56613bdd137dbc7d144d146e7f6737bbfae9490458056c7ff8e31ca SHA512 0a49a2a67ec47542a48da6ca43f1fb46d756378cde2453d128d1a8ebcaa7f8814d2a94f0d5dfe9f3e70c72b0aca01704f367d8ffd387bb4afccc2a33b63e5347 WHIRLPOOL fb07e83c2b82d04de0ad9d9cc9f70f733cb97c367d26f8f0862f6626eb2a2e6350cad2f81f9af2fa103b91a4e35075393bbae8174fb09cb8db1e6ccafb0209b2
-DIST vzctl-3.3.tar.bz2 445649 SHA256 cc421a2cb61fdf09ef11516c8a22962d07795096487e65382f0cdaedfdfadf63 SHA512 c464f53f6c9aa2b1d721fe10d031401fffa4055b3101a82eaf1eafce3ffa9d1828e3c1f9e56fb42e8617ae290ac3c4e9d504095089bed3fe56804cd5735b62d1 WHIRLPOOL fdeb767d4bbdbcf1e257afa19dee6a9246bf0fc47d56d045556fc11684523d45338f47884549bb08e59c53556065d5127abec2ccbddf8294566e19151ce24c52
DIST vzctl-4.1.2.tar.bz2 470379 SHA256 26ca2cb2c7596688fa3692e2ee0c4b6e01995f22f819f66a415ee443ca1e34aa SHA512 d9f88b84313b25cc16744702d95982a425bbe49ba497ca1c737e21b3f88d807573ca413e61c745aeeb8f1efd2f1ca235dd74f1837126db1045e20ff298d62ce6 WHIRLPOOL a1241650787d5593923906a68ffbbf179603f1bf27bb162724f1d65c6776531daf805a09db3fe56bce5d37a44545b7ce073981ad96172c5e47bb0f5eb9f412e3
DIST vzctl-4.2.tar.bz2 473463 SHA256 879c98f17d29e0c9cc47957b2fc91b716312cbb47ce235131b8d336d420a9770 SHA512 b4e0a6d071471b03dd72eab39e1732e04f82dbacb3ec00e2d0011d09e99cc042b31a96b7a76a72ab7145a307b638840df7c42807dfda6421bf8f3bff879677e6 WHIRLPOOL 1e39470519716a7b1eb0e07e4be3925fdb2ccfa5c9c7c56bb7347f8a7710dfa0b4aa24904416135d49ff878c4e055e0c6c48652867ca62975649b68fd048011b
-EBUILD vzctl-3.0.29.3.ebuild 1644 SHA256 24ac616e9ca8d26a479e908ae4f7754db26d63ef4265ff5480cb01e9b12c8714 SHA512 608c2d3ee525bf480eb93cf3abfbecd0e5e36546cdfaaefe62b541b7687f254f74a2be64a7460e8104deb1edf7463a5ea2bb49de06680c7da93a23b2ee303eea WHIRLPOOL c21d6141baa116680a7fca92a28c17abb810815de9448ec3dbc60e3830aa2ba9362a45acc4e010f111dce27e1cbf018ae94e571a8ffba8e6abf2d2ee786e974c
-EBUILD vzctl-3.0.30.2.ebuild 1616 SHA256 4ba3695d31139f2b4c2828fd6038274f5f5821e732c4f27e4bf9f2a1feb91835 SHA512 0a84524f0e6a623eed9c33b1499f64062fe4f5a45cc0aacdcf62243b6fac3f8e471f7d4bf48bef68d1edb18eb6b39c35f39cb8f1d38d40bcf26de78f65fc48de WHIRLPOOL f8f4d6e14a5b98b4a3a6a725990f71db0d416d9d6615420733d03e1e72b31c5f6dfe90f15a61c10c26330e49a92cfc0f020925a3bed7be57d13851190bc7894e
-EBUILD vzctl-3.1.ebuild 1629 SHA256 c75acf1c39a6197260e23301bdc3e90a2e3c15bd74853a2ff86652d1f8dc5ece SHA512 a12f09c174cdb18f81315f4b127242c41af787e23975fca1de2f318c3108c8982a6f8d7c7eb120b5a085ea4ad4e43f3cf57eda0eb82845a6c5b8c444db299d2f WHIRLPOOL 432d967eea2c350b2105deeee158b4c881d0f5ffe4a54525bd13b59b52dc347a3f2f30a58f6a3971dcce0a93d31915a40a7f27e5f0d0d85c38eb30354f2d02df
-EBUILD vzctl-3.3-r2.ebuild 1867 SHA256 667b74db438c026d72384b972b497de8026db2e32c83329da3e7c3534de3308c SHA512 0edf0d75f5afac5cb33cc40db2bc3424914f67fca084423278828cbe2a56107e07889bc2d90d11b60d12a6a02f1dd774d968f3efc8decc528dd1f3e318eefe5a WHIRLPOOL 86308734f65cf0b5d64c441a28fd0d31139e66007918d10ca4c21444536b65884bea125bd3b2fef14241fdd23c74aa1f6a9a0e6e6bf0062eee41bd2d3a7998fa
EBUILD vzctl-4.1.2-r1.ebuild 2063 SHA256 ac2fb6fecaa96b9d16f8c58dcf92c73c430bb0052193624a95b9d42b228aae07 SHA512 c3d97cdb4aa670c64a4b582ef8ad430884e1557a96c9b95af3716b0226cbe8e1c55f637c525dc13b2b26b4a0f586bbdc024f12d06ddd07a1df99612b463439d6 WHIRLPOOL 85a0c3465b782ac01ed2774090730baafd167f035c09e8f3f3130e0f53ccdebed857eac247addfc47510e43df9a6cf72ce6371b9d8f9816939ea4f343e1f852a
EBUILD vzctl-4.2.ebuild 2160 SHA256 3e1db19de32f0c802b96edd09b8e35577404b4620ba152b73d3e2c07f0a1928f SHA512 c2a41eb0f17d6fa31ee898bd09160bfa2c9c749886e7089b9f4995a2bbcfc3b2391733d3823145b2c76f8d51062eb837e226d95a0e9a931cd54a63a44259c83c WHIRLPOOL dd9c7b58ee17aa83bb1094aa6df7342f979762c1f30cfafc7cfc0cedbaa3d4969d60fd361e6e2ed4584079f721c0e7723957ba1e7992b59ed55239a87e60dae2
EBUILD vzctl-9999.ebuild 2183 SHA256 c0e172a27a55a269a070e80f775bbc752da6fc19331a6b999d54eecc1c752656 SHA512 1917d9979a46a55faa0f7d86c6a7f3edec7865fa5954d462234c1779c415175f0348e75d93a2722ee45271575bed3b65bf7c2d441603bc2a9a4553c3a8f168a0 WHIRLPOOL 3d932c62e8417c3fcd9928fc24d0051d40b190f5098d2060df1b27fcb673da9ed5af747cb53ffdfeb9d932e946e461130e631c169a9d3c4afc5e6dcee5392ac7
-MISC ChangeLog 22193 SHA256 61d62b41ad12e0d523c8011bdd105551ece2ed257fdbf81bf7306b982c8f0298 SHA512 0de147ccb0c453750f88fe5539d4748f0d99f4693b87276203b5cc1c26d1752ad29504e4541e0ce5dc0cd29c7bd3d0f42db164020bd784f0dab63b75d524cad5 WHIRLPOOL a6655847af38fe6b891a3007c9d3d085b3b161aa72a5a5c659acf259c75a6c2e084b45ab56ed87098e7931dc079fa58502130a78e258dda86edb503b733bf984
+MISC ChangeLog 22385 SHA256 98a42c43388f387ee70121944a9c38706a4b75028b655d4b07c68be58e254440 SHA512 f8c764cc110bf10ace7275036eb67c65433c0cb1bc1d8cb74f3febb9f7473a72cecc3857fdd7ff5e659ee690379ef0f74ca7f3035892469c8ce482889d006fd2 WHIRLPOOL 986cdbb02d84e993bef0f11cd5fe41bb6564ea5f4eae920c26e8cedd501b0f28b3643d7483337b81c637c8cee16d70100cec64a22076be992231b2260d1353d7
MISC metadata.xml 686 SHA256 37d8fc56f62046e6a9feccbfc9e2b5e03b286a38372fb681f77756307ea0075d SHA512 f75c8ee78a2d8aeec75bddb319232aa8f78c071973ffc7519c3d40dff59a48809ed71bd83783e504bd32df6c8bd28968117156a508378b97eb79d2fe76759458 WHIRLPOOL e3b4105629147bd4f5656de51b8812ccd81ac5fbbda3113e33ed198bc7f324c168f2a28a5edd84ab1fda23f78713312c77f9c6d69af513068125c140dcd819d2
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
-iQIcBAEBCgAGBQJRf7mPAAoJELp701BxlEWf9poP/jU2CsDxNcYEyjvziGLWpSqT
-SXGP1jsxqwU99+mbTJWP1toOL9Ieg+fCZyStdJhmP3royaWdJ6TNHXPhyrwvekxQ
-31SiZDc+FuBKUCzH8ptWU2aJ/1zBN3YoX+5CfA4jBT1cQ1A9bTsPE5jC0BTpPwps
-TxI4ZPpsVO8foH3LGwFexzWrcDxv0z+YIsGPa8Eaw35gw0SPmICF5hUlaY/0fODk
-A/mPu++kiSSDAoixx0XEBrUC0XOZ6LFt+wXUEXz/q6bfeTfmAWgHna6za5n+D90B
-4SXcl6XGi3o/vSxQyZQi9Jd3BvHpyEe1bhbNVo/9/JSgNFyXdLdWtCeJ3pkAMB1h
-Uh9TwJCIFuarLTTrY41eCNb4ed2xCDjs1kfEAptO/sQqPP8aB4ZNwos8W5kyUGc7
-PnAhAxkdR+0H1uUzuE62NDz7zSuo/5akmg52OYj6iWa8h1xYDI0G4J3g/kA/SSVC
-DVVqi16VYjjHHcUINuMXF65nQg9VKfFBeWMZrQU2Rp/rmPZJWpPH0etgZ6pceulA
-9OgSRZgh6FGNkr2LH6GU7902U1gS4vLCEKryzGpCIFF8qAMksCrhWn7Lqib66psJ
-svCdULB4HwpMSmoTKO/XhPoYux/e4a2G49dG2EM+d/ZcH50Gr/fqzgHnXT0/UyJa
-azlvsDrU2q+hGr0x8BL8
-=53Aw
+iQEcBAEBCAAGBQJRj/I2AAoJEAmJmMX429req34H/jQ8kpqySPvMhHisMh6WRIK5
+98ZfnbJqakjZH2dmDZACnGp35nmwaiMG9gaHpiAD8soSNL0vG0xS/QxkVC4xXCa6
+AzGnED/2J2lDxnHqBsQjFmI/iTF8jOnWpn6blui7jrha9uF3xnC6hBORkfmjTdHH
+6J5fMn5wcKXhpXwVxWrLK5KG9pEjrqLog7nr73Rtha8ydIc0JiZCdelFjHY7PvEM
+zOljTlPuBD4E8bDPlGVUxpWlBXkEiUNRMDcVtgND6XaqdsG3mgw1ZowPrY9nydBu
+uH73sRIpKdzbB8N4Uy9HcbpAePST0/59pgoMGiA4HmeyEQo7NtnFMuDI5IQcycg=
+=bx80
-----END PGP SIGNATURE-----
diff --git a/sys-cluster/vzctl/vzctl-3.0.29.3.ebuild b/sys-cluster/vzctl/vzctl-3.0.29.3.ebuild
deleted file mode 100644
index 3cfc2f8d075b..000000000000
--- a/sys-cluster/vzctl/vzctl-3.0.29.3.ebuild
+++ /dev/null
@@ -1,62 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-cluster/vzctl/vzctl-3.0.29.3.ebuild,v 1.3 2012/07/01 18:18:15 armin76 Exp $
-
-EAPI="4"
-
-inherit bash-completion-r1 eutils
-
-DESCRIPTION="OpenVZ ConTainers control utility"
-HOMEPAGE="http://openvz.org/"
-SRC_URI="http://download.openvz.org/utils/${PN}/${PV}/src/${P}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 ~ppc64 x86"
-IUSE=""
-
-RDEPEND="
- net-firewall/iptables
- sys-apps/ed
- sys-apps/iproute2
- sys-fs/vzquota"
-
-DEPEND="${RDEPEND}"
-
-src_prepare() {
- # Set default OSTEMPLATE on gentoo added in vzctl-3.0.24 (29 Jun 2010)
- sed -e 's:=redhat-:=gentoo-:' -i etc/dists/default || die
-}
-
-src_configure() {
- econf \
- --localstatedir=/var \
- --enable-udev \
- --enable-bashcomp \
- --enable-logrotate
-}
-
-src_install() {
- emake DESTDIR="${D}" install install-gentoo
-
- # install the bash-completion script into the right location
- rm -rf "${ED}"/etc/bash_completion.d
- newbashcomp etc/bash_completion.d/vzctl.sh ${PN}
-
- # We need to keep some dirs
- keepdir /vz/{dump,lock,root,private,template/cache}
- keepdir /etc/vz/names /var/lib/vzctl/veip
-}
-
-pkg_postinst() {
- ewarn "To avoid loosing network to CTs on iface down/up, please, add the"
- ewarn "following code to /etc/conf.d/net:"
- ewarn " postup() {"
- ewarn " /usr/sbin/vzifup-post \${IFACE}"
- ewarn " }"
-
- ewarn "Starting with 3.0.25 there is new vzeventd service to reboot CTs."
- ewarn "Please, drop /usr/share/vzctl/scripts/vpsnetclean and"
- ewarn "/usr/share/vzctl/scripts/vpsreboot from crontab and use"
- ewarn "/etc/init.d/vzeventd."
-}
diff --git a/sys-cluster/vzctl/vzctl-3.0.30.2.ebuild b/sys-cluster/vzctl/vzctl-3.0.30.2.ebuild
deleted file mode 100644
index 56377db9a385..000000000000
--- a/sys-cluster/vzctl/vzctl-3.0.30.2.ebuild
+++ /dev/null
@@ -1,62 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-cluster/vzctl/vzctl-3.0.30.2.ebuild,v 1.3 2012/07/01 18:18:15 armin76 Exp $
-
-EAPI="4"
-
-inherit bash-completion-r1 eutils
-
-DESCRIPTION="OpenVZ ConTainers control utility"
-HOMEPAGE="http://openvz.org/"
-SRC_URI="http://download.openvz.org/utils/${PN}/${PV}/src/${P}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc64 ~x86"
-IUSE=""
-
-RDEPEND="
- net-firewall/iptables
- sys-apps/ed
- sys-apps/iproute2
- sys-fs/vzquota"
-
-DEPEND="${RDEPEND}"
-
-src_prepare() {
- # Set default OSTEMPLATE on gentoo added
- sed -e 's:=redhat-:=gentoo-:' -i etc/dists/default || die
-}
-
-src_configure() {
- econf \
- --localstatedir=/var \
- --enable-udev \
- --enable-bashcomp \
- --enable-logrotate
-}
-
-src_install() {
- emake DESTDIR="${D}" install install-gentoo
-
- # install the bash-completion script into the right location
- rm -rf "${ED}"/etc/bash_completion.d
- newbashcomp etc/bash_completion.d/vzctl.sh ${PN}
-
- # We need to keep some dirs
- keepdir /vz/{dump,lock,root,private,template/cache}
- keepdir /etc/vz/names /var/lib/vzctl/veip
-}
-
-pkg_postinst() {
- ewarn "To avoid loosing network to CTs on iface down/up, please, add the"
- ewarn "following code to /etc/conf.d/net:"
- ewarn " postup() {"
- ewarn " /usr/sbin/vzifup-post \${IFACE}"
- ewarn " }"
-
- ewarn "Starting with 3.0.25 there is new vzeventd service to reboot CTs."
- ewarn "Please, drop /usr/share/vzctl/scripts/vpsnetclean and"
- ewarn "/usr/share/vzctl/scripts/vpsreboot from crontab and use"
- ewarn "/etc/init.d/vzeventd."
-}
diff --git a/sys-cluster/vzctl/vzctl-3.1.ebuild b/sys-cluster/vzctl/vzctl-3.1.ebuild
deleted file mode 100644
index 75d83b806f3e..000000000000
--- a/sys-cluster/vzctl/vzctl-3.1.ebuild
+++ /dev/null
@@ -1,63 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-cluster/vzctl/vzctl-3.1.ebuild,v 1.2 2012/12/10 13:06:59 pinkbyte Exp $
-
-EAPI="4"
-
-inherit bash-completion-r1 eutils
-
-DESCRIPTION="OpenVZ ConTainers control utility"
-HOMEPAGE="http://openvz.org/"
-SRC_URI="http://download.openvz.org/utils/${PN}/${PV}/src/${P}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-RDEPEND="
- net-firewall/iptables
- sys-apps/ed
- sys-apps/iproute2
- sys-fs/vzquota
- <sys-cluster/ploop-1.5"
-
-DEPEND="${RDEPEND}"
-
-src_prepare() {
- # Set default OSTEMPLATE on gentoo added
- sed -e 's:=redhat-:=gentoo-:' -i etc/dists/default || die
-}
-
-src_configure() {
- econf \
- --localstatedir=/var \
- --enable-udev \
- --enable-bashcomp \
- --enable-logrotate
-}
-
-src_install() {
- emake DESTDIR="${D}" install install-gentoo
-
- # install the bash-completion script into the right location
- rm -rf "${ED}"/etc/bash_completion.d
- newbashcomp etc/bash_completion.d/vzctl.sh ${PN}
-
- # We need to keep some dirs
- keepdir /vz/{dump,lock,root,private,template/cache}
- keepdir /etc/vz/names /var/lib/vzctl/veip
-}
-
-pkg_postinst() {
- ewarn "To avoid loosing network to CTs on iface down/up, please, add the"
- ewarn "following code to /etc/conf.d/net:"
- ewarn " postup() {"
- ewarn " /usr/sbin/vzifup-post \${IFACE}"
- ewarn " }"
-
- ewarn "Starting with 3.0.25 there is new vzeventd service to reboot CTs."
- ewarn "Please, drop /usr/share/vzctl/scripts/vpsnetclean and"
- ewarn "/usr/share/vzctl/scripts/vpsreboot from crontab and use"
- ewarn "/etc/init.d/vzeventd."
-}
diff --git a/sys-cluster/vzctl/vzctl-3.3-r2.ebuild b/sys-cluster/vzctl/vzctl-3.3-r2.ebuild
deleted file mode 100644
index 034cacfb537e..000000000000
--- a/sys-cluster/vzctl/vzctl-3.3-r2.ebuild
+++ /dev/null
@@ -1,69 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-cluster/vzctl/vzctl-3.3-r2.ebuild,v 1.4 2013/04/30 12:31:17 ago Exp $
-
-EAPI="4"
-
-inherit bash-completion-r1 eutils udev toolchain-funcs
-
-DESCRIPTION="OpenVZ ConTainers control utility"
-HOMEPAGE="http://openvz.org/"
-SRC_URI="http://download.openvz.org/utils/${PN}/${PV}/src/${P}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE=""
-
-RDEPEND="
- net-firewall/iptables
- sys-apps/ed
- sys-apps/iproute2
- sys-fs/vzquota
- <sys-cluster/ploop-1.5"
-
-DEPEND="${RDEPEND}
- virtual/pkgconfig"
-
-src_prepare() {
- # Set default OSTEMPLATE on gentoo added
- sed -e 's:=redhat-:=gentoo-:' -i etc/dists/default || die
-
- sed -i -e "s:/lib/udev:$(udev_get_udevdir):" src/lib/dev.c || die
-
- # Fix paths in initscript, wrt bug #444201
- epatch "${FILESDIR}/${PN}-initscript-paths.patch"
-}
-
-src_configure() {
- econf \
- --localstatedir=/var \
- --enable-udev \
- --enable-bashcomp \
- --enable-logrotate
-}
-
-src_install() {
- emake DESTDIR="${D}" udevdir="$(udev_get_udevdir)"/rules.d install install-gentoo
-
- # install the bash-completion script into the right location
- rm -rf "${ED}"/etc/bash_completion.d
- newbashcomp etc/bash_completion.d/vzctl.sh ${PN}
-
- # We need to keep some dirs
- keepdir /vz/{dump,lock,root,private,template/cache}
- keepdir /etc/vz/names /var/lib/vzctl/veip
-}
-
-pkg_postinst() {
- ewarn "To avoid loosing network to CTs on iface down/up, please, add the"
- ewarn "following code to /etc/conf.d/net:"
- ewarn " postup() {"
- ewarn " /usr/sbin/vzifup-post \${IFACE}"
- ewarn " }"
-
- ewarn "Starting with 3.0.25 there is new vzeventd service to reboot CTs."
- ewarn "Please, drop /usr/share/vzctl/scripts/vpsnetclean and"
- ewarn "/usr/share/vzctl/scripts/vpsreboot from crontab and use"
- ewarn "/etc/init.d/vzeventd."
-}