From bda347a05a8071f9f617f6aa48d3b112bf157403 Mon Sep 17 00:00:00 2001 From: Christian Heim Date: Mon, 19 Jun 2006 20:29:50 +0000 Subject: [PATCH] Version bump Package-Manager: portage-2.1.1_pre1-r1 --- sys-cluster/vzctl/ChangeLog | 14 +++- sys-cluster/vzctl/Manifest | 52 ++++++++++----- sys-cluster/vzctl/files/digest-vzctl-3.0.10 | 3 + .../vzctl/files/vzctl-3.0.10-Makefile.patch | 59 +++++++++++++++++ .../vzctl/files/vzctl-3.0.10-as-needed.patch | 66 +++++++++++++++++++ sys-cluster/vzctl/vzctl-3.0.10.ebuild | 42 ++++++++++++ 6 files changed, 217 insertions(+), 19 deletions(-) create mode 100644 sys-cluster/vzctl/files/digest-vzctl-3.0.10 create mode 100644 sys-cluster/vzctl/files/vzctl-3.0.10-Makefile.patch create mode 100644 sys-cluster/vzctl/files/vzctl-3.0.10-as-needed.patch create mode 100644 sys-cluster/vzctl/vzctl-3.0.10.ebuild diff --git a/sys-cluster/vzctl/ChangeLog b/sys-cluster/vzctl/ChangeLog index 7c55ffe5fe23..da9a890e772c 100644 --- a/sys-cluster/vzctl/ChangeLog +++ b/sys-cluster/vzctl/ChangeLog @@ -1,6 +1,18 @@ # ChangeLog for sys-cluster/vzctl # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/vzctl/ChangeLog,v 1.24 2006/04/24 14:53:35 phreak Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/vzctl/ChangeLog,v 1.25 2006/06/19 20:29:50 phreak Exp $ + +*vzctl-3.0.10 (19 Jun 2006) + + 19 Jun 2006; Christian Heim + +files/vzctl-3.0.10-Makefile.patch, +files/vzctl-3.0.10-as-needed.patch, + +vzctl-3.0.10.ebuild: + Version bump, the OpenVZ finally decided to use a sane version scheme, + reworked the ebuild (fixed the quoting on user-influence-able variables) and + also added a patch to remove all those nifty unneeded things from the + Makefile. Another addition is the --as-needed patch from Igor Sukhih + . For a detailed ChangeLog see + http://openvz.org/news/updates/vzctl-3.0.10-1! *vzctl-3.0.0.8 (24 Apr 2006) diff --git a/sys-cluster/vzctl/Manifest b/sys-cluster/vzctl/Manifest index 64c5f804f298..b9a489bcbebc 100644 --- a/sys-cluster/vzctl/Manifest +++ b/sys-cluster/vzctl/Manifest @@ -1,33 +1,46 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 -AUX vz.initd 5465 RMD160 303e4877e95db9f90d512b37d67cdaa94e823d52 SHA1 967cc1a9d71109db574f565d2f733332cfafcf50 SHA256 63c17d2783cfd01fcfb66aa8b0c572ea6bf366d59a72c10f1728091c7eaa5fc0 size 5465 +AUX vz.initd 5465 RMD160 303e4877e95db9f90d512b37d67cdaa94e823d52 SHA1 967cc1a9d71109db574f565d2f733332cfafcf50 SHA256 63c17d2783cfd01fcfb66aa8b0c572ea6bf366d59a72c10f1728091c7eaa5fc0 MD5 a2de79b189da1c2d3fd01fa2116bcea9 files/vz.initd 5465 RMD160 303e4877e95db9f90d512b37d67cdaa94e823d52 files/vz.initd 5465 SHA256 63c17d2783cfd01fcfb66aa8b0c572ea6bf366d59a72c10f1728091c7eaa5fc0 files/vz.initd 5465 -DIST vzctl-3.0.0-4.tar.bz2 100466 RMD160 75958a8ac68ae6a644db3c2f825bab18d8b4ded2 SHA256 e23caf8c0766d9a4f60b1e069cda51016344a78cd43938846f31eb5899693d8c size 100466 -DIST vzctl-3.0.0-7.tar.bz2 114219 RMD160 f2f0ab5c5ef52ed9f82086539c83ba45a6612bc6 SHA256 b06b647d62f8b5d8c924f3e9b2ecf4716a38b5ae1292a8338692b9c528e18a29 size 114219 -DIST vzctl-3.0.0-8.tar.bz2 115033 RMD160 5bba4d678ea617f05220b4aca921ea62cd355e98 SHA256 7322bebc6f6b476cd2c8a1f9a3e601f9e723142ee317eb3304d40d0e068fc632 size 115033 -DIST vzctl-3.0.0.4-patches-r0.tar.bz2 3826 RMD160 b6bad5eb32b7a997b321a052e613fe3ccb4a5366 SHA256 4c763deacb4070850a5352d23b643d1b109e44e5f713898471ee42884583774d size 3826 -DIST vzctl-3.0.0.7-patches-r0.tar.bz2 3822 RMD160 81ef3c67b2e585bd4cb2094252614290623db647 SHA256 29f6f89c17ea8bedbe5e35fcb60731cfafbcccb9d2336b126968a9f586358006 size 3822 -DIST vzctl-3.0.0.8-patches-r0.tar.bz2 3816 RMD160 33fa63aa9749beedf6bd7dfd03f11658edfa6266 SHA256 f1ac3df3a9f6f0f62ef97dd0b770cee800c37e3a267105c8fddc2f68dd05d535 size 3816 -EBUILD vzctl-3.0.0.4.ebuild 1813 RMD160 cb61a663ce83855f125df9344ccd123be839984f SHA1 824f1633ec7976520ed22e4e93af798c5430b04b SHA256 450c1f612d23389e39e9c4c872f4e35c47b426156e49c6227c96a34e4fc593d5 size 1813 +AUX vzctl-3.0.10-Makefile.patch 2096 RMD160 5e4e4158836ac306d7daac8ddc6d320a80db4fbd SHA1 77eb07bd8203ec825d013d27fa9aa89bf21e08c6 SHA256 df3725a01b93e2e099e4484f306867322c3e38123adc49b2e1394a45c02dc9eb +MD5 3d5da7ef37f9e9fdd596402817d8b382 files/vzctl-3.0.10-Makefile.patch 2096 +RMD160 5e4e4158836ac306d7daac8ddc6d320a80db4fbd files/vzctl-3.0.10-Makefile.patch 2096 +SHA256 df3725a01b93e2e099e4484f306867322c3e38123adc49b2e1394a45c02dc9eb files/vzctl-3.0.10-Makefile.patch 2096 +AUX vzctl-3.0.10-as-needed.patch 2873 RMD160 fd68de2965e760119ff733228bed686f3ecc002c SHA1 a5d9a14d12865cd788fddb79b4d67fb2888baecd SHA256 7eebb62833d9987d1df650fe3dca86e9bfa26e006b59f15ec29497d4177ff198 +MD5 0414e832d240f2f381486930011960a7 files/vzctl-3.0.10-as-needed.patch 2873 +RMD160 fd68de2965e760119ff733228bed686f3ecc002c files/vzctl-3.0.10-as-needed.patch 2873 +SHA256 7eebb62833d9987d1df650fe3dca86e9bfa26e006b59f15ec29497d4177ff198 files/vzctl-3.0.10-as-needed.patch 2873 +DIST vzctl-3.0.0-4.tar.bz2 100466 RMD160 75958a8ac68ae6a644db3c2f825bab18d8b4ded2 SHA256 e23caf8c0766d9a4f60b1e069cda51016344a78cd43938846f31eb5899693d8c +DIST vzctl-3.0.0-7.tar.bz2 114219 RMD160 f2f0ab5c5ef52ed9f82086539c83ba45a6612bc6 SHA256 b06b647d62f8b5d8c924f3e9b2ecf4716a38b5ae1292a8338692b9c528e18a29 +DIST vzctl-3.0.0-8.tar.bz2 115033 RMD160 5bba4d678ea617f05220b4aca921ea62cd355e98 SHA256 7322bebc6f6b476cd2c8a1f9a3e601f9e723142ee317eb3304d40d0e068fc632 +DIST vzctl-3.0.0.4-patches-r0.tar.bz2 3826 RMD160 b6bad5eb32b7a997b321a052e613fe3ccb4a5366 SHA256 4c763deacb4070850a5352d23b643d1b109e44e5f713898471ee42884583774d +DIST vzctl-3.0.0.7-patches-r0.tar.bz2 3822 RMD160 81ef3c67b2e585bd4cb2094252614290623db647 SHA256 29f6f89c17ea8bedbe5e35fcb60731cfafbcccb9d2336b126968a9f586358006 +DIST vzctl-3.0.0.8-patches-r0.tar.bz2 3816 RMD160 33fa63aa9749beedf6bd7dfd03f11658edfa6266 SHA256 f1ac3df3a9f6f0f62ef97dd0b770cee800c37e3a267105c8fddc2f68dd05d535 +DIST vzctl-3.0.10.tar.bz2 124070 RMD160 e3a1ae0846a5b7b8a054fb416c20eb7ae57d0008 SHA1 99acb9b213e5d463144b32fb40975a3c4ac2e66a SHA256 5509857493533cf68b55a2183154aac12d23ab65d555db3b4328c0619ca8080f +EBUILD vzctl-3.0.0.4.ebuild 1813 RMD160 cb61a663ce83855f125df9344ccd123be839984f SHA1 824f1633ec7976520ed22e4e93af798c5430b04b SHA256 450c1f612d23389e39e9c4c872f4e35c47b426156e49c6227c96a34e4fc593d5 MD5 f2fa78bd584eb208b868ea61f5f753a2 vzctl-3.0.0.4.ebuild 1813 RMD160 cb61a663ce83855f125df9344ccd123be839984f vzctl-3.0.0.4.ebuild 1813 SHA256 450c1f612d23389e39e9c4c872f4e35c47b426156e49c6227c96a34e4fc593d5 vzctl-3.0.0.4.ebuild 1813 -EBUILD vzctl-3.0.0.7.ebuild 1722 RMD160 72752a8da833d926be76401e6659c5fc7be64eaf SHA1 c1596f833d226383039af4a8758aec6073f44f63 SHA256 651125e1f4fc46dc2fa15cd30f0adb6e3b1884d02fbde4d1d6d1a372cfcba359 size 1722 +EBUILD vzctl-3.0.0.7.ebuild 1722 RMD160 72752a8da833d926be76401e6659c5fc7be64eaf SHA1 c1596f833d226383039af4a8758aec6073f44f63 SHA256 651125e1f4fc46dc2fa15cd30f0adb6e3b1884d02fbde4d1d6d1a372cfcba359 MD5 db79672688a8858fd8819b9763e7044b vzctl-3.0.0.7.ebuild 1722 RMD160 72752a8da833d926be76401e6659c5fc7be64eaf vzctl-3.0.0.7.ebuild 1722 SHA256 651125e1f4fc46dc2fa15cd30f0adb6e3b1884d02fbde4d1d6d1a372cfcba359 vzctl-3.0.0.7.ebuild 1722 -EBUILD vzctl-3.0.0.8.ebuild 1722 RMD160 b8dcb0398d5eea198ec644d3df4e51eb68394bf9 SHA1 d55d54c2a9a765de0954496760b743e497e71bcc SHA256 b2d5707ee42ed25a5ce219ea9e364ce1df2ba5661e8072063fdaa423507e4e06 size 1722 +EBUILD vzctl-3.0.0.8.ebuild 1722 RMD160 b8dcb0398d5eea198ec644d3df4e51eb68394bf9 SHA1 d55d54c2a9a765de0954496760b743e497e71bcc SHA256 b2d5707ee42ed25a5ce219ea9e364ce1df2ba5661e8072063fdaa423507e4e06 MD5 c95923e684f3f56566d1557f5098840c vzctl-3.0.0.8.ebuild 1722 RMD160 b8dcb0398d5eea198ec644d3df4e51eb68394bf9 vzctl-3.0.0.8.ebuild 1722 SHA256 b2d5707ee42ed25a5ce219ea9e364ce1df2ba5661e8072063fdaa423507e4e06 vzctl-3.0.0.8.ebuild 1722 -MISC ChangeLog 4066 RMD160 4cf8bdcc13685696a0cfa93403b327d0a616210c SHA1 e690f40bb909e93faf7fa9b1cdff2781603625ba SHA256 ada8c26a1e3a54b8d6139c73cf1a59e901a33e76aa28ee603a7606a2931e28f8 size 4066 -MD5 6fd82fb60c041aa098a6b3560e5fa363 ChangeLog 4066 -RMD160 4cf8bdcc13685696a0cfa93403b327d0a616210c ChangeLog 4066 -SHA256 ada8c26a1e3a54b8d6139c73cf1a59e901a33e76aa28ee603a7606a2931e28f8 ChangeLog 4066 -MISC metadata.xml 231 RMD160 532e75c33676f402571b5033faf42b7d0dbb9d28 SHA1 5e2b3b183660e76e9a8d93b7aeab6ce5857581c1 SHA256 018942ba3f2ac5b93ec2576f55ff8d85b7808b35b751bfabb1879957f4f6c442 size 231 +EBUILD vzctl-3.0.10.ebuild 943 RMD160 09000e0b616cff84904f2a6b7687ca1617f80b7f SHA1 5454ade2a93c2e5ea690f7a20a626dab6881a8ef SHA256 0a7df623a952f572787be1157831751e1f08c2a771e2bd455de6694e382a34ec +MD5 5cecdf66c7b311fc0e9c52200e8395a7 vzctl-3.0.10.ebuild 943 +RMD160 09000e0b616cff84904f2a6b7687ca1617f80b7f vzctl-3.0.10.ebuild 943 +SHA256 0a7df623a952f572787be1157831751e1f08c2a771e2bd455de6694e382a34ec vzctl-3.0.10.ebuild 943 +MISC ChangeLog 4639 RMD160 7e0b4c439aa752ebf990283026e95e36aabfe8d7 SHA1 b5d52cede501d4d9b87fbee2fcbbe7e1369a4a9d SHA256 0d7ea68db897be543e76dee1e8d237c8342b9eaa7e9b6ffa23c33a1b9083da49 +MD5 c02963c00107a56b047f19decfb6eb0f ChangeLog 4639 +RMD160 7e0b4c439aa752ebf990283026e95e36aabfe8d7 ChangeLog 4639 +SHA256 0d7ea68db897be543e76dee1e8d237c8342b9eaa7e9b6ffa23c33a1b9083da49 ChangeLog 4639 +MISC metadata.xml 231 RMD160 532e75c33676f402571b5033faf42b7d0dbb9d28 SHA1 5e2b3b183660e76e9a8d93b7aeab6ce5857581c1 SHA256 018942ba3f2ac5b93ec2576f55ff8d85b7808b35b751bfabb1879957f4f6c442 MD5 e5ba31c20aa49371e645a8950abd1054 metadata.xml 231 RMD160 532e75c33676f402571b5033faf42b7d0dbb9d28 metadata.xml 231 SHA256 018942ba3f2ac5b93ec2576f55ff8d85b7808b35b751bfabb1879957f4f6c442 metadata.xml 231 @@ -40,10 +53,13 @@ SHA256 f2368aa5fd63ff449d0a5829c95a7af8a7f4bf787453a57a240874c378c75339 files/di MD5 29df91389efeb4843177a9078a89ca58 files/digest-vzctl-3.0.0.8 515 RMD160 9e0f277c9a8385fa918174cc1edc0f9e641dec50 files/digest-vzctl-3.0.0.8 515 SHA256 dc1dba3fb70c9a7212de8916eaaeb3c2b4a6b847702d90e0c58d06c62e9b3dc2 files/digest-vzctl-3.0.0.8 515 +MD5 7365696cd7a02b0e95dcb8f2fd2dc4f6 files/digest-vzctl-3.0.10 241 +RMD160 a261afbc8cb201122078369798a48a35c9683419 files/digest-vzctl-3.0.10 241 +SHA256 f8a7e2630d02bb442a709d0486c7028b1b75b93d53ea747661a1e6b93095c8d7 files/digest-vzctl-3.0.10 241 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (GNU/Linux) -iD8DBQFETOaAflZ8QqxhrsMRAhpEAKC/AS4iD/Bt2ScGhGR/1iJAdKeq7ACggOk5 -7brbh1imBhEENVZPMA8wCkM= -=x5vo +iD8DBQFElwlFflZ8QqxhrsMRAl5hAKCDKWuSNfSiR0hy1rpuCnQ2CxRODgCgpee3 +/6rUYvDuu8ZzhqoA8EE6U+A= +=orBq -----END PGP SIGNATURE----- diff --git a/sys-cluster/vzctl/files/digest-vzctl-3.0.10 b/sys-cluster/vzctl/files/digest-vzctl-3.0.10 new file mode 100644 index 000000000000..d1e71e8f4e47 --- /dev/null +++ b/sys-cluster/vzctl/files/digest-vzctl-3.0.10 @@ -0,0 +1,3 @@ +MD5 790dc15a779764a453b11c2368bccc40 vzctl-3.0.10.tar.bz2 124070 +RMD160 e3a1ae0846a5b7b8a054fb416c20eb7ae57d0008 vzctl-3.0.10.tar.bz2 124070 +SHA256 5509857493533cf68b55a2183154aac12d23ab65d555db3b4328c0619ca8080f vzctl-3.0.10.tar.bz2 124070 diff --git a/sys-cluster/vzctl/files/vzctl-3.0.10-Makefile.patch b/sys-cluster/vzctl/files/vzctl-3.0.10-Makefile.patch new file mode 100644 index 000000000000..2e85cb0143da --- /dev/null +++ b/sys-cluster/vzctl/files/vzctl-3.0.10-Makefile.patch @@ -0,0 +1,59 @@ +Index: vzctl-3.0.10/src/Makefile +=================================================================== +--- vzctl-3.0.10.orig/src/Makefile ++++ vzctl-3.0.10/src/Makefile +@@ -23,7 +23,6 @@ + VPSCONFDIR = /etc/vz/conf + LIBSCRIPTSDIR = /usr/lib/vzctl/scripts/ + SCRIPTSDIR = /usr/share/vzctl/scripts +-NETSCRIPTDIR = /etc/sysconfig/network-scripts + CRONDDIR = /etc/cron.d + INITDDIR = /etc/init.d + VZDIR = /vz +@@ -70,10 +69,8 @@ LIBSCRIPTS = vps-create vps-postcreate v + PROGS = vzctl vzlist arpsend vzsplit vzcfgvalidate vzmemcheck vzcalc + LIBS = $(LIB_vzctl) $(LIB_simfs) + +-INITSCRIPTS = vz + CRONSCRIPTS = vpsreboot vpsnetclean + SCRIPTS = vpsreboot vpsnetclean +-NETSCRIPTS = ifcfg-venet0 ifdown-venet ifup-venet + VE0CONFIG = 0.conf + VECONFIG = ve-light.conf-sample ve-vps.basic.conf-sample + VECONFIG_IA64 = ve-light.conf-sample ve-vps.basic.conf-sample +@@ -155,13 +152,6 @@ inst-scripts: + for file in $(SCRIPTS); do \ + $(INSTALL) -m755 ../etc/$$file $(DESTDIR)$(SCRIPTSDIR)/$$file; \ + done +-inst-netscripts: +-ifneq "" "$(NETSCRIPTS)" +- $(INSTALL) -d $(DESTDIR)$(NETSCRIPTDIR) +- for file in $(NETSCRIPTS); do \ +- $(INSTALL) -m 755 ../etc/$$file $(DESTDIR)$(NETSCRIPTDIR)/$$file; \ +- done +-endif + inst-configs: + $(INSTALL) -m 644 ../etc/vz.conf $(DESTDIR)$(GLBCONFIG) + ifeq ($(ARCH),ia64) +@@ -182,11 +172,6 @@ else + $(INSTALL) -m 644 ../etc/$(VE0CONFIG) $(DESTDIR)$(VPSCONFDIR)/$(VE0CONFIG) + endif + endif +-inst-initd: +- for file in $(INITSCRIPTS); do \ +- $(INSTALL) -m 755 ../etc/init.d/$$file $(DESTDIR)$(INITDDIR)/$$file; \ +- done +- + inst-cron: + for file in $(CRONSCRIPTS); do \ + $(INSTALL) -m 644 ../etc/cron.d/$$file $(DESTDIR)$(CRONDDIR)/$$file; \ +@@ -208,8 +193,7 @@ inst-dirs: + $(INSTALL) -d $(DESTDIR)$(IPSTATEDIR) + $(INSTALL) -m 644 ../etc/logrotate.d/vzctl $(DESTDIR)$(LOGRDIR)/vzctl + +-install: $(PROGS) inst-dirs install-lib inst-sbin inst-scripts \ +- inst-netscripts inst-configs inst-initd inst-cron ++install: $(PROGS) inst-dirs install-lib inst-sbin inst-configs inst-cron + clean: + rm -f *.o lib/*.lo $(PROGS) $(LIB_vzctl) $(LIB_fs) $(LIB_simfs) .depend + diff --git a/sys-cluster/vzctl/files/vzctl-3.0.10-as-needed.patch b/sys-cluster/vzctl/files/vzctl-3.0.10-as-needed.patch new file mode 100644 index 000000000000..afe717e34402 --- /dev/null +++ b/sys-cluster/vzctl/files/vzctl-3.0.10-as-needed.patch @@ -0,0 +1,66 @@ +From: Igor Sukhih +Date: Wed, 14 Jun 2006 13:28:00 +0000 (+0400) +Subject: Move LDFLAGS after libraries list for workaround for Wl,--as-needed +X-Git-Url: http://git.openvz.org/?p=vzctl;a=commitdiff;h=1da5df6aedd33b141374bf3c738d9fb6589f0d0d + +Move LDFLAGS after libraries list for workaround for Wl,--as-needed +--- + +Index: vzctl-3.0.10/src/Makefile +=================================================================== +--- vzctl-3.0.10.orig/src/Makefile ++++ vzctl-3.0.10/src/Makefile +@@ -102,7 +102,7 @@ check-version: + $(CC) -c $(CFLAGS) $(SHAREDLIB_CFLAGS) $(INC) $< -o $@ + + $(LIB_simfs) : $(OBJ_simfs) +- $(CC) $(CFLAGS) $(INC) $(LDFLAGS) $(OBJ_simfs) -shared -o $@ ++ $(CC) $(CFLAGS) $(INC) $(OBJ_simfs) $(LDFLAGS) -shared -o $@ + + $(LIB_fs): $(LIB_simfs) + ln -sf $(LIB_simfs) $(LIB_fs) +@@ -112,16 +112,16 @@ libvzctl.a: $(OBJ_libvzctl) + ranlib $@ + + $(LIB_vzctl) : $(LIB_simfs) $(OBJ_libvzctl) +- $(CC) $(CFLAGS) $(INC) $(LDFLAGS) $(OBJ_libvzctl) $(LD_FLAGS) -shared -o $@ ++ $(CC) $(CFLAGS) $(INC) $(OBJ_libvzctl) $(LD_FLAGS) $(LDFLAGS) -shared -o $@ + + vzctl-static: $(OBJ_vzctl) libvzctl.a + $(CC) $(CFLAGS) $(INC) $(LDFLAGS) $(OBJ_vzctl) $(OBJ_simfs) libvzctl.a -rdynamic -ldl -lutil -o $@ + + vzctl: check-version $(LIB_vzctl) $(OBJ_vzctl) $(LIB_fs) +- $(CC) $(CFLAGS) $(INC) $(LDFLAGS) $(OBJ_vzctl) $(LD_FLAGS) $(LIB_vzctl) $(LIB_fs) -lutil -o $@ ++ $(CC) $(CFLAGS) $(INC) $(OBJ_vzctl) $(LD_FLAGS) $(LIB_vzctl) $(LIB_fs) $(LDFLAGS) -lutil -o $@ + + vzlist: $(OBJ_vzlist) $(LIB_vzctl) $(LIB_fs) +- $(CC) $(CFLAGS) $(INC) $(LDFLAGS) $(OBJ_vzlist) $(LD_FLAGS) $(LIB_fs) $(LIB_vzctl) -o $@ ++ $(CC) $(CFLAGS) $(INC) $(OBJ_vzlist) $(LD_FLAGS) $(LIB_fs) $(LIB_vzctl) $(LDFLAGS) -o $@ + + arpsend: $(OBJ_arp) + $(CC) $(CFLAGS) $(INC) $(LDFLAGS) $^ -o $@ +@@ -130,13 +130,13 @@ vzsplit: $(OBJ_split) + $(CC) $(CFLAGS) $(INC) $(LDFLAGS) $^ -o $@ + + vzmemcheck: $(OBJ_memcheck) $(LIB_vzctl) $(LIB_fs) +- $(CC) $(CFLAGS) $(INC) $(LDFLAGS) $(LD_FLAGS) $(LIB_fs) $(LIB_vzctl) $^ -o $@ ++ $(CC) $(CFLAGS) $(INC) $(LD_FLAGS) $(LIB_fs) $(LDFLAGS) $(LIB_vzctl) $^ -o $@ + + vzcfgvalidate: $(OBJ_cfgvalidate) $(LIB_vzctl) $(LIB_fs) +- $(CC) $(CFLAGS) $(INC) $(LDFLAGS) $^ $(LD_FLAGS) $(LIB_fs) $(LIB_vzctl) -o $@ ++ $(CC) $(CFLAGS) $(INC) $^ $(LD_FLAGS) $(LIB_fs) $(LIB_vzctl) $(LDFLAGS) -o $@ + + vzcalc: $(OBJ_calc) $(LIB_vzctl) $(LIB_fs) +- $(CC) $(CFLAGS) $(INC) $(LDFLAGS) $^ $(LD_FLAGS) $(LIB_fs) $(LIB_vzctl) -o $@ ++ $(CC) $(CFLAGS) $(INC) $^ $(LD_FLAGS) $(LIB_fs) $(LIB_vzctl) $(LDFLAGS) -o $@ + + inst-sbin :$(PROGS) + for file in $(PROGS); do \ +@@ -205,7 +205,6 @@ inst-dirs: + $(INSTALL) -d $(DESTDIR)$(LOGRDIR) + $(INSTALL) -d $(DESTDIR)$(CACHEDIR) + $(INSTALL) -d $(DESTDIR)$(VEIPDUMPDIR) +- $(INSTALL) -d $(DESTDIR)$(IPSTATEDIR) + $(INSTALL) -m 644 ../etc/logrotate.d/vzctl $(DESTDIR)$(LOGRDIR)/vzctl + + install: $(PROGS) inst-dirs install-lib inst-sbin inst-scripts \ diff --git a/sys-cluster/vzctl/vzctl-3.0.10.ebuild b/sys-cluster/vzctl/vzctl-3.0.10.ebuild new file mode 100644 index 000000000000..9a8df00f467d --- /dev/null +++ b/sys-cluster/vzctl/vzctl-3.0.10.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/vzctl/vzctl-3.0.10.ebuild,v 1.1 2006/06/19 20:29:50 phreak Exp $ + +inherit eutils + +DESCRIPTION="OpenVZ VPS 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="app-admin/logrotate + app-shells/bash + sys-apps/sed + sys-apps/ed + sys-apps/grep + sys-apps/gawk + sys-apps/coreutils + net-firewall/iptables + app-arch/tar + sys-fs/vzquota + sys-process/procps + sys-apps/iproute2" + +DEPEND="${RDEPEND}" + +src_unpack() { + unpack ${A} + epatch "${FILESDIR}"/${P}-Makefile.patch + epatch "${FILESDIR}"/${P}-as-needed.patch +} + +src_install() { + make DESTDIR="${D}" install || die "make install failed" + + # Install gentoo specific init script + newinitd "${FILESDIR}"/vz.initd vz +} -- 2.26.2