--- dbview-1.0.4.orig/Makefile +++ dbview-1.0.4/Makefile @@ -18,6 +18,8 @@ MAN=man +MANO=man +MANG=man CC= gcc CFLAGS= -O6 -fomit-frame-pointer -Wall -pipe @@ -44,10 +46,10 @@ makedepend *.c install: all - $(INSTALL) -d -o root -g root -m 755 $(bindir) - $(INSTALL) -s -o root -g root -m 755 dbview $(bindir) - $(INSTALL) -d -o $(MAN) -g $(MAN) -m 755 $(mandir)/man1 - $(INSTALL) -o $(MAN) -g $(MAN) -m 644 dbview.1 $(mandir)/man1 + -test -d $(bindir) || $(INSTALL) -d -o root -g root -m 755 $(bindir) + $(INSTALL) -o root -g root -m 755 dbview $(bindir) + -test -d $(mandir)/man1 || $(INSTALL) -d -o $(MANO) -g $(MANG) -m 755 $(mandir)/man1 + $(INSTALL) -o $(MANO) -g $(MANG) -m 644 dbview.1 $(mandir)/man1 clean: rm -f dbview *.o *.log *~ *.orig Makefile.bak; --- dbview-1.0.4.orig/debian/NMU-Disclaimer +++ dbview-1.0.4/debian/NMU-Disclaimer @@ -0,0 +1,45 @@ +Non Maintainer Upload of this Package +------------------------------------- + +If you plan to work on an NMU for this package, read the following +closely. It can save you and me some grief. + + 1. At first, contact the maintainer (i.e. send a mail to + joey@debian.org, do not cc or bounce a mail, send a plain mail, + not copied to any mailing list or the BTS) and ask about the + status of the bug you are considering to work on. + + 2. In this mail include all information relevant for this problem, + i.e. include a description of the bug and not only its bug + number. + + 3. If the maintainer is not able or willing to fix the problem or + does not respond within four days, continue with step 4. + + 4. Work on the bug and prepare a patch. Do not upload into the + Debian archive. + + 5. Send the entire patch, together with enough explanations, to the + maintainer for reviewing and ask him for permission of an NMU + using this patch. + + 6. IF AND ONLY IF the maintainer approves the patch (or doesn't + respond within four days), upload the NMU to the incoming + directory and send the patch to the BTS. If the NMU is not + approved, go back to 4. or add the NMU to your homepage, but do + not upload it to the Debian archive. + + 7. Properly sized and well-written patches sent to the BTS are always + appreciated, even if they are rejected later. They demonstrate a + potential solution which could probably improved into a real + solution. + + 8. NEVER change the way a package is maintained in an NMU, i.e. don't + remove dh_* stuff or switch to dh_* respectively. This rule + applies to all NMU's, not only to an NMU for this package. + +These rules always apply. They even apply if somebody declares NMUs +as ok and reduces regular NMU rules to a delay of zero days. Unless +I'm on vacation or on a show I am reachable via mail, so there is +hardly a reason not to contact me. + --- dbview-1.0.4.orig/debian/changelog +++ dbview-1.0.4/debian/changelog @@ -0,0 +1,90 @@ +dbview (1.0.4-1build1) bionic; urgency=high + + * No change rebuild to pick up -fPIE compiler default + + -- Balint Reczey Tue, 03 Apr 2018 12:18:51 +0000 + +dbview (1.0.4-1) unstable; urgency=low + + * Fixed typo in NMU-Disclaimer, thanks to Petter Reinholdtsen (See: + Bug#225895) + * New upstream version + - Better error handling (closes: Bug#377095) + - Improved handling for dBase III/IV files (closes: Bug#324466, Bug#393183) + + -- Martin Schulze Mon, 27 Nov 2006 14:43:10 +0100 + +dbview (1.0.3-8) unstable; urgency=low + + * Removed postinst and prerm scripts since /usr/doc is not needed + anymore (closes: Bug#359382) + * Added endian Patch by Julien Blache (closes: Bug#270095) + + -- Martin Schulze Sat, 29 Apr 2006 21:04:39 +0200 + +dbview (1.0.3-7) unstable; urgency=medium + + * Added SHELL=/bin/bash so that the package also builds with bash not + being the default shell (closes: Bug#264235) + + -- Martin Schulze Thu, 12 Aug 2004 15:45:37 +0200 + +dbview (1.0.3-6) unstable; urgency=low + + * Added a disclaimer for those people who plan to NMU this package + * Fixed an off-by-one bug and corrected the function to remove trailing + spaces. (closes: Bug#123908, Bug#201543) + * Corrected the C code (closes: Bug#127065) + + -- Martin Schulze Fri, 29 Aug 2003 20:59:25 +0200 + +dbview (1.0.3-5.1) unstable; urgency=low + + * Corrected the C code (closes: Bug#127065) + + -- Martin Schulze Mon, 31 Dec 2001 20:09:58 +0100 + +dbview (1.0.3-5) unstable; urgency=low + + * Corrected FSF's address (lintian) + * Applied changes from Ivo's NMU (good work) (closes: Bug#91139, Bug#91424) + * Added convenience code to support DEB_BUILD_OPTIONS + + -- Martin Schulze Wed, 5 Dec 2001 20:52:14 +0100 + +dbview (1.0.3-4.1) unstable; urgency=low + + * Non-maintainer upload. + * Changed usr/doc to usr/share/doc and usr/man to + usr/share/man, add postinst and prerm to handle the links. + (closes: Bug#91424) + * Bumped Standards-Version to 3.5.2. + * Changed priority to optional. + * Updated the copyright file. + + -- Ivo Timmermans Sun, 15 Apr 2001 19:13:40 +0200 + +dbview (1.0.3-4) unstable; urgency=low + + * Modified binary targed so $(MAKE) install is used, binaries are now + stripped (closes: Bug#14563) + * Used most recent Standards-Version (closes: Bug#16754) + + -- Martin Schulze Thu, 5 Feb 1998 11:12:10 +0100 + +dbview (1.0.3-3) unstable; urgency=low + + * Updated to new package and directory naming scheme (Bug#9460) + + -- Martin Schulze Sun, 20 Jul 1997 16:25:04 +0200 + +Sun Apr 21 17:56:03 1996 Martin Schulze + + * Linked against libc 5.2.18 (Bug#2723, Bug#2725) + + * Corrected control file to fit with newer dpkgs + +Wed Apr 17 21:40:56 1996 Martin Schulze + + * Added Debian packaging information + --- dbview-1.0.4.orig/debian/control +++ dbview-1.0.4/debian/control @@ -0,0 +1,19 @@ +Source: dbview +Section: misc +Priority: optional +Maintainer: Ubuntu Developers +XSBC-Original-Maintainer: Martin Schulze +Standards-Version: 3.5.2 + +Package: dbview +Architecture: any +Depends: ${shlibs:Depends} +Description: View dBase III files + Dbview is a little tool that will display dBase III and IV + files. You can also use it to convert your old .dbf files + for further use with Unix. + . + It wasn't the intention to write a freaking viewer and + reinvent the wheel again. Instead dbview is intend to be + used in conjunction with your favourite unix text utilities + like cut, recode and more. --- dbview-1.0.4.orig/debian/copyright +++ dbview-1.0.4/debian/copyright @@ -0,0 +1,23 @@ +This is the Debian GNU/Linux prepackaged version a utility to view +dBase III and IV files under Unix. + +This package was put together by Martin Schulze , +from sources obtained from: + ftp.infodrom.north.de:/pub/Linux/Devel/dbview-1.0.3.tar.gz + + 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; version 2 dated June, 1991. + + 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., 59 Temple Place - Suite 330, Boston, MA 02111, USA. + +On Debian GNU/Linux systems, the complete text of the GNU General +Public License can be found in `/usr/share/common-licenses/GPL'. + --- dbview-1.0.4.orig/debian/rules +++ dbview-1.0.4/debian/rules @@ -0,0 +1,101 @@ +#! /usr/bin/make -f + +# Copyright 1994-99,2001,4 joey@infodrom.org (Martin Schulze) +# +# 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; version 2 dated June, 1991. +# +# 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA + +SHELL=/bin/bash + +# The name and version of the package +# +package = $(shell grep "^Package: " debian/control|head -1|sed 's/Package: \(.*\)/\1/g') +source = $(shell grep "^Source: " debian/control|head -1|sed 's/Source: \(.*\)/\1/g') +version = $(shell grep "^$(package) " debian/changelog|head -1 |sed 's/.*(\(.*\)\-[^\-]*).*/\1/g') +revision = $(shell grep "^$(package) " debian/changelog|head -1 |sed 's/.*([^\-]*\-\(.*\)).*/\1/g') + +installbin = install -o root -g root -m 755 +installdoc = install -o root -g root -m 644 + +ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS))) +CFLAGS = -g -O2 -Wall +else +CFLAGS = -O2 -Wall +endif +ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) +STRIP = strip +else +STRIP = echo +endif + +build: + $(MAKE) CFLAGS="$(CFLAGS) -fomit-frame-pointer -pipe" + touch stamp-build + +clean: debclean + $(MAKE) clean + rm -rf stamp-build *~ + +debclean: +# Cleans debian binary directories to allow binary creation + rm -rf debian/tmp + rm -f debian/{files,substvars} + +binary-indep: +# Nothing to be done here + +binary-arch: debclean + test -f stamp-build || $(MAKE) -f debian/rules build + $(installbin) -d debian/tmp{,/DEBIAN} + chown -R root.root debian/tmp + chmod -R g-ws debian/tmp + # + $(installbin) -d debian/tmp/usr/share/doc/$(package) + $(installdoc) debian/copyright debian/tmp/usr/share/doc/$(package) + $(installdoc) debian/changelog debian/tmp/usr/share/doc/$(package)/changelog.Debian +# $(installdoc) ChangeLog debian/tmp/usr/share/doc/$(package)/changelog + $(installdoc) README debian/tmp/usr/share/doc/$(package) + $(installdoc) dBASE debian/tmp/usr/share/doc/$(package) + gzip -9f debian/tmp/usr/share/doc/$(package)/{dBASE,README,changelog.Debian} + # + $(MAKE) prefix=debian/tmp/usr MANO=root MANG=root install + $(STRIP) debian/tmp/usr/bin/dbview + gzip -9 debian/tmp/usr/share/man/man?/* + # + dpkg-shlibdeps debian/tmp/usr/bin/dbview + dpkg-gencontrol -isp + dpkg --build debian/tmp .. + +binary: binary-indep binary-arch + +source diff: + @echo >&2 'source and diff are obsolete - use dpkg-source -b' or dsc; false + +dsc: clean + -test -d debian/tmp && $(MAKE) -f debian/rules debclean + -test -f ../$(source)_$(version).orig.tar.gz -a \ + -f ../orig/$(source)_$(version).orig.tar.gz \ + || (ln -s orig/$(source)_$(version).orig.tar.gz ../$(source)_$(version).orig.tar.gz; \ + touch /tmp/stamp-$(source)-link) + cd .. && dpkg-source -b $(source)-$(version) + -test -f /tmp/stamp-$(source)-link && \ + (rm ../$(source)_$(version).orig.tar.gz /tmp/stamp-$(source)-link ) || true + +checkroot: + $(checkdir) + test root = "`whoami`" + +dist: binary dsc + +.PHONY: binary binary-arch binary-indep clean checkroot +