sbl/sbl-init-scripts.patch
Stefan Seyfried c7f79869c0 Accepting request 307373 from home:lmuelle:el80c
Credits to Tim Ehlers and Michael Binder of GWDG for reporting,
testing, and enhancement of the fix.

Thanks to Dr. Werner Fink for the hints in bsc#931036 and pointing
to the misspelled sppkdev in the dpcumentation.

The package changes are:

- Use sppkdev instead of spkdev in the documentation too.
  + sbl-sppkdev.patch
- Add --nodaemon option to ExecStart of the brld.service and set Type=forking
  of the sbl.service both in the service section; (bsc#931036).

- Install missing brld init script and rc sym link.
  + sbl-init-scripts.patch
- Conditionally patch LIBDIR location to satisfy bi-arch requirements.
  + sbl-libdir.patch
- Create git7a75bc29 snaptshot tar ball.

OBS-URL: https://build.opensuse.org/request/show/307373
OBS-URL: https://build.opensuse.org/package/show/hardware/sbl?expand=0&rev=23
2015-05-30 13:37:59 +00:00

17 lines
693 B
Diff

Author: Tim Ehlers <tehlers@gwdg.de>
Subject: Traditional init script and rc sym link for brld are missing
Index: sbl-3.5.0.20130317.git7a75bc29/brld/Makefile
===================================================================
--- sbl-3.5.0.20130317.git7a75bc29.orig/brld/Makefile
+++ sbl-3.5.0.20130317.git7a75bc29/brld/Makefile
@@ -40,6 +40,8 @@ install: brld $(LIBNAME)
ln -s $(LIBNAME) $(DESTDIR)$(LIBDIR)/$(LINKNAME)
install --directory $(DESTDIR)$(MANDIR)/man8
install ../man/brld.8 $(DESTDIR)$(MANDIR)/man8
+ install -m 744 ../config/brld $(DESTDIR)$(CONFDIR)/init.d
+ ln -sf $(CONFDIR)/init.d/brld $(DESTDIR)$(PREFIX)/sbin/rcbrld
uninstall:
$(RM) $(DESTDIR)$(SBINDIR)/brld