diff options
author | Parabola <dev@list.parabolagnulinux.org> | 2011-05-19 16:52:00 +0000 |
---|---|---|
committer | Parabola <dev@list.parabolagnulinux.org> | 2011-05-19 16:52:00 +0000 |
commit | b8ea4461e461f0e1782e28b5810eb811423afa79 (patch) | |
tree | c11f256cb01c37f0b2ab370c4838fa4e3949e2a1 /testing/libtirpc | |
parent | 82b609ecce972e236c2ce887ecd55ec30e2874a7 (diff) |
Thu May 19 16:52:00 UTC 2011
Diffstat (limited to 'testing/libtirpc')
-rw-r--r-- | testing/libtirpc/PKGBUILD | 32 | ||||
-rw-r--r-- | testing/libtirpc/libtirpc-0.2.1-fortify.patch | 18 |
2 files changed, 0 insertions, 50 deletions
diff --git a/testing/libtirpc/PKGBUILD b/testing/libtirpc/PKGBUILD deleted file mode 100644 index b222249ff..000000000 --- a/testing/libtirpc/PKGBUILD +++ /dev/null @@ -1,32 +0,0 @@ -# $Id: PKGBUILD 121179 2011-04-29 06:50:46Z stephane $ -# Maintainer: Tobias Powalowski <tpowa@archlinux.org> -pkgname=libtirpc -pkgver=0.2.1 -pkgrel=3 -pkgdesc="Transport Independent RPC library (SunRPC replacement)" -arch=(i686 x86_64) -depends=('glibc' 'libgssglue' 'krb5') -url="http://libtirpc.sourceforge.net/" -license=('GPL2') -source=(http://downloads.sourceforge.net/sourceforge/libtirpc/${pkgname}-${pkgver}.tar.bz2 - libtirpc-0.2.1-fortify.patch) -backup=('etc/netconfig') -options=(!libtool) - -build() { - cd "${srcdir}/${pkgname}-${pkgver}" - # fix http://bugs.gentoo.org/293593 - # https://bugs.archlinux.org/task/20082 - patch -Np1 -i ../libtirpc-0.2.1-fortify.patch - ./configure --prefix=/usr --enable-gss - make -} - -package() { - cd "${srcdir}/${pkgname}-${pkgver}" - make DESTDIR="${pkgdir}" install - # install netconfig - install -D -m644 doc/etc_netconfig "${pkgdir}"/etc/netconfig -} -md5sums=('d77eb15f464bf9d6e66259eaf78b2a4e' - '2e5c067f1651469dfbbdc91d3c9c60e8') diff --git a/testing/libtirpc/libtirpc-0.2.1-fortify.patch b/testing/libtirpc/libtirpc-0.2.1-fortify.patch deleted file mode 100644 index 7375bf83e..000000000 --- a/testing/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, |