Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 104244 - canlock-2b.ebuild (New Package)
Summary: canlock-2b.ebuild (New Package)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Default Assignee for New Packages
URL:
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks: 104245
  Show dependency tree
 
Reported: 2005-08-30 03:36 UTC by Marek Szuba
Modified: 2011-09-30 10:06 UTC (History)
3 users (show)

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


Attachments
canlock-2b.ebuild (canlock-2b.ebuild,524 bytes, text/plain)
2005-08-30 03:37 UTC, Marek Szuba
Details
canlock-2b.ebuild (canlock-2b.ebuild,606 bytes, text/plain)
2005-08-30 07:04 UTC, Marek Szuba
Details
canlock-2b.ebuild (canlock-2b.ebuild,593 bytes, text/plain)
2005-08-30 08:44 UTC, Marek Szuba
Details
canlock-2b.ebuild (canlock-2b.ebuild,612 bytes, text/plain)
2005-09-01 03:52 UTC, Marek Szuba
Details
working canlock ebuild (canlock-2_beta.ebuild,875 bytes, text/plain)
2010-04-10 19:55 UTC, Sebastian Lüttich
Details
canlock-2b.ebuild (canlock-2b.ebuild,912 bytes, text/plain)
2010-04-10 23:26 UTC, Tim Harder
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marek Szuba archtester gentoo-dev 2005-08-30 03:36:32 UTC
Please find attached canlock-2b.ebuild. Not sure if I got the licence right, but 
as far as I could tell that's how it appears to be. Keywords have been set in 
accordance with the README, plus my personal experience (amd64).

Canlock is a small library for handling Usenet cancel locks. At least two 
readers I know of use it (slrn natively, tin with a patch), so it might be worth 
including into portage.

My suggestion for its place in the repository is net-libs/canlock.
Comment 1 Marek Szuba archtester gentoo-dev 2005-08-30 03:37:32 UTC
Created attachment 67254 [details]
canlock-2b.ebuild
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2005-08-30 04:07:02 UTC
1/ We cannot include this with a missing header.
2/ Keywords do not follow policy.
3/ No need to DEPEND/RDEPEND on libc, also you should not set RDEPEND to DEPEND.
4/ Licenses need to be separated by space, not comma.
5/ ${S} should be quoted
6/ src_install () is invalid, needs to be src_install()

http://www.gentoo.org/proj/en/devrel/handbook/handbook.xml?part=2&chap=3
http://www.gentoo.org/proj/en/devrel/handbook/handbook.xml?part=2&chap=1

Please, fix the above problems and reopen.
Comment 3 Marek Szuba archtester gentoo-dev 2005-08-30 07:04:44 UTC
Created attachment 67265 [details]
canlock-2b.ebuild

Sorry about that, I was basing mostly on other ebuilds and haven't read the
whole developer's handbook yet. Hope it will be better this time.
Comment 4 Marek Szuba archtester gentoo-dev 2005-08-30 07:05:14 UTC
New version of ebuild posted.
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2005-08-30 07:13:48 UTC
Looks good now. One more question - did you really test this on all the ARCHs in
KEYWORDS? If not, then leave only those tested. Thanks.
Comment 6 Marek Szuba archtester gentoo-dev 2005-08-30 08:44:20 UTC
Created attachment 67277 [details]
canlock-2b.ebuild

Removed two architectures I haven't personally tested building canlock on
(although the upstream README does claim both Alpha and Itanium are supported).
Comment 7 Ciaran McCreesh 2005-08-31 17:45:26 UTC
* No need to cd ${S}.
* No documentation?

Please reopen with an attached ebuild.
Comment 8 Marek Szuba archtester gentoo-dev 2005-09-01 03:52:08 UTC
Created attachment 67405 [details]
canlock-2b.ebuild
Comment 9 Marek Szuba archtester gentoo-dev 2005-09-01 03:52:52 UTC
New ebuild posted.
Comment 10 Marek Szuba archtester gentoo-dev 2005-10-16 05:31:10 UTC
So... Anything more I could do to have this package accepted?
Comment 11 James Earl Spahlinger 2009-07-24 06:12:57 UTC
Upstream link at http://homepage.mac.com/imeowbot/iblog/C1355421991/
 is dead, however debian has a copy of it in their testing repo as well as stable: http://packages.qa.debian.org/c/canlock.html

If we can identify upstream this might be worth at least putting into sunrise especially with the work put into the ebuild.
Comment 12 Sebastian Lüttich 2010-04-10 19:55:39 UTC
Created attachment 227297 [details]
working canlock ebuild

I did a rework of the last ebuild, changed sources and diff.  My versioning scheme seems to fit better.  (But it's only my opinion)

regards, Sebastian
Comment 13 Tim Harder gentoo-dev 2010-04-10 23:26:17 UTC
Created attachment 227327 [details]
canlock-2b.ebuild

Changes for previously posted ebuilds:
  * Use EAPI 2 for src_prepare phase
  * Use debian mirror for the SRC_URI
  * Explicitly specify no deps/rdeps needed
  * Rework the ebuild some more to simplify applying the debian patch
  * Install only necessary files -- test binaries (canlocktest and hmactest) only needed for running tests before installing (which pass for me)
  * Use multilib eclass for the get_libdir function

Note that there is still a minor bug with parallel make jobs that appears to be caused by the code from the debian patch.
Comment 14 Sebastian Lüttich 2010-04-11 04:22:45 UTC
(In reply to comment #13)

> Changes for previously posted ebuilds:
>   * Use EAPI 2 for src_prepare phase
>   * Use debian mirror for the SRC_URI
>   * Explicitly specify no deps/rdeps needed
>   * Rework the ebuild some more to simplify applying the debian patch
>   * Install only necessary files -- test binaries (canlocktest and hmactest)
> only needed for running tests before installing (which pass for me)
>   * Use multilib eclass for the get_libdir function

Rad!  Thanks a lot.

Sebastian
Comment 15 Tim Harder gentoo-dev 2011-09-30 10:06:00 UTC
Added to CVS.