[Pkg-net-snmp-commits] r271 - branches/net-snmp54-dev/debian trunk/debian
Jochen Friedrich
jochen at alioth.debian.org
Sun Aug 9 11:43:24 UTC 2009
Author: jochen
Date: 2009-08-09 11:43:24 +0000 (Sun, 09 Aug 2009)
New Revision: 271
Modified:
branches/net-snmp54-dev/debian/control
branches/net-snmp54-dev/debian/rules
trunk/debian/control
trunk/debian/rules
Log:
Add debug package
Modified: branches/net-snmp54-dev/debian/control
===================================================================
--- branches/net-snmp54-dev/debian/control 2009-08-09 11:38:04 UTC (rev 270)
+++ branches/net-snmp54-dev/debian/control 2009-08-09 11:43:24 UTC (rev 271)
@@ -4,7 +4,7 @@
Maintainer: Net-SNMP Packaging Team <pkg-net-snmp-devel at lists.alioth.debian.org>
Uploaders: Jochen Friedrich <jochen at scram.de>, Thomas Anders <tanders at users.sourceforge.net>, Noah Meyerhans <noahm at debian.org>
Build-Depends: debhelper (>=6), libtool, libwrap0-dev, libssl-dev (>> 0.9.8), perl (>=5.8), libperl-dev, python-all-dev, python-central (>=0.5.6), python (>=2.3.5-7), python-setuptools (>=0.6b3), autoconf, automake1.9, debianutils (>=1.13.1), bash (>=2.05), findutils (>=4.1.20), procps, cdbs (>=0.4.51), libkvm-dev [kfreebsd-i386 kfreebsd-amd64], libsensors-dev (>=2.8.5) [!hurd-i386 !kfreebsd-i386 !kfreebsd-amd64]
-Standards-Version: 3.7.3
+Standards-Version: 3.8.2
Vcs-Svn: svn://svn.debian.org/pkg-net-snmp/
Vcs-Browser: http://svn.debian.org/wsvn/pkg-net-snmp/
XS-Python-Version: all
@@ -72,6 +72,14 @@
sending, receiving, decoding, and manipulation of the SNMP requests
and responses.
+Package: libsnmp15-dbg
+Section: debug
+Priority: extra
+Architecture: any
+Depends: libsnmp15 (=${binary:Version})
+Description: SNMP (Simple Network Management Protocol) library debug
+ Debug sybols for libsnmp15.
+
Package: libsnmp-dev
Section: libdevel
Priority: optional
Modified: branches/net-snmp54-dev/debian/rules
===================================================================
--- branches/net-snmp54-dev/debian/rules 2009-08-09 11:38:04 UTC (rev 270)
+++ branches/net-snmp54-dev/debian/rules 2009-08-09 11:43:24 UTC (rev 271)
@@ -2,7 +2,7 @@
# Fix for broken clean target. Must run before reversing patches
cleanbuilddir::
- [ ! -f Makefile ] || make clean
+ [ ! -f Makefile ] || make clean || true
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/rules/simple-patchsys.mk
@@ -12,8 +12,7 @@
UPSTREAM_VERSION = $(shell dpkg-parsechangelog | egrep '^Version:' | cut -f 2 -d ':' | sed 's/ //' | sed 's/~dfsg.*$$//')
COMPAT_VERSION = $(UPSTREAM_VERSION)~dfsg
PYTHON_VERSION = 1.0a1
-BACKUP = aclocal.m4 configure ltmain.sh stamp-h stamp-h.in \
- include/net-snmp/net-snmp-config.h.in
+EXTRACLEAN = aclocal.m4 configure ltmain.sh stamp-h stamp-h.in include/net-snmp/net-snmp-config.h.in
MIB_MODULES = host smux ucd-snmp/dlmod
@@ -30,11 +29,13 @@
endif
endif
-DEB_AUTO_UPDATE_LIBTOOL = pre
-DEB_AUTO_UPDATE_ACLOCAL = 1.9
-DEB_AUTO_UPDATE_AUTOCONF = 2.59
+DEB_AUTO_UPDATE_LIBTOOL = pre
+DEB_AUTO_UPDATE_ACLOCAL = 1.9
+DEB_AUTO_UPDATE_AUTOCONF = 2.63
+DEB_AUTO_UPDATE_AUTOHEADER = 2.63
DEB_DH_MAKESHLIBS_ARGS_libsnmp$(LIB_VERSION) := -V"libsnmp$(LIB_VERSION) (>= $(COMPAT_VERSION))"
+DEB_DBG_PACKAGE_libsnmp$(LIB_VERSION) = libsnmp$(LIB_VERSION)-dbg
DEB_MAKE_INSTALL_TARGET=install INSTALL_PREFIX=$(CURDIR)/debian/tmp DESTDIR=$(CURDIR)/debian/tmp
DEB_MAKE_BUILD_TARGET=LD_RUN_PATH=
DEB_CONFIGURE_EXTRA_FLAGS := --prefix=/usr --sysconfdir=/etc --mandir=/usr/share/man \
@@ -52,18 +53,13 @@
--with-defaults
pre-build::
- # Backup files expected to be modified.
- for i in $(BACKUP); do \
- if [ ! -f $$i.backup ]; then cp $$i $$i.backup; fi ; \
- done
+ touch aclocal.m4
clean::
dh_clean perl/SNMP/t/snmptest.cmd
rm -rf `find . -name .libs`
rm -rf `find . -name .svn`
- for i in $(BACKUP); do \
- if [ -f $$i.backup ]; then mv -f $$i.backup $$i; fi ; \
- done
+ rm -rf $(EXTRACLEAN);
find . -name *\.py[co] -exec rm {} \;
find debian -name python-*-stamp-* -exec rm {} \;
rm -rf python/build
@@ -91,6 +87,7 @@
mv debian/tmp/usr/share/snmp/mib2c*.conf debian/tmp/etc/snmp
mkdir -p debian/tmp/etc/default
cp debian/snmpd.default debian/tmp/etc/default/snmpd
+
# Perform other man pages fixups.
bash ./debian/fixman
Modified: trunk/debian/control
===================================================================
--- trunk/debian/control 2009-08-09 11:38:04 UTC (rev 270)
+++ trunk/debian/control 2009-08-09 11:43:24 UTC (rev 271)
@@ -4,7 +4,7 @@
Maintainer: Net-SNMP Packaging Team <pkg-net-snmp-devel at lists.alioth.debian.org>
Uploaders: Jochen Friedrich <jochen at scram.de>, Thomas Anders <tanders at users.sourceforge.net>, Noah Meyerhans <noahm at debian.org>
Build-Depends: debhelper (>=6), libtool, libwrap0-dev, libssl-dev (>> 0.9.8), perl (>=5.8), libperl-dev, python-all-dev, python-central (>=0.5.6), python (>=2.3.5-7), python-setuptools (>=0.6b3), autoconf, automake1.9, debianutils (>=1.13.1), bash (>=2.05), findutils (>=4.1.20), procps, cdbs (>=0.4.51), libkvm-dev [kfreebsd-i386 kfreebsd-amd64], libsensors-dev (>=2.8.5) [!hurd-i386 !kfreebsd-i386 !kfreebsd-amd64]
-Standards-Version: 3.7.3
+Standards-Version: 3.8.2
Vcs-Svn: svn://svn.debian.org/pkg-net-snmp/
Vcs-Browser: http://svn.debian.org/wsvn/pkg-net-snmp/
XS-Python-Version: all
@@ -72,6 +72,14 @@
sending, receiving, decoding, and manipulation of the SNMP requests
and responses.
+Package: libsnmp15-dbg
+Section: debug
+Priority: extra
+Architecture: any
+Depends: libsnmp15 (=${binary:Version})
+Description: SNMP (Simple Network Management Protocol) library debug
+ Debug sybols for libsnmp15.
+
Package: libsnmp-dev
Section: libdevel
Priority: optional
Modified: trunk/debian/rules
===================================================================
--- trunk/debian/rules 2009-08-09 11:38:04 UTC (rev 270)
+++ trunk/debian/rules 2009-08-09 11:43:24 UTC (rev 271)
@@ -2,7 +2,7 @@
# Fix for broken clean target. Must run before reversing patches
cleanbuilddir::
- [ ! -f Makefile ] || make clean
+ [ ! -f Makefile ] || make clean || true
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/rules/simple-patchsys.mk
@@ -12,8 +12,7 @@
UPSTREAM_VERSION = $(shell dpkg-parsechangelog | egrep '^Version:' | cut -f 2 -d ':' | sed 's/ //' | sed 's/~dfsg.*$$//')
COMPAT_VERSION = $(UPSTREAM_VERSION)~dfsg
PYTHON_VERSION = 1.0a1
-BACKUP = aclocal.m4 configure ltmain.sh stamp-h stamp-h.in \
- include/net-snmp/net-snmp-config.h.in
+EXTRACLEAN = aclocal.m4 configure ltmain.sh stamp-h stamp-h.in include/net-snmp/net-snmp-config.h.in
MIB_MODULES = host smux ucd-snmp/dlmod
@@ -30,11 +29,13 @@
endif
endif
-DEB_AUTO_UPDATE_LIBTOOL = pre
-DEB_AUTO_UPDATE_ACLOCAL = 1.9
-DEB_AUTO_UPDATE_AUTOCONF = 2.59
+DEB_AUTO_UPDATE_LIBTOOL = pre
+DEB_AUTO_UPDATE_ACLOCAL = 1.9
+DEB_AUTO_UPDATE_AUTOCONF = 2.63
+DEB_AUTO_UPDATE_AUTOHEADER = 2.63
DEB_DH_MAKESHLIBS_ARGS_libsnmp$(LIB_VERSION) := -V"libsnmp$(LIB_VERSION) (>= $(COMPAT_VERSION))"
+DEB_DBG_PACKAGE_libsnmp$(LIB_VERSION) = libsnmp$(LIB_VERSION)-dbg
DEB_MAKE_INSTALL_TARGET=install INSTALL_PREFIX=$(CURDIR)/debian/tmp DESTDIR=$(CURDIR)/debian/tmp
DEB_MAKE_BUILD_TARGET=LD_RUN_PATH=
DEB_CONFIGURE_EXTRA_FLAGS := --prefix=/usr --sysconfdir=/etc --mandir=/usr/share/man \
@@ -52,18 +53,13 @@
--with-defaults
pre-build::
- # Backup files expected to be modified.
- for i in $(BACKUP); do \
- if [ ! -f $$i.backup ]; then cp $$i $$i.backup; fi ; \
- done
+ touch aclocal.m4
clean::
dh_clean perl/SNMP/t/snmptest.cmd
rm -rf `find . -name .libs`
rm -rf `find . -name .svn`
- for i in $(BACKUP); do \
- if [ -f $$i.backup ]; then mv -f $$i.backup $$i; fi ; \
- done
+ rm -rf $(EXTRACLEAN);
find . -name *\.py[co] -exec rm {} \;
find debian -name python-*-stamp-* -exec rm {} \;
rm -rf python/build
@@ -91,6 +87,7 @@
mv debian/tmp/usr/share/snmp/mib2c*.conf debian/tmp/etc/snmp
mkdir -p debian/tmp/etc/default
cp debian/snmpd.default debian/tmp/etc/default/snmpd
+
# Perform other man pages fixups.
bash ./debian/fixman
More information about the Pkg-net-snmp-commits
mailing list