diff options
author | Mike Auty <ikelos@gentoo.org> | 2014-08-31 00:37:47 +0000 |
---|---|---|
committer | Mike Auty <ikelos@gentoo.org> | 2014-08-31 00:37:47 +0000 |
commit | 4664a9b99b3431df2a27381864d03b4b10e725e9 (patch) | |
tree | 1231463fb8b8b91d4d13d57ba46c87c472185e00 /app-forensics | |
parent | more correcting of deps (diff) | |
download | historical-4664a9b99b3431df2a27381864d03b4b10e725e9.tar.gz historical-4664a9b99b3431df2a27381864d03b4b10e725e9.tar.bz2 historical-4664a9b99b3431df2a27381864d03b4b10e725e9.zip |
Add in patch for -Werror=format-security warning (fixes bug 521038).
Package-Manager: portage-2.2.12/cvs/Linux x86_64
Manifest-Sign-Key: 0x6C20157A
Diffstat (limited to 'app-forensics')
-rw-r--r-- | app-forensics/foremost/ChangeLog | 10 | ||||
-rw-r--r-- | app-forensics/foremost/Manifest | 14 | ||||
-rw-r--r-- | app-forensics/foremost/files/foremost-1.5.7-format-security.patch | 22 | ||||
-rw-r--r-- | app-forensics/foremost/foremost-1.5.7-r2.ebuild | 36 |
4 files changed, 79 insertions, 3 deletions
diff --git a/app-forensics/foremost/ChangeLog b/app-forensics/foremost/ChangeLog index 9115134fe2f5..3ef3264fa288 100644 --- a/app-forensics/foremost/ChangeLog +++ b/app-forensics/foremost/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-forensics/foremost -# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-forensics/foremost/ChangeLog,v 1.26 2012/01/09 19:02:59 ranger Exp $ +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-forensics/foremost/ChangeLog,v 1.27 2014/08/31 00:37:43 ikelos Exp $ + +*foremost-1.5.7-r2 (31 Aug 2014) + + 31 Aug 2014; Mike Auty <ikelos@gentoo.org> +foremost-1.5.7-r2.ebuild, + +files/foremost-1.5.7-format-security.patch: + Add in patch for -Werror=format-security warning (fixes bug 521038). 09 Jan 2012; Brent Baude <ranger@gentoo.org> foremost-1.5.7-r1.ebuild: Marking foremost-1.5.7-r1 ppc for bug 391467 diff --git a/app-forensics/foremost/Manifest b/app-forensics/foremost/Manifest index 12f895619052..41d5a57a3580 100644 --- a/app-forensics/foremost/Manifest +++ b/app-forensics/foremost/Manifest @@ -1,7 +1,19 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA256 + AUX foremost-1.4-config-location.patch 462 SHA256 43052e257b77f410e9c3594827612c6cc4805f5758d70e87a225856ca04d2932 SHA512 7b6dcc18cba4676ef4d54b87c9c31747754ecbebd9424340b2dd059495c9c6cec11513307fff802a336a99bc07c4bcd2ffcfad1c77ccdc49277ef7e40e30029e WHIRLPOOL 542c831ec2c76f6b19cd3128c21cd38ec4e822e5a5277278b75239cdef9f54c75796b1323eab7eff87cc9313386e5302e5bbe585f980edac023752c6438ee789 +AUX foremost-1.5.7-format-security.patch 680 SHA256 5e28cbc516e0b4ce959ec9ed42c35c55e9d6ad9d1eceb19bbf39ec81b885e5f2 SHA512 1c28ed1fceedec728a5060b195214fd3ec3b0fa529e87f7421ee72d73f71ecc0d48a69a5b5ff4c6179dd65781552fbd272437134498ec865bd5c620375b6f85b WHIRLPOOL 0987d9acda8a0f68e60fbca77dd50fc6756765e05af21f9270641410add430cb332010ef3f024c073ff7f50836e03023c83ce1ea1dc450445f01a819624022a9 DIST foremost-0.69.tar.gz 27719 SHA256 de807aaf2ffb71d9d7ec296f66781aa5e426d2ae186a100a00ceedb0cd30ae03 SHA512 3d25e62995f7da0e47ffbd9b90ac2d1a6a870ae0e310eb46b8332e914372008c44abe6ef504f875de60d22cfdfac439e53ec65d7cae255d4a989ee9cfa1020b6 WHIRLPOOL 6435cb6fcdb89add7179910a707a52d89052db67daae58a18b754c6983420bdfcbb00219eb4d3e0684c290b0d9976a71c5a216f56a55fa93963ce91e83fcf6c0 DIST foremost-1.5.7.tar.gz 52352 SHA256 502054ef212e3d90b292e99c7f7ac91f89f024720cd5a7e7680c3d1901ef5f34 SHA512 8827c29d52496783be26374f3943eb26a154d842f34e50fb489f87b3a5045bf85f1e44d7d8d8b12b2355ba3fe4b06a0db979cc22c0f431593c5976001eb931ab WHIRLPOOL 85224ce66845d01560810da3522d74d19ade08ac516b48ccac86892749e26c3bf464fe82abf30fd65f8d85b0712ba10d4c807084359c594e059a06752899b941 EBUILD foremost-0.69.ebuild 706 SHA256 eed109a70539c750a571b9a762e26bda2791b1de7dd9963053c9c1e1c8074a81 SHA512 dbd8cc8f790ef37863b99a963defe639644652dce47f5bbcedfb351d7f2fd52d4bc09869475fc69d5a3839fcb885816064e1f7a6c5c3928aaa2eee5996ac6945 WHIRLPOOL bd47b20797feb7368c23de58dbe62ccdb9218f795c3ebc73c3c9a5872cd338a4f4001d092a12d90440ecdde6148bec5cb5568c286dc55902e1ae8e2b254ea552 EBUILD foremost-1.5.7-r1.ebuild 913 SHA256 aa3883baa2efe57c590b6e63068e0e1dbdd645bed6b13e0537cce967a0d399d6 SHA512 9229bb60993337c786fec6370e8798e697a0f1bb54ba338fb9e47ee954574ccbbaa5e38ae0d72612bcf92078ff81efccd921e4c6c94fe37dc356aeab909f3426 WHIRLPOOL 4c6722997f876b1c2fb5208e20ddfa3ea30ffe01348f6db186e1aebce48e6e9aae2ad5024bb322be2380e2108012faf969823a5aec885dd6136f9b3e9a9c425f -MISC ChangeLog 4140 SHA256 dff3550376fb3bf0fbf0b856c6b90605bfeb8a504a01473ebafab6b428381637 SHA512 f6237f420d2f17ed68fa88e235b1b1d4d778057c95d17a9c83f241c47140ed5304b88acb7ae4f895d03d2c1eaf5733a2da45c59d6c28ac44efab6bdc250dd6f4 WHIRLPOOL b948b3391227b9e458627939dcd86823deeb8c810fedaba64b509ddb26d5b8075337f2d78f880476f6cd985b4d1122a7716bd966f880471fcfcd73647f991e68 +EBUILD foremost-1.5.7-r2.ebuild 972 SHA256 500df083e65ec93607b8d2c260f971d1e4d491e5afc91eca9dcfb77cdd6c566a SHA512 a111cfaac151f627dbc06b1ae4b928558f654993214d94b8ff9821d2f6e4bc818e8c5808e92b8c62f02e970818bf38464f8db65bb80fc6cd304966b7cfa2f9f0 WHIRLPOOL fe492753c04933bd5b7a99f969654eeec463105e5593155137bb4d2eaa0362a8f5d894cb621145683943beeb3e8a1bb76e1f924db23a5440840a1f7b8c7b36bf +MISC ChangeLog 4365 SHA256 0d186ba0d737b6cb17a8d67c88c192452fb4fbd215d655c87d82576ad06dbc23 SHA512 baae5cb8328f7b2df04f40cac8850aeb241797f6d9fa368237759084d0922bc06889663d2a8346bcdb5492e5fbc2f15bd231f75de0c95592e800be546cc134b0 WHIRLPOOL b0d778a17caad88c7e1b722e5f74956b9ed45328faa06298714157b938a5d5e90912c91eddcc4a88a06b2e66fe11bfd185f98a5976674231c7b4a64a5c9eb44e MISC metadata.xml 224 SHA256 c3ad172c23cbbb5e769ea1833a17e3f939069044dd0ed81b73bd02776302f851 SHA512 0a61397a1b6d186dd03d51feaa5f99a7749faa568636f6d4470e8fb49336aa6499eed82e23e1afaf2c5cd827c4506ab5789ca05a561540ab9a82ca94bc197aee WHIRLPOOL ee2576dcdf0b822bcfe446e9482ed1ad97cad7535f37bbc9aee248a017d49855ee62d7141b2bc8b65d4ee542a518a1c709074cef99f150974a57fac9658c8a28 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2 + +iEYEAREIAAYFAlQCblgACgkQu7rWomwgFXrAKgCfUrjUTTp713/jNo7z3EC++aoO +wC8Anjd5umSp+L6M332SbfivBYOmDjzx +=6gyG +-----END PGP SIGNATURE----- diff --git a/app-forensics/foremost/files/foremost-1.5.7-format-security.patch b/app-forensics/foremost/files/foremost-1.5.7-format-security.patch new file mode 100644 index 000000000000..32d1a4d3c7f6 --- /dev/null +++ b/app-forensics/foremost/files/foremost-1.5.7-format-security.patch @@ -0,0 +1,22 @@ +diff --git a/extract.c b/extract.c +index 30bdf54..9639117 100755 +--- a/extract.c ++++ b/extract.c +@@ -2110,7 +2110,6 @@ unsigned char *extract_exe(f_state *s, u_int64_t c_offset, unsigned char *founda + int i = 0; + time_t compile_time = 0; + struct tm *ret_time; +- char comment[32]; + char ascii_time[32]; + + if (buflen < 100) +@@ -2145,8 +2144,7 @@ unsigned char *extract_exe(f_state *s, u_int64_t c_offset, unsigned char *founda + ret_time->tm_sec); + chop(ascii_time); + +- sprintf(comment, ascii_time); +- strcat(needle->comment, comment); ++ strcat(needle->comment, ascii_time); + exe_char = htos(&foundat[22], FOREMOST_LITTLE_ENDIAN); + if (exe_char & 0x2000) + { diff --git a/app-forensics/foremost/foremost-1.5.7-r2.ebuild b/app-forensics/foremost/foremost-1.5.7-r2.ebuild new file mode 100644 index 000000000000..4a07188845e1 --- /dev/null +++ b/app-forensics/foremost/foremost-1.5.7-r2.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-forensics/foremost/foremost-1.5.7-r2.ebuild,v 1.1 2014/08/31 00:37:43 ikelos Exp $ + +EAPI=4 + +inherit eutils toolchain-funcs + +DESCRIPTION="A console program to recover files based on their headers and footers" +HOMEPAGE="http://foremost.sourceforge.net/" +#SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" +# starting to hate sf.net ... +SRC_URI="http://foremost.sourceforge.net/pkg/${P}.tar.gz" + +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" +LICENSE="public-domain" +SLOT="0" + +src_prepare() { + epatch "${FILESDIR}/${PN}-1.4-config-location.patch" + epatch "${FILESDIR}/${PN}-1.5.7-format-security.patch" +} + +src_compile() { + emake RAW_FLAGS="${CFLAGS} -Wall ${LDFLAGS}" RAW_CC="$(tc-getCC) -DVERSION=\\\"${PV}\\\"" \ + CONF=/etc +} + +src_install() { + dobin foremost + doman foremost.8.gz + insinto /etc + doins foremost.conf + dodoc README CHANGES +} |