summaryrefslogtreecommitdiff
path: root/net-libs/libgssglue
diff options
context:
space:
mode:
Diffstat (limited to 'net-libs/libgssglue')
-rw-r--r--net-libs/libgssglue/Manifest7
-rw-r--r--net-libs/libgssglue/files/libgssglue-0.3-protos.patch15
-rw-r--r--net-libs/libgssglue/files/libgssglue-0.4-implicit-declarations.patch15
-rw-r--r--net-libs/libgssglue/libgssglue-0.4.ebuild37
-rw-r--r--net-libs/libgssglue/metadata.xml5
5 files changed, 79 insertions, 0 deletions
diff --git a/net-libs/libgssglue/Manifest b/net-libs/libgssglue/Manifest
new file mode 100644
index 000000000000..84f26353cb87
--- /dev/null
+++ b/net-libs/libgssglue/Manifest
@@ -0,0 +1,7 @@
+AUX libgssglue-0.3-protos.patch 415 SHA256 ff0b6e78ab30222f813fcb538a60dafdfb806a23e45ed41d2be1b6f0a1e27c30 SHA512 0993ce5908d1388490c195cd7da7950d019ac2937e4aa374dad515b12c9775ebbc578f2635b508b333fd8f961b4f8816db7c5e4891ace07f042c7ea6588c0307 WHIRLPOOL 284e2d0e6a34e9f173cf127de0df7439cb07f40ac14d0a7bfc0c981dea9fd0770881d583654cb6cf6f522ad6f3c87df0dad8ff93d0f0aa945fd79a1d7a04aaf9
+AUX libgssglue-0.4-implicit-declarations.patch 470 SHA256 71140624b5fd12828c37a88ca74e767916051d53790cb2073d504b9aba6e82f6 SHA512 3bfe59382a33538c0930d41443899a08178a74e5045d0faac2bda0ce2c5556fcf77cd930a26c26b8d8e8af6b3682fb65e6bdeff2b990d8b810f5ef917c4c8ada WHIRLPOOL 9e6ace04467381c2923d1e1c6aa2047865964e855f9b3f9d103e29606ee3c3f2d22143865693b6f7adf07f08de894249201168c5eeb1488bfd911dbf9481dee9
+DIST libgssglue-0.4.tar.gz 346984 SHA256 3f791a75502ba723e5e85e41e5e0c711bb89e2716b7c0ec6e74bd1df6739043a SHA512 25d514c08320e42851ff153d7691267a8454f205492faf942f566aa30c1ac1c83bd095732a1a0fcc010ba3a5d48b4c95a196ad05bc821598cc1fc3a2c4960d29 WHIRLPOOL 5f050ea5c429dcc97050e23e6b89bff175c5150916bc0a6b351faf31e4d962b6d81df1f4984ae5f9e44119550809a57818a5ccc6f65af77cbf5f73b19de28cb9
+EBUILD libgssglue-0.4.ebuild 839 SHA256 def598cc4d2aa25f332e6076f7ed410645ba184f1d266db82af8fc42a1453735 SHA512 d318f0ac3b1c81bda4a017c5e412b3cb16d467615a9ca5a6ee2b53e1bb0c61425c47ab5a760ad931dfa3624ed6b4065176a8cd6154799735a89796067d3f4bd5 WHIRLPOOL ba994fa38db85009b84ab9be466331d741f05649e404251bbae2603bf91481faa78287778ac38ede754083f6ef9e7caaeef959b3da12308d2305a4f5bda653e4
+MISC ChangeLog 2552 SHA256 3d35e72a3b54bcc62851af3fa2b61446d84c41e6565a47480c157feaa3905929 SHA512 8b078f881be059a7b998f47077d5fb58c2a4640f6e3a61f99de40e1ff6871875769ba465add72040efca12b6f8e1782abff0f32538f641280ed753a9de40b1dd WHIRLPOOL 7749e69f2e3a4b15ac58cd64ceb4d27b0c2a857a57f083203b2a7403bb03bbf7d41c75d1bf1939304d83b3dc9d62aca51054b8dbf0e3e8decac4c75dfbd37a40
+MISC ChangeLog-2015 2946 SHA256 34787a2fb3841bfdfda74da0a2085f7e0102fd999b0f94a2349c38cc043e1ef4 SHA512 ac9ba2afd2e027a88c38460730c287341e3d165ed23bc477ef95547c88794c7cf6b6b6e495d4eda7634f73a23b3f9cc2ccdfd208db32c047b6ea591b471eab03 WHIRLPOOL 431db413685b1eef5b0aa440a6f0038f480a4608fc82fc4066d6f476b4f4712a61d1617c09874e7698393f032f5a5a33fcf1ef14dae2917a101323085dbb96df
+MISC metadata.xml 166 SHA256 2caff447f5bd2701d8456ada5cc633c41ef4373fa4bfeabeb73599d40bcc941b SHA512 a56648c974a1d14dd4c18237532773c72057a13ab90c58b5da04f185e3c12a8bd8d5c21fb06053507f31766291a82dc7d87b34cd65fd94cfe2af7295c813ef84 WHIRLPOOL 1ff70497eca6531f0e0614c72a19f4b8e5ff486a58d369f4f0b36308d1d6b01168f9da887740e3b9f536236be251d3fe05f904d27a9233a7cf613416ba882968
diff --git a/net-libs/libgssglue/files/libgssglue-0.3-protos.patch b/net-libs/libgssglue/files/libgssglue-0.3-protos.patch
new file mode 100644
index 000000000000..5aaf6d03aaac
--- /dev/null
+++ b/net-libs/libgssglue/files/libgssglue-0.3-protos.patch
@@ -0,0 +1,15 @@
+add missing prototype to header
+
+--- a/src/mglueP.h
++++ b/src/mglueP.h
+@@ -477,6 +477,10 @@ OM_uint32 generic_gss_str_to_oid
+ gss_OID * /* oid */
+ );
+
++OM_uint32
++generic_gss_copy_oid_set(OM_uint32 *minor_status,
++ const gss_OID_set_desc * const oidset,
++ gss_OID_set *new_oidset);
+
+ gss_OID gss_find_mechanism_from_name_type (gss_OID); /* name_type */
+
diff --git a/net-libs/libgssglue/files/libgssglue-0.4-implicit-declarations.patch b/net-libs/libgssglue/files/libgssglue-0.4-implicit-declarations.patch
new file mode 100644
index 000000000000..6a98569128d0
--- /dev/null
+++ b/net-libs/libgssglue/files/libgssglue-0.4-implicit-declarations.patch
@@ -0,0 +1,15 @@
+* g_initialize.c:275:5: warning: implicit declaration of function 'getuid' [-Wimplicit-function-declaration]
+* g_initialize.c:275:5: warning: implicit declaration of function 'geteuid' [-Wimplicit-function-declaration]
+
+--- src/g_initialize.c
++++ src/g_initialize.c
+@@ -29,6 +29,9 @@
+ #include "mglueP.h"
+ #include <stdlib.h>
+
++#include <unistd.h> /* getuid, geteuid */
++#include <sys/types.h> /* ditto */
++
+ #include <stdio.h>
+ #include <string.h>
+ #include <ctype.h>
diff --git a/net-libs/libgssglue/libgssglue-0.4.ebuild b/net-libs/libgssglue/libgssglue-0.4.ebuild
new file mode 100644
index 000000000000..651e2aeed115
--- /dev/null
+++ b/net-libs/libgssglue/libgssglue-0.4.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=4
+inherit eutils
+
+DESCRIPTION="exports a gssapi interface which calls other random gssapi libraries"
+HOMEPAGE="http://www.citi.umich.edu/projects/nfsv4/linux/"
+SRC_URI="http://www.citi.umich.edu/projects/nfsv4/linux/${PN}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86"
+IUSE=""
+
+RDEPEND="!app-crypt/libgssapi"
+
+DOCS="AUTHORS ChangeLog NEWS README"
+
+src_prepare() {
+ epatch \
+ "${FILESDIR}"/${PN}-0.3-protos.patch \
+ "${FILESDIR}"/${PN}-0.4-implicit-declarations.patch
+}
+
+src_configure() {
+ # No need to install static libraries, as it uses libdl
+ econf --disable-static
+}
+
+src_install() {
+ default
+ prune_libtool_files
+
+ insinto /etc
+ doins doc/gssapi_mech.conf
+}
diff --git a/net-libs/libgssglue/metadata.xml b/net-libs/libgssglue/metadata.xml
new file mode 100644
index 000000000000..6f49eba8f496
--- /dev/null
+++ b/net-libs/libgssglue/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<!-- maintainer-needed -->
+</pkgmetadata>