[Forensics-changes] [winregfs] 02/02: Import Debian patch 0.6-1
Giovani Augusto Ferreira
giovani-guest at moszumanska.debian.org
Sun Nov 6 20:19:20 UTC 2016
This is an automated email from the git hooks/post-receive script.
giovani-guest pushed a commit to branch debian
in repository winregfs.
commit 91c4b394ea5caa0dbb5f0b9af5514b3d7d2242bd
Author: Giovani Augusto Ferreira <giovani at riseup.net>
Date: Sat Oct 15 15:42:21 2016 -0300
Import Debian patch 0.6-1
---
debian/changelog | 5 +++
debian/compat | 1 +
debian/control | 25 ++++++++++++++
debian/copyright | 75 ++++++++++++++++++++++++++++++++++++++++
debian/docs | 1 +
debian/patches/fix-install.patch | 37 ++++++++++++++++++++
debian/patches/series | 2 ++
debian/rules | 7 ++++
debian/source/format | 1 +
debian/watch | 2 ++
10 files changed, 156 insertions(+)
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..3cab72f
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+winregfs (0.6-1) unstable; urgency=medium
+
+ * Initial release (Closes: #840907)
+
+ -- Giovani Augusto Ferreira <giovani at riseup.net> Sat, 15 Oct 2016 15:42:21 -0300
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..f599e28
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+10
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..79cd57a
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,25 @@
+Source: winregfs
+Section: utils
+Priority: optional
+Maintainer: Debian Forensics <forensics-devel at lists.alioth.debian.org>
+Uploaders: Giovani Augusto Ferreira <giovani at riseup.net>
+Build-Depends: debhelper (>= 10), libfuse-dev, pkg-config
+Standards-Version: 3.9.8
+Homepage: https://github.com/jbruchon/winregfs
+Vcs-Git: https://anonscm.debian.org/git/forensics/winregfs.git
+Vcs-Browser: https://anonscm.debian.org/git/forensics/winregfs.git
+
+Package: winregfs
+Architecture: any
+Depends: ${misc:Depends}, ${shlibs:Depends}
+Description: Windows registry FUSE filesystem
+ Winregfs is a FUSE-based filesystem driver that enables accessing of Windows
+ registry hive files as ordinary filesystems. Registry hive file editing can
+ be performed with ordinary shell scripts and command-line tools once mounted.
+ .
+ fsck.winregfs scans a Windows registry hive file for problems that indicate
+ the hive has been damaged by hardware or software issues, reading recursively
+ the key and value data structures in the registry hive.
+ .
+ This package provides mount.winregfs and fsck.winregfs commands.
+ Winregfs is useful for pentesters, ethical hackers and forensics experts.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..41de015
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,75 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: winregfs
+Source: https://github.com/jbruchon/winregfs
+
+Files: *
+Copyright: 2014-2015 Jody Bruchon <jody at jodybruchon.com>
+License: GPL-2
+
+Files:ntreg.c
+ ntreg.h
+Copyright: 1997-2014 Petter Nordahl-Hagen
+ 2014 Jody Bruchon <jody at jodybruchon.com>
+License: LGPL-2.1
+
+Files: debian/*
+Copyright: 2016 Giovani Augusto Ferreira <giovani at riseup.net>
+License: BSD-3-Clause
+
+License: GPL-2
+ 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; version 2 of the License.
+ .
+ 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 program. If not, see <https://www.gnu.org/licenses/>
+ .
+ On Debian systems, the complete text of the GNU General
+ Public License version 2 can be found in "/usr/share/common-licenses/GPL-2".
+
+License: LGPL-2.1
+ 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; version
+ 2.1 of the License.
+ .
+ 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 program. If not, see <https://www.gnu.org/licenses/>.
+ .
+ On Debian systems, the complete text of the GNU Lesser General
+ Public License can be found in "/usr/share/common-licenses/LGPL-2.1".
+
+License: BSD-3-Clause
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions
+ are met:
+ 1. Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+ 2. 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.
+ 3. Neither the name of the University 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 HOLDERS 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 HOLDERS 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/docs b/debian/docs
new file mode 100644
index 0000000..e845566
--- /dev/null
+++ b/debian/docs
@@ -0,0 +1 @@
+README
diff --git a/debian/patches/fix-install.patch b/debian/patches/fix-install.patch
new file mode 100644
index 0000000..69ce335
--- /dev/null
+++ b/debian/patches/fix-install.patch
@@ -0,0 +1,37 @@
+Description: Fix install path to manpages and add GCC hardening.
+Author: Giovani Augusto Ferreira <giovani at riseup.net>
+Last-Update: 2016-10-15
+Index: winregfs-0.6/Makefile
+===================================================================
+--- winregfs-0.6.orig/Makefile
++++ winregfs-0.6/Makefile
+@@ -1,9 +1,9 @@
+ CC=gcc
+-CFLAGS=-O3
++CFLAGS+=-O3
+ #CFLAGS=-O2 -flto -ffunction-sections -fdata-sections -fno-unwind-tables -fno-asynchronous-unwind-tables
+ #CFLAGS=-Og -g3
+ BUILD_CFLAGS=-std=gnu99 -I. -D_FILE_OFFSET_BITS=64 -pipe -Wall -pedantic
+-LDFLAGS=-s
++LDFLAGS+=-s
+ #LDFLAGS=-flto -s -Wl,--gc-sections
+ #LDFLAGS=
+ FUSE_CFLAGS=$(shell pkg-config fuse --cflags)
+@@ -13,7 +13,7 @@ FUSE_LIBS=-lfuse
+ prefix=/usr
+ exec_prefix=${prefix}
+ bindir=${exec_prefix}/bin
+-mandir=${prefix}/man
++mandir=${prefix}/share/man
+ datarootdir=${prefix}/share
+ datadir=${datarootdir}
+ sysconfdir=${prefix}/etc
+@@ -31,7 +31,7 @@ manual:
+ gzip -9 < fsck.winregfs.8 > fsck.winregfs.8.gz
+
+ .c.o:
+- $(CC) -c $(BUILD_CFLAGS) $(FUSE_CFLAGS) $(CFLAGS) $<
++ $(CC) -c $(BUILD_CFLAGS) $(FUSE_CFLAGS) $(CFLAGS) $(CPPFLAGS) $<
+
+ clean:
+ rm -f *.o *~ mount.winregfs fsck.winregfs debug.log *.?.gz
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..714bab2
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1,2 @@
+#fix-install.patch
+fix-install.patch
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..b114ce6
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,7 @@
+#!/usr/bin/make -f
+#export DH_VERBOSE = 1
+
+export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+
+%:
+ dh $@
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..03cd6eb
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,2 @@
+version=4
+https://github.com/jbruchon/winregfs/releases .*/archive/(?:release|v)?-?(\d\S+)\.tar\.(?:bz2|gz|xz)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/forensics/winregfs.git
More information about the forensics-changes
mailing list