[Forensics-changes] [magicrescue] 01/01: debian directory - first commit.

Joao Eriberto Mota Filho eriberto at moszumanska.debian.org
Mon Nov 3 18:44:17 UTC 2014


This is an automated email from the git hooks/post-receive script.

eriberto pushed a commit to branch debian
in repository magicrescue.

commit aaa0ee639b60fb77df3dc57b46a74498dc5b3a9a
Author: Joao Eriberto Mota Filho <eriberto at debian.org>
Date:   Mon Nov 3 16:43:18 2014 -0200

    debian directory - first commit.
---
 debian/changelog                   | 17 +++++++++++
 debian/compat                      |  1 +
 debian/control                     | 19 ++++++++++++
 debian/copyright                   | 29 ++++++++++++++++++
 debian/docs                        |  2 ++
 debian/links                       |  1 +
 debian/manpages                    |  3 ++
 debian/patches/pre_configure.patch | 61 ++++++++++++++++++++++++++++++++++++++
 debian/rules                       |  5 ++++
 9 files changed, 138 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..96214d1
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,17 @@
+magicrescue (1.1.4-2) unstable; urgency=low
+
+  * Do not install ELF binaries in /usr/share/ anymore.
+
+ -- Torsten Werner <twerner at debian.org>  Fri,  6 Oct 2006 00:24:16 +0200
+
+magicrescue (1.1.4-1) unstable; urgency=low
+
+  [ Varun Hiremath ]
+  * Initial release (Closes: #384637)
+  * debian/copyright: added more copyright owners
+
+  [ Torsten Werner ]
+  * add myself to Uploaders in debian/control
+
+ -- Torsten Werner <twerner at debian.org>  Fri,  1 Sep 2006 00:06:25 +0530
+
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..7ed6ff8
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+5
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..608d223
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,19 @@
+Source: magicrescue
+Section: utils
+Priority: optional
+Maintainer: Varun Hiremath <varunhiremath at gmail.com>
+Uploaders: Torsten Werner <twerner at debian.org>
+Build-Depends: debhelper (>= 5), cdbs
+Standards-Version: 3.7.2
+
+Package: magicrescue
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: recovers files by looking for magic bytes
+ Magic Rescue scans a block device for file types it knows how to recover
+ and calls an external program to extract them. It looks at "magic bytes"
+ in file contents, so it can be used both as an undelete utility and for
+ recovering a corrupted drive or partition. As long as the file data is
+ there, it will find it.
+ .
+  Homepage: http://jbj.rapanden.dk/magicrescue/
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..7c56fe8
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,29 @@
+This package was debianized by Varun Hiremath <varunhiremath at gmail.com> on
+Fri, 25 Aug 2006 23:59:00 +0530.
+
+It was downloaded from <http://jbj.rapanden.dk/magicrescue/>
+
+Upstream Authors: 
+
+Jonas Jensen <jbj at knef.dk>,
+Martin Schwartz
+
+Copyright: 
+
+(C) 2004-2006 Jonas Jensen <jbj at knef.dk>,
+(C) 1996,1997 Martin Schwartz
+      
+License:
+
+This program 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 program 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.
+
+The Debian packaging is (C) 2006, Varun Hiremath <varunhiremath at gmail.com> and
+is licensed under the GPL, see `/usr/share/common-licenses/GPL'.
diff --git a/debian/docs b/debian/docs
new file mode 100644
index 0000000..50bd824
--- /dev/null
+++ b/debian/docs
@@ -0,0 +1,2 @@
+NEWS
+README
diff --git a/debian/links b/debian/links
new file mode 100644
index 0000000..1e56d30
--- /dev/null
+++ b/debian/links
@@ -0,0 +1 @@
+/usr/lib/magicrescue/tools /usr/share/magicrescue/tools
diff --git a/debian/manpages b/debian/manpages
new file mode 100644
index 0000000..7357b0f
--- /dev/null
+++ b/debian/manpages
@@ -0,0 +1,3 @@
+doc/dupemap.1
+doc/magicrescue.1
+doc/magicsort.1
diff --git a/debian/patches/pre_configure.patch b/debian/patches/pre_configure.patch
new file mode 100644
index 0000000..efef622
--- /dev/null
+++ b/debian/patches/pre_configure.patch
@@ -0,0 +1,61 @@
+Index: magicrescue-1.1.4/Makefile.in
+===================================================================
+--- magicrescue-1.1.4.orig/Makefile.in	2004-08-15 00:36:37.000000000 +0200
++++ magicrescue-1.1.4/Makefile.in	2006-10-06 00:27:47.000000000 +0200
+@@ -57,34 +57,26 @@
+ maintainer-clean: distclean docs-clean
+ 
+ install: all
+-	[ -d $(PREFIX) ]
++	mkdir -p $(DESTDIR)/usr/lib/magicrescue/tools \
++	    $(DESTDIR)/usr/share/magicrescue/recipes \
++            $(DESTDIR)/usr/bin  
+ 	
+-	mkdir -p $(PREFIX)/share/magicrescue/tools \
+-	    $(PREFIX)/share/magicrescue/recipes \
+-	    $(PREFIX)/man/man1 \
+-	    $(PREFIX)/bin
+-	
+-	cp magicrescue$(EXE) dupemap$(EXE) magicsort $(PREFIX)/bin/
+-	cp recipes/* $(PREFIX)/share/magicrescue/recipes/
+-	cp $(DOCS) $(PREFIX)/man/man1
++	cp magicrescue$(EXE) dupemap$(EXE) magicsort $(DESTDIR)/usr/bin/
++	cp recipes/* $(DESTDIR)/usr/share/magicrescue/recipes/ 
+ 	
+ 	for f in tools/*; do \
+ 	  if [ -x "$$f" ]; then \
+-	    cp -f "$$f" $(PREFIX)/share/magicrescue/tools/; \
++	    cp -f "$$f" $(DESTDIR)/usr/lib/magicrescue/tools/; \
+ 	  fi; \
+ 	done
+ 
+ uninstall:
+-	[ -d $(PREFIX) ]
+-	rm -f $(PREFIX)/bin/magicrescue$(EXE)
+-	rm -f $(PREFIX)/bin/dupemap$(EXE)
+-	rm -f $(PREFIX)/bin/magicsort
+-	for f in $(DOCS); do \
+-	   rm -f "$(PREFIX)/man/man1/`basename $$f`"; \
+-	done
+-	rm -rf $(PREFIX)/share/magicrescue/tools
+-	rm -rf $(PREFIX)/share/magicrescue/recipes
+-	-rmdir $(PREFIX)/share/magicrescue
++	rm -f $(DESTDIR)/usr/bin/magicrescue$(EXE)
++	rm -f $(DESTDIR)/usr/bin/dupemap$(EXE)
++	rm -f $(DESTDIR)/usr/bin/magicsort
++	rm -rf $(DESTDIR)/usr/share/magicrescue/tools
++	rm -rf $(DESTDIR)/usr/share/magicrescue/recipes
++	-rmdir $(DESTDIR)/usr/share/magicrescue
+ 
+ .PHONY: all clean distclean docs-clean maintainer-clean install uninstall docs
+ 
+Index: magicrescue-1.1.4/tools/laola.pl
+===================================================================
+--- magicrescue-1.1.4.orig/tools/laola.pl	2004-04-30 19:47:27.000000000 +0200
++++ magicrescue-1.1.4/tools/laola.pl	2006-10-06 00:26:35.000000000 +0200
+@@ -1,4 +1,4 @@
+-#
++#!/usr/bin/env perl
+ # $Id: laola.pl,v 0.5.1.5 1997/07/01 00:06:42 schwartz Rel $
+ #
+ # laola.pl, LAOLA filesystem. 
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..67a6239
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,5 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/autotools.mk
+include /usr/share/cdbs/1/rules/simple-patchsys.mk

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/forensics/magicrescue.git



More information about the forensics-changes mailing list