Bug 86459 - Update net-mgmt/snmptt to 1.0
Summary: Update net-mgmt/snmptt to 1.0
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Bruce M Simpson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-22 14:20 UTC by Blaz Zupan
Modified: 2005-11-08 16:22 UTC (History)
0 users

See Also:


Attachments
file.diff (4.10 KB, patch)
2005-09-22 14:20 UTC, Blaz Zupan
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Blaz Zupan 2005-09-22 14:20:01 UTC
This patch has been sent directly to the maintainer on August 27th. A month
has passed and I have received no reply, so I'm sending it in as a PR.

The snmptt port is currently at version 0.9. Version 1.0 has been released
more then a year ago and it fixes (among others) a nasty problem with
logging to MySQL databases.

I have created a patch that updates the port to 1.0. I have also taken the
freedom to do some other fixes on the port.

On deinstallation, the port unconditionally deleted the snmptt.ini file,
which is bad for the user who has changed the configuration. Same goes for
the snmptt.conf.generic file. Also, the sample snmptt.ini contains the wrong
path to the snmptt.conf.generic file.

I have also removed the installation of the rc script to /etc/rc.d on
FreeBSD 5.x. It is completely unneccesary for this port, as it does not
depend on any other service running. The startup script is now installed to
/usr/local/etc/rc.d.

Also, because the user might want to create many snmptt.conf.XXXX files, it
is better to install the configuration files to /usr/local/etc/snmptt, so
they don't clutter up the general /usr/local/etc directory.

Below is the patch. Please review it and commit if you think it is ok.
Comment 1 Marcus Alves Grando freebsd_committer freebsd_triage 2005-09-23 17:17:53 UTC
Responsible Changed
From-To: freebsd-ports-bugs->bms

Over to maintainer.
Comment 2 Pav Lucistnik freebsd_committer freebsd_triage 2005-11-08 16:22:02 UTC
State Changed
From-To: open->closed

Committed, thanks!