debian/0000775000000000000000000000000013156123735007176 5ustar debian/README.Debian0000664000000000000000000000070711755723424011247 0ustar unrar for Debian ---------------- This is a free unrar utility meant to replace the non-free unrar currently in Debian (available under the name 'unrar'). Note that the binary is called 'unrar-free' It's not completely there yet, especially advanced features of 3.x archive support is still missing. Help with development is appreciated, see http://home.gna.org/unrar/ -- Jeroen van Wolffelaar Sun, 22 May 2005 18:53:29 +0200 debian/tests/0000775000000000000000000000000013154264563010343 5ustar debian/tests/0002-CVE-2017-141200000664000000000000000000000072313154264520012311 0ustar #!/bin/sh # # Test CVE-2017-14120 setUp() { uudecode >archive.rar <archive.rar <extract_newer) { debian/unrar-free.lintian-overrides0000664000000000000000000000005711755733027014632 0ustar unrar-free binary: missing-dep-for-interpreter debian/compat0000664000000000000000000000000211755724144010400 0ustar 9 debian/changelog0000664000000000000000000001250713156123735011055 0ustar unrar-free (1:0.0.1+cvs20071127-2+deb7u1build0.14.04.1) trusty-security; urgency=medium * fake sync from Debian -- Emily Ratliff Tue, 12 Sep 2017 22:37:01 -0500 unrar-free (1:0.0.1+cvs20071127-2+deb7u1) wheezy-security; urgency=high * CVE-2017-14120: Prevent a directory traversal vulnerability in RAR v2 archives where pathnames of the form "../[filename]" are unpacked into the parent directory. (Closes: #874059) - Add accompanying autopkgtests. -- Chris Lamb Thu, 07 Sep 2017 16:41:41 +0100 unrar-free (1:0.0.1+cvs20071127-2) unstable; urgency=low * Bump Standards-Version to 3.9.3 - Use machine-readable debian/copyright * Bump debhelper to 9 - Use debhelper7 debian/rules file (Closes: #673481) * Use DebSrc3.0 format -- Ying-Chun Liu (PaulLiu) Sat, 19 May 2012 22:24:23 +0800 unrar-free (1:0.0.1+cvs20071127-1) unstable; urgency=low * New upstream release + fix bugs: read over header size + fix bugs: integer overflow + remove RARv3 code from libclamav due to unclear license and patent issues * Fix lintian warning: debian-rules-ignores-make-clean-error * Use update-alternatives for /usr/bin/unrar (Closes: #431453) + Add conflicts to unrar-nonfree (<< 1:3.7.8-1) for /usr/bin/unrar * Add suggestions to pike for some extra developing tools * Bump Standards-Version to 3.7.3 * Use Homepage field in debian/control instead of the old Homepage paragraph -- Ying-Chun Liu (PaulLiu) Sun, 16 Dec 2007 00:12:11 +0800 unrar-free (1:0.0.1+cvs20070515-1) unstable; urgency=low * New CVS verson + fix bugs: create directory path when it is not exist * Bump debhelper compatibility to 5 -- Ying-Chun Liu (PaulLiu) Tue, 15 May 2007 22:58:30 +0800 unrar-free (1:0.0.1+cvs20070424-1) unstable; urgency=low * New CVS verson + merge the changes from unrarlib sourceforge svn, which comes from clamav team. * Remove some trailing spaces and unused empty lines * Add depends on {misc:Depends} -- Ying-Chun Liu (PaulLiu) Fri, 25 Apr 2007 19:22:12 +0800 unrar-free (1:0.0.1+cvs20060609-1) unstable; urgency=low * New CVS version + Fix warnings: dereferencing type-punned pointer * Update policy version from 3.6.2 to 3.7.2 -- Ying-Chun Liu (PaulLiu) Fri, 9 Jun 2006 01:06:24 +0800 unrar-free (1:0.0.1+cvs20060430-2) unstable; urgency=low * Reformatting changelog entries -- Ying-Chun Liu (PaulLiu) Mon, 1 May 2006 11:35:43 +0800 unrar-free (1:0.0.1+cvs20060430-1) unstable; urgency=low * New CVS version + Make parent of directories if it doesn't exist + Fix the type of the return value of CalcCRC32 function (Closes: #261261) -- Ying-Chun Liu (PaulLiu) Sun, 30 Apr 2006 21:33:00 +0800 unrar-free (1:0.0.1+cvs20060412-2) unstable; urgency=low * Modify changelog to seperate upstream changes from packaging changes * Fix debian/watch file -- Ying-Chun Liu (PaulLiu) Wed, 14 Apr 2006 00:19:00 +0800 unrar-free (1:0.0.1+cvs20060412-1) unstable; urgency=low * New CVS version + Bug fixed in command line compatibility * Remove unnecessary doc files * Add explicitly "GPLv2 or later" clauses in copyright file * Add synopsis of command line compatibility of non-free unrar into manpage * Adjust debian/rules to reduce the size of .diff.gz by using the up-to-date config.* * Remove comments from debian/watch -- Ying-Chun Liu (PaulLiu) Wed, 12 Apr 2006 16:19:00 +0800 unrar-free (1:0.0.1+cvs20060305-1) unstable; urgency=low * New CVS version + Remove filename length 260 bytes restriction + Remove archive name length 255 bytes restriction + Remove password length 255 bytes restriction + Remove compile warning "operation on `I' may be undefined" (bug #261261) * Add README files to docs -- Ying-Chun Liu (PaulLiu) Sun, 5 Mar 2006 21:28:00 +0800 unrar-free (1:0.0.1+cvs20060228-1) unstable; urgency=low * New Maintainer (Closes: #302896) * New CVS version + Command line compatibility with non-free unrar added (Closes: #271015) -- Ying-Chun Liu (PaulLiu) Tue, 28 Feb 2006 00:57:22 +0800 unrar-free (1:0.0.1-2) unstable; urgency=low * QA Upload orphaning package * Rename source & binary to unrar-free, because this package isn't yet near to functional equivalence of 'unrar', also rename binary to 'unrar-free', because policy says no two files in the archive may have the same name while not being drop in replacements (c.f. #270751, closes: #265045) * Be realistic in the README.Debian, encourage people to participate in upstream development * Fix incorrect display of "failed" in some cases, thanks to Niklas Vainio for the patch (Closes: #292945) * Security fix: Disable debugging (unconditional write to /tmp/debug_unrar.txt) (Closes: #309045) * Exit with non-zero exit code when something went wrong, again thanks for Niklas Vainio for his work (Closes: #288398) -- Jeroen van Wolffelaar Sun, 22 May 2005 19:22:21 +0200 unrar (1:0.0.1-1) unstable; urgency=low * Initial Release (closes: #229256) -- Niklas Vainio Sat, 19 Jun 2004 16:33:20 +0300 debian/unrar-free.prerm0000664000000000000000000000043411755723424012320 0ustar #!/bin/sh set -e case "$1" in remove|upgrade|deconfigure) update-alternatives --remove unrar /usr/bin/unrar-free ;; failed-upgrade) ;; *) echo "postinst called with unknown argument \$1'" >&2 exit 0 ;; esac #DEBHELPER# exit 0 debian/unrar-free.postinst0000664000000000000000000000066011755723424013057 0ustar #!/bin/sh set -e case "$1" in configure|abort-upgrade) update-alternatives --install /usr/bin/unrar unrar \ /usr/bin/unrar-free 30 \ --slave /usr/share/man/man1/unrar.1.gz unrar.1.gz \ /usr/share/man/man1/unrar-free.1.gz ;; abort-remove|abort-deconfigure) ;; *) echo "postinst called with unknown argument \$1'" >&2 exit 0 ;; esac #DEBHELPER# exit 0 debian/rules0000775000000000000000000000060711755724542010267 0ustar #!/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 %: dh $@ override_dh_auto_configure: dh_auto_configure -- --program-transform-name="s/unrar/unrar-free/" override_dh_auto_build: dh_auto_build docbook-to-man debian/unrar-free.sgml > unrar-free.1 debian/watch0000664000000000000000000000016011755723424010230 0ustar version=2 opts=dversionmangle=s/\+cvs\d+$// \ http://download.gna.org/unrar/ unrar-(.*)\.tar\.gz debian uupdate debian/clean0000664000000000000000000000001511755724421010201 0ustar unrar-free.1 debian/unrar-free.manpages0000664000000000000000000000001511755726526012767 0ustar unrar-free.1 debian/unrar-free.install0000664000000000000000000000005311755724521012635 0ustar misc/tarar.pike usr/share/unrar-free/misc/ debian/unrar-free.sgml0000664000000000000000000002061711755723424012142 0ustar manpage.1'. You may view the manual page with: `docbook-to-man manpage.sgml | nroff -man | less'. A typical entry in a Makefile or Makefile.am is: manpage.1: manpage.sgml docbook-to-man $< > $@ The docbook-to-man binary is found in the docbook-to-man package. Please remember that if you create the nroff version in one of the debian/rules file targets (such as build), you will need to include docbook-to-man in your Build-Depends control field. --> Niklas"> Vainio"> June 19, 2004"> 1"> niklas.vainio@iki.fi"> UNRAR-FREE"> Debian"> GNU"> GPL"> ]>
&dhemail;
&dhfirstname; &dhsurname; 2004 &dhusername; &dhdate;
&dhucpackage; &dhsection; &dhpackage; extract files from rar archives &dhpackage; -xtfp?V --extract --list --force --extract-newer --extract-no-paths --password --help --usage --version ARCHIVE FILE DESTINATION DESCRIPTION &dhpackage; is a program for extracting files from rar archives. OPTIONS These programs follow the usual &gnu; command line syntax, with long options starting with two dashes (`-'). A summary of options is included below. Extract files from archive (default). List files in archive. Overwrite files when extracting. Only extract newer files from the archive. Don't create directories while extracting. Decrypt archive using a password. Show program help. Show short program usage message. Show version of program. NON-FREE UNRAR COMPATIBLE SYNOPSIS &dhpackage; elvx -ep -o+ -o- -p -u -- ARCHIVE FILE DESTINATION This syntax should only be used in front-end programs which are using non-free unrar as a back-end. It is recommended to use this program by &gnu; command line syntax. Extract files from archive without full path. List files in archive. Verbose list files in archive. Extract files from archive with full path. Don't create directories while extracting. Overwrite files when extracting. Don't overwrite files when extracting. Decrypt archive using a . Only extract newer files from the archive. Disable further switch processing. Any switch after the -- are treated as filenames and destination. BUGS Advanced features of version 3.0 archives are not currently supported. AUTHORS &dhpackage; was written by Ben Asselstine based on UniquE RAR File Library by Christian Scheurer and Johannes Winkelmann. This manual page was written by &dhusername; <&dhemail;> for the &debian; system (but may be used by others). Permission is granted to copy, distribute and/or modify this document under the terms of the &gnu; General Public License, Version 2 any later version published by the Free Software Foundation. On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL.
debian/copyright0000664000000000000000000000230011755726157011136 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: unrar-free Upstream-Contact: Ben Asselstine Jeroen Dekkers Source: http://download.gna.org/unrar/ Files: * Copyright: 2004 Ben Asselstine 2004 Jeroen Dekkers 2000-2002 Christian Scheurer (www.ChristianScheurer.ch) 2000-2002 Johannes Winkelmann (jw@tks6.net) 1993-2002 Eugene Roshal License: GPL-2+ Files: debian/* Copyright: 2004 Niklas Vainio 2006 Ying-Chun Liu (PaulLiu) License: GPL-2+ License: GPL-2+ RAR decompression code is copyright (c) by Eugene Roshal. UniquE RAR File Library is copyright (c) 2000-2002 by Christian Scheurer and Johannes Winkelmann. Unrar is copyright (c) 2004 by Ben Asselstine. . You are free to distribute this software 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. . On Debian systems, the complete text of the GNU General Public License version 2 can be found in /usr/share/common-licenses/GPL-2. debian/control0000664000000000000000000000115711755730023010602 0ustar Source: unrar-free Section: utils Priority: optional Maintainer: Ying-Chun Liu (PaulLiu) Uploaders: Erik Schanze Build-Depends: debhelper (>= 9), docbook-to-man, autotools-dev Standards-Version: 3.9.3 Homepage: https://gna.org/projects/unrar/ Package: unrar-free Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Conflicts: unrar-nonfree (<< 1:3.7.8-1) Suggests: pike7.8 | pike7.6 | pike Description: Unarchiver for .rar files Unrar can extract files from .rar archives. Can't handle some archives in the RAR 3.0 format, only the non-free "unrar" package can do that.