Update Solaris packaging files.
authorScott Cantor <cantor.2@osu.edu>
Tue, 13 Nov 2007 05:20:55 +0000 (05:20 +0000)
committerScott Cantor <cantor.2@osu.edu>
Tue, 13 Nov 2007 05:20:55 +0000 (05:20 +0000)
Makefile.am
checkinstall [deleted file]
pkginfo.in
postinstall [new file with mode: 0644]

index 129a6e1..0331a98 100644 (file)
@@ -6,7 +6,7 @@ EXTRA_DIST = \
        isapi_shib \
        Shibboleth.dsw libtool.m4 acx_pthread.m4 acx_rpctest.m4 depcomp \
        config_win32.h posttest/posttest.dsp shibtest/shibtest.dsp \
-       shibboleth.spec.in shibboleth.spec pkginfo.in pkginfo checkinstall
+       shibboleth.spec.in shibboleth.spec pkginfo.in pkginfo depend postinstall
 
 WANT_SUBDIRS = @WANT_SUBDIRS@
 
diff --git a/checkinstall b/checkinstall
deleted file mode 100644 (file)
index 6c618f9..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/bin/sh
-
-expected_platform="sparc"
-platform=`uname -p`
-if [ ${platform} != ${expected_platform} ]; then
-       echo "This package must be installed on ${expected_platform}"
-       exit 1
-fi
-exit 0
index 3a1365c..8f42471 100644 (file)
@@ -1,11 +1,12 @@
-ARCH=sparc
 PKG=SHIBsp
-NAME=Shibboleth Service Provider
+ARCH=sparc
 VERSION=@-VERSION-@
-CATEGORY=system
-VENDOR=http://shibboleth.internet2.edu/ packaged for Shibboleth by Scott Cantor
+BASEDIR=/
+NAME=shibboleth-sp
+CATEGORY=application,security
+DESC=Shibboleth Service Provider
+VENDOR=Internet2
 HOTLINE=https://bugs.internet2.edu/
-EMAIL=cantor.2@osu.edu
-PSTAMP=15Sep2007
 CLASSES=none
-BASEDIR=/opt/shibboleth-sp
+PSTAMP=sunra.internet2.edu 2007-11-12
+EMAIL=cantor.2@osu.edu
diff --git a/postinstall b/postinstall
new file mode 100644 (file)
index 0000000..3a16ec2
--- /dev/null
@@ -0,0 +1,26 @@
+#!/bin/sh\r
+\r
+cd /opt/shibboleth-sp/etc/shibboleth\r
+\r
+CONFIGFILES=" \\r
+    native.logger \\r
+    shibd.logger \\r
+    shibboleth.logger \\r
+    accessError.html \\r
+    rmError.html \\r
+    sessionError.html \\r
+    metadataError.html \\r
+    sslError.html \\r
+    sp-example.key \\r
+    sp-example.crt \\r
+    AAP.xml \\r
+    shibboleth.xml \\r
+    example-metadata.xml"\r
+\r
+for f in $CONFIGFILES; do\r
+    if test ! -f $f; then\r
+        cp $f.dist $f\r
+    fi;\r
+    done\r
+\r
+exit 0\r