Bugzilla – Attachment 7551 Details for
Bug 7238
move SIPconfig.xml, sip_run and sip_shutdown outside from C4 (NOT FOR 3.6)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 7238 - make packages deal with SIP config
Bug-7238---make-packages-deal-with-SIP-config.patch (text/plain), 3.84 KB, created by
Robin Sheat
on 2012-02-10 01:32:25 UTC
(
hide
)
Description:
Bug 7238 - make packages deal with SIP config
Filename:
MIME Type:
Creator:
Robin Sheat
Created:
2012-02-10 01:32:25 UTC
Size:
3.84 KB
patch
obsolete
>From 94131a6f9e60fb9160ae06acb7967587be6b7a57 Mon Sep 17 00:00:00 2001 >From: Robin Sheat <robin@catalyst.net.nz> >Date: Fri, 10 Feb 2012 12:55:09 +1300 >Subject: [PATCH] Bug 7238 - make packages deal with SIP config > >This moves the SIP config to the templates directory (on package >building) in anticipation of making it configurable with package tools. >Prevents it being installed into /etc. >--- > debian/rules | 1 + > debian/templates/SIPconfig.xml | 84 ++++++++++++++++++++++++++++++++++++++++ > 2 files changed, 85 insertions(+), 0 deletions(-) > create mode 100644 debian/templates/SIPconfig.xml > >diff --git a/debian/rules b/debian/rules >index 64a1790..7fed07e 100755 >--- a/debian/rules >+++ b/debian/rules >@@ -15,6 +15,7 @@ override_dh_gencontrol: > override_dh_auto_install: > dh_auto_install > rm $(TMP)/etc/koha/README.txt >+ rm $(TMP)/etc/koha/SIPconfig.xml > rm -r $(TMP)/usr/share/koha/doc > rm -r $(TMP)/var/run > rm -r $(TMP)/var/lock >diff --git a/debian/templates/SIPconfig.xml b/debian/templates/SIPconfig.xml >new file mode 100644 >index 0000000..f229b9a >--- /dev/null >+++ b/debian/templates/SIPconfig.xml >@@ -0,0 +1,84 @@ >+<acsconfig xmlns="http://openncip.org/acs-config/1.0/"> >+<!-- above address gets nothing, it's just a namespace --> >+ <error-detect enabled="true" /> >+ >+<!-- >+ Set Net::Server::PreFork runtime parameters >+ syslog_ident will identify SIP2 Koha server entries in syslog >+ For OpenSolaris, add: syslog_logsock=stream >+--> >+ <server-params >+ min_servers='1' >+ min_spare_servers='0' >+ log_file='Sys::Syslog' >+ syslog_ident='koha_sip' >+ syslog_facility='local6' >+ /> >+ >+ <listeners> >+<!-- vestigial HTTP, never implemented: just use the OPAC! >+ <service >+ port="0:8080/tcp" >+ transport="http" >+ protocol="NCIP/1.0" /> >+--> >+ <service >+ port="8023/tcp" >+ transport="telnet" >+ protocol="SIP/2.00" >+ timeout="60" /> >+ >+ <service >+ port="127.0.0.1:6001/tcp" >+ transport="RAW" >+ protocol="SIP/2.00" >+ timeout="60" /> >+ </listeners> >+ >+ <accounts> >+ <login id="term1" password="term1" delimiter="|" error-detect="enabled" institution="CPL" /> >+ <login id="koha" password="koha" delimiter="|" error-detect="enabled" institution="kohalibrary" /> >+ <login id="koha2" password="koha" institution="kohalibrary2" /> >+ <login id="lpl-sc" password="1234" institution="LPL" /> >+ <login id="lpl-sc-beacock" password="xyzzy" >+ delimiter="|" error-detect="enabled" institution="LPL" /> >+ </accounts> >+ >+<!-- >+Institution tags are for enabled branches. There needs to be one >+institution stanza for each institution named in the accounts above. >+The implementation attribute is actually used to find the code to run, >+in our case "ILS". >+--> >+ >+<institutions> >+ <institution id="MAIN" implementation="ILS" parms=""> >+ <policy checkin="true" renewal="true" checkout="true" >+ status_update="false" offline="false" >+ timeout="100" >+ retries="5" /> >+ </institution> >+ <institution id="CPL" implementation="ILS" parms=""> >+ <policy checkin="true" renewal="true" checkout="true" >+ status_update="false" offline="false" >+ timeout="25" >+ retries="5" /> >+ </institution> >+ <institution id="kohalibrary" implementation="ILS" parms=""> >+ <policy checkin="true" renewal="false" checkout="true" >+ status_update="false" offline="false" >+ timeout="100" >+ retries="5" /> >+ </institution> >+ <institution id="kohalibrary2" implementation="ILS" parms=""> >+ <policy checkin="true" renewal="false" checkout="true" >+ timeout="100" >+ retries="3" /> >+ </institution> >+ <institution id="LPL" implementation="ILS"> >+ <policy checkin="true" renewal="false" checkout="true" >+ timeout="100" >+ retries="5" /> >+ </institution> >+</institutions> >+</acsconfig> >-- >1.7.5.4
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 7238
:
6323
|
6998
|
6999
|
7549
|
7551
|
7602