From: cantor Date: Tue, 13 Nov 2007 22:26:48 +0000 (+0000) Subject: Updated Solaris packaging files. X-Git-Tag: 2.4.1~278 X-Git-Url: http://www.project-moonshot.org/gitweb/?p=shibboleth%2Fopensaml2.git;a=commitdiff_plain;h=8ae1a4dc19771deb361ed1ef3e32107d182f91f7 Updated Solaris packaging files. git-svn-id: https://svn.middleware.georgetown.edu/cpp-opensaml2/trunk@342 fb386ef7-a10c-0410-8ebf-fd3f8e989ab0 --- diff --git a/Makefile.am b/Makefile.am index 8654717..99783bd 100644 --- a/Makefile.am +++ b/Makefile.am @@ -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 index 0000000..be157d8 --- /dev/null +++ b/depend @@ -0,0 +1,8 @@ +P SHIBossl OpenSSL + 0.9.8g +P SHIBxerces xerces-c + 2.8.0 +P SHIBxmlsec xml-security-c + 1.4.0 +P SHIBxmltool xmltooling-c + 1.0 diff --git a/pkginfo.in b/pkginfo.in index df6977c..e830f1c 100644 --- a/pkginfo.in +++ b/pkginfo.in @@ -1,10 +1,12 @@ -ARCH=sparc PKG=SHIBosaml -NAME=OpenSAML for C++ +ARCH=sparc VERSION=@-VERSION-@ -CATEGORY=system -VENDOR=http://www.opensaml.org/ packaged for Shibboleth by Scott Cantor -HOTLINE=http://bugzilla.internet2.edu/ -EMAIL=cantor.2@osu.edu -PSTAMP=1May2006 +BASEDIR=/usr/local +NAME=opensaml-c +CATEGORY=application,security +DESC=OpenSAML library for C++ +VENDOR=Internet2 +HOTLINE=https://bugs.internet2.edu/ CLASSES=none +PSTAMP=sunra.internet2.edu 2007-11-15 +EMAIL=cantor.2@osu.edu diff --git a/postinstall b/postinstall new file mode 100644 index 0000000..49b5f30 --- /dev/null +++ b/postinstall @@ -0,0 +1,17 @@ +#!/bin/sh + +cd ${CLIENT_BASEDIR}/share/xml/opensaml + +sed "s|uri=\".*${CLIENT_BASEDIR}|uri=\"${CLIENT_BASEDIR}|1" saml10-catalog.xml > catalog.xml.tmp +mv catalog.xml.tmp saml10-catalog.xml +chmod 644 saml10-catalog.xml + +sed "s|uri=\".*${CLIENT_BASEDIR}|uri=\"${CLIENT_BASEDIR}|1" saml11-catalog.xml > catalog.xml.tmp +mv catalog.xml.tmp saml11-catalog.xml +chmod 644 saml11-catalog.xml + +sed "s|uri=\".*${CLIENT_BASEDIR}|uri=\"${CLIENT_BASEDIR}|1" saml20-catalog.xml > catalog.xml.tmp +mv catalog.xml.tmp saml20-catalog.xml +chmod 644 saml20-catalog.xml + +exit 0