arptables: removed in favor of the version provided by the iptables package.
This commit is contained in:
parent
a1c7e8ebc4
commit
140f539de6
|
@ -0,0 +1 @@
|
||||||
|
arptables is no longer provided by Void Linux, and will be fully removed from the repos on 2019-06-26
|
|
@ -1,5 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
RULES=/etc/iptables/arptables.rules
|
|
||||||
[ -r conf ] && . ./conf
|
|
||||||
[ -n $SKIP_SAVE ] && exit 0
|
|
||||||
arptables-save > $RULES
|
|
|
@ -1,6 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
RULES=/etc/iptables/arptables.rules
|
|
||||||
[ -r conf ] && . ./conf
|
|
||||||
[ -r $RULES ] || exit 0
|
|
||||||
arptables-restore < $RULES
|
|
||||||
exec chpst -b arptables pause
|
|
|
@ -1,13 +0,0 @@
|
||||||
-D__GLIBC__=2 is required to build on *-musl,
|
|
||||||
it's normally defined by features.h of glibc.
|
|
||||||
--- Makefile.orig
|
|
||||||
+++ Makefile
|
|
||||||
@@ -11,7 +11,7 @@
|
|
||||||
DESTDIR:=
|
|
||||||
|
|
||||||
COPT_FLAGS:=-O2
|
|
||||||
-CFLAGS:=$(COPT_FLAGS) -Wall -Wunused -I$(KERNEL_DIR)/include/ -Iinclude/ -DARPTABLES_VERSION=\"$(ARPTABLES_VERSION)\" #-g -DDEBUG #-pg # -DARPTC_DEBUG
|
|
||||||
+override CFLAGS+=-Wall -D__GLIBC__=2 -Iinclude/ -DARPTABLES_VERSION=\"$(ARPTABLES_VERSION)\"
|
|
||||||
|
|
||||||
ifndef ARPT_LIBDIR
|
|
||||||
ARPT_LIBDIR:=$(LIBDIR)/arptables
|
|
|
@ -1,21 +1,10 @@
|
||||||
# Template file for 'arptables'
|
# Template file for 'arptables'
|
||||||
pkgname=arptables
|
pkgname=arptables
|
||||||
version=0.0.4
|
version=0.0.4
|
||||||
revision=2
|
revision=3
|
||||||
wrksrc="${pkgname}-v${version}"
|
archs=noarch
|
||||||
build_style=gnu-makefile
|
build_style=meta
|
||||||
depends="perl"
|
depends="iptables"
|
||||||
short_desc="ARP table administration"
|
short_desc="ARP table administration (removed package)"
|
||||||
maintainer="beefcurtains <beefcurtains@users.noreply.github.com>"
|
license="metapackage"
|
||||||
license="GPL-2.0-only"
|
|
||||||
homepage="http://ebtables.sourceforge.net/"
|
homepage="http://ebtables.sourceforge.net/"
|
||||||
distfiles="ftp://ftp.netfilter.org/pub/arptables/arptables-v${version}.tar.gz"
|
|
||||||
checksum=277985e29ecd93bd759a58242cad0e02ba9d4a6e1b7795235e3b507661bc0049
|
|
||||||
|
|
||||||
do_install() {
|
|
||||||
vbin arptables
|
|
||||||
vbin arptables-restore
|
|
||||||
vbin arptables-save
|
|
||||||
vman arptables.8
|
|
||||||
vsv arptables
|
|
||||||
}
|
|
||||||
|
|
Loading…
Reference in New Issue