--- phnxdeco-0.33.orig/debian/changelog +++ phnxdeco-0.33/debian/changelog @@ -0,0 +1,31 @@ +phnxdeco (0.33-3.1) unstable; urgency=low + + * Non-maintainer upload. + * debian/compat: 5 -> 7. (Closes: #965775) + + -- Adrian Bunk Tue, 04 Jan 2022 16:26:07 +0200 + +phnxdeco (0.33-3) unstable; urgency=low + + * Install the binary in /usr/bin, not /bin. + * Standards-Version: 3.7.3 (no changes required). + * debian/control: Add Homepage field. + * Honor the 'nostrip' build option (Closes: #437771). + + -- Uwe Hermann Sat, 09 Feb 2008 23:49:54 +0100 + +phnxdeco (0.33-2) unstable; urgency=low + + * Fix FTBFS on GNU/kFreeBSD (Closes: #415135). + Thanks Cyril Brulebois for the patch. + * Bugfix in phnxhelp.h (reported by upstream author). + + -- Uwe Hermann Sun, 08 Apr 2007 02:48:41 +0200 + +phnxdeco (0.33-1) unstable; urgency=low + + * Initial release (Closes: #385128). + * I wrote a manpage for phnxdeco, as there was none upstream. + + -- Uwe Hermann Sat, 2 Sep 2006 17:25:37 +0200 + --- phnxdeco-0.33.orig/debian/compat +++ phnxdeco-0.33/debian/compat @@ -0,0 +1 @@ +7 --- phnxdeco-0.33.orig/debian/control +++ phnxdeco-0.33/debian/control @@ -0,0 +1,15 @@ +Source: phnxdeco +Section: utils +Priority: optional +Maintainer: Uwe Hermann +Build-Depends: cdbs, debhelper (>= 5) +Standards-Version: 3.7.3 +Homepage: http://www.kaos.ru/biosgfx/ + +Package: phnxdeco +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Decompress flashfiles equipped with a PHOENIX BIOS + Phnxdeco is a program which can decompress BIOS images which + contain a PHOENIX BIOS. + --- phnxdeco-0.33.orig/debian/copyright +++ phnxdeco-0.33/debian/copyright @@ -0,0 +1,66 @@ +This package was debianized by Uwe Hermann on +Tue, 22 Aug 2006 16:47:00 +0200. + +It was downloaded from: http://www.kaos.ru/biosgfx/ + +Upstream Author: + + Anton Borisov + +------------------------------------------------------------------------------- + +Copyright: + + Copyright (C) 2000, 2003 Anton Borisov + +License: + + 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 package; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, 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'. + +------------------------------------------------------------------------------- + +phnxfunc.c: + +Copyright: + + Copyright (C) 2000, 2002, 2003 Anton Borisov + +License: + + 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; 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this package; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + +On Debian systems, the complete text of the GNU Lesser General +Public License can be found in `/usr/share/common-licenses/LGPL'. + +------------------------------------------------------------------------------- + +The Debian packaging is (C) 2006-2008, Uwe Hermann and +is licensed under the GPL (version 2 or later), see above. + --- phnxdeco-0.33.orig/debian/dirs +++ phnxdeco-0.33/debian/dirs @@ -0,0 +1 @@ +usr/bin --- phnxdeco-0.33.orig/debian/patches/10_makefile.patch +++ phnxdeco-0.33/debian/patches/10_makefile.patch @@ -0,0 +1,13 @@ +--- src/Makefile.orig 2006-09-02 02:15:58.000000000 +0200 ++++ src/Makefile 2006-09-02 02:16:15.000000000 +0200 +@@ -5,7 +5,9 @@ + + MAKE = make + +-phnxdeco: ++all: phnxdeco ++ ++phnxdeco: phnxfunc kernel + DEMO="" + gcc -DDEBUG $(DEMO) phnxdeco.c phnxfunc.o kernel.o -s -fpack-struct -o phnxdeco + --- phnxdeco-0.33.orig/debian/patches/15_honor_nostrip.patch +++ phnxdeco-0.33/debian/patches/15_honor_nostrip.patch @@ -0,0 +1,16 @@ +--- src/Makefile.orig 2008-02-09 23:48:41.000000000 +0100 ++++ src/Makefile 2008-02-09 23:48:55.000000000 +0100 +@@ -9,11 +9,11 @@ + + phnxdeco: phnxfunc kernel + DEMO="" +- gcc -DDEBUG $(DEMO) phnxdeco.c phnxfunc.o kernel.o -s -fpack-struct -o phnxdeco ++ gcc -DDEBUG $(DEMO) phnxdeco.c phnxfunc.o kernel.o -fpack-struct -o phnxdeco + + phnxdeco-demo: + DEMO=1 +- gcc -DDEBUG=$(DEMO) phnxdeco.c phnxfunc.o kernel.o -s -fpack-struct -o phnxdeco-demo ++ gcc -DDEBUG=$(DEMO) phnxdeco.c phnxfunc.o kernel.o -fpack-struct -o phnxdeco-demo + + phnxfunc: + gcc phnxfunc.c -c -o phnxfunc.o -fpack-struct --- phnxdeco-0.33.orig/debian/patches/20_kfreebsd.patch +++ phnxdeco-0.33/debian/patches/20_kfreebsd.patch @@ -0,0 +1,11 @@ +--- phnxdeco-0.33/src/phnxdeco.c 2007-03-16 13:34:44.804656000 +0100 ++++ phnxdeco-0.33/src/phnxdeco.c 2007-03-16 13:35:01.000000000 +0100 +@@ -21,7 +21,7 @@ + #include + #include + +-#if defined(LINUX) || defined(__LINUX__) || defined(__linux__) ++#if defined(LINUX) || defined(__LINUX__) || defined(__linux__) || defined(__GLIBC__) + #include + #define __LINUX_NOW__ + #else --- phnxdeco-0.33.orig/debian/patches/30_bugfix.patch +++ phnxdeco-0.33/debian/patches/30_bugfix.patch @@ -0,0 +1,11 @@ +--- src/phnxhelp.h.orig 2007-04-08 02:44:48.000000000 +0200 ++++ src/phnxhelp.h 2007-04-08 02:45:04.000000000 +0200 +@@ -48,7 +48,7 @@ + + if( StrCmp(argv[x], "-xs" ) == 0 ) retcode = 0x20; + if( StrCmp(argv[x], "-ls" ) == 0 ) retcode = 0x21; +- if( StrCmp(argv[x], "-x " ) == 0 ) retcode = 0x10; ++ if( StrCmp(argv[x], "-x" ) == 0 ) retcode = 0x10; + if( StrCmp(argv[x], "-l" ) == 0 ) retcode = 0x11; + if( StrCmp(argv[x], "-c" ) == 0 ) retcode += 0x40; + } --- phnxdeco-0.33.orig/debian/phnxdeco.1 +++ phnxdeco-0.33/debian/phnxdeco.1 @@ -0,0 +1,40 @@ +.TH PHNXDECO 1 "August 22, 2006" +.SH NAME +phnxdeco \- Decompress flashfiles equipped with a PHOENIX BIOS +.SH SYNOPSIS +.B phnxdeco +.RB "filename" +.RB [ "OPTIONS" ] +.SH DESCRIPTION +.B phnxdeco +is a program which can decompress BIOS images which contain a PHOENIX BIOS. +.SH OPTIONS +.B \-l +List BIOS structure. +.PP +.B \-ls +List (system) BIOS structure. +.PP +.B \-x +Extract BIOS modules. +.PP +.B \-xs +Extract (system) BIOS modules. +.PP +.B \-c +Show BIOS copyright string. +.PP +.B \-h +Show help text and exit. +.SH BUGS +Please report any bugs to Anton Borisov . +.SH LICENCE +.B phnxdeco +is covered by the GNU General Public License (GPL), version 2 or later. +Parts are covered by the GNU Lesser General Public License (LGPL), +version 2.1 or later. +.SH AUTHORS +Anton Borisov +.PP +This manual page was written by Uwe Hermann . +It is licensed under the terms of the GNU GPL (version 2 or later). --- phnxdeco-0.33.orig/debian/phnxdeco.install +++ phnxdeco-0.33/debian/phnxdeco.install @@ -0,0 +1 @@ +src/phnxdeco usr/bin --- phnxdeco-0.33.orig/debian/rules +++ phnxdeco-0.33/debian/rules @@ -0,0 +1,11 @@ +#!/usr/bin/make -f + +DEB_INSTALL_MANPAGES_phnxdeco := debian/phnxdeco.1 + +include /usr/share/cdbs/1/class/makefile.mk +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/rules/simple-patchsys.mk + +DEB_BUILDDIR := src +DEB_MAKE_MAKEFILE := Makefile +