Bug#416642: apcupsd: diff for NMU version 3.14.0-2.1

2007-05-16 Thread Luk Claes
Package: apcupsd
Version: 3.14.0-2
Severity: normal
Tags: patch

Hi,

Attached is the diff for my apcupsd 3.14.0-2.1 NMU which is uploaded to
DELAYED-0.

-- 
Luk Claes - http://people.debian.org/~luk - GPG key 1024D/9B7C328D
Fingerprint:   D5AF 25FB 316B 53BB 08E7   F999 E544 DE07 9B7C 328D
diff -u apcupsd-3.14.0/src/win32/Makefile apcupsd-3.14.0/src/win32/Makefile
--- apcupsd-3.14.0/src/win32/Makefile
+++ apcupsd-3.14.0/src/win32/Makefile
@@ -9,7 +9,7 @@
 # Configuration
 VERSION = 3.14.0
 
-TOPDIR = /tmp
+TOPDIR = /home/luk/tmp/bsp
 CROSSTOOLS = $(TOPDIR)/cross-tools
 MINGW = $(CROSSTOOLS)/mingw32
 INCLUDE_MINGW = -I $(MINGW)/mingw32/include
diff -u apcupsd-3.14.0/debian/control apcupsd-3.14.0/debian/control
--- apcupsd-3.14.0/debian/control
+++ apcupsd-3.14.0/debian/control
@@ -2,7 +2,7 @@
 Section: admin
 Priority: extra
 Maintainer: Samuele Giovanni Tonon [EMAIL PROTECTED]
-Build-Depends: debhelper ( 4.0.0), dpatch, libgd2-noxpm-dev , tcpd, libncurses5-dev | libncurses-dev, libssl-dev (= 0.9.8-1), libsnmp9-dev, libwrap-dev, mawk | awk, po-debconf, texinfo, tetex-bin
+Build-Depends: debhelper ( 4.0.0), dpatch, libgd2-noxpm-dev , tcpd, libncurses5-dev | libncurses-dev, libssl-dev (= 0.9.8-1), libsnmp-dev, libwrap-dev, mawk | awk, po-debconf, texinfo, tetex-bin
 Build-Conflicts: pmake
 Standards-Version: 3.7.2
 
diff -u apcupsd-3.14.0/debian/apcupsd.postrm apcupsd-3.14.0/debian/apcupsd.postrm
--- apcupsd-3.14.0/debian/apcupsd.postrm
+++ apcupsd-3.14.0/debian/apcupsd.postrm
@@ -2,8 +2,11 @@
 
 set -e
 
