More networking recipes
cover More networking recipes
These are updated, rebased and extended versions of patches originally submitted by Vladimir Redzhepoff and Yauhen Kharuzhy, now applied to meta-networking after discussion with them. This series also moves libnfnetlink to meta-networking and adds some additional netfilter library recipes needed for current versions of the netfilter suite.
Note that the original patch for pure-ftpd said that it was an updated version of a recipe from OE-Classic; there was no such recipe in OE-Classic however so I have commented it as a new recipe. The libnetfilter-queue recipe was written from scratch as I did not notice it was in OE-Classic; neither version has anything particularly interesting in it and this version is more up-to-date.
The following changes since commit 85ab35f4edac91ecc180161e97c6698f1c10928b:
netperf: Correct license flags (2012-11-30 11:49:56 -0500)
are available in the git repository at:
git://git.openembedded.org/meta-openembedded-contrib paule/networking2
http://cgit.openembedded.org/cgit.cgi/meta-openembedded-contrib/log/?h=paule/networking2
Paul Eggleton (11):
netcat: add from OE-Classic
libnfnetlink: move to meta-networking and update to 1.0.1
libmnl: add new recipe for version 1.0.3
libnetfilter-conntrack: add from OE-Classic and update
libnetfilter-cttimeout: add new recipe for version 1.0.0
libnetfilter-cthelper: add new recipe for version 1.0.0
libnetfilter-queue: add new recipe for version 1.0.2
conntrack-tools: add from OE-Classic, update and tidy up
ebtables: add from OE-Classic, update and tidy up
pure-ftpd: add new recipe for 1.0.36
pptp-linux: add from OE-Classic, update and tidy up
...coded-usr-local-includes-from-configure.a.patch | 38 ++++ .../pure-ftpd/pure-ftpd/nostrip.patch | 30 ++++ .../recipes-daemons/pure-ftpd/pure-ftpd_1.0.36.bb | 19 ++ .../conntrack-tools/conntrack-tools_1.4.0.bb | 33 ++++ .../conntrack-tools/files/conntrack-failover | 77 ++++++++ .../recipes-filter/conntrack-tools/files/init | 87 +++++++++ .../ebtables-2.0.10-4/01debian_defaultconfig.patch | 50 ++++++ .../ebtables/ebtables-2.0.10-4/ebtables.init | 186 ++++++++++++++++++++ .../ebtables-2.0.10-4/installnonroot.patch | 43 +++++ .../recipes-filter/ebtables/ebtables_2.0.10-4.bb | 52 ++++++ .../recipes-filter/libmnl/libmnl_1.0.3.bb | 12 ++ .../libnetfilter/libnetfilter-conntrack_1.0.2.bb | 14 ++ .../libnetfilter/libnetfilter-cthelper_1.0.0.bb | 14 ++ .../libnetfilter/libnetfilter-cttimeout_1.0.0.bb | 13 ++ .../libnetfilter/libnetfilter-queue_1.0.2.bb | 14 ++ .../libnfnetlink/libnfnetlink_1.0.1.bb | 11 +- .../pptp-linux/pptp-linux-1.7.2/options.pptp | 30 ++++ .../pptp-linux/pptp-linux_1.7.2.bb | 29 +++ .../recipes-support/netcat/netcat_0.7.1.bb | 21 +++ 19 files changed, 768 insertions(+), 5 deletions(-) create mode 100644 meta-networking/recipes-daemons/pure-ftpd/pure-ftpd/0001-Remove-hardcoded-usr-local-includes-from-configure.a.patch create mode 100644 meta-networking/recipes-daemons/pure-ftpd/pure-ftpd/nostrip.patch create mode 100644 meta-networking/recipes-daemons/pure-ftpd/pure-ftpd_1.0.36.bb create mode 100644 meta-networking/recipes-filter/conntrack-tools/conntrack-tools_1.4.0.bb create mode 100644 meta-networking/recipes-filter/conntrack-tools/files/conntrack-failover create mode 100644 meta-networking/recipes-filter/conntrack-tools/files/init create mode 100644 meta-networking/recipes-filter/ebtables/ebtables-2.0.10-4/01debian_defaultconfig.patch create mode 100755 meta-networking/recipes-filter/ebtables/ebtables-2.0.10-4/ebtables.init create mode 100644 meta-networking/recipes-filter/ebtables/ebtables-2.0.10-4/installnonroot.patch create mode 100644 meta-networking/recipes-filter/ebtables/ebtables_2.0.10-4.bb create mode 100644 meta-networking/recipes-filter/libmnl/libmnl_1.0.3.bb create mode 100644 meta-networking/recipes-filter/libnetfilter/libnetfilter-conntrack_1.0.2.bb create mode 100644 meta-networking/recipes-filter/libnetfilter/libnetfilter-cthelper_1.0.0.bb create mode 100644 meta-networking/recipes-filter/libnetfilter/libnetfilter-cttimeout_1.0.0.bb create mode 100644 meta-networking/recipes-filter/libnetfilter/libnetfilter-queue_1.0.2.bb rename meta-oe/recipes-connectivity/libnfnetlink/libnfnetlink_1.0.0.bb => meta-networking/recipes-filter/libnfnetlink/libnfnetlink_1.0.1.bb (60%) create mode 100644 meta-networking/recipes-protocols/pptp-linux/pptp-linux-1.7.2/options.pptp create mode 100644 meta-networking/recipes-protocols/pptp-linux/pptp-linux_1.7.2.bb create mode 100644 meta-networking/recipes-support/netcat/netcat_0.7.1.bb
Signature · 1 line
1.7.10.4
PATCH 1/11 netcat: add from OE-Classic
Changes from the OE-Classic recipe:
* Use ALTERNATIVE_${PN} instead of ALTERNATIVE_NAME
* Add LIC_FILES_CHKSUM
* Move SRC_URI checksums underneath SRC_URI
Based on a patch by Vladimir Redzhepoff <[email protected]>
--- .../recipes-support/netcat/netcat_0.7.1.bb | 21 ++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 meta-networking/recipes-support/netcat/netcat_0.7.1.bb
meta-networking/recipes-support/netcat/netcat_0.7.1.bb new file +21 -0
@@ -0,0 +1,21 @@ +DESCRIPTION = "GNU Netcat" +HOMEPAGE = "http://netcat.sourceforge.net" +SECTION = "console/network" +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" + +PR = "r0" + +SRC_URI = "${SOURCEFORGE_MIRROR}/netcat/netcat-${PV}.tar.bz2" + +SRC_URI[md5sum] = "0a29eff1736ddb5effd0b1ec1f6fe0ef" +SRC_URI[sha256sum] = "b55af0bbdf5acc02d1eb6ab18da2acd77a400bafd074489003f3df09676332bb" + +inherit autotools update-alternatives gettext + +do_install_append() { + mv ${D}${bindir}/nc ${D}${bindir}/nc.${PN} +} + +ALTERNATIVE_${PN} = "nc" +ALTERNATIVE_PRIORITY = "100"
Signature · 1 line
1.7.10.4
PATCH 2/11 libnfnetlink: move to meta-networking and update to 1.0.1
In reply to Paul Eggleton* Fix SRC_URI checksum to not be version-specific
* Refer to new COPYING file in LIC_FILES_CHKSUM (previously none was distributed)
--- .../recipes-filter/libnfnetlink/libnfnetlink_1.0.1.bb | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) rename meta-oe/recipes-connectivity/libnfnetlink/libnfnetlink_1.0.0.bb => meta-networking/recipes-filter/libnfnetlink/libnfnetlink_1.0.1.bb (60%)
meta-networking/recipes-filter/libnfnetlink/libnfnetlink_1.0.1.bb renamed from meta-oe/recipes-connectivity/libnfnetlink/libnfnetlink_1.0.0.bb +6 -5
@@ -1,3 +1,4 @@ +SUMMARY = "Low-level library for netfilter related kernel/userspace communication" DESCRIPTION = "libnfnetlink is the low-level library for netfilter related \ kernel/userspace communication. It provides a generic messaging \ infrastructure for in-kernel netfilter subsystems (such as nfnetlink_log, \
@@ -7,12 +8,12 @@ HOMEPAGE = "http://www.netfilter.org/projects/libnfnetlink/index.html" SECTION = "devel/libs" LICENSE = "GPLv2+" -PR = "r1" +PR = "r0" -LIC_FILES_CHKSUM = "file://src/libnfnetlink.c;beginline=3;endline=11;md5=28bd3bf7f60a78101491eef6b9bb9eba" +LIC_FILES_CHKSUM = "file://COPYING;md5=8ca43cbc842c2336e835926c2166c28b" -SRC_URI = "http://www.netfilter.org/projects/libnfnetlink/files/libnfnetlink-${PV}.tar.bz2;name=libnfnetlink-${PV}" -SRC_URI[libnfnetlink-1.0.0.md5sum] = "016fdec8389242615024c529acc1adb8" -SRC_URI[libnfnetlink-1.0.0.sha256sum] = "3752b03a4c09821ee9a2528d69289423a01e7171f1a22dfdd11d5459e03972fb" +SRC_URI = "http://www.netfilter.org/projects/libnfnetlink/files/libnfnetlink-${PV}.tar.bz2;name=tar" +SRC_URI[tar.md5sum] = "98927583d2016a9fb1936fed992e2c5e" +SRC_URI[tar.sha256sum] = "f270e19de9127642d2a11589ef2ec97ef90a649a74f56cf9a96306b04817b51a" inherit autotools pkgconfig
Signature · 1 line
1.7.10.4
PATCH 3/11 libmnl: add new recipe for version 1.0.3
In reply to Paul EggletonThis library is required by recent versions of some the libnetfilter* libraries.
--- meta-networking/recipes-filter/libmnl/libmnl_1.0.3.bb | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 meta-networking/recipes-filter/libmnl/libmnl_1.0.3.bb
meta-networking/recipes-filter/libmnl/libmnl_1.0.3.bb new file +12 -0
@@ -0,0 +1,12 @@ +SUMMARY = "Minimalistic user-space Netlink utility library" +DESCRIPTION = "Minimalistic user-space library oriented to Netlink developers, providing \ + functions for common tasks in parsing, validating, and constructing both the Netlink header and TLVs." +HOMEPAGE = "http://www.netfilter.org/projects/libmnl/index.html" +LICENSE = "LGPLv2.1+" +LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c" + +SRC_URI = "http://www.netfilter.org/projects/libmnl/files/libmnl-${PV}.tar.bz2;name=tar" +SRC_URI[tar.md5sum] = "7d95fc3bea3365bc03c48e484224f65f" +SRC_URI[tar.sha256sum] = "6f14336e9acdbc62c2dc71bbb59ce162e54e9af5c80153e92476c5443fe784de" + +inherit autotools pkgconfig
Signature · 1 line
1.7.10.4
PATCH 4/11 libnetfilter-conntrack: add from OE-Classic and update
In reply to Paul Eggleton* Update to version 1.0.2
* Add SUMMARY and tweak DESCRIPTION
* Add HOMEPAGE
* Add dependency on libmnl
Based on a patch by Yauhen Kharuzhy <[email protected]>
--- .../libnetfilter/libnetfilter-conntrack_1.0.2.bb | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 meta-networking/recipes-filter/libnetfilter/libnetfilter-conntrack_1.0.2.bb
meta-networking/recipes-filter/libnetfilter/libnetfilter-conntrack_1.0.2.bb new file +14 -0
@@ -0,0 +1,14 @@ +SUMMARY = "Netfilter connection tracking library" +DESCRIPTION = "Userspace library providing a programming interface (API) to the Linux kernel netfilter connection tracking state table" +HOMEPAGE = "http://www.netfilter.org/projects/libnetfilter_conntrack/index.html" +LICENSE = "GPLv2+" +LIC_FILES_CHKSUM = "file://COPYING;md5=8ca43cbc842c2336e835926c2166c28b" +DEPENDS = "libnfnetlink libmnl" + +SRC_URI = "http://www.netfilter.org/projects/libnetfilter_conntrack/files/libnetfilter_conntrack-${PV}.tar.bz2;name=tar" +SRC_URI[tar.md5sum] = "447114b5d61bb9a9617ead3217c3d3ff" +SRC_URI[tar.sha256sum] = "a0bd747dd58ae1513586b43c7125b41e6325f97eb95ac63d53cf5aeb33254d12" + +S = "${WORKDIR}/libnetfilter_conntrack-${PV}" + +inherit autotools pkgconfig
Signature · 1 line
1.7.10.4
PATCH 5/11 libnetfilter-cttimeout: add new recipe for version 1.0.0
In reply to Paul EggletonThis library is needed by recent versions of conntrack-tools.
--- .../libnetfilter/libnetfilter-cttimeout_1.0.0.bb | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 meta-networking/recipes-filter/libnetfilter/libnetfilter-cttimeout_1.0.0.bb
meta-networking/recipes-filter/libnetfilter/libnetfilter-cttimeout_1.0.0.bb new file +13 -0
@@ -0,0 +1,13 @@ +SUMMARY = "Netfilter connection tracking timeout library" +DESCRIPTION = "Userspace library providing a programming interface (API) to the Linux kernel netfilter fine-grain connection tracking timeout infrastructure" +LICENSE = "GPLv2+" +LIC_FILES_CHKSUM = "file://COPYING;md5=8ca43cbc842c2336e835926c2166c28b" +DEPENDS = "libmnl" + +SRC_URI = "http://www.netfilter.org/projects/libnetfilter_cttimeout/files/libnetfilter_cttimeout-${PV}.tar.bz2;name=tar" +SRC_URI[tar.md5sum] = "7697437fc9ebb6f6b83df56a633db7f9" +SRC_URI[tar.sha256sum] = "aeab12754f557cba3ce2950a2029963d817490df7edb49880008b34d7ff8feba" + +S = "${WORKDIR}/libnetfilter_cttimeout-${PV}" + +inherit autotools pkgconfig
Signature · 1 line
1.7.10.4
PATCH 6/11 libnetfilter-cthelper: add new recipe for version 1.0.0
In reply to Paul EggletonThis library is needed by recent versions of conntrack-tools.
--- .../libnetfilter/libnetfilter-cthelper_1.0.0.bb | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 meta-networking/recipes-filter/libnetfilter/libnetfilter-cthelper_1.0.0.bb
meta-networking/recipes-filter/libnetfilter/libnetfilter-cthelper_1.0.0.bb new file +14 -0
@@ -0,0 +1,14 @@ +SUMMARY = "Netfilter connection tracking helper library" +DESCRIPTION = "Userspace library providing a programming interface (API) to the Linux kernel netfilter user-space helper infrastructure" +HOMEPAGE = "http://www.netfilter.org/projects/libnetfilter_cthelper/index.html" +LICENSE = "GPLv2+" +LIC_FILES_CHKSUM = "file://COPYING;md5=8ca43cbc842c2336e835926c2166c28b" +DEPENDS = "libmnl" + +SRC_URI = "http://www.netfilter.org/projects/libnetfilter_cthelper/files/libnetfilter_cthelper-${PV}.tar.bz2;name=tar" +SRC_URI[tar.md5sum] = "b2efab1a3a198a5add448960ba011acd" +SRC_URI[tar.sha256sum] = "07618e71c4d9a6b6b3dc1986540486ee310a9838ba754926c7d14a17d8fccf3d" + +S = "${WORKDIR}/libnetfilter_cthelper-${PV}" + +inherit autotools pkgconfig
Signature · 1 line
1.7.10.4
PATCH 7/11 libnetfilter-queue: add new recipe for version 1.0.2
In reply to Paul EggletonThis library is needed by recent versions of conntrack-tools.
--- .../libnetfilter/libnetfilter-queue_1.0.2.bb | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 meta-networking/recipes-filter/libnetfilter/libnetfilter-queue_1.0.2.bb
meta-networking/recipes-filter/libnetfilter/libnetfilter-queue_1.0.2.bb new file +14 -0
@@ -0,0 +1,14 @@ +SUMMARY = "Netfilter packet queue access library" +DESCRIPTION = "Userspace library providing a programming interface (API) to access the Linux kernel netfilter packet queue" +HOMEPAGE = "http://www.netfilter.org/projects/libnetfilter_queue/index.html" +LICENSE = "GPLv2+" +LIC_FILES_CHKSUM = "file://COPYING;md5=8ca43cbc842c2336e835926c2166c28b" +DEPENDS = "libnfnetlink" + +SRC_URI = "http://www.netfilter.org/projects/libnetfilter_queue/files/libnetfilter_queue-${PV}.tar.bz2;name=tar" +SRC_URI[tar.md5sum] = "df09befac35cb215865b39a36c96a3fa" +SRC_URI[tar.sha256sum] = "838490eb5dbe358f9669823704982f5313a8d397111562373200203f93ac1a32" + +S = "${WORKDIR}/libnetfilter_queue-${PV}" + +inherit autotools pkgconfig
Signature · 1 line
1.7.10.4
PATCH 8/11 conntrack-tools: add from OE-Classic, update and tidy up
In reply to Paul Eggleton* Update to version 1.4.0 and add additional dependencies
* Handle hardcoded paths in initscripts
* Add LSB header to initscript
* Make LICENSE more specific
* Add LIC_FILES_CHKSUM
* Set SUMMARY (which sets DESCRIPTION)
Based on a patch by Yauhen Kharuzhy <[email protected]>
--- .../conntrack-tools/conntrack-tools_1.4.0.bb | 33 ++++++++ .../conntrack-tools/files/conntrack-failover | 77 +++++++++++++++++ .../recipes-filter/conntrack-tools/files/init | 87 ++++++++++++++++++++ 3 files changed, 197 insertions(+) create mode 100644 meta-networking/recipes-filter/conntrack-tools/conntrack-tools_1.4.0.bb create mode 100644 meta-networking/recipes-filter/conntrack-tools/files/conntrack-failover create mode 100644 meta-networking/recipes-filter/conntrack-tools/files/init
meta-networking/recipes-filter/conntrack-tools/conntrack-tools_1.4.0.bb new file +33 -0
@@ -0,0 +1,33 @@ +SUMMARY = "Connection tracking userspace tools for Linux" +LICENSE = "GPLv2+" +LIC_FILES_CHKSUM = "file://COPYING;md5=8ca43cbc842c2336e835926c2166c28b" +DEPENDS = "libnfnetlink libnetfilter-conntrack libnetfilter-cttimeout \ + libnetfilter-cthelper libnetfilter-queue" + +PR = "r0" + +SRC_URI = " \ + http://www.netfilter.org/projects/conntrack-tools/files/conntrack-tools-${PV}.tar.bz2;name=tar \ + file://conntrack-failover \ + file://init \ + " +SRC_URI[tar.md5sum] = "ee737c774e01349f75e935228a2d851b" +SRC_URI[tar.sha256sum] = "036b032a5c4d180aad686df21399d74506b9b3d3000794eb13ac313482e24896" + +inherit autotools update-rc.d + +INITSCRIPT_NAME = "conntrackd" + +do_install_append() { + install -d ${D}/${sysconfdir}/conntrackd + install -d ${D}/${sysconfdir}/init.d + install -m 0644 doc/sync/ftfw/conntrackd.conf ${D}/${sysconfdir}/conntrackd/conntrackd.conf.sample + install -m 0755 ${WORKDIR}/conntrack-failover ${D}/${sysconfdir}/init.d/conntrack-failover + install -m 0755 ${WORKDIR}/init ${D}/${sysconfdir}/init.d/conntrackd + + # Fix hardcoded paths in scripts + sed -i 's!/usr/sbin/!${sbindir}/!g' ${D}/${sysconfdir}/init.d/conntrack-failover ${D}/${sysconfdir}/init.d/conntrackd + sed -i 's!/etc/!${sysconfdir}/!g' ${D}/${sysconfdir}/init.d/conntrack-failover ${D}/${sysconfdir}/init.d/conntrackd + sed -i 's!/var/!${localstatedir}/!g' ${D}/${sysconfdir}/init.d/conntrack-failover ${D}/${sysconfdir}/init.d/conntrackd ${D}/${sysconfdir}/conntrackd/conntrackd.conf.sample + sed -i 's!^export PATH=.*!export PATH=${base_sbindir}:${base_bindir}:${sbindir}:${bindir}!' ${D}/${sysconfdir}/init.d/conntrackd +}
meta-networking/recipes-filter/conntrack-tools/files/conntrack-failover new file +77 -0
77 lines not on this page · raw message
meta-networking/recipes-filter/conntrack-tools/files/init new file +87 -0
87 lines not on this page · raw message
Signature · 1 line
1.7.10.4
PATCH 9/11 ebtables: add from OE-Classic, update and tidy up
In reply to Paul Eggleton* Update to 2.0.10-4
* Handle hardcoded paths in initscript
* Add LIC_FILES_CHKSUM
* Set SUMMARY (which sets DESCRIPTION)
* Drop PRIORITY
* Minor formatting/ordering tweaks
Based on a patch by Vladimir Redzhepoff <[email protected]>
--- .../ebtables-2.0.10-4/01debian_defaultconfig.patch | 50 ++++++ .../ebtables/ebtables-2.0.10-4/ebtables.init | 186 ++++++++++++++++++++ .../ebtables-2.0.10-4/installnonroot.patch | 43 +++++ .../recipes-filter/ebtables/ebtables_2.0.10-4.bb | 52 ++++++ 4 files changed, 331 insertions(+) create mode 100644 meta-networking/recipes-filter/ebtables/ebtables-2.0.10-4/01debian_defaultconfig.patch create mode 100755 meta-networking/recipes-filter/ebtables/ebtables-2.0.10-4/ebtables.init create mode 100644 meta-networking/recipes-filter/ebtables/ebtables-2.0.10-4/installnonroot.patch create mode 100644 meta-networking/recipes-filter/ebtables/ebtables_2.0.10-4.bb
meta-networking/recipes-filter/ebtables/ebtables-2.0.10-4/01debian_defaultconfig.patch new file +50 -0
@@ -0,0 +1,50 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## debian_defaultconfig.dpatch by <[email protected]> +## +## DP: Debian enhancements to the ebtables "sysconfig" default settings. + +@DPATCH@ + +--- ebtables-2.0.8.1.orig/ebtables-config ++++ ebtables-2.0.8.1/ebtables-config +@@ -1,17 +1,3 @@ +-# Save (and possibly restore) in text format. +-# Value: yes|no, default: yes +-# Save the firewall rules in text format to __SYSCONFIG__/ebtables +-# If EBTABLES_BINARY_FORMAT="no" then restoring the firewall rules +-# is done using this text format. +-EBTABLES_TEXT_FORMAT="yes" +- +-# Save (and restore) in binary format. +-# Value: yes|no, default: yes +-# Save (and restore) the firewall rules in binary format to (and from) +-# __SYSCONFIG__/ebtables.<chain>. Enabling this option will make +-# firewall initialisation a lot faster. +-EBTABLES_BINARY_FORMAT="yes" +- + # Unload modules on restart and stop + # Value: yes|no, default: yes + # This option has to be 'yes' to get to a sane state for a firewall +@@ -19,6 +5,12 @@ + # modules. + EBTABLES_MODULES_UNLOAD="yes" + ++# Load firewall rules on system startup. ++# Value: yes|no, default: no ++# Restores the ebtables rulesets from the last saved state when the ++# system boots up. ++EBTABLES_LOAD_ON_START="no" ++ + # Save current firewall rules on stop. + # Value: yes|no, default: no + # Saves all firewall rules if firewall gets stopped +@@ -35,3 +27,9 @@ + # Save rule counters when saving a kernel table to a file. If the + # rule counters were saved, they will be restored when restoring the table. + EBTABLES_SAVE_COUNTER="no" ++ ++# Backup suffix for ruleset save files. ++# Value: <string>, default: "~" ++# Keep one backup level of saved rules. ++# Set this variable to the empty string to disable backups. ++EBTABLES_BACKUP_SUFFIX="~"
meta-networking/recipes-filter/ebtables/ebtables-2.0.10-4/ebtables.init new file +186 -0
186 lines not on this page · raw message
meta-networking/recipes-filter/ebtables/ebtables-2.0.10-4/installnonroot.patch new file +43 -0
43 lines not on this page · raw message
meta-networking/recipes-filter/ebtables/ebtables_2.0.10-4.bb new file +52 -0
52 lines not on this page · raw message
Signature · 1 line
1.7.10.4
PATCH 10/11 pure-ftpd: add new recipe for 1.0.36
In reply to Paul EggletonBased on a patch by Yauhen Kharuzhy <[email protected]>
--- ...coded-usr-local-includes-from-configure.a.patch | 38 ++++++++++++++++++++ .../pure-ftpd/pure-ftpd/nostrip.patch | 30 ++++++++++++++++ .../recipes-daemons/pure-ftpd/pure-ftpd_1.0.36.bb | 19 ++++++++++ 3 files changed, 87 insertions(+) create mode 100644 meta-networking/recipes-daemons/pure-ftpd/pure-ftpd/0001-Remove-hardcoded-usr-local-includes-from-configure.a.patch create mode 100644 meta-networking/recipes-daemons/pure-ftpd/pure-ftpd/nostrip.patch create mode 100644 meta-networking/recipes-daemons/pure-ftpd/pure-ftpd_1.0.36.bb
meta-networking/recipes-daemons/pure-ftpd/pure-ftpd/0001-Remove-hardcoded-usr-local-includes-from-configure.a.patch new file +38 -0
@@ -0,0 +1,38 @@ +From cffca7cb7c055f82ced316ddee90bb701b85b92d Mon Sep 17 00:00:00 2001 +From: Yauhen Kharuzhy <[email protected]> +Date: Tue, 10 Jan 2012 19:15:25 +0300 +Subject: [PATCH] Remove hardcoded /usr/local includes from configure.ac + +Upstream-Status: Inappropriate [config] + +Signed-off-by: Yauhen Kharuzhy <[email protected]> +--- + configure.ac | 12 ------------ + 1 files changed, 0 insertions(+), 12 deletions(-) + +diff --git a/configure.ac b/configure.ac +index ae00c08..9ba6d8d 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -67,18 +67,6 @@ AC_ARG_VAR(PYTHON,local path to the python interpreter) + python_possible_path="/usr/bin:/usr/local/bin:/bin:/opt/python/bin:/opt/python/usr/bin:/opt/python/usr/local/bin" + AC_PATH_PROG(PYTHON,python,/usr/bin/env python,$python_possible_path) + +-if test -d /usr/local/include; then +- CPPFLAGS="$CPPFLAGS -I/usr/local/include" +-fi +- +-if test -d /usr/kerberos/include; then +- CPPFLAGS="$CPPFLAGS -I/usr/kerberos/include" +-fi +- +-if test -d /usr/local/lib; then +- LDFLAGS="$LDFLAGS -L/usr/local/lib" +-fi +- + if uname | fgrep SunOS > /dev/null 2> /dev/null ; then + CPPFLAGS="$CPPFLAGS -D_XPG4_2=1" + fi +-- +1.7.7.3 +
meta-networking/recipes-daemons/pure-ftpd/pure-ftpd/nostrip.patch new file +30 -0
@@ -0,0 +1,30 @@ +From 45eb89d1a6fde65caaf2d6e1a5d527f1ae7beb9c Mon Sep 17 00:00:00 2001 +From: Paul Eggleton <[email protected]> +Date: Mon, 3 Dec 2012 17:12:11 +0000 +Subject: [PATCH] Don't mess with CFLAGS and LDFLAGS when --with-minimal is specified + +We especially don't want stripping enabled. + +Upstream-Status: Inappropriate [config] + +Signed-off-by: Paul Eggleton <[email protected]> +--- + configure.ac | 2 -- + 1 files changed, 0 insertions(+), 2 deletions(-) + +diff --git a/configure.ac b/configure.ac +index 3d59409..6836c0e 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -413,8 +413,6 @@ AC_ARG_WITH(minimal, + AC_DEFINE(NO_FTP_USERS) + AC_DEFINE(WITHOUT_ASCII) + AC_DEFINE(BORING_MODE) +- CFLAGS="$CFLAGS -Os -fomit-frame-pointer -fgcse -falign-functions=2 -falign-jumps=2 -fno-unroll-loops " +- LDFLAGS="$LDFLAGS -s " + fi ]) + + AC_ARG_WITH(paranoidmsg, +-- +1.7.1 +
meta-networking/recipes-daemons/pure-ftpd/pure-ftpd_1.0.36.bb new file +19 -0
@@ -0,0 +1,19 @@ +SUMMARY = "Pure-FTPd is a free (BSD), secure, production-quality and standard-conformant FTP server" +HOMEPAGE = "http://www.pureftpd.org/project/pure-ftpd" +LICENSE = "BSD" +LIC_FILES_CHKSUM = "file://COPYING;md5=ae9e161311a5a0768c333b537a40e332" + +DEPENDS = "libcap" + +PR = "r0" + +SRC_URI = "http://download.pureftpd.org/pub/pure-ftpd/releases/pure-ftpd-${PV}.tar.gz \ + file://0001-Remove-hardcoded-usr-local-includes-from-configure.a.patch \ + file://nostrip.patch \ + " +SRC_URI[md5sum] = "bbcb48e8aa6ec1abff9775b89f84af91" +SRC_URI[sha256sum] = "90fb63b1a9d448076aa9f3e3c74b298965f98e03c824e9a4d241fffe8eb3a130" + +inherit autotools + +EXTRA_OECONF = "--with-minimal"
Signature · 1 line
1.7.10.4
PATCH 11/11 pptp-linux: add from OE-Classic, update and tidy up
In reply to Paul Eggleton* Update to 1.7.2
* Drop unnecessary override of do_compile
* Make LICENSE more accurate
* Add LIC_FILES_CHKSUM
* Add SUMMARY
* Minor formatting/ordering tweaks
Based on a patch by Vladimir Redzhepoff <[email protected]>
--- .../pptp-linux/pptp-linux-1.7.2/options.pptp | 30 ++++++++++++++++++++ .../pptp-linux/pptp-linux_1.7.2.bb | 29 +++++++++++++++++++ 2 files changed, 59 insertions(+) create mode 100644 meta-networking/recipes-protocols/pptp-linux/pptp-linux-1.7.2/options.pptp create mode 100644 meta-networking/recipes-protocols/pptp-linux/pptp-linux_1.7.2.bb
meta-networking/recipes-protocols/pptp-linux/pptp-linux-1.7.2/options.pptp new file +30 -0
@@ -0,0 +1,30 @@ +# +# Lock the port +# +lock + +# +# We don't need the tunnel server to authenticate itself +# +noauth + +# +# Turn off transmission protocols we know won't be used +# +nobsdcomp +nodeflate + +# +# We want MPPE +# (option naming specific to ppp 2.4.0 with unofficial patch) +# +#mppe-40 +mppe-128 +#mppe-stateless + +# +# We want a sane mtu/mru +# (ppp 2.4.0 with unofficial patch) +# +#mtu 1000 +#mru 1000
meta-networking/recipes-protocols/pptp-linux/pptp-linux_1.7.2.bb new file +29 -0
@@ -0,0 +1,29 @@ +SUMMARY = "Client for Microsoft PPTP VPNs" +DESCRIPTION = "PPTP Client is a Linux, FreeBSD, NetBSD \ + and OpenBSD client for the proprietary Microsoft Point-to-Point \ + Tunneling Protocol, PPTP. Allows connection to a PPTP based \ + Virtual Private Network (VPN) as used by employers and some \ + cable and ADSL internet service providers." +HOMEPAGE = "http://pptpclient.sourceforge.net" +SECTION = "network" +LICENSE = "GPLv2+" +LIC_FILES_CHKSUM = "file://COPYING;md5=8ca43cbc842c2336e835926c2166c28b" + +PR = "r0" + +SRC_URI = "${SOURCEFORGE_MIRROR}/sourceforge/pptpclient/pptp-${PV}.tar.gz \ + file://options.pptp" + +SRC_URI[md5sum] = "4c3d19286a37459a632c7128c92a9857" +SRC_URI[sha256sum] = "e98ae0065d2a39fa3131654ff28cb7070e996f668ed6d0e7d9a445b8d37694bc" + +S = "${WORKDIR}/pptp-${PV}" + +do_install() { + install -d ${D}${sbindir} ${D}${sysconfdir}/ppp ${D}${mandir}/man8 + install -m 555 pptp ${D}${sbindir} + install -m 644 pptp.8 ${D}${mandir}/man8 + install -m 644 ${WORKDIR}/options.pptp ${D}${sysconfdir}/ppp +} + +RDEPENDS_${PN} = "ppp"
Signature · 1 line
1.7.10.4
Taking this out for a spin now, looks reasonable to me, though.
-J.
Quoted 76 lines · [[oe] [meta-networking][PATCH 00/11] More networking recipes] On 12.12.03 (Mon…
These are updated, rebased and extended versions of patches originally submitted by Vladimir Redzhepoff and Yauhen Kharuzhy, now applied to meta-networking after discussion with them. This series also moves libnfnetlink to meta-networking and adds some additional netfilter library recipes needed for current versions of the netfilter suite.
Note that the original patch for pure-ftpd said that it was an updated version of a recipe from OE-Classic; there was no such recipe in OE-Classic however so I have commented it as a new recipe. The libnetfilter-queue recipe was written from scratch as I did not notice it was in OE-Classic; neither version has anything particularly interesting in it and this version is more up-to-date.
The following changes since commit
85ab35f4edac91ecc180161e97c6698f1c10928b:netperf: Correct license flags (2012-11-30 11:49:56 -0500)
are available in the git repository at:
git://git.openembedded.org/meta-openembedded-contribpaule/networking2
http://cgit.openembedded.org/cgit.cgi/meta-openembedded-contrib/log/?h=paule/networking2Paul Eggleton (11):
netcat: add from OE-Classic
libnfnetlink: move to meta-networking and update to 1.0.1
libmnl: add new recipe for version 1.0.3
libnetfilter-conntrack: add from OE-Classic and update
libnetfilter-cttimeout: add new recipe for version 1.0.0
libnetfilter-cthelper: add new recipe for version 1.0.0
libnetfilter-queue: add new recipe for version 1.0.2
conntrack-tools: add from OE-Classic, update and tidy up
ebtables: add from OE-Classic, update and tidy up
pure-ftpd: add new recipe for 1.0.36
pptp-linux: add from OE-Classic, update and tidy up...coded-usr-local-includes-from-configure.a.patch | 38 ++++ .../pure-ftpd/pure-ftpd/nostrip.patch | 30 ++++ .../recipes-daemons/pure-ftpd/pure-ftpd_1.0.36.bb | 19 ++ .../conntrack-tools/conntrack-tools_1.4.0.bb | 33 ++++ .../conntrack-tools/files/conntrack-failover | 77 ++++++++ .../recipes-filter/conntrack-tools/files/init | 87 +++++++++ .../ebtables-2.0.10-4/01debian_defaultconfig.patch | 50 ++++++ .../ebtables/ebtables-2.0.10-4/ebtables.init | 186 ++++++++++++++++++++ .../ebtables-2.0.10-4/installnonroot.patch | 43 +++++ .../recipes-filter/ebtables/ebtables_2.0.10-4.bb | 52 ++++++ .../recipes-filter/libmnl/libmnl_1.0.3.bb | 12 ++ .../libnetfilter/libnetfilter-conntrack_1.0.2.bb | 14 ++ .../libnetfilter/libnetfilter-cthelper_1.0.0.bb | 14 ++ .../libnetfilter/libnetfilter-cttimeout_1.0.0.bb | 13 ++ .../libnetfilter/libnetfilter-queue_1.0.2.bb | 14 ++ .../libnfnetlink/libnfnetlink_1.0.1.bb | 11 +- .../pptp-linux/pptp-linux-1.7.2/options.pptp | 30 ++++ .../pptp-linux/pptp-linux_1.7.2.bb | 29 +++ .../recipes-support/netcat/netcat_0.7.1.bb | 21 +++ 19 files changed, 768 insertions(+), 5 deletions(-) create mode 100644 meta-networking/recipes-daemons/pure-ftpd/pure-ftpd/0001-Remove-hardcoded-usr-local-includes-from-configure.a.patch create mode 100644 meta-networking/recipes-daemons/pure-ftpd/pure-ftpd/nostrip.patch create mode 100644 meta-networking/recipes-daemons/pure-ftpd/pure-ftpd_1.0.36.bb create mode 100644 meta-networking/recipes-filter/conntrack-tools/conntrack-tools_1.4.0.bb create mode 100644 meta-networking/recipes-filter/conntrack-tools/files/conntrack-failover create mode 100644 meta-networking/recipes-filter/conntrack-tools/files/init create mode 100644 meta-networking/recipes-filter/ebtables/ebtables-2.0.10-4/01debian_defaultconfig.patch create mode 100755 meta-networking/recipes-filter/ebtables/ebtables-2.0.10-4/ebtables.init create mode 100644 meta-networking/recipes-filter/ebtables/ebtables-2.0.10-4/installnonroot.patch create mode 100644 meta-networking/recipes-filter/ebtables/ebtables_2.0.10-4.bb create mode 100644 meta-networking/recipes-filter/libmnl/libmnl_1.0.3.bb create mode 100644 meta-networking/recipes-filter/libnetfilter/libnetfilter-conntrack_1.0.2.bb create mode 100644 meta-networking/recipes-filter/libnetfilter/libnetfilter-cthelper_1.0.0.bb create mode 100644 meta-networking/recipes-filter/libnetfilter/libnetfilter-cttimeout_1.0.0.bb create mode 100644 meta-networking/recipes-filter/libnetfilter/libnetfilter-queue_1.0.2.bb rename meta-oe/recipes-connectivity/libnfnetlink/libnfnetlink_1.0.0.bb => meta-networking/recipes-filter/libnfnetlink/libnfnetlink_1.0.1.bb (60%) create mode 100644 meta-networking/recipes-protocols/pptp-linux/pptp-linux-1.7.2/options.pptp create mode 100644 meta-networking/recipes-protocols/pptp-linux/pptp-linux_1.7.2.bb create mode 100644 meta-networking/recipes-support/netcat/netcat_0.7.1.bb
Signature · 2 lines
-Joe MacDonald. :wq
Merged from your contrib tree. Thanks.
-J.
Quoted 76 lines · [[oe] [meta-networking][PATCH 00/11] More networking recipes] On 12.12.03 (Mon…
These are updated, rebased and extended versions of patches originally submitted by Vladimir Redzhepoff and Yauhen Kharuzhy, now applied to meta-networking after discussion with them. This series also moves libnfnetlink to meta-networking and adds some additional netfilter library recipes needed for current versions of the netfilter suite.
Note that the original patch for pure-ftpd said that it was an updated version of a recipe from OE-Classic; there was no such recipe in OE-Classic however so I have commented it as a new recipe. The libnetfilter-queue recipe was written from scratch as I did not notice it was in OE-Classic; neither version has anything particularly interesting in it and this version is more up-to-date.
The following changes since commit
85ab35f4edac91ecc180161e97c6698f1c10928b:netperf: Correct license flags (2012-11-30 11:49:56 -0500)
are available in the git repository at:
git://git.openembedded.org/meta-openembedded-contribpaule/networking2
http://cgit.openembedded.org/cgit.cgi/meta-openembedded-contrib/log/?h=paule/networking2Paul Eggleton (11):
netcat: add from OE-Classic
libnfnetlink: move to meta-networking and update to 1.0.1
libmnl: add new recipe for version 1.0.3
libnetfilter-conntrack: add from OE-Classic and update
libnetfilter-cttimeout: add new recipe for version 1.0.0
libnetfilter-cthelper: add new recipe for version 1.0.0
libnetfilter-queue: add new recipe for version 1.0.2
conntrack-tools: add from OE-Classic, update and tidy up
ebtables: add from OE-Classic, update and tidy up
pure-ftpd: add new recipe for 1.0.36
pptp-linux: add from OE-Classic, update and tidy up...coded-usr-local-includes-from-configure.a.patch | 38 ++++ .../pure-ftpd/pure-ftpd/nostrip.patch | 30 ++++ .../recipes-daemons/pure-ftpd/pure-ftpd_1.0.36.bb | 19 ++ .../conntrack-tools/conntrack-tools_1.4.0.bb | 33 ++++ .../conntrack-tools/files/conntrack-failover | 77 ++++++++ .../recipes-filter/conntrack-tools/files/init | 87 +++++++++ .../ebtables-2.0.10-4/01debian_defaultconfig.patch | 50 ++++++ .../ebtables/ebtables-2.0.10-4/ebtables.init | 186 ++++++++++++++++++++ .../ebtables-2.0.10-4/installnonroot.patch | 43 +++++ .../recipes-filter/ebtables/ebtables_2.0.10-4.bb | 52 ++++++ .../recipes-filter/libmnl/libmnl_1.0.3.bb | 12 ++ .../libnetfilter/libnetfilter-conntrack_1.0.2.bb | 14 ++ .../libnetfilter/libnetfilter-cthelper_1.0.0.bb | 14 ++ .../libnetfilter/libnetfilter-cttimeout_1.0.0.bb | 13 ++ .../libnetfilter/libnetfilter-queue_1.0.2.bb | 14 ++ .../libnfnetlink/libnfnetlink_1.0.1.bb | 11 +- .../pptp-linux/pptp-linux-1.7.2/options.pptp | 30 ++++ .../pptp-linux/pptp-linux_1.7.2.bb | 29 +++ .../recipes-support/netcat/netcat_0.7.1.bb | 21 +++ 19 files changed, 768 insertions(+), 5 deletions(-) create mode 100644 meta-networking/recipes-daemons/pure-ftpd/pure-ftpd/0001-Remove-hardcoded-usr-local-includes-from-configure.a.patch create mode 100644 meta-networking/recipes-daemons/pure-ftpd/pure-ftpd/nostrip.patch create mode 100644 meta-networking/recipes-daemons/pure-ftpd/pure-ftpd_1.0.36.bb create mode 100644 meta-networking/recipes-filter/conntrack-tools/conntrack-tools_1.4.0.bb create mode 100644 meta-networking/recipes-filter/conntrack-tools/files/conntrack-failover create mode 100644 meta-networking/recipes-filter/conntrack-tools/files/init create mode 100644 meta-networking/recipes-filter/ebtables/ebtables-2.0.10-4/01debian_defaultconfig.patch create mode 100755 meta-networking/recipes-filter/ebtables/ebtables-2.0.10-4/ebtables.init create mode 100644 meta-networking/recipes-filter/ebtables/ebtables-2.0.10-4/installnonroot.patch create mode 100644 meta-networking/recipes-filter/ebtables/ebtables_2.0.10-4.bb create mode 100644 meta-networking/recipes-filter/libmnl/libmnl_1.0.3.bb create mode 100644 meta-networking/recipes-filter/libnetfilter/libnetfilter-conntrack_1.0.2.bb create mode 100644 meta-networking/recipes-filter/libnetfilter/libnetfilter-cthelper_1.0.0.bb create mode 100644 meta-networking/recipes-filter/libnetfilter/libnetfilter-cttimeout_1.0.0.bb create mode 100644 meta-networking/recipes-filter/libnetfilter/libnetfilter-queue_1.0.2.bb rename meta-oe/recipes-connectivity/libnfnetlink/libnfnetlink_1.0.0.bb => meta-networking/recipes-filter/libnfnetlink/libnfnetlink_1.0.1.bb (60%) create mode 100644 meta-networking/recipes-protocols/pptp-linux/pptp-linux-1.7.2/options.pptp create mode 100644 meta-networking/recipes-protocols/pptp-linux/pptp-linux_1.7.2.bb create mode 100644 meta-networking/recipes-support/netcat/netcat_0.7.1.bb
Signature · 2 lines
-Joe MacDonald. :wq