Search
j0ke.net Open Build Service
>
Projects
>
ha
:
firewall
>
arptables
> arptables-install.diff
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File arptables-install.diff of Package arptables (Revision 1)
Currently displaying revision
1
,
show latest
--- Makefile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) Index: arptables-v0.0.3-4/Makefile =================================================================== --- arptables-v0.0.3-4.orig/Makefile +++ arptables-v0.0.3-4/Makefile @@ -35,22 +35,22 @@ arptables: arptables-standalone.o arptab $(DESTDIR)$(MANDIR)/man8/arptables.8: arptables.8 mkdir -p $(@D) - install -m 0644 -o root -g root $< $@ + install -m 0644 $< $@ $(DESTDIR)$(BINDIR)/arptables: arptables mkdir -p $(DESTDIR)$(BINDIR) - install -m 0755 -o root -g root $< $@ + install -m 0755 $< $@ tmp1:=$(shell printf $(BINDIR) | sed 's/\//\\\//g') tmp2:=$(shell printf $(SYSCONFIGDIR) | sed 's/\//\\\//g') .PHONY: scripts scripts: arptables-save arptables-restore arptables.sysv cat arptables-save | sed 's/__EXEC_PATH__/$(tmp1)/g' > arptables-save_ - install -m 0755 -o root -g root arptables-save_ $(DESTDIR)$(BINDIR)/arptables-save + install -m 0755 arptables-save_ $(DESTDIR)$(BINDIR)/arptables-save cat arptables-restore | sed 's/__EXEC_PATH__/$(tmp1)/g' > arptables-restore_ - install -m 0755 -o root -g root arptables-restore_ $(DESTDIR)$(BINDIR)/arptables-restore + install -m 0755 arptables-restore_ $(DESTDIR)$(BINDIR)/arptables-restore cat arptables.sysv | sed 's/__EXEC_PATH__/$(tmp1)/g' | sed 's/__SYSCONFIG__/$(tmp2)/g' > arptables.sysv_ - if test -d $(DESTDIR)$(INITDIR); then install -m 0755 -o root -g root arptables.sysv_ $(DESTDIR)$(INITDIR)/arptables; fi + if test -d $(DESTDIR)$(INITDIR); then install -m 0755 arptables.sysv_ $(DESTDIR)$(INITDIR)/arptables; fi rm -f arptables-save_ arptables-restore_ arptables.sysv_ .PHONY: install