[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#609757: marked as done (ITP: libmd -- Message Digest functions from BSD systems)



Your message dated Sat, 13 Feb 2016 17:00:26 +0000
with message-id <E1aUdYY-0006Jw-Es@franck.debian.org>
and subject line Bug#609757: fixed in libmd 0.0.0-1
has caused the Debian Bug report #609757,
regarding ITP: libmd -- Message Digest functions from BSD systems
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
609757: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=609757
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: freebsd-libs
Version: 8.1-5
Severity: wishlist
Tags: patch

[Resent from the debian-bsd list, per request of Robert Millan]

Hello,

I'm sending the following patch for comments and possibly inclusion.
It introduces the libmd{0,-dev} binary packages in the freebsd-libs
source package. libmd is a message digest library (it includes digest
algorithms from the MD{4,5} and SHA{1,2} family).

My ultimate goal here is to have support for encrypted disk devices
(the "eli" class in geom), and libmd is a dependancy of the userland
geli(8) utility.

Laurent.
>From cc7bec8e638b0e45bfc5d8539ca3fb31dbfceaae Mon Sep 17 00:00:00 2001
From: Laurent Fousse <laurent@persil.lateralis.org>
Date: Fri, 17 Dec 2010 15:45:51 +0100
Subject: [PATCH 1/2] Build libmd.

---
 debian/control           |   15 ++++++++++++++
 debian/libmd-dev.install |   49 ++++++++++++++++++++++++++++++++++++++++++++++
 debian/libmd0.install    |    1 +
 debian/rules             |   11 ++++++++-
 4 files changed, 74 insertions(+), 2 deletions(-)
 create mode 100644 debian/libmd-dev.install
 create mode 100644 debian/libmd0.install

diff --git a/debian/control b/debian/control
index 6686571..8d0432a 100644
--- a/debian/control
+++ b/debian/control
@@ -187,6 +187,21 @@ Description: Development files for libmemstat
  This package contains the header files and static library needed to
  compile applications that use libmemstat.
 
+Package: libmd0
+Architecture: kfreebsd-any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: FreeBSD message digest library
+ The md library provides various message digest ("hash") functions.
+
+Package: libmd-dev
+Section: libdevel
+Architecture: kfreebsd-any
+Depends: libmd0 (= ${binary:Version}), ${misc:Depends}, libc0.1-dev | libc-dev,
+ libbsd-dev
+Description: Development files for libmd
+ This package contains the header files and static library needed to
+ compile applications that use libmd.
+
 Package: libnetgraph4
 Architecture: kfreebsd-any
 Depends: ${shlibs:Depends}, ${misc:Depends}
diff --git a/debian/libmd-dev.install b/debian/libmd-dev.install
new file mode 100644
index 0000000..7f1d14e
--- /dev/null
+++ b/debian/libmd-dev.install
@@ -0,0 +1,49 @@
+usr/lib/libmd*.so
+usr/lib/libmd.a
+usr/share/man/man3/md2.3.gz
+usr/share/man/man3/MD2Data.3.gz
+usr/share/man/man3/MD2End.3.gz
+usr/share/man/man3/MD2File.3.gz
+usr/share/man/man3/MD2FileChunk.3.gz
+usr/share/man/man3/MD2Final.3.gz
+usr/share/man/man3/MD2Init.3.gz
+usr/share/man/man3/MD2Update.3.gz
+usr/share/man/man3/md4.3.gz
+usr/share/man/man3/MD4Data.3.gz
+usr/share/man/man3/MD4End.3.gz
+usr/share/man/man3/MD4File.3.gz
+usr/share/man/man3/MD4FileChunk.3.gz
+usr/share/man/man3/MD4Final.3.gz
+usr/share/man/man3/MD4Init.3.gz
+usr/share/man/man3/MD4Update.3.gz
+usr/share/man/man3/md5.3.gz
+usr/share/man/man3/MD5Data.3.gz
+usr/share/man/man3/MD5End.3.gz
+usr/share/man/man3/MD5File.3.gz
+usr/share/man/man3/MD5FileChunk.3.gz
+usr/share/man/man3/MD5Final.3.gz
+usr/share/man/man3/MD5Init.3.gz
+usr/share/man/man3/MD5Update.3.gz
+usr/share/man/man3/SHA1_Data.3.gz
+usr/share/man/man3/SHA1_End.3.gz
+usr/share/man/man3/SHA1_File.3.gz
+usr/share/man/man3/SHA1_FileChunk.3.gz
+usr/share/man/man3/SHA1_Final.3.gz
+usr/share/man/man3/SHA1_Init.3.gz
+usr/share/man/man3/SHA1_Update.3.gz
+usr/share/man/man3/sha256.3.gz
+usr/share/man/man3/SHA256_Data.3.gz
+usr/share/man/man3/SHA256_End.3.gz
+usr/share/man/man3/SHA256_File.3.gz
+usr/share/man/man3/SHA256_FileChunk.3.gz
+usr/share/man/man3/SHA256_Final.3.gz
+usr/share/man/man3/SHA256_Init.3.gz
+usr/share/man/man3/SHA256_Update.3.gz
+usr/share/man/man3/sha.3.gz
+usr/share/man/man3/SHA_Data.3.gz
+usr/share/man/man3/SHA_End.3.gz
+usr/share/man/man3/SHA_File.3.gz
+usr/share/man/man3/SHA_FileChunk.3.gz
+usr/share/man/man3/SHA_Final.3.gz
+usr/share/man/man3/SHA_Init.3.gz
+usr/share/man/man3/SHA_Update.3.gz
diff --git a/debian/libmd0.install b/debian/libmd0.install
new file mode 100644
index 0000000..56536be
--- /dev/null
+++ b/debian/libmd0.install
@@ -0,0 +1 @@
+usr/lib/libmd*.so.*
diff --git a/debian/rules b/debian/rules
index 525a9b9..6c794b0 100755
--- a/debian/rules
+++ b/debian/rules
@@ -29,7 +29,7 @@ export SHLIB_MAJOR=0
 get-orig-source:
 	rm -rf $(ORIGDIR)
 	for i in lib/libcam lib/libdevstat lib/libgeom lib/libipx \
-	         lib/libkiconv lib/libnetgraph \
+	         lib/libkiconv lib/libmd lib/libnetgraph \
 	         lib/libkvm lib/libmemstat lib/libsbuf lib/libusb \
 	         lib/libusbhid sys/cam ; do \
 	    svn export $(SVN)/$$i $(ORIGDIR)/$$i ; \
@@ -49,7 +49,7 @@ patch-stamp:
 	QUILT_PATCHES=debian/patches quilt push -a || test $$? = 2
 	touch $@
 
-build: build-cam build-geom build-sbuf build-ipx build-kiconv build-kvm build-usbhid build-usb build-devstat build-memstat build-netgraph
+build: build-cam build-geom build-sbuf build-ipx build-kiconv build-kvm build-usbhid build-usb build-devstat build-memstat build-md build-netgraph
 
 build-cam: build-cam-stamp
 build-cam-stamp: patch build-sbuf
@@ -61,6 +61,11 @@ build-geom-stamp: patch build-sbuf
 	$(PMAKE) -C $(CURDIR)/lib/libgeom SHLIBDIR=./
 	touch $@
 
+build-md: build-md-stamp
+build-md-stamp: patch
+	$(PMAKE) -C $(CURDIR)/lib/libmd SHLIBDIR=./
+	touch $@
+
 build-netgraph: build-netgraph-stamp
 build-netgraph-stamp: patch
 	$(PMAKE) -C $(CURDIR)/lib/libnetgraph SHLIBDIR=./
@@ -113,6 +118,7 @@ clean:
 	$(PMAKE) -C $(CURDIR)/lib/libnetgraph clean
 	$(PMAKE) -C $(CURDIR)/lib/libdevstat clean
 	$(PMAKE) -C $(CURDIR)/lib/libmemstat clean
+	$(PMAKE) -C $(CURDIR)/lib/libmd clean
 	$(PMAKE) -C $(CURDIR)/lib/libgeom clean
 	$(PMAKE) -C $(CURDIR)/lib/libipx clean
 	$(PMAKE) -C $(CURDIR)/lib/libkiconv clean
@@ -140,6 +146,7 @@ install: build
 	$(PMAKE) -C $(CURDIR)/lib/libkvm install SHLIBDIR=/lib
 	$(PMAKE) -C $(CURDIR)/lib/libdevstat install SHLIBDIR=/usr/lib
 	$(PMAKE) -C $(CURDIR)/lib/libmemstat install SHLIBDIR=/usr/lib
+	$(PMAKE) -C $(CURDIR)/lib/libmd install SHLIBDIR=/usr/lib
 	$(PMAKE) -C $(CURDIR)/lib/libnetgraph install SHLIBDIR=/usr/lib
 	$(PMAKE) -C $(CURDIR)/lib/libusbhid install SHLIBDIR=/usr/lib
 	$(PMAKE) -C $(CURDIR)/lib/libusb install SHLIBDIR=/lib
-- 
1.7.2.3

>From 661a052926486d972423ff3c1a06b613b787b233 Mon Sep 17 00:00:00 2001
From: Laurent Fousse <laurent@persil.lateralis.org>
Date: Fri, 17 Dec 2010 15:59:48 +0100
Subject: [PATCH 2/2] Include missing header <stdint.h>.

---
 lib/libmd/sha256.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/lib/libmd/sha256.h b/lib/libmd/sha256.h
index ce51787..930a121 100644
--- a/lib/libmd/sha256.h
+++ b/lib/libmd/sha256.h
@@ -30,6 +30,7 @@
 #define _SHA256_H_
 
 #include <sys/types.h>
+#include <stdint.h>
 
 typedef struct SHA256Context {
 	uint32_t state[8];
-- 
1.7.2.3


--- End Message ---
--- Begin Message ---
Source: libmd
Source-Version: 0.0.0-1

We believe that the bug you reported is fixed in the latest version of
libmd, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 609757@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Guillem Jover <guillem@debian.org> (supplier of updated libmd package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Wed, 10 Feb 2016 00:43:54 +0100
Source: libmd
Binary: libmd-dev libmd0
Architecture: source amd64
Version: 0.0.0-1
Distribution: unstable
Urgency: medium
Maintainer: Guillem Jover <guillem@debian.org>
Changed-By: Guillem Jover <guillem@debian.org>
Description:
 libmd-dev  - message digest functions from BSD systems - development files
 libmd0     - message digest functions from BSD systems - shared library
Closes: 609757
Changes:
 libmd (0.0.0-1) unstable; urgency=medium
 .
   * Initial release. (Closes: #609757)
Checksums-Sha1:
 47ba337d18d1d1051c795dd15296c4bb0dff0d59 1864 libmd_0.0.0-1.dsc
 86d521272c075b4e76fc2d3f8133bb58798d6e03 252384 libmd_0.0.0.orig.tar.xz
 fafa097d13170756e2487d2712a12a79e654603c 9180 libmd_0.0.0-1.debian.tar.xz
 f050aad69fb7903befe8ffeea0d98fd583303880 40528 libmd-dev_0.0.0-1_amd64.deb
 856bbc346fdeab9e6e36dd187c88783ade0d23d1 29608 libmd0-dbgsym_0.0.0-1_amd64.deb
 8e8a08490812c73fd379effaba872f1af574d62e 23092 libmd0_0.0.0-1_amd64.deb
Checksums-Sha256:
 d4084da822e34d8f9a214eceab752a1d661853378cb9ef8110d833dd912c84b3 1864 libmd_0.0.0-1.dsc
 fd3f2366236fb3fd0dac0c0a77ffff8511e2939c79d1d58daf56e3f5ee383a88 252384 libmd_0.0.0.orig.tar.xz
 0651a822962c3a742b9f81c6891c687000843f27e7d0fc14f60098462fc97c07 9180 libmd_0.0.0-1.debian.tar.xz
 36766e5ddd50122df12af74741d4f44e5696aa70c25768fbf784d46b308926a9 40528 libmd-dev_0.0.0-1_amd64.deb
 92f7df7ff984a552dde079cac09e4f49837afb99ef206fe05ede4db32c67a120 29608 libmd0-dbgsym_0.0.0-1_amd64.deb
 c80257e830ce827e9040b2e5f2191b8cde1895d01223aca0297a2fb14bdc6c50 23092 libmd0_0.0.0-1_amd64.deb
Files:
 0393686aed150fdd617f5847d2a98aa7 1864 libs optional libmd_0.0.0-1.dsc
 05be4882f4a982e03615722a413d141e 252384 libs optional libmd_0.0.0.orig.tar.xz
 9c08b5874ac74fafda3af29f2b7109ff 9180 libs optional libmd_0.0.0-1.debian.tar.xz
 978d78807cc0be4a5081db5f9975b59e 40528 libdevel optional libmd-dev_0.0.0-1_amd64.deb
 29bd5c43fcc0d0c60c5b9c552170d27d 29608 debug extra libmd0-dbgsym_0.0.0-1_amd64.deb
 33f30923280529a585dff926df000c09 23092 libs optional libmd0_0.0.0-1_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCAAGBQJWvv/yAAoJELlyvz6krlejHeQP/iqQWohPPAvxHN1FWR6EKR/D
o9NLtJIANi1hzWEkf83nyzrOnpUh7cz3Pbi1CpX8tEaKIsg7HhWAuBI++YBUsVcG
St+a06+e7FDqHHbM6F6nDRUBsGZd5RUM+ijolynukF6/zmQZTmzzDRZ6JGasuRMR
Yx5TRza8C9gNAy277m8w4RN+k1Aqs2LE1a9BZBDCoG8YkXf7ia719inSbI8bk2dH
oosLeBBg9VufwZZxNVx/k2eTrCZCzhLTd+ZNUbP+ugkGserUl0w8omi5ecmDuW9r
yjy3Qt+4/SHhDVY4LqfYQy8BpQhaiFhwtZaZ2GEP1mNcbnPF3+9Wd0dwfA7vd1eN
QctY/HeGOZXOqgbS6evpCQA7sftoGztC5MzN8NvU2oFwHL/6bjeLYNIM+p1cp6am
SlwjAHRc3qb+zjZR80UwRLDv3BMVC9oQZ7Pu100gEvmyKkQwYleFUOFFtzk1AmrW
Ef0ZiQ1ekr2479aN5cY4RRamCE+xEHaZeJgrb9Ibf4Kr/rDfyzKXAuGw+VbuR6/6
2TYbebmdwF0RywxSdamyTlIXZQbUcWBc9EDDwwu+iCSfWn4wcZSscKz1rWWux63k
VXyOY/s3NQQ0Y5xDnI3PgKbaSqnGXKUfOz8ZbBxsbaqOVzSZTGO+nNWOZ8ViLQIo
QYhxS/NvwWFO+PHk3rf4
=FpeL
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: