bridge-utils: add
PATCH v2 1/8 bridge-utils: add
From: Zhenhua Luo <[email protected]>
bridge-utils provides tools for ethernet bridging.
--- .../bridge-utils/bridge-utils.inc | 28 ++++++++++++++++++++ .../bridge-utils/bridge-utils_1.4.bb | 6 ++++ 2 files changed, 34 insertions(+), 0 deletions(-) create mode 100644 meta-oe/recipes-connectivity/bridge-utils/bridge-utils.inc create mode 100644 meta-oe/recipes-connectivity/bridge-utils/bridge-utils_1.4.bb
meta-oe/recipes-connectivity/bridge-utils/bridge-utils.inc new file +28 -0
@@ -0,0 +1,28 @@ +DESCRIPTION = "Tools for ethernet bridging." +HOMEPAGE = "http://bridge.sourceforge.net/" +SECTION = "console/network" +LICENSE = "GPL v2" + +SRC_URI = "${SOURCEFORGE_MIRROR}/bridge/bridge-utils-${PV}.tar.gz" + +inherit autotools + +EXTRA_OECONF = "--with-linux-headers=${STAGING_INCDIR}" + +do_install_append () { + mv ${D}${sbindir}/brctl ${D}${sbindir}/brctl.${PN} + install -d ${D}/${datadir}/bridge-utils + install -d ${D}/${sysconfdir}/network/if-pre-up.d + install -d ${D}/${sysconfdir}/network/if-post-down.d +} + +DEPENDS = "sysfsutils" +RRECOMMENDS_${PN} = "kernel-module-bridge" + +pkg_postinst_${PN} () { + update-alternatives --install ${sbindir}/brctl brctl brctl.${PN} 100 +} + +pkg_prerm_${PN} () { + update-alternatives --remove brctl brctl.${PN} +}
meta-oe/recipes-connectivity/bridge-utils/bridge-utils_1.4.bb new file +6 -0
@@ -0,0 +1,6 @@ +require bridge-utils.inc + +LIC_FILES_CHKSUM = "file://COPYING;md5=f9d20a453221a1b7e32ae84694da2c37" + +SRC_URI[md5sum] = "0182fcac3a2b307113bbec34e5f1c673" +SRC_URI[sha256sum] = "876975e9bcc302aa8b829161ea3348b12b9b879f1db0dc98feaed8d0e5dd5933"
Signature · 1 line
1.7.0.4
PATCH v2 2/8 ietutils: add
From: Zhenhua Luo <[email protected]>
The GNU inetutils are a collection of common networking utilities and servers including ftp, ftpd, rcp, rexec, rlogin, rlogind, rsh, rshd, syslog, syslogd, talk, talkd, telnet, telnetd, tftp, tftpd, and uucpd.
--- .../inetutils/inetutils-1.8/fix-disable-ipv6.patch | 58 +++++++++++ ...tf-parse-pull-in-features.h-for-__GLIBC__.patch | 27 +++++ ...rgp-fix-program_invocation_name-detection.patch | 51 +++++++++ .../inetutils-1.8/inetutils-1.8-0003-wchar.patch | 12 ++ ...me-ruserpass-to-avoid-C-library-collision.patch | 58 +++++++++++ ...detect-__rcmd_errstr-support-in-the-C-lib.patch | 57 ++++++++++ ...e-daemon-from-the-C-library-when-possible.patch | 42 ++++++++ .../inetutils-1.8-1004-detect-fork-support.patch | 54 ++++++++++ ...-1.8-1005-ftpd-add-daemon-D-nommu-support.patch | 109 ++++++++++++++++++++ .../inetutils/inetutils_1.8.bb | 64 ++++++++++++ 10 files changed, 532 insertions(+), 0 deletions(-) create mode 100644 meta-oe/recipes-connectivity/inetutils/inetutils-1.8/fix-disable-ipv6.patch create mode 100644 meta-oe/recipes-connectivity/inetutils/inetutils-1.8/inetutils-1.8-0001-printf-parse-pull-in-features.h-for-__GLIBC__.patch create mode 100644 meta-oe/recipes-connectivity/inetutils/inetutils-1.8/inetutils-1.8-0002-argp-fix-program_invocation_name-detection.patch create mode 100644 meta-oe/recipes-connectivity/inetutils/inetutils-1.8/inetutils-1.8-0003-wchar.patch create mode 100644 meta-oe/recipes-connectivity/inetutils/inetutils-1.8/inetutils-1.8-1001-ftp-rename-ruserpass-to-avoid-C-library-collision.patch create mode 100644 meta-oe/recipes-connectivity/inetutils/inetutils-1.8/inetutils-1.8-1002-rshd-detect-__rcmd_errstr-support-in-the-C-lib.patch create mode 100644 meta-oe/recipes-connectivity/inetutils/inetutils-1.8/inetutils-1.8-1003-use-daemon-from-the-C-library-when-possible.patch create mode 100644 meta-oe/recipes-connectivity/inetutils/inetutils-1.8/inetutils-1.8-1004-detect-fork-support.patch create mode 100644 meta-oe/recipes-connectivity/inetutils/inetutils-1.8/inetutils-1.8-1005-ftpd-add-daemon-D-nommu-support.patch create mode 100644 meta-oe/recipes-connectivity/inetutils/inetutils_1.8.bb
meta-oe/recipes-connectivity/inetutils/inetutils-1.8/fix-disable-ipv6.patch new file +58 -0
@@ -0,0 +1,58 @@ +Upstream: http://www.mail-archive.com/[email protected]/msg02103.html + +diff -ur inetutils-1.8.orig/ping/ping_common.h inetutils-1.8/ping/ping_common.h +--- inetutils-1.8.orig/ping/ping_common.h 2010-05-15 20:55:47.000000000 +0930 ++++ inetutils-1.8/ping/ping_common.h 2010-12-01 12:19:08.000000000 +1030 +@@ -17,10 +17,14 @@ + You should have received a copy of the GNU General Public License + along with this program. If not, see `http://www.gnu.org/licenses/'. */ + ++#include <config.h> ++ + #include <netinet/in_systm.h> + #include <netinet/in.h> + #include <netinet/ip.h> ++#ifdef HAVE_IPV6 + #include <netinet/icmp6.h> ++#endif + #include <icmp.h> + #include <error.h> + #include <progname.h> +@@ -66,13 +70,19 @@ + (t).tv_usec = ((i)%PING_PRECISION)*(1000000/PING_PRECISION) ;\ + } while (0) + ++#ifdef HAVE_IPV6 + /* Not sure about this step*/ + #define _PING_BUFLEN(p, USE_IPV6) ((USE_IPV6)? ((p)->ping_datalen + sizeof (struct icmp6_hdr)) : \ + ((p)->ping_datalen + sizeof (icmphdr_t))) ++#else ++#define _PING_BUFLEN(p, USE_IPV6) ((p)->ping_datalen + sizeof (icmphdr_t)) ++#endif + ++#ifdef HAVE_IPV6 + typedef int (*ping_efp6) (int code, void *closure, struct sockaddr_in6 * dest, + struct sockaddr_in6 * from, struct icmp6_hdr * icmp, + int datalen); ++#endif + + typedef int (*ping_efp) (int code, + void *closure, +@@ -81,13 +91,17 @@ + struct ip * ip, icmphdr_t * icmp, int datalen); + + union event { ++#ifdef HAVE_IPV6 + ping_efp6 handler6; ++#endif + ping_efp handler; + }; + + union ping_address { + struct sockaddr_in ping_sockaddr; ++#ifdef HAVE_IPV6 + struct sockaddr_in6 ping_sockaddr6; ++#endif + }; + + typedef struct ping_data PING;
meta-oe/recipes-connectivity/inetutils/inetutils-1.8/inetutils-1.8-0001-printf-parse-pull-in-features.h-for-__GLIBC__.patch new file +27 -0
@@ -0,0 +1,27 @@ +From 552a7d64ad4a7188a9b7cd89933ae7caf7ebfe90 Mon Sep 17 00:00:00 2001 +From: Mike Frysinger <vapier at gentoo.org> +Date: Thu, 18 Nov 2010 16:59:14 -0500 +Subject: [PATCH gnulib] printf-parse: pull in features.h for __GLIBC__ + +Signed-off-by: Mike Frysinger <vapier at gentoo.org> +--- + lib/printf-parse.h | 3 +++ + 1 files changed, 3 insertions(+), 0 deletions(-) + +diff --git a/lib/printf-parse.h b/lib/printf-parse.h +index 67a4a2a..3bd6152 100644 +--- a/lib/printf-parse.h ++++ b/lib/printf-parse.h +@@ -25,6 +25,9 @@ + + #include "printf-args.h" + ++#ifdef HAVE_FEATURES_H ++# include <features.h> /* for __GLIBC__ */ ++#endif + + /* Flags */ + #define FLAG_GROUP 1 /* ' flag */ +-- +1.7.3.2 +
meta-oe/recipes-connectivity/inetutils/inetutils-1.8/inetutils-1.8-0002-argp-fix-program_invocation_name-detection.patch new file +51 -0
51 lines not on this page · raw message
meta-oe/recipes-connectivity/inetutils/inetutils-1.8/inetutils-1.8-0003-wchar.patch new file +12 -0
@@ -0,0 +1,12 @@ +--- inetutils-1.8/lib/wchar.in.h ++++ inetutils-1.8/lib/wchar.in.h +@@ -70,6 +70,9 @@ + /* The include_next requires a split double-inclusion guard. */ + #if @HAVE_WCHAR_H@ + # @INCLUDE_NEXT@ @NEXT_WCHAR_H@ ++#else ++# include <stddef.h> ++# define MB_CUR_MAX 1 + #endif + + #undef _GL_ALREADY_INCLUDING_WCHAR_H
meta-oe/recipes-connectivity/inetutils/inetutils-1.8/inetutils-1.8-1001-ftp-rename-ruserpass-to-avoid-C-library-collision.patch new file +58 -0
58 lines not on this page · raw message
meta-oe/recipes-connectivity/inetutils/inetutils-1.8/inetutils-1.8-1002-rshd-detect-__rcmd_errstr-support-in-the-C-lib.patch new file +57 -0
57 lines not on this page · raw message
meta-oe/recipes-connectivity/inetutils/inetutils-1.8/inetutils-1.8-1003-use-daemon-from-the-C-library-when-possible.patch new file +42 -0
42 lines not on this page · raw message
meta-oe/recipes-connectivity/inetutils/inetutils-1.8/inetutils-1.8-1004-detect-fork-support.patch new file +54 -0
54 lines not on this page · raw message
meta-oe/recipes-connectivity/inetutils/inetutils-1.8/inetutils-1.8-1005-ftpd-add-daemon-D-nommu-support.patch new file +109 -0
109 lines not on this page · raw message
meta-oe/recipes-connectivity/inetutils/inetutils_1.8.bb new file +64 -0
64 lines not on this page · raw message
Signature · 1 line
1.7.0.4
PATCH v2 3/8 ipsec-tools: add
In reply to [email protected]From: Zhenhua Luo <[email protected]>
IPsec-Tools is a port of KAME's IPsec utilities to the Linux IPsec implementation.
--- .../ipsec-tools/files/ipsec-tools-install.patch | 14 +++++ .../recipes-support/ipsec-tools/ipsec-tools.inc | 51 ++++++++++++++++++++ .../ipsec-tools/ipsec-tools_0.7.2.bb | 7 +++ 3 files changed, 72 insertions(+), 0 deletions(-) create mode 100644 meta-oe/recipes-support/ipsec-tools/files/ipsec-tools-install.patch create mode 100644 meta-oe/recipes-support/ipsec-tools/ipsec-tools.inc create mode 100644 meta-oe/recipes-support/ipsec-tools/ipsec-tools_0.7.2.bb
meta-oe/recipes-support/ipsec-tools/files/ipsec-tools-install.patch new file +14 -0
@@ -0,0 +1,14 @@ +Taken from pld-linux.org: +http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/ipsec-tools/ipsec-tools-install.patch + +--- ipsec-tools-0.7.2/src/racoon/Makefile.am~ 2008-07-23 13:48:40.000000000 +0200 ++++ ipsec-tools-0.7.2/src/racoon/Makefile.am 2009-07-04 01:43:48.148433975 +0200 +@@ -3,7 +3,7 @@ + sbin_PROGRAMS = racoon racoonctl plainrsa-gen + noinst_PROGRAMS = eaytest + include_racoon_HEADERS = racoonctl.h var.h vmbuf.h misc.h gcmalloc.h admin.h \ +- schedule.h sockmisc.h vmbuf.h isakmp_var.h isakmp.h isakmp_xauth.h \ ++ schedule.h sockmisc.h isakmp_var.h isakmp.h isakmp_xauth.h \ + isakmp_cfg.h isakmp_unity.h ipsec_doi.h evt.h + lib_LTLIBRARIES = libracoon.la +
meta-oe/recipes-support/ipsec-tools/ipsec-tools.inc new file +51 -0
51 lines not on this page · raw message
meta-oe/recipes-support/ipsec-tools/ipsec-tools_0.7.2.bb new file +7 -0
@@ -0,0 +1,7 @@ +require ipsec-tools.inc + +LIC_FILES_CHKSUM = "file://Makefile.in;endline=14;md5=c73d05590728997bfbab5c671ed38366" + +SRC_URI += "file://ipsec-tools-install.patch" +SRC_URI[ipsec-tools-0.7.2.md5sum] = "72861f005746ee27984b2ee715ecc629" +SRC_URI[ipsec-tools-0.7.2.sha256sum] = "08722ff6c62de3e042fef337454f03622a79053108d6dcc686c9c854f9f9e031"
Signature · 1 line
1.7.0.4
PATCH v2 4/8 libnfnetlink: add
In reply to [email protected]From: Zhenhua Luo <[email protected]>
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, nfnetlink_queue, nfnetlink_conntrack) and their respective users and/or management tools in userspace.
--- .../libnfnetlink/libnfnetlink.inc | 13 +++++++++++++ .../libnfnetlink/libnfnetlink_1.0.0.bb | 6 ++++++ 2 files changed, 19 insertions(+), 0 deletions(-) create mode 100644 meta-oe/recipes-connectivity/libnfnetlink/libnfnetlink.inc create mode 100644 meta-oe/recipes-connectivity/libnfnetlink/libnfnetlink_1.0.0.bb
meta-oe/recipes-connectivity/libnfnetlink/libnfnetlink.inc new file +13 -0
@@ -0,0 +1,13 @@ +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, \ +nfnetlink_queue, nfnetlink_conntrack) and their respective users and/or \ +management tools in userspace." +SECTION = "devel/libs" +LICENSE = "GPLv2+" +HOMEPAGE = "http://www.netfilter.org/projects/libnfnetlink/index.html" + +SRC_URI = "http://www.netfilter.org/projects/libnfnetlink/files/libnfnetlink-${PV}.tar.bz2;name=libnfnetlink-${PV}" + +inherit autotools pkgconfig +
meta-oe/recipes-connectivity/libnfnetlink/libnfnetlink_1.0.0.bb new file +6 -0
@@ -0,0 +1,6 @@ +include libnfnetlink.inc + +LIC_FILES_CHKSUM = "file://Makefile.in;endline=13;md5=a44bb8f4c22793d55c5e879eec256702" + +SRC_URI[libnfnetlink-1.0.0.md5sum] = "016fdec8389242615024c529acc1adb8" +SRC_URI[libnfnetlink-1.0.0.sha256sum] = "3752b03a4c09821ee9a2528d69289423a01e7171f1a22dfdd11d5459e03972fb"
Signature · 1 line
1.7.0.4
PATCH v2 5/8 ptpd: add
In reply to [email protected]From: Zhenhua Luo <[email protected]>
Precision Time Protocol (PTP) as defined by the IEEE 1588 standard.
--- .../ptpd/ptpd-1.0.0/add-limit-h.patch | 26 ++++++++++++++++++++ meta-oe/recipes-connectivity/ptpd/ptpd_1.0.0.bb | 19 ++++++++++++++ 2 files changed, 45 insertions(+), 0 deletions(-) create mode 100644 meta-oe/recipes-connectivity/ptpd/ptpd-1.0.0/add-limit-h.patch create mode 100644 meta-oe/recipes-connectivity/ptpd/ptpd_1.0.0.bb
meta-oe/recipes-connectivity/ptpd/ptpd-1.0.0/add-limit-h.patch new file +26 -0
@@ -0,0 +1,26 @@ +ptpd: fix ftbfs by including limits.h so MAX_INT defined + +The current recipe for ptpd fails to build with: + +| arith.c: In function 'fromInternalTime': +| arith.c:46: error: 'INT_MAX' undeclared (first use in this function) +| arith.c:46: error: (Each undeclared identifier is reported only once +| arith.c:46: error: for each function it appears in.) +| arith.c: In function 'toInternalTime': +| arith.c:64: error: 'INT_MAX' undeclared (first use in this function) +| make: *** [arith.o] Error 1 +| make: *** Waiting for unfinished jobs.... +| FATAL: oe_runmake failed + +diff --git a/src/arith.c b/src/arith.c +--- a/src/arith.c ++++ b/src/arith.c +@@ -1,6 +1,7 @@ + /* arith.c */ + + #include "ptpd.h" ++#include <limits.h> + + /* from annex C of the spec */ + UInteger32 crc_algorithm(Octet *buf, Integer16 length) +
meta-oe/recipes-connectivity/ptpd/ptpd_1.0.0.bb new file +19 -0
@@ -0,0 +1,19 @@ +DESCRIPTION = "Precision Time Protocol (PTP) as defined by the IEEE 1588 standard" +HOMEPAGE = "http://sourceforge.net/projects/ptpd" +SECTION = "network" +LICENSE = "BSD" +LIC_FILES_CHKSUM = "file://../COPYRIGHT;md5=888bd1b2c9c013b93394b8bfb453c417" + +SRC_URI = "http://downloads.sourceforge.net/project/ptpd/ptpd/${PV}/ptpd-${PV}.tar.gz \ + file://add-limit-h.patch;striplevel=2" + +SRC_URI[md5sum] = "b112b2bedc7f6e6e11a838608b9e0357" +SRC_URI[sha256sum] = "8ac1fdcad1e246b0395097dd9af29966c6823533d7e6989aae91506048fb51bc" + +S = "${WORKDIR}/ptpd-${PV}/src" + +do_install() { + install -d ${D}${bindir} ${D}${mandir}/man8 + install -m 4555 ptpd ${D}${bindir} + install -m 644 ptpd.8 ${D}${mandir}/man8 +}
Signature · 1 line
1.7.0.4
PATCH v2 6/8 strongswan: add
In reply to [email protected]From: Zhenhua Luo <[email protected]>
strongSwan is an OpenSource IPsec implementation for the Linux operating system.
--- .../recipes-support/strongswan/strongswan_4.5.1.bb | 21 ++++++++++++++++++++ 1 files changed, 21 insertions(+), 0 deletions(-) create mode 100644 meta-oe/recipes-support/strongswan/strongswan_4.5.1.bb
meta-oe/recipes-support/strongswan/strongswan_4.5.1.bb new file +21 -0
@@ -0,0 +1,21 @@ +DESCRIPTION = "strongSwan is an OpenSource IPsec implementation for the \ +Linux operating system." +HOMEPAGE = "http://www.strongswan.org" +SECTION = "console/network" +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3" + +SRC_URI = "http://download.strongswan.org/strongswan-${PV}.tar.bz2" +SRC_URI[md5sum] = "81a4a699c4a1a49b74061dfa47b5a033" +SRC_URI[sha256sum] = "252d7369d94aa2d79e6fad078853b07ca897ea811ab1e1a2b008bcec0d1e758a" + +EXTRA_OECONF = "--disable-curl --disable-soup --disable-ldap \ + --enable-gmp --disable-mysql --disable-sqlite \ + --enable-openssl" + +inherit autotools + +DEPENDS = "gmp openssl flex-native flex bison-native" +RRECOMMENDS_${PN} = "kernel-module-ipsec" + +FILES_${PN}-dbg += "${libexecdir}/ipsec/.debug ${libexecdir}/ipsec/plugins/.debug"
Signature · 1 line
1.7.0.4
Re: [PATCH meta-oe v2 6/8] strongswan: add
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Op 16-12-11 10:41, [email protected] schreef:
Quoted 25 lines
From: Zhenhua Luo <[email protected]>
strongSwan is an OpenSource IPsec implementation for the Linux operating system.
Signed-off-by Zhenhua Luo <[email protected]> ---.../recipes-support/strongswan/strongswan_4.5.1.bb | 21
++++++++++++++++++++ 1 files changed, 21 insertions(+), 0 deletions(-) create mode 100644 meta-oe/recipes-support/strongswan/strongswan_4.5.1.bb(quoted diff) +0
-0b/meta-oe/recipes-support/strongswan/strongswan_4.5.1.bb new file mode 100644 index 0000000..9c5e736 ---
/dev/null+++ b/meta-oe/recipes-support/strongswan/strongswan_4.5.1.bb @@ -0,0 +1,21 @@ +DESCRIPTION = "strongSwan is an OpenSource IPsec implementation for the \ +Linux operating system." +HOMEPAGE = "http://www.strongswan.org" +SECTION = "console/network" +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3" + +SRC_URI = "http://download.strongswan.org/strongswan-${PV}.tar.bz2" +SRC_URI[md5sum] = "81a4a699c4a1a49b74061dfa47b5a033" +SRC_URI[sha256sum] = "252d7369d94aa2d79e6fad078853b07ca897ea811ab1e1a2b008bcec0d1e758a" +(quoted diff) +2
-1+EXTRA_OECONF = "--disable-curl --disable-soup --disable-ldap \ + --enable-gmp --disable-mysql --disable-sqlite \ + --enable-openssl" + +inherit autotools + +DEPENDS = "gmp openssl flex-native flex
Quoted 1 line
bison-native"
Normal DEPENDS go at the top :) Same for the rng-tools recipe. The general idea is that 'recipe' variable go on top and other variables are ordered next to the tasks they are used in, e.g. RDEPENDS are for do_packages, so they go below do_install, DEPENDS are for the recipe, so they go on top.
Quoted 2 lines
+RRECOMMENDS_${PN} = "kernel-module-ipsec" + +FILES_${PN}-dbg += "${libexecdir}/ipsec/.debug ${libexecdir}/ipsec/plugins/.debug"
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (Darwin)
Comment: GPGTools - http://gpgtools.org
iEYEARECAAYFAk7rIGAACgkQMkyGM64RGpHudwCgu3FhI+64lWnp7q6gzK1itDW3 2TYAn0lXYwRxN5vKcrErNyF4jZO8adfy
=Zmzb
-----END PGP SIGNATURE-----
Re: [PATCH meta-oe v2 6/8] strongswan: add
Hello Koen,
Thanks a lot for the clarification, I am more clear now. :)
Best Regards,
Zhenhua
Quoted 61 lines
-----Original Message-----
From: [email protected] [mailto:openembedded- [email protected]] On Behalf Of Koen Kooi
Sent: Friday, December 16, 2011 6:42 PM
To: [email protected]
Subject: Re: [oe] [PATCH meta-oe v2 6/8] strongswan: add-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1Op 16-12-11 10:41, [email protected] schreef:
Quoted 26 lines
From: Zhenhua Luo <[email protected]>
strongSwan is an OpenSource IPsec implementation for the Linux operating system.
Signed-off-by Zhenhua Luo <[email protected]> ---.../recipes-support/strongswan/strongswan_4.5.1.bb | 21
++++++++++++++++++++ 1 files changed, 21 insertions(+), 0 deletions(-) create mode 100644 meta-oe/recipes-support/strongswan/strongswan_4.5.1.bb(quoted diff) +0
-0b/meta-oe/recipes-support/strongswan/strongswan_4.5.1.bb new file mode 100644 index 0000000..9c5e736 ---
/dev/null+++ b/meta-oe/recipes-support/strongswan/strongswan_4.5.1.bb @@ -0,0 +1,21 @@ +DESCRIPTION = "strongSwan is an OpenSource IPsec implementation for the \ +Linux operating system." +HOMEPAGE = "http://www.strongswan.org" +SECTION = "console/network" +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3" + +SRC_URI = "http://download.strongswan.org/strongswan-${PV}.tar.bz2" +SRC_URI[md5sum] = "81a4a699c4a1a49b74061dfa47b5a033" ++SRC_URI[sha256sum]
= "252d7369d94aa2d79e6fad078853b07ca897ea811ab1e1a2b008bcec0d1e758a" +(quoted diff) +2
-1+EXTRA_OECONF = "--disable-curl --disable-soup --disable-ldap \ + --enable-gmp --disable-mysql --disable-sqlite \ + --enable-openssl" + +inherit autotools + +DEPENDS = "gmp openssl flex-native flexQuoted 1 line
bison-native"
Normal DEPENDS go at the top :) Same for the rng-tools recipe. The general idea is that 'recipe' variable go on top and other variables are ordered next to the tasks they are used in, e.g. RDEPENDS are for
do_packages, so they go belowdo_install, DEPENDS are for the recipe, so they go on top.Quoted 2 lines
+RRECOMMENDS_${PN} = "kernel-module-ipsec" + +FILES_${PN}-dbg += "${libexecdir}/ipsec/.debug ${libexecdir}/ipsec/plugins/.debug"
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (Darwin)
Comment: GPGTools - http://gpgtools.orgiEYEARECAAYFAk7rIGAACgkQMkyGM64RGpHudwCgu3FhI+64lWnp7q6gzK1itDW3 2TYAn0lXYwRxN5vKcrErNyF4jZO8adfy
=Zmzb
-----END PGP SIGNATURE-----_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
PATCH v2 7/8 rng-tools: add
In reply to [email protected]From: Zhenhua Luo <[email protected]>
Random number generator daemo.
--- meta-oe/recipes-support/rng-tools/files/default | 2 + meta-oe/recipes-support/rng-tools/files/init | 49 ++++++++++++++++++++++ meta-oe/recipes-support/rng-tools/rng-tools_2.bb | 26 +++++++++++ 3 files changed, 77 insertions(+), 0 deletions(-) create mode 100644 meta-oe/recipes-support/rng-tools/files/default create mode 100644 meta-oe/recipes-support/rng-tools/files/init create mode 100644 meta-oe/recipes-support/rng-tools/rng-tools_2.bb
meta-oe/recipes-support/rng-tools/files/default new file +2 -0
@@ -0,0 +1,2 @@ +# Specify rng device +RNG_DEVICE=/dev/hwrng
meta-oe/recipes-support/rng-tools/files/init new file +49 -0
50 lines not on this page · raw message
meta-oe/recipes-support/rng-tools/rng-tools_2.bb new file +26 -0
@@ -0,0 +1,26 @@ +DESCRIPTION = "Random number generator daemon" +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" + +SRC_URI = "http://heanet.dl.sourceforge.net/sourceforge/gkernel/${P}.tar.gz \ + file://init \ + file://default" + +SRC_URI[md5sum] = "63d503191eabed630324c104cc024475" +SRC_URI[sha256sum] = "1126f0ecc8cab3af14a562cddc5d8ffeef47df7eba34a7aadcdee35a25ec2b1e" + +inherit autotools update-rc.d + +do_install_append() { + install -d "${D}${sysconfdir}/init.d" + install -m 0755 ${WORKDIR}/init ${D}${sysconfdir}/init.d/rng-tools + sed -i -e 's,/etc/,${sysconfdir}/,' -e 's,/usr/sbin/,${sbindir},' \ + ${D}${sysconfdir}/init.d/rng-tools + + install -d "${D}${sysconfdir}/default" + install -m 0644 ${WORKDIR}/default ${D}${sysconfdir}/default +} + +DEPENDS_append_libc-uclibc = " argp-standalone" +INITSCRIPT_NAME = "rng-tools" +INITSCRIPT_PARAMS = "defaults"
Signature · 1 line
1.7.0.4
PATCH v2 8/8 xfsprogs: add
In reply to [email protected]From: Zhenhua Luo <[email protected]>
xfsprogs provides XFS filesystem utilities.
--- meta-oe/recipes-support/xfsprogs/xfsprogs_3.1.7.bb | 43 ++++++++++++++++++++ 1 files changed, 43 insertions(+), 0 deletions(-) create mode 100644 meta-oe/recipes-support/xfsprogs/xfsprogs_3.1.7.bb
meta-oe/recipes-support/xfsprogs/xfsprogs_3.1.7.bb new file +43 -0
@@ -0,0 +1,43 @@ +DESCRIPTION = "XFS Filesystem Utilities" +HOMEPAGE = "http://oss.sgi.com/projects/xfs" +SECTION = "base" +LICENSE = "LGPL2.1" +LIC_FILES_CHKSUM = "file://Makefile;endline=3;md5=def2844770bb44eba37bc9ca8610fad4" + +SRC_URI = "ftp://oss.sgi.com/projects/xfs/cmd_tars/${P}.tar.gz" +SRC_URI[md5sum] = "049cf9873794ea49d0bb3f12d45748a4" +SRC_URI[sha256sum] = "e150914210ac5fd29c098ef0fd94bdec51d2fb231cf9faa765c16ec6d75c8eaa" + +inherit autotools + +PARALLEL_MAKE = "" + +FILES_${PN}-dev += "${base_libdir}/libhandle.la \ + ${base_libdir}/libhandle.so" + +do_configure () { + export DEBUG="-DNDEBUG" + oe_runconf +} + +do_install () { + export DIST_ROOT=${D} + oe_runmake install + # needed for xfsdump + oe_runmake install-dev + # replace extra links to /usr/lib with relative links (otherwise autotools_prepackage_lamangler fails to read nonexistent link) + rm -f ${D}/${base_libdir}/libhandle.la + rm -f ${D}/${base_libdir}/libhandle.a + ln -s ../usr/lib/libhandle.la ${D}/${base_libdir}/libhandle.la + ln -s ../usr/lib/libhandle.a ${D}/${base_libdir}/libhandle.a + + # and link from /usr/lib/libhandle.so to /lib/libhandle.so + rm -f ${D}/${libdir}/libhandle.so + ln -s ../../lib/libhandle.a ${D}/${libdir}/libhandle.so +} +EXTRA_OECONF = "--enable-gettext=no" +LIBTOOL = "${HOST_SYS}-libtool" +EXTRA_OEMAKE = "'LIBTOOL=${LIBTOOL}'" +TARGET_CC_ARCH += "${LDFLAGS}" + +DEPENDS = "util-linux"
Signature · 1 line
1.7.0.4
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Op 16-12-11 10:41, [email protected] schreef:
Quoted 12 lines
From: Zhenhua Luo <[email protected]>
bridge-utils provides tools for ethernet bridging.
Signed-off-by Zhenhua Luo <[email protected]> ---.../bridge-utils/bridge-utils.inc | 28
++++++++++++++++++++ .../bridge-utils/bridge-utils_1.4.bb |
6 ++++ 2 files changed, 34 insertions(+), 0 deletions(-) create mode 100644 meta-oe/recipes-connectivity/bridge-utils/bridge-utils.inc create mode 100644 meta-oe/recipes-connectivity/bridge-utils/bridge-utils_1.4.bb
Quoted 7 lines
(quoted diff) +0
-0b/meta-oe/recipes-connectivity/bridge-utils/bridge-utils.inc new file mode 100644 index 0000000..8b3d167 ---
/dev/null+++ b/meta-oe/recipes-connectivity/bridge-utils/bridge-utils.inc @@ -0,0 +1,28 @@ +DESCRIPTION = "Tools for ethernet bridging." +HOMEPAGE = "http://bridge.sourceforge.net/" +SECTION = "console/network" +LICENSE = "GPL v2"
No space, patch is OK otherwise
Quoted 11 lines
+ +SRC_URI = "${SOURCEFORGE_MIRROR}/bridge/bridge-utils-${PV}.tar.gz" + +inherit autotools + +EXTRA_OECONF =
"--with-linux-headers=${STAGING_INCDIR}" + +do_install_append () { + mv
${D}${sbindir}/brctl ${D}${sbindir}/brctl.${PN} + install -d
${D}/${datadir}/bridge-utils + install -d
${D}/${sysconfdir}/network/if-pre-up.d + install -d
${D}/${sysconfdir}/network/if-post-down.d +} + +DEPENDS = "sysfsutils" +RRECOMMENDS_${PN} = "kernel-module-bridge" + +pkg_postinst_${PN} () { + update-alternatives --install ${sbindir}/brctl brctl brctl.${PN} 100 +}
+ +pkg_prerm_${PN} () { + update-alternatives --remove brctl brctl.${PN}
+} diff --git
Quoted 8 lines
a/meta-oe/recipes-connectivity/bridge-utils/bridge-utils_1.4.bb b/meta-oe/recipes-connectivity/bridge-utils/bridge-utils_1.4.bb new file mode 100644 index 0000000..00a5815 ---
/dev/null+++ b/meta-oe/recipes-connectivity/bridge-utils/bridge-utils_1.4.bb @@ -0,0 +1,6 @@ +require bridge-utils.inc + +LIC_FILES_CHKSUM = "file://COPYING;md5=f9d20a453221a1b7e32ae84694da2c37" + +SRC_URI[md5sum] = "0182fcac3a2b307113bbec34e5f1c673" +SRC_URI[sha256sum] = "876975e9bcc302aa8b829161ea3348b12b9b879f1db0dc98feaed8d0e5dd5933"
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (Darwin)
Comment: GPGTools - http://gpgtools.org
iEYEARECAAYFAk7rH7MACgkQMkyGM64RGpEnpwCgn063zW7fagM/ZNukU3fnEp+T RVIAnj0rvx5NriLOZYnsyBtm3K+rR5CU
=7k8w
-----END PGP SIGNATURE-----