--- libsnmp-mib-compiler-perl-0.06.orig/debian/patches/00list +++ libsnmp-mib-compiler-perl-0.06/debian/patches/00list @@ -0,0 +1 @@ +01_MANIFEST.SKIP --- libsnmp-mib-compiler-perl-0.06.orig/debian/patches/01_MANIFEST.SKIP.dpatch +++ libsnmp-mib-compiler-perl-0.06/debian/patches/01_MANIFEST.SKIP.dpatch @@ -0,0 +1,17 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 01_MANIFEST.SKIP.dpatch by +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Changes to upstream MANIFEST.SKIP to make it compile in a Debian +## DP: build environment. + +@DPATCH@ + +--- libsnmp-mib-compiler-perl-0.06.orig/MANIFEST.SKIP ++++ libsnmp-mib-compiler-perl-0.06/MANIFEST.SKIP +@@ -9,3 +9,5 @@ + .*\.tar\.gz$ + ^pm_to_blib$ + ^pod2man ++.*-stamp* ++^debian/ --- libsnmp-mib-compiler-perl-0.06.orig/debian/control +++ libsnmp-mib-compiler-perl-0.06/debian/control @@ -0,0 +1,37 @@ +Source: libsnmp-mib-compiler-perl +Section: perl +Priority: optional +Build-Depends: debhelper (>= 5.0.0), dpatch +Build-Depends-Indep: perl (>= 5.8.8-7), libdata-compare-perl +Maintainer: Deepak Tripathi +Standards-Version: 3.7.2 + +Package: libsnmp-mib-compiler-perl +Architecture: all +Depends: ${perl:Depends}, ${misc:Depends}, +Description: a MIB Compiler supporting SMIv1 and SMIv2 + SNMP::MIB::Compiler is a MIB compiler that fully supports + both SMI(v1) and SMIv2. This module can be use to compile + MIBs (recursively or not) or load already compiled MIBs for + later use. + Some tasks can be performed by the resulting object such as : + . + resolution of object names into object identifiers (OIDs). + e.g. ifInOctets => 1.3.6.1.2.1.2.2.1.10 + . + convertion of OIDs. + e.g. 1.3.6.1.2.1.2.1 => + iso.org.dod.internet.mgmt.mib-2.interfaces.ifNumber + . + drawing MIB trees. + e.g. ifTestTable => ifTestTable + | + +-- --- ifTestEntry(1) + | + +-- -rw Integer ifTestId(1) + +-- -rw Integer ifTestStatus(2) + +-- -rw ObjectID ifTestType(3) + +-- -r- Integer ifTestResult(4) + +-- -r- ObjectID ifTestCode(5) + +-- -rw String ifTestOwner(6) + --- libsnmp-mib-compiler-perl-0.06.orig/debian/changelog +++ libsnmp-mib-compiler-perl-0.06/debian/changelog @@ -0,0 +1,22 @@ +libsnmp-mib-compiler-perl (0.06-2) unstable; urgency=low + + * New maintainer (Closes: #377864) + * Add debian/watch + * Add debian/patch + -- Deepak Tripathi Sat, 04 Aug 2007 16:30:26 +0530 + +libsnmp-mib-compiler-perl (0.06-1.1) unstable; urgency=low + + * Non-Maintainer Upload + * Rebuild to remove /usr/doc links, closes: #359528. + * Switched Section to perl to match override + * Fixed small typo in package description, closes: #157745. + + -- Stephen Quinney Fri, 16 Jun 2006 12:14:25 +0100 + +libsnmp-mib-compiler-perl (0.06-1) unstable; urgency=low + + * Initial Debianization. + + -- Jean-Francois Dive Thu, 21 Feb 2002 15:36:08 +1100 + --- libsnmp-mib-compiler-perl-0.06.orig/debian/rules +++ libsnmp-mib-compiler-perl-0.06/debian/rules @@ -0,0 +1,67 @@ +#!/usr/bin/make -f +PERL ?= /usr/bin/perl + +b := $(CURDIR)/debian/libsnmp-mib-compiler-perl +include /usr/share/dpatch/dpatch.make +arrange: arrange-stamp +arrange-stamp: install + dh_testdir + touch arrange-stamp + +binary: binary-stamp +binary-stamp: binary-indep binary-arch + dh_testdir + touch binary-stamp + +binary-arch: binary-arch-stamp +binary-arch-stamp: arrange + dh_testdir + dh_testroot + rm -Rf $(b)/usr/bin + dh_installdocs README + dh_installexamples mibbrowser mibcompiler mib-browser-1.gif + dh_installchangelogs + dh_compress + dh_fixperms + dh_strip + dh_installdeb + dh_perl + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + touch binary-arch-stamp + +binary-indep: binary-indep-stamp +binary-indep-stamp: arrange + dh_testdir + touch binary-indep-stamp + +build: build-stamp +build-stamp: config patch-stamp + dh_testdir + $(MAKE) + $(MAKE) test + touch build-stamp + +clean: unpatch + dh_testdir + dh_testroot + if [ -e Makefile ]; then $(MAKE) -i distclean; fi + dh_clean arrange-stamp binary-stamp binary-arch-stamp binary-indep-stamp build-stamp config-stamp install-stamp `find -name '*.bak'` + +config: config-stamp +config-stamp: + dh_testdir + $(PERL) Makefile.PL INSTALLDIRS=vendor + touch config-stamp + +install: install-stamp +install-stamp: build + dh_testdir + dh_installdirs + $(MAKE) install PREFIX=$(b)/usr + chmod a-x $(b)/usr/share/perl5/SNMP/MIB/Compiler.pm + touch install-stamp + +.PHONY: arrange binary binary-arch binary-indep build clean config install --- libsnmp-mib-compiler-perl-0.06.orig/debian/compat +++ libsnmp-mib-compiler-perl-0.06/debian/compat @@ -0,0 +1 @@ +5 --- libsnmp-mib-compiler-perl-0.06.orig/debian/copyright +++ libsnmp-mib-compiler-perl-0.06/debian/copyright @@ -0,0 +1,18 @@ +This package have been packaged by Jean-Francois Dive +as libsnmp-mib-compiler-perl. +The only changes are the debian packaging information. + +It is now maintained by Deepak Tripathi + +The upstream source is the CPAN perl module repository and can be +found at http://www.cpan.org/ + +the SNMP::MIB::Compiler license as stated in the documentation is the following: +" +Copyright 1998, 1999, Fabien Tassin. All rights reserved. +It may be used and modified freely, but I do request that +this copyright notice remain attached to the file. You may +modify this module as you wish, but if you redistribute a +modified version, please attach a note listing the modifications +you have made. +" --- libsnmp-mib-compiler-perl-0.06.orig/debian/watch +++ libsnmp-mib-compiler-perl-0.06/debian/watch @@ -0,0 +1,13 @@ +# Example watch control file for uscan +# Rename this file to "watch" and then you can run the "uscan" command +# to check for upstream updates and more. +# See uscan(1) for format + +# Compulsory line, this is a version 3 file +version=3 + +# Uncomment to examine a Webpage +# +http://search.cpan.org/CPAN/authors/id/F/FT/FTASSIN/SNMP-MIB-Compiler-(.*)\.tar\.gz + +