--- p7zip-rar-9.20.1~ds.1.orig/debian/README.source +++ p7zip-rar-9.20.1~ds.1/debian/README.source @@ -0,0 +1,58 @@ +This package uses quilt to manage all modifications to the upstream +source. Changes are stored in the source package as diffs in +debian/patches and applied during the build. + +To configure quilt to use debian/patches instead of patches, you want +either to export QUILT_PATCHES=debian/patches in your environment +or use this snippet in your ~/.quiltrc: + + for where in ./ ../ ../../ ../../../ ../../../../ ../../../../../; do + if [ -e ${where}debian/rules -a -d ${where}debian/patches ]; then + export QUILT_PATCHES=debian/patches + break + fi + done + +To get the fully patched source after unpacking the source package, cd to +the root level of the source package and run: + + quilt push -a + +The last patch listed in debian/patches/series will become the current +patch. + +To add a new set of changes, first run quilt push -a, and then run: + + quilt new + +where is a descriptive name for the patch, used as the filename in +debian/patches. Then, for every file that will be modified by this patch, +run: + + quilt add + +before editing those files. You must tell quilt with quilt add what files +will be part of the patch before making changes or quilt will not work +properly. After editing the files, run: + + quilt refresh + +to save the results as a patch. + +Alternately, if you already have an external patch and you just want to +add it to the build system, run quilt push -a and then: + + quilt import -P /path/to/patch + quilt push -a + +(add -p 0 to quilt import if needed). as above is the filename to +use in debian/patches. The last quilt push -a will apply the patch to +make sure it works properly. + +To remove an existing patch from the list of patches that will be applied, +run: + + quilt delete + +You may need to run quilt pop -a to unapply patches first before running +this command. --- p7zip-rar-9.20.1~ds.1.orig/debian/changelog +++ p7zip-rar-9.20.1~ds.1/debian/changelog @@ -0,0 +1,142 @@ +p7zip-rar (9.20.1~ds.1-3) unstable; urgency=low + + * Make package autobuildable. (Closes: #633639) + + -- Mohammed Adnène Trojette Wed, 03 Aug 2011 12:32:40 +0200 + +p7zip-rar (9.20.1~ds.1-2) unstable; urgency=low + + * Upload to unstable. + + -- Mohammed Adnène Trojette Tue, 28 Jun 2011 17:17:12 +0200 + +p7zip-rar (9.20.1~ds.1-1) experimental; urgency=low + + * New upstream release. + + -- Mohammed Adnène Trojette Mon, 04 Apr 2011 18:23:57 +0200 + +p7zip-rar (9.04~ds.1-1) unstable; urgency=low + + * New upstream release. + * Bump Standards-Version to 3.8.2. + + -- Mohammed Adnène Trojette Sat, 27 Jun 2009 16:30:49 +0200 + +p7zip-rar (4.65~ds.1-1) unstable; urgency=low + + * New upstream release. + * Don't use dh_clean with -k option. + + -- Mohammed Adnène Trojette Sat, 14 Feb 2009 20:14:57 +0100 + +p7zip-rar (4.61~ds.1-1) experimental; urgency=low + + * New upstream release. + + -- Mohammed Adnène Trojette Sun, 21 Dec 2008 15:17:59 +0100 + +p7zip-rar (4.58~ds.1-1) unstable; urgency=low + + * New upstream release. + * debian/control: + + bump Standards-Version to 3.8.0. + + bump build-dependency on debhelper 7. + * debian/compat: set compatibility level to 7. + * Add a debian/watch file. + + -- Mohammed Adnène Trojette Sat, 21 Jun 2008 15:33:39 +0200 + +p7zip-rar (4.57~ds.1-1) unstable; urgency=low + + * New upstream release. + * debian/control: + + bump Standards-Version to 3.7.3. + + add Homepage field. + * debian/copyright converted to Unicode. + + -- Mohammed Adnène Trojette Fri, 21 Dec 2007 16:28:58 +0100 + +p7zip-rar (4.55~ds.1-1) unstable; urgency=low + + * New upstream version. + + -- Mohammed Adnène Trojette Fri, 14 Sep 2007 22:44:09 +0200 + +p7zip-rar (4.53~ds.1-1) unstable; urgency=low + + * New upstream version. + + -- Mohammed Adnène Trojette Tue, 11 Sep 2007 16:40:19 +0200 + +p7zip-rar (4.51~ds.1-1) unstable; urgency=low + + * New upstream version. + + -- Mohammed Adnène Trojette Sat, 04 Aug 2007 22:01:25 +0200 + +p7zip-rar (4.47~ds.1-1) unstable; urgency=low + + * New upstream version. + * Refresh dependencies and patch. + * In debian/rules, call + [ ! -f makefile ] || $(MAKE) rar-clean + instead of + -$(MAKE) rar-clean + + -- Mohammed Adnène Trojette Mon, 02 Jul 2007 00:08:43 +0200 + +p7zip-rar (4.45~ds.1-1) unstable; urgency=low + + * New upstream version. + * Bump debhelper compatibility to 5. + + -- Mohammed Adnène Trojette Sun, 22 Apr 2007 12:21:51 +0200 + +p7zip-rar (4.44.ds.1-1) unstable; urgency=low + + * Redo tarball not to clutter .diff.gz. + * Correct dependency on p7zip. + + -- Mohammed Adnène Trojette Tue, 10 Apr 2007 00:39:58 +0200 + +p7zip-rar (4.44-1) unstable; urgency=low + + * New upstream version. + * Initial upload to non-free/unstable. (Closes: #410414) + * Depends on p7zip-full. + * Build-Depend on quilt. + * Patch makefile for build: 01_clean_makefile.diff. + + -- Mohammed Adnène Trojette Mon, 12 Feb 2007 23:28:05 +0100 + +p7zip-rar (4.33-1) unstable; urgency=low + + * New upstream release + * Depends on p7zip (= 4.33.dfsg-1) + + -- Mohammed Adnène Trojette Fri, 10 Feb 2006 23:13:13 +0100 + +p7zip-rar (4.30-1) unstable; urgency=low + + * New upstream release + + -- Mohammed Adnène Trojette Sun, 27 Nov 2005 15:42:53 +0100 + +p7zip-rar (4.29-2) unstable; urgency=low + + * Depends on p7zip >= 4.29.dfsg-1 + + -- Mohammed Adnène Trojette Thu, 24 Nov 2005 01:34:17 +0100 + +p7zip-rar (4.29-1) unstable; urgency=low + + * New upstream version + + -- Mohammed Adnène Trojette Sat, 8 Oct 2005 00:34:45 +0200 + +p7zip-rar (4.27-1) unstable; urgency=low + + * Initial release + + -- Mohammed Adnène Trojette Tue, 20 Sep 2005 19:24:47 +0000 --- p7zip-rar-9.20.1~ds.1.orig/debian/copyright +++ p7zip-rar-9.20.1~ds.1/debian/copyright @@ -0,0 +1,83 @@ +This package was debianized by Mohammed Adnène Trojette + on Sun, 12 Dec 2004 14:28:27 +0200. + +It was downloaded from http://p7zip.sourceforge.net/. + +7zip is Copyright (C) 1999-2005 Igor Pavlov. +p7zip is ported from 7zip by my space + +Most of 7-Zip source code is under GNU LGPL. + +Files in folders + CPP/7zip/Compress/Rar/ +are licensed under "unRAR license + GNU LGPL" license. +Source code files in all other folders of this package are under GNU LGPL. + +"unRAR license + GNU LGPL" means that you must follow +GNU LGPL in all aspects while it is in agreement +with unRAR license. But you can not break unRAR license rules. +It means that unRAR license is main license in that pair. + +========================================================================= + + GNU LESSER GENERAL PUBLIC LICENSE + Version 2.1, February 1999 + + Copyright (C) 1991, 1999 Free Software Foundation, Inc. + 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + +On Debian GNU/Linux systems, the complete text of the GNU Lesser General +Public License can be found in `/usr/share/common-licenses/LGPL-2.1'. + +========================================================================= + + ****** ***** ****** unRAR - free utility for RAR archives + ** ** ** ** ** ** ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + ****** ******* ****** License for use and distribution of + ** ** ** ** ** ** ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + ** ** ** ** ** ** FREE portable version + ~~~~~~~~~~~~~~~~~~~~~ + + The source code of unRAR utility is freeware. This means: + + 1. All copyrights to RAR and the utility unRAR are exclusively + owned by the author - Alexander Roshal. + + 2. The unRAR sources may be used in any software to handle RAR + archives without limitations free of charge, but cannot be used + to re-create the RAR compression algorithm, which is proprietary. + Distribution of modified unRAR sources in separate form or as a + part of other software is permitted, provided that it is clearly + stated in the documentation and source comments that the code may + not be used to develop a RAR (WinRAR) compatible archiver. + + 3. The unRAR utility may be freely distributed. No person or company + may charge a fee for the distribution of unRAR without written + permission from the copyright holder. + + 4. THE RAR ARCHIVER AND THE UNRAR UTILITY ARE DISTRIBUTED "AS IS". + NO WARRANTY OF ANY KIND IS EXPRESSED OR IMPLIED. YOU USE AT + YOUR OWN RISK. THE AUTHOR WILL NOT BE LIABLE FOR DATA LOSS, + DAMAGES, LOSS OF PROFITS OR ANY OTHER KIND OF LOSS WHILE USING + OR MISUSING THIS SOFTWARE. + + 5. Installing and using the unRAR utility signifies acceptance of + these terms and conditions of the license. + + 6. If you don't agree with terms of the license you must remove + unRAR files from your storage devices and cease to use the + utility. + + Thank you for your interest in RAR and unRAR. + + + Alexander L. Roshal + +========================================================================= + +The current Debian packaging is (C) 2004-2007, Mohammed Adnène +Trojette and is licensed under the GPL, see +/usr/share/common-licenses/GPL-2 on Debian systems. + --- p7zip-rar-9.20.1~ds.1.orig/debian/compat +++ p7zip-rar-9.20.1~ds.1/debian/compat @@ -0,0 +1 @@ +7 --- p7zip-rar-9.20.1~ds.1.orig/debian/watch +++ p7zip-rar-9.20.1~ds.1/debian/watch @@ -0,0 +1,6 @@ +# format version number, currently 3; this line is compulsory! +version=3 + +# Line continuations are performed with \ +opts=dversionmangle=s/\.ds\.\d+$// \ + http://qa.debian.org/watch/sf.php/p7zip/p7zip_(.*)_src_all.tar.bz2 debian uupdate --- p7zip-rar-9.20.1~ds.1.orig/debian/control +++ p7zip-rar-9.20.1~ds.1/debian/control @@ -0,0 +1,18 @@ +Source: p7zip-rar +Section: non-free/utils +Priority: optional +Maintainer: Mohammed Adnène Trojette +Build-Depends: debhelper (>= 7), quilt +XS-Autobuild: yes +Standards-Version: 3.9.1 +Homepage: http://p7zip.sourceforge.net/ + +Package: p7zip-rar +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, p7zip-full (>= 9.20.1~), p7zip-full (<< 9.20.2~) +Description: non-free rar module for p7zip + p7zip is the Unix port of 7-Zip, a file archiver that archives with + very high compression ratios. + . + p7zip-rar provides a module for p7zip-full to make 7z able to + extract RAR files. --- p7zip-rar-9.20.1~ds.1.orig/debian/rules +++ p7zip-rar-9.20.1~ds.1/debian/rules @@ -0,0 +1,63 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# Sample debian/rules that uses debhelper. +# GNU copyright 1997 to 1999 by Joey Hess. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +build: build-stamp + +build-stamp: + dh_testdir + + # Add here commands to compile the package. + QUILT_PATCHES=debian/patches quilt push -a || test $$? = 2 + $(MAKE) rar + + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp + + # Add here commands to clean up after the build process. + QUILT_PATCHES=debian/patches quilt push -a || test $$? = 2 + [ ! -f makefile ] || $(MAKE) rar-clean + + QUILT_PATCHES=debian/patches quilt pop -a -R || test $$? = 2 + rm -rf .pc + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean + dh_installdirs + +# 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 + dh_installdocs + rm -f debian/p7zip-rar/usr/share/doc/p7zip-rar/DOCS/copying.txt + rm -f debian/p7zip-rar/usr/share/doc/p7zip/DOCS/unRarLicense.txt + dh_installexamples + dh_install bin/Codecs usr/lib/p7zip + dh_strip + dh_compress + dh_fixperms + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install --- p7zip-rar-9.20.1~ds.1.orig/debian/patches/series +++ p7zip-rar-9.20.1~ds.1/debian/patches/series @@ -0,0 +1 @@ +01_clean_makefile.diff --- p7zip-rar-9.20.1~ds.1.orig/debian/patches/01_clean_makefile.diff +++ p7zip-rar-9.20.1~ds.1/debian/patches/01_clean_makefile.diff @@ -0,0 +1,168 @@ +Index: p7zip-rar-9.20.1~ds.1/makefile +=================================================================== +--- p7zip-rar-9.20.1~ds.1.orig/makefile 2011-04-04 18:25:57.000000000 +0200 ++++ p7zip-rar-9.20.1~ds.1/makefile 2011-04-04 18:33:58.000000000 +0200 +@@ -6,98 +6,19 @@ + DEST_SHARE_DOC=$(DEST_HOME)/share/doc/p7zip + DEST_MAN=$(DEST_HOME)/man + +-.PHONY: default all all2 7za 7zG 7zFM sfx 7z 7zr Client7z common common7z clean tar_bin depend test test_7z test_7zr test_7zG test_Client7z all_test app ++.PHONY: default all rar + +-default:7za ++default: rar + +-all:7za sfx ++all: rar + +-all2: 7za sfx 7z ++rar: common ++ $(MAKE) -C CPP/7zip/Compress/Rar depend ++ $(MAKE) -C CPP/7zip/Compress/Rar all + +-all3: 7za sfx 7z 7zr +- +-all4: 7za sfx 7z 7zr Client7z 7zG 7zFM +- +-all_test : test test_7z test_7zr test_Client7z +- $(MAKE) -C CPP/7zip/Compress/LZMA_Alone test +- +-common: +- $(MKDIR) bin +- +-7za: common +- $(MAKE) -C CPP/7zip/Bundles/Alone all +- $(MAKE) -C check/my_86_filter all +- +-7zr: common +- $(MAKE) -C CPP/7zip/Bundles/Alone7z all +- +-Client7z: common +- $(MKDIR) bin/Codecs +- $(MAKE) -C CPP/7zip/Bundles/Format7zFree all +- $(MAKE) -C CPP/7zip/UI/Client7z all +- +-app: common 7zFM 7zG 7z sfx +- rm -fr p7zip.app +- $(MKDIR) p7zip.app +- cp -rp GUI/Contents p7zip.app/ +- $(MKDIR) p7zip.app/Contents/MacOS +- cp bin/7zFM p7zip.app/Contents/MacOS/ +- cp bin/7zG p7zip.app/Contents/MacOS/ +- cp bin/7z.so p7zip.app/Contents/MacOS/ +- cp bin/7zCon.sfx p7zip.app/Contents/MacOS/ +- cp -rp bin/Codecs p7zip.app/Contents/MacOS/ +- cp -rp GUI/Lang p7zip.app/Contents/MacOS/ +- cp -rp GUI/help p7zip.app/Contents/MacOS/ +- +-depend: +- $(MAKE) -C CPP/7zip/Bundles/Alone depend +- $(MAKE) -C CPP/7zip/Bundles/Alone7z depend +- $(MAKE) -C CPP/7zip/Bundles/SFXCon depend +- $(MAKE) -C CPP/7zip/UI/Client7z depend +- $(MAKE) -C CPP/7zip/UI/Console depend +- $(MAKE) -C CPP/7zip/Bundles/Format7zFree depend +- $(MAKE) -C CPP/7zip/Compress/Rar depend +- $(MAKE) -C CPP/7zip/UI/GUI depend +- $(MAKE) -C CPP/7zip/UI/FileManager depend +- $(MAKE) -C check/my_86_filter depend +- +-sfx: common +- $(MKDIR) bin +- $(MAKE) -C CPP/7zip/Bundles/SFXCon all +- +-common7z:common +- $(MKDIR) bin/Codecs +- $(MAKE) -C CPP/7zip/Bundles/Format7zFree all +- $(MAKE) -C CPP/7zip/Compress/Rar all +- +-7z: common7z +- $(MAKE) -C CPP/7zip/UI/Console all +- +-7zG: common7z +- cd bin ; rm -f Lang ; ln -s ../GUI/Lang . +- cd bin ; rm -f help ; ln -s ../GUI/help . +- $(MAKE) -C CPP/7zip/UI/GUI all +- +-7zFM: common7z +- cd bin ; rm -f Lang ; ln -s ../GUI/Lang . +- cd bin ; rm -f help ; ln -s ../GUI/help . +- $(MAKE) -C CPP/7zip/UI/FileManager all +- +-clean: ++rar-clean: + $(MAKE) -C CPP/myWindows clean +- $(MAKE) -C CPP/7zip/Bundles/Alone clean +- $(MAKE) -C CPP/7zip/Bundles/Alone7z clean +- $(MAKE) -C CPP/7zip/Bundles/SFXCon clean +- $(MAKE) -C CPP/7zip/UI/Client7z clean +- $(MAKE) -C CPP/7zip/UI/Console clean +- $(MAKE) -C CPP/7zip/UI/FileManager clean +- $(MAKE) -C CPP/7zip/UI/GUI clean +- $(MAKE) -C CPP/7zip/Bundles/Format7zFree clean + $(MAKE) -C CPP/7zip/Compress/Rar clean +- $(MAKE) -C CPP/7zip/Compress/LZMA_Alone clean +- $(MAKE) -C CPP/7zip/Bundles/AloneGCOV clean +- $(MAKE) -C CPP/7zip/TEST/TestUI clean +- $(MAKE) -C check/my_86_filter clean + rm -fr bin + rm -fr p7zip.app + rm -fr CPP/7zip/P7ZIP.* +@@ -125,20 +46,15 @@ + chmod +x install.sh check/check.sh check/clean_all.sh check/check_7zr.sh + cd check ; ./clean_all.sh + +-test: 7za sfx +- cd check ; ./check.sh ../bin/7za +- +-test_7z: 7z sfx +- cd check ; ./check.sh ../bin/7z +- +-test_7zr: 7zr sfx +- cd check ; ./check_7zr.sh ../bin/7zr ++common: ++ $(MKDIR) bin ++ $(MKDIR) bin/Codecs + +-test_7zG: 7zG sfx +- cd check ; ./check.sh ../bin/7zG ++clean: + +-test_Client7z: Client7z +- cd check ; ./check_Client7z.sh ../bin/Client7z ++common: ++ $(MKDIR) bin/Codecs ++ cd CPP/myWindows ; $(MAKE) all + + install: + ./install.sh $(DEST_BIN) $(DEST_SHARE) $(DEST_MAN) $(DEST_SHARE_DOC) $(DEST_DIR) +@@ -146,29 +62,3 @@ + REP=$(shell pwd) + ARCHIVE=$(shell basename $(REP)) + +-.PHONY: tar_all tar_all2 src_7z tar_bin tar_bin2 +- +-tar_all : clean +- rm -f ../$(ARCHIVE)_src_all.tar.bz2 +- cp makefile.linux_any_cpu makefile.machine +- cd .. ; (tar cf - $(ARCHIVE) | bzip2 -9 > $(ARCHIVE)_src_all.tar.bz2) +- +-tar_all2 : clean +- rm -f ../$(ARCHIVE)_src_all.tar.bz2 +- cp makefile.linux_any_cpu makefile.machine +- cd .. ; (tar cf - $(ARCHIVE) | 7za a -mx=9 -tbzip2 -si $(ARCHIVE)_src_all.tar.bz2 ) +- +-src_7z : clean +- rm -f ../$(ARCHIVE)_src.7z +- cd .. ; 7za a -mx=9 -m0=ppmd:mem=128m:o=32 $(ARCHIVE)_src.7z $(ARCHIVE) +- +-tar_bin: +- rm -f ../$(ARCHIVE)_x86_linux_bin.tar.bz2 +- chmod +x install.sh contrib/VirtualFileSystemForMidnightCommander/u7z contrib/gzip-like_CLI_wrapper_for_7z/p7zip +- cd .. ; (tar cf - $(ARCHIVE)/bin $(ARCHIVE)/contrib $(ARCHIVE)/man1 $(ARCHIVE)/install.sh $(ARCHIVE)/ChangeLog $(ARCHIVE)/DOCS $(ARCHIVE)/README $(ARCHIVE)/TODO | bzip2 -9 > $(ARCHIVE)_x86_linux_bin.tar.bz2) +- +-tar_bin2: +- rm -f ../$(ARCHIVE)_x86_linux_bin.tar.bz2 +- chmod +x install.sh contrib/VirtualFileSystemForMidnightCommander/u7z contrib/gzip-like_CLI_wrapper_for_7z/p7zip +- cd .. ; (tar cf - $(ARCHIVE)/bin $(ARCHIVE)/contrib $(ARCHIVE)/man1 $(ARCHIVE)/install.sh $(ARCHIVE)/ChangeLog $(ARCHIVE)/DOCS $(ARCHIVE)/README $(ARCHIVE)/TODO | 7za a -mx=9 -tbzip2 -si $(ARCHIVE)_x86_linux_bin.tar.bz2) +-