diff options
author | Malcolm Lashley <mlashley@gmail.com> | 2016-02-14 20:39:32 +0000 |
---|---|---|
committer | Malcolm Lashley <mlashley@gmail.com> | 2016-02-14 20:39:32 +0000 |
commit | 3065d90051b7ce3175652ea56f9b590b973fcc58 (patch) | |
tree | 55705cee5f42d539213dce06839012dde248e218 /app-arch/torrentzip | |
parent | app-arch/cpio: fix small buffer overflow #572428 (diff) | |
download | gentoo-3065d90051b7ce3175652ea56f9b590b973fcc58.tar.gz gentoo-3065d90051b7ce3175652ea56f9b590b973fcc58.tar.bz2 gentoo-3065d90051b7ce3175652ea56f9b590b973fcc58.zip |
Updated to pull upstream snapshot, fix #514634
Diffstat (limited to 'app-arch/torrentzip')
-rw-r--r-- | app-arch/torrentzip/Manifest | 8 | ||||
-rw-r--r-- | app-arch/torrentzip/files/fix-function-declarations.patch | 23 | ||||
-rw-r--r-- | app-arch/torrentzip/torrentzip-0.2-r9.ebuild | 35 |
3 files changed, 66 insertions, 0 deletions
diff --git a/app-arch/torrentzip/Manifest b/app-arch/torrentzip/Manifest index 36f46d915661..3100768a33a1 100644 --- a/app-arch/torrentzip/Manifest +++ b/app-arch/torrentzip/Manifest @@ -1 +1,9 @@ +AUX fix-function-declarations.patch 816 SHA256 6fda5e67dd0e3c61f64d8cdb9e0646dcb5f0e9df834487eb4aa50c44621428d6 SHA512 91b19d3a4d257266659d883d23217158db32ca1e175aa2ba95008cb761a2f69697baf3a2b00d24eaa95d513f22066a891785bad26276d5c9a83eef2540ada455 WHIRLPOOL beb0d7638ea60af634893a9fbe2c091caed09f972fc09753f60602a33bceb846e7338467a980823b8a293ea3c6e235a700e547405448311a356e0e82b4820375 +AUX fix-perms.patch 335 SHA256 1af2255ecaead2c2b287693febd6cfe41b035e12295b239db7435aa5fed7a4ae SHA512 836c20dae3e16689fc6c99b756c918d2153630a34f18886537db13d2f53d6cf9d56126c382546bbd40bfbf2ea2c3a735b267dcce88e7c6a020571274b360cb30 WHIRLPOOL 700b2dd2c53a3937b75333b476a3492a6a39ddd000df9e3ecada1c67e93ff2da20062bc0691428b5fbcee39da1e73dbe802bf3631226a024750c3e0664da8f44 +DIST trrntzip-code-9.zip 69200 SHA256 fe205b707af53f1bc90b03af3c07e56b08758ba52e42a9ef6780c8b297a129a6 SHA512 f848871ca14519539f141134f9bb1728ad30e9e6c33fe01677fa8542fbe7a0d8e9e58cf97ced6949b72ae9b59d09fd6ccbae1394295a17ffd78e53c96247497f WHIRLPOOL 4ccafe1f821b8e4016cccb9cbe2f755b57bc1ab301d94f92823c2ffc6b776639cf63c6072281273d0d3739d1c4dab09bc6cbb61b25249ac0ec4824be7628f726 DIST trrntzip_v02_src.tar.gz 46971 SHA256 9e55f378ef5c75c452b3f52728a7503ca76e147e0ab2395b8c41de8c20995efd SHA512 802dd1bf55e0a31df75d8195c9d2d5610be8cb7f14d14278eba72b580aff3ad415711999db05a5425303380ebfc82a68896e276319e0ead5635d0a07615ba700 WHIRLPOOL 79c96f51a0b547b2651625a3b3aee6b7a769955e10b092654086a1d91a494d08f8dd732eee45b432ca97f4f6314af0f76907fa81b422ef94676e6d729994a61d +EBUILD torrentzip-0.2-r1.ebuild 772 SHA256 772860bf7453aeaca96a050211077d43e8c9c677fc34e58dcffdc038afbcd1ee SHA512 551287ac62c5b84ceef60895d87a9310588c65948a152755553db075cc380931387ed79e6852b48e26225ab90dae1554ac5c43b502cf77606380ef37c25bc1ec WHIRLPOOL d3955027567b10766814ae3a2e7a9efa22cd3fe51c945161eca2f5201c9c0f222a74761a79b9c0aea4bb2acbb957d3e5b711f88bbaf8581f3604d2e0f8f11656 +EBUILD torrentzip-0.2-r9.ebuild 871 SHA256 557ad049ab98e0ea12d9735cc3d90afc5da409406a28005df30ef0fc2dd85375 SHA512 a4a26df909860743844702b776de5dd83f1574d85fbe04db7e815d05d10de553b2ea0bb71aa9c7bf5e339633781b3a8082742801de15320b4f3e2be317a00f45 WHIRLPOOL a4f97e8caf29162433646c8e5dc6c8a61dde508fc84696faea902cb382a6f4fa3d02a9042408f06089f3bd139a6ef5c565c6cef7180228d6c815757e252ac2c4 +MISC ChangeLog 2336 SHA256 1b2cec080300327e92aaa1878f7a60908a53b7c3dd0a0e5ddbf1bc15e0718180 SHA512 635337ebc9b16ec911cfacdfbb0e00ecd4bedf305c1ad6bc36ad445d80066f6fbc6a09112881dda4bb25548d31666f718cd2dc7b774437e1a035faca7f984c71 WHIRLPOOL 5e45fdc40c80103f5de71ca7b0c55bb7aad84cebfb4d76b2b4956a0c09ca64699ef6181f5e8aea1ed54a8bf32ae1a7bd7c50d0466c3e9e766413dc175d5cf18a +MISC ChangeLog-2015 1311 SHA256 73ff65c9026521db709caac75d76dc887059e1a9da89298d687f865fd46b9f43 SHA512 7eb91bbff4aa805ce35a9c87585a6a9e9e6523ea01a7ea9ebcf790f1da3008c6da38c95954aa19834c5ae14169d6dc0159353bd7e7722819afdb1304614aac1b WHIRLPOOL 5bd4e5439d76b69dd097d39dc555bd2a71b709f9a48bff1ae4a8c91131b96219cddee149884b6aa0c88f79535e39cc29a0e5615dcc6dcf0f04cf68cec169c6b0 +MISC metadata.xml 492 SHA256 3aece6a38d243ec3507d1cdd7f7a6caf2d73bf9afe5238afd4222b27ba8d5268 SHA512 c0e6c5c4f172b5de6a8349e4f790e2a1661af6429422ee302e400f89b4146ac4acd354bc63f948e26970aef72a4d8470ff25f6858a9d1ddf29e2a82cf84248ef WHIRLPOOL 8ac89def640385438476e5148dfe971fd8ed936b1bb8747af2955132b6af4c710d0c26a72ef64f350f6013eed8502ddc362a5e06543fc67cb3f063601a76f5f8 diff --git a/app-arch/torrentzip/files/fix-function-declarations.patch b/app-arch/torrentzip/files/fix-function-declarations.patch new file mode 100644 index 000000000000..c8ab8fcd8930 --- /dev/null +++ b/app-arch/torrentzip/files/fix-function-declarations.patch @@ -0,0 +1,23 @@ +--- configure.ac 2005-04-05 18:12:49.000000000 +0200
++++ configure.ac 2016-01-17 22:58:57.203979927 +0100
+@@ -1,7 +1,7 @@
+ AC_INIT([TorrentZip], [0.0], [StatMan, shindakun, Ultrasubmarine, r3nh03k <http://trrntzip.sf.net>], [trrntzip])
+
+ AM_INIT_AUTOMAKE
+-AM_CONFIG_HEADER(config.h)
++#AM_CONFIG_HEADER(config.h)
+ AM_MAINTAINER_MODE
+
+ AC_PROG_CC
+@@ -11,6 +11,11 @@
+ AC_CHECK_LIB([m], [fmod], [], [AC_MSG_ERROR("Need libm to build TorrentZip")])
+ AC_CHECK_LIB([z], [zlibVersion], [], [AC_MSG_ERROR("Need libz to build TorrentZip")])
+
++AC_CHECK_DECL(OF, [],
++ [AC_CHECK_DECL(_Z_OF, [AC_DEFINE([OF(args)], [_Z_OF(args)])],
++ [AC_MSG_ERROR("Unsupported zlib version")], [#include "zlib.h"])],
++ [#include "zlib.h"])
++
+ AC_CONFIG_FILES([Makefile src/Makefile torrentzip.spec])
+
+ AC_OUTPUT
diff --git a/app-arch/torrentzip/torrentzip-0.2-r9.ebuild b/app-arch/torrentzip/torrentzip-0.2-r9.ebuild new file mode 100644 index 000000000000..818202ef1edd --- /dev/null +++ b/app-arch/torrentzip/torrentzip-0.2-r9.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +inherit versionator eutils autotools + +DESCRIPTION="Archiver that creates standard zips to create identical files over multiple systems" +HOMEPAGE="https://sourceforge.net/projects/trrntzip" + +S="${WORKDIR}/trrntzip-code-9" + +SRC_URI="http://sourceforge.net/code-snapshots/svn/t/tr/trrntzip/code/trrntzip-code-9.zip" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" +DEPEND="sys-libs/zlib" +RDEPEND="" + + +src_unpack() { + unpack ${A} + cd "${S}" + + # Source-code from sf.net snapshots has CRLF... + EPATCH_OPTS="--binary" + epatch "${FILESDIR}"/fix-function-declarations.patch + + eautoreconf +} + +src_install() { + make DESTDIR="${D}" install || die "install failed" + dodoc README AUTHORS +} |