--- shed-1.15.orig/debian/rules +++ shed-1.15/debian/rules @@ -0,0 +1,69 @@ +#!/usr/bin/make -f + +DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) +DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) + +ifneq ($(DEB_HOST_GNU_TYPE),$(DEB_BUILD_GNU_TYPE)) + CROSS= --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE) +else + CROSS= --build $(DEB_BUILD_GNU_TYPE) +endif + +clean: + dh_testdir + dh_testroot + rm -f build-stamp + rm -f config.guess config.sub + + [ ! -f Makefile ] || $(MAKE) clean + + dh_clean + +config.status: configure + dh_testdir + +ifneq "$(wildcard /usr/share/misc/config.guess)" "" + cp -f /usr/share/misc/config.guess config.guess +endif +ifneq "$(wildcard /usr/share/misc/config.sub)" "" + cp -f /usr/share/misc/config.sub config.sub +endif + + ./configure $(CROSS) --prefix=/usr --mandir=\$${prefix}/share/man CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs" + +build: build-stamp +build-stamp: config.status + dh_testdir + + $(MAKE) + + touch build-stamp + +install: build + dh_testdir + dh_testroot + dh_prep + + $(MAKE) DESTDIR=$(CURDIR)/debian/shed install + +binary: binary-arch + +binary-arch: install + dh_testdir + dh_testroot + dh_installchangelogs ChangeLog + dh_installdocs + dh_installman + dh_lintian + dh_strip + dh_compress + dh_fixperms + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary-indep: + +.PHONY: clean build install binary binar-arch binary-indep --- shed-1.15.orig/debian/source.lintian-overrides +++ shed-1.15/debian/source.lintian-overrides @@ -0,0 +1,3 @@ +# Avoid warnings if non-uploaders to uploads. +shed source: changelog-should-mention-nmu +shed source: source-nmu-has-incorrect-version-number --- shed-1.15.orig/debian/compat +++ shed-1.15/debian/compat @@ -0,0 +1 @@ +7 --- shed-1.15.orig/debian/shed.manpages +++ shed-1.15/debian/shed.manpages @@ -0,0 +1 @@ +debian/manpages/* --- shed-1.15.orig/debian/control +++ shed-1.15/debian/control @@ -0,0 +1,18 @@ +Source: shed +Section: admin +Priority: optional +Maintainer: Debian Forensics +Uploaders: Juan Angulo Moreno +Build-Depends: debhelper (>= 7), autotools-dev, libncurses5-dev +Standards-Version: 3.8.2 +Homepage: http://shed.sourceforge.net +Vcs-Browser: http://git.debian.net/?p=debian-forensics/shed.git +Vcs-Git: git://git.debian.net/git/debian-forensics/shed.git + +Package: shed +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: A simple hex editor with a pico-style interface + shed is an easy application for viewing and editing files in hex, octal, + binary, or ascii text using ncurses. The interface is inspired by pico, another + ncurses based text editor. --- shed-1.15.orig/debian/changelog +++ shed-1.15/debian/changelog @@ -0,0 +1,41 @@ +shed (1.15-2) unstable; urgency=low + + * Updating package to standards version 3.8.2. + * Adding lintian overrides. + + -- Daniel Baumann Thu, 09 Jul 2009 12:40:16 +0200 + +shed (1.15-1) unstable; urgency=low + + * Merging upstream version 1.15. + + -- Daniel Baumann Thu, 28 May 2009 23:16:55 +0200 + +shed (1.14-2) unstable; urgency=low + + * Adding myself to copyright. + * Updating to standards 3.8.1. + * Tidy rules file. + * Improving package long description (Closes: #520207). + + -- Daniel Baumann Thu, 28 May 2009 22:32:58 +0200 + +shed (1.14-1) unstable; urgency=low + + [ Juan Angulo Moreno ] + * Initial release (Closes: #512125). + + [ Daniel Baumann ] + * Removing useless whitespaces at EOF and EOL. + * Correcting wrong ncurses build-depends. + * Updating vcs fields in control. + * Rewrapping package long description to 80 chars a line in control. + * Crorrecting copyright file. + * Removing useless dirs debhelper file. + * Removing empty NEWS from docs. + * Removing AUTHORS from docs, contains no new information over copyright file. + * Prefixing debhelper files with package name. + * Moving out manpage of debian directory to subdirectory. + * Reordering rules file. + + -- Daniel Baumann Tue, 20 Jan 2009 21:24:44 +0100 --- shed-1.15.orig/debian/copyright +++ shed-1.15/debian/copyright @@ -0,0 +1,43 @@ +Author: Alex Sisson +Download: http://shed.sourceforge.net/ + +Files: * +Copyright: (C) 2002-2008 Alex Sisson +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 Street, 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-2 file. + +Files: debian/* +Copyright: + (C) 2008-2009 Juan Angulo Moreno + (C) 2008-2009 Daniel Baumann +License: GPL-3+ + 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 3 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, see . + . + On Debian systems, the complete text of the GNU General Public License + can be found in /usr/share/common-licenses/GPL-3 file. --- shed-1.15.orig/debian/shed.docs +++ shed-1.15/debian/shed.docs @@ -0,0 +1,3 @@ +BUGS +README +TODO --- shed-1.15.orig/debian/watch +++ shed-1.15/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://sf.net/shed/shed-(.*)\.tar\.gz --- shed-1.15.orig/debian/manpages/shed.1 +++ shed-1.15/debian/manpages/shed.1 @@ -0,0 +1,27 @@ +.TH SHED 1 "jul 11, 2006" +.SH NAME +shed \- (Simple Hex EDitor) +.SH SYNOPSIS +.B SHED +.RB [OPTIONS] +.RB FILE +.SH DESCRIPTION +A simple hex editor with a pico-style interface. +.PP +.PP +Each line of the shed display represents one byte of the +file. Each lines consists of the offset of that byte from +the start of the file, the ascii value of the byte, and +then the byte's value in various bases. All values are +unsigned. +.PP +When a command asks you for input, entering a +zero-length string or pressing ^C will cancel the command. +When searching, entering a zero-length string will use the +previous search word, if one exists. +.PP +Note that there is no save key. This is because the +file is not loaded into memory, so when you edit it +the change is made directly to disk. +.SH OPTIONS +A summary of options is included below.