[Forensics-changes] [winregfs] 02/02: Import Debian changes 0.7-1

Giovani Augusto Ferreira giovani at moszumanska.debian.org
Tue Aug 29 03:08:11 UTC 2017


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

giovani pushed a commit to branch debian
in repository winregfs.

commit 2c892717cd0c735841148dfca7683f3f7808e973
Merge: 91c4b39 e1621e8
Author: Giovani Augusto Ferreira <giovani at debian.org>
Date:   Sat Jun 24 15:44:36 2017 -0300

    Import Debian changes 0.7-1
    
    winregfs (0.7-1) unstable; urgency=medium
    
      * New upstream release.
      * Updated my email address.
      * debian/control:
          - Bumped Standards-Version to 4.0.0.
      * debian/copyright: updated the packaging and copyright years.
      * debian/patches/fix-install.patch:
          - Updated, according to the new release.

 .gitignore                       |   1 +
 Makefile                         |  25 +-
 TODO                             |  18 ++
 chroot_build.sh                  |  13 +-
 config.h                         |   8 +-
 debian/changelog                 |  12 +
 debian/control                   |   4 +-
 debian/copyright                 |  27 +-
 debian/patches/fix-install.patch |  34 ++-
 debian/patches/series            |   1 -
 fsck.winregfs.8                  |   2 +-
 fsck_winregfs.c                  |  12 +-
 jody_hash.c                      | 127 +++++----
 jody_hash.h                      |  42 ++-
 jody_string.c                    |  86 ++++++
 jody_string.h                    |  37 +++
 mount.winregfs.8                 |  30 +-
 ntreg.c                          | 407 +++++++++++++++-------------
 ntreg.h                          |  40 +--
 version.h                        |  13 +-
 winregfs.c                       | 572 +++++++++++++++++++--------------------
 winregfs.h                       |  65 +++--
 22 files changed, 944 insertions(+), 632 deletions(-)

diff --cc debian/changelog
index 3cab72f,0000000..f22a353
mode 100644,000000..100644
--- a/debian/changelog
+++ b/debian/changelog
@@@ -1,5 -1,0 +1,17 @@@
++winregfs (0.7-1) unstable; urgency=medium
++
++  * New upstream release.
++  * Updated my email address.
++  * debian/control:
++      - Bumped Standards-Version to 4.0.0.
++  * debian/copyright: updated the packaging and copyright years.
++  * debian/patches/fix-install.patch:
++      - Updated, according to the new release.
++
++ -- Giovani Augusto Ferreira <giovani at debian.org>  Sat, 24 Jun 2017 15:44:36 -0300
++
 +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 --cc debian/control
index 79cd57a,0000000..b22a3b6
mode 100644,000000..100644
--- a/debian/control
+++ b/debian/control
@@@ -1,25 -1,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>
++Uploaders: Giovani Augusto Ferreira <giovani at debian.org>
 +Build-Depends: debhelper (>= 10), libfuse-dev, pkg-config
- Standards-Version: 3.9.8
++Standards-Version: 4.0.0
 +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 --cc debian/copyright
index 41de015,0000000..04a6d16
mode 100644,000000..100644
--- a/debian/copyright
+++ b/debian/copyright
@@@ -1,75 -1,0 +1,98 @@@
 +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>
++Copyright: 2014-2017 Jody Bruchon <jody at jodybruchon.com>
 +License: GPL-2
 +
++Files: jody_hash.c
++Copyright: 2014-2017 Jody Bruchon <jody at jodybruchon.com>
++License: Expat
++
 +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>
++Copyright: 2016-2017 Giovani Augusto Ferreira <giovani at debian.org>
 +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: Expat
++ Permission is hereby granted, free of charge, to any person obtaining a
++ copy of this software and associated documentation files (the "Software"),
++ to deal in the Software without restriction, including without limitation
++ the rights to use, copy, modify, merge, publish, distribute, sublicense,
++ and/or sell copies of the Software, and to permit persons to whom the
++ Software is furnished to do so, subject to the following conditions:
++ .
++ The above copyright notice and this permission notice shall be included
++ in all copies or substantial portions of the Software.
++ .
++ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
++ OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
++ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
++ IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
++ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
++ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
++ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
++
 +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 --cc debian/patches/fix-install.patch
index 69ce335,0000000..8f9412d
mode 100644,000000..100644
--- a/debian/patches/fix-install.patch
+++ b/debian/patches/fix-install.patch
@@@ -1,37 -1,0 +1,43 @@@
 +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
++Author: Giovani Augusto Ferreira <giovani at debian.org>
++Last-Update: 2017-06-24
++Index: winregfs-0.7/Makefile
 +===================================================================
- --- winregfs-0.6.orig/Makefile
- +++ winregfs-0.6/Makefile
- @@ -1,9 +1,9 @@
++--- winregfs-0.7.orig/Makefile
+++++ winregfs-0.7/Makefile
++@@ -1,14 +1,14 @@
 + CC=gcc
- -CFLAGS=-O3
- +CFLAGS+=-O3
++-CFLAGS=-O2 -g
+++CFLAGS+=-O2 -g -fPIE
 + #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
++ BUILD_CFLAGS = -std=gnu99 -I. -D_FILE_OFFSET_BITS=64 -pipe -fstrict-aliasing
++ #BUILD_CFLAGS += -Wall -Wextra -Wstrict-aliasing -Wcast-align -pedantic -Wno-unused-parameter
++ BUILD_CFLAGS += -Wall -Wextra -Wwrite-strings -Wcast-align -Wstrict-aliasing -pedantic -Wstrict-overflow -Wstrict-prototypes -Wpointer-arith -Wundef
++ BUILD_CFLAGS += -Wshadow -Wfloat-equal -Wstrict-overflow=5 -Waggregate-return -Wcast-qual -Wswitch-default -Wswitch-enum -Wunreachable-code -Wformat=2 -Winit-self
++-#LDFLAGS=-s
+++LDFLAGS+=-s -pie
 + #LDFLAGS=-flto -s -Wl,--gc-sections
-  #LDFLAGS=
++-LDFLAGS=
+++#LDFLAGS=
 + FUSE_CFLAGS=$(shell pkg-config fuse --cflags)
- @@ -13,7 +13,7 @@ FUSE_LIBS=-lfuse
++ FUSE_LDFLAGS=$(shell pkg-config fuse --libs)
++ FUSE_LIBS=-lfuse
++@@ -16,7 +16,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:
++@@ -40,7 +40,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 --cc debian/patches/series
index 714bab2,0000000..259cdbc
mode 100644,000000..100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@@ -1,2 -1,0 +1,1 @@@
- #fix-install.patch
 +fix-install.patch

-- 
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