OpenSDE Packages Database (without history before r20070)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
1010 B

  1. Description: Only install sysvinit script and ebtables-config when INITDIR or SYSCONFIGDIR are defined
  2. --- ./Makefile.orig 2011-02-07 18:18:23.994696283 +0100
  3. +++ ./Makefile 2011-02-07 18:52:16.226697310 +0100
  4. @@ -157,9 +157,15 @@
  5. cat ebtables-save | sed 's/__EXEC_PATH__/$(tmp1)/g' > ebtables-save_
  6. install -m 0755 -o root -g root ebtables-save_ $(DESTDIR)$(BINDIR)/ebtables-save
  7. cat ebtables.sysv | sed 's/__EXEC_PATH__/$(tmp1)/g' | sed 's/__SYSCONFIG__/$(tmp2)/g' > ebtables.sysv_
  8. +ifdef $(INITDIR)
  9. + install -d -m 0755 -o root -g root $(DESTDIR)$(INITDIR)
  10. install -m 0755 -o root -g root ebtables.sysv_ $(DESTDIR)$(INITDIR)/ebtables
  11. +endif
  12. +ifdef $(SYSCONFIGDIR)
  13. cat ebtables-config | sed 's/__SYSCONFIG__/$(tmp2)/g' > ebtables-config_
  14. + install -d -m 0600 -o root -g root $(DESTDIR)$(SYSCONFIGDIR)
  15. install -m 0600 -o root -g root ebtables-config_ $(DESTDIR)$(SYSCONFIGDIR)/ebtables-config
  16. +endif
  17. rm -f ebtables-save_ ebtables.sysv_ ebtables-config_
  18. $(MANDIR)/man8/ebtables.8: ebtables.8