--- upx-nrv-1.25.orig/.cvsignore +++ upx-nrv-1.25/.cvsignore @@ -0,0 +1 @@ +build-stamp --- upx-nrv-1.25.orig/upx.1 +++ upx-nrv-1.25/upx.1 @@ -149,7 +149,7 @@ no memory overhead or other drawbacks for most of the formats supported. .PP While you may use \fB\s-1UPX\s0\fR freely for both non-commercial and commercial -executables (for details see the file \s-1LICENSE\s0), we would highly +executables (for details see the file \s-1/usr/share/doc/upx-nrv/copyright\s0), we would highly appreciate if you credit \fB\s-1UPX\s0\fR and ourselves in the documentation, possibly including a reference to the \fB\s-1UPX\s0\fR home page. Thanks. .PP @@ -157,7 +157,7 @@ is considered not politically correct ;\-) ] .SH "DISCLAIMER" .IX Header "DISCLAIMER" -\&\fB\s-1UPX\s0\fR comes with \s-1ABSOLUTELY\s0 \s-1NO\s0 \s-1WARRANTY\s0; for details see the file \s-1LICENSE\s0. +\&\fB\s-1UPX\s0\fR comes with \s-1ABSOLUTELY\s0 \s-1NO\s0 \s-1WARRANTY\s0; for details see the file \s-1/usr/share/doc/upx-nrv/copyright\s0. .PP Having said that, we think that \fB\s-1UPX\s0\fR is quite stable now. Indeed we have compressed lots of files without any problems. Also, the @@ -736,4 +736,4 @@ \&\s-1UPX\s0 License Agreement for more details. .PP You should have received a copy of the \s-1UPX\s0 License Agreement along -with this program; see the file \s-1LICENSE\s0. If not, visit the \s-1UPX\s0 home page. +with this program; see the file \s-1/usr/share/doc/upx-nrv/copyright\s0. If not, visit the \s-1UPX\s0 home page. --- upx-nrv-1.25.orig/upx.doc +++ upx-nrv-1.25/upx.doc @@ -16,7 +16,8 @@ formats supported. While you may use UPX freely for both non-commercial and commercial - executables (for details see the file LICENSE), we would highly + executables (for details see the file /usr/share/doc/upx-nrv/copyright), + we would highly appreciate if you credit UPX and ourselves in the documentation, possibly including a reference to the UPX home page. Thanks. @@ -24,7 +25,8 @@ considered not politically correct ;-) ] DISCLAIMER - UPX comes with ABSOLUTELY NO WARRANTY; for details see the file LICENSE. + UPX comes with ABSOLUTELY NO WARRANTY; for details see the file + /usr/share/doc/upx-nrv/copyright. Having said that, we think that UPX is quite stable now. Indeed we have compressed lots of files without any problems. Also, the current version @@ -498,5 +500,6 @@ Agreement for more details. You should have received a copy of the UPX License Agreement along with - this program; see the file LICENSE. If not, visit the UPX home page. + this program; see the file /usr/share/doc/upx-nrv/copyright. If not, + visit the UPX home page. --- upx-nrv-1.25.orig/upx.html +++ upx-nrv-1.25/upx.html @@ -76,7 +76,7 @@ ratio and offers *very* fast decompression. Your executables suffer no memory overhead or other drawbacks for most of the formats supported.

While you may use UPX freely for both non-commercial and commercial -executables (for details see the file LICENSE), we would highly +executables (for details see the file /usr/share/doc/upx-nrv/copyright), we would highly appreciate if you credit UPX and ourselves in the documentation, possibly including a reference to the UPX home page. Thanks.

