Revert local modification of shibsp/paths.h
authorRuss Allbery <rra@debian.org>
Wed, 11 Nov 2009 00:16:54 +0000 (16:16 -0800)
committerRuss Allbery <rra@debian.org>
Wed, 11 Nov 2009 00:18:01 +0000 (16:18 -0800)
This file is generated during the build from paths.h.in and will be
correct for our builds, so no need to modify this file in the package.
Instead, just remove this file in the clean target so that the diff
is not included in the package.

debian/rules
shibsp/paths.h

index c3c846f..ff1d051 100755 (executable)
@@ -75,7 +75,7 @@ clean:
        [ ! -f Makefile ] || $(MAKE) distclean
        find . -name Makefile.in -print0 | xargs -0r rm
        dh_clean aclocal.m4 config.h config.h.in config.status configure \
-           config.guess config.sub libtool.m4 ltmain.sh \
+           config.guess config.sub libtool.m4 ltmain.sh shibsp/paths.h \
            debian/libapache2-mod-shib2.shibd.init
 
 install: install-stamp
index c319ac6..2f9ac99 100644 (file)
@@ -24,7 +24,7 @@
 #define __shibsp_paths_h__
 
 /** Default schema catalogs. */
-#define SHIBSP_SCHEMAS "/usr/share/xml/xmltooling/catalog.xml:/usr/share/xml/opensaml/saml20-catalog.xml:/usr/share/xml/opensaml/saml11-catalog.xml:/usr/share/xml/shibboleth/catalog.xml"
+#define SHIBSP_SCHEMAS "/opt/shibboleth-sp/share/xml/xmltooling/catalog.xml:/opt/shibboleth-sp/share/xml/opensaml/saml20-catalog.xml:/opt/shibboleth-sp/share/xml/opensaml/saml11-catalog.xml:/opt/shibboleth-sp/share/xml/shibboleth/catalog.xml"
 
 /** Default name of SP configuration file. */
 #define SHIBSP_CONFIG "shibboleth2.xml"
 #define SHIBSP_LOGGING "console.logger"
 
 /** Default prefix for installation (used to resolve relative paths). */
-#define SHIBSP_PREFIX  "/usr"
+#define SHIBSP_PREFIX  "/opt/shibboleth-sp"
 
 /** Library directory for installation (used to resolve relative paths). */
-#define SHIBSP_LIBDIR  "/usr/lib"
+#define SHIBSP_LIBDIR  "/opt/shibboleth-sp/lib"
 
 /** Log directory for installation (used to resolve relative paths). */
-#define SHIBSP_LOGDIR  "/var/log/shibboleth"
+#define SHIBSP_LOGDIR  "/opt/shibboleth-sp/var/log"
 
 /** Configuration directory for installation (used to resolve relative paths). */
-#define SHIBSP_CFGDIR  "/etc/shibboleth"
+#define SHIBSP_CFGDIR  "/opt/shibboleth-sp/etc"
 
 /** Runtime state directory for installation (used to resolve relative paths). */
-#define SHIBSP_RUNDIR  "/var/run/shibboleth"
+#define SHIBSP_RUNDIR  "/opt/shibboleth-sp/var/run"
 
 /** XML directory for installation (used to resolve relative paths). */
-#define SHIBSP_XMLDIR  "/usr/share/xml/shibboleth"
+#define SHIBSP_XMLDIR  "/opt/shibboleth-sp/share/xml"
 
 #endif /* __shibsp_paths_h__ */