From fd638762b1a9b9c435d24f24afa3d34aa53e663a Mon Sep 17 00:00:00 2001 From: Daniel sea McChlery Date: Tue, 17 Jun 2014 04:38:44 -0400 Subject: initial commit. --- diff --git a/build b/build new file mode 100755 index 0000000..10ed3c3 --- /dev/null +++ b/build @@ -0,0 +1,21 @@ +#!/usr/bin/make -f + +include ../source.mk + +nop: + @: + +build: + oh-autoconfigure + oh-autobuild + touch $@ + +install: build + oh-autoinstall + rm -f "dest/usr/lib/$(OPK_HOST_ARCH)/libip4tc.la" + rm -f "dest/usr/lib/$(OPK_HOST_ARCH)/libip6tc.la" + rm -f "dest/usr/lib/$(OPK_HOST_ARCH)/libiptc.la" + rm -f "dest/usr/lib/$(OPK_HOST_ARCH)/libxtables.la" + oh-fixperms + oh-strip + oh-installfiles diff --git a/changelog b/changelog new file mode 100644 index 0000000..60dfa52 --- /dev/null +++ b/changelog @@ -0,0 +1,5 @@ +iptables (1.4.21-1) trunk + + * Initial release + + -- "P. J. McDermott" Thu, 12 Jun 2014 22:09:16 -0400 diff --git a/control b/control new file mode 100644 index 0000000..38cfe57 --- /dev/null +++ b/control @@ -0,0 +1,3 @@ +Maintainer: "Daniel sea McChlery" +Build-Depends: opkhelper-3.0 +Homepage: http://www.netfilter.org/projects/iptables diff --git a/copyright b/copyright new file mode 100644 index 0000000..0bed1c5 --- /dev/null +++ b/copyright @@ -0,0 +1,23 @@ +Upstream Source +=============== + +Location: + +The source package top-level COPYING file indicates that these files +may be distributed, modified, reproduced, and otherwise dealt with +under the terms of the GPL license version 2. + +The GPLv2 may be found on this system at +. + +Distribution Packaging +====================== + +Copyright (C) 2014 Daniel sea McChlery + +These files may be reproduced, distributed, modified, and otherwise +dealt with under the terms of the GPL license version 3. + +The GPLv3 may be found on this system at + + diff --git a/format b/format new file mode 100644 index 0000000..cd5ac03 --- /dev/null +++ b/format @@ -0,0 +1 @@ +2.0 diff --git a/iptables-common.pkg/control b/iptables-common.pkg/control new file mode 100644 index 0000000..f517f88 --- /dev/null +++ b/iptables-common.pkg/control @@ -0,0 +1,5 @@ +Architecture: all +Platform: all +Description: iptables copyright documentation + The iptables tools are used to manipulate kernel firewall + tables. This package contains its copyright information. diff --git a/iptables-common.pkg/docs b/iptables-common.pkg/docs new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/iptables-common.pkg/docs diff --git a/iptables-doc.pkg/control b/iptables-doc.pkg/control new file mode 100644 index 0000000..454a3d2 --- /dev/null +++ b/iptables-doc.pkg/control @@ -0,0 +1,6 @@ +Architecture: all +Platform: all +Depends: iptables, iptables-common (>= ${Source-Version}) +Description: iptables documentation + The iptables tools are used to manipulate kernel firewall + tables. This package contains its manual pages. diff --git a/iptables-doc.pkg/files b/iptables-doc.pkg/files new file mode 100644 index 0000000..f2ec846 --- /dev/null +++ b/iptables-doc.pkg/files @@ -0,0 +1,2 @@ +/usr/share/man/man1 +/usr/share/man/man8 diff --git a/iptables.pkg/control b/iptables.pkg/control new file mode 100644 index 0000000..f7ef5bb --- /dev/null +++ b/iptables.pkg/control @@ -0,0 +1,5 @@ +Architecture: any-linux-any +Platform: all +Depends: iptables-common (>= ${Source-Version}), libxtables.10, libiptc.0, iptables-doc +Description: iptables binary tools + The iptables tools are used to manipulate kernel firewall tables. diff --git a/iptables.pkg/files b/iptables.pkg/files new file mode 100644 index 0000000..ec51757 --- /dev/null +++ b/iptables.pkg/files @@ -0,0 +1,2 @@ +/usr/bin +/usr/sbin diff --git a/libiptc.0-dev.pkg/control b/libiptc.0-dev.pkg/control new file mode 100644 index 0000000..ab0d4cc --- /dev/null +++ b/libiptc.0-dev.pkg/control @@ -0,0 +1,7 @@ +Architecture: any-linux-any +Platform: all +Depends: libiptc.0 (= ${Binary-Version}), iptables-common (>= ${Source-Version}) +Description: libiptc shared library development headers + libiptc is a shared library for communication with the kernel + netfilter firewall. This package includes the header files necessary + for developing programs that make use of its functionality. diff --git a/libiptc.0-dev.pkg/files b/libiptc.0-dev.pkg/files new file mode 100644 index 0000000..27913fd --- /dev/null +++ b/libiptc.0-dev.pkg/files @@ -0,0 +1,6 @@ +/usr/include/libiptc +/usr/lib/*/libip4tc.so +/usr/lib/*/libip6tc.so +/usr/lib/*/libiptc.so +/usr/lib/*/libxtables.so +/usr/lib/*/pkgconfig diff --git a/libiptc.0.pkg/control b/libiptc.0.pkg/control new file mode 100644 index 0000000..10e4724 --- /dev/null +++ b/libiptc.0.pkg/control @@ -0,0 +1,5 @@ +Architecture: any-linux-any +Platform: all +Depends: iptables-common (>= ${Source-Version}) +Description: libiptc shared library + libiptc is a shared library for communication with the kernel netfilter firewall. \ No newline at end of file diff --git a/libiptc.0.pkg/files b/libiptc.0.pkg/files new file mode 100644 index 0000000..e1e5bd3 --- /dev/null +++ b/libiptc.0.pkg/files @@ -0,0 +1,3 @@ +/usr/lib/*/libip4tc.so.* +/usr/lib/*/libip6tc.so.* +/usr/lib/*/libiptc.so.* diff --git a/libxtables.10-dev.pkg/control b/libxtables.10-dev.pkg/control new file mode 100644 index 0000000..23f0138 --- /dev/null +++ b/libxtables.10-dev.pkg/control @@ -0,0 +1,6 @@ +Architecture: any-linux-any +Platform: all +Depends: libxtables.10 (= ${Binary-Version}), iptables-common (>= ${Source-Version}) +Description: libXtables shared library development headers + The libXtables shared library handles communication with the kernel + Xtables firewall. diff --git a/libxtables.10-dev.pkg/files b/libxtables.10-dev.pkg/files new file mode 100644 index 0000000..8d9017b --- /dev/null +++ b/libxtables.10-dev.pkg/files @@ -0,0 +1,2 @@ +/usr/include/xtables* +/usr/lib/*/libxtables.so diff --git a/libxtables.10.pkg/control b/libxtables.10.pkg/control new file mode 100644 index 0000000..8c3de52 --- /dev/null +++ b/libxtables.10.pkg/control @@ -0,0 +1,6 @@ +Architecture: any-linux-any +Platform: all +Depends: iptables-common (>= ${Source-Version}) +Description: libXtables shared library + The libXtables shared library handles communication with the kernel + Xtables firewall. \ No newline at end of file diff --git a/libxtables.10.pkg/files b/libxtables.10.pkg/files new file mode 100644 index 0000000..ae90fc4 --- /dev/null +++ b/libxtables.10.pkg/files @@ -0,0 +1,3 @@ +/usr/lib/*/libxtables.so.* +/usr/lib/*/xtables +/usr/lib/*/xtables/* \ No newline at end of file diff --git a/source.mk b/source.mk new file mode 100644 index 0000000..9a63a84 --- /dev/null +++ b/source.mk @@ -0,0 +1,19 @@ +upstream_archive = $(OPK_SOURCE)-$(OPK_SOURCE_VERSION_UPSTREAM).tar.bz2 +upstream_url = ftp://ftp.netfilter.org/pub/$(OPK_SOURCE)/$(upstream_archive) +source_archive = ../$(OPK_SOURCE)-$(OPK_SOURCE_VERSION_UPSTREAM).orig.tar.bz2 +keys = '57FF 5E9C 9AA6 7A86 0B55 7AF7 A411 1F89 BB5F 58CC' + +$(source_archive): + wget -c '$(upstream_url)' + set -e; if gpg --version >/dev/null 2>&1; then \ + wget -c '$(upstream_url).sig'; \ + [ -e ../keyring.gpg ] || \ + gpg --keyring ../keyring.gpg --no-default-keyring \ + --recv-keys $(keys) || true; \ + rm -f ../keyring.gpg~; \ + gpg --verify --keyring ../keyring.gpg \ + '$(upstream_archive).sig'; \ + fi + mv '$(upstream_archive)' '$(source_archive)' + +source: $(source_archive) -- cgit v0.9.1