[Pkg-utopia-commits] r1058 - in packages/unstable: . nss-mdns nss-mdns/debian

Sjoerd Simons sjoerd at costa.debian.org
Wed Oct 11 09:39:35 UTC 2006


Author: sjoerd
Date: 2006-10-11 09:39:34 +0000 (Wed, 11 Oct 2006)
New Revision: 1058

Added:
   packages/unstable/nss-mdns/
   packages/unstable/nss-mdns/debian/
   packages/unstable/nss-mdns/debian/README.Debian
   packages/unstable/nss-mdns/debian/changelog
   packages/unstable/nss-mdns/debian/compat
   packages/unstable/nss-mdns/debian/control
   packages/unstable/nss-mdns/debian/copyright
   packages/unstable/nss-mdns/debian/docs
   packages/unstable/nss-mdns/debian/postinst
   packages/unstable/nss-mdns/debian/postrm
   packages/unstable/nss-mdns/debian/rules
Log:
Begin hostile takeover of nss-mdns


Property changes on: packages/unstable/nss-mdns/debian
___________________________________________________________________
Name: mergeWithUpstream
   + 1

Added: packages/unstable/nss-mdns/debian/README.Debian
===================================================================
--- packages/unstable/nss-mdns/debian/README.Debian	                        (rev 0)
+++ packages/unstable/nss-mdns/debian/README.Debian	2006-10-11 09:39:34 UTC (rev 1058)
@@ -0,0 +1,24 @@
+
+MODIFYING /etc/nsswitch.conf
+----------------------------
+
+/etc/nsswitch.conf is modified when this package is installed, to make mdns
+be used. The hosts line is changed to look like this:
+
+hosts: files mdns4_minimal [NOTFOUND=return] dns mdns4
+
+If you prefer a different setup, you can modify this line, and your changes
+will be preserved. If this package is purged, the mdns items will be
+removed from the hosts line.
+
+WHAT ABOUT IPv6?
+----------------
+
+To support ipv6, edit /etc/nsswitch.conf and change it to a line such as
+this:
+
+hosts: files mdns_minimal [NOTFOUND=return] dns mdns
+
+Note that this can result in delays when resolving mDNS names.
+
+ -- Joey Hess <joeyh at debian.org>  Wed,  4 Oct 2006 18:42:48 -0400

