[shibboleth-sp2] 43/119: Add OS-X launchd info.

Ferenc Wágner wferi-guest at moszumanska.debian.org
Tue Jan 26 21:29:48 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 6773be5e4b93acb51eb80f9fc0962277f9d495da
Author: Scott Cantor <cantor.2 at osu.edu>
Date:   Tue Aug 14 19:46:50 2007 +0000

    Add OS-X launchd info.
---
 .gitignore                 |  2 +-
 configs/Makefile.am        |  6 ++++++
 configs/shibd-osx.plist.in | 28 ++++++++++++++++++++++++++++
 shibboleth.spec.in         |  1 +
 4 files changed, 36 insertions(+), 1 deletion(-)

diff --git a/.gitignore b/.gitignore
index f560739..11a74b1 100644
--- a/.gitignore
+++ b/.gitignore
@@ -33,4 +33,4 @@
 /*.opt
 /*.ncb
 /shibboleth.spec
-/.settings
\ No newline at end of file
+/.settings
diff --git a/configs/Makefile.am b/configs/Makefile.am
index f17341a..8e6cd26 100644
--- a/configs/Makefile.am
+++ b/configs/Makefile.am
@@ -10,6 +10,7 @@ pkgsysconfdir = $(sysconfdir)/@PACKAGE@
 pkgsysconf_DATA = \
 	shibd-redhat \
 	shibd-debian \
+	shibd-osx.plist \
 	apache.config \
 	apache2.config \
 	apache22.config
@@ -68,6 +69,9 @@ shibd-redhat: ${srcdir}/shibd-redhat.in Makefile ${top_builddir}/config.status
 shibd-debian: ${srcdir}/shibd-debian.in Makefile ${top_builddir}/config.status
 	$(MAKE) do-build-file FILE=$@
 
+shibd-osx.plist: ${srcdir}/shibd-osx.plist.in Makefile ${top_builddir}/config.status
+	$(MAKE) do-build-file FILE=$@
+
 shibd.logger: ${srcdir}/shibd.logger.in Makefile ${top_builddir}/config.status
 	$(MAKE) do-build-file FILE=$@
 
@@ -111,6 +115,7 @@ CLEANFILES = \
 	apache22.config \
 	shibd-redhat \
 	shibd-debian \
+	shibd-osx.plist \
 	shibd.logger \
 	native.logger \
 	shibboleth.xml \
@@ -126,6 +131,7 @@ EXTRA_DIST = \
 	apache22.config.in \
 	shibd-redhat.in \
 	shibd-debian.in \
+	shibd-osx.plist.in \
 	shibboleth.logger \
 	accessError.html \
 	rmError.html \
diff --git a/configs/shibd-osx.plist.in b/configs/shibd-osx.plist.in
new file mode 100644
index 0000000..cda9bb5
--- /dev/null
+++ b/configs/shibd-osx.plist.in
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+	<key>Label</key> <string>edu.internet2.shibboleth.shibd</string>
+	<key>ServiceDescription</key> <string>Shibboleth 1.3 Service Provider daemon</string>
+
+	<key>EnvironmentVariables</key>
+	<dict>
+		<key>DYLD_INSERT_LIBRARIES</key>
+		<string>@-PREFIX-@/lib/libshib-target.dylib:@-PREFIX-@/lib/libshib.dylib</string>
+		<key>DYLD_LIBRARY_PATH</key>
+		<string>@-PREFIX-@/lib</string>
+	</dict>
+
+	<key>ProgramArguments</key>
+	<array>
+		<string>@-PREFIX-@/sbin/shibd</string>
+		<string>-f</string>
+		<string>-p</string>
+		<string> @-VARRUNDIR-@/shibd.pid</string>
+	</array>
+
+	<key>RunAtLoad</key> <false/>
+	<key>OnDemand</key> <true/>
+	<key>StandardErrorPath</key> <string>/dev/null</string>
+</dict>
+</plist>
diff --git a/shibboleth.spec.in b/shibboleth.spec.in
index 39e4f08..542a11b 100644
--- a/shibboleth.spec.in
+++ b/shibboleth.spec.in
@@ -197,6 +197,7 @@ restorecon %{_sbindir}/shibd
 %{_sysconfdir}/shibboleth/apache*.config
 %{_sysconfdir}/%{name}/shibd-redhat
 %{_sysconfdir}/%{name}/shibd-debian
+%{_sysconfdir}/%{name}/shibd-osx.plist
 
 %exclude %{_bindir}/posttest
 %exclude %{_bindir}/test-client

-- 
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