Add package files.
authorScott Cantor <cantor.2@osu.edu>
Mon, 17 Mar 2008 18:49:08 +0000 (18:49 +0000)
committerScott Cantor <cantor.2@osu.edu>
Mon, 17 Mar 2008 18:49:08 +0000 (18:49 +0000)
dependencies/log4shib/pkginfo [new file with mode: 0644]
dependencies/log4shib/postinstall [new file with mode: 0644]

diff --git a/dependencies/log4shib/pkginfo b/dependencies/log4shib/pkginfo
new file mode 100644 (file)
index 0000000..50910b5
--- /dev/null
@@ -0,0 +1,10 @@
+PKG=SHIBlog4shib
+NAME=Logging Library for C++ forked from log4cpp
+VERSION=1.0
+BASEDIR=/usr/local
+CATEGORY=system
+VENDOR=Internet2
+HOTLINE=https://bugs.internet2.edu/
+EMAIL=cantor.2@osu.edu
+PSTAMP=17Mar2008
+CLASSES=none
diff --git a/dependencies/log4shib/postinstall b/dependencies/log4shib/postinstall
new file mode 100644 (file)
index 0000000..9859a01
--- /dev/null
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+cd ${CLIENT_BASEDIR}/bin
+sed "s|^  prefix=.*|  prefix=${CLIENT_BASEDIR}|1" log4shib-config > log4shib-config.tmp
+mv log4shib-config.tmp log4shib-config
+chmod 755 log4shib-config
+
+exit 0