[Forensics-changes] [SCM] debian-forensics/reglookup branch, debian, updated. upstream/0.4.0-1-g59b37be

David Paleino d.paleino at gmail.com
Sat Feb 23 19:29:17 UTC 2008


The following commit has been merged in the debian branch:
commit 59b37be6d10ca927e043eee0e14f5563e333979b
Author: David Paleino <d.paleino at gmail.com>
Date:   Sat Feb 23 20:26:20 2008 +0100

    Debianization.

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..f334da8
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,6 @@
+reglookup (0.4.0-1) unstable; urgency=low
+
+  * Initial release (Closes: #nnnn)  <nnnn is the bug number of your ITP>
+
+ -- David Paleino <d.paleino at gmail.com>  Sat, 23 Feb 2008 19:23:59 +0100
+
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..59ea2e5
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,20 @@
+Source: reglookup
+Section: utils
+Priority: optional
+Maintainer: David Paleino <d.paleino at gmail.com>
+Build-Depends: debhelper (>= 5), quilt
+Standards-Version: 3.7.3
+Homepage: http://projects.sentinelchicken.org/reglookup/
+Vcs-Git: git://git.debian.org/git/forensics/reglookup.git
+Vcs-Browser: http://git.debian.org/?p=forensics/reglookup.git;a=summary
+
+Package: reglookup
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: utility to read and query Windows NT/2K/XP registry
+ RegLookup is an small command line utility for reading and querying
+ Microsoft® Windows® NT/2K/XP registries.
+ .
+ Currently the program allows one to read an entire registry and output it in a
+ (mostly) standardized, quoted format. It also provides features for filtering
+ of results based on registry path and data type.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..dd22d7f
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,40 @@
+This package was debianized by David Paleino <d.paleino at gmail.com> on
+Sat, 23 Feb 2008 19:23:59 +0100.
+
+It was downloaded from <url://example.com>
+
+Upstream Author(s): 
+
+    <put author's name and email here>
+    <likewise for another author>
+
+Copyright: 
+
+    <Copyright (C) YYYY Name OfAuthor>
+    <likewise for another author>
+
+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 can be found in `/usr/share/common-licenses/GPL'.
+
+The Debian packaging is (C) 2008, David Paleino <d.paleino at gmail.com> and
+is licensed under the GPL, see above.
+
+
+# Please also look if there are files or directories which have a
+# different copyright/license attached and list them here.
diff --git a/debian/patches/01-fix_Makefile.patch b/debian/patches/01-fix_Makefile.patch
new file mode 100644
index 0000000..490d6ab
--- /dev/null
+++ b/debian/patches/01-fix_Makefile.patch
@@ -0,0 +1,37 @@
+--- reglookup.orig/Makefile
++++ reglookup/Makefile
+@@ -2,17 +2,17 @@
+ 
+ # Installation prefixes.  Change to install elsewhere.
+ 
+-PREFIX=/usr/local
++PREFIX=$(DESTDIR)/usr
+ BIN_PREFIX=$(PREFIX)/bin
+ DOC_PREFIX=$(PREFIX)/share/doc/reglookup
+-MAN_PREFIX=$(PREFIX)/man
++MAN_PREFIX=$(PREFIX)/share/man
+ 
+ ################################################################################
+ 
+ CC=gcc
+-OPTS=-std=gnu89 -pedantic -Wall
+-INC=-I/usr/local/include
+-LIB=-L/usr/local/lib
++OPTS=-std=gnu89 -pedantic -Wall $(CFLAGS)
++INC=-I/usr/include
++LIB=-L/usr/lib
+ 
+ UNAME := $(shell uname)
+ ifneq ($(UNAME),Linux) 	
+--- reglookup.orig/doc/Makefile
++++ reglookup/doc/Makefile
+@@ -14,7 +14,8 @@
+ 
+ install:
+ 	cp -r $(BUILD_DOC)/* $(DOC_PREFIX)
+-	ln -sf $(DOC_PREFIX)/man/man1/*  $(MAN_PREFIX)/man1
++	mv $(DOC_PREFIX)/man/man1 $(MAN_PREFIX)/
++	rm -rf $(DOC_PREFIX)/man
+ 
+ 
+ #XXX: Used during release only
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..9d93064
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+01-fix_Makefile.patch
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..804ede9
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,73 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+include /usr/share/quilt/quilt.make
+
+CFLAGS = -g
+
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+	CFLAGS += -O0
+else
+	CFLAGS += -O2
+endif
+
+build: build-stamp
+build-stamp: patch
+	dh_testdir
+	$(MAKE) CFLAGS="$(CFLAGS)"
+	touch $@
+
+clean: unpatch
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp
+
+	$(MAKE) clean
+
+	dh_clean 
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k 
+	dh_installdirs
+
+	$(MAKE) DESTDIR=$(CURDIR)/debian/reglookup install
+
+binary-indep: build install
+binary-arch: build install
+	dh_testdir
+	dh_testroot
+	dh_installchangelogs 
+	dh_installdocs
+	dh_installexamples
+#	dh_install
+#	dh_installmenu
+#	dh_installdebconf	
+#	dh_installlogrotate
+#	dh_installemacsen
+#	dh_installpam
+#	dh_installmime
+#	dh_python
+#	dh_installinit
+#	dh_installcron
+#	dh_installinfo
+	dh_installman
+	dh_link
+	dh_strip
+	dh_compress
+	dh_fixperms
+#	dh_perl
+#	dh_makeshlibs
+	dh_installdeb
+	dh_shlibdeps
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install
+
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..3da7c50
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,2 @@
+version=3
+http://projects.sentinelchicken.org/data/downloads/reglookup-([[:digit:]].*)\.tar\.gz

-- 
debian-forensics/reglookup



More information about the forensics-changes mailing list