[Forensics-changes] [SCM] support for Expert Witness Compression format branch, debian, updated. upstream/20080501+debian-1-ga481478
Daniel Baumann
daniel at debian.org
Tue Dec 23 08:55:29 UTC 2008
The following commit has been merged in the debian branch:
commit a481478eab25618f62348cd068b3a473daf9a718
Author: Daniel Baumann <daniel at debian.org>
Date: Tue Nov 25 13:44:44 2008 +0100
Adding debian version 20080501+debian-1.
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..9f7f14e
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,6 @@
+libewf (20080501+debian-1) unstable; urgency=low
+
+ * Initial release (Closes: #467428).
+ * Rebuild upstream tarball without debian directory.
+
+ -- Daniel Baumann <daniel at debian.org> Tue, 25 Nov 2008 13:05:00 +0100
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..7f8f011
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+7
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..e5f6307
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,42 @@
+Source: libewf
+Section: libs
+Priority: optional
+Maintainer: Debian Forensics <forensics-devel at lists.alioth.debian.org>
+Uploaders: Christophe Monniez <christophe.monniez at fccu.be>
+Build-Depends: debhelper (>= 7), dpatch, autotools-dev, libssl-dev, uuid-dev, zlib1g-dev
+Standards-Version: 3.8.0
+Homepage: https://www.uitwisselplatform.nl/projects/libewf/
+Vcs-Browser: http://git.debian.net/?p=debian-forensics/libewf.git
+Vcs-Git: git://git.debian.net/git/debian-forensics/libewf.git
+
+Package: libewf1
+Section: libs
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: support for Expert Witness Compression format
+ Libewf is a library for reading and writing the Expert Witness Compression
+ format (EWF), it support both the SMART format (EWF-S01) and the EnCase format
+ (EWF-E01).
+
+Package: libewf-dbg
+Section: devel
+Priority: extra
+Architecture: any
+Depends: libewf1 (= ${binary:Version}), libewf-dev (= ${binary:Version})
+Description: support for Expert Witness Compression format (debug)
+ Libewf is a library for reading and writing the Expert Witness Compression
+ format (EWF), it support both the SMART format (EWF-S01) and the EnCase format
+ (EWF-E01).
+ .
+ This package contains the debugging symbols.
+
+Package: libewf-dev
+Section: libdevel
+Architecture: any
+Depends: libewf1 (= ${binary:Version})
+Description: support for Expert Witness Compression format (development)
+ Libewf is a library for reading and writing the Expert Witness Compression
+ format (EWF), it support both the SMART format (EWF-S01) and the EnCase format
+ (EWF-E01).
+ .
+ This package contains the development files.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..1d6d5b7
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,83 @@
+Author: Joachim Metz <forensics at hoffmannbv.nl>
+Download: https://www.uitwisselplatform.nl/projects/libewf/
+
+Files: *
+Copyright: 2006-2008 Joachim Metz <forensics at hoffmannbv.nl>, Hoffmann Investigations
+License: BSD
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions are met:
+ .
+ - Redistributions of source code must retain the above copyright notice,
+ this list of conditions and the following disclaimer.
+ - Redistributions in binary form must reproduce the above copyright notice,
+ this list of conditions and the following disclaimer in the documentation
+ and/or other materials provided with the distribution.
+ - Neither the name of the creator, related organisations, nor the names of
+ its contributors may be used to endorse or promote products derived from
+ this software without specific prior written permission.
+ .
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER, COMPANY AND CONTRIBUTORS
+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
+ THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ POSSIBILITY OF SUCH DAMAGE.
+
+Files: manuals/{ewfacquire.1,ewfexport.1,ewfinfo.1,ewfverify.1}
+Copyright: (C) 2006-2008 Kees Mastwijk, Hoffmann Investigations <forensics at hoffmannbv.nl>
+License: BSD
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions are met:
+ .
+ - Redistributions of source code must retain the above copyright notice,
+ this list of conditions and the following disclaimer.
+ - Redistributions in binary form must reproduce the above copyright notice,
+ this list of conditions and the following disclaimer in the documentation
+ and/or other materials provided with the distribution.
+ - Neither the name of the creator, related organisations, nor the names of
+ its contributors may be used to endorse or promote products derived from
+ this software without specific prior written permission.
+ .
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER, COMPANY AND CONTRIBUTORS
+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
+ THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ POSSIBILITY OF SUCH DAMAGE.
+
+Files: debian/*
+Copyright: 2008 Daniel Baumann <daniel at debian.org>
+License: BSD
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions are met:
+ .
+ - Redistributions of source code must retain the above copyright notice,
+ this list of conditions and the following disclaimer.
+ - Redistributions in binary form must reproduce the above copyright notice,
+ this list of conditions and the following disclaimer in the documentation
+ and/or other materials provided with the distribution.
+ - Neither the name of the creator, related organisations, nor the names of
+ its contributors may be used to endorse or promote products derived from
+ this software without specific prior written permission.
+ .
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER, COMPANY AND CONTRIBUTORS
+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
+ THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ POSSIBILITY OF SUCH DAMAGE.
diff --git a/debian/libewf-dev.install b/debian/libewf-dev.install
new file mode 100644
index 0000000..62fa4e0
--- /dev/null
+++ b/debian/libewf-dev.install
@@ -0,0 +1,6 @@
+/usr/include
+/usr/lib/*.a
+/usr/lib/*.la
+/usr/lib/*.so
+/usr/lib/pkgconfig
+/usr/share/man/man3
diff --git a/debian/libewf1.docs b/debian/libewf1.docs
new file mode 100644
index 0000000..3cc350b
--- /dev/null
+++ b/debian/libewf1.docs
@@ -0,0 +1,2 @@
+AUTHORS
+NEWS
diff --git a/debian/libewf1.install b/debian/libewf1.install
new file mode 100644
index 0000000..56bf78b
--- /dev/null
+++ b/debian/libewf1.install
@@ -0,0 +1,3 @@
+/usr/bin
+/usr/lib/*.so.*
+/usr/share/man/man1
diff --git a/debian/libewf1.shlibs b/debian/libewf1.shlibs
new file mode 100644
index 0000000..eef4085
--- /dev/null
+++ b/debian/libewf1.shlibs
@@ -0,0 +1 @@
+libewf 1 libewf1 (>= 20080501+debian)
diff --git a/debian/patches/00list b/debian/patches/00list
new file mode 100644
index 0000000..9684aeb
--- /dev/null
+++ b/debian/patches/00list
@@ -0,0 +1 @@
+01-debian-directory.dpatch
diff --git a/debian/patches/01-debian-directory.dpatch b/debian/patches/01-debian-directory.dpatch
new file mode 100644
index 0000000..19c4164
--- /dev/null
+++ b/debian/patches/01-debian-directory.dpatch
@@ -0,0 +1,111 @@
+#!/bin/sh /usr/share/dpatch/dpatch-run
+## 01-debian-directory.dpatch by Daniel Baumann <daniel at debian.org>
+##
+## DP: Rebuild upstream-tarball without debian-directory.
+
+ at DPATCH@
+
+diff -Naurp libewf-20080501+debian.orig/Makefile.am libewf-20080501+debian/Makefile.am
+--- libewf-20080501+debian.orig/Makefile.am 2008-05-02 06:34:55.000000000 +0000
++++ libewf-20080501+debian/Makefile.am 2008-11-25 12:23:38.000000000 +0000
+@@ -93,7 +93,6 @@ REDHAT_FILES = \
+
+ EXTRA_DIST = \
+ $(CONFIG_FILES) \
+- $(DEBIAN_FILES) \
+ $(DOCUMENT_FILES) \
+ $(INCLUDE_FILES) \
+ $(MANUAL_FILES) \
+@@ -135,8 +134,6 @@ distclean: clean
+ /bin/rm -f include/libewf/types.h
+ /bin/rm -f libewf.pc
+ /bin/rm -f libewf.spec
+- /bin/rm -f debian/changelog
+- /bin/rm -f debian/shlibs.local.ex
+ /bin/rm -f macosx/Introduction.rtf
+ @for dir in ${subdirs}; do \
+ (cd $$dir && $(MAKE) distclean) \
+diff -Naurp libewf-20080501+debian.orig/Makefile.in libewf-20080501+debian/Makefile.in
+--- libewf-20080501+debian.orig/Makefile.in 2008-05-02 06:35:28.000000000 +0000
++++ libewf-20080501+debian/Makefile.in 2008-11-25 12:23:44.000000000 +0000
+@@ -38,8 +38,6 @@ DIST_COMMON = README $(am__configure_dep
+ $(pkginclude_HEADERS) $(srcdir)/Makefile.am \
+ $(srcdir)/Makefile.in $(srcdir)/libewf.pc.in \
+ $(srcdir)/libewf.spec.in $(top_srcdir)/configure \
+- $(top_srcdir)/debian/changelog.in \
+- $(top_srcdir)/debian/shlibs.local.ex.in \
+ $(top_srcdir)/include/libewf.h.in \
+ $(top_srcdir)/include/libewf/definitions.h.in \
+ $(top_srcdir)/include/libewf/types.h.in \
+@@ -55,7 +53,7 @@ am__CONFIG_DISTCLEAN_FILES = config.stat
+ mkinstalldirs = $(install_sh) -d
+ CONFIG_HEADER = $(top_builddir)/common/config.h
+ CONFIG_CLEAN_FILES = include/libewf.h include/libewf/definitions.h \
+- include/libewf/types.h debian/changelog debian/shlibs.local.ex \
++ include/libewf/types.h \
+ macosx/Introduction.rtf libewf.pc libewf.spec
+ SOURCES =
+ DIST_SOURCES =
+@@ -312,7 +310,6 @@ REDHAT_FILES = \
+
+ EXTRA_DIST = \
+ $(CONFIG_FILES) \
+- $(DEBIAN_FILES) \
+ $(DOCUMENT_FILES) \
+ $(INCLUDE_FILES) \
+ $(MANUAL_FILES) \
+@@ -377,10 +374,6 @@ include/libewf/definitions.h: $(top_buil
+ cd $(top_builddir) && $(SHELL) ./config.status $@
+ include/libewf/types.h: $(top_builddir)/config.status $(top_srcdir)/include/libewf/types.h.in
+ cd $(top_builddir) && $(SHELL) ./config.status $@
+-debian/changelog: $(top_builddir)/config.status $(top_srcdir)/debian/changelog.in
+- cd $(top_builddir) && $(SHELL) ./config.status $@
+-debian/shlibs.local.ex: $(top_builddir)/config.status $(top_srcdir)/debian/shlibs.local.ex.in
+- cd $(top_builddir) && $(SHELL) ./config.status $@
+ macosx/Introduction.rtf: $(top_builddir)/config.status $(top_srcdir)/macosx/Introduction.rtf.in
+ cd $(top_builddir) && $(SHELL) ./config.status $@
+ libewf.pc: $(top_builddir)/config.status $(srcdir)/libewf.pc.in
+@@ -851,8 +844,6 @@ distclean: clean
+ /bin/rm -f include/libewf/types.h
+ /bin/rm -f libewf.pc
+ /bin/rm -f libewf.spec
+- /bin/rm -f debian/changelog
+- /bin/rm -f debian/shlibs.local.ex
+ /bin/rm -f macosx/Introduction.rtf
+ @for dir in ${subdirs}; do \
+ (cd $$dir && $(MAKE) distclean) \
+diff -Naurp libewf-20080501+debian.orig/configure libewf-20080501+debian/configure
+--- libewf-20080501+debian.orig/configure 2008-05-02 06:35:19.000000000 +0000
++++ libewf-20080501+debian/configure 2008-11-25 12:22:53.000000000 +0000
+@@ -34236,10 +34236,6 @@ ac_config_files="$ac_config_files includ
+
+ ac_config_files="$ac_config_files include/libewf/types.h"
+
+-ac_config_files="$ac_config_files debian/changelog"
+-
+-ac_config_files="$ac_config_files debian/shlibs.local.ex"
+-
+ ac_config_files="$ac_config_files macosx/Introduction.rtf"
+
+ ac_config_files="$ac_config_files libewf.pc"
+@@ -34849,8 +34845,6 @@ do
+ "include/libewf.h") CONFIG_FILES="$CONFIG_FILES include/libewf.h" ;;
+ "include/libewf/definitions.h") CONFIG_FILES="$CONFIG_FILES include/libewf/definitions.h" ;;
+ "include/libewf/types.h") CONFIG_FILES="$CONFIG_FILES include/libewf/types.h" ;;
+- "debian/changelog") CONFIG_FILES="$CONFIG_FILES debian/changelog" ;;
+- "debian/shlibs.local.ex") CONFIG_FILES="$CONFIG_FILES debian/shlibs.local.ex" ;;
+ "macosx/Introduction.rtf") CONFIG_FILES="$CONFIG_FILES macosx/Introduction.rtf" ;;
+ "libewf.pc") CONFIG_FILES="$CONFIG_FILES libewf.pc" ;;
+ "libewf.spec") CONFIG_FILES="$CONFIG_FILES libewf.spec" ;;
+diff -Naurp libewf-20080501+debian.orig/configure.ac libewf-20080501+debian/configure.ac
+--- libewf-20080501+debian.orig/configure.ac 2008-05-01 12:31:31.000000000 +0000
++++ libewf-20080501+debian/configure.ac 2008-11-25 12:23:01.000000000 +0000
+@@ -651,8 +651,6 @@ AC_CONFIG_FILES([include/libewf.h])
+ AC_CONFIG_FILES([include/libewf/definitions.h])
+ AC_CONFIG_FILES([include/libewf/types.h])
+ dnl Have configure make distribution specific files
+-AC_CONFIG_FILES([debian/changelog])
+-AC_CONFIG_FILES([debian/shlibs.local.ex])
+ AC_CONFIG_FILES([macosx/Introduction.rtf])
+ AC_CONFIG_FILES([libewf.pc])
+ AC_CONFIG_FILES([libewf.spec])
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..49e8f9d
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,74 @@
+#!/usr/bin/make -f
+
+include /usr/share/dpatch/dpatch.make
+
+DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+
+ifneq ($(DEB_HOST_GNU_TYPE),$(DEB_BUILD_GNU_TYPE))
+ CROSS= --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE)
+else
+ CROSS= --build $(DEB_BUILD_GNU_TYPE)
+endif
+
+clean: clean-patched unpatch
+clean-patched: patch-stamp
+ dh_testdir
+ dh_testroot
+ rm -f build-stamp
+ rm -f config.sub config.guess
+
+ [ ! -f Makefile ] || $(MAKE) distclean
+
+ dh_clean
+
+config.status: configure patch-stamp
+ dh_testdir
+
+ifneq "$(wildcard /usr/share/misc/config.sub)" ""
+ cp -f /usr/share/misc/config.sub config.sub
+endif
+ifneq "$(wildcard /usr/share/misc/config.guess)" ""
+ cp -f /usr/share/misc/config.guess config.guess
+endif
+
+ CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs" ./configure $(CROSS) --prefix=/usr --mandir=\$${prefix}/share/man
+
+
+build: build-stamp
+build-stamp: config.status
+ dh_testdir
+
+ $(MAKE)
+
+ touch build-stamp
+
+install: build
+ dh_testdir
+ dh_testroot
+ dh_prep
+ dh_installdirs
+
+ $(MAKE) DESTDIR=$(CURDIR)/debian/tmp install
+
+binary: binary-arch
+
+binary-arch: install
+ dh_testdir
+ dh_testroot
+ dh_installchangelogs ChangeLog
+ dh_installdocs
+ dh_install --fail-missing --sourcedir=debian/tmp
+ dh_strip --dbg-package=libewf-dbg
+ dh_compress
+ dh_fixperms
+ dh_makeshlibs
+ dh_installdeb
+ dh_shlibdeps
+ dh_gencontrol
+ dh_md5sums
+ dh_builddeb
+
+binary-indep:
+
+.PHONY: clean build install binary binary-arch binary-indep
--
support for Expert Witness Compression format
More information about the forensics-changes
mailing list