From: Michael Chase-S. <mc...@us...> - 2011-05-03 20:50:28
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "SFCB - Small Footprint CIM Broker". The branch, master has been updated via 0b6802f46940cf94da49aef4bc7bd9f7b92ded87 (commit) from 18fb48116e9ccd8787eee6dda92443d321575c5b (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 0b6802f46940cf94da49aef4bc7bd9f7b92ded87 Author: Michael Chase-Salerno <br...@li...> Date: Tue May 3 16:49:36 2011 -0400 3280992 Add systemd file to SFCB sources ----------------------------------------------------------------------- Summary of changes: diff --git a/ChangeLog b/ChangeLog index facb18a..c3fbffe 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2011-05-03 Michael Chase-Salerno <br...@li...> + + * configure.ac, Makefile.am, sblim-sfcb.service.pre.in + [ 3280992 ] Add systemd file to SFCB sources + 2011-05-02 Michael Chase-Salerno <br...@li...> * configure.ac diff --git a/Makefile.am b/Makefile.am index 11e6e2c..6e3d36a 100644 --- a/Makefile.am +++ b/Makefile.am @@ -29,6 +29,7 @@ initdir=$(sysconfdir)/init.d pamdir=$(sysconfdir)/pam.d sfcblibdir=$(libdir)/sfcb cmpilibdir=$(libdir)/cmpi +systemddir=$(prefix)/share/systemd MANFILES=man/genSslCert.1 man/getSchema.1 man/sfcbd.1 man/sfcbmof.1 \ man/sfcbrepos.1 man/sfcbstage.1 man/sfcbunstage.1 man/sfcbuuid.1 \ @@ -424,7 +425,8 @@ man_MANS=$(MANFILES) EXTRA_DIST=sfcb.cfg.pre.in sfcb.spec sfcbrepos.sh.in sfcbstage.sh.in \ sfcbunstage.sh.in sfcbuuid.sh.in sfcb.init-redhat.in sfcb.init-suse.in \ - sfcb.init-none.in cimXmlParser.c footprint.pl test cmpi-devel + sfcb.init-none.in cimXmlParser.c footprint.pl test cmpi-devel \ + sblim-sfcb.service.pre.in dist_sfcbdata_SCRIPTS=genSslCert.sh getSchema.sh test/stageschema.sh @@ -489,11 +491,13 @@ else sed -e s?SETTABLE?FALSE?g $< > $@ endif - -sfcb: sfcb.$(INIT_STYLE) +sfcb: sfcb.$(INIT_STYLE) sblim-sfcb.service sed -e s?$$\{prefix\}?$(prefix)?g \ -e s?$$\{exec_prefix\}?$(prefix)?g $< > $@ +sblim-sfcb.service: sblim-sfcb.service.pre + sed -e s?$$\{exec_prefix\}?$(prefix)?g $< > $@ + providerRegister: providerRegister.c touch $@ @@ -501,6 +505,7 @@ unittest: cd test && sh check_all.sh install-data-local: + if test -d $(systemddir); then cp $(srcdir)/sblim-sfcb.service $(systemddir); fi; test -d $(DESTDIR)$(sfcbstatedir)/registration/repository || $(mkdir_p) $(DESTDIR)$(sfcbstatedir)/registration/repository test -d $(DESTDIR)$(sfcbstatedir)/stage/mofs/root/interop || $(mkdir_p) $(DESTDIR)$(sfcbstatedir)/stage/mofs/root/interop test -d $(DESTDIR)$(sfcbstatedir)/stage/regs || $(mkdir_p) $(DESTDIR)$(sfcbstatedir)/stage/regs @@ -521,6 +526,7 @@ endif uninstall-local: rm -f $(DESTDIR)$(sfcbstatedir)/stage/default.reg rm -f $(DESTDIR)$(sfcbstatedir)/stage/mofs/root/interop/10_interop.mof + rm -f $(systemddir)/sblim-sfcb.service if INDICATIONS rm -f $(DESTDIR)$(sfcbstatedir)/stage/mofs/root/interop/20_indication.mof rm -f $(DESTDIR)$(sfcbstatedir)/stage/mofs/indication.mof @@ -532,7 +538,7 @@ endif clean-local: rm -f sfcbrepos sfcbstage sfcbunstage sfcbuuid sfcb.cfg getSchema.sh sfcb \ sfcb.init-redhat sfcb.init-suse sfcb.init-none sfcb-dox.conf \ - cimXmlParserProcessed.c \ + cimXmlParserProcessed.c sblim-sfcb.service \ *.gcno *.gcda *.gcov $(MANFILES) test/TestProviders/tests/RIModIS.XML rm -rf doc/* coverage/ diff --git a/NEWS b/NEWS index 241a6c6..f604cc7 100644 --- a/NEWS +++ b/NEWS @@ -3,6 +3,7 @@ Changes in 1.4.2 New features: - 3190623 Set *IsSettable propperties to false for IndicationService +- 3280992 Add systemd file to SFCB sources Bugs fixed: diff --git a/configure.ac b/configure.ac index 7a4bfc9..6b02171 100644 --- a/configure.ac +++ b/configure.ac @@ -551,7 +551,7 @@ AM_CONDITIONAL(LOCAL_CONNECT_ONLY,[test "$enable_local_connect_only" == "yes"]) AC_CONFIG_FILES([Makefile sfcb.spec sfcbrepos.sh sfcbstage.sh sfcbunstage.sh sfcbuuid.sh sfcb.cfg.pre getSchema.sh.pre 20_indication.mof.pre - sfcb.init-redhat sfcb.init-suse sfcb.init-none default.reg + sfcb.init-redhat sfcb.init-suse sfcb.init-none default.reg sblim-sfcb.service.pre man/genSslCert.1.pre man/sfcbmof.1.pre man/sfcbunstage.1.pre man/sfcbuuid.1.pre man/getSchema.1.pre man/sfcbrepos.1.pre man/wbemcat.1.pre diff --git a/sblim-sfcb.service.pre.in b/sblim-sfcb.service.pre.in new file mode 100644 index 0000000..3b49da3 --- /dev/null +++ b/sblim-sfcb.service.pre.in @@ -0,0 +1,9 @@ +[Unit] +Description=Small Footprint CIM Broker Service +After=syslog.target + +[Service] +ExecStart=${exec_prefix}/sbin/sfcbd + +[Install] +WantedBy=multi-user.target hooks/post-receive -- SFCB - Small Footprint CIM Broker |