[libsnmp-session-perl] 01/24: Import Debian changes 0.75-1

Roland Rosenfeld roland at moszumanska.debian.org
Tue Aug 22 22:34:47 UTC 2017


This is an automated email from the git hooks/post-receive script.

roland pushed a commit to branch master
in repository libsnmp-session-perl.

commit 99d79ec743363c4d203068e48b930444af82f18e
Author: Michael-John Turner <mj at debian.org>
Date:   Wed Sep 15 14:27:09 1999 +0200

    Import Debian changes 0.75-1
    
    libsnmp-session-perl (0.75-1) unstable; urgency=low
    
      * Initial Release.
---
 debian/README.Debian    |  7 ++++
 debian/changelog        |  9 +++++
 debian/control          | 14 +++++++
 debian/copyright        | 12 ++++++
 debian/dirs             |  2 +
 debian/doc-base.package | 12 ++++++
 debian/docs             |  2 +
 debian/rules            | 99 +++++++++++++++++++++++++++++++++++++++++++++++++
 8 files changed, 157 insertions(+)

diff --git a/debian/README.Debian b/debian/README.Debian
new file mode 100644
index 0000000..c1a8df6
--- /dev/null
+++ b/debian/README.Debian
@@ -0,0 +1,7 @@
+libsnmp-session-perl for Debian
+--------------------------------
+
+This is the SNMP_Session Perl module that used to be included with MRTG. 
+As it's useful on its own, it's been split from that package.
+
+ -- Michael-John Turner <mj at debian.org>, Wed, 15 Sep 1999 14:27:09 +0200
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..9b866a4
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,9 @@
+libsnmp-session-perl (0.75-1) unstable; urgency=low
+
+  * Initial Release.
+
+ -- Michael-John Turner <mj at debian.org>  Wed, 15 Sep 1999 14:27:09 +0200
+
+Local variables:
+mode: debian-changelog
+End:
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..b0cd20c
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,14 @@
+Source: libsnmp-session-perl
+Section: devel
+Priority: extra
+Maintainer: Michael-John Turner <mj at debian.org>
+Standards-Version: 3.0.1
+
+Package: libsnmp-session-perl
+Architecture: all
+Depends: ${perl:Depends} | perl (>= 5.002)
+Conflicts: mrtg (<= 2.8.7)
+Description: Perl support for accessing SNMP-aware devices
+ SNMP_Session contains support for accessing SNMP-aware devices (routers,
+ network interfaces in machines running an SNMP daemon, Squid, etc) from 
+ within Perl applications.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..3eb0303
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,12 @@
+This package was debianized by Michael-John Turner <mj at debian.org> on
+Wed, 15 Sep 1999 14:27:09 +0200.
+
+It was downloaded from http://www.switch.ch/misc/leinen/snmp/perl/index.html
+
+Upstream Author(s): Simon Leinen <simon at switch.ch>
+
+Copyright: 
+This program is free software; you can redistribute it under the
+"Artistic License". On Debian GNU/Linux systems, a copy of the
+Artistic License can be found in /usr/share/common-licenses/Artistic
+
diff --git a/debian/dirs b/debian/dirs
new file mode 100644
index 0000000..5e47145
--- /dev/null
+++ b/debian/dirs
@@ -0,0 +1,2 @@
+usr/bin
+usr/lib/perl5
diff --git a/debian/doc-base.package b/debian/doc-base.package
new file mode 100644
index 0000000..9a7f3de
--- /dev/null
+++ b/debian/doc-base.package
@@ -0,0 +1,12 @@
+Document: libsnmp-session-perl
+Title: SNMP_Session Manual
+Author: Simon Leinen <simon at switch.ch>
+Abstract: This manual describes what libsnmp-session-perl is
+ and how it can be used to access SNMP-aware devices from
+ within Perl applications
+Section: Apps/Programming
+
+Format: HTML
+Index: /usr/share/doc/libsnmp-session-perl/snmp-session.html
+Files: /usr/share/doc/libsnmp-session-perl/snmp-session.html
+
diff --git a/debian/docs b/debian/docs
new file mode 100644
index 0000000..95f544b
--- /dev/null
+++ b/debian/docs
@@ -0,0 +1,2 @@
+README
+README.SNMP_util
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..e41f75c
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,99 @@
+#!/usr/bin/make -f
+#-*- makefile -*-
+# Made with the aid of dh_make, by Craig Small
+# Sample debian/rules that uses debhelper. GNU copyright 1997 by Joey Hess.
+# Some lines taken from debmake, by Christoph Lameter.
+
+# This is the debhelper compatability version to use.
+export DH_COMPAT=1
+
+PACKAGE=libsnmp-session-perl
+
+ifndef PERL
+        PERL=/usr/bin/perl
+endif
+
+TMP=`pwd`/debian/tmp
+archlib=`$(PERL) -MConfig -e 'print $$Config{installarchlib}'`
+config=INSTALLDIRS=perl INSTALLMAN1DIR=$(TMP)/usr/share/man/man1 INSTALLMAN3DIR=$(TMP)/usr/share/man/man3 INSTALLPRIVLIB=$(TMP)/usr/lib/perl5 INSTALLARCHLIB=$(TMP)$(archlib)
+
+
+build: build-stamp
+build-stamp:
+	dh_testdir
+
+	$(PERL) Makefile.PL $(config)
+	$(MAKE)
+
+	touch build-stamp
+
+clean:
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp install-stamp
+
+	-$(MAKE) clean
+	-rm -f Makefile.old
+
+	dh_clean
+
+install: install-stamp
+install-stamp: build-stamp
+	dh_testdir
+	dh_testroot
+	dh_clean -k
+	dh_installdirs
+
+	$(MAKE) pure_install
+	mkdir -p $(TMP)/usr/share/doc/$(PACKAGE)
+	cp -a index.html $(TMP)/usr/share/doc/$(PACKAGE)/snmp-session.html
+
+	# Clean up
+	-find $(TMP) -type f -name .packlist | xargs -r rm -f
+	-find $(TMP) -type d -empty | xargs -r rmdir -p 
+
+	# Now we do the examples
+	cp -a test $(TMP)/usr/share/doc/$(PACKAGE)/examples
+	# Now we fix up the path to perl in the examples        
+	-$(PERL) -i -p -e "s%/usr/local/bin/perl%/usr/bin/perl%;" $(TMP)/usr/share/doc/$(PACKAGE)/examples/*
+	-chmod 755 $(TMP)/usr/share/doc/$(PACKAGE)/examples/*.pl
+
+	touch install-stamp
+
+# Build architecture-independent files here.
+binary-indep: build install
+#	dh_testversion 
+	dh_testdir
+	dh_testroot
+	dh_installdocs
+	dh_installexamples
+	dh_installmenu
+#	dh_installemacsen
+#	dh_installpam
+#	dh_installinit
+	dh_installcron
+	dh_installmanpages
+	dh_installinfo
+#	dh_undocumented
+	dh_installchangelogs 
+	dh_link
+	dh_strip
+	dh_compress -Xexamples/
+	dh_fixperms
+	dh_installdeb
+	dh_perl 
+	dh_shlibdeps
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+
+# Build architecture-dependent files here.
+binary-arch: build install
+# We do nothing here
+
+source diff:                                                                  
+	@echo >&2 'source and diff are obsolete - use dpkg-source -b'; false
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libsnmp-session-perl.git



More information about the Pkg-perl-cvs-commits mailing list