--- ident2-1.07.orig/debian/docs +++ ident2-1.07/debian/docs @@ -0,0 +1,2 @@ +README +debian/contrib --- ident2-1.07.orig/debian/control +++ ident2-1.07/debian/control @@ -0,0 +1,20 @@ +Source: ident2 +Section: net +Priority: extra +Maintainer: Ubuntu Developers +XSBC-Original-Maintainer: Chuan-kai Lin +Build-Depends: cdbs, bzip2, debhelper (>= 7), autotools-dev +Standards-Version: 3.8.3 +Homepage: http://www.panix.com/~mbac/source.html + +Package: ident2 +Architecture: any +Depends: netbase, adduser, update-inetd, openbsd-inetd | inet-superserver, ${shlibs:Depends}, ${misc:Depends} +Provides: ident-server +Conflicts: ident-server +Description: An advanced ident daemon + ident2 is an advanced, configurable ident daemon. You can set it to lie, + not lie, or not return any response at all, and it is per-user configurable + (e.g. if user daniel was IRCing, it'd use ~daniel/.ident for its config, if + user kim was IRCing, it'd use ~kim/.ident). The admin can specify whether + users can configure the type of return they want or not. --- ident2-1.07.orig/debian/README.Debian +++ ident2-1.07/debian/README.Debian @@ -0,0 +1,11 @@ +ident2 for Debian +----------------- + +Command line switches to include on its inetd.conf line: + * -i: Accept users' config (~/.ident). + * -n: Accept users' ~/.noident to disable an ident reply. + * -r: Random ident reply. Can't think why you'd use it. + +Just make sure you don't have conflicting ident daemons. + + -- Daniel Stone , Sat, 7 Apr 2001 14:31:36 +1000 --- ident2-1.07.orig/debian/dirs +++ ident2-1.07/debian/dirs @@ -0,0 +1 @@ +usr/sbin --- ident2-1.07.orig/debian/changelog +++ ident2-1.07/debian/changelog @@ -0,0 +1,182 @@ +ident2 (1.07-1.1ubuntu1) natty; urgency=low + + * Merge from debian unstable. Remaining changes: + - debian/control: Add openbsd-inetd | inet-superserver dependencies + as ident2 needs an inet server to work (Closes: #565323) + + -- Bhavani Shankar Sat, 27 Nov 2010 12:42:30 +0530 + +ident2 (1.07-1.1) unstable; urgency=low + + * Non-maintainer upload. + * Check, if update-inetd is available before calling it during purge + (Service is disabled allready on removal, so that should be okay) + (Closes: #604209) + + -- Alexander Reichle-Schmehl Wed, 24 Nov 2010 16:01:45 +0100 + +ident2 (1.07-1ubuntu1) lucid; urgency=low + + * Merge from Debian testing, remaining changes: + - debian/control: Add openbsd-inetd | inet-superserver dependencies + as ident2 needs an inet server to work + + -- Ilya Barygin Thu, 14 Jan 2010 22:37:49 +0300 + +ident2 (1.07-1) unstable; urgency=low + + * New upstream release. + * Depend on update-inetd (closes: #475085) + * Move to CDBS + * Update to Standards-Version 3.8.3 + * Fix FSBSF on Hurd with patch from Barry deFreese (closes: #532370) + * Add Alexander Dreweke's logcheck ignore rules to the documentation + directory (closes: #404682) + + -- Chuan-kai Lin Tue, 22 Sep 2009 21:32:22 -0700 + +ident2 (1.05-1.2ubuntu1) jaunty; urgency=low + + * Merge from Debian unstable. Remaining Ubuntu changes: + - debian/control: Add openbsd-inetd | inet-superserver dependencies + as ident2 needs an inet server to work + + -- Lionel Porcheron Sun, 07 Dec 2008 23:09:59 +0100 + +ident2 (1.05-1.2) unstable; urgency=medium + + * Non-maintainer upload. + * Add missing Depends on 'update-inetd' to ensure the presence of + /usr/sbin/update-inetd in postinst script. (Closes: #502827) + + -- Chris Lamb Mon, 20 Oct 2008 22:31:21 +0100 + +ident2 (1.05-1.1ubuntu1) feisty; urgency=low + + * Merge from debian unstable, remaining changes: + - debian/control: Add update-inetd to ident2's dependencies + - debian/control: Add openbsd-inetd | inet-superserver dependencies + as ident2 needs an inet server to work + * debian/control: Change Maintainer/XSBC-Original-Maintainer field + + -- Lionel Porcheron Sun, 11 Mar 2007 19:17:31 +0100 + +ident2 (1.05-1.1) unstable; urgency=high + + * Non-maintainer upload. + * Conditional call for update-inetd in postrm, thanks andreas + Closes: #413398 + + -- Michael Ablassmeier Tue, 6 Mar 2007 13:21:03 +0100 + +ident2 (1.05-1ubuntu1) feisty; urgency=low + + * debian/control: Add update-inetd to ident2's dependencies + (Closes Ubuntu: #76106). + * debian/control: Add openbsd-inetd | inet-superserver dependencies + as ident2 needs an inet server to work + + -- Lionel Porcheron Sun, 17 Dec 2006 11:40:21 +0100 + +ident2 (1.05-1) unstable; urgency=low + + * New upstream release. (closes: #262939) + * Upstream security fix to _getl (DSA-494-1,CAN-2004-0408) is identical + to the fix we introduced in 1.04-2 + + -- Chuan-kai Lin Tue, 10 Aug 2004 10:58:14 -0700 + +ident2 (1.04-2) unstable; urgency=high + + * Fix buffer overflow caused by off-by-one error in _getl() (patch from + Jacques A. Vidrine) + + -- Chuan-kai Lin Fri, 16 Apr 2004 20:04:14 -0700 + +ident2 (1.04-1) unstable; urgency=low + + * New maintainer. (Closes: #195556) + * New upstream release. + + -- Chuan-kai Lin Sun, 8 Feb 2004 21:16:52 -0800 + +ident2 (1.03-7) unstable; urgency=low + + * Modified the postrm's way for dealing with the inetd configuration + (Closes: #206244,#206247). + + -- Rob Bradford Wed, 20 Aug 2003 10:37:59 +0100 + +ident2 (1.03-6) unstable; urgency=low + + * Applied a patch from Joshua Kwan to fix the build problems with gcc 3.3 + due to the use of multiline strings. (closes: #194930) + + -- Rob Bradford Tue, 1 Jul 2003 13:37:15 +0100 + +ident2 (1.03-5) unstable; urgency=low + + * Changed the handling of a previous ident install wrt inetd.conf so that + the postinst removes the ident line from other ident packages, not just + disabling it. (closes: #193225) + * Changed the copyright file to include a reference to the common license + location for the GPL. + + -- Rob Bradford Sat, 17 May 2003 13:49:04 +0100 + +ident2 (1.03-4) unstable; urgency=low + + * Removed unrequired code from postinst that adds the /usr/doc -> + /usr/share/doc symlink as this is being done by debhelper already. + (closes: #155639). And is no longer needed in sid/sarge. + + -- Rob Bradford Wed, 7 Aug 2002 10:12:39 +0100 + +ident2 (1.03-3) unstable; urgency=low + + * Fixed a bug in postinst that caused it to fail if the identd home + directory didn't exist and wasnt created because the identd user already + existed but did not have that home directory. (closes: #127163) + + -- Rob Bradford Tue, 1 Jan 2002 19:15:50 +0000 + +ident2 (1.03-2) unstable; urgency=low + + * New maintainer (closes: #110246) + * Made some minor cleanups thanks to mhp. + + -- Rob Bradford Thu, 30 Aug 2001 10:38:53 +0100 + +ident2 (1.03-1) unstable; urgency=low + + * New upstream release + * Change my email address. + + -- Daniel Stone Wed, 25 Jul 2001 21:43:05 +1000 + +ident2 (1.02-5) unstable; urgency=low + + * Added a provides and conflicts for ident-server. + * Initial Debian release. (Closes: #83358) + + -- Daniel Stone Fri, 27 Apr 2001 17:43:40 +1000 + +ident2 (1.02-4) unstable; urgency=low + + * Changed debian/* structure to debian/ident2.* + * Fixed bloody stupid bug ("/usr/sbin/ident2 midentd -i -n"). Dunno how it worked. + + -- Daniel Stone Mon, 23 Apr 2001 21:43:02 +1000 + +ident2 (1.02-3) unstable; urgency=low + + * Rebuilt with new debhelper version. + + -- Daniel Stone Sat, 7 Apr 2001 14:49:09 +1000 + +ident2 (1.02-1) unstable; urgency=low + + * Initial Release. + + -- Daniel Stone Sat, 7 Apr 2001 14:31:36 +1000 + --- ident2-1.07.orig/debian/compat +++ ident2-1.07/debian/compat @@ -0,0 +1 @@ +7 --- ident2-1.07.orig/debian/prerm +++ ident2-1.07/debian/prerm @@ -0,0 +1,39 @@ +#!/bin/sh +# prerm script for ident2 +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `remove' +# * `upgrade' +# * `failed-upgrade' +# * `remove' `in-favour' +# * `deconfigure' `in-favour' +# `removing' +# +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package + + +case "$1" in + remove|upgrade|deconfigure) + update-inetd --disable ident + ;; + + failed-upgrade) + ;; + + *) + echo "prerm called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 --- ident2-1.07.orig/debian/copyright +++ ident2-1.07/debian/copyright @@ -0,0 +1,42 @@ +This package was first debianized by: + + Daniel Stone on Sat, 7 Apr 2001 14:31:36 +1000. + +It was downloaded from: + + http://www.panix.com/~mbac/source.html + +Upstream Authors: + + Michael Bacarella II + +Copyright: + + Copyright (C) 1998-2001 Michael Bacarella + Copyright (C) 2003 Netgraft Corporation + +License: + + This package is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this package; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + +On Debian systems, the complete text of the GNU General +Public License version 2 can be found in `/usr/share/common-licenses/GPL-2'. + +The Debian packaging is: + + Copyright (C) 2009 Chuan-kai Lin + +and is licensed under the GPL version 3, +see `/usr/share/common-licenses/GPL-3'. --- ident2-1.07.orig/debian/postinst +++ ident2-1.07/debian/postinst @@ -0,0 +1,49 @@ +#!/bin/sh +# postinst script for ident2 +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `configure' +# * `abort-upgrade' +# * `abort-remove' `in-favour' +# +# * `abort-remove' +# * `abort-deconfigure' `in-favour' +# `removing' +# +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package + +if ! id -u identd >/dev/null 2>&1; then + adduser --quiet --system --home /var/run/identd identd +fi + +mkdir -p /var/run/identd +chmod 755 /var/run/identd + +case "$1" in + configure) + # Update inetd.conf (first remove any existing, then add the new). + update-inetd --remove ident + update-inetd --group INFO --add \ + "ident\t\tstream\ttcp\tnowait\tidentd /usr/sbin/ident2 ident2 -i -n" + ;; + + abort-upgrade|abort-remove|abort-deconfigure) + ;; + + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 --- ident2-1.07.orig/debian/README.source +++ ident2-1.07/debian/README.source @@ -0,0 +1,18 @@ +Debian ident2 README.source +--------------------------- + +In the process of preparing this Debian package, I recompressed the +tar.bz2 upstream source into tar.gz. This is necessary because the +official Debian archive does not yet accept source format 3.0. + +This package uses CDBS simple-patchsys to manage changes to the upstream +source. To put it simply, all the changes are stored as patches in the +debian/patches directory, with the number prefix indicating the order of +their applications. + + Apply the patches: type "debian/rules patch" + Un-apply the patches: type "debian/rules unpatch" + +To save your own modifications, add the patches into debian/rules. + + -- Chuan-kai Lin , Tue, 22 Sep 2009 20:35:05 -0700 --- ident2-1.07.orig/debian/postrm +++ ident2-1.07/debian/postrm @@ -0,0 +1,48 @@ +#!/bin/sh +# postrm script for ident2 +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `remove' +# * `purge' +# * `upgrade' +# * `failed-upgrade' +# * `abort-install' +# * `abort-install' +# * `abort-upgrade' +# * `disappear' +# +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package + + +case "$1" in + purge) + if [ -x /usr/sbin/update-inetd ]; then + update-inetd --remove /usr/sbin/ident2 + fi + deluser --quiet identd || true + ;; + + remove) + update-inetd --pattern ident2 --disable ident + ;; + + upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) + ;; + + *) + echo "postrm called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 --- ident2-1.07.orig/debian/rules +++ ident2-1.07/debian/rules @@ -0,0 +1,7 @@ +#!/usr/bin/make -f + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/rules/simple-patchsys.mk +include /usr/share/cdbs/1/class/autotools.mk + +# Add here any variable or target overrides you need. --- ident2-1.07.orig/debian/contrib/logcheck-ignore +++ ident2-1.07/debian/contrib/logcheck-ignore @@ -0,0 +1,21 @@ +Here is a suggestion from Alexander Dreweke on how to +set up logcheck ignore rules to filter out ident2 messages. Originally +posted in bug report #404682. + +-------------------------------- + +As more and more mail servers I use start generating ident request, when +gathering mails via pop from them, I'm downing in logcheck mails. As +these mail only report ident request that where anserwerd, I find them +quite useless. Therefor I've defined the following 2 logcheck ignore +rules in /etc/logcheck/ignore.d.server/ident2: + +^\w{3} [ :0-9]{11} [._[:alnum:]-]+ ident2\[[0-9]+\]: connect from +[^[:space:]]+ ([^[:space:]]+) + +^\w{3} [ :0-9]{11} [._[:alnum:]-]+ in.ident2\[[0-9]+\]: sent reply +[^[:space:]]{2,} to query [^[:space:]]+ \([0-9]+, [0-9]+\), uid = [0-9]+ + +Maybe other people would also find them usefull to reduce "useless" +logcheck mails. So you could consider to include them into the package. + --- ident2-1.07.orig/debian/patches/01_install_destdir.patch +++ ident2-1.07/debian/patches/01_install_destdir.patch @@ -0,0 +1,19 @@ +diff -r 93b3c7794a4e Makefile.in +--- a/Makefile.in Tue Sep 22 19:46:33 2009 -0700 ++++ b/Makefile.in Tue Sep 22 19:49:31 2009 -0700 +@@ -47,11 +47,10 @@ + all: $(PROG) + + install: all +- $(top_srcdir)/util/mkinstalldirs $(prefix)/sbin +- $(top_srcdir)/util/mkinstalldirs $(prefix)/share/man/man8 +- $(INSTALL) $(PROG) $(prefix)/sbin +- # We get Debian to install the manpages. +-# $(INSTALL) $(DOC) $(prefix)/share/man/man8 ++ $(top_srcdir)/util/mkinstalldirs $(DESTDIR)$(prefix)/sbin ++ $(top_srcdir)/util/mkinstalldirs $(DESTDIR)$(prefix)/share/man/man8 ++ $(INSTALL) $(PROG) $(DESTDIR)$(prefix)/sbin ++ $(INSTALL) $(DOC) $(DESTDIR)$(prefix)/share/man/man8 + + uninstall: + /bin/rm -f $(prefix)/sbin/$(PROG) --- ident2-1.07.orig/debian/patches/02_hurd_build.patch +++ ident2-1.07/debian/patches/02_hurd_build.patch @@ -0,0 +1,13 @@ +diff -r 93b3c7794a4e configure +--- a/configure Tue Sep 22 19:46:33 2009 -0700 ++++ b/configure Tue Sep 22 21:15:00 2009 -0700 +@@ -1325,6 +1325,9 @@ + Linux*) + cp sys/m_linux.c machine.c + ;; ++ GNU*) ++ cp sys/m_linux.c machine.c ++ ;; + FreeBSD*) # remember, test returns a non-zero value if true + if (test "$HOSTREL" = "3.*") + then