forked from ports/contrib
ebtables: updated to 2.0.8-2
This commit is contained in:
parent
8441a70904
commit
b39e8556a1
@ -1,2 +1,2 @@
|
||||
8909d09fb6462c86fa922e6c3c6bbb28 ebtables-makefile.diff
|
||||
216e5d20fbd0e56dbe7e56b0d07b1909 ebtables-v2.0.8-1.tar.gz
|
||||
6af35119bbceba5097bbb0d8c89385d6 ebtables-makefile.diff
|
||||
66bcbcb2dcf3b981ad4e86e1720e796e ebtables-v2.0.8-2.tar.gz
|
||||
|
@ -4,14 +4,14 @@
|
||||
# Depends on:
|
||||
|
||||
name=ebtables
|
||||
version=2.0.8-1
|
||||
version=2.0.8-2
|
||||
release=1
|
||||
source=(http://dl.sourceforge.net/sourceforge/$name/$name-v$version.tar.gz \
|
||||
$name-makefile.diff)
|
||||
|
||||
build() {
|
||||
cd $name-v$version
|
||||
patch -p1 -i ../$name-makefile.diff
|
||||
patch -p1 -i $SRC/$name-makefile.diff
|
||||
make
|
||||
make DESTDIR=$PKG install
|
||||
rm -rf $PKG/etc/{rc.d,sysconfig}
|
||||
|
@ -1,7 +1,7 @@
|
||||
diff -Nru ebtables-v2.0.8-rc3-orig/Makefile ebtables-v2.0.8-rc3/Makefile
|
||||
--- ebtables-v2.0.8-rc3-orig/Makefile 2007-02-18 19:35:42.228506482 +0200
|
||||
+++ ebtables-v2.0.8-rc3/Makefile 2007-02-18 20:09:33.866567357 +0200
|
||||
@@ -12,15 +12,15 @@
|
||||
diff -Nru ebtables-v2.0.8-2-orig/Makefile ebtables-v2.0.8-2/Makefile
|
||||
--- ebtables-v2.0.8-2-orig/Makefile 2007-09-21 20:27:20.000000000 +0300
|
||||
+++ ebtables-v2.0.8-2/Makefile 2007-10-10 12:57:08.254461064 +0300
|
||||
@@ -8,10 +8,10 @@
|
||||
|
||||
# default paths
|
||||
LIBDIR:=/usr/lib
|
||||
@ -15,24 +15,15 @@ diff -Nru ebtables-v2.0.8-rc3-orig/Makefile ebtables-v2.0.8-rc3/Makefile
|
||||
SYSCONFIGDIR:=/etc/sysconfig
|
||||
DESTDIR:=
|
||||
|
||||
# include DESTDIR param
|
||||
-override LIBDIR:=$(DESTDIR)$(LIBDIR)/$(PROGNAME)
|
||||
+override LIBDIR:=$(DESTDIR)$(LIBDIR)
|
||||
override MANDIR:=$(DESTDIR)$(MANDIR)
|
||||
override BINDIR:=$(DESTDIR)$(BINDIR)
|
||||
override ETCDIR:=$(DESTDIR)$(ETCDIR)
|
||||
@@ -167,11 +167,11 @@
|
||||
.PHONY: scripts
|
||||
scripts: ebtables-save ebtables.sysv ebtables-config
|
||||
@@ -156,9 +156,9 @@
|
||||
cat ebtables-save | sed 's/__EXEC_PATH__/$(tmp1)/g' > ebtables-save_
|
||||
- install -m 0755 -o root -g root ebtables-save_ $(BINDIR)/ebtables-save
|
||||
+ install -D -m 0755 -o root -g root ebtables-save_ $(BINDIR)/ebtables-save
|
||||
install -m 0755 -o root -g root ebtables-save_ $(DESTDIR)$(BINDIR)/ebtables-save
|
||||
cat ebtables.sysv | sed 's/__EXEC_PATH__/$(tmp1)/g' | sed 's/__SYSCONFIG__/$(tmp2)/g' > ebtables.sysv_
|
||||
- install -m 0755 -o root -g root ebtables.sysv_ $(INITDIR)/ebtables
|
||||
+ install -D -m 0755 -o root -g root ebtables.sysv_ $(INITDIR)/ebtables
|
||||
- install -m 0755 -o root -g root ebtables.sysv_ $(DESTDIR)$(INITDIR)/ebtables
|
||||
+ install -D -m 0755 -o root -g root ebtables.sysv_ $(DESTDIR)$(INITDIR)/ebtables
|
||||
cat ebtables-config | sed 's/__SYSCONFIG__/$(tmp2)/g' > ebtables-config_
|
||||
- install -m 0600 -o root -g root ebtables-config_ $(SYSCONFIGDIR)/ebtables-config
|
||||
+ install -D -m 0600 -o root -g root ebtables-config_ $(SYSCONFIGDIR)/ebtables-config
|
||||
- install -m 0600 -o root -g root ebtables-config_ $(DESTDIR)$(SYSCONFIGDIR)/ebtables-config
|
||||
+ install -D -m 0600 -o root -g root ebtables-config_ $(DESTDIR)$(SYSCONFIGDIR)/ebtables-config
|
||||
rm -f ebtables-save_ ebtables.sysv_ ebtables-config_
|
||||
|
||||
$(MANDIR)/man8/ebtables.8: ebtables.8
|
||||
|
Loading…
x
Reference in New Issue
Block a user