ChangeLog

# ChangeLog for app-arch/p7zip
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/app-arch/p7zip/ChangeLog,v 1.97 2008/09/04 06:07:05 vapier Exp $

04 Sep 2008; Mike Frysinger p7zip-4.58.ebuild:
Use newbin instead of ugly mv && dobin.

*p7zip-4.58 (20 Jul 2008)

20 Jul 2008; Hanno Boeck +p7zip-4.58.ebuild:
Version bump.

21 Mar 2008; Radoslaw Stachowiak
-files/p7zip-4.55-open_lzma_alone.patch, -p7zip-4.55-r1.ebuild:
removed old version due to security problems #213889

16 Mar 2008; nixnut p7zip-4.57.ebuild:
Stable on ppc wrt bug 213595

05 Feb 2008; Markus Rothe p7zip-4.57.ebuild:
Stable on ppc64

03 Feb 2008; Dawid Węgliński p7zip-4.57.ebuild:
Remove app-arch/rar-unpacker from postinst() as it's no longer in the tree

29 Jan 2008; Samuli Suominen -p7zip-4.44.ebuild,
-p7zip-4.45.ebuild, -p7zip-4.48.ebuild, -p7zip-4.51.ebuild,
-p7zip-4.55.ebuild:
Remove unused versions.

