--- mhash-0.9.9.orig/debian/control +++ mhash-0.9.9/debian/control @@ -0,0 +1,36 @@ +Source: mhash +Section: libs +Priority: optional +Maintainer: Chris Hanson +Build-Depends: debhelper (>= 4.0.0), autotools-dev +Standards-Version: 3.7.2 + +Package: libmhash2 +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Library for cryptographic hashing and message authentication + Mhash is a library that provides a uniform interface to a large + number of hash algorithms. These algorithms can be used to compute + checksums, message digests, and other signatures. The HMAC support + implements the basics for message authentication, following RFC 2104. + Mhash also provides several key-generation algorithms, including + those of OpenPGP (RFC 2440). Further information is available at + http://mhash.sourceforge.net/. + . + This package contains the shared library. + +Package: libmhash-dev +Section: libdevel +Architecture: any +Depends: libmhash2 (= ${binary:Version}), libc6-dev, ${misc:Depends} +Description: Library for cryptographic hashing and message authentication + Mhash is a library that provides a uniform interface to a large + number of hash algorithms. These algorithms can be used to compute + checksums, message digests, and other signatures. The HMAC support + implements the basics for message authentication, following RFC 2104. + Mhash also provides several key-generation algorithms, including + those of OpenPGP (RFC 2440). Further information is available at + http://mhash.sourceforge.net/. + . + This package contains header files, the man page, and the static + library. --- mhash-0.9.9.orig/debian/libmhash-dev.prerm +++ mhash-0.9.9/debian/libmhash-dev.prerm @@ -0,0 +1,34 @@ +#!/bin/sh +# prerm script for libmhash-dev +# +# 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 /usr/share/doc/packaging-manual/ + +case "$1" in + remove|upgrade|deconfigure) + ;; + 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 --- mhash-0.9.9.orig/debian/libmhash-dev.files +++ mhash-0.9.9/debian/libmhash-dev.files @@ -0,0 +1,5 @@ +usr/include +usr/lib/libmhash.a +usr/lib/libmhash.la +usr/lib/libmhash.so +usr/share --- mhash-0.9.9.orig/debian/copyright +++ mhash-0.9.9/debian/copyright @@ -0,0 +1,28 @@ +This package was debianized by Gergely Madarasz on +Wed, 7 Jul 1999 14:47:59 +0200. + +It was downloaded from http://mhash.sourceforge.net/ + +Upstream Authors: + Nikos Mavroyanopoulos + Sascha Schumann + +Copyright: + + This package is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser 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 GNU/Linux systems, the complete text of the GNU Lesser General +Public License can be found in `/usr/share/common-licenses/LGPL'. --- mhash-0.9.9.orig/debian/libmhash2.postinst +++ mhash-0.9.9/debian/libmhash2.postinst @@ -0,0 +1,39 @@ +#!/bin/sh +# postinst script for libmhash2 +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `configure' +# * `abort-upgrade' +# * `abort-remove' `in-favour' +# +# * `abort-deconfigure' `in-favour' +# `removing' +# +# for details, see /usr/share/doc/packaging-manual/ +# +# quoting from the policy: +# Any necessary prompting should almost always be confined to the +# post-installation script, and should be protected with a conditional +# so that unnecessary prompting doesn't happen if a package's +# installation fails and the `postinst' is called with `abort-upgrade', +# `abort-remove' or `abort-deconfigure'. + +case "$1" in + configure|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 --- mhash-0.9.9.orig/debian/libmhash-dev.dirs +++ mhash-0.9.9/debian/libmhash-dev.dirs @@ -0,0 +1 @@ +usr/share/doc --- mhash-0.9.9.orig/debian/libmhash2.preinst +++ mhash-0.9.9/debian/libmhash2.preinst @@ -0,0 +1,32 @@ +#!/bin/sh +# preinst script for libmhash2 +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `install' +# * `install' +# * `upgrade' +# * `abort-upgrade' +# +# For details see /usr/share/doc/packaging-manual/ + +case "$1" in + install|upgrade) + ;; + abort-upgrade) + ;; + *) + echo "preinst 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 --- mhash-0.9.9.orig/debian/libmhash-dev.manpages +++ mhash-0.9.9/debian/libmhash-dev.manpages @@ -0,0 +1 @@ +doc/mhash.3 --- mhash-0.9.9.orig/debian/libmhash2.prerm +++ mhash-0.9.9/debian/libmhash2.prerm @@ -0,0 +1,34 @@ +#!/bin/sh +# prerm script for libmhash2 +# +# 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 /usr/share/doc/packaging-manual/ + +case "$1" in + remove|upgrade|deconfigure) + ;; + 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 --- mhash-0.9.9.orig/debian/libmhash-dev.preinst +++ mhash-0.9.9/debian/libmhash-dev.preinst @@ -0,0 +1,32 @@ +#!/bin/sh +# preinst script for libmhash-dev +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `install' +# * `install' +# * `upgrade' +# * `abort-upgrade' +# +# For details see /usr/share/doc/packaging-manual/ + +case "$1" in + install|upgrade) + ;; + abort-upgrade) + ;; + *) + echo "preinst 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 --- mhash-0.9.9.orig/debian/changelog +++ mhash-0.9.9/debian/changelog @@ -0,0 +1,274 @@ +mhash (0.9.9-1) unstable; urgency=low + + * New upstream version. + - No longer contains non-free RFCs. (closes: Bug#393398) + * debian/rules: eliminate lintian warning + debian-rules-ignores-make-clean-error. + * debian/control: eliminate lintial error + not-binnmuable-any-depends-any. + + -- Chris Hanson Sat, 21 Jul 2007 22:15:39 -0400 + +mhash (0.9.7.dfsg-1.1) unstable; urgency=low + + * Non-maintainer upload. + * Pruning rfc's from the source package (Closes: 393398). + + -- Pierre Habouzit Sat, 21 Jul 2007 15:19:31 +0200 + +mhash (0.9.7-1) unstable; urgency=low + + * New upstream version. + + -- Chris Hanson Sun, 25 Jun 2006 21:49:23 -0400 + +mhash (0.9.6-3) unstable; urgency=low + + * Fix VERSION problem by renaming that variable to MHASH_VERSION. + (closes: Bug#356490) + + -- Chris Hanson Wed, 31 May 2006 14:55:40 -0400 + +mhash (0.9.6-2) unstable; urgency=low + + * Attempt to fix #350088. This patch looks correct when compared to + version 0.9.1, so please test and report back to BTS. + * debian/rules: Define MHASH_ROBUST when making package; this should + convert segfaults (e.g. from #350088) into errors. + * Considerably complicate patch to in order to fix problems + caused by previous patch. + * Patch upstream typos in several files. + * Bump standards-version to 3.7.2 (no changes). + + -- Chris Hanson Sun, 14 May 2006 01:03:43 -0400 + +mhash (0.9.6-1) unstable; urgency=low + + * New upstream version. The last release opened several bugs (348604 + 354206 350088) against this package, which remain open upstream. + Please test and report the results back to BTS, as upstream needs to + hear from us. (Thanks to Marc Haber for forwarding the bug reports + upstream -- I've been swamped with work and am having trouble keeping + up.) + * Patch to work around problem with VERSION. Fixes #356490, + but the bug remains open. I will reduce its severity until it is + fixed upstream. + + -- Chris Hanson Tue, 21 Mar 2006 00:32:06 -0500 + +mhash (0.9.4a-1) unstable; urgency=low + + * New upstream version. (closes: Bug#342678) + * patch upstream version: restore missing include file. + * debian/copyright: update FSF address. + * debian/control: bump standards-version (no changes). + * debian/libmhash-dev.files: make sure all include files are moved. + + -- Chris Hanson Fri, 13 Jan 2006 23:24:34 -0500 + +mhash (0.9.1-1) unstable; urgency=low + + * New upstream version. (closes: Bug#263093) + * Don't rebuild autoconf files to get static libraries. Just pass args + to configure script. + + -- Chris Hanson Tue, 30 Nov 2004 00:25:59 -0500 + +mhash (0.8.18-4) unstable; urgency=low + + * Bump version to work around failed upload. + + -- Chris Hanson Tue, 16 Dec 2003 14:29:11 -0500 + +mhash (0.8.18-2) unstable; urgency=low + + * Put libmhash.a back. (closes: Bug#221797, Bug#222826) + + -- Chris Hanson Tue, 16 Dec 2003 12:54:36 -0500 + +mhash (0.8.18-1) unstable; urgency=low + + * New upstream version. (Well, not so new really.) + * Remove libmhash.a since it is no longer built by upstream. + * Standards version 3.6.1 (no changes). + + -- Chris Hanson Fri, 31 Oct 2003 23:37:39 -0500 + +mhash (0.8.17-1) unstable; urgency=low + + * New upstream version. + * Eliminate reference to dh_undocumented. + * Use dh_installman rather than dh_installmanpages. + * Add ${misc:Depends} reference. + * Change section of libapm-dev to libdevel. + * Eliminate unneeded local variables in debian/changelog. + * Add support for "noopt" in DEB_BUILD_OPTIONS. + * Change standards version to 3.5.9. + * Update debian/rules according to latest advice from autotools-dev. + + -- Chris Hanson Tue, 1 Apr 2003 23:48:37 -0500 + +mhash (0.8.16-1) unstable; urgency=low + + * New upstream version. + + -- Chris Hanson Thu, 30 May 2002 16:37:07 -0400 + +mhash (0.8.14-1) unstable; urgency=low + + * New upstream version. + + -- Chris Hanson Fri, 29 Mar 2002 11:24:22 -0500 + +mhash (0.8.13-1) unstable; urgency=low + + * New upstream version. + + -- Chris Hanson Sun, 18 Nov 2001 23:27:05 -0500 + +mhash (0.8.12-1) unstable; urgency=low + + * New upstream version. + + -- Chris Hanson Sun, 28 Oct 2001 23:36:30 -0500 + +mhash (0.8.11-3) unstable; urgency=low + + * Fix upstream problems that caused SIGSEGV to be signalled when + mhash_get_hash_name() and mhash_get_keygen_name() were called with + invalid type arguments. + + -- Chris Hanson Thu, 25 Oct 2001 23:01:44 -0400 + +mhash (0.8.11-2) unstable; urgency=medium + + * Fix upstream compilation bug that required libmhash-dev to be + installed before compilation could succeed. The changes were + recommended by the upstream maintainer and will be incorporated in the + next release. (closes: Bug#116794) + + -- Chris Hanson Tue, 23 Oct 2001 15:01:07 -0400 + +mhash (0.8.11-1) unstable; urgency=low + + * New upstream version. + * Add some changes recommended by the autotools-dev package. + + -- Chris Hanson Mon, 22 Oct 2001 00:51:22 -0400 + +mhash (0.8.10-2) unstable; urgency=low + + * Eliminate lintian warnings related to calling ldconfig in postinst and + postrm for libmhash2. + * Update standards-version to 3.5.6. + + -- Chris Hanson Thu, 4 Oct 2001 15:35:15 -0400 + +mhash (0.8.10-1) unstable; urgency=low + + * New upstream version. + + -- Chris Hanson Tue, 17 Jul 2001 11:29:10 -0400 + +mhash (0.8.9-3) unstable; urgency=low + + * Add build dependency on autotools-dev and refer to up-to-date during + the configuration stage. (closes: Bug#101211) + * Update to standards-version 3.5.5. + + -- Chris Hanson Sun, 17 Jun 2001 20:38:16 -0400 + +mhash (0.8.9-2) unstable; urgency=low + + * Updated to standards-version 3.5.2. + * Eliminate uses of dh_testversion and dh_suidregister. + + -- Chris Hanson Fri, 23 Mar 2001 22:27:36 -0500 + +mhash (0.8.9-1) unstable; urgency=low + + * New upstream version. + + -- Chris Hanson Mon, 5 Feb 2001 23:28:53 -0500 + +mhash (0.8.8-2) unstable; urgency=low + + * Fix upstream thinko that caused compilation error on alpha. + (closes: Bug#84378) + + -- Chris Hanson Thu, 1 Feb 2001 12:18:48 -0500 + +mhash (0.8.8-1) unstable; urgency=low + + * New upstream version. + + -- Chris Hanson Mon, 29 Jan 2001 14:13:26 -0500 + +mhash (0.8.6-2) unstable; urgency=low + + * Change definitions of byteReverse in "lib/md4.c" and "lib/md5.c" to be + static, so they don't interfere with one another at link time. + (closes: Bug#83843) + + -- Chris Hanson Sun, 28 Jan 2001 11:48:21 -0500 + +mhash (0.8.6-1) unstable; urgency=low + + * New upstream release. + + -- Chris Hanson Sat, 27 Jan 2001 01:13:03 -0500 + +mhash (0.8.5-1) unstable; urgency=medium + + * New upstream version. + * Improved package descriptions. (closes: Bug#67878, Bug#74757) + * Flesh out {pre,post}{inst,rm} scripts for each package so that + debhelper has somewhere to insert script fragments. + + -- Chris Hanson Sat, 20 Jan 2001 00:34:56 -0500 + +mhash (0.8.2-2) unstable; urgency=low + + * New maintainer. (closes: Bug#68234) + + -- Chris Hanson Fri, 19 Jan 2001 21:04:10 -0500 + +mhash (0.8.2-1) unstable; urgency=low + + * New upstream version + + -- Gergely Madarasz Fri, 12 May 2000 20:24:02 +0200 + +mhash (0.8.1-1) unstable; urgency=low + + * New upstream version + * New soname -> new package name + * Update copyright file (now LGPL) + + -- Gergely Madarasz Sun, 16 Apr 2000 02:46:02 +0200 + +mhash (0.6.1-1) unstable; urgency=low + + * New upstream version + + -- Gergely Madarasz Thu, 2 Dec 1999 15:49:39 +0100 + +mhash (0.5.2-3) unstable; urgency=low + + * FHS compliance + * Standards: 3.0.1 + * Change maintainer address + + -- Gergely Madarasz Tue, 7 Sep 1999 19:26:19 +0200 + +mhash (0.5.2-2) unstable; urgency=low + + * Fix maintainer address in control file + + -- Gergely Madarasz Wed, 14 Jul 1999 23:55:09 +0200 + +mhash (0.5.2-1) unstable; urgency=low + + * Initial Release. + + -- Gergely Madarasz Wed, 14 Jul 1999 11:35:02 +1000 --- mhash-0.9.9.orig/debian/rules +++ mhash-0.9.9/debian/rules @@ -0,0 +1,94 @@ +#!/usr/bin/make -f +# Sample debian/rules that uses debhelper. +# GNU copyright 1997 to 1999 by Joey Hess. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +AUTOTOOLS := /usr/share/misc +DESTDIR := $(shell pwd)/debian/tmp + +export DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) +export DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) + +ifeq ($(DEB_BUILD_GNU_TYPE), $(DEB_HOST_GNU_TYPE)) + confflags += --build $(DEB_HOST_GNU_TYPE) +else + confflags += --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE) +endif + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS := -O0 +else + CFLAGS := -O2 +endif +CFLAGS += -g -DMHASH_ROBUST + +configure: configure-stamp +configure-stamp: autotools + dh_testdir + CFLAGS="$(CFLAGS)" ./configure $(confflags) \ + --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info \ + --enable-shared --enable-static + touch configure-stamp + +autotools: + -rm -f config.sub config.guess + ln -s $(AUTOTOOLS)/config.sub . + ln -s $(AUTOTOOLS)/config.guess . + +build: configure-stamp build-stamp +build-stamp: + dh_testdir + $(MAKE) + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp configure-stamp + -rm -rf static shared + [ ! -f src/Makefile ] || $(MAKE) distclean + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + $(MAKE) install DESTDIR=$(DESTDIR) + dh_movefiles + +# 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_installdebconf + dh_installdocs + dh_installexamples + dh_installmenu +# dh_installemacsen +# dh_installpam +# dh_installinit + dh_installcron + dh_installman + dh_installinfo + dh_installchangelogs NEWS + dh_link + dh_strip + dh_compress + dh_fixperms + dh_makeshlibs + dh_installdeb +# dh_perl + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install configure autotools --- mhash-0.9.9.orig/debian/libmhash2.postrm +++ mhash-0.9.9/debian/libmhash2.postrm @@ -0,0 +1,33 @@ +#!/bin/sh +# postrm script for libmhash2 +# +# 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' overwrit>r> +# for details, see /usr/share/doc/packaging-manual/ + +case "$1" in + purge|remove|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 --- mhash-0.9.9.orig/debian/libmhash2.docs +++ mhash-0.9.9/debian/libmhash2.docs @@ -0,0 +1,3 @@ +AUTHORS +TODO +README --- mhash-0.9.9.orig/debian/libmhash-dev.postrm +++ mhash-0.9.9/debian/libmhash-dev.postrm @@ -0,0 +1,33 @@ +#!/bin/sh +# postrm script for libmhash-dev +# +# 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' overwrit>r> +# for details, see /usr/share/doc/packaging-manual/ + +case "$1" in + purge|remove|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 --- mhash-0.9.9.orig/debian/libmhash-dev.postinst +++ mhash-0.9.9/debian/libmhash-dev.postinst @@ -0,0 +1,41 @@ +#!/bin/sh +# postinst script for libmhash-dev +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `configure' +# * `abort-upgrade' +# * `abort-remove' `in-favour' +# +# * `abort-deconfigure' `in-favour' +# `removing' +# +# for details, see /usr/share/doc/packaging-manual/ +# +# quoting from the policy: +# Any necessary prompting should almost always be confined to the +# post-installation script, and should be protected with a conditional +# so that unnecessary prompting doesn't happen if a package's +# installation fails and the `postinst' is called with `abort-upgrade', +# `abort-remove' or `abort-deconfigure'. + +case "$1" in + configure) + ;; + 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 --- mhash-0.9.9.orig/debian/libmhash2.files +++ mhash-0.9.9/debian/libmhash2.files @@ -0,0 +1 @@ +usr/lib/*.so.* --- mhash-0.9.9.orig/debian/compat +++ mhash-0.9.9/debian/compat @@ -0,0 +1 @@ +4 --- mhash-0.9.9.orig/include/mutils/mhash_config.h.in +++ mhash-0.9.9/include/mutils/mhash_config.h.in @@ -223,9 +223,6 @@ /* dmalloc */ #undef USE_DMALLOC -/* Version number of package */ -#undef VERSION - /* Define if using the dmalloc debugging malloc package */ #undef WITH_DMALLOC