- install binaries with mode 0755 not 0744 (bnc#851625)
OBS-URL: https://build.opensuse.org/package/show/hardware/sbl?expand=0&rev=22
This commit is contained in:
parent
7ce665a7e6
commit
b9b72d0824
33
sbl-install_perms.patch
Normal file
33
sbl-install_perms.patch
Normal file
@ -0,0 +1,33 @@
|
||||
--- brld/Makefile
|
||||
+++ brld/Makefile
|
||||
@@ -39,8 +39,8 @@
|
||||
|
||||
install: $(PRG) $(LIBNAME)
|
||||
install --directory $(DESTDIR)$(INSTPATH)
|
||||
- install -m 744 $(PRG) $(DESTDIR)$(INSTPATH)
|
||||
- install -m 744 ../config/brld $(DESTDIR)$(CONFDIR)/init.d
|
||||
+ install -m 755 $(PRG) $(DESTDIR)$(INSTPATH)
|
||||
+ install -m 755 ../config/brld $(DESTDIR)$(CONFDIR)/init.d
|
||||
ln -sf $(CONFDIR)/init.d/brld $(DESTDIR)$(PREFIX)/sbin/rcbrld
|
||||
install --directory $(DESTDIR)$(LIBINSTPATH)
|
||||
install -m 755 $(LIBNAME).$(SOVER) $(DESTDIR)$(LIBINSTPATH)
|
||||
--- sbl/Makefile
|
||||
+++ sbl/Makefile
|
||||
@@ -22,7 +22,7 @@
|
||||
BRLDEV = /dev/ttyS0
|
||||
EXEC_PATH = ./
|
||||
REINSTALL_PATH = ./
|
||||
-INSTALL_EXEC = --owner=root --group=root --mode=0744
|
||||
+INSTALL_EXEC = --owner=root --group=root --mode=0755
|
||||
|
||||
# To compile in a.out (if you use ELF by default), you may be able to use
|
||||
# `-b i486-linuxaout'; however, you may also need to use the -V flag, or
|
||||
@@ -71,7 +71,7 @@
|
||||
install -m 644 ../brltbl/* $(DESTDIR)$(CONFDIR)/sbl/brltbl
|
||||
install --directory $(DESTDIR)$(CONFDIR)/init.d
|
||||
install -m 644 ../config/sbl.conf $(DESTDIR)$(CONFDIR)
|
||||
- install -m 744 ../config/sbl $(DESTDIR)$(CONFDIR)/init.d
|
||||
+ install -m 755 ../config/sbl $(DESTDIR)$(CONFDIR)/init.d
|
||||
ln -sf $(CONFDIR)/init.d/sbl $(DESTDIR)$(PREFIX)/sbin/rcsbl
|
||||
install --directory $(DESTDIR)/var/run
|
||||
# mkfifo $(DESTDIR)/var/run/sbl.fifo.in
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 11 13:53:54 CEST 2014 - ro@suse.de
|
||||
|
||||
- install binaries with mode 0755 not 0744 (bnc#851625)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 5 14:46:52 CEST 2014 - ro@suse.de
|
||||
|
||||
|
2
sbl.spec
2
sbl.spec
@ -33,6 +33,7 @@ Source1: sbl.service
|
||||
Source2: brld.service
|
||||
Patch1: sbl-shared.patch
|
||||
Patch2: sbl-nostrip.patch
|
||||
Patch3: sbl-install_perms.patch
|
||||
Summary: SUSE blinux
|
||||
License: GPL-2.0+
|
||||
Group: Hardware/Other
|
||||
@ -72,6 +73,7 @@ Authors:
|
||||
%setup -q
|
||||
%patch1 -p0
|
||||
%patch2 -p0
|
||||
%patch3
|
||||
|
||||
%build
|
||||
make CFLAGS="$RPM_OPT_FLAGS -D_POSIX_C_SOURCE=2 -D_BSD_SOURCE" LIB_CFLAGS="$RPM_OPT_FLAGS -D_POSIX_C_SOURCE=2 -D_BSD_SOURCE -fPIC -I%_includedir/speech-dispatcher"
|
||||
|
Loading…
Reference in New Issue
Block a user