krb5 commit: Add gssrpc to pkg-config
Greg Hudson
ghudson at MIT.EDU
Wed May 1 01:06:46 EDT 2013
https://github.com/krb5/krb5/commit/9241e5a593ac7018850c5c9b0eef324f853cb76b
commit 9241e5a593ac7018850c5c9b0eef324f853cb76b
Author: Günther Deschner <gdeschner at redhat.org>
Date: Mon Apr 15 14:30:03 2013 +0200
Add gssrpc to pkg-config
ticket: 7620
src/build-tools/Makefile.in | 6 +++++-
src/build-tools/gssrpc.pc.in | 12 ++++++++++++
src/build-tools/kadm-client.pc.in | 3 +--
src/build-tools/kdb.pc.in | 4 ++--
src/configure.in | 1 +
5 files changed, 21 insertions(+), 5 deletions(-)
diff --git a/src/build-tools/Makefile.in b/src/build-tools/Makefile.in
index 885c992..271c002 100644
--- a/src/build-tools/Makefile.in
+++ b/src/build-tools/Makefile.in
@@ -8,7 +8,8 @@ PKGCONFIG_FILES = \
mit-krb5.pc \
krb5.pc \
mit-krb5-gssapi.pc \
- krb5-gssapi.pc
+ krb5-gssapi.pc \
+ gssrpc.pc
all-unix:: krb5-config $(PKGCONFIG_FILES)
@@ -22,6 +23,7 @@ mit-krb5.pc: $(srcdir)/mit-krb5.pc.in
krb5.pc: $(srcdir)/krb5.pc.in
mit-krb5-gssapi.pc: $(srcdir)/mit-krb5-gssapi.pc.in
krb5-gssapi.pc: $(srcdir)/krb5-gssapi.pc.in
+gssrpc.pc: $(srcdir)/gssrpc.pc.in
install-unix::
$(INSTALL_SCRIPT) krb5-config $(DESTDIR)$(CLIENT_BINDIR)/krb5-config
@@ -36,6 +38,8 @@ install-unix::
$(DESTDIR)$(PKGCONFIG_DIR)/mit-krb5-gssapi.pc
$(INSTALL_DATA) krb5-gssapi.pc \
$(DESTDIR)$(PKGCONFIG_DIR)/krb5-gssapi.pc
+ $(INSTALL_DATA) gssrpc.pc \
+ $(DESTDIR)$(PKGCONFIG_DIR)/gssrpc.pc
# Test to ensure that krb5-config does not spit out things like
# $(PURE) or $(LDFLAGS) in case someone changes config/shlib.conf
diff --git a/src/build-tools/gssrpc.pc.in b/src/build-tools/gssrpc.pc.in
new file mode 100644
index 0000000..ca90921
--- /dev/null
+++ b/src/build-tools/gssrpc.pc.in
@@ -0,0 +1,12 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+vendor=MIT
+
+Name: gssrpc
+Description: GSSAPI RPC implementation
+Version: @KRB5_VERSION@
+Cflags: -I${includedir}
+Libs: -L${libdir} -lgssrpc
+Requires.private: mit-krb5-gssapi
diff --git a/src/build-tools/kadm-client.pc.in b/src/build-tools/kadm-client.pc.in
index 4562b8f..c8d1cd1 100644
--- a/src/build-tools/kadm-client.pc.in
+++ b/src/build-tools/kadm-client.pc.in
@@ -6,7 +6,6 @@ includedir=@includedir@
Name: kadm-client
Description: Kerberos administration client library
Version: @KRB5_VERSION@
-Requires.private: mit-krb5-gssapi
+Requires.private: mit-krb5-gssapi gssrpc
Cflags: -I${includedir}
Libs: -L${libdir} -lkadm5clnt_mit
-Libs.private: -lgssrpc
diff --git a/src/build-tools/kdb.pc.in b/src/build-tools/kdb.pc.in
index 29506b8..461a8d01d0 100644
--- a/src/build-tools/kdb.pc.in
+++ b/src/build-tools/kdb.pc.in
@@ -8,7 +8,7 @@ KDB5_DB_LIB=@KDB5_DB_LIB@
Name: kdb
Description: Kerberos database access libraries
Version: @KRB5_VERSION@
-Requires.private: mit-krb5-gssapi mit-krb5
+Requires.private: mit-krb5-gssapi mit-krb5 gssrpc
Cflags: -I${includedir}
Libs: -L${libdir} -lkdb5
-Libs.private: -lgssrpc ${KDB5_DB_LIB}
+Libs.private: ${KDB5_DB_LIB}
diff --git a/src/configure.in b/src/configure.in
index 5650148..0c8111b 100644
--- a/src/configure.in
+++ b/src/configure.in
@@ -1297,6 +1297,7 @@ AC_CONFIG_FILES([build-tools/kadm-server.pc
build-tools/krb5-gssapi.pc
build-tools/mit-krb5.pc
build-tools/mit-krb5-gssapi.pc
+ build-tools/gssrpc.pc
])
V5_AC_OUTPUT_MAKEFILE(.
More information about the cvs-krb5
mailing list