~ubuntu-branches/ubuntu/wily/net-snmp/wily-proposed

« back to all changes in this revision

Viewing changes to .pc/03_makefiles.patch/mibs/Makefile.in

  • Committer: Bazaar Package Importer
  • Author(s): Chuck Short
  • Date: 2010-06-28 14:59:36 UTC
  • mfrom: (1.2.3 upstream) (1.1.12 sid)
  • Revision ID: james.westby@ubuntu.com-20100628145936-cbiallic69pn044g
Tags: 5.4.3~dfsg-1ubuntu1
* Merge from debian unstable.  Remaining changes:
  - Set Ubuntu maintainer address.
  - net-snmp-config: Use bash. (LP: #104738)
  - Removed multiuser option when calling update-rc.d. (LP: #254261)
  - debian/snmpd.init: LSBify the init script.
  - debian/patches/52_fix_snmpcmd_1_typo.patch: Adjust a typo in snmpcmd.1
    (LP: #250459)
  - debian/snmpd.postinst: source debconf before doing work, LP: #589056
  - debian/snmp.preinst, debian/snmp.prerm: kill any/all processes owned by
    snmp user before install/uninstall, LP: #573391
  - Add apport hook (LP: #533603):
  - debian/{snmp,snmpd}.apport: Added.
  - debian/control: Build-depends on dh-apport.
  - debian/rules: 
    + Add --with apport.
    + override_dh_apport to install hook on snmpd package only.
 * Dropped patches:
   - debian/patches/99-fix-ubuntu-div0.patch: Fix dvision by zero.. 

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#
 
2
# Makefile to install mib files.
 
3
#
 
4
 
 
5
top_builddir=..
 
6
 
 
7
VPATH           = @srcdir@
 
8
 
 
9
#
 
10
# Stuff here
 
11
#
 
12
OTHERINSTALL=mibsinstall
 
13
OTHERUNINSTALL=mibsuninstall
 
14
 
 
15
 
 
16
V1MIBS  = RFC1155-SMI.txt RFC1213-MIB.txt RFC-1215.txt
 
17
 
 
18
V2MIBS = SNMPv2-CONF.txt SNMPv2-SMI.txt SNMPv2-TC.txt SNMPv2-TM.txt \
 
19
        SNMPv2-MIB.txt
 
20
 
 
21
V3MIBS  = SNMP-FRAMEWORK-MIB.txt SNMP-MPD-MIB.txt SNMP-TARGET-MIB.txt \
 
22
        SNMP-NOTIFICATION-MIB.txt SNMP-PROXY-MIB.txt \
 
23
        SNMP-USER-BASED-SM-MIB.txt SNMP-VIEW-BASED-ACM-MIB.txt \
 
24
        SNMP-COMMUNITY-MIB.txt TRANSPORT-ADDRESS-MIB.txt
 
25
 
 
26
AGENTMIBS = AGENTX-MIB.txt SMUX-MIB.txt
 
27
 
 
28
IANAMIBS = IANAifType-MIB.txt IANA-LANGUAGE-MIB.txt \
 
29
        IANA-ADDRESS-FAMILY-NUMBERS-MIB.txt
 
30
 
 
31
RFCMIBS = IF-MIB.txt IF-INVERTED-STACK-MIB.txt \
 
32
        EtherLike-MIB.txt \
 
33
        IP-MIB.txt IP-FORWARD-MIB.txt IANA-RTPROTO-MIB.txt \
 
34
        TCP-MIB.txt UDP-MIB.txt \
 
35
        INET-ADDRESS-MIB.txt HCNUM-TC.txt \
 
36
        HOST-RESOURCES-MIB.txt HOST-RESOURCES-TYPES.txt \
 
37
        RMON-MIB.txt \
 
38
        IPV6-TC.txt IPV6-MIB.txt IPV6-ICMP-MIB.txt IPV6-TCP-MIB.txt \
 
39
        IPV6-UDP-MIB.txt \
 
40
        DISMAN-EVENT-MIB.txt DISMAN-SCRIPT-MIB.txt DISMAN-SCHEDULE-MIB.txt \
 
41
        NOTIFICATION-LOG-MIB.txt SNMP-USM-AES-MIB.txt \
 
42
        SNMP-USM-DH-OBJECTS-MIB.txt \
 
43
        SCTP-MIB.txt
 
44
 
 
45
NETSNMPMIBS = NET-SNMP-TC.txt NET-SNMP-MIB.txt NET-SNMP-AGENT-MIB.txt \
 
46
        NET-SNMP-EXAMPLES-MIB.txt NET-SNMP-EXTEND-MIB.txt NET-SNMP-PASS-MIB.txt
 
47
 
 
48
UCDMIBS = UCD-SNMP-MIB.txt UCD-DEMO-MIB.txt UCD-IPFWACC-MIB.txt \
 
49
        UCD-DLMOD-MIB.txt UCD-DISKIO-MIB.txt
 
50
 
 
51
DEFAULTMIBS = @default_mibs_install@
 
52
 
 
53
MIBS    = $(V1MIBS) $(V2MIBS) $(V3MIBS) $(RFCMIBS) \
 
54
        $(AGENTMIBS) $(IANAMIBS) \
 
55
        $(NETSNMPMIBS) $(UCDMIBS) $(DEFAULTMIBS)
 
56
 
 
57
all: standardall
 
58
 
 
59
mibsinstall: installdirs
 
60
        @for i in $(MIBS) ; do \
 
61
                $(INSTALL_DATA) $(srcdir)/$$i $(INSTALL_PREFIX)$(mibdir) ; \
 
62
                echo "install: installed $$i in $(INSTALL_PREFIX)$(mibdir)" ; \
 
63
        done
 
64
 
 
65
mibsuninstall: installdirs
 
66
        @for i in $(MIBS) ; do \
 
67
                rm -f $(INSTALL_PREFIX)$(mibdir)/$$i ; \
 
68
                echo "removed $$i from $(INSTALL_PREFIX)$(mibdir)" ; \
 
69
        done
 
70
 
 
71
installdirs:
 
72
        @$(SHELL) $(srcdir)/../mkinstalldirs $(INSTALL_PREFIX)$(mibdir)
 
73
 
 
74
htmldir:
 
75
        @if test ! -d html ; then \
 
76
                mkdir html ; \
 
77
        fi
 
78
        rm -f html/index.html ; \
 
79
        $(PERL) makehtml.pl -W -M `pwd` -D html $(MIBS) > html/index.html
 
80