--- libdevice-serialport-perl-1.002.orig/debian/rules +++ libdevice-serialport-perl-1.002/debian/rules @@ -1,12 +1,15 @@ #!/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 debian/rules file is provided as a template for normal perl +# packages. It was created by Marc Brockschmidt for +# the Debian Perl Group (http://pkg-perl.alioth.debian.org/) but may +# be used freely wherever it is useful. # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 -export DH_COMPAT=3 + +# If set to a true value then MakeMaker's prompt function will +# always return the default without waiting for user input. +export PERL_MM_USE_DEFAULT=1 PACKAGE=$(shell dh_listpackages) @@ -14,63 +17,80 @@ PERL = /usr/bin/perl endif -ifndef DESTDIR -DESTDIR=.. +TMP =$(CURDIR)/debian/$(PACKAGE) + +# Allow disabling build optimation by setting noopt in +# $DEB_BUILD_OPTIONS +CFLAGS = -Wall -g +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 endif -TMP =`pwd`/debian/$(PACKAGE) build: build-stamp build-stamp: dh_testdir - - # Add here commands to compile the package. - $(PERL) Makefile.PL TESTPORT=/dev/ttyS0 INSTALLDIRS=vendor - $(MAKE) OPTIMIZE="-O2 -g -Wall" + # Add commands to compile the package here + $(PERL) Makefile.PL INSTALLDIRS=vendor TESTPORT=/dev/null + $(MAKE) OPTIMIZE="$(CFLAGS)" LD_RUN_PATH="" touch build-stamp clean: dh_testdir dh_testroot - rm -f build-stamp - # Add here commands to clean up after the build process. - -$(MAKE) distclean + # Add commands to clean up after the build process here + -$(MAKE) realclean - dh_clean + dh_clean build-stamp install-stamp -install: +install: install-stamp +install-stamp: dh_testdir dh_testroot dh_clean -k - dh_installdirs # Add here commands to install the package into debian/tmp. - $(MAKE) install PREFIX=$(TMP)/usr - -binary-arch: build install + #$(MAKE) test + $(MAKE) install DESTDIR=$(TMP) PREFIX=/usr + + # As this is a architecture dependent package, we are not supposed to install + # stuff to /usr/share/perl5. MakeMaker creates the dirs, we delete them from + # the deb: + rmdir --ignore-fail-on-non-empty --parents $(TMP)/usr/share/perl5 + + touch install-stamp # Build architecture-independent files here. binary-indep: build install +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: build install dh_testdir dh_testroot - dh_installdocs README TODO - dh_installexamples eg/* - dh_installmenu - dh_installcron - dh_installmanpages + dh_installdocs TODO README + dh_installexamples +# dh_installmenu +# dh_installcron +# dh_installman dh_installchangelogs Changes dh_link - dh_strip +ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) + dh_strip +endif dh_compress dh_fixperms + dh_makeshlibs dh_installdeb dh_perl dh_shlibdeps dh_gencontrol dh_md5sums - dh_builddeb --destdir=$(DESTDIR) + dh_builddeb source diff: @echo >&2 'source and diff are obsolete - use dpkg-source -b'; false --- libdevice-serialport-perl-1.002.orig/debian/postinst +++ libdevice-serialport-perl-1.002/debian/postinst @@ -1,9 +1,9 @@ #!/bin/sh if [ "$1" = "configure" ]; then - if [ -d /usr/doc -a ! -e /usr/doc/libdevice-serialport-perl -a -d /usr/share/doc/libdevice-serialport-perl ]; then - ln -sf ../share/doc/libdevice-serialport-perl /usr/doc/libdevice-serialport-perl - fi + if [ -d /usr/doc -a -h /usr/doc/libdevice-serialport-perl -a -d /usr/share/doc/libdevice-serialport-perl ]; then + rm -f /usr/doc/libdevice-serialport-perl + fi fi #DEBHELPER# --- libdevice-serialport-perl-1.002.orig/debian/changelog +++ libdevice-serialport-perl-1.002/debian/changelog @@ -1,14 +1,69 @@ -libdevice-serialport-perl (1.2.0-1) unstable; urgency=low +libdevice-serialport-perl (1.002-1) unstable; urgency=low - * catching up to upstream version + [ Zak B. Elep ] + * New maintainer(s) taking over this package (old maintainer + appears MIA.) Acknowledge NMU by Amaya. (Closes: #359449) + * Revert previous changes that caused this version to appear as + Version 0.22. (Closes: #352295, #295912, #390387) + * debian/control: + + Bump debhelper to version 5, update debian/compat accordingly. + + Bump Standards-Version. + * Added debian/watch . + * Removed debian/postrm as we no longer have debconf modules + installed. + * debian/rules: + + Turn off testing as we don't necessarily have a modem + available on buildds. (Closes: #328172) - -- Kees Cook Mon, 9 Nov 2004 12:58:43 -0700 + [ Kees Cook ] + * debian/rules: disable test port searching, force to /dev/null. + (Closes: #324877) + * debian/control: added Mike Mattice and self to Uploaders list. + * t/*.t: reverted test changes, as they are not being used in Debian. -libdevice-serialport-perl (1.0.0-1) unstable; urgency=low + -- Kees Cook Sat, 3 Mar 2007 08:05:04 -0800 - * catching up to upstream version +libdevice-serialport-perl (1.002-0.3) unstable; urgency=low - -- Kees Cook Thu, 15 Jan 2004 16:58:43 -0700 + * Non-maintainer upload. + * Get rid of the /usr/doc link in postinst (Closes: #359449). + + -- Amaya Rodrigo Sastre Mon, 17 Jul 2006 09:41:46 +0200 + +libdevice-serialport-perl (1.002-0.2) unstable; urgency=low + + * NMU + * Upstream suggests the FTBS problem be resolved by disabling tests + for now. (Closes: #328172) Also reverted the patch from #324877) + + -- Jaldhar H. Vyas Fri, 16 Sep 2005 14:23:22 -0400 + +libdevice-serialport-perl (1.002-0.1) unstable; urgency=low + + * NMU + * New upstream version (Closes: #295912) + * Patch from Andreas Jochens so it doesn't FTBS in a pbuilder chroot. + (Closes: #324877) + + -- Jaldhar H. Vyas Thu, 8 Sep 2005 00:13:59 -0400 + +libdevice-serialport-perl (0.22-3) unstable; urgency=low + + * Correct the priority to match the override file. + + -- Mike Mattice Mon, 9 Aug 2004 22:26:13 -0500 + +libdevice-serialport-perl (0.22-2) unstable; urgency=low + + * Fix Build-Depends - Closes: #263768 + + -- Mike Mattice Sat, 7 Aug 2004 20:57:05 -0500 + +libdevice-serialport-perl (0.22-1) unstable; urgency=low + + * New upstream release + + -- Mike Mattice Sat, 14 Feb 2004 18:50:54 -0600 libdevice-serialport-perl (0.12-2) unstable; urgency=low --- libdevice-serialport-perl-1.002.orig/debian/copyright +++ libdevice-serialport-perl-1.002/debian/copyright @@ -1,25 +1,30 @@ -This package was debianized by Mike Mattice on -Fri, 16 Jun 2000 13:27:00 -0500. +This is the debian package for the Device::SerialPort module. +It was created by Mike Mattice . -It was downloaded from: - http://sendpage.org/device-serialport/download/ +Zak B. Elep of the Debian Perl Group, and +Kees Cook took over the maintenance of this package +on Tue, 15 Aug 2006 09:41:36 +0800 + +The upstream author is: + +Based on Win32::SerialPort.pm, Version 0.8, by Bill Birthisel + Ported to linux/POSIX by Joe Doss for MisterHouse + Ported to Solaris/POSIX by Kees Cook for Sendpage + Ported to BSD/POSIX by Kees Cook + Ported to Perl XS by Kees Cook + +Currently maintained by: + Kees Cook, kees@outflux.net, http://outflux.net/. + + +Copyright (C) 1999, Bill Birthisel. All rights reserved. +Copyright (C) 2000-2003, Kees Cook. All rights reserved. + +This module is free software; you can redistribute it and/or modify it +under the same terms as Perl itself. + +Perl is distributed under your choice of the GNU General Public License or +the Artistic License. On Debian GNU/Linux systems, the complete text of the +GNU General Public License can be found in `/usr/share/common-licenses/GPL' +and the Artistic Licence in `/usr/share/common-licenses/Artistic'. -Copyright: - Copyright (C) 1999, Bill Birthisel. All rights reserved. - Copyright (C) 2001-2004 Kees Cook. All rights reserved. - This module is free software; you can redistribute it and/or modify it under - the same terms as Perl itself. - -Perl's copyright terms are as follows: - This program is free software; you can redistribute it and/or modify - it under the terms of either: - - a) the GNU General Public License as published by the Free Software - Foundation; either version 1, or (at your option) any later - version, or - - b) the "Artistic License" which comes with Perl. - - On Debian GNU/Linux systems, the complete text of the GNU General - Public License can be found in `/usr/share/common-licenses/GPL' and - the Artistic Licence in `/usr/share/common-licenses/Artistic'. --- libdevice-serialport-perl-1.002.orig/debian/control +++ libdevice-serialport-perl-1.002/debian/control @@ -1,12 +1,17 @@ Source: libdevice-serialport-perl -Section: interpreters +Section: perl Priority: extra -Maintainer: Kees Cook -Build-Depends-Indep: debhelper (>= 3.0.5), perl (>= 5.6.0-16) -Standards-Version: 3.5.6.0 +Build-Depends: debhelper (>= 5.0.0), perl (>= 5.8.0-7) +Maintainer: Debian Perl Group +Uploaders: Mike Mattice , Zak B. Elep , Kees Cook +Standards-Version: 3.7.2 Package: libdevice-serialport-perl -Architecture: i386 -Depends: ${perl:Depends} -Description: Perl module for interacting with serial ports. - POSIX-based version of the Win32::Serialport module for serial port control. +Architecture: any +Depends: ${perl:Depends}, ${shlibs:Depends} +Description: emulation of Win32::SerialPort for Linux/POSIX + Device::SerialPort provides an object-based user interface essentially + identical to the one provided by the Win32::SerialPort module. + . + Homepage: http://sendpage.org/device-serialport/ + --- libdevice-serialport-perl-1.002.orig/debian/watch +++ libdevice-serialport-perl-1.002/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://www.cpan.org/modules/by-module/Device/Device-SerialPort-([.\d]*)\.tar\.gz --- libdevice-serialport-perl-1.002.orig/debian/compat +++ libdevice-serialport-perl-1.002/debian/compat @@ -0,0 +1 @@ +5