Problem in creating customized netsnmp deb package
Hakala Mikko <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
Hi, I'd want to create my own netsnmp deb package in debian linux. Default deb package isn't suitable for us (we need process monitoring with trap sending) I have compiled and installed net-snmp-5.1.2 from source with configure options (--with-mib-modules="host disman/event-mib" --without-mib-modules="hr_swinst" and it works fine. I have try create deb package...package has been created with "default" configure options. I have modified debian/rules with my own option but it doesn't work. (If I run make and make install after package creation net-snmp is working fine, but package created from same source is not). configure-summary is just what I was expected. My steps when trying to create own customized deb package: apt-get source snmpd Edit net-snmp-5.1.2/debian/rules Run dpkg-buildpackage -rfakeroot -uc -b Dpkg -i snmpd_5.1.2-6.1_i386.deb Cp my_snmpd.conf /etc/snmp/snmpd.conf Restart snmpd Result: snmpd is running with "default" configure options... After this I tried this manually. I run just make and make install in snmp source directory and everything works fine. What I'm missing or what I'm doing wrong. Or is this anyway possible to do in this way? Br, Mikko ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Net-snmp-users mailing list [email protected] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users