diff options
-rw-r--r-- | debian/changelog | 5 | ||||
-rw-r--r-- | debian/compat | 1 | ||||
-rw-r--r-- | debian/control | 17 | ||||
-rw-r--r-- | debian/copyright | 39 | ||||
-rw-r--r-- | debian/dirs | 3 | ||||
-rw-r--r-- | debian/docs | 2 | ||||
-rw-r--r-- | debian/menu | 2 | ||||
-rw-r--r-- | debian/patches/debian-changes-0.65-1 | 54 | ||||
-rw-r--r-- | debian/patches/series | 1 | ||||
-rwxr-xr-x | debian/rules | 6 | ||||
-rw-r--r-- | debian/source/format | 1 | ||||
-rw-r--r-- | debian/watch | 2 |
12 files changed, 133 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..1b8d218 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +dhex (0.65-1) unstable; urgency=low + + * Initial release. (Closes: #613929) + + -- Gürkan Sengün <gurkan@phys.ethz.ch> Thu, 27 Jan 2011 08:34:24 +0100 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..7f8f011 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +7 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..18ece7e --- /dev/null +++ b/debian/control @@ -0,0 +1,17 @@ +Source: dhex +Section: editors +Priority: optional +Maintainer: Gürkan Sengün <gurkan@phys.ethz.ch> +Build-Depends: debhelper (>= 7.0.50~), libncurses5-dev +Standards-Version: 3.9.1 +Homepage: http://www.dettus.net/dhex/ + +Package: dhex +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: ncurses based hex editor with diff mode + This 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. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..6859f82 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,39 @@ +Format: http://dep.debian.net/deps/dep5 +Upstream-Name: dhex +Source: http://www.dettus.net/dhex/ + +Files: * +Copyright: 2011 Thomas Dettbarn <dettus@dettus.net> +License: GNU 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: 2011 Gürkan Sengün <gurkan@phys.ethz.ch> +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 <http://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". diff --git a/debian/dirs b/debian/dirs new file mode 100644 index 0000000..f693d65 --- /dev/null +++ b/debian/dirs @@ -0,0 +1,3 @@ +usr/bin +usr/share/man/man1 +usr/share/man/man5 diff --git a/debian/docs b/debian/docs new file mode 100644 index 0000000..d27f763 --- /dev/null +++ b/debian/docs @@ -0,0 +1,2 @@ +README.txt +todo.txt diff --git a/debian/menu b/debian/menu new file mode 100644 index 0000000..83f89fb --- /dev/null +++ b/debian/menu @@ -0,0 +1,2 @@ +?package(dhex):needs="text" section="Applications/Editors"\ + title="dhex" command="/usr/bin/dhex" diff --git a/debian/patches/debian-changes-0.65-1 b/debian/patches/debian-changes-0.65-1 new file mode 100644 index 0000000..614629d --- /dev/null +++ b/debian/patches/debian-changes-0.65-1 @@ -0,0 +1,54 @@ +Description: Upstream changes introduced in version 0.65-1 + This patch has been created by dpkg-source during the package build. + Here's the last changelog entry, hopefully it gives details on why + those changes were made: + . + dhex (0.65-1) unstable; urgency=low + . + * Initial release. (Closes: #613929) + . + The person named in the Author field signed this changelog entry. +Author: Gürkan Sengün <gurkan@phys.ethz.ch> +Bug-Debian: http://bugs.debian.org/613929 + +--- +The information above should follow the Patch Tagging Guidelines, please +checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here +are templates for supplementary fields that you might want to add: + +Origin: <vendor|upstream|other>, <url of original patch> +Bug: <url in upstream bugtracker> +Bug-Debian: http://bugs.debian.org/<bugnumber> +Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber> +Forwarded: <no|not-needed|url proving that it has been forwarded> +Reviewed-By: <name and email of someone who approved the patch> +Last-Update: <YYYY-MM-DD> + +--- dhex-0.65.orig/Makefile ++++ dhex-0.65/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,11 @@ dhex: $(OFILES) + + install:all + strip dhex +- cp dhex $(DESTDIR)/bin +- cp dhex.1 $(DESTDIR)/share/man/man1 +- cp dhexrc.5 $(DESTDIR)/share/man/man5 +- cp dhex_markers.5 $(DESTDIR)/share/man/man5 +- cp dhex_searchlog.5 $(DESTDIR)/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 + + + diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..35f6449 --- /dev/null +++ b/debian/patches/series @@ -0,0 +1 @@ +debian-changes-0.65-1 diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..f452b8f --- /dev/null +++ b/debian/rules @@ -0,0 +1,6 @@ +#!/usr/bin/make -f +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +%: + 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..3279854 --- /dev/null +++ b/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://www.dettus.net/dhex/ dhex_([0-9].*)\.tar\.gz |