public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: net-libs/libgssglue/files/, net-libs/libgssglue/
@ 2018-11-11 13:07 Pacho Ramos
  0 siblings, 0 replies; only message in thread
From: Pacho Ramos @ 2018-11-11 13:07 UTC (permalink / raw
  To: gentoo-commits

commit:     1f0109e8757ae13596cd31b7fef5ccc1b1d808f5
Author:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 11 12:21:39 2018 +0000
Commit:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Sun Nov 11 13:07:26 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1f0109e8

net-libs/libgssglue: Fix no-symlink-lib bug

Closes: https://bugs.gentoo.org/646126
Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11

 .../libgssglue-0.4-implicit-declarations.patch     |  4 +--
 net-libs/libgssglue/libgssglue-0.4-r1.ebuild       | 39 ++++++++++++++++++++++
 2 files changed, 41 insertions(+), 2 deletions(-)

diff --git a/net-libs/libgssglue/files/libgssglue-0.4-implicit-declarations.patch b/net-libs/libgssglue/files/libgssglue-0.4-implicit-declarations.patch
index 6a98569128d..4a6d8a41a7e 100644
--- a/net-libs/libgssglue/files/libgssglue-0.4-implicit-declarations.patch
+++ b/net-libs/libgssglue/files/libgssglue-0.4-implicit-declarations.patch
@@ -1,8 +1,8 @@
 * 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
+--- a/src/g_initialize.c
++++ b/src/g_initialize.c
 @@ -29,6 +29,9 @@
  #include "mglueP.h"
  #include <stdlib.h>

diff --git a/net-libs/libgssglue/libgssglue-0.4-r1.ebuild b/net-libs/libgssglue/libgssglue-0.4-r1.ebuild
new file mode 100644
index 00000000000..fd4c0748d5d
--- /dev/null
+++ b/net-libs/libgssglue/libgssglue-0.4-r1.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+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 ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
+IUSE=""
+
+RDEPEND="!app-crypt/libgssapi"
+DEPEND=""
+
+PATCHES=(
+	"${FILESDIR}"/${PN}-0.3-protos.patch
+	"${FILESDIR}"/${PN}-0.4-implicit-declarations.patch
+)
+
+src_prepare() {
+	default
+	sed -i -e "s,/lib/,/$(get_libdir)/," doc/gssapi_mech.conf #646126
+}
+
+src_configure() {
+	# No need to install static libraries, as it uses libdl
+	econf --disable-static
+}
+
+src_install() {
+	default
+	find "${D}" -name '*.la' -delete || die
+
+	insinto /etc
+	doins doc/gssapi_mech.conf
+}


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2018-11-11 13:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-11-11 13:07 [gentoo-commits] repo/gentoo:master commit in: net-libs/libgssglue/files/, net-libs/libgssglue/ Pacho Ramos

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox