Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 10549 - bitkeeper-3.0.ebuild (new package, update of bug 7922)
Summary: bitkeeper-3.0.ebuild (new package, update of bug 7922)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Zach Welch (RETIRED)
URL:
Whiteboard:
Keywords:
: 7922 (view as bug list)
Depends on:
Blocks:
 
Reported: 2002-11-10 17:00 UTC by Evan Powers
Modified: 2002-11-19 15:30 UTC (History)
2 users (show)

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


Attachments
ebuild for BitKeeper 3.0 (bitkeeper-3.0.ebuild,1.83 KB, text/plain)
2002-11-10 17:02 UTC, Evan Powers
Details
patch 3.0 -> 3.0-r1 (bitkeeper-r0-r1.patch,1.01 KB, patch)
2002-11-18 18:30 UTC, Evan Powers
Details | Diff
suggested ChangeLog patch 3.0 -> 3.0-r1 (ChangeLog.patch,600 bytes, patch)
2002-11-18 18:32 UTC, Evan Powers
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Evan Powers 2002-11-10 17:00:36 UTC
The attached ebuild installs bitkeeper-3.0. 
 
It is a re-write of the ebuild in bug 7922 (bitkeeper-2.1); I think this 
implementation is marginally nicer. 
 
This is my first ebuild, so someone more knowledgeable should look over my 
code. In particular I'm not sure what the official way to select different 
package tarballs based on architecture is, or whether an /etc/env.d file 
should be created with a here-document in the ebuild or included as a separate 
file.
Comment 1 Evan Powers 2002-11-10 17:02:01 UTC
Created attachment 5550 [details]
ebuild for BitKeeper 3.0
Comment 2 Zach Welch (RETIRED) gentoo-dev 2002-11-11 15:57:39 UTC
I will look at this and put it in portage asap.
Comment 3 phoen][x 2002-11-15 13:54:23 UTC
*** Bug 7922 has been marked as a duplicate of this bug. ***
Comment 4 Zach Welch (RETIRED) gentoo-dev 2002-11-16 01:13:28 UTC
Update DEPEND, add BKL to licenses, and *poof* bitkeeper is now in dev-util. 
 
Enjoy. 
Comment 5 Evan Powers 2002-11-18 18:26:24 UTC
I just noticed the bitkeeper-3.0 ebuild doesn't fix the permissions 
and ownership of the installed files after they come out of the tarball. 
Several files were world writable and all had a bizzare UID and GID. 
 
So, I'm including an appropriate patch, and a suggested patch for the 
ChangeLog. I guess this makes it bitkeeper-3.0-r1.ebuild. 
 
Can't believe I missed this. 
Comment 6 Evan Powers 2002-11-18 18:30:37 UTC
Created attachment 5782 [details, diff]
patch 3.0 -> 3.0-r1

Patch to fix the permissions and ownership of the installed files.
Also changes the "use arch" constructs to look more like the form suggested in
the Gentoo devel guide.
Comment 7 Evan Powers 2002-11-18 18:32:48 UTC
Created attachment 5783 [details, diff]
suggested ChangeLog patch 3.0 -> 3.0-r1

Suggested ChangeLog patch for the ebuild patch
Comment 8 Zach Welch (RETIRED) gentoo-dev 2002-11-18 18:57:11 UTC
Instead of using chmod, did you try adding -p to the tar command?  This will
extract whatever permissions are in the archive and is probably the Right Thing
To Do in this case.

I have applied the use flag patch, but I will wait to hear back from you before
I commit the -r1 ebuild.
Comment 9 Evan Powers 2002-11-18 22:37:04 UTC
Yeah, I thought of that myself. Unfortunately the permissions and ownerships 
encoded inside the tarball actually are wrong. 
 
On inspection, the bk install script does an equivalent operation after 
extracting the tarball. Don't know why I didn't see that the first time. 
Comment 10 Zach Welch (RETIRED) gentoo-dev 2002-11-19 15:30:18 UTC
okay then, I've commited your changes as you submitted them.