commit: ac6a398029190edbeb2662fcf867d0ed7e015c0f Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org> AuthorDate: Sun Dec 30 01:26:30 2018 +0000 Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org> CommitDate: Sun Dec 30 01:26:30 2018 +0000 URL: https://gitweb.gentoo.org/proj/musl.git/commit/?id=ac6a3980
net-libs/libnsl: in tree version works Signed-off-by: Anthony G. Basile <blueness <AT> gentoo.org> net-libs/libnsl/Manifest | 1 - net-libs/libnsl/files/libnsl-1.1.0-musl.patch | 47 ------------------------ net-libs/libnsl/libnsl-1.1.0-r3.ebuild | 52 --------------------------- net-libs/libnsl/metadata.xml | 12 ------- 4 files changed, 112 deletions(-) diff --git a/net-libs/libnsl/Manifest b/net-libs/libnsl/Manifest deleted file mode 100644 index 399abba..0000000 --- a/net-libs/libnsl/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST libnsl-1.1.0.tar.gz 209148 SHA256 a23cfcf7f29f168b95e821d01217600096c05be8cd5c085450cb4f160425277b SHA512 12555ed701d06247b6774c6c2759ada280ffce73820976adb4aaa48b50b97121b1805412541778dfcdd8845af6a10b2e5a9dc0eb7b953e84467d0a40ad3360cd WHIRLPOOL c347bbd72b75d1e3ab0069f802da8e4e4e4931a8a61b4abed1dd664c4576e7e22e96c012858c684ec79a981aea84460eae3a2ccb8e94aa7bfecfdd99c3e54730 diff --git a/net-libs/libnsl/files/libnsl-1.1.0-musl.patch b/net-libs/libnsl/files/libnsl-1.1.0-musl.patch deleted file mode 100644 index 7b73c49..0000000 --- a/net-libs/libnsl/files/libnsl-1.1.0-musl.patch +++ /dev/null @@ -1,47 +0,0 @@ -diff -Naur libnsl-libnsl-1.1.0.orig/src/rpcsvc/nis.h libnsl-libnsl-1.1.0/src/rpcsvc/nis.h ---- libnsl-libnsl-1.1.0.orig/src/rpcsvc/nis.h 2017-08-18 12:40:34.000000000 -0700 -+++ libnsl-libnsl-1.1.0/src/rpcsvc/nis.h 2017-09-16 16:48:58.148882799 -0700 -@@ -56,10 +56,42 @@ - * <[email protected]> - */ - -- - #ifndef __nis_object_h - #define __nis_object_h - -+#ifndef rawmemchr -+#define rawmemchr(s, c) memchr((s),(size_t)-1,(c)) -+#endif -+ -+#ifndef __asprintf -+#define __asprintf asprintf -+#endif -+ -+#ifndef __mempcpy -+#define __mempcpy mempcpy -+#endif -+ -+#ifdef __stpcpy -+#define __stpcpy stpcpy -+#endif -+ -+#ifndef __strtok_r -+#define __strtok_r strtok_r -+#endif -+ -+#ifndef __always_inline -+#define __always_inline inline -+#endif -+ -+#ifndef TEMP_FAILURE_RETRY -+#define TEMP_FAILURE_RETRY(exp) ({ \ -+ typeof (exp) _rc; \ -+ do { \ -+ _rc = (exp); \ -+ } while (_rc == -1 && errno == EINTR); \ -+ _rc; }) -+#endif -+ - #define NIS_MAXSTRINGLEN 255 - #define NIS_MAXNAMELEN 1024 - #define NIS_MAXATTRNAME 32 diff --git a/net-libs/libnsl/libnsl-1.1.0-r3.ebuild b/net-libs/libnsl/libnsl-1.1.0-r3.ebuild deleted file mode 100644 index 85388a1..0000000 --- a/net-libs/libnsl/libnsl-1.1.0-r3.ebuild +++ /dev/null @@ -1,52 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit autotools multilib-minimal - -DESCRIPTION="Public client interface for NIS(YP) and NIS+ in a IPv6 ready version" -HOMEPAGE="https://github.com/thkukuk/libnsl" -SRC_URI="https://github.com/thkukuk/${PN}/archive/${P}.tar.gz" - -SLOT="0/2" -LICENSE="LGPL-2.1+" - -# Stabilize together with glibc-2.26! -KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~sh ~sparc ~x86" - -IUSE="" - -DEPEND=" - net-libs/libtirpc[${MULTILIB_USEDEP}] -" -RDEPEND="${DEPEND} - !<sys-libs/glibc-2.26 -" - -PATCHES=( "${FILESDIR}"/${P}-musl.patch ) - -S=${WORKDIR}/${PN}-${P} - -src_prepare(){ - default - find "${S}" -name '*.h' -exec \ - sed -e 's|^__BEGIN_DECLS$|#ifdef __cplusplus\nextern "C" {\n#endif|' \ - -e 's|^__END_DECLS$|#ifdef __cplusplus\n}\n#endif|' \ - -e 's| __THROW||' \ - -i {} \; || die - eautoreconf -} - -multilib_src_configure() { - local myconf=( - --enable-shared - --disable-static - ) - ECONF_SOURCE=${S} econf "${myconf[@]}" -} - -multilib_src_install_all() { - einstalldocs - find "${ED}" -name '*.la' -delete || die -} diff --git a/net-libs/libnsl/metadata.xml b/net-libs/libnsl/metadata.xml deleted file mode 100644 index bcf493e..0000000 --- a/net-libs/libnsl/metadata.xml +++ /dev/null @@ -1,12 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> -<maintainer type="project"> - <email>[email protected]</email> - <name>Gentoo Toolchain Project</name> -</maintainer> -<maintainer type="project"> - <email>[email protected]</email> - <name>Gentoo Base System Project</name> -</maintainer> -</pkgmetadata>
