Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 59285 - ebuild for new apcupsd 3.10.14 with fixed SNMP dependency
Summary: ebuild for new apcupsd 3.10.14 with fixed SNMP dependency
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: Normal major (vote)
Assignee: Michael Imhof (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-03 09:16 UTC by Torsten Kurbad
Modified: 2004-08-30 16:52 UTC (History)
1 user (show)

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


Attachments
The new ebuild. (apcupsd-3.10.14.ebuild,2.33 KB, text/plain)
2004-08-03 09:19 UTC, Torsten Kurbad
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Torsten Kurbad 2004-08-03 09:16:10 UTC
Hello,

yesterday I figured out, that the ebuild for apcupsd in the current tree
(version 3.10.13) doesn't honour virtual/snmp, but instead merges net-snmp, if
snmp is in the use flags.

This caused me some trouble since we have net-snmpd running and the two aren't compatible in their commandline-switches.

Thus, I tried to set the dependency to virtual/snmp and in addition updated the ebuild to the current stable version of apcupsd (3.10.14).

After removing the ucd-snmp.patch, everything works fine to me on ~x86. Anyhow, this almost certainly breaks compatibility with ucd-snmp.

So, would someone please test this and perhaps contribute a patch that finds out, whether we have ucd-snmp or net-snmp...

Thanks in advance!

Regards,
Torsten
Comment 1 Torsten Kurbad 2004-08-03 09:19:20 UTC
Created attachment 36706 [details]
The new ebuild.

Additionally, the files from $PORTDIR/sys-apps/apcupsd/files/3.10.13 have to be

copied to $PORTDIR/sys-apps/apcupsd/files/3.10.14
Comment 2 Torsten Kurbad 2004-08-03 09:24:12 UTC
Sorry folks, I had a typo in the description:

Of course I wanted to say, that the old ebuild merges UCD-snmp, not NET-snmp.

In fact, ucd-snmp overwrote my installation of net-snmp, which was the cause of all my troubles.

Regards,
Torsten
Comment 3 Michael Imhof (RETIRED) gentoo-dev 2004-08-30 16:27:21 UTC
Any suggestion how to handle this?

Is it possible to aply the patch only if ucd-snmp is installed already?
Comment 4 Michael Imhof (RETIRED) gentoo-dev 2004-08-30 16:52:59 UTC
I bumped the version some days ago.
Now i bumped to .15-r1, which DEPENDs on virtual/snmp.
If that dependency is fullfilled by ucd-snmp the ebuild will apply the patch. If not it won't patch and should work for you.

Please test it and report back if it works as intended.