diff options
author | Bryan Østergaard <kloeri@gentoo.org> | 2005-03-02 19:37:10 +0000 |
---|---|---|
committer | Bryan Østergaard <kloeri@gentoo.org> | 2005-03-02 19:37:10 +0000 |
commit | 397b9527ee03edac86e92787172190be3ef74a00 (patch) | |
tree | 2fcea714580a339c49d54a6f37b772c730e42d88 | |
parent | New patch which allows the package to work w/ amd64. (diff) | |
download | gentoo-2-397b9527ee03edac86e92787172190be3ef74a00.tar.gz gentoo-2-397b9527ee03edac86e92787172190be3ef74a00.tar.bz2 gentoo-2-397b9527ee03edac86e92787172190be3ef74a00.zip |
Security bump, bug 83541.
(Portage version: 2.0.51.18)
-rw-r--r-- | net-misc/hashcash/ChangeLog | 8 | ||||
-rw-r--r-- | net-misc/hashcash/Manifest | 11 | ||||
-rw-r--r-- | net-misc/hashcash/files/digest-hashcash-1.16-r1 | 1 | ||||
-rw-r--r-- | net-misc/hashcash/files/hashcash-1.16-format-string.diff | 11 | ||||
-rw-r--r-- | net-misc/hashcash/hashcash-1.16-r1.ebuild | 37 |
5 files changed, 63 insertions, 5 deletions
diff --git a/net-misc/hashcash/ChangeLog b/net-misc/hashcash/ChangeLog index e7b0fbf779ef..b53ccedc8d24 100644 --- a/net-misc/hashcash/ChangeLog +++ b/net-misc/hashcash/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-misc/hashcash # Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/hashcash/ChangeLog,v 1.11 2005/02/04 23:47:02 blubb Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/hashcash/ChangeLog,v 1.12 2005/03/02 19:37:10 kloeri Exp $ + +*hashcash-1.16-r1 (02 Mar 2005) + + 02 Mar 2005; Bryan Østergaard <kloeri@gentoo.org> + +files/hashcash-1.16-format-string.diff, +hashcash-1.16-r1.ebuild: + Security bump, bug 83541. 05 Feb 2005; Simon Stelling <blubb@gentoo.org> hashcash-1.16.ebuild: added ~amd64 diff --git a/net-misc/hashcash/Manifest b/net-misc/hashcash/Manifest index 909c4c0403b1..771a228e600c 100644 --- a/net-misc/hashcash/Manifest +++ b/net-misc/hashcash/Manifest @@ -1,10 +1,13 @@ -MD5 dce3c44b192e5b062dec4cedd1dbe0f5 hashcash-0.27.ebuild 772 +MD5 dbf5dcad53019b8cb52493e41d67d807 hashcash-1.16-r1.ebuild 848 MD5 1f4d985588ca3c1af433d4c8271a52c5 ChangeLog 1329 MD5 3d4ff62a799a78821c08196a1581cf55 hashcash-1.02.ebuild 750 -MD5 3e535ae2e91ba63f40454ea02f6458f3 hashcash-1.13.ebuild 751 MD5 ae5592e9a022e6beab44a52a4f23c3f0 metadata.xml 221 +MD5 dce3c44b192e5b062dec4cedd1dbe0f5 hashcash-0.27.ebuild 772 MD5 d2f9388d5d5b31fd96de828a5c0a87d1 hashcash-1.16.ebuild 757 -MD5 16b3bf4afa6be029dcb2f921e988f698 files/digest-hashcash-0.27 61 -MD5 574981d65f92a3870bb9b254ebcf31d5 files/digest-hashcash-1.02 62 +MD5 3e535ae2e91ba63f40454ea02f6458f3 hashcash-1.13.ebuild 751 MD5 b8945440c5d5fc363304c85279d43771 files/digest-hashcash-1.13 62 +MD5 bbbb9afa01623d57687863a50253f858 files/hashcash-1.16-format-string.diff 382 +MD5 7feef9e0dbfa8622b9c284116e4bbbc6 files/digest-hashcash-1.16-r1 62 +MD5 574981d65f92a3870bb9b254ebcf31d5 files/digest-hashcash-1.02 62 +MD5 16b3bf4afa6be029dcb2f921e988f698 files/digest-hashcash-0.27 61 MD5 7feef9e0dbfa8622b9c284116e4bbbc6 files/digest-hashcash-1.16 62 diff --git a/net-misc/hashcash/files/digest-hashcash-1.16-r1 b/net-misc/hashcash/files/digest-hashcash-1.16-r1 new file mode 100644 index 000000000000..14290333835b --- /dev/null +++ b/net-misc/hashcash/files/digest-hashcash-1.16-r1 @@ -0,0 +1 @@ +MD5 eefce4d7472698756be309c91c830a30 hashcash-1.16.tgz 183465 diff --git a/net-misc/hashcash/files/hashcash-1.16-format-string.diff b/net-misc/hashcash/files/hashcash-1.16-format-string.diff new file mode 100644 index 000000000000..23226723d5a7 --- /dev/null +++ b/net-misc/hashcash/files/hashcash-1.16-format-string.diff @@ -0,0 +1,11 @@ +--- hashcash-1.16/hashcash.c 2005-01-16 00:07:18.000000000 +0000 ++++ hashcash-1.16/hashcash.c 2005-03-01 10:14:11.146945576 +0000 +@@ -579,7 +579,7 @@ + fprintf(stderr,"out of memory\n"); + exit( EXIT_FAILURE ); + } +- fprintf( stdout, header_wrapped ); ++ fprintf( stdout, "%s", header_wrapped ); + free( header_wrapped ); + } else { + fprintf( stdout, "%s%s\n", diff --git a/net-misc/hashcash/hashcash-1.16-r1.ebuild b/net-misc/hashcash/hashcash-1.16-r1.ebuild new file mode 100644 index 000000000000..295e29dedfc2 --- /dev/null +++ b/net-misc/hashcash/hashcash-1.16-r1.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/hashcash/hashcash-1.16-r1.ebuild,v 1.1 2005/03/02 19:37:10 kloeri Exp $ + +inherit eutils + +IUSE="" +DESCRIPTION="Utility to generate hashcash tokens" +HOMEPAGE="http://www.hashcash.org" +SRC_URI="http://www.hashcash.org/source/${P}.tgz" + +LICENSE="CPL-1.0" +SLOT="0" +KEYWORDS="x86 ~ppc ~amd64" + +DEPEND="virtual/libc" +RDEPEND="" + +src_unpack() { + unpack ${A} + epatch ${FILESDIR}/${P}-format-string.diff +} + +src_compile() { + sed -i \ + -e "s|^CFLAGS.*\$|CFLAGS = ${CFLAGS}|" \ + -e "s|^INSTALL_PATH.*\$|INSTALL_PATH = \$(PREFIX)/bin|" \ + -e "s|^MAN_INSTALL_PATH.*\$|MAN_INSTALL_PATH = \$(PREFIX)/share/man/man1|" \ + Makefile || die + + emake || die +} + +src_install() { + dobin hashcash + doman hashcash.1 sha1.1 +} |