29 Jan 2008; Jeroen Roovers p7zip-4.57.ebuild:
Stable for HPPA (bug #207520).

29 Jan 2008; Richard Freeman p7zip-4.57.ebuild:
amd64 stable

26 Jan 2008; Brent Baude p7zip-4.55-r1.ebuild:
Marking p7zip-4.55-r1 ppc64 for bug 207520

26 Jan 2008; Raúl Porcel p7zip-4.57.ebuild:
sparc/x86 stable

14 Jan 2008; Tobias Scherbaum
p7zip-4.55-r1.ebuild:
ppc. stable

*p7zip-4.57 (25 Dec 2007)

25 Dec 2007; Radoslaw Stachowiak +p7zip-4.57.ebuild:
Version bump and fix for 194354

05 Dec 2007; Samuli Suominen p7zip-4.55-r1.ebuild:
amd64 stable as part of bug 198314, file-collision with lzma-utils.

*p7zip-4.55-r1 (05 Dec 2007)

05 Dec 2007; Mike Frysinger +p7zip-4.55-r1.ebuild:
Do not install /usr/bin/lzma as there are other/dedicated packages that
install just the lzma compression utilities #198324.

01 Dec 2007; Markus Rothe p7zip-4.55.ebuild:
Stable on ppc64

26 Oct 2007; Jeroen Roovers p7zip-4.55.ebuild:
Stable for HPPA too.

24 Oct 2007; Raúl Porcel p7zip-4.55.ebuild:
sparc/x86 stable

23 Oct 2007; Peter Weller p7zip-4.51.ebuild:
Stable on amd64 wrt bug 193771

13 Oct 2007; Markus Rothe p7zip-4.51.ebuild:
Stable on ppc64; bug #193771

12 Oct 2007; Lars Weiler p7zip-4.51.ebuild:
stable ppc, bug #193771

08 Oct 2007; Fabian Groffen p7zip-4.44.ebuild,
p7zip-4.45.ebuild, p7zip-4.48.ebuild, p7zip-4.51.ebuild,
p7zip-4.55.ebuild:
Dropped ppc-macos keyword, see you in prefix

06 Oct 2007; Radoslaw Stachowiak p7zip-4.55.ebuild:
added quotes for FILESDIR

25 Sep 2007; Raúl Porcel p7zip-4.51.ebuild:
sparc stable

*p7zip-4.55 (23 Sep 2007)

23 Sep 2007; Radoslaw Stachowiak
+files/p7zip-4.55-open_lzma_alone.patch, +p7zip-4.55.ebuild:
version bump with experimental lzma_alone patch

17 Sep 2007; Jeroen Roovers p7zip-4.51.ebuild:
Stable for HPPA too.

30 Aug 2007; Raúl Porcel p7zip-4.51.ebuild:
x86 stable

29 Aug 2007; Jeroen Roovers p7zip-4.48.ebuild:
Stable for HPPA too.

09 Aug 2007; Tobias Scherbaum p7zip-4.48.ebuild:
Stable on ppc.

02 Aug 2007; Christian Birchinger p7zip-4.48.ebuild:
Added sparc stable keyword

*p7zip-4.51 (01 Aug 2007)

01 Aug 2007; Radoslaw Stachowiak +p7zip-4.51.ebuild:
version bump, closes #187308, introduces lzma binary.

01 Aug 2007; Raúl Porcel p7zip-4.48.ebuild:
x86 stable

*p7zip-4.48 (01 Jul 2007)

01 Jul 2007; Radoslaw Stachowiak
-files/p7zip-4.30-gcc41.diff, -files/7z, -files/7za,
-files/p7zip-4.16_x86_static.patch, -p7zip-4.20.ebuild,
-p7zip-4.30.ebuild, -p7zip-4.33.ebuild, -p7zip-4.39.ebuild,
-p7zip-4.42.ebuild, -p7zip-4.43.ebuild, +p7zip-4.48.ebuild:
version bump, and orphaned files cleaning

12 Jun 2007; Gustavo Zacarias p7zip-4.45.ebuild:
Stable on sparc

11 Jun 2007; Raúl Porcel p7zip-4.45.ebuild:
x86 stable

*p7zip-4.45 (15 May 2007)

15 May 2007; Radoslaw Stachowiak +p7zip-4.45.ebuild:
version bump

01 Apr 2007; Michael Hanselmann p7zip-4.44.ebuild:
Stable on ppc.

25 Mar 2007; Raúl Porcel p7zip-4.44.ebuild:
Add ~ia64

17 Mar 2007; Steve Dibb p7zip-4.44.ebuild:
amd64 stable

12 Mar 2007; Gustavo Zacarias p7zip-4.44.ebuild:
Stable on sparc

12 Mar 2007; Raúl Porcel p7zip-4.44.ebuild:
x86 stable

09 Mar 2007; Jeroen Roovers p7zip-4.44.ebuild:
Stable for HPPA (xarchiver, perhaps bug #157879).

21 Feb 2007; Piotr Jaroszyński ChangeLog:
Transition to Manifest2.

04 Feb 2007; Brent Baude p7zip-4.44.ebuild:
Marking p7zip-4.44 ~ppc64 for an xfce4 dep per Drac

02 Feb 2007; Gustavo Zacarias p7zip-4.42.ebuild:
Stable on sparc

*p7zip-4.44 (26 Jan 2007)

26 Jan 2007; Radoslaw Stachowiak +p7zip-4.44.ebuild:
version bump

04 Jan 2007; Bryan Østergaard p7zip-4.43.ebuild:
Add ~alpha keyword.

28 Oct 2006; Diego Pettenò p7zip-4.43.ebuild:
Add ~x86-fbsd keyword.

21 Oct 2006; Radoslaw Stachowiak p7zip-4.43.ebuild:
QA fix: Leading Space Syntax Error. Line 37

21 Oct 2006; Radoslaw Stachowiak p7zip-4.43.ebuild:
arghh, wrongly commited stable keywords after version bump. shame on me.

*p7zip-4.43 (21 Oct 2006)

21 Oct 2006; Radoslaw Stachowiak +p7zip-4.43.ebuild:
version bump, fixes #150498 #137579 #150766

04 Sep 2006; Saleem Abdulrasool p7zip-4.42.ebuild:
stable on x86 (bug #145282)

29 Aug 2006; Tobias Scherbaum p7zip-4.42.ebuild:
ppc stable, bug #145282

27 Aug 2006; Jason Wever p7zip-4.42.ebuild:
Added ~sparc keyword.

27 Aug 2006; Radoslaw Stachowiak p7zip-4.42.ebuild:
THanks to Fabian Groffen, closed #109949

02 Aug 2006; Patrick McLean p7zip-4.42.ebuild:
Stable on amd64 (bug #142395).

22 Jun 2006; Simon Stelling p7zip-4.42.ebuild:
added ~amd64 keyword

10 Jun 2006; Michael Hanselmann p7zip-4.39.ebuild:
Stable on ppc.

03 Jun 2006; Radoslaw Stachowiak p7zip-4.42.ebuild:
Cross compilation fix, thanks to Josu Lopez Fernandez #135417

29 May 2006; Mark Loeser p7zip-4.39.ebuild:
Stable on x86; bug #134513

*p7zip-4.42 (28 May 2006)

28 May 2006; Radoslaw Stachowiak +p7zip-4.42.ebuild:
version bump

27 May 2006; Radoslaw Stachowiak p7zip-4.39.ebuild:
fixed missing 7zr compilation/installation

*p7zip-4.39 (16 Apr 2006)

16 Apr 2006; Radoslaw Stachowiak +p7zip-4.39.ebuild:
Version bump. Fixes partially #126722

22 Mar 2006; Radoslaw Stachowiak p7zip-4.33.ebuild:
removed amd64 keyword due to fPIC bug #126722

*p7zip-4.33 (18 Mar 2006)

18 Mar 2006; Radoslaw Stachowiak +files/p7zip,
-p7zip-4.20-r1.ebuild, -p7zip-4.27.ebuild, +p7zip-4.33.ebuild:
version bump to 4.33, not using gcc-4.1 patch anymore
removed obsolete versions (4.2*)

31 Jan 2006; Hanno Boeck +files/p7zip-4.30-gcc41.diff,
p7zip-4.30.ebuild:
Fix for gcc 4.1.

*p7zip-4.30 (11 Dec 2005)

11 Dec 2005; Radoslaw Stachowiak +p7zip-4.30.ebuild:
version bump, closes #113670

04 Oct 2005; Simon Stelling p7zip-4.27.ebuild:
fix bug 107166 and make it respect multilib-strict

25 Sep 2005; Radoslaw Stachowiak files/7z, files/7za:
changed wrapper script to include " around @

25 Sep 2005; Radoslaw Stachowiak files/7z, +files/7za,
-p7zip-0.91.ebuild, p7zip-4.27.ebuild:
fixed bug #107107 with wrong wrapper/symlink usage. removed old version.

24 Sep 2005; Radoslaw Stachowiak p7zip-4.27.ebuild:
Removed ppc-macos keyword due to compilation bug

*p7zip-4.27 (24 Sep 2005)

24 Sep 2005; Radoslaw Stachowiak +p7zip-4.27.ebuild:
changed -O1 to make.conf CFLAGS
added plugins compilation and installation (/usr/lib/p7zip) closes #104248
version bump

14 Sep 2005; Fabian Groffen p7zip-4.20-r1.ebuild:
Marking ~ppc-macos (bug #105853)

*p7zip-4.20-r1 (27 Aug 2005)

27 Aug 2005; Radoslaw Stachowiak -p7zip-4.16.ebuild,
-p7zip-4.18.ebuild, +p7zip-4.20-r1.ebuild:
Fixed #103605 thanks to Bruce Guenter.
Removed obsoleted versions.

10 Aug 2005; Luis Medinas p7zip-4.20.ebuild:
Marked Stable on AMD64.

09 Aug 2005; Joseph Jezak p7zip-4.20.ebuild:
Marked ppc stable.

08 Aug 2005; Radoslaw Stachowiak p7zip-4.20.ebuild:
marked stable on x86

*p7zip-4.20 (06 Jun 2005)

06 Jun 2005; Radoslaw Stachowiak
-files/p7zip-4.14_x86_static.patch, -p7zip-4.14.ebuild,
+p7zip-4.20.ebuild:
Removed old 4.14 ebuild.
Added new 4.20 (version bump).

06 Jun 2005; Heinrich Wendel p7zip-4.16.ebuild:
amd64 stable

27 May 2005; Joseph Jezak p7zip-4.16.ebuild:
Marked ppc stable.

*p7zip-4.18 (15 May 2005)

15 May 2005; Radoslaw Stachowiak +p7zip-4.18.ebuild:
version bump

15 May 2005; Radoslaw Stachowiak p7zip-4.16.ebuild:
stable on x86

09 May 2005; David Holm p7zip-4.14.ebuild:
Stable on ppc.

15 Apr 2005; Radoslaw Stachowiak
-files/p7zip-4.10_x86_dynamic.patch, -files/p7zip-4.12_x86_static.patch,
-files/p7zip-4.13_x86_static.patch, -p7zip-4.10.ebuild,
-p7zip-4.10-r1.ebuild, -p7zip-4.12.ebuild, -p7zip-4.13.ebuild,
-p7zip-4.14.01.ebuild:
removed unnecesary ebuilds.

*p7zip-4.16 (15 Apr 2005)

15 Apr 2005; Radoslaw Stachowiak
+files/p7zip-4.16_x86_static.patch, +p7zip-4.16.ebuild:
version bump

11 Mar 2005; David Holm p7zip-4.14.01.ebuild:
Added to ~ppc.

17 Feb 2005; Radoslaw Stachowiak p7zip-4.14.ebuild:
4.14 marked stable (one month in the tree, party time :)

*p7zip-4.14.01 (17 Feb 2005)

17 Feb 2005; Radoslaw Stachowiak +p7zip-4.14.01.ebuild:
version bump.

16 Jan 2005; Mike Frysinger p7zip-4.14.ebuild:
Clean up.

*p7zip-4.14 (14 Jan 2005)

14 Jan 2005; Radoslaw Stachowiak +p7zip-4.14.ebuild:
new version, static patch fixed.

11 Jan 2005; Malcolm Lashley p7zip-4.13.ebuild:
Add ~amd64 closes bug #70206

*p7zip-4.13 (27 Dec 2004)

27 Dec 2004; Radoslaw Stachowiak +p7zip-4.13.ebuild:
new version.

*p7zip-4.12 (04 Dec 2004)

04 Dec 2004; Radoslaw Stachowiak
+files/p7zip-4.12_x86_static.patch, +p7zip-4.12.ebuild:
new version from upstream.

*p7zip-4.10-r1 (11 Nov 2004)

11 Nov 2004; Radoslaw Stachowiak
+files/p7zip-4.10_x86_dynamic.patch, +p7zip-4.10-r1.ebuild:
Disabled static linkage in default install.
if useflag "static" is enabled, links static executable.

*p7zip-4.10 (25 Oct 2004)

25 Oct 2004; Radoslaw Stachowiak +p7zip-4.10.ebuild:
Version bump. Now single static binary being installed.

*p7zip-0.91 (26 Sep 2004)

26 Sep 2004; Radoslaw Stachowiak +metadata.xml,
+p7zip-0.91.ebuild:
Initial release. Ebuild based on work by Dmitry S. Kulyabov and Per Wigren.

Manifest

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

AUX p7zip 1210 RMD160 0f331392eb77077ea6c100011326202661e9b6ab SHA1 b4e1e02081e28ece33d2a8303ee69c5f0e9ad239 SHA256 28d181cd1c43628da0adb485e20f270461b6cf8d743d2187a3380f7799fbc2d5
DIST p7zip_4.57_src_all.tar.bz2 1473608 RMD160 af40563b4ead84d138e9fff03a2677540c50d29d SHA1 eda5de3d35567e2633373dbe60313527a6a4db27 SHA256 00e923386dd53d532a86331d1694eaeee626783afa503f91edf7370357e05b53
DIST p7zip_4.58_src_all.tar.bz2 1948207 RMD160 2c31ab657275dc01d2d23c5de2327d5ee46f4e8a SHA1 7525bbb12ec94186e9e40d3614cdfd5f6f63cab6 SHA256 52391559b7782d2bad45b783579ea9825f28670ba6f234fd0d9248af3e82bedd
EBUILD p7zip-4.57.ebuild 2524 RMD160 8559df68a75b045a97cf4de50a521f6797097483 SHA1 d18c522002c6240cd6db595fce9b2b6c8d1ca113 SHA256 9f83a19a9e06732263b4b7879be8f78f21b992382c234eac7f1bc2631cab23f7
EBUILD p7zip-4.58.ebuild 2375 RMD160 7f2fd1d69e6ded7509b3cb8c31b92289a918b051 SHA1 4a53ae3ed16b245e29713a05955f6aaf65fd1006 SHA256 0133e6bc91c24ffa8cafd5288514a2ba0cb0cdf013d119f41a8e6c47ff10dcf0
MISC ChangeLog 12218 RMD160 8fff78e1f2266100d12b2f3a520c0d6d4ffdabcd SHA1 579be32611414db5e81b630e1c61b5aa05db73ca SHA256 5c0c0a9b221b298a79371032baaac3af4a29dafd8a44723d6cb84edbee397f39
MISC metadata.xml 221 RMD160 c3fe86fc44653637aea4680b20cf4a3919b7540c SHA1 a1e6cd353cec0a45b588c9995fb801cb82792457 SHA256 1d86ed32a423a4e8e6af86272561dd598d9ce6d5bb55eb6c810b11a6c3383c6a
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)

iEYEARECAAYFAki/exMACgkQ67wieSYcaxcffACfUxhXDljmodfyE4EPUYwYulgD
0ywAnRFN7V/OKoUOtvvtfjbJedziuruQ
=xzg8
-----END PGP SIGNATURE-----

files

metadata.xml




no-herd

radek@gentoo.org

p7zip-4.57.ebuild

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-arch/p7zip/p7zip-4.57.ebuild,v 1.7 2008/03/16 17:40:56 nixnut Exp $

inherit eutils toolchain-funcs multilib

DESCRIPTION="Port of 7-Zip archiver for Unix"
HOMEPAGE="http://p7zip.sourceforge.net/"
SRC_URI="mirror://sourceforge/${PN}/${PN}_${PV}_src_all.tar.bz2"

LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~alpha amd64 hppa ~ia64 ppc ppc64 sparc x86 ~x86-fbsd"
IUSE="static doc"

DEPEND=""

S=${WORKDIR}/${PN}_${PV}

src_unpack() {
unpack ${A}
cd "${S}"
sed -i \
-e "/^CXX=/s:g++:$(tc-getCXX):" \
-e "/^CC=/s:gcc:$(tc-getCC):" \
-e "s:OPTFLAGS=-O:OPTFLAGS=${CXXFLAGS}:" \
-e 's:-s ::' \
-e '/Rar/d' \
makefile* || die "changing makefiles"

if use amd64; then
ewarn "Using suboptimal -fPIC upstream makefile due to amd64 being detected. See #126722"
cp -f makefile.linux_amd64 makefile.machine
elif [[ ${CHOST} == *-darwin* ]] ; then
# Mac OS X needs this special makefile, because it has a non-GNU linker
cp -f makefile.macosx makefile.machine
elif use x86-fbsd; then
# FreeBSD needs this special makefile, because it hasn't -ldl
sed -e 's/-lc_r/-pthread/' makefile.freebsd > makefile.machine
fi
use static && sed -i -e '/^LOCAL_LIBS=/s/LOCAL_LIBS=/&-static /' makefile.machine

# patching to not included nonfree RAR decompression code is higher a sed call
# But we're removing nonfree code just in case sed wasnt enough
rm -rf CPP/7zip/Compress/Rar
}

src_compile() {
emake all3 || die "compilation error"
}

src_install() {
# this wrappers can not be symlinks, p7zip should be called with full path
make_wrapper 7zr "/usr/lib/${PN}/7zr"
make_wrapper 7za "/usr/lib/${PN}/7za"
make_wrapper 7z "/usr/lib/${PN}/7z"

dobin "${FILESDIR}/p7zip" || die

# gzip introduced in 4.42, so beware :)
# mv needed just as rename, because dobin installs using old name
mv contrib/gzip-like_CLI_wrapper_for_7z/p7zip contrib/gzip-like_CLI_wrapper_for_7z/7zg || die
dobin contrib/gzip-like_CLI_wrapper_for_7z/7zg || die

exeinto /usr/$(get_libdir)/${PN}
doexe bin/7z bin/7za bin/7zr bin/7zCon.sfx || die "doexe bins"
exeinto /usr/$(get_libdir)/${PN}
doexe bin/*.so || die "doexe *.so files"

doman man1/7z.1 man1/7za.1 man1/7zr.1
dodoc ChangeLog README TODO

if use doc ; then
dodoc DOCS/*.txt
dohtml -r DOCS/MANUAL/*
fi

einfo "Please be aware that rar support was removed (it's nonfree)"
einfo "You can use app-arch/rar for rar support"
}

p7zip-4.58.ebuild

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-arch/p7zip/p7zip-4.58.ebuild,v 1.2 2008/09/04 06:07:05 vapier Exp $

inherit eutils toolchain-funcs multilib

DESCRIPTION="Port of 7-Zip archiver for Unix"
HOMEPAGE="http://p7zip.sourceforge.net/"
SRC_URI="mirror://sourceforge/${PN}/${PN}_${PV}_src_all.tar.bz2"

LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
IUSE="static doc"

DEPEND=""

S=${WORKDIR}/${PN}_${PV}

src_unpack() {
unpack ${A}
cd "${S}"
sed -i \
-e "/^CXX=/s:g++:$(tc-getCXX):" \
-e "/^CC=/s:gcc:$(tc-getCC):" \
-e "s:OPTFLAGS=-O:OPTFLAGS=${CXXFLAGS}:" \
-e 's:-s ::' \
-e '/Rar/d' \
makefile* || die "changing makefiles"

if use amd64; then
ewarn "Using suboptimal -fPIC upstream makefile due to amd64 being detected. See #126722"
cp -f makefile.linux_amd64 makefile.machine
elif [[ ${CHOST} == *-darwin* ]] ; then
# Mac OS X needs this special makefile, because it has a non-GNU linker
cp -f makefile.macosx makefile.machine
elif use x86-fbsd; then
# FreeBSD needs this special makefile, because it hasn't -ldl
sed -e 's/-lc_r/-pthread/' makefile.freebsd > makefile.machine
fi
use static && sed -i -e '/^LOCAL_LIBS=/s/LOCAL_LIBS=/&-static /' makefile.machine

# patching to not included nonfree RAR decompression code is higher a sed call
# But we're removing nonfree code just in case sed wasnt enough
rm -rf CPP/7zip/Compress/Rar
}

src_compile() {
emake all3 || die "compilation error"
}

src_install() {
# this wrappers can not be symlinks, p7zip should be called with full path
make_wrapper 7zr "/usr/lib/${PN}/7zr"
make_wrapper 7za "/usr/lib/${PN}/7za"
make_wrapper 7z "/usr/lib/${PN}/7z"

dobin "${FILESDIR}/p7zip" || die

# gzip introduced in 4.42, so beware :)
newbin contrib/gzip-like_CLI_wrapper_for_7z/p7zip 7zg || die

exeinto /usr/$(get_libdir)/${PN}
doexe bin/7z bin/7za bin/7zr bin/7zCon.sfx || die "doexe bins"
exeinto /usr/$(get_libdir)/${PN}
doexe bin/*.so || die "doexe *.so files"

doman man1/7z.1 man1/7za.1 man1/7zr.1
dodoc ChangeLog README TODO

if use doc ; then
dodoc DOCS/*.txt
dohtml -r DOCS/MANUAL/*
fi

einfo "Please be aware that rar support was removed (it's nonfree)"
einfo "You can use app-arch/rar for rar support"
}