Opened 12 years ago

Closed 9 years ago

#35730 closed enhancement (fixed)

net-snmp port should install its manual files

Reported by: ajdudman Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.1.99
Keywords: haspatch Cc:
Port: net-snmp

Description

Port net-snmp should install its manual files, but does not due to bug in man/Makefile.in. My patch to this file fixes the manual file build and install rules and now by default 'make install' installs them.

Attachments (1)

patch-man-Makefile.in.diff (1.1 KB) - added by ajdudman 12 years ago.
patch makefile rules to build and install manual files by default

Download all attachments as: .zip

Change History (7)

Changed 12 years ago by ajdudman

Attachment: patch-man-Makefile.in.diff added

patch makefile rules to build and install manual files by default

comment:1 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Owner: changed from macports-tickets@… to ryandesign@…

I wonder if this patch fixes #35691.

Have you already submitted this patch to the developers of net-snmp?

comment:2 Changed 12 years ago by ajdudman

Yes this fixes #35691. Sorry, either I missed that ticket, or I did not search late enough, as it is just 3 days old.

I have not submitted this patch upstream. I browsed the online git repository to see the developers current work for man/Makefile.in, and they have disabled MAN3 line in the maninstall target's rule.

I searched the snmp bug and patch tracker at sourceforge.net, and I found nothing appropriate to macports's tickets #35691 and #35730.

comment:3 Changed 11 years ago by gjasny@…

Sorry, wrong bug

Last edited 11 years ago by gjasny@… (previous) (diff)

comment:4 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

I have not applied this patch, but the problem did get resolved at some point, right? net-snmp @5.7.3 does install manpages:

$ port -q installed net-snmp
  net-snmp @5.7.3_0+ssl+universal (active)
$ port -q contents net-snmp | grep /man/ | head
  /opt/local/share/man/man1/agentxtrap.1.gz
  /opt/local/share/man/man1/encode_keychange.1.gz
  /opt/local/share/man/man1/fixproc.1.gz
  /opt/local/share/man/man1/mib2c-update.1.gz
  /opt/local/share/man/man1/mib2c.1.gz
  /opt/local/share/man/man1/net-snmp-config.1.gz
  /opt/local/share/man/man1/net-snmp-create-v3-user.1.gz
  /opt/local/share/man/man1/snmp-bridge-mib.1.gz
  /opt/local/share/man/man1/snmpbulkget.1.gz
  /opt/local/share/man/man1/snmpbulkwalk.1.gz

comment:5 Changed 9 years ago by ajdudman

Yes I agree. Speaking about the upstream source, the man page installation problem was present in version 5.7.2, but is now fixed in version 5.7.3. The Macports patch I attached to this ticket should no longer be applied.

comment:6 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.