[shibboleth-sp2] 107/119: Update Solaris packaging files.
Ferenc Wágner
wferi-guest at moszumanska.debian.org
Tue Jan 26 21:29:55 UTC 2016
This is an automated email from the git hooks/post-receive script.
wferi-guest pushed a commit to annotated tag 1.3.1
in repository shibboleth-sp2.
commit 0f6b99ca34a029c9b52344d07d72516ef0947ea4
Author: Scott Cantor <cantor.2 at osu.edu>
Date: Tue Nov 13 05:20:55 2007 +0000
Update Solaris packaging files.
---
Makefile.am | 2 +-
checkinstall | 9 ---------
pkginfo.in | 15 ++++++++-------
postinstall | 26 ++++++++++++++++++++++++++
4 files changed, 35 insertions(+), 17 deletions(-)
diff --git a/Makefile.am b/Makefile.am
index 129a6e1..0331a98 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -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
index 6c618f9..0000000
--- a/checkinstall
+++ /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
diff --git a/pkginfo.in b/pkginfo.in
index 3a1365c..8f42471 100644
--- a/pkginfo.in
+++ b/pkginfo.in
@@ -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 at osu.edu
-PSTAMP=15Sep2007
CLASSES=none
-BASEDIR=/opt/shibboleth-sp
+PSTAMP=sunra.internet2.edu 2007-11-12
+EMAIL=cantor.2 at osu.edu
diff --git a/postinstall b/postinstall
new file mode 100644
index 0000000..3a16ec2
--- /dev/null
+++ b/postinstall
@@ -0,0 +1,26 @@
+#!/bin/sh
+
+cd /opt/shibboleth-sp/etc/shibboleth
+
+CONFIGFILES=" \
+ native.logger \
+ shibd.logger \
+ shibboleth.logger \
+ accessError.html \
+ rmError.html \
+ sessionError.html \
+ metadataError.html \
+ sslError.html \
+ sp-example.key \
+ sp-example.crt \
+ AAP.xml \
+ shibboleth.xml \
+ example-metadata.xml"
+
+for f in $CONFIGFILES; do
+ if test ! -f $f; then
+ cp $f.dist $f
+ fi;
+ done
+
+exit 0
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-shibboleth/shibboleth-sp2.git
More information about the Pkg-shibboleth-devel
mailing list