Updated Solaris packaging files.
authorcantor <cantor@fb386ef7-a10c-0410-8ebf-fd3f8e989ab0>
Tue, 13 Nov 2007 22:26:48 +0000 (22:26 +0000)
committercantor <cantor@fb386ef7-a10c-0410-8ebf-fd3f8e989ab0>
Tue, 13 Nov 2007 22:26:48 +0000 (22:26 +0000)
git-svn-id: https://svn.middleware.georgetown.edu/cpp-opensaml2/trunk@342 fb386ef7-a10c-0410-8ebf-fd3f8e989ab0

Makefile.am
depend [new file with mode: 0644]
pkginfo.in
postinstall [new file with mode: 0644]

index 8654717..99783bd 100644 (file)
@@ -48,6 +48,7 @@ EXTRA_DIST = $(DX_CONFIG) \
        opensaml.spec \
        pkginfo.in \
        pkginfo \
-       checkinstall
+       depend \
+       postinstall
 
 DISTCLEANFILES = opensaml.spec pkginfo
diff --git a/depend b/depend
new file mode 100644 (file)
index 0000000..be157d8
--- /dev/null
+++ b/depend
@@ -0,0 +1,8 @@
+P SHIBossl OpenSSL\r
+       0.9.8g\r
+P SHIBxerces xerces-c\r
+       2.8.0\r
+P SHIBxmlsec xml-security-c\r
+       1.4.0\r
+P SHIBxmltool xmltooling-c\r
+       1.0\r
index df6977c..e830f1c 100644 (file)
@@ -1,10 +1,12 @@
-ARCH=sparc\r
 PKG=SHIBosaml\r
-NAME=OpenSAML for C++\r
+ARCH=sparc\r
 VERSION=@-VERSION-@\r
-CATEGORY=system\r
-VENDOR=http://www.opensaml.org/ packaged for Shibboleth by Scott Cantor\r
-HOTLINE=http://bugzilla.internet2.edu/\r
-EMAIL=cantor.2@osu.edu\r
-PSTAMP=1May2006\r
+BASEDIR=/usr/local\r
+NAME=opensaml-c\r
+CATEGORY=application,security\r
+DESC=OpenSAML library for C++\r
+VENDOR=Internet2\r
+HOTLINE=https://bugs.internet2.edu/\r
 CLASSES=none\r
+PSTAMP=sunra.internet2.edu 2007-11-15\r
+EMAIL=cantor.2@osu.edu\r
diff --git a/postinstall b/postinstall
new file mode 100644 (file)
index 0000000..49b5f30
--- /dev/null
@@ -0,0 +1,17 @@
+#!/bin/sh\r
+\r
+cd ${CLIENT_BASEDIR}/share/xml/opensaml\r
+\r
+sed "s|uri=\".*${CLIENT_BASEDIR}|uri=\"${CLIENT_BASEDIR}|1" saml10-catalog.xml > catalog.xml.tmp\r
+mv catalog.xml.tmp saml10-catalog.xml\r
+chmod 644 saml10-catalog.xml\r
+\r
+sed "s|uri=\".*${CLIENT_BASEDIR}|uri=\"${CLIENT_BASEDIR}|1" saml11-catalog.xml > catalog.xml.tmp\r
+mv catalog.xml.tmp saml11-catalog.xml\r
+chmod 644 saml11-catalog.xml\r
+\r
+sed "s|uri=\".*${CLIENT_BASEDIR}|uri=\"${CLIENT_BASEDIR}|1" saml20-catalog.xml > catalog.xml.tmp\r
+mv catalog.xml.tmp saml20-catalog.xml\r
+chmod 644 saml20-catalog.xml\r
+\r
+exit 0\r