debian/0000755000000000000000000000000012141705726007173 5ustar debian/watch0000644000000000000000000000007612141705726010227 0ustar version=3 http://www.dettus.net/dhex/ dhex_([0-9].*)\.tar\.gz debian/docs0000644000000000000000000000002412141705726010042 0ustar README.txt todo.txt debian/source/0000755000000000000000000000000012141705726010473 5ustar debian/source/format0000644000000000000000000000001412141705726011701 0ustar 3.0 (quilt) debian/dirs0000644000000000000000000000005612141705726010060 0ustar usr/bin usr/share/man/man1 usr/share/man/man5 debian/menu0000644000000000000000000000014312141705726010060 0ustar ?package(dhex):needs="text" section="Applications/Editors"\ title="dhex" command="/usr/bin/dhex" debian/copyright0000644000000000000000000000341512141705726011131 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: dhex Source: http://www.dettus.net/dhex/ Files: * Copyright: 2011 Thomas Dettbarn License: GPL-2+ 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. . You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. Files: debian/* Copyright: 2012 Jonathan McCrohan 2011 Gürkan Sengün 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; 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 program. If not, see . On Debian systems, the complete text of the GNU General Public License version 2 can be found in "/usr/share/common-licenses/GPL-2". debian/changelog0000644000000000000000000000253612141705726011053 0ustar dhex (0.68-2) unstable; urgency=low * Upload to unstable because Wheezy is now stable. \o/ -- Jonathan McCrohan Mon, 06 May 2013 11:41:52 +0100 dhex (0.68-1) experimental; urgency=low * New upstream release * New maintainer (Closes: #691818) - Update debian/{control,copyright} accordingly. * Add debian/patches/dhex.1-man-typo to fix errors caught by linitian * Import packaging git repo to collab-maint - Add VCS-{Git,Browser} URLs * Bump S-V to 3.9.4 - No changes needed * Fix Copyright Format 1.0 syntax error in debian/copyright - s/GNU GPL 2\+/GPL-2+/ * Update package long description to aid searching * Thanks to Gregor Herrmann for reviewing and sponsoring this upload -- Jonathan McCrohan Wed, 31 Oct 2012 22:38:35 +0000 dhex (0.67-1) unstable; urgency=low [ Gürkan Sengün ] * New upstream version. (Closes: #674782) * Bump standards version to 3.9.3. [ Axel Beckert ] * Enable hardening build flags + Bump debhelper compatibility to 9 + Patch Makefile slightly by doing some s/=/+=/ * Bump debian/copyright format to 1.0 -- Gürkan Sengün Fri, 22 Jun 2012 14:52:55 +0200 dhex (0.65-1) unstable; urgency=low * Initial release. (Closes: #613929) -- Gürkan Sengün Thu, 27 Jan 2011 08:34:24 +0100 debian/rules0000755000000000000000000000013512141705726010252 0ustar #!/usr/bin/make -f # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 %: dh $@ debian/patches/0000755000000000000000000000000012141705726010622 5ustar debian/patches/hardening0000644000000000000000000000201012141705726012475 0ustar Description: Fix passing of hardening build flags in Makefile Author: Axel Beckert Index: dhex-0.67/Makefile =================================================================== --- dhex-0.67.orig/Makefile 2012-06-22 15:04:57.000000000 +0200 +++ dhex-0.67/Makefile 2012-06-22 15:05:09.000000000 +0200 @@ -1,7 +1,7 @@ CC= gcc -LDFLAGS= -L/usr/lib -L/usr/local/lib -L/usr/lib/ncurses -L/usr/local/lib/ncurses -CPPFLAGS= -I/usr/include -I/usr/local/include -I/usr/include/ncurses -I/usr/local/include/ncurses -CFLAGS= -O3 -Wall -std=c99 +LDFLAGS+= -L/usr/lib -L/usr/local/lib -L/usr/lib/ncurses -L/usr/local/lib/ncurses +CPPFLAGS+= -I/usr/include -I/usr/local/include -I/usr/include/ncurses -I/usr/local/include/ncurses +CFLAGS+= -Wall -std=c99 #CFLAGS+= -ffunction-sections -fdata-sections #LDFLAGS+= --gc-sections LIBS= -lncurses @@ -24,7 +24,7 @@ all: dhex dhex: $(OFILES) - $(CC) $(LDFLAGS) -o $@ $(OFILES) $(LIBS) + $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(OFILES) $(LIBS) install:all strip dhex debian/patches/fix-install-target0000644000000000000000000000170612141705726014267 0ustar Description: Fix installation paths in Makefile Author: Gürkan Sengün Reviewed-By: Axel Beckert --- dhex-0.67.orig/Makefile +++ dhex-0.67/Makefile @@ -5,7 +5,7 @@ CFLAGS= -O3 -Wall -std=c99 #CFLAGS+= -ffunction-sections -fdata-sections #LDFLAGS+= --gc-sections LIBS= -lncurses -DESTDIR= /usr/local/ +DESTDIR= /usr/ OFILES=buffers.o \ configfile.o \ @@ -28,11 +28,13 @@ dhex: $(OFILES) install:all strip dhex - cp dhex $(DESTDIR)/bin - cp dhex.1 $(DESTDIR)/man/man1 - cp dhexrc.5 $(DESTDIR)/man/man5 - cp dhex_markers.5 $(DESTDIR)/man/man5 - cp dhex_searchlog.5 $(DESTDIR)/man/man5 + cp dhex_markers.5 $(DESTDIR)/usr/share/man/man5 + cp dhex_searchlog.5 $(DESTDIR)/usr/share/man/man5 + cp dhex $(DESTDIR)/usr/bin/ + cp dhex.1 $(DESTDIR)/usr/share/man/man1 + cp dhexrc.5 $(DESTDIR)/usr/share/man/man5 + cp dhex_markers.5 $(DESTDIR)/usr/share/man/man5 + cp dhex_searchlog.5 $(DESTDIR)/usr/share/man/man5 debian/patches/series0000644000000000000000000000005512141705726012037 0ustar fix-install-target hardening dhex.1-man-typo debian/patches/dhex.1-man-typo0000644000000000000000000000373312141705726013404 0ustar Description: Fix typos in dhex.1 man page (caught by linitan) Author: Jonathan McCrohan diff --git a/dhex.1 b/dhex.1 index 5154f44..fa5b94f 100644 --- a/dhex.1 +++ b/dhex.1 @@ -99,7 +99,7 @@ .Ek .Sh DESCRIPTION .Nm -is a hex editor. It can be used to alter individual bytes in large files. Since it is a text-mode programm based on ncurses, it can run in numerous scenarios. +is a hex editor. It can be used to alter individual bytes in large files. Since it is a text-mode program based on ncurses, it can run in numerous scenarios. . Its special feature is the diff mode: With it, the user has a visual tool for file comparison. This mode is invoked when .Nm @@ -219,7 +219,7 @@ Input fields can be closed by pressing ESC, ENTER, or any cursor key. Only press .Ss The keyboard setup When running .Nm -for the first time, without any configfile present, or with the parameter -k, the first screen shown is that of the keyboard setup. In this screen, the program asks the user to press certain keys. Which are (in order) ESCAPE, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, BACKSPACE, DEL, ENTER, TAB, UP, DOWN, RIGHT, LEFT, PG UP, PG DOWN, HOME, END. It also tells the user what it intends to do with those keys later. So the user can decide on any alternative he chooses. +for the first time, without any configfile present, or with the parameter \-k, the first screen shown is that of the keyboard setup. In this screen, the program asks the user to press certain keys. Which are (in order) ESCAPE, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, BACKSPACE, DEL, ENTER, TAB, UP, DOWN, RIGHT, LEFT, PG UP, PG DOWN, HOME, END. It also tells the user what it intends to do with those keys later. So the user can decide on any alternative he chooses. If he does not want to bind a specific function to a certain key, he can simply press ESCAPE and skip to the next question. .Pp After pressing all the keys, the user can chose whether or not to write those keys into the config file. debian/control0000644000000000000000000000145412141705726010602 0ustar Source: dhex Section: editors Priority: optional Maintainer: Jonathan McCrohan Build-Depends: debhelper (>= 9~), libncurses5-dev Standards-Version: 3.9.4 Vcs-Git: git://git.debian.org/git/collab-maint/dhex.git Vcs-Browser: http://git.debian.org/?p=collab-maint/dhex.git Homepage: http://www.dettus.net/dhex/ Package: dhex Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Description: ncurses based hex editor with diff mode dhex is more than just another hex editor: It includes a diff mode, which can be used to easily and conveniently compare two binary files. Since it is based on ncurses and is themeable, it can run on any number of systems and scenarios. With its utilization of search logs, it is possible to track changes in different iterations of files easily. debian/compat0000644000000000000000000000000212141705726010371 0ustar 9