Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 33906 - Ebuild submission of util-vserver-0.2x.ebuild
Summary: Ebuild submission of util-vserver-0.2x.ebuild
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High enhancement
Assignee: Gentoo Cluster Team
URL: http://www.linux-vserver.org
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks: 45043
  Show dependency tree
 
Reported: 2003-11-20 00:52 UTC by Allen Parker
Modified: 2010-09-10 18:59 UTC (History)
2 users (show)

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


Attachments
util-vserver-0.23.5.ebuild (util-vserver-0.23.5.ebuild,672 bytes, text/plain)
2003-11-20 02:09 UTC, Allen Parker
Details
util-vserver-0.23.6.ebuild (util-vserver-0.23.6.ebuild,672 bytes, text/plain)
2003-11-20 02:10 UTC, Allen Parker
Details
util-vserver-0.24.ebuild (util-vserver-0.24.ebuild,672 bytes, text/plain)
2003-11-20 02:10 UTC, Allen Parker
Details
util-vserver-0.25.ebuild (util-vserver-0.25.ebuild,672 bytes, text/plain)
2003-11-20 02:10 UTC, Allen Parker
Details
util-vserver-0.24.90-rc.ebuild (util-vserver-0.24.90-rc.ebuild,669 bytes, text/plain)
2003-11-20 02:12 UTC, Allen Parker
Details
util-vserver-0.24.91-rc.ebuild (util-vserver-0.24.91-rc.ebuild,669 bytes, text/plain)
2003-11-20 02:12 UTC, Allen Parker
Details
New ebuild version (util-vserver-0.26.ebuild,725 bytes, text/plain)
2003-11-25 01:11 UTC, Allen Parker
Details
util-vserver-0.29.ebuild (util-vserver-0.29.ebuild,814 bytes, text/plain)
2004-03-18 10:38 UTC, Thomas Eckert
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Allen Parker 2003-11-20 00:52:44 UTC
Ebuild submission related to sys-vserver branch request.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.




Files included: util-vserver-0.23.5.ebuild  util-vserver-0.23.6.ebuild  util-
vserver-0.24.90.ebuild  util-vserver-0.24.91.ebuild  util-vserver-0.24.ebuild  
util-vserver-0.25.ebuild
Comment 1 Allen Parker 2003-11-20 02:09:50 UTC
Created attachment 20977 [details]
util-vserver-0.23.5.ebuild

tested working via for i in *.ebuild ; do ebuild $i package;done
Comment 2 Allen Parker 2003-11-20 02:10:09 UTC
Created attachment 20978 [details]
util-vserver-0.23.6.ebuild

tested working via for i in *.ebuild ; do ebuild $i package;done
Comment 3 Allen Parker 2003-11-20 02:10:28 UTC
Created attachment 20979 [details]
util-vserver-0.24.ebuild

tested working via for i in *.ebuild ; do ebuild $i package;done
Comment 4 Allen Parker 2003-11-20 02:10:52 UTC
Created attachment 20980 [details]
util-vserver-0.25.ebuild

tested working via for i in *.ebuild ; do ebuild $i package;done
Comment 5 Allen Parker 2003-11-20 02:12:09 UTC
Created attachment 20981 [details]
util-vserver-0.24.90-rc.ebuild

tested working via for i in *.ebuild ; do ebuild $i package;done
Comment 6 Allen Parker 2003-11-20 02:12:23 UTC
Created attachment 20982 [details]
util-vserver-0.24.91-rc.ebuild

tested working via for i in *.ebuild ; do ebuild $i package;done
Comment 7 Mike Gardiner (RETIRED) gentoo-dev 2003-11-22 02:19:09 UTC
Just thought I'd comment briefly. I've only looked at 0.25 and noticed the following

o  KEYWORDS should be ~ for the archs you've tested (so ~x86) not placed straight into stable
o  Can all of the versions really be slotted by their version ? And does it make sense to have versions, say, 0.23.5, 0.24.90, 0.24.91 and 0.25 installed at the same time ? Otherwise they should all share the same slot of 0 rather than ${PV}
o  No need to redefine S, it defaults to ${WORKDIR}/${P}
o  Have a look at using econf rather than ./configure with arguments in src_compile()

Other than those things, not a bad effort.
Comment 8 Allen Parker 2003-11-22 02:32:37 UTC
I think my dyslexia got ahold of me ;-) thanks for the tips, setting them to slot="0" is ok, in fact, it can be done with sed if need be. Removing S=${WORKDIR}/${P} is also ok with me. I'll be sure to keep those in mind in the next batch of ebuilds. The problem with using econf is that this particular package will attempt to install it's /etc entries into /usr if you call ./configure with --prefix=/usr, so either way, I'd have to define all of the extra configure lines I'm pretty sure to get the package to dump its files into the right structure.
Comment 9 Allen Parker 2003-11-25 01:11:25 UTC
Created attachment 21245 [details]
New ebuild version

This ebuild will work for versions -0.24 -0.25 -0.26 and may work for upcoming
releases. I should be adding a patch to this ebuild sometime soon after I've
linked a new bug to this one (sys-kernels/vserver-sources ebuilds)
Comment 10 Mike Gardiner (RETIRED) gentoo-dev 2003-11-26 01:48:43 UTC
Okay, we're getting there (btw: this is an ebuilding learning curve, I'm sure almost everyone (devs and users alike) have gone through something similar with their first few ebuilds, the main thing is that you learn (some of us are picky with our ebuilding) :) ).

o  Do you need to RESTRICT="nomirror" ? While the source may not be available on the Gentoo mirrors now, the mirrors have an (imperfect) script that attempts to add the files to the mirror. So it's best to remove this line, it doesnt cause many problems if a file isnt mirrored (just a couple of quick checks for the Gentoo mirrors).
o  econf: I would've assumed that make DESTDIR would take care of those things, looks like a slightly bugged Makefile. You can still pass econf arguments you'd like, so maybe try econf --prefix=/ --exec-prefix=/usr just see if it helps out.
o  change 'util-vserver' in SRC_URI and HOMEPAGE to ${PN}

I guess mostly these are 'the way things are done' whether it be officially or not, but you're definitely getting there.
Comment 11 Thomas Eckert 2003-12-06 10:25:37 UTC
hi, please have a look at the following 2 related bugs:
bug #19230 (original vserver tools)
bug #24619 (vserver-pached kernel)
Comment 12 solar (RETIRED) gentoo-dev 2004-01-02 10:31:28 UTC
Bouncing bug back to bug-wranglers. Nobody on the hardened herd is wanting to maintain this package at this time. Perhaps run it by the #gentoo-server folks.
Comment 13 Thomas Eckert 2004-03-18 10:38:45 UTC
Created attachment 27557 [details]
util-vserver-0.29.ebuild

the "new ebuild" has some syntax-errors in it, this one should fix 'em.
v0.29 is for usage with the stable-tree of the vserver-patch (1.2x).
Comment 14 Michael Imhof (RETIRED) gentoo-dev 2004-03-25 04:39:44 UTC
As i already checked in this ebuild on bug #45053 i'm going to close this bug now.