Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 49006 - util-vserver-0.29.4
Summary: util-vserver-0.29.4
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement
Assignee: Michael Imhof (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-25 22:44 UTC by Molchanov Alexander
Modified: 2004-05-23 03:01 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
util-vserver-0.29.4.ebuild (util-vserver-0.29.4.ebuild,1.34 KB, text/plain)
2004-04-25 22:45 UTC, Molchanov Alexander
Details
util-vserver-0.29_pre5.ebuild (util-vserver-0.29_pre5.ebuild,1.23 KB, text/plain)
2004-05-06 11:41 UTC, Thomas Eckert
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Molchanov Alexander 2004-04-25 22:44:47 UTC
some changes from util-vserver-0.29_p196-r1.ebuild:
1) new version
2) fix exec-chmod at rc-initd scripts
3) move /include into /usr/include
Comment 1 Molchanov Alexander 2004-04-25 22:45:27 UTC
Created attachment 30056 [details]
util-vserver-0.29.4.ebuild
Comment 2 Michael Imhof (RETIRED) gentoo-dev 2004-04-30 08:36:48 UTC
ebuild util-vserver-0.29.4.ebuild digest
>>> Downloading http://www-user.tu-chemnitz.de/~ensc/util-vserver/util-vserver-0.29.4.tar.bz2
--17:36:37--  http://www-user.tu-chemnitz.de/%7Eensc/util-vserver/util-vserver-0.29.4.tar.bz2
           => `/usr/portage/distfiles/util-vserver-0.29.4.tar.bz2'
Resolving www-user.tu-chemnitz.de... 134.109.132.138
Connecting to www-user.tu-chemnitz.de[134.109.132.138]:80... connected.
HTTP request sent, awaiting response... 404 Not found
17:36:38 ERROR 404: Not found.
Comment 3 Michael Imhof (RETIRED) gentoo-dev 2004-04-30 08:37:38 UTC
And could you tell me about the naming of the ebuild?
sure that is correct? will portage then update to the right version?
Comment 4 Thomas Eckert 2004-05-01 12:48:21 UTC
my 2c: sorry for the messy comment, but my primary machine has hardware-trouble :(
- I would vote for the following name: util-vserver-0.29_pre5.ebuild (new version) => MY_P="${P/_pre/.}"
- SRC_URI: should be (note the additional "pre") http://www-user.tu-chemnitz.de/~ensc/util-vserver/pre/${MY_P}.tar.bz2
and S=${WORKDIR}/${MY_P}
- the whole src_unpack() can be removed.
- linking against dietlibc-0.24 worked for me -- we may add a depend for that now.
- the init-script-stuff is ok (my ebuild was a bit to "quick")
- the include-stuff _should_ be ok too.

If you can wait a few days I'll post a new corrected and tested version as soon
as my machine is back from repair.

Thomas
Comment 5 Michael Imhof (RETIRED) gentoo-dev 2004-05-02 10:56:50 UTC
Thomas: sounds ok, so i'll wait ;)
Comment 6 Thomas Eckert 2004-05-06 11:41:55 UTC
Created attachment 30870 [details]
util-vserver-0.29_pre5.ebuild

as promised here it comes:
from the build-side this is (except the "dietlibc"-depend) the version i have
running for about 2 weeks now -- the "dietlib-version" is not that on in
prodction
use but works as well.
other changes and comparision to the 29.4 from comment #1:
- include-path is fixed by using econf
- src_unpack removed -- and the configure.patch with it -- if this causes
  trouble on some machines please let me know, for me it works on 3
  installations that way.
- the same as for configure.patch goes for "unset CFLAGS CXXFLAGS" in
src_compile().
- sample-config is back in the distribution and thus installed
- minor stuff.
Comment 7 Thomas Eckert 2004-05-06 11:53:10 UTC
forgot 2 things:
a) init-scripts are installed correctly
b) naming of the ebuild: just forget my "_pre5"-version and name it ".5"; diff
   with changes below.

--- snipp ---
--- util-vserver-0.29_pre5.ebuild       2004-05-06 20:10:14.000000000 +0200
+++ util-vserver-0.29.5.ebuild  2004-05-06 20:52:01.000000000 +0200
@@ -2,9 +2,8 @@
 # Distributed under the terms of the GNU General Public License, v2
 # $Header: $
 
-MY_P="${P/_pre/.}"
 DESCRIPTION="Vserver admin-tools."
-SRC_URI="http://www-user.tu-chemnitz.de/~ensc/util-vserver/pre/${MY_P}.tar.bz2"
+SRC_URI="http://www-user.tu-chemnitz.de/~ensc/util-vserver/pre/${P}.tar.bz2"
 HOMEPAGE="http://savannah.nongnu.org/projects/util-vserver/ http://www-user.tu-chemnitz.de/~ensc/util-vserver/"
 
 LICENSE="GPL-2"
@@ -15,8 +14,6 @@
 
 DEPEND=">=dev-libs/dietlibc-0.24"
 
-S=${WORKDIR}/${MY_P}
-
 src_compile() {
        econf || die "econf failed"
        make || die "compile failed"
--- snapp ---
Comment 8 Michael Imhof (RETIRED) gentoo-dev 2004-05-10 16:41:56 UTC
Okies, i checked it in.

I had to do some minor changes:
- inherit eutils as econf is used
- ~x86 as dependencies are masked
- the copyright you submitted (first three lines) was incorrect.

If you want to make your live easier, then start using repoman which tells you those things.
Comment 9 Thomas Eckert 2004-05-23 03:01:42 UTC
thanks for fixing and adding :)

repoman: as I understood it so far it's tightly coupled with cvs-access, isn't it?
(used "lintool" a while ago but that is really outdated and deprecated now)

Without "cvs" to FEATURES it seems to refuse work -- are there any side-effects
adding it?