Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 10745 - Updated NUT-ebuild
Summary: Updated NUT-ebuild
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Donny Davies (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-11-14 12:50 UTC by fbusse
Modified: 2003-02-04 19:42 UTC (History)
1 user (show)

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


Attachments
NUT 1.2.0 ebuild (nut.tar.gz,2.66 KB, application/gzip)
2002-11-14 12:51 UTC, fbusse
Details
Nut 1.2.0 diff (nut.diff,372 bytes, patch)
2002-11-15 00:49 UTC, fbusse
Details | Diff
nut-1.2.1.ebuild (nut-1.2.1.ebuild,2.58 KB, text/plain)
2003-01-27 00:34 UTC, Bret Towe
Details

Note You need to log in before you can comment on or make changes to this bug.
Description fbusse 2002-11-14 12:50:34 UTC
Bumped version to 1.2.0 (need to change SRC_URI a bit)
Comment 1 fbusse 2002-11-14 12:51:18 UTC
Created attachment 5665 [details]
NUT 1.2.0 ebuild
Comment 2 Donny Davies (RETIRED) gentoo-dev 2002-11-14 21:03:24 UTC
sorry i will not process this.  you include files with your tarball
that you havent changed; why?  im afraid this is just too clumsy to deal with

i would appreciate, if you would post an inline unified instead the next time.

if you need help creating an appropriate diff, send me a mail.
Comment 3 fbusse 2002-11-15 00:47:22 UTC
OK, here comes a diff. Just copy /usr/portage/net-misc/nut/nut-1.0.0.ebuild to nut-1.2.0.ebuild and patch it. And if you don't like that, you can just edit it manually and change SRC_URI from SRC_URI="http://www.exploits.org/nut/release/${P}.tar.gz" to SRC_URI="http://www.exploits.org/nut/release/1.2/${P}.tar.gz"   
Comment 4 fbusse 2002-11-15 00:49:18 UTC
Created attachment 5675 [details, diff]
Nut 1.2.0 diff
Comment 5 Bret Towe 2002-12-11 00:06:33 UTC
i notice 1.2.1 is out now
Comment 6 Bret Towe 2002-12-23 22:21:16 UTC
i got around to testing 1.2.1 and its working fine for me on 2 systems
Comment 7 Bret Towe 2002-12-23 22:40:07 UTC
i just merged this on a 3rd that didnt have x and the cgi-bin stuff needs x11
also which isnt in the depends (sorta sucks too cause id like to try out that
cgi-bin stuff.. *sigh*)
Comment 8 Donny Davies (RETIRED) gentoo-dev 2003-01-04 17:53:59 UTC
actually no it doesnt/shouldnt require X its just
dying while trying to find Gentoo's libgd library,
of which for some reason we only have the .a version
and not a shared library.

somebody have a sed fix to the configure.in or
similar so we can fix that?  i'll then commit an
updated nut-1.2.1 package with some other fixes
reported in another bug.

but not until the libgd thing is fixed ;-)
Comment 9 Bret Towe 2003-01-27 00:32:38 UTC
ok i have a updated ebuild that makes it so it compiles correctly
one problem that is minor i noticed the ebuild compiles alot after its entered
the install section (looks like all the ups drivers)
Comment 10 Bret Towe 2003-01-27 00:34:12 UTC
Created attachment 7675 [details]
nut-1.2.1.ebuild

nut ebuild with sed script fix
its missing a depend on apache cause it was causing me problems since im using
apache2 now (isnt there a virtual/httpd depend now?)
Comment 11 Donny Davies (RETIRED) gentoo-dev 2003-01-27 22:07:03 UTC
updated on CVS.

just fixed the sed statement to come in src_unpack to configure.in
where it really should be..  was missing a \" before the \1 token as well.

yup your sed statement comes after a 'cd client' which is why it
then compiled all the stuff in make install ;-)

thanks for the help, appreciated all.