Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 62106 - net-news/newsstar-1.2.1 (new ebuild)
Summary: net-news/newsstar-1.2.1 (new ebuild)
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Default Assignee for New Packages
URL:
Whiteboard: sunrise suggested
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2004-08-29 07:49 UTC by Maurice Müller
Modified: 2018-06-07 18:25 UTC (History)
0 users

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


Attachments
Newsstar-1.2.1 Ebuild ;-) (newsstar-1.2.1.ebuild,1.94 KB, text/plain)
2004-08-29 07:53 UTC, Maurice Müller
Details
newsstar-1.2.1.ebuild (newsstar-1.2.1.ebuild,1.86 KB, text/plain)
2004-08-31 22:27 UTC, Maurice Müller
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Maurice Müller 2004-08-29 07:49:54 UTC
Newsstar is a very flexible solution for all needs as regards news up- and downloading. The frontend is written in perl; backend in C. To further improve down/uploading news it implements multiple threads down- or uploading simultaneous. To keep interaction with the program as simple as possible, the perl frontend invokes a custom filter for each news posting, if needed. That gives it the flexibility for many new applications. For example I used newsstar for some time to automatically sign my news postings. (Example <20040707033101.3e8f1d1a%40mauricem.mauricem.de.vu>).
Comment 1 Maurice Müller 2004-08-29 07:53:31 UTC
Created attachment 38435 [details]
Newsstar-1.2.1 Ebuild ;-)
Comment 2 Sven Wegener gentoo-dev 2004-08-31 20:48:25 UTC
ok, some comments to your ebuild maurice:

- RDEPEND="${DEPEND}" should be removed. RDEPEND gets automatically set to DEPEND if not set
- RESTRICT="nomirror" should be removed as we don't rely on foreign mirrors
- SRC_URI="http://dl.sourceforge.net/sourceforge/newsstar/${P}.tar.gz" should be changed to SRC_URI="mirror://sourceforge/newsstar/${P}.tar.gz" to allow users to select a specific sourceforge mirror via /etc/portage/mirrors.
- best would be to get rid of the perl dependency, as it's unnecessary. if i'm right you use perl to strip .sample from the files. this can also be done with basename and a for loop in bash
- initial KEYWORDS should always be ~arch
- virtual/glibc is deprecated. virtual/libc is now the virtual, but as a libc is always installed from the profiles the extra dependenc on a libc is unnecessary
Comment 3 Maurice Müller 2004-08-31 22:15:34 UTC
> - best would be to get rid of the perl dependency, as it's unnecessary. if 
> i'm  right you use perl to strip .sample from the files. this can also be
> done with  basename and a for loop in bash

*shock* Don't! Once again:
| To keep interaction with the program as simple as possible, the perl frontend
| invokes a custom filter for each news posting, if needed.

When you call newsstar, you actually execute a perl script, which executes newsstar.bin. newsstar.bin was written in C and can be executed standalone, however that does not make much sense.

As perl gets used anyway, we can use perl to copy the file. Otherwise it would depend on bash, because I do not know whether all shells provide the for-loop you intend to use (My csh knows foreach and while, but no for-loop...).

I will use your other hints to provide an enhanced ebuild, only exception is that it makes sense to change virtual/glibc to sys-libs/glibc, because I did not test with any other libc and that was what I initially intended.
Comment 4 Maurice Müller 2004-08-31 22:27:19 UTC
Created attachment 38647 [details]
newsstar-1.2.1.ebuild
Comment 5 Sven Wegener gentoo-dev 2004-09-01 06:37:35 UTC
sorry, my bad, i didn't look that far into the package. just looked at the ebuild.
Comment 6 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2009-01-13 20:51:40 UTC
(this is an automated message based on filtering criteria that matched this bug)

Hello, The Gentoo Team would like to firstly thank you for your ebuild
submission. We also apologize for not being able to accommodate you in a timely
manner. There are simply too many new packages.

Allow me to use this opportunity to introduce you to Gentoo Sunrise. The sunrise overlay[1] is a overlay for Gentoo which we allow trusted users to commit to and all users can have ebuilds reviewed by Gentoo devs for entry into the overlay.
So, the sunrise team is suggesting that you look into this and submit your
ebuild to the overlay where even *you* can commit to. =)

Because this is a mass message, we are also asking you to be patient with us. We anticipate a large number of requests in a short time. 

Thanks,
On behalf of the Gentoo Sunrise Team,
Jeremy.

[1]: http://www.gentoo.org/proj/en/sunrise/
[2]: http://overlays.gentoo.org/proj/sunrise/wiki/SunriseFaq