-. /usr/share/debconf/confmodule
-db_version 2.0
+if [ -f /usr/share/debconf/confmodule ]; then
+	. /usr/share/debconf/confmodule
+	db_version 2.0
+	db_purge
+fi
 
 stop_server() {
   set +e
@@ -34,11 +37,5 @@
 esac
 
-# Automatically added by dh_installdebconf
-if [ $1 = purge ]  [ -e /usr/share/debconf/confmodule ]; then
-	. /usr/share/debconf/confmodule
-	db_purge
-fi  
-# End automatically added section
-
+#DEBHELPER#
 
 exit 0
diff -u apcupsd-3.14.0/debian/changelog apcupsd-3.14.0/debian/changelog
--- apcupsd-3.14.0/debian/changelog
+++ apcupsd-3.14.0/debian/changelog
@@ -1,3 +1,13 @@
+apcupsd (3.14.0-2.1) unstable; urgency=high
+
+  * Non-maintainer upload during BSP.
+  * Fix failure on purge when debconf is not available (Closes: #416642).
+  * Fix removal of rc.d links on purge (Closes: #356749).
+  * Rename libsnmp9-dev build dependency to libsnmp-dev for easier
+transitions. 
+
+ -- Luk Claes [EMAIL PROTECTED]  Wed, 16 May 2007 23:32:21 +0200
+
 apcupsd (3.14.0-2) unstable; urgency=low
 
   * Master/Slave break issue in News (Closes: #414377) (Closes: #413048)
diff -u apcupsd-3.14.0/config.sub apcupsd-3.14.0/config.sub
--- apcupsd-3.14.0/config.sub
+++ apcupsd-3.14.0/config.sub
@@ -4,7 +4,7 @@
 #   2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation,
 #   Inc.
 
-timestamp='2006-09-20'
+timestamp='2007-01-18'
 
 # This file is (in principle) common to ALL GNU software.
 # The presence of a machine in this file suggests that SOME GNU software
@@ -245,12 +245,12 @@
 	| bfin \
 	| c4x | clipper \
 	| d10v | d30v | dlx | dsp16xx \
-	| fr30 | frv \
+	| fido | fr30 | frv \
 	| h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
 	| i370 | i860 | i960 | ia64 \
 	| ip2k | iq2000 \
 	| m32c | m32r | m32rle | m68000 | m68k | m88k \
-	| maxq | mb | microblaze | mcore \
+	| maxq | mb | microblaze | mcore | mep \
 	| mips | mipsbe | mipseb | mipsel | mipsle \
 	| mips16 \
 	| mips64 | mips64el \
@@ -324,7 +324,7 @@
 	| clipper-* | craynv-* | cydra-* \
 	| d10v-* | d30v-* | dlx-* \
 	| elxsi-* \
-	| f30[01]-* | f700-* | fr30-* | frv-* | fx80-* \
+	| f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \
 	| h8300-* | h8500-* \
 	| hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
 	| i*86-* | i860-* | i960-* | ia64-* \
@@ -925,6 +925,9 @@
 		basic_machine=sh-hitachi
 		os=-hms
 		;;
+	sh5el)
+		basic_machine=sh5le-unknown
+		;;
 	sh64)
 		basic_machine=sh64-unknown
 		;;
@@ -1219,7 +1222,7 @@
 	  | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
 	  | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
 	  | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
-	  | -skyos* | -haiku* | -rdos* | -toppers*)
+	  | -skyos* | -haiku* | -rdos* | -toppers* | -drops*)
 	# Remember, each alternative MUST END IN *, to match a version number.
 		;;
 	-qnx*)
@@ -1414,6 +1417,9 @@
 	m68*-cisco)
 		os=-aout
 		;;
+mep-*)
+		os=-elf
+		;;
 	mips*-cisco)
 		os=-elf
 		;;
diff -u apcupsd-3.14.0/config.guess apcupsd-3.14.0/config.guess
--- apcupsd-3.14.0/config.guess
+++ apcupsd-3.14.0/config.guess
@@ -4,7 +4,7 @@
 #   2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation,
 #   Inc.
 
-timestamp='2006-07-02'
+timestamp='2007-03-06'
 
 # This file is free software; you can redistribute it and/or modify it
 # under the terms of the GNU General Public License as published by
@@ -161,6 +161,7 @@
 	arm*) machine=arm-unknown 

Bug#416642: apcupsd: diff for NMU version 3.14.0-2.1

2007-05-16 Thread Samuele Giovanni Tonon

Luk Claes wrote:

Package: apcupsd
Version: 3.14.0-2
Severity: normal
Tags: patch

Hi,

Attached is the diff for my apcupsd 3.14.0-2.1 NMU which is uploaded to
DELAYED-0.



http://www.debian.org/doc/developers-reference/ch-pkgs.en.html#s-nmu-guidelines
thanks for the emails


--
While various networks have become deeply rooted, and thoughts have been
sent out as light and electrons in a singular direction, this era has
yet to digitize/computerize to the degree necessary for individuals to
become a singular complex entity.
  KOUKAKU KIDOUTAI Stand Alone Complex


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#416642: apcupsd: diff for NMU version 3.14.0-2.1

2007-05-16 Thread Luk Claes
Samuele Giovanni Tonon wrote:
 Luk Claes wrote:
 Package: apcupsd
 Version: 3.14.0-2
 Severity: normal
 Tags: patch

 Hi,

 Attached is the diff for my apcupsd 3.14.0-2.1 NMU which is uploaded to
 DELAYED-0.

 
 http://www.debian.org/doc/developers-reference/ch-pkgs.en.html#s-nmu-guidelines
 
 thanks for the emails

We are in a bug squashing party at the moment:

http://lists.debian.org/debian-devel-announce/2007/05/msg4.html

Cheers

Luk


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]