pmacct package proposal
Chris Wilson
chris-epel-110727 at aptivate.org
Wed Jul 27 11:09:38 UTC 2011
Hi all,
I would like to offer to supply and maintain an RPM package for pmacct in
Fedora and EPEL.
I found an old package in OpenSuSE
<ftp://ftp.pbone.net/mirror/ftp5.gwdg.de/pub/opensuse/repositories/server%3A/monitoring/SLES_9/src/pmacct-0.11.4-4.1.src.rpm>.
I have updated it to the latest release of pmacct and removed sqlite
support which I consider useless, as the database must be multi-user for
sensible applications of pmacct.
My new package builds, but cannot be installed due to a dependency
problem. The original package depends on mysql-shared, but I think this is
called just "mysql" in redhat-ish distros. I tried the following macro:
%if 0%{?fedora} || 0%{?rhel_version} || 0%{?centos_version}
Requires: mysql postgresql-libs
%else
Requires: mysql-shared postgresql-libs
%endif
but it doesn't appear to work. Can anyone advise me?
Assuming that I can solve this issue, please let me know how I may proceed
with getting this package into Fedora and EPEL.
Cheers, Chris.
--
Aptivate | http://www.aptivate.org | Phone: +44 1223 760887
The Humanitarian Centre, Fenner's, Gresham Road, Cambridge CB1 2ES
Aptivate is a not-for-profit company registered in England and Wales
with company number 04980791.
More information about the epel-devel-list
mailing list