[csw-devel] SF.net SVN: gar:[21957] csw/mgar/pkg/libgssglue/trunk/Makefile

dmichelsen at users.sourceforge.net dmichelsen at users.sourceforge.net
Tue Sep 17 11:26:57 CEST 2013


Revision: 21957
          http://gar.svn.sourceforge.net/gar/?rev=21957&view=rev
Author:   dmichelsen
Date:     2013-09-17 09:26:56 +0000 (Tue, 17 Sep 2013)
Log Message:
-----------
libgssglue/trunk: Add gssapi_mech.conf

Modified Paths:
--------------
    csw/mgar/pkg/libgssglue/trunk/Makefile

Modified: csw/mgar/pkg/libgssglue/trunk/Makefile
===================================================================
--- csw/mgar/pkg/libgssglue/trunk/Makefile	2013-09-17 08:51:36 UTC (rev 21956)
+++ csw/mgar/pkg/libgssglue/trunk/Makefile	2013-09-17 09:26:56 UTC (rev 21957)
@@ -17,6 +17,7 @@
 PACKAGES += CSWlibgssglue0
 SPKG_DESC_CSWlibgssglue0 = A GSSAPI interface
 PKGFILES_CSWlibgssglue0 += $(call pkgfiles_lib,libgssglue.so.0)
+PKGFILES_CSWlibgssglue0 += $(sysconfdir)/.*
 
 # We must link against the kerberos libraries although they are not directly pulled in or it will not work
 RUNTIME_DEP_PKGS_CSWlibgssglue0 += CSWlibkrb5-3
@@ -24,11 +25,28 @@
 RUNTIME_DEP_PKGS_CSWlibgssglue0 += CSWlibgssapi-krb5-2
 CHECKPKG_OVERRIDES_CSWlibgssglue0 += soname-unused
 
+# These are really comments
+CHECKPKG_OVERRIDES_CSWlibgssglue0 += file-with-bad-content|/usr/local|root/etc/opt/csw/gssapi_mech.conf.CSW
+CHECKPKG_OVERRIDES_CSWlibgssglue0 += file-with-bad-content|/usr/local|root/etc/opt/csw/64/gssapi_mech.conf.CSW
+
 PACKAGES += CSWlibgssglue-dev
 SPKG_DESC_CSWlibgssglue-dev = Development files for libgssglue.so.0
 # PKGFILES is catchall
 RUNTIME_DEP_PKGS_CSWlibgssglue-dev += CSWlibgssglue0
 
+REINPLACEMENTS += mech
+REINPLACE_MATCH_mech = /etc/mech.conf
+REINPLACE_WITH_mech = $(abspath $(sysconfdir)/$(MM_LIBDIR))/gssapi_mech.conf
+REINPLACE_FILES_mech += src/g_initialize.c
+
+PRESERVECONF += $(sysconfdir)/gssapi_mech.conf
+PRESERVECONF += $(sysconfdir)/64/gssapi_mech.conf
+
+REINPLACEMENTS += krb5
+REINPLACE_MATCH_krb5 = /usr/lib/libgssapi_krb5.so
+REINPLACE_WITH_krb5 = $(libdir)/libgssapi_krb5.so.2
+REINPLACE_FILES_krb5 += doc/gssapi_mech.conf
+
 EXTRA_CPPFLAGS += -DUSE_SOLARIS_SHARED_LIBRARIES=1
 
 # We must link against the kerberos libraries although they are not directly pulled in or it will not work
@@ -38,5 +56,11 @@
 BUILD64 = 1
 CONFIGURE_ARGS = $(DIRPATHS)
 
+#DEVEL_EXECUTABLES += $(sysconfdir)/.*
+#EXTRA_MERGE_SCRIPTS_isa-extra += merge-copy-config-only
+
 include gar/category.mk
 
+post-install:
+	ginstall -D -m 0644 $(WORKSRC)/doc/gssapi_mech.conf $(DESTDIR)$(sysconfdir)/$(MM_LIBDIR)/gssapi_mech.conf
+	$(MAKECOOKIE)

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the devel mailing list