Bug 173213 - [PATCH] net-mgmt/net-snmp: fix embedded perl support
Summary: [PATCH] net-mgmt/net-snmp: fix embedded perl support
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: Ryan Steinmetz
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-10-30 13:30 UTC by Frank Wall
Modified: 2012-11-21 13:37 UTC (History)
0 users

See Also:


Attachments
file.diff (617 bytes, patch)
2012-10-30 13:30 UTC, Frank Wall
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Frank Wall 2012-10-30 13:30:00 UTC
Support for embedded perl was broken by svn commit: r305803. It is impossible to enable support for embedded perl as of now.

Fix: apply the patch, fix the relevant port OPTION

Patch attached with submission follows:
How-To-Repeat: - try to enable embedded perl in net-mgmt/net-snmp: make config
- verify that it has been enabled: 

grep PERL_EMBEDDED /var/db/ports/net-snmp/options
_FILE_COMPLETE_OPTIONS_LIST=AX_SOCKONLY DMALLOC DUMMY IPV6 MFD_REWRITES MYSQL PERL PERL_EMBEDDED PYTHON TKMIB UNPRIVILEGED
OPTIONS_FILE_SET+=PERL_EMBEDDED

- try to run the configure script: make configure
- you will notice that embedded perl support is still DISABLED:

---------------------------------------------------------
            Net-SNMP configuration summary:
---------------------------------------------------------

  SNMP Versions Supported:    1 2c 3
  Building for:               freebsd7
  Net-SNMP Version:           5.7.2
  Network transport support:  Callback Unix Alias TCP UDP IPv4Base SocketBase TCPBase UDPIPv4Base UDPBase
  SNMPv3 Security Modules:     usm
  Agent MIB code:             host disman/event-mib smux mibII/mta_sendmail mibII/tcpTable ucd-snmp/diskio sctp-mib default_modules =>  host/hrh_storage host/hrh_filesys host/hrSWInstalledTable host/hrSWRunTable host/hr_system host/hr_device host/hr_other host/hr_proc host/hr_network host/hr_print host/hr_disk host/hr_partition disman/event smux/smux mibII/ip util_funcs/header_simple_table sctp-mib/sctpScalars sctp-mib/sctpTables snmpv3mibs mibII ucd_snmp notification notification-log-mib target agent_mibs agentx disman/event disman/schedule utilities host
  MYSQL Trap Logging:         unavailable
  Embedded Perl support:      disabled
  SNMP Perl modules:          building -- not embeddable
  SNMP Python modules:        disabled
  Crypto support from:        crypto
  Authentication support:     MD5 SHA1
  Encryption support:         DES AES
  Local DNSSEC validation:    disabled

---------------------------------------------------------

- result: support for embedded perl is disabled
- expected result: embedded perl should be enabled
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2012-10-30 13:30:09 UTC
Responsible Changed
From-To: freebsd-ports-bugs->zi

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Ryan Steinmetz freebsd_committer freebsd_triage 2012-11-21 13:37:33 UTC
State Changed
From-To: open->closed

Committed, with minor changes. Thanks!