* [PATCH] shorewall: updated to 4.2-shell and 4.4-perl versions
@ 2010-11-15 17:17 Dvorkin Dmitry
0 siblings, 0 replies; 4+ messages in thread
From: Dvorkin Dmitry @ 2010-11-15 17:17 UTC (permalink / raw)
To: openembedded-devel
Signed-off-by: Dvorkin Dmitry <dvorkin@tibbo.com>
---
recipes/shorewall/shorewall-deps.inc | 20 ++++++++++++++++++++
recipes/shorewall/shorewall-shell_4.2.11.bb | 14 ++++++++++++++
recipes/shorewall/shorewall.inc | 20 ++++++++++++++++++++
recipes/shorewall/shorewall_4.4.14.bb | 12 ++++++++++++
4 files changed, 66 insertions(+), 0 deletions(-)
create mode 100644 recipes/shorewall/shorewall-deps.inc
create mode 100644 recipes/shorewall/shorewall-shell_4.2.11.bb
create mode 100644 recipes/shorewall/shorewall.inc
create mode 100644 recipes/shorewall/shorewall_4.4.14.bb
diff --git a/recipes/shorewall/shorewall-deps.inc b/recipes/shorewall/shorewall-deps.inc
new file mode 100644
index 0000000..5ad98f0
--- /dev/null
+++ b/recipes/shorewall/shorewall-deps.inc
@@ -0,0 +1,20 @@
+
+# version 4.4.x requires perl + some perl modules
+RDEPENDS_${PN} += "\
+ perl \
+ perl-module-lib \
+ perl-module-autouse \
+ perl-module-cwd \
+ perl-module-file-basename \
+ perl-module-file-temp \
+ perl-module-getopt-long \
+ perl-module-carp \
+ perl-module-findbin \
+ perl-module-file-spec-unix \
+ perl-module-scalar-util \
+ perl-module-io \
+ perl-module-io-handle \
+ perl-module-exporter-heavy \
+ perl-module-list-util \
+ perl-module-socket \
+"
diff --git a/recipes/shorewall/shorewall-shell_4.2.11.bb b/recipes/shorewall/shorewall-shell_4.2.11.bb
new file mode 100644
index 0000000..fc04657
--- /dev/null
+++ b/recipes/shorewall/shorewall-shell_4.2.11.bb
@@ -0,0 +1,14 @@
+require shorewall.inc
+
+PR = "${INC_PR}.0"
+
+# this version (4.2, legacy!) require only shell as parser
+
+SRC_URI = " \
+ http://www.shorewall.net/pub/shorewall/4.2/shorewall-${PV}/${PN}-${PV}.tar.bz2 \
+ "
+
+FILES_${PN} += "/usr/share/shorewall-shell/*"
+
+SRC_URI[md5sum] = "518a7f389a6f606c109acb7dfbe18372"
+SRC_URI[sha256sum] = "c85c8400015794b8fb191e519a0b8711028c865ca2b7e85099c7be26fe479e02"
diff --git a/recipes/shorewall/shorewall.inc b/recipes/shorewall/shorewall.inc
new file mode 100644
index 0000000..8b3bc89
--- /dev/null
+++ b/recipes/shorewall/shorewall.inc
@@ -0,0 +1,20 @@
+AUTHOR = "Dvorkin Dmitry dvorkin@tibbo.com"
+DESCRIPTION = "Shorewall is a high-level tool for configuring Netfilter."
+HOMEPAGE = "http://www.shorewall.net/"
+LICENSE = "GPLv2"
+SECTION = "network"
+PRIORITY = "optional"
+
+INC_PR = "r0"
+
+S = "${WORKDIR}/${PN}-${PV}"
+
+RDEPENDS_${PN} += "iptables"
+RRECOMMENDS_${PN} = "kernel-module-ip-tables kernel-module-ip-conntrack kernel-module-ipt-conntrack kernel-module-ipt-multiport kernel-module-ipt-log kernel-module-ipt-mac kernel-module-ipt-mark kernel-module-ipt-masquerade kernel-module-ipt-pkttype kernel-module-ipt-reject kernel-module-ipt-state kernel-module-ipt-tos kernel-module-iptable-filter kernel-module-iptable-mangle kernel-module-iptable-nat"
+
+do_install() {
+ export PREFIX=${D}
+ ${WORKDIR}/${PN}-${PV}/install.sh
+}
+
+FILES_${PN} += "/usr/share/shorewall/*"
diff --git a/recipes/shorewall/shorewall_4.4.14.bb b/recipes/shorewall/shorewall_4.4.14.bb
new file mode 100644
index 0000000..6e3e418
--- /dev/null
+++ b/recipes/shorewall/shorewall_4.4.14.bb
@@ -0,0 +1,12 @@
+require shorewall.inc
+# this version (4.4) requires some deps (perl)
+require shorewall-deps.inc
+
+PR = "${INC_PR}.0"
+
+SRC_URI = " \
+ http://www.shorewall.net/pub/shorewall/4.4/shorewall-${PV}/${PN}-${PV}.tar.bz2 \
+ "
+
+SRC_URI[md5sum] = "9f8705d69d42eb949e352af72c3af8bb"
+SRC_URI[sha256sum] = "af097fc18c0d5a3b562812814107b627bfd3d802e3b5fe45fec4e53a4e84f17c"
--
1.6.4.4
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] shorewall: updated to 4.2-shell and 4.4-perl versions
2010-11-15 20:29 ` Koen Kooi
@ 2010-11-17 1:55 ` Michael Smith
0 siblings, 0 replies; 4+ messages in thread
From: Michael Smith @ 2010-11-17 1:55 UTC (permalink / raw)
To: openembedded-devel
On Mon, 15 Nov 2010, Koen Kooi wrote:
> | NOTE: make -j4 -e MAKEFLAGS=
> | make: /sbin/shorewall: Command not found
> | make: /sbin/shorewall: Command not found
> | make: *** No rule to make target `/etc/shorewall/*', needed by
> `/firewall'. Stop.
Looks like do_compile() should be {} for the shorewall recipe.
Mike
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] shorewall: updated to 4.2-shell and 4.4-perl versions
2010-11-15 18:20 Dvorkin Dmitry
@ 2010-11-15 20:29 ` Koen Kooi
2010-11-17 1:55 ` Michael Smith
0 siblings, 1 reply; 4+ messages in thread
From: Koen Kooi @ 2010-11-15 20:29 UTC (permalink / raw)
To: openembedded-devel
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
It seems this needs shorewall on your buildhost:
NOTE: Task failed: ('function do_compile failed',
'/OE/angstrom-dev/work/armv7a-angstrom-linux-gnueabi/shorewall-4.4.14-r0.0/temp/log.do_compile.5682')
ERROR: Logfile of failure stored in:
/OE/angstrom-dev/work/armv7a-angstrom-linux-gnueabi/shorewall-4.4.14-r0.0/temp/log.do_compile.5682
Log data follows:
| NOTE: make -j4 -e MAKEFLAGS=
| make: /sbin/shorewall: Command not found
| make: /sbin/shorewall: Command not found
| make: *** No rule to make target `/etc/shorewall/*', needed by
`/firewall'. Stop.
On 15-11-10 19:20, Dvorkin Dmitry wrote:
>
> Signed-off-by: Dvorkin Dmitry <dvorkin@tibbo.com>
> ---
> recipes/shorewall/shorewall-deps.inc | 20 ++++++++++++++++++++
> recipes/shorewall/shorewall-shell_4.2.11.bb | 12 ++++++++++++
> recipes/shorewall/shorewall.inc | 19 +++++++++++++++++++
> recipes/shorewall/shorewall_4.4.14.bb | 12 ++++++++++++
> 4 files changed, 63 insertions(+), 0 deletions(-)
> create mode 100644 recipes/shorewall/shorewall-deps.inc
> create mode 100644 recipes/shorewall/shorewall-shell_4.2.11.bb
> create mode 100644 recipes/shorewall/shorewall.inc
> create mode 100644 recipes/shorewall/shorewall_4.4.14.bb
>
> diff --git a/recipes/shorewall/shorewall-deps.inc b/recipes/shorewall/shorewall-deps.inc
> new file mode 100644
> index 0000000..5ad98f0
> --- /dev/null
> +++ b/recipes/shorewall/shorewall-deps.inc
> @@ -0,0 +1,20 @@
> +
> +# version 4.4.x requires perl + some perl modules
> +RDEPENDS_${PN} += "\
> + perl \
> + perl-module-lib \
> + perl-module-autouse \
> + perl-module-cwd \
> + perl-module-file-basename \
> + perl-module-file-temp \
> + perl-module-getopt-long \
> + perl-module-carp \
> + perl-module-findbin \
> + perl-module-file-spec-unix \
> + perl-module-scalar-util \
> + perl-module-io \
> + perl-module-io-handle \
> + perl-module-exporter-heavy \
> + perl-module-list-util \
> + perl-module-socket \
> +"
> diff --git a/recipes/shorewall/shorewall-shell_4.2.11.bb b/recipes/shorewall/shorewall-shell_4.2.11.bb
> new file mode 100644
> index 0000000..d451bcb
> --- /dev/null
> +++ b/recipes/shorewall/shorewall-shell_4.2.11.bb
> @@ -0,0 +1,12 @@
> +require shorewall.inc
> +
> +PR = "${INC_PR}.0"
> +
> +# this version (4.2, legacy!) require only shell as parser
> +
> +SRC_URI = " \
> + http://www.shorewall.net/pub/shorewall/4.2/shorewall-${PV}/${PN}-${PV}.tar.bz2 \
> + "
> +
> +SRC_URI[md5sum] = "518a7f389a6f606c109acb7dfbe18372"
> +SRC_URI[sha256sum] = "c85c8400015794b8fb191e519a0b8711028c865ca2b7e85099c7be26fe479e02"
> diff --git a/recipes/shorewall/shorewall.inc b/recipes/shorewall/shorewall.inc
> new file mode 100644
> index 0000000..4eab2e5
> --- /dev/null
> +++ b/recipes/shorewall/shorewall.inc
> @@ -0,0 +1,19 @@
> +DESCRIPTION = "Shorewall is a high-level tool for configuring Netfilter."
> +HOMEPAGE = "http://www.shorewall.net/"
> +LICENSE = "GPLv2"
> +SECTION = "network"
> +PRIORITY = "optional"
> +
> +INC_PR = "r0"
> +
> +S = "${WORKDIR}/${PN}-${PV}"
> +
> +RDEPENDS_${PN} += "iptables"
> +RRECOMMENDS_${PN} = "kernel-module-ip-tables kernel-module-ip-conntrack kernel-module-ipt-conntrack kernel-module-ipt-multiport kernel-module-ipt-log kernel-module-ipt-mac kernel-module-ipt-mark kernel-module-ipt-masquerade kernel-module-ipt-pkttype kernel-module-ipt-reject kernel-module-ipt-state kernel-module-ipt-tos kernel-module-iptable-filter kernel-module-iptable-mangle kernel-module-iptable-nat"
> +
> +do_install() {
> + export PREFIX=${D}
> + ${WORKDIR}/${PN}-${PV}/install.sh
> +}
> +
> +FILES_${PN} += "${datadir}/shorewall/*"
> diff --git a/recipes/shorewall/shorewall_4.4.14.bb b/recipes/shorewall/shorewall_4.4.14.bb
> new file mode 100644
> index 0000000..6e3e418
> --- /dev/null
> +++ b/recipes/shorewall/shorewall_4.4.14.bb
> @@ -0,0 +1,12 @@
> +require shorewall.inc
> +# this version (4.4) requires some deps (perl)
> +require shorewall-deps.inc
> +
> +PR = "${INC_PR}.0"
> +
> +SRC_URI = " \
> + http://www.shorewall.net/pub/shorewall/4.4/shorewall-${PV}/${PN}-${PV}.tar.bz2 \
> + "
> +
> +SRC_URI[md5sum] = "9f8705d69d42eb949e352af72c3af8bb"
> +SRC_URI[sha256sum] = "af097fc18c0d5a3b562812814107b627bfd3d802e3b5fe45fec4e53a4e84f17c"
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
iD8DBQFM4ZgXMkyGM64RGpERAkV2AKCvJvLjUMIC2ZQtziJqO4aY3SSQ1QCfQYqC
tclhKTAWokATwSWCgnCmX70=
=tEvl
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH] shorewall: updated to 4.2-shell and 4.4-perl versions
@ 2010-11-15 18:20 Dvorkin Dmitry
2010-11-15 20:29 ` Koen Kooi
0 siblings, 1 reply; 4+ messages in thread
From: Dvorkin Dmitry @ 2010-11-15 18:20 UTC (permalink / raw)
To: openembedded-devel
Signed-off-by: Dvorkin Dmitry <dvorkin@tibbo.com>
---
recipes/shorewall/shorewall-deps.inc | 20 ++++++++++++++++++++
recipes/shorewall/shorewall-shell_4.2.11.bb | 12 ++++++++++++
recipes/shorewall/shorewall.inc | 19 +++++++++++++++++++
recipes/shorewall/shorewall_4.4.14.bb | 12 ++++++++++++
4 files changed, 63 insertions(+), 0 deletions(-)
create mode 100644 recipes/shorewall/shorewall-deps.inc
create mode 100644 recipes/shorewall/shorewall-shell_4.2.11.bb
create mode 100644 recipes/shorewall/shorewall.inc
create mode 100644 recipes/shorewall/shorewall_4.4.14.bb
diff --git a/recipes/shorewall/shorewall-deps.inc b/recipes/shorewall/shorewall-deps.inc
new file mode 100644
index 0000000..5ad98f0
--- /dev/null
+++ b/recipes/shorewall/shorewall-deps.inc
@@ -0,0 +1,20 @@
+
+# version 4.4.x requires perl + some perl modules
+RDEPENDS_${PN} += "\
+ perl \
+ perl-module-lib \
+ perl-module-autouse \
+ perl-module-cwd \
+ perl-module-file-basename \
+ perl-module-file-temp \
+ perl-module-getopt-long \
+ perl-module-carp \
+ perl-module-findbin \
+ perl-module-file-spec-unix \
+ perl-module-scalar-util \
+ perl-module-io \
+ perl-module-io-handle \
+ perl-module-exporter-heavy \
+ perl-module-list-util \
+ perl-module-socket \
+"
diff --git a/recipes/shorewall/shorewall-shell_4.2.11.bb b/recipes/shorewall/shorewall-shell_4.2.11.bb
new file mode 100644
index 0000000..d451bcb
--- /dev/null
+++ b/recipes/shorewall/shorewall-shell_4.2.11.bb
@@ -0,0 +1,12 @@
+require shorewall.inc
+
+PR = "${INC_PR}.0"
+
+# this version (4.2, legacy!) require only shell as parser
+
+SRC_URI = " \
+ http://www.shorewall.net/pub/shorewall/4.2/shorewall-${PV}/${PN}-${PV}.tar.bz2 \
+ "
+
+SRC_URI[md5sum] = "518a7f389a6f606c109acb7dfbe18372"
+SRC_URI[sha256sum] = "c85c8400015794b8fb191e519a0b8711028c865ca2b7e85099c7be26fe479e02"
diff --git a/recipes/shorewall/shorewall.inc b/recipes/shorewall/shorewall.inc
new file mode 100644
index 0000000..4eab2e5
--- /dev/null
+++ b/recipes/shorewall/shorewall.inc
@@ -0,0 +1,19 @@
+DESCRIPTION = "Shorewall is a high-level tool for configuring Netfilter."
+HOMEPAGE = "http://www.shorewall.net/"
+LICENSE = "GPLv2"
+SECTION = "network"
+PRIORITY = "optional"
+
+INC_PR = "r0"
+
+S = "${WORKDIR}/${PN}-${PV}"
+
+RDEPENDS_${PN} += "iptables"
+RRECOMMENDS_${PN} = "kernel-module-ip-tables kernel-module-ip-conntrack kernel-module-ipt-conntrack kernel-module-ipt-multiport kernel-module-ipt-log kernel-module-ipt-mac kernel-module-ipt-mark kernel-module-ipt-masquerade kernel-module-ipt-pkttype kernel-module-ipt-reject kernel-module-ipt-state kernel-module-ipt-tos kernel-module-iptable-filter kernel-module-iptable-mangle kernel-module-iptable-nat"
+
+do_install() {
+ export PREFIX=${D}
+ ${WORKDIR}/${PN}-${PV}/install.sh
+}
+
+FILES_${PN} += "${datadir}/shorewall/*"
diff --git a/recipes/shorewall/shorewall_4.4.14.bb b/recipes/shorewall/shorewall_4.4.14.bb
new file mode 100644
index 0000000..6e3e418
--- /dev/null
+++ b/recipes/shorewall/shorewall_4.4.14.bb
@@ -0,0 +1,12 @@
+require shorewall.inc
+# this version (4.4) requires some deps (perl)
+require shorewall-deps.inc
+
+PR = "${INC_PR}.0"
+
+SRC_URI = " \
+ http://www.shorewall.net/pub/shorewall/4.4/shorewall-${PV}/${PN}-${PV}.tar.bz2 \
+ "
+
+SRC_URI[md5sum] = "9f8705d69d42eb949e352af72c3af8bb"
+SRC_URI[sha256sum] = "af097fc18c0d5a3b562812814107b627bfd3d802e3b5fe45fec4e53a4e84f17c"
--
1.6.4.4
^ permalink raw reply related [flat|nested] 4+ messages in thread
end of thread, other threads:[~2010-11-17 1:56 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-11-15 17:17 [PATCH] shorewall: updated to 4.2-shell and 4.4-perl versions Dvorkin Dmitry
2010-11-15 18:20 Dvorkin Dmitry
2010-11-15 20:29 ` Koen Kooi
2010-11-17 1:55 ` Michael Smith
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.