summaryrefslogtreecommitdiff
path: root/package/librpcsecgss
diff options
context:
space:
mode:
authorwbx <wbx@hydrogenium.(none)>2009-05-17 14:41:34 +0200
committerwbx <wbx@hydrogenium.(none)>2009-05-17 14:41:34 +0200
commit219a6dab8995aad9ac4860cc1a84d6f3509a03a4 (patch)
treeb9c0f3c43aebba2fcfef777592d0add39f2072f4 /package/librpcsecgss
Initial import
Diffstat (limited to 'package/librpcsecgss')
-rw-r--r--package/librpcsecgss/Config.in6
-rw-r--r--package/librpcsecgss/Makefile28
-rw-r--r--package/librpcsecgss/files/librpcsecgss.pc.in.gssglue12
-rw-r--r--package/librpcsecgss/files/librpcsecgss.pc.in.heimdal12
-rw-r--r--package/librpcsecgss/ipkg/librpcsecgss.control4
-rw-r--r--package/librpcsecgss/patches/patch-configure_in25
6 files changed, 87 insertions, 0 deletions
diff --git a/package/librpcsecgss/Config.in b/package/librpcsecgss/Config.in
new file mode 100644
index 000000000..92e049cda
--- /dev/null
+++ b/package/librpcsecgss/Config.in
@@ -0,0 +1,6 @@
+config ADK_PACKAGE_LIBRPCSECGSS
+ prompt "librpcsecgss...................... NFSv4 library"
+ tristate
+ default n
+ help
+
diff --git a/package/librpcsecgss/Makefile b/package/librpcsecgss/Makefile
new file mode 100644
index 000000000..17a6404b2
--- /dev/null
+++ b/package/librpcsecgss/Makefile
@@ -0,0 +1,28 @@
+# $Id$
+#-
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+include $(TOPDIR)/rules.mk
+
+PKG_NAME:= librpcsecgss
+PKG_VERSION:= 0.18
+PKG_RELEASE:= 1
+PKG_MD5SUM:= f2c4a69c5a32f62b762a569b8d962156
+MASTER_SITES:= http://www.citi.umich.edu/projects/nfsv4/linux/librpcsecgss/
+
+include $(TOPDIR)/mk/package.mk
+
+$(eval $(call PKG_template,LIBRPCSECGSS,librpcsecgss,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
+
+CONFIGURE_STYLE= autotool gnu
+BUILD_STYLE= auto
+INSTALL_STYLE= auto confprog
+
+post-extract:
+ $(CP) ./files/librpcsecgss.pc* $(WRKSRC)/
+post-install:
+ $(INSTALL_DIR) $(IDIR_LIBRPCSECGSS)/usr/lib
+ $(CP) $(WRKINST)/usr/lib/librpcsecgss.so* $(IDIR_LIBRPCSECGSS)/usr/lib/
+
+include ${TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/librpcsecgss/files/librpcsecgss.pc.in.gssglue b/package/librpcsecgss/files/librpcsecgss.pc.in.gssglue
new file mode 100644
index 000000000..d67b7e4b6
--- /dev/null
+++ b/package/librpcsecgss/files/librpcsecgss.pc.in.gssglue
@@ -0,0 +1,12 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+
+Name: librpcsecgss
+Description: Library that implements rpcsec_gss interface.
+Requires: libgssglue
+Version: @PACKAGE_VERSION@
+Libs: -L@libdir@ -lrpcsecgss
+Cflags: -I@includedir@/rpcsecgss
+
diff --git a/package/librpcsecgss/files/librpcsecgss.pc.in.heimdal b/package/librpcsecgss/files/librpcsecgss.pc.in.heimdal
new file mode 100644
index 000000000..caecaa582
--- /dev/null
+++ b/package/librpcsecgss/files/librpcsecgss.pc.in.heimdal
@@ -0,0 +1,12 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+
+Name: librpcsecgss
+Description: Library that implements rpcsec_gss interface.
+Requires: heimdal-gssapi
+Version: @PACKAGE_VERSION@
+Libs: -L@libdir@ -lrpcsecgss
+Cflags: -I@includedir@/rpcsecgss
+
diff --git a/package/librpcsecgss/ipkg/librpcsecgss.control b/package/librpcsecgss/ipkg/librpcsecgss.control
new file mode 100644
index 000000000..b4772a082
--- /dev/null
+++ b/package/librpcsecgss/ipkg/librpcsecgss.control
@@ -0,0 +1,4 @@
+Package: librpcsecgss
+Priority: optional
+Section: libs
+Description: library for NFSv4
diff --git a/package/librpcsecgss/patches/patch-configure_in b/package/librpcsecgss/patches/patch-configure_in
new file mode 100644
index 000000000..a57facbc6
--- /dev/null
+++ b/package/librpcsecgss/patches/patch-configure_in
@@ -0,0 +1,25 @@
+$Id: update-patches 24 2008-08-31 14:56:13Z wbx $
+--- librpcsecgss-0.18.orig/configure.in 2008-04-09 00:05:40.000000000 +0200
++++ librpcsecgss-0.18/configure.in 2009-01-30 16:11:01.000000000 +0100
+@@ -10,12 +10,17 @@ AM_PROG_LIBTOOL
+ # Checks for programs.
+ AC_PROG_CC
+ AC_PROG_RANLIB
++AC_PROG_LIBTOOL
+
+ # Checks for libraries.
+-PKG_CHECK_MODULES([GSSGLUE], [libgssglue >= 0.1], [],
+- [AC_MSG_ERROR([Unable to locate information required to use libgssglue.
+- If you have pkgconfig installed, you might try setting environment
+- variable PKG_CONFIG_PATH to /usr/local/lib/pkgconfig])])
++PKG_CHECK_MODULES([GSSGLUE], [libgssglue >= 0.1],
++ [echo GSSGLUE found; cp librpcsecgss.pc.in.gssglue librpcsecgss.pc.in],
++ [PKG_CHECK_MODULES([GSSGLUE], [heimdal-gssapi],
++ [echo HEIMDAL found; cp librpcsecgss.pc.in.heimdal librpcsecgss.pc.in],
++ [AC_MSG_ERROR([Unable to locate information required to use libgssglue.
++ If you have pkgconfig installed, you might try setting environment
++ variable PKG_CONFIG_PATH to /usr/local/lib/pkgconfig])])])
++
+
+ # Checks for header files.
+ AC_HEADER_STDC