diff options
Diffstat (limited to 'net-libs/ntirpc')
-rw-r--r-- | net-libs/ntirpc/Manifest | 8 | ||||
-rw-r--r-- | net-libs/ntirpc/files/ntirpc-1.4.1-city-header.patch | 60 | ||||
-rw-r--r-- | net-libs/ntirpc/metadata.xml | 14 | ||||
-rw-r--r-- | net-libs/ntirpc/ntirpc-1.4.1.ebuild | 33 | ||||
-rw-r--r-- | net-libs/ntirpc/ntirpc-1.5.2.ebuild | 29 | ||||
-rw-r--r-- | net-libs/ntirpc/ntirpc-1.5.3.ebuild | 32 |
6 files changed, 176 insertions, 0 deletions
diff --git a/net-libs/ntirpc/Manifest b/net-libs/ntirpc/Manifest new file mode 100644 index 000000000000..5c84f2fe16a8 --- /dev/null +++ b/net-libs/ntirpc/Manifest @@ -0,0 +1,8 @@ +AUX ntirpc-1.4.1-city-header.patch 1703 SHA256 48d9c682825a7f4e61c3b52fdd8980ad2f7ffcc096511f0123e0c84c076fb8ea SHA512 568abe507aafacb5a3a80fa7aca09379ff89a08386027aba26664f6f4dfc4fd7423fea5b9eb19de79e2daf2c37bfa246a7dac82a9cdaa2433a9171ac611b15f3 WHIRLPOOL 874fca9ea6e1f46787478534b1e12668cfc090f5a879c590edfb4feda0767901d5be6af5e6866b623d2a7e04f1c0f583e242af982b7664f8645a22bc3a018903 +DIST ntirpc-1.4.1.tar.gz 446025 SHA256 0e0a8a33f49ae91bccd73cfe7cc0ba33641df3cb9ed589dd5d81140a9d8838d0 SHA512 49a27dbd68b3e292437392acf2c010cc968b4d29b82b6e1a84e6c81a0c3979d3b38338212b391294b543ccd321073a33b16d7231ab68d797ead414d1b919137c WHIRLPOOL 01a287654bacf6a1647bb0847197ea7a427cfe6bdb6c379846ab9ca1dc872173edb8c899fe11511155fcddbafec24e4a6536607d4ce31c0b0476c872c8d41176 +DIST ntirpc-1.5.2.tar.gz 433706 SHA256 94751ea3a93c880516fc06d2805399440d92e348b6b78baf35436cda8f7d73d2 SHA512 5bbc48ab5bf2aba7e4c473a6faf586c1aef27a2009bf92082495456c436c707dfdcfc5e16a56c3e31ba3fb68afc3d2d47e8d27ed03be5c0be44e22e24a0cb68e WHIRLPOOL 4e00a07b9d905a1d622fefb3040a3868bf776aaabbdb79406f6569a94f4387716f76f110d21d3bc22693e0cb747d2082e0ba3321ccbfa6146155b295612a3bb6 +DIST ntirpc-1.5.3.tar.gz 434096 SHA256 59a2c9bab3d177112b1db55988cc2eacc1d6f6fc074c0c3a2afc2fc9a740a793 SHA512 bc879e5cb9c16bf76b173f09fac50475ed7616837a625abd433175610cc16399abba2294a8657aadc71d4f45b4b53c97414a77bd52b1f81df3dd990407957363 WHIRLPOOL 5faf60782b782479ffc839c28a51c6a4aa38e9227159ffef2e0470e63aa341b0ac90c85c2def83d4fc2f20b97ca698a357de55528fdd279d1aac17e9b2e02c42 +EBUILD ntirpc-1.4.1.ebuild 791 SHA256 a0836e4c4916c533b7396df2ee20ddeeffd647b0c2bf684ae2c3f3c6a0a1da7d SHA512 b455cdefaad312a7bc1112a4fa5f1cdee295f4c29ff502d87b5da9a68a397340483f8d6cbb1ca58eb27c8681b95f662d08bae1fdb1b45a4b1c3d01ca29aaf3e6 WHIRLPOOL 1e4281d51eee121b0592877b41b651d000da09bcfe6a17edbdad6d24881d4e8e301f1937417bac567a9a234c4499e22a91f8e37402acffcdd8659e5d19a96581 +EBUILD ntirpc-1.5.2.ebuild 724 SHA256 07388eb02ae5e45a69030c14fbd0f89a55e35c7b9f360d1de2a76fa77c22c262 SHA512 bd058c16d0b26ad849948f205b29c01f5380e402134784003a0e1c74b68de3d36c877d0cbd041b1179c3869fa16533782082a75d7de89ac340376d0e4684eccf WHIRLPOOL 1ff4c5d1d7a39b88ad742c8eb9887d3c9a4b04059fefa51c370a3627c469a8aec73646460126a6c0b15431a1fbf2357929c493b168038279daaf5b2d6f8a9889 +EBUILD ntirpc-1.5.3.ebuild 809 SHA256 39f51ee21ea44267a341b9b9606dfa497e29ac5cad7559f3c2375145c8830edf SHA512 925ee0874d29b8eed85c41d2162d1964f0e479583cad73cccadffb248826cf82ba4148eedadd839dd9134e622482a0233456d9594b3f1261e550704e0e1aa6fa WHIRLPOOL 8dbd92f25978333d10adc6e11153f59911d7b98cb093e9099e49a85703d865d07ffc4072f905fae28ecb76f8156394ccf4e194c1f43718413ff275345e60dee6 +MISC metadata.xml 427 SHA256 95627d274c89ec78981d725152516d71c90b8e525c2508b6b38456eb5fc58890 SHA512 99f5af46839fbf52e5217cf831a7a95fa3f5d501d61ff63488aa7989e0ec98151b2f94607a39f879e0e5b0ba79bc732ee7224a9e4196ff9a40fa13253ece0b0c WHIRLPOOL 23695a9cbcb15afc57eb4b0779502c518fc5f06926da0f8557890f8aa106f48854f14992793816c58a13e24028b4ffa612eae2a2cc9444b46ed2a3dda44b78cd diff --git a/net-libs/ntirpc/files/ntirpc-1.4.1-city-header.patch b/net-libs/ntirpc/files/ntirpc-1.4.1-city-header.patch new file mode 100644 index 000000000000..25c10e393797 --- /dev/null +++ b/net-libs/ntirpc/files/ntirpc-1.4.1-city-header.patch @@ -0,0 +1,60 @@ +From c2416e1996f694ea0cefb217f806e45931ef0b03 Mon Sep 17 00:00:00 2001 +From: Dylan Reid <dgreid@chromium.org> +Date: Wed, 15 Feb 2017 12:31:55 -0800 +Subject: [PATCH] Make city.h includes consistent + +Most of the code base already uses <misc/city.h>. Modify the places +that include "city.h" to follow that pattern. cmake doesn't add misc to +the include paths passed to the compiler. I ran into "can't find +city.h" errors when attempting to add an ebuild for gentoo. + +Change-Id: I1e07d82bbe58fbae4759263734ac22170220eeb7 +Signed-off-by: Dylan Reid <dgreid@chromium.org> +--- + ntirpc/misc/citycrc.h | 2 +- + src/city-test.c | 2 +- + src/citycrc.h | 2 +- + 3 files changed, 3 insertions(+), 3 deletions(-) + +diff --git a/ntirpc/misc/citycrc.h b/ntirpc/misc/citycrc.h +index 57069344f1f8..d3620158a5ca 100644 +--- a/ntirpc/misc/citycrc.h ++++ b/ntirpc/misc/citycrc.h +@@ -34,7 +34,7 @@ + #ifndef CITY_HASH_CRC_H_ + #define CITY_HASH_CRC_H_ + +-#include "city.h" ++#include <misc/city.h> + + /* Hash function for a byte array. */ + uint128 CityHashCrc128(const char *s, size_t len); +diff --git a/src/city-test.c b/src/city-test.c +index 03d98a2ba9ec..8b504dd5c57c 100644 +--- a/src/city-test.c ++++ b/src/city-test.c +@@ -27,7 +27,7 @@ + #include <string.h> + #include <stdio.h> + +-#include "city.h" ++#include <misc/city.h> + #ifdef __SSE4_2__ + #include "citycrc.h" + #endif +diff --git a/src/citycrc.h b/src/citycrc.h +index f6cab94eff04..7998521b68cf 100644 +--- a/src/citycrc.h ++++ b/src/citycrc.h +@@ -33,7 +33,7 @@ + #ifndef CITY_HASH_CRC_H_ + #define CITY_HASH_CRC_H_ + +-#include "city.h" ++#include <misc/city.h> + + /* Hash function for a byte array. */ + uint128 CityHashCrc128(const char *s, size_t len); +-- +2.11.1 + diff --git a/net-libs/ntirpc/metadata.xml b/net-libs/ntirpc/metadata.xml new file mode 100644 index 000000000000..e95e6d1fbaee --- /dev/null +++ b/net-libs/ntirpc/metadata.xml @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="project"> + <email>base-system@gentoo.org</email> +</maintainer> +<use> + <flag name="gssapi">Include support for RPCSEC GSS</flag> + <flag name="rdma">Include support for RDMA RPC</flag> +</use> +<upstream> + <remote-id type="github">nfs-ganesha/ntirpc</remote-id> +</upstream> +</pkgmetadata> diff --git a/net-libs/ntirpc/ntirpc-1.4.1.ebuild b/net-libs/ntirpc/ntirpc-1.4.1.ebuild new file mode 100644 index 000000000000..61ddf68d5d6f --- /dev/null +++ b/net-libs/ntirpc/ntirpc-1.4.1.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" + +inherit cmake-multilib + +DESCRIPTION="Transport Independent RPC library for nfs-ganesha" +HOMEPAGE="https://github.com/linuxbox2/ntirpc" +SRC_URI="${HOMEPAGE}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="gssapi rdma" + +# Since the GSS option only controls some extra files to be enabled, +# there's nothing to list in the depend string for it. +RDEPEND="app-crypt/mit-krb5 + rdma? ( sys-fabric/librdmacm )" +DEPEND="${RDEPEND}" + +PATCHES=( + "${FILESDIR}"/${P}-city-header.patch +) + +multilib_src_configure() { + local mycmakeargs=( + $(cmake-utils_use_use gssapi GSS) + $(cmake-utils_use_use rdma RPC_RDMA) + ) + cmake-utils_src_configure +} diff --git a/net-libs/ntirpc/ntirpc-1.5.2.ebuild b/net-libs/ntirpc/ntirpc-1.5.2.ebuild new file mode 100644 index 000000000000..0f07315803a4 --- /dev/null +++ b/net-libs/ntirpc/ntirpc-1.5.2.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit cmake-multilib + +DESCRIPTION="Transport Independent RPC library for nfs-ganesha" +HOMEPAGE="https://github.com/linuxbox2/ntirpc" +SRC_URI="${HOMEPAGE}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="gssapi rdma" + +# Since the GSS option only controls some extra files to be enabled, +# there's nothing to list in the depend string for it. +RDEPEND="app-crypt/mit-krb5 + rdma? ( sys-fabric/librdmacm )" +DEPEND="${RDEPEND}" + +multilib_src_configure() { + local mycmakeargs=( + -DUSE_GSS="$(usex gssapi)" + -DUSE_PRC_RDMA="$(usex rdma)" + ) + cmake-utils_src_configure +} diff --git a/net-libs/ntirpc/ntirpc-1.5.3.ebuild b/net-libs/ntirpc/ntirpc-1.5.3.ebuild new file mode 100644 index 000000000000..baba07b564de --- /dev/null +++ b/net-libs/ntirpc/ntirpc-1.5.3.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit cmake-multilib + +COMMIT="fadcbdedb65998925482b26c88964b4213b9e1ac" +DESCRIPTION="Transport Independent RPC library for nfs-ganesha" +HOMEPAGE="https://github.com/linuxbox2/ntirpc" +SRC_URI="${HOMEPAGE}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="gssapi rdma" + +# Since the GSS option only controls some extra files to be enabled, +# there's nothing to list in the depend string for it. +RDEPEND="app-crypt/mit-krb5 + rdma? ( sys-fabric/librdmacm )" +DEPEND="${RDEPEND}" + +S="${WORKDIR}/${PN}-${COMMIT}" + +multilib_src_configure() { + local mycmakeargs=( + -DUSE_GSS="$(usex gssapi)" + -DUSE_PRC_RDMA="$(usex rdma)" + ) + cmake-utils_src_configure +} |