diff options
author | Treeve Jelbert | 2013-03-17 19:57:18 +0100 |
---|---|---|
committer | Treeve Jelbert | 2013-03-17 19:57:18 +0100 |
commit | 686805fd0ac4cc4b703c0dccb3b03d7cebbfa9e7 (patch) | |
tree | da5e64442c02e9bf87bb134e28ec2058e9f2326a | |
parent | 0992dd209e7853934452ab560cf5c86f4d362253 (diff) |
libtirpc: => 0.2.3
-rwxr-xr-x | libs/libtirpc/DETAILS | 4 | ||||
-rw-r--r-- | libs/libtirpc/HISTORY | 4 | ||||
-rwxr-xr-x | libs/libtirpc/PRE_BUILD | 9 | ||||
-rw-r--r-- | libs/libtirpc/libtirpc-0.2.1-fortify.patch | 18 | ||||
-rw-r--r-- | libs/libtirpc/libtirpc-0.2.2-rpc-des-prot.patch | 36 |
5 files changed, 6 insertions, 65 deletions
diff --git a/libs/libtirpc/DETAILS b/libs/libtirpc/DETAILS index 0e8c0d8a51..89ebabc078 100755 --- a/libs/libtirpc/DETAILS +++ b/libs/libtirpc/DETAILS @@ -1,8 +1,8 @@ SPELL=libtirpc - VERSION=0.2.2 + VERSION=0.2.3 + SOURCE_HASH=sha512:dd480fcb6feda4a2bba7e5a5dc9b1f523697a39ddaa44a5742405f66d202996d99a562a31dbf6daf06e9b7ce5d82dfd1cce7b76a34466b92f84176e77498163d SOURCE="${SPELL}-${VERSION}.tar.bz2" SOURCE_URL[0]="${SOURCEFORGE_URL}/${SPELL}/${SOURCE}" - SOURCE_HASH=sha512:5d0f5a50a703580d713c5f3c266dd5d3bebcd641356752c629e6e7b560ce8ceced1bb908d6c93873f3c2734eacc7f3dc018a31dda18c6ae973dd105223b17d87 SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-${VERSION}" WEB_SITE="http://sourceforge.net/projects/libtirpc/" LICENSE[0]="BSD" diff --git a/libs/libtirpc/HISTORY b/libs/libtirpc/HISTORY index d8f3f8c8cd..01e687335b 100644 --- a/libs/libtirpc/HISTORY +++ b/libs/libtirpc/HISTORY @@ -1,3 +1,7 @@ +2013-03-17 Treeve Jelbert <treeve@sourcemage.org> + * DDETAILS: version 0.2.3 + * PRE_BUILD, *.patch: deleted + 2011-06-24 Elisamuel Resto <ryuji@sourcemage.org> * PRE_BUILD: Added to apply patches and fix build * libtirpc-0.2.1-fortify.patch: Avoid possible overflow if hp_length < 4 diff --git a/libs/libtirpc/PRE_BUILD b/libs/libtirpc/PRE_BUILD deleted file mode 100755 index e9f8dbd1f0..0000000000 --- a/libs/libtirpc/PRE_BUILD +++ /dev/null @@ -1,9 +0,0 @@ -default_pre_build && -cd "${SOURCE_DIRECTORY}" && - -# Avoid possible overflow if hp_length is less than four -patch -p1 -i "${SPELL_DIRECTORY}/${SPELL}-0.2.1-fortify.patch" && - -# This fixes the undefined reference to _des_crypt_call (Bug #11) -patch -p1 -i "${SPELL_DIRECTORY}/${SPELL}-0.2.2-rpc-des-prot.patch" && -echo "" > "${SOURCE_DIRECTORY}/src/des_crypt.c" diff --git a/libs/libtirpc/libtirpc-0.2.1-fortify.patch b/libs/libtirpc/libtirpc-0.2.1-fortify.patch deleted file mode 100644 index 7375bf83e4..0000000000 --- a/libs/libtirpc/libtirpc-0.2.1-fortify.patch +++ /dev/null @@ -1,18 +0,0 @@ -Index: libtirpc-0.2.1/src/getrpcport.c -=================================================================== ---- libtirpc-0.2.1.orig/src/getrpcport.c -+++ libtirpc-0.2.1/src/getrpcport.c -@@ -54,11 +54,11 @@ getrpcport(host, prognum, versnum, proto - - if ((hp = gethostbyname(host)) == NULL) - return (0); -+ if (hp->h_length != sizeof(addr.sin_addr.s_addr)) -+ return (0); - memset(&addr, 0, sizeof(addr)); - addr.sin_family = AF_INET; - addr.sin_port = 0; -- if (hp->h_length > sizeof(addr)) -- hp->h_length = sizeof(addr); - memcpy(&addr.sin_addr.s_addr, hp->h_addr, (size_t)hp->h_length); - /* Inconsistent interfaces need casts! :-( */ - return (pmap_getport(&addr, (u_long)prognum, (u_long)versnum, diff --git a/libs/libtirpc/libtirpc-0.2.2-rpc-des-prot.patch b/libs/libtirpc/libtirpc-0.2.2-rpc-des-prot.patch deleted file mode 100644 index c5de6da406..0000000000 --- a/libs/libtirpc/libtirpc-0.2.2-rpc-des-prot.patch +++ /dev/null @@ -1,36 +0,0 @@ -From f2f43212b33dea42635061c82645287454a70107 Mon Sep 17 00:00:00 2001 -From: Mike Frysinger <vapier@gentoo.org> -Date: Sat, 11 Jun 2011 15:21:55 -0400 -Subject: [PATCH] add multiple inclusion protection to rpc/des.h - -If you try to include this file multiple times, you get a build failure -due to redefinitions of enums and such. - -Signed-off-by: Mike Frysinger <vapier@gentoo.org> ---- - tirpc/rpc/des.h | 5 +++++ - 1 files changed, 5 insertions(+), 0 deletions(-) - -diff --git a/tirpc/rpc/des.h b/tirpc/rpc/des.h -index e3d6897..d2881ad 100644 ---- a/tirpc/rpc/des.h -+++ b/tirpc/rpc/des.h -@@ -33,6 +33,9 @@ - * Copyright (c) 1986 by Sun Microsystems, Inc. - */ - -+#ifndef _RPC_DES_H_ -+#define _RPC_DES_H_ -+ - #define DES_MAXLEN 65536 /* maximum # of bytes to encrypt */ - #define DES_QUICKLEN 16 /* maximum # of bytes to encrypt quickly */ - -@@ -80,3 +83,5 @@ struct desparams { - * Software DES. - */ - extern int _des_crypt( char *, int, struct desparams * ); -+ -+#endif --- -1.7.5.3 - |