Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 561 - New submission: leafnode-1.9.19
Summary: New submission: leafnode-1.9.19
Status: VERIFIED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High enhancement (vote)
Assignee: chouser (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-02-06 13:09 UTC by Markus Krainer
Modified: 2003-02-04 19:42 UTC (History)
1 user (show)

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


Attachments
leafnode-1.9.19 (leafnode.tar.gz,1.26 KB, application/x-compressed)
2002-02-06 13:11 UTC, Markus Krainer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Markus Krainer 2002-02-06 13:09:43 UTC
Hi!

Please find attached leafnode.tar.gz wich contains
- leafnode-1.9.19.ebuild
- ChangeLog
- files/digest-leafnode-1.9.19
- files/leafnode.xinetd (which becomes /etc/xinetd.d/leafnode-nntp)

Leafnode is a news proxy designed for small sites (as is my lan).
As gentoo (best distro ever) currently is lacking a newsserver
I think it's a good enhancement that should go into net-news/leafnode.
Deps are: dev-libs/libpcre
For more information visit http://www.leafnode.org/
Of course the ebuild is 'sandbox-probed' and safe.

Hope you find it useful.

  Markus
Comment 1 Markus Krainer 2002-02-06 13:11:41 UTC
Created attachment 132 [details]
leafnode-1.9.19
Comment 2 chouser (RETIRED) gentoo-dev 2002-02-24 21:24:56 UTC
This line in the ebuild intruiged me:

  # <dollar_sign>Header<dollar_sign>

Did you using some unusual tool to create the ebuild?

I took out the --infodir line, since this package doesn't contain any info
files. Also, I like having error messages on all the "die" lines.

I added DEBUG="$CFLAGS" on the emake command-line, otherwise the Makefile
ignores make.conf's CFLAGS'

I moved the creation of all the spool dirs into pkg_postinst(), so that they
don't get removed on unmerge.

Otherwise, quite a beautiful ebuild.  Please test this again, if you can -- I
don't know enough about news to test it well enough.  Thanks!

--Chouser
Comment 3 Markus Krainer 2002-02-25 13:02:39 UTC
Thanks for your detailed description of the mistakes I made in my first
ebuild. As I have some more ebuilds in planning this is a valuable source of
information for me.

I tested it again (merge/unmerge/remerge) and it works perfectly.
Please note my comments below:


> ------- Additional Comments From chouser@gentoo.org  2002-02-24 21:24 -------
> This line in the ebuild intruiged me:
> 
>   # <dollar_sign>Header<dollar_sign>
I thought this gets replaced by cvs.

> Did you using some unusual tool to create the ebuild?
If vim is unusual ;)

> I took out the --infodir line, since this package doesn't contain any info
> files. Also, I like having error messages on all the "die" lines.
> 
> I added DEBUG="$CFLAGS" on the emake command-line, otherwise the Makefile
> ignores make.conf's CFLAGS'
Sorry, I overlooked that.


> I moved the creation of all the spool dirs into pkg_postinst(), so that they
> don't get removed on unmerge.
That's great! I didn't know how to accomplish this.

> Otherwise, quite a beautiful ebuild.  Please test this again, if you can -- I
> don't know enough about news to test it well enough.  Thanks!
Thanks, too!

  Markus