Bug 86400 - new port net-mgmt/bsnmpd - mini SNMP daemon
Summary: new port net-mgmt/bsnmpd - mini SNMP daemon
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: Marcus Alves Grando
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-21 10:20 UTC by Andrey V. Elsukov
Modified: 2005-09-27 18:37 UTC (History)
0 users

See Also:


Attachments
bsnmpd.shar (14.63 KB, text/plain)
2005-09-21 10:20 UTC, Andrey V. Elsukov
no flags Details
bsnmpd.shar (15.49 KB, text/plain)
2005-09-22 07:25 UTC, Andrey V. Elsukov
no flags Details
patch-lib-snmp.c (333 bytes, text/plain)
2005-09-23 06:01 UTC, Andrey V. Elsukov
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrey V. Elsukov 2005-09-21 10:20:04 UTC
	This is mini SNMP daemon, that is already included in RELENG_5 and later. With this port we can install this daemon onto older FreeBSD releases.

Fix: Older systems don't have definitions of some macros and I has make several patches to sources, please look it.
Comment 1 Marcus Alves Grando freebsd_committer freebsd_triage 2005-09-21 13:22:09 UTC
Responsible Changed
From-To: freebsd-ports-bugs->mnag

I'll take it
Comment 2 Marcus Alves Grando freebsd_committer freebsd_triage 2005-09-21 15:04:48 UTC
Dear Andrey,

bsnmpd 1.10 already released. Consider update your port and submit followup.

Otherwise, bsnmpd already in 6.0 (ver 1.10), consider add one test to
verify if exists. like:

.if exists(/usr/bin/bsnmpd)
BROKEN= Already in system
.endif

or

.include <bsd.port.pre.mk>

.if ${OSVERSION} < 600000
BROKEN=	Already in system
.endif

-- 
Marcus Alves Grando
Grupos Internet S/A
marcus(at)corp.grupos.com.br
  mnag(at)FreeBSD.org
Comment 3 Marcus Alves Grando freebsd_committer freebsd_triage 2005-09-21 15:05:51 UTC
State Changed
From-To: open->feedback

Asked for update.
Comment 4 Andrey V. Elsukov 2005-09-22 07:25:37 UTC
Marcus Alves Grando wrote:
> bsnmpd 1.10 already released. Consider update your port and submit followup.

I have finished.

-- 
WBR, Andrey V. Elsukov
Comment 5 Marcus Alves Grando freebsd_committer freebsd_triage 2005-09-22 14:18:21 UTC
State Changed
From-To: feedback->open

Feedback received
Comment 6 Marcus Alves Grando freebsd_committer freebsd_triage 2005-09-23 05:04:52 UTC
Dear Andrey,

Can you fix compilation in 5.x?

http://marcus.grupos.com.br:8080/logs/5-STABLE-FreeBSD/bsnmpd-1.10.log

To 4.x compile clean:

http://marcus.grupos.com.br:8080/logs/4-STABLE-FreeBSD/bsnmpd-1.10.log

Thanks

-- 
Marcus Alves Grando
Grupos Internet S/A
marcus(at)corp.grupos.com.br
  mnag(at)FreeBSD.org
Comment 7 Andrey V. Elsukov 2005-09-23 06:01:09 UTC
Marcus Alves Grando wrote:
> Can you fix compilation in 5.x?
> http://marcus.grupos.com.br:8080/logs/5-STABLE-FreeBSD/bsnmpd-1.10.log

Hmm.. On my 5.3-RELEASE and 5.4-STABLE /usr/sbin/bsnmpd - bsnmpd already 
in base system. You build port in chrooted enviroment?
I am sorry, this is my mistake. Please, replace file/patch-lib-snmp.c or 
i should make new shar archive?

-- 
WBR, Andrey V. Elsukov
Comment 8 Andrey V. Elsukov 2005-09-26 07:44:30 UTC
Marcus Alves Grando wrote:
> cc1: warnings being treated as errors
> snmp_ntp.c: In function `val_parse_ip':
> snmp_ntp.c:728: warning: declaration of `sin' shadows a global declaration
> <built-in>:0: warning: shadowed declaration is here
> gmake[1]: *** [snmp_ntp.lo] Error 1

I am sorry, I do not see an error in this place of code.
And on my servers (4.8-RELEASE, 4.11-STABLE, 5.3-RELEASE,
5.4-STABLE, 6.0-BETA4) i do not get any errors..

-- 
WBR, Andrey V. Elsukov
Comment 9 Marcus Alves Grando freebsd_committer freebsd_triage 2005-09-27 18:37:14 UTC
State Changed
From-To: open->closed

New port added. Thanks!