diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2011-03-21 14:48:15 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2011-03-21 14:48:15 +0000 |
commit | d7c5a0e66c2b8ec9e4c704362a42ee72b0148b9e (patch) | |
tree | 9536649d4b5ee46b9cb01e65c333c3d2c6fc09eb /sys-auth | |
parent | x86 stable per bug 357285 (diff) | |
download | historical-d7c5a0e66c2b8ec9e4c704362a42ee72b0148b9e.tar.gz historical-d7c5a0e66c2b8ec9e4c704362a42ee72b0148b9e.tar.bz2 historical-d7c5a0e66c2b8ec9e4c704362a42ee72b0148b9e.zip |
Version bump; remove old version per bug #359787.
Package-Manager: portage-2.2.0_alpha28/cvs/Linux x86_64
Diffstat (limited to 'sys-auth')
-rw-r--r-- | sys-auth/pam-pgsql/ChangeLog | 11 | ||||
-rw-r--r-- | sys-auth/pam-pgsql/Manifest | 15 | ||||
-rw-r--r-- | sys-auth/pam-pgsql/files/pam-pgsql-0.7.1-64bit.patch | 138 | ||||
-rw-r--r-- | sys-auth/pam-pgsql/pam-pgsql-0.7.3.ebuild (renamed from sys-auth/pam-pgsql/pam-pgsql-0.7.1-r1.ebuild) | 15 |
4 files changed, 22 insertions, 157 deletions
diff --git a/sys-auth/pam-pgsql/ChangeLog b/sys-auth/pam-pgsql/ChangeLog index b244b06b0e1a..9de60cff1fa2 100644 --- a/sys-auth/pam-pgsql/ChangeLog +++ b/sys-auth/pam-pgsql/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for sys-auth/pam-pgsql -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-auth/pam-pgsql/ChangeLog,v 1.4 2010/04/07 14:35:55 flameeyes Exp $ +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-auth/pam-pgsql/ChangeLog,v 1.5 2011/03/21 14:48:14 flameeyes Exp $ + +*pam-pgsql-0.7.3 (21 Mar 2011) + + 21 Mar 2011; Diego E. Pettenò <flameeyes@gentoo.org> + -pam-pgsql-0.7.1-r1.ebuild, -files/pam-pgsql-0.7.1-64bit.patch, + +pam-pgsql-0.7.3.ebuild: + Version bump; remove old version per bug #359787. *pam-pgsql-0.7.1-r1 (07 Apr 2010) diff --git a/sys-auth/pam-pgsql/Manifest b/sys-auth/pam-pgsql/Manifest index 08796c924c08..2030aacb6647 100644 --- a/sys-auth/pam-pgsql/Manifest +++ b/sys-auth/pam-pgsql/Manifest @@ -1,15 +1,14 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 -AUX pam-pgsql-0.7.1-64bit.patch 4270 RMD160 5070f30d86fad0b107516ce4fff6ab2f5503423e SHA1 df223af4db78c9102ff5672dad77645d41c79343 SHA256 99b57bd409544d9977c7f1521d7d268bac6674cb32535f40bbf8d9511a0517df -DIST pam-pgsql-0.7.1.tar.gz 304824 RMD160 4bde31c836d5a2204e904111f5eb953ce529f1e6 SHA1 bd62b6d66c3972e244e90f7228dc082796957870 SHA256 952b0baff182c270fd4027f75ee6b5663d430bd129067ada80b61d33e8fe9f19 -EBUILD pam-pgsql-0.7.1-r1.ebuild 1408 RMD160 fb062403b7f288374317f70be22694a051536b08 SHA1 455739b7bcd6a5273f036281faf1a8e5a3f0dc37 SHA256 162b981d51b718e08134a927827976f23118d3cc399085281e0da8b476aaecfd -MISC ChangeLog 1375 RMD160 b5f820c1eb6c6318706e44ac15ddd8b481d936c2 SHA1 bbd49c3ef1ce694323549f64b7bacf781cf04ed7 SHA256 78b90c045efa39d94446a0a0bbf7adee39035f5ac61d4076629177ba57e58fea +DIST pam-pgsql-0.7.3.tar.gz 302305 RMD160 7f6cec0f192023a4abfab04fab80760d0b9c329c SHA1 04ba5b853b2a8c22d8588a346e6e45184613e299 SHA256 0d1f4c2ca220a746b8750fa9c4c019e4129e16312b2cb46c78ef282dc018571b +EBUILD pam-pgsql-0.7.3.ebuild 1376 RMD160 706b292a15836a77dbbb59ba2c78267ac5530298 SHA1 ec28eb1d630952070ccefa3792799896d0eaa01f SHA256 341a2e415b0ac55402424cf91e0cc5b2be7c1763861c9ad11b24393d603ac87b +MISC ChangeLog 1609 RMD160 6fa3deca33c865dfce9258dd1097ab5ff65243ba SHA1 5b2328a401378033b4bb0d1702dbc516536c2d4a SHA256 213fdff40a6c1ee084e1ae53ab86111ed47fa978145967957693deb75ed2f639 MISC metadata.xml 218 RMD160 1955c7446d4ceb77506ba7b58ee35913c576a72c SHA1 02dacc356a39905402083cb54ae4f6dd0ac59fad SHA256 e0bb49cab71cc84d8bdad26876197164073722b378d27a5bf55bbfd2afdbd19c -----BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.14 (GNU/Linux) +Version: GnuPG v2.0.17 (GNU/Linux) -iEYEARECAAYFAku8mFgACgkQAiZjviIA2XitdQCdESVb4wBKjwVURDlPqieTKaHm -ZncAn1L2rK1YRScq2RJaddFIWy9SFjAH -=+1CQ +iEYEARECAAYFAk2HZSQACgkQAiZjviIA2Xih8gCgs1w3gogG3c0zxk5K1blRW41M +IK4AnAzQg7iGGNZ0dOxDGajApAmFJ0p6 +=uRcy -----END PGP SIGNATURE----- diff --git a/sys-auth/pam-pgsql/files/pam-pgsql-0.7.1-64bit.patch b/sys-auth/pam-pgsql/files/pam-pgsql-0.7.1-64bit.patch deleted file mode 100644 index 94f171aa67fa..000000000000 --- a/sys-auth/pam-pgsql/files/pam-pgsql-0.7.1-64bit.patch +++ /dev/null @@ -1,138 +0,0 @@ -From 30361fa5f3266c0f088bbc89eb06dddbd032fc54 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Diego=20Elio=20'Flameeyes'=20Petten=C3=B2?= <flameeyes@gmail.com> -Date: Wed, 7 Apr 2010 15:58:04 +0200 -Subject: [PATCH] Fix md5 code under 64-bit platforms. - -The code was previously singling out the Alpha platform as 64-bit, but -that's definitely not the only platform where unsigned long is 64-bit -rather than 32. - -This change actually relies on C89 standard integers (uint32_t) so that -there is no more risk of getting it wrong. ---- - src/md5.c | 28 ++++++++++++++-------------- - src/md5.h | 10 +++------- - 2 files changed, 17 insertions(+), 21 deletions(-) - -diff --git a/src/md5.c b/src/md5.c -index 3b51e76..df24f16 100644 ---- a/src/md5.c -+++ b/src/md5.c -@@ -17,7 +17,7 @@ - #include <string.h> /* for memcpy() */ - #include "md5.h" - --static void MD5Transform(uint32 buf[4], uint32 const in[16]); -+static void MD5Transform(uint32_t buf[4], uint32_t const in[16]); - - #ifndef HIGHFIRST - #define byteReverse(buf, len) /* Nothing */ -@@ -30,11 +30,11 @@ void byteReverse(unsigned char *buf, unsigned longs); - */ - void byteReverse(unsigned char *buf, unsigned longs) - { -- uint32 t; -+ uint32_t t; - do { -- t = (uint32) ((unsigned) buf[3] << 8 | buf[2]) << 16 | -+ t = (uint32_t) ((unsigned) buf[3] << 8 | buf[2]) << 16 | - ((unsigned) buf[1] << 8 | buf[0]); -- *(uint32 *) buf = t; -+ *(uint32_t *) buf = t; - buf += 4; - } while (--longs); - } -@@ -62,12 +62,12 @@ void MD5Init(struct MD5Context *ctx) - */ - void MD5Update(struct MD5Context *ctx, unsigned char const *buf, unsigned len) - { -- uint32 t; -+ uint32_t t; - - /* Update bitcount */ - - t = ctx->bits[0]; -- if ((ctx->bits[0] = t + ((uint32) len << 3)) < t) -+ if ((ctx->bits[0] = t + ((uint32_t) len << 3)) < t) - ctx->bits[1]++; /* Carry from low to high */ - ctx->bits[1] += len >> 29; - -@@ -85,7 +85,7 @@ void MD5Update(struct MD5Context *ctx, unsigned char const *buf, unsigned len) - } - memcpy(p, buf, t); - byteReverse(ctx->in, 16); -- MD5Transform(ctx->buf, (uint32 *) ctx->in); -+ MD5Transform(ctx->buf, (uint32_t *) ctx->in); - buf += t; - len -= t; - } -@@ -94,7 +94,7 @@ void MD5Update(struct MD5Context *ctx, unsigned char const *buf, unsigned len) - while (len >= 64) { - memcpy(ctx->in, buf, 64); - byteReverse(ctx->in, 16); -- MD5Transform(ctx->buf, (uint32 *) ctx->in); -+ MD5Transform(ctx->buf, (uint32_t *) ctx->in); - buf += 64; - len -= 64; - } -@@ -129,7 +129,7 @@ void MD5Final(unsigned char *digest, struct MD5Context *ctx) - /* Two lots of padding: Pad the first block to 64 bytes */ - memset(p, 0, count); - byteReverse(ctx->in, 16); -- MD5Transform(ctx->buf, (uint32 *) ctx->in); -+ MD5Transform(ctx->buf, (uint32_t *) ctx->in); - - /* Now fill the next block with 56 bytes */ - memset(ctx->in, 0, 56); -@@ -140,10 +140,10 @@ void MD5Final(unsigned char *digest, struct MD5Context *ctx) - byteReverse(ctx->in, 14); - - /* Append length in bits and transform */ -- ((uint32 *) ctx->in)[14] = ctx->bits[0]; -- ((uint32 *) ctx->in)[15] = ctx->bits[1]; -+ ((uint32_t *) ctx->in)[14] = ctx->bits[0]; -+ ((uint32_t *) ctx->in)[15] = ctx->bits[1]; - -- MD5Transform(ctx->buf, (uint32 *) ctx->in); -+ MD5Transform(ctx->buf, (uint32_t *) ctx->in); - byteReverse((unsigned char *) ctx->buf, 4); - memcpy(digest, ctx->buf, 16); - memset(ctx, 0, sizeof(ctx)); /* In case it's sensitive */ -@@ -173,9 +173,9 @@ void MD5Final(unsigned char *digest, struct MD5Context *ctx) - * reflect the addition of 16 longwords of new data. MD5Update blocks - * the data and converts bytes into longwords for this routine. - */ --static void MD5Transform(uint32 buf[4], uint32 const in[16]) -+static void MD5Transform(uint32_t buf[4], uint32_t const in[16]) - { -- register uint32 a, b, c, d; -+ register uint32_t a, b, c, d; - - a = buf[0]; - b = buf[1]; -diff --git a/src/md5.h b/src/md5.h -index 6d8d047..a8a952f 100644 ---- a/src/md5.h -+++ b/src/md5.h -@@ -1,15 +1,11 @@ - #ifndef MD5_H - #define MD5_H - --#ifdef __alpha --typedef unsigned int uint32; --#else --typedef unsigned long uint32; --#endif -+#include <stdint.h> - - struct MD5Context { -- uint32 buf[4]; -- uint32 bits[2]; -+ uint32_t buf[4]; -+ uint32_t bits[2]; - unsigned char in[64]; - }; - --- -1.7.0.4 - diff --git a/sys-auth/pam-pgsql/pam-pgsql-0.7.1-r1.ebuild b/sys-auth/pam-pgsql/pam-pgsql-0.7.3.ebuild index e54e641dcfea..3c2a6833c38c 100644 --- a/sys-auth/pam-pgsql/pam-pgsql-0.7.1-r1.ebuild +++ b/sys-auth/pam-pgsql/pam-pgsql-0.7.3.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2010 Gentoo Foundation +# Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-auth/pam-pgsql/pam-pgsql-0.7.1-r1.ebuild,v 1.1 2010/04/07 14:35:55 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-auth/pam-pgsql/pam-pgsql-0.7.3.ebuild,v 1.1 2011/03/21 14:48:14 flameeyes Exp $ EAPI=2 @@ -15,9 +15,10 @@ else SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" fi -DEPEND="virtual/pam - >=dev-db/postgresql-base-8.0" -RDEPEND="${DEPEND}" +RDEPEND="virtual/pam + >=dev-db/postgresql-base-8.0 + >=dev-libs/libgcrypt-1.2.0" +DEPEND="${RDEPEND}" LICENSE="GPL-2" @@ -25,10 +26,6 @@ IUSE="" SLOT="0" KEYWORDS="~amd64 ~x86" -src_prepare() { - epatch "${FILESDIR}"/${P}-64bit.patch -} - src_configure() { econf \ --sysconfdir=/etc/security \ |