Added: packages/unstable/nss-mdns/debian/changelog
===================================================================
--- packages/unstable/nss-mdns/debian/changelog	                        (rev 0)
+++ packages/unstable/nss-mdns/debian/changelog	2006-10-11 09:39:34 UTC (rev 1058)
@@ -0,0 +1,120 @@
+nss-mdns (0.8-5) unstable; urgency=low
+
+  * Let the pkg-utopia team take over the package. 
+  * Acknowledge NMU's (Closes: #388864, #351990, #353131, #378608)
+  * Switch to cdbs. As a side-effect the sysconfdir and localstatedir are set
+    correctly (Closes: #387231)
+
+ -- Sjoerd Simons <sjoerd at debian.org>  Wed, 11 Oct 2006 11:32:46 +0200
+
+nss-mdns (0.8-4.2) unstable; urgency=low
+
+  * NMU
+  * Add postinst that will add mdns entries to /etc/nsswitch.conf on new
+    installs and on upgrades from the previous version.
+    Closes: #388864, #351990
+  * Add postrm to remove mdns entries from /etc/nsswitch.conf when the package
+    is removed.
+  * Local modifications to the file will be preserved accross upgrades.
+  * Depend on base-files 3.1.10 or higher to get a nsswitch.conf that is not a
+    conffile and that doesn't have mdns entries from base-files in it.
+  * Switch to nsswitch line recommended by upstream in #388864 after getting
+    clarification from upstream, and update README.Debian.
+  * Remove recommends on zeroconf. Closes: #353131
+
+ -- Joey Hess <joeyh at debian.org>  Fri, 22 Sep 2006 21:10:25 -0400
+
+nss-mdns (0.8-4.1) unstable; urgency=low
+
+  * NMU
+  * Clear out the diff.gz so it doesn't patch the various autotools files,
+    which makes everything explode on build (Closes: #378608) 
+
+ -- Sjoerd Simons <sjoerd at debian.org>  Fri,  8 Sep 2006 09:51:57 +0200
+
+nss-mdns (0.8-4) unstable; urgency=low
+
+  * Forget about using CDBS and use debhelper directly so we have control
+    of what is being built and updated. (Closes: #378608)
+
+ -- Anand Kumria <wildfire at progsoc.org>  Sun, 13 Aug 2006 12:24:32 +1000
+
+nss-mdns (0.8-3) unstable; urgency=low
+
+  * Regenerate the Debian .diff.gz so the Debian build system doesn't barf
+    and die
+
+ -- Anand Kumria <wildfire at progsoc.org>  Sun, 13 Aug 2006 09:49:39 +1000
+
+nss-mdns (0.8-2) unstable; urgency=low
+
+  * Copy 'configure' from the upstream tarball since the CDBS regeneration 
+    has gone awry and does not work. This is the simple fix -- a more robust
+    one will be in place shortly. Thanks to Sam Morris for the diagnosis.
+    (Closes: #378608)
+
+ -- Anand Kumria <wildfire at progsoc.org>  Sun, 13 Aug 2006 09:40:48 +1000
+
+nss-mdns (0.8-1) unstable; urgency=low
+
+  * New upstream release (Closes: #369827)
+  * Enable "minimal" mDNS mode -- Debian has had this for a while but
+    upstream have now incorporated it.  This should mean that mdns
+    can now be mentioned in /etc/nsswitch.conf without issue.
+    (Closes: #348578, #348580)
+  * Suggest avahi-daemon rather than nscd (Closes: #367275)
+
+ -- Anand Kumria <wildfire at progsoc.org>  Mon,  3 Jul 2006 03:55:05 +1000
+
+nss-mdns (0.7-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Anand Kumria <wildfire at progsoc.org>  Tue, 27 Dec 2005 06:42:42 +1100
+
+nss-mdns (0.6-2) unstable; urgency=low
+
+  * Enable Avahi connections
+
+ -- Anand Kumria <wildfire at progsoc.org>  Mon, 12 Sep 2005 20:59:52 +1000
+
+nss-mdns (0.6-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Anand Kumria <wildfire at progsoc.org>  Fri,  2 Sep 2005 03:58:34 +1000
+
+nss-mdns (0.5-1) unstable; urgency=low
+
+  * New upstream release (Closes: #313024)
+
+ -- Anand Kumria <wildfire at progsoc.org>  Thu, 16 Jun 2005 17:38:13 +1000
+
+nss-mdns (0.4-1) unstable; urgency=low
+
+  * New upstream release
+  * Fix endian issues (Closes: #305465)
+
+ -- Anand Kumria <wildfire at progsoc.org>  Mon, 16 May 2005 05:12:09 +1000
+
+nss-mdns (0.3-2) unstable; urgency=low
+
+  * Modify Maintainer to point to me.
+  * Recommend 'zeroconf'
+  * Remove i386 specific int3 debug hack.
+  * Update to standard 3.6.1
+  * Reclose RFP (Closes: #284497)
+
+ -- Anand Kumria <wildfire at progsoc.org>  Mon,  7 Mar 2005 01:27:04 +1100
+
+nss-mdns (0.3-1) unstable; urgency=low
+
+  * Update to current upstream
+
+ -- Lennart Poettering <mzqrovna at 0pointer.de>  Sun, 16 Jan 2005 14:57:28 +0100
+
+nss-mdns (0.1-0) unstable; urgency=low
+
+  * Initial Release (Closes: #284497).
+
+ -- Jeff Waugh <jdub at perkypants.org>  Tue, 07 Dec 2004 12:42:51 +0100

Added: packages/unstable/nss-mdns/debian/compat
===================================================================
--- packages/unstable/nss-mdns/debian/compat	                        (rev 0)
+++ packages/unstable/nss-mdns/debian/compat	2006-10-11 09:39:34 UTC (rev 1058)
@@ -0,0 +1 @@
+4

Added: packages/unstable/nss-mdns/debian/control
===================================================================
--- packages/unstable/nss-mdns/debian/control	                        (rev 0)
+++ packages/unstable/nss-mdns/debian/control	2006-10-11 09:39:34 UTC (rev 1058)
@@ -0,0 +1,19 @@
+Source: nss-mdns
+Section: admin
+Priority: optional
+Maintainer:  Utopia Maintenance Team <pkg-utopia-maintainers at lists.alioth.debian.org>
+Uploaders: Sjoerd Simons <sjoerd at debian.org>
+Build-Depends: debhelper (>> 4.0.0), lynx, cdbs
+Standards-Version: 3.7.2
+
+Package: libnss-mdns
+Section: admin
+Suggests: avahi-daemon
+Architecture: any
+Depends: ${shlibs:Depends}, base-files (>= 3.1.10)
+Description: NSS module for Multicast DNS name resolution
+ nss-mdns is a plugin for the GNU Name Service Switch (NSS) functionality
+ of the GNU C Library (glibc) providing host name resolution via Multicast
+ DNS (using Zeroconf, aka Apple Bonjour / Apple Rendezvous ), effectively 
+ allowing name resolution by common Unix/Linux programs in the ad-hoc mDNS 
+ domain .local.

Added: packages/unstable/nss-mdns/debian/copyright
===================================================================
--- packages/unstable/nss-mdns/debian/copyright	                        (rev 0)
+++ packages/unstable/nss-mdns/debian/copyright	2006-10-11 09:39:34 UTC (rev 1058)
@@ -0,0 +1,9 @@
+This package was debianized by Jeff Waugh <jeff.waugh at canonical.com> on
+Tue, 07 Dec 2004 12:45:24 +0100.
+
+It was downloaded from <http://www.0pointer.de/lennart/projects/nss-mdns/>
+
+Copyright (C) 2004, Lennart Poettering
+
+On Debian systems, the complete text of the GNU Lesser General Public License
+can be found in `/usr/share/common-licenses/LGPL'.

Added: packages/unstable/nss-mdns/debian/docs
===================================================================
--- packages/unstable/nss-mdns/debian/docs	                        (rev 0)
+++ packages/unstable/nss-mdns/debian/docs	2006-10-11 09:39:34 UTC (rev 1058)
@@ -0,0 +1,2 @@
+doc/style.css
+doc/README.html

Added: packages/unstable/nss-mdns/debian/postinst
===================================================================
--- packages/unstable/nss-mdns/debian/postinst	                        (rev 0)
+++ packages/unstable/nss-mdns/debian/postinst	2006-10-11 09:39:34 UTC (rev 1058)
@@ -0,0 +1,22 @@
+#!/bin/sh
+set -e
+#DEBHELPER#
+
+if [ "$1" = configure ] && [ -e /etc/nsswitch.conf ]; then
+	if [ -z "$2" ] || dpkg --compare-versions "$2" le 0.8-4.1; then
+		perl -i -pe '
+			sub insert {
+				my @bits=split(" ", shift);
+				if (grep { $_ eq "mdns4_minimal" || $_ eq "mdns4"
+					|| $_ eq "mdns" || $_ eq "mdns_minimal" 
+					|| $_ eq "mdns6" || $_ eq "mdns6_minimal"} @bits) {
+					return join " ", @bits;
+				}
+				return join " ", map {
+					$_ eq "dns" ? ("mdns4_minimal","[NOTFOUND=return]",$_,"mdns4") : $_
+				} @bits;
+			}
+			s/^(hosts:\s+)(.*)/$1.insert($2)/e;
+		' /etc/nsswitch.conf
+	fi
+fi

Added: packages/unstable/nss-mdns/debian/postrm
===================================================================
--- packages/unstable/nss-mdns/debian/postrm	                        (rev 0)
+++ packages/unstable/nss-mdns/debian/postrm	2006-10-11 09:39:34 UTC (rev 1058)
@@ -0,0 +1,27 @@
+#!/bin/sh
+set -e
+#DEBHELPER#
+
+if [ "$1" = purge ] && [ -e /etc/nsswitch.conf ]; then
+	perl -i -pe '
+		my @remove=(
+			"mdns4_minimal [NOTFOUND=return]",
+			"mdns4_minimal",
+			"mdns4",
+			"mdns6_minimal [NOTFOUND=return]",
+			"mdns6_minimal",
+			"mdns6",
+			"mdns_minimal [NOTFOUND=return]",
+			"mdns_minimal",
+			"mdns",
+		);
+		sub remove {
+			my $s=shift;
+			foreach my $bit (@remove) {
+				$s=~s/\s+\Q$bit\E//g;
+			}
+			return $s;
+		}
+		s/^(hosts:)(.*)/$1.remove($2)/e;
+	' /etc/nsswitch.conf
+fi

Added: packages/unstable/nss-mdns/debian/rules
===================================================================
--- packages/unstable/nss-mdns/debian/rules	                        (rev 0)
+++ packages/unstable/nss-mdns/debian/rules	2006-10-11 09:39:34 UTC (rev 1058)
@@ -0,0 +1,8 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/class/autotools.mk
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/rules/simple-patchsys.mk
+
+DEB_CONFIGURE_SCRIPT_ENV := LDFLAGS="-Wl,-O1" CFLAGS="-DNDEBUG=1"
+DEB_INSTALL_DOCS_ALL :=


Property changes on: packages/unstable/nss-mdns/debian/rules
___________________________________________________________________
Name: svn:executable
   + *




More information about the Pkg-utopia-commits mailing list