[ Using UPX in non-OpenSource applications without proper credits @@ -85,7 +85,7 @@


DISCLAIMER

-

UPX comes with ABSOLUTELY NO WARRANTY; for details see the file LICENSE.

+

UPX comes with ABSOLUTELY NO WARRANTY; for details see the file /usr/share/doc/upx-nrv/copyright.

Having said that, we think that UPX is quite stable now. Indeed we have compressed lots of files without any problems. Also, the current version has undergone several months of beta testing - @@ -552,7 +552,7 @@ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the UPX License Agreement for more details.

You should have received a copy of the UPX License Agreement along -with this program; see the file LICENSE. If not, visit the UPX home page.

+with this program; see the file /usr/share/doc/upx-nrv/copyright. If not, visit the UPX home page.

--- upx-nrv-1.25.orig/debian/.cvsignore +++ upx-nrv-1.25/debian/.cvsignore @@ -0,0 +1,3 @@ +upx-nrv +*.debhelper +files --- upx-nrv-1.25.orig/debian/README.Debian +++ upx-nrv-1.25/debian/README.Debian @@ -0,0 +1,16 @@ +upx-nrv for Debian +------------------ + +UPX is an advanced executable file compressor. UPX will typically +reduce the file size of programs and DLLs by around 50%-70%, thus +reducing disk space, network load times, download times and +other distribution and storage costs. + +Programs and libraries compressed by UPX are completely self-contained +and run exactly as before, with no runtime or memory penalty for most +of the supported formats. + +UPX supports a number of different executable formats, including +Win95/98/2000/NT programs and DLLs, DOS programs, and Linux executables. + +NOTE: This package is linked with the binary version of the NRV library. --- upx-nrv-1.25.orig/debian/changelog +++ upx-nrv-1.25/debian/changelog @@ -0,0 +1,93 @@ +upx-nrv (1.25-2) unstable; urgency=low + + * Fixed syntax of debian/watch. + + -- Robert Luberda Fri, 30 Jul 2004 00:00:58 +0200 + +upx-nrv (1.25-1) unstable; urgency=low + + * New upstream version. + * Standards-Version: 3.6.1 (no changes needed). + * debian/copyright: refer to /usr/share/c-l/GPL (lintian). + * debian/watch: new file for uscan(1). + * Add link to homepage to binary package description. + + -- Robert Luberda Mon, 26 Jul 2004 19:14:27 +0200 + +upx-nrv (1.24-1) unstable; urgency=low + + * New upstream version. + * Increase libc6 dependency. + + -- Robert Luberda Sat, 16 Nov 2002 11:00:47 +0100 + +upx-nrv (1.23-2) unstable; urgency=low + + * upx.1, upx.doc, upx.html: We don't include the LICENSE file in the + package, so replace all references to this file with references to + /usr/share/doc/upx-nrv/copyright (closes: #161647). + + -- Robert Luberda Sun, 29 Sep 2002 14:38:03 +0200 + +upx-nrv (1.23-1) unstable; urgency=low + + * New upstream version. + * Standards-Version: 3.5.7 + * Build with debhelper v4. + + -- Robert Luberda Thu, 12 Sep 2002 21:46:08 +0200 + +upx-nrv (1.22-1) unstable; urgency=low + + * New upstream version. + + -- Robert Luberda Tue, 2 Jul 2002 20:13:10 +0200 + +upx-nrv (1.21-1) unstable; urgency=low + + * New upstream version. + * It seems that upx is now dynamically linked with libc6, but ldd can't + figure it, so: + + debian/control: added 'Depends: libc6 (>= 2.1.3)'. + + debian/rules: added -Xusr/bin/upx-nrv to dh_shlibdeps. + + don't install linitan override file, it's not necessary now. + * Better handle update-alternatives in postinst and prerm scripts. + * Update copyright file. + * Use debhelper v4. + + -- Robert Luberda Mon, 3 Jun 2002 21:51:27 +0200 + +upx-nrv (1.20-2) unstable; urgency=low + + * New maintainer (closes: #136971). + * Standards-Version: 3.5.6 (no changes needed). + * Install upx-nvr uncompressed + (fixes linitan error `binary-file-compressed-with-upx'). + * Upgrade debian/rules to the newest debhelper. + + -- Robert Luberda Thu, 28 Mar 2002 09:05:59 +0100 + +upx-nrv (1.20-1) unstable; urgency=low + + * New upstream release + * updated Build-Depends to include debhelper + + -- Eduard Bloch Wed, 18 Jul 2001 21:23:06 +0200 + +upx-nrv (1.07-2) unstable; urgency=low + + * fixed postinst + + -- Eduard Bloch Sat, 10 Mar 2001 23:42:37 +0100 + +upx-nrv (1.07-1) unstable; urgency=low + + * New upstream release + + -- Eduard Bloch Sat, 10 Mar 2001 16:29:22 +0100 + +upx-nrv (1.01-1) unstable; urgency=low + + * Initial Release. + + -- Leon Breedt Wed, 5 Jul 2000 01:41:41 +0200 --- upx-nrv-1.25.orig/debian/compat +++ upx-nrv-1.25/debian/compat @@ -0,0 +1 @@ +4 --- upx-nrv-1.25.orig/debian/control +++ upx-nrv-1.25/debian/control @@ -0,0 +1,20 @@ +Source: upx-nrv +Section: non-free/utils +Priority: optional +Maintainer: Robert Luberda +Standards-Version: 3.6.1 +Build-Depends: debhelper (>= 4.1) + +Package: upx-nrv +Architecture: i386 +Depends: libc6 (>= 2.3) +Description: an efficient live-compressor for executables + . + UPX is an advanced executable file compressor. UPX will typically + reduce the file size of programs and DLLs by around 50%-70%, thus + reducing disk space, network load times, download times etc. + . + NOTE: This package is linked with the binary version of the NRV + library. + . + Homepage: http://upx.sourceforge.net/ --- upx-nrv-1.25.orig/debian/copyright +++ upx-nrv-1.25/debian/copyright @@ -0,0 +1,159 @@ +This is the pre-packaged Debian Linux version of the UPX executable +compressor. It was packaged by Robert Luberda +from the source tarball originally retrieved from: + + http://upx.sourceforge.net + +Upstream Authors: + Markus F.X.J. Oberhumer + Laszlo Molnar + +The previous maintainer of this package was Eduard Bloch . + +This version is linked against the binary NRV library, of which the sources +are not available. + +Copyright notice: + + +-----BEGIN PGP SIGNED MESSAGE----- + + + ooooo ooo ooooooooo. ooooooo ooooo + `888' `8' `888 `Y88. `8888 d8' + 888 8 888 .d88' Y888..8P + 888 8 888ooo88P' `8888' + 888 8 888 .8PY888. + `88. .8' 888 d8' `888b + `YbodP' o888o o888o o88888o + + + The Ultimate Packer for eXecutables + Copyright (c) 1996-2000 Markus Oberhumer & Laszlo Molnar + http://wildsau.idv.uni-linz.ac.at/mfx/upx.html + http://www.nexus.hu/upx + http://upx.tsx.org + + +PLEASE CAREFULLY READ THIS LICENSE AGREEMENT, ESPECIALLY IF YOU PLAN +TO MODIFY THE UPX SOURCE CODE OR USE A MODIFIED UPX VERSION. + + +ABSTRACT +======== + + UPX and UCL are copyrighted software distributed under the terms + of the GNU General Public License (hereinafter the "GPL"). + + The stub which is imbedded in each UPX compressed program is part + of UPX and UCL, and contains code that is under our copyright. The + terms of the GNU General Public License still apply as compressing + a program is a special form of linking with our stub. + + As a special exception we grant the free usage of UPX for all + executables, including commercial programs. + See below for details and restrictions. + + +COPYRIGHT +========= + + UPX and UCL are copyrighted software. All rights remain with the authors. + + UPX is Copyright (C) 1996-2000 Markus Franz Xaver Johannes Oberhumer + UPX is Copyright (C) 1996-2000 Laszlo Molnar + + UCL is Copyright (C) 1996-2000 Markus Franz Xaver Johannes Oberhumer + + +GNU GENERAL PUBLIC LICENSE +========================== + + UPX and the UCL library are free software; you can redistribute them + and/or modify them 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. + + UPX and UCL are distributed in the hope that they 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; see the file COPYING. + + +SPECIAL EXCEPTION FOR COMPRESSED EXECUTABLES +============================================ + + The stub which is imbedded in each UPX compressed program is part + of UPX and UCL, and contains code that is under our copyright. The + terms of the GNU General Public License still apply as compressing + a program is a special form of linking with our stub. + + Hereby Markus F.X.J. Oberhumer and Laszlo Molnar grant you special + permission to freely use and distribute all UPX compressed programs + (including commercial ones), subject to the following restrictions: + + 1. You must compress your program with a completely unmodified UPX + version; either with our precompiled version, or (at your option) + with a self compiled version of the unmodified UPX sources as + distributed by us. + 2. This also implies that the UPX stub must be completely unmodfied, i.e. + the stub imbedded in your compressed program must be byte-identical + to the stub that is produced by the official unmodified UPX version. + 3. The decompressor and any other code from the stub must exclusively get + used by the unmodified UPX stub for decompressing your program at + program startup. No portion of the stub may get read, copied, + called or otherwise get used or accessed by your program. + + +ANNOTATIONS +=========== + + - You can use a modified UPX version or modified UPX stub only for + programs that are compatible with the GNU General Public License. + + - We grant you special permission to freely use and distribute all UPX + compressed programs. But any modification of the UPX stub (such as, + but not limited to, removing our copyright string or making your + program non-decompressible) will immediately revoke your right to + use and distribute a UPX compressed program. + + - UPX is not a software protection tool; by requiring that you use + the unmodified UPX version for your proprietary programs we + make sure that any user can decompress your program. This protects + both you and your users as nobody can hide malicious code - + any program that cannot be decompressed is highly suspicious + by definition. + + - You can integrate all or part of UPX and UCL into projects that + are compatible with the GNU GPL, but obviously you cannot grant + any special exceptions beyond the GPL for our code in your project. + + - We want to actively support manufacturers of virus scanners and + similar security software. Please contact us if you would like to + incorporate parts of UPX or UCL into such a product. + + + +Markus F.X.J. Oberhumer Laszlo Molnar +markus.oberhumer@jk.uni-linz.ac.at ml1050@cdata.tvnet.hu + +Linz, Austria, 25 Feb 2000 + + + +-----BEGIN PGP SIGNATURE----- +Version: 2.6.3ia +Charset: noconv + +iQCVAwUBOLaLS210fyLu8beJAQFYVAP/ShzENWKLTvedLCjZbDcwaBEHfUVcrGMI +wE7frMkbWT2zmkdv9hW90WmjMhOBu7yhUplvN8BKOtLiolEnZmLCYu8AGCwr5wBf +dfLoClxnzfTtgQv5axF1awp4RwCUH3hf4cDrOVqmAsWXKPHtm4hx96jF6L4oHhjx +OO03+ojZdO8= +=CS52 +-----END PGP SIGNATURE----- + +On Debian GNU/Linux systems, you can find a copy of the GPL +in the /usr/share/common-licenses/GPL file. --- upx-nrv-1.25.orig/debian/dirs +++ upx-nrv-1.25/debian/dirs @@ -0,0 +1,2 @@ +usr/bin +usr/share/man/man1 --- upx-nrv-1.25.orig/debian/docs +++ upx-nrv-1.25/debian/docs @@ -0,0 +1,5 @@ +BUGS +README +THANKS +upx.doc +upx.html --- upx-nrv-1.25.orig/debian/postinst +++ upx-nrv-1.25/debian/postinst @@ -0,0 +1,23 @@ +#!/bin/sh + +set -e + +update_alt() +{ +# arguments: link program priority + if ! update-alternatives --display "$1" | grep -q "^/usr/bin/$2" ; then + update-alternatives --install "/usr/bin/$1" "$1" "/usr/bin/$2" "$3" \ + --slave "/usr/share/man/man1/$1.1.gz" "$1.1.gz" \ + "/usr/share/man/man1/$2.1.gz" + fi +} + + +if [ "$1" = "configure" ] ; then + update_alt upx upx-nrv 10 +fi + +#DEBHELPER# + +exit 0 + --- upx-nrv-1.25.orig/debian/prerm +++ upx-nrv-1.25/debian/prerm @@ -0,0 +1,9 @@ +#!/bin/sh + +set -e + +[ "$1" = "remove" ] && update-alternatives --remove upx /usr/bin/upx-nrv + +#DEBHELPER# + +exit 0 --- upx-nrv-1.25.orig/debian/rules +++ upx-nrv-1.25/debian/rules @@ -0,0 +1,71 @@ +#!/usr/bin/make -f +# Sample debian/rules that uses debhelper. +# This file is public domain software, originally written by Joey Hess. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +DESTDIR=$(CURDIR)/debian/$(shell dh_listpackages) + +build: build-stamp +build-stamp: + dh_testdir + + + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + install -pcm 0755 upx $(DESTDIR)/usr/bin/upx-nrv + ./upx -d $(DESTDIR)/usr/bin/upx-nrv + + install -pcm 0644 upx.1 $(DESTDIR)/usr/share/man/man1/upx-nrv.1 + +# Build architecture-independent files here. +binary-indep: build install +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir + dh_testroot + dh_installchangelogs NEWS + dh_installdocs +# dh_installexamples +# dh_install +# dh_installmenu +# dh_installdebconf +# dh_installlogrotate +# dh_installemacsen +# dh_installpam +# dh_installmime +# dh_installinit +# dh_installcron +# dh_installinfo +# dh_undocumented +# dh_installman +# dh_link +# dh_strip + dh_compress + dh_fixperms +# dh_makeshlibs + dh_installdeb +# dh_perl + dh_shlibdeps -Xusr/bin/upx-nrv + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install --- upx-nrv-1.25.orig/debian/watch +++ upx-nrv-1.25/debian/watch @@ -0,0 +1,4 @@ +# control file for the uscan(1) tool +version=2 +http://upx.sourceforge.net/ \ + (?:.*/)upx-([\d\.]+)-linux\.tar\.gz