Skip to contentSkip to conversation

add nzbget and libpar2

PATCH In review Artur Wronowski 3 participants 6 messages Sep 2, 2009 – Sep 9, 2009

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 add nzbget and libpar2

Hello!

This is my first patch to openembedded. I woud like add nzbget and libpar2.

Signature · 2 lines
Pozdrawiam, Artur
http://artekw.net / GG: 151817 / JID: [email protected]
conf/checksums.ini +11 -0
index e6f5cbf..71e9012 100644
@@ -28890,3 +28890,14 @@ sha256=f57c4e33eb2cdd87a6c2f01bfa4794340fbe61ea1a1cfc7dac3b6671e1dd22af
 md5=5f7b88ebb2bcd7e8044328482d079661
 sha256=f57c4e33eb2cdd87a6c2f01bfa4794340fbe61ea1a1cfc7dac3b6671e1dd22af
 
+[http://downloads.sourceforge.net/parchive/libpar2/libpar2-0.2.tar.gz]
+md5=94c6df4e38efe08056ecde2a04e0be91
+sha256=074fbf840f73b1e13e0405fce261078c81c8c0a4859e30a7bba10510f9199908
+
+[http://downloads.sourceforge.net/nzbget/nzbget-stable/nzbget-0.6.0.tar.gz]
+md5=eb95b3930abffb570e37af8d284c1f9d
+sha256=b0bc8740db7ed9ea269b29e9a936cb2c4dd61a911b80b623fe18729b94de3030
+
+[http://downloads.sourceforge.net/nzbget/nzbget-stable/nzbget-0.7.0-testing-r342.tar.gz]
+md5=4250d8166969367b4feff4204b42ecb9
+sha256=37c595e78c4a5c86fa1c39d4dba39786d9546ae0a078b936832df9d17bafba10
recipes/libpar2/libpar2_0.2.bb new file +14 -0
new file mode 100644
index 0000000..b337c5f
@@ -0,0 +1,14 @@
+DESCRIPTION = "Providing a tool to apply the data-recovery capability concepts of RAID-like systems to the posting & recovery of multi-part archives on Usenet."
+SECTION = "libs"
+LICENSE = "GPL"
+HOMEPAGE = "http://parchive.sourceforge.net/"
+DEPENDS = "libsigc++-2.0"
+
+SRC_URI = "${SOURCEFORGE_MIRROR}/parchive/libpar2/libpar2-${PV}.tar.gz"
+
+inherit autotools pkgconfig
+
+do_stage() {
+	autotools_stage_all
+}
+
recipes/nzbget/nzbget_0.6.0.bb new file +22 -0
new file mode 100644
index 0000000..1f75124
@@ -0,0 +1,22 @@
+DESCRIPTION = "NZBGet is a command-line based binary newsgrabber for nzb files, written in C++"
+SECTION = "net"
+LICENSE = "GPL"
+HOMEPAGE = "http://nzbget.sourceforge.net/Main_Page"
+DEPENDS = "libsigc++-2.0 libpar2 ncurses libxml2"
+
+SRC_URI = "${SOURCEFORGE_MIRROR}/nzbget/nzbget-stable/nzbget-${PV}.tar.gz"
+# http://sourceforge.net/projects/nzbget/files/nzbget-stable/nzbget-0.6.0.tar.gz
+
+inherit autotools pkgconfig
+
+EXTRA_OECONF = "--disable-tls \
+		--with-libcurses-libraries=${STAGING_LIBDIR} \
+		--with-libcurses-includes=${STAGING_INCDIR} \
+		--with-libpar2-includes={STAGING_INCDIR} \
+		--with-libpar2-libraries={STAGING_INCDIR}"
+
+do_stage() {
+	autotools_stage_all
+}
+
+
recipes/nzbget/nzbget_0.7.0-testing.bb new file +23 -0
new file mode 100644
index 0000000..e0f9b5c
@@ -0,0 +1,23 @@
+DESCRIPTION = "NZBGet is a command-line based binary newsgrabber for nzb files, written in C++"
+SECTION = "net"
+LICENSE = "GPL"
+HOMEPAGE = "http://nzbget.sourceforge.net/Main_Page"
+DEPENDS = "libsigc++-2.0 libpar2 ncurses libxml2"
+
+SRC_URI = "${SOURCEFORGE_MIRROR}/nzbget/nzbget-stable/nzbget-${PV}-r342.tar.gz"
+
+# http://sourceforge.net/projects/nzbget/files/nzbget-testing/nzbget-0.7.0-testing-r342.tar.gz
+
+inherit autotools pkgconfig
+
+EXTRA_OECONF = "--disable-tls \
+		--with-libcurses-libraries=${STAGING_LIBDIR} \
+		--with-libcurses-includes=${STAGING_INCDIR} \
+		--with-libpar2-includes={STAGING_INCDIR} \
+		--with-libpar2-libraries={STAGING_INCDIR}"
+
+do_stage() {
+	autotools_stage_all
+}
+
+
#1 lore raw

recipes/libpar2/libpar2_0.2.bb line 14

Quoted 10 lines · Artur Wronowski

Hello!

This is my first patch to openembedded. I woud like add nzbget and libpar2.

recipes/libpar2/libpar2_0.2.bb new file +6 -0
+inherit autotools pkgconfig
+
+do_stage() {
+	autotools_stage_all
+}
+

You can use autotools_stage here, do avoid the extrad do_stage

Quoted 8 lines
recipes/nzbget/nzbget_0.6.0.bb new file +2 -0
new file mode 100644
index 0000000..1f75124
@@ -0,0 +1,22 @@
+DESCRIPTION = "NZBGet is a command-line based binary newsgrabber for nzb files, written in C++"
+SECTION = "net"

recipes/nzbget/nzbget_0.6.0.bb line 12

Quoted 10 lines
recipes/nzbget/nzbget_0.6.0.bb new file +10 -0
+LICENSE = "GPL"
+HOMEPAGE = "http://nzbget.sourceforge.net/Main_Page"
+DEPENDS = "libsigc++-2.0 libpar2 ncurses libxml2"
+
+SRC_URI = "${SOURCEFORGE_MIRROR}/nzbget/nzbget-stable/nzbget-${PV}.tar.gz"
+# http://sourceforge.net/projects/nzbget/files/nzbget-stable/nzbget-0.6.0.tar.gz
+
+inherit autotools pkgconfig
+
+EXTRA_OECONF = "--disable-tls \

Why is tls disabled here?

recipes/nzbget/nzbget_0.6.0.bb line 20

Quoted 8 lines
recipes/nzbget/nzbget_0.6.0.bb new file +8 -0
+		--with-libcurses-libraries=${STAGING_LIBDIR} \
+		--with-libcurses-includes=${STAGING_INCDIR} \
+		--with-libpar2-includes={STAGING_INCDIR} \
+		--with-libpar2-libraries={STAGING_INCDIR}"
+
+do_stage() {
+	autotools_stage_all
+}

autotools_stage again

Quoted 18 lines
recipes/nzbget/nzbget_0.7.0-testing.bb new file +12 -0
new file mode 100644
index 0000000..e0f9b5c
@@ -0,0 +1,23 @@
+DESCRIPTION = "NZBGet is a command-line based binary newsgrabber for nzb files, written in C++"
+SECTION = "net"
+LICENSE = "GPL"
+HOMEPAGE = "http://nzbget.sourceforge.net/Main_Page"
+DEPENDS = "libsigc++-2.0 libpar2 ncurses libxml2"
+
+SRC_URI = "${SOURCEFORGE_MIRROR}/nzbget/nzbget-stable/nzbget-${PV}-r342.tar.gz"
+
+# http://sourceforge.net/projects/nzbget/files/nzbget-testing/nzbget-0.7.0-testing-r342.tar.gz
+
+inherit autotools pkgconfig
+

recipes/nzbget/nzbget_0.7.0-testing.bb line 22

Quoted 10 lines
recipes/nzbget/nzbget_0.7.0-testing.bb new file +10 -0
+EXTRA_OECONF = "--disable-tls \
+		--with-libcurses-libraries=${STAGING_LIBDIR} \
+		--with-libcurses-includes=${STAGING_INCDIR} \
+		--with-libpar2-includes={STAGING_INCDIR} \
+		--with-libpar2-libraries={STAGING_INCDIR}"
+
+do_stage() {
+	autotools_stage_all
+}
+

Bye Henning

#2 lore raw

Thanks Henning for you help.

I send fixed patch with SSL support for nntp servers. I hope that is
better patch than my first ;-)

2009/9/3 Henning Heinold <[email protected]>:

Quoted 83 lines · Artur Wronowski

Review

Quoted 10 lines

Hello!

This is my first patch to openembedded. I woud like add nzbget and libpar2.

(quoted diff) +6 -0
+inherit autotools pkgconfig
+
+do_stage() {
+     autotools_stage_all
+}
+

You can use autotools_stage here, do avoid the extrad do_stage

Quoted 8 lines
recipes/nzbget/nzbget_0.6.0.bb new file +2 -0
new file mode 100644
index 0000000..1f75124
@@ -0,0 +1,22 @@
+DESCRIPTION = "NZBGet is a command-line based binary newsgrabber for nzb files, written in C++"
+SECTION = "net"

recipes/nzbget/nzbget_0.6.0.bb line 12

Quoted 10 lines
recipes/nzbget/nzbget_0.6.0.bb new file +10 -0
+LICENSE = "GPL"
+HOMEPAGE = "http://nzbget.sourceforge.net/Main_Page"
+DEPENDS = "libsigc++-2.0 libpar2 ncurses libxml2"
+
+SRC_URI = "${SOURCEFORGE_MIRROR}/nzbget/nzbget-stable/nzbget-${PV}.tar.gz"
+# http://sourceforge.net/projects/nzbget/files/nzbget-stable/nzbget-0.6.0.tar.gz
+
+inherit autotools pkgconfig
+
+EXTRA_OECONF = "--disable-tls \

Why is tls disabled here?

recipes/nzbget/nzbget_0.6.0.bb line 20

Quoted 8 lines
recipes/nzbget/nzbget_0.6.0.bb new file +8 -0
+             --with-libcurses-libraries=${STAGING_LIBDIR} \
+             --with-libcurses-includes=${STAGING_INCDIR} \
+             --with-libpar2-includes={STAGING_INCDIR} \
+             --with-libpar2-libraries={STAGING_INCDIR}"
+
+do_stage() {
+     autotools_stage_all
+}

autotools_stage again

Quoted 18 lines
recipes/nzbget/nzbget_0.7.0-testing.bb new file +12 -0
new file mode 100644
index 0000000..e0f9b5c
@@ -0,0 +1,23 @@
+DESCRIPTION = "NZBGet is a command-line based binary newsgrabber for nzb files, written in C++"
+SECTION = "net"
+LICENSE = "GPL"
+HOMEPAGE = "http://nzbget.sourceforge.net/Main_Page"
+DEPENDS = "libsigc++-2.0 libpar2 ncurses libxml2"
+
+SRC_URI = "${SOURCEFORGE_MIRROR}/nzbget/nzbget-stable/nzbget-${PV}-r342.tar.gz"
+
+# http://sourceforge.net/projects/nzbget/files/nzbget-testing/nzbget-0.7.0-testing-r342.tar.gz
+
+inherit autotools pkgconfig
+

recipes/nzbget/nzbget_0.7.0-testing.bb line 22

Quoted 10 lines
recipes/nzbget/nzbget_0.7.0-testing.bb new file +10 -0
+EXTRA_OECONF = "--disable-tls \
+             --with-libcurses-libraries=${STAGING_LIBDIR} \
+             --with-libcurses-includes=${STAGING_INCDIR} \
+             --with-libpar2-includes={STAGING_INCDIR} \
+             --with-libpar2-libraries={STAGING_INCDIR}"
+
+do_stage() {
+     autotools_stage_all
+}
+

Bye Henning

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

Signature · 2 lines
Pozdrawiam, Artur
http://artekw.net / GG: 151817 / JID: [email protected]
conf/checksums.ini +11 -0
index 1377816..0d3e844 100644
@@ -28934,3 +28934,14 @@ sha256=f57c4e33eb2cdd87a6c2f01bfa4794340fbe61ea1a1cfc7dac3b6671e1dd22af
 md5=5f7b88ebb2bcd7e8044328482d079661
 sha256=f57c4e33eb2cdd87a6c2f01bfa4794340fbe61ea1a1cfc7dac3b6671e1dd22af
 
+[http://downloads.sourceforge.net/parchive/libpar2/libpar2-0.2.tar.gz]
+md5=94c6df4e38efe08056ecde2a04e0be91
+sha256=074fbf840f73b1e13e0405fce261078c81c8c0a4859e30a7bba10510f9199908
+
+[http://downloads.sourceforge.net/nzbget/nzbget-stable/nzbget-0.6.0.tar.gz]
+md5=eb95b3930abffb570e37af8d284c1f9d
+sha256=b0bc8740db7ed9ea269b29e9a936cb2c4dd61a911b80b623fe18729b94de3030
+
+[http://downloads.sourceforge.net/nzbget/nzbget-stable/nzbget-0.7.0-testing-r342.tar.gz]
+md5=4250d8166969367b4feff4204b42ecb9
+sha256=37c595e78c4a5c86fa1c39d4dba39786d9546ae0a078b936832df9d17bafba10
recipes/libpar2/libpar2_0.2.bb new file +14 -0
new file mode 100644
index 0000000..b337c5f
@@ -0,0 +1,14 @@
+DESCRIPTION = "Providing a tool to apply the data-recovery capability concepts of RAID-like systems to the posting & recovery of multi-part archives on Usenet."
+SECTION = "libs"
+LICENSE = "GPL"
+HOMEPAGE = "http://parchive.sourceforge.net/"
+DEPENDS = "libsigc++-2.0"
+
+SRC_URI = "${SOURCEFORGE_MIRROR}/parchive/libpar2/libpar2-${PV}.tar.gz"
+
+inherit autotools pkgconfig
+
+do_stage() {
+	autotools_stage_all
+}
+
recipes/nzbget/nzbget_0.6.0.bb new file +22 -0
new file mode 100644
index 0000000..79ff7c4
@@ -0,0 +1,22 @@
+DESCRIPTION = "NZBGet is a command-line based binary newsgrabber for nzb files, written in C++"
+SECTION = "net"
+LICENSE = "GPL"
+HOMEPAGE = "http://nzbget.sourceforge.net/Main_Page"
+DEPENDS = "libsigc++-2.0 libpar2 ncurses libxml2 openssl"
+PR = "r0"
+
+SRC_URI = "${SOURCEFORGE_MIRROR}/nzbget/nzbget-stable/nzbget-${PV}.tar.gz"
+
+inherit autotools pkgconfig
+
+do_stage() {
+	autotools_stage_all
+}
+
+EXTRA_OECONF = "--with-tlslib=OpenSSL \
+		--with-libcurses-libraries=${STAGING_LIBDIR} \
+		--with-libcurses-includes=${STAGING_INCDIR} \
+		--with-libpar2-libraries={STAGING_INCDIR} \
+		--with-libpar2-includes={STAGING_INCDIR} \
+		--with-openssl-libraries={STAGING_INCDIR} \
+		--with-openssl-includes={STAGING_INCDIR}"
recipes/nzbget/nzbget_0.7.0-testing.bb new file +22 -0
new file mode 100644
index 0000000..289b580
@@ -0,0 +1,22 @@
+DESCRIPTION = "NZBGet is a command-line based binary newsgrabber for nzb files, written in C++. Testing version."
+SECTION = "net"
+LICENSE = "GPL"
+HOMEPAGE = "http://nzbget.sourceforge.net/Main_Page"
+DEPENDS = "libsigc++-2.0 libpar2 ncurses libxml2 openssl"
+PR = "r0"
+
+SRC_URI = "${SOURCEFORGE_MIRROR}/nzbget/nzbget-stable/nzbget-${PV}-r342.tar.gz"
+
+inherit autotools pkgconfig
+
+do_stage() {
+	autotools_stage_all
+}
+
+EXTRA_OECONF = "--with-tlslib=OpenSSL \
+		--with-libcurses-libraries=${STAGING_LIBDIR} \
+		--with-libcurses-includes=${STAGING_INCDIR} \
+		--with-libpar2-libraries={STAGING_INCDIR} \
+		--with-libpar2-includes={STAGING_INCDIR} \
+		--with-openssl-libraries={STAGING_INCDIR} \
+		--with-openssl-includes={STAGING_INCDIR}"
#3 lore raw

Hi again,

sorry didnt saw this on the first glance please use git format-patch So its easier to push it in, with your datas.

Bye Henning

#4 lore raw

2009/9/4 Henning Heinold <[email protected]>:

Quoted 4 lines

Hi again,

sorry didnt saw this on the first glance please use git format-patch So its easier to push it in, with your datas.

Here it is, new patch :-)

Signature · 2 lines
Pozdrawiam, Artur
http://artekw.net / GG: 151817 / JID: [email protected]

From 0331db378cf798813700ccb7ced26667bad7b587 Mon Sep 17 00:00:00 2001
From: Artur Wronowski <[email protected]>
Date: Fri, 4 Sep 2009 08:28:13 +0200
Subject: [PATCH] add nzbget and libpar2

---
 recipes/libpar2/libpar2_0.2.bb         |   14 ++++++++++++++
 recipes/nzbget/nzbget_0.6.0.bb         |   22 ++++++++++++++++++++++
 recipes/nzbget/nzbget_0.7.0-testing.bb |   22 ++++++++++++++++++++++
 3 files changed, 58 insertions(+), 0 deletions(-)
 create mode 100644 recipes/libpar2/libpar2_0.2.bb
 create mode 100644 recipes/nzbget/nzbget_0.6.0.bb
 create mode 100644 recipes/nzbget/nzbget_0.7.0-testing.bb
recipes/libpar2/libpar2_0.2.bb new file +14 -0
new file mode 100644
index 0000000..b337c5f
@@ -0,0 +1,14 @@
+DESCRIPTION = "Providing a tool to apply the data-recovery capability concepts of RAID-like systems to the posting & recovery of multi-part archives on Usenet."
+SECTION = "libs"
+LICENSE = "GPL"
+HOMEPAGE = "http://parchive.sourceforge.net/"
+DEPENDS = "libsigc++-2.0"
+
+SRC_URI = "${SOURCEFORGE_MIRROR}/parchive/libpar2/libpar2-${PV}.tar.gz"
+
+inherit autotools pkgconfig
+
+do_stage() {
+	autotools_stage_all
+}
+
recipes/nzbget/nzbget_0.6.0.bb new file +22 -0
new file mode 100644
index 0000000..79ff7c4
@@ -0,0 +1,22 @@
+DESCRIPTION = "NZBGet is a command-line based binary newsgrabber for nzb files, written in C++"
+SECTION = "net"
+LICENSE = "GPL"
+HOMEPAGE = "http://nzbget.sourceforge.net/Main_Page"
+DEPENDS = "libsigc++-2.0 libpar2 ncurses libxml2 openssl"
+PR = "r0"
+
+SRC_URI = "${SOURCEFORGE_MIRROR}/nzbget/nzbget-stable/nzbget-${PV}.tar.gz"
+
+inherit autotools pkgconfig
+
+do_stage() {
+	autotools_stage_all
+}
+
+EXTRA_OECONF = "--with-tlslib=OpenSSL \
+		--with-libcurses-libraries=${STAGING_LIBDIR} \
+		--with-libcurses-includes=${STAGING_INCDIR} \
+		--with-libpar2-libraries={STAGING_INCDIR} \
+		--with-libpar2-includes={STAGING_INCDIR} \
+		--with-openssl-libraries={STAGING_INCDIR} \
+		--with-openssl-includes={STAGING_INCDIR}"
recipes/nzbget/nzbget_0.7.0-testing.bb new file +22 -0
new file mode 100644
index 0000000..289b580
@@ -0,0 +1,22 @@
+DESCRIPTION = "NZBGet is a command-line based binary newsgrabber for nzb files, written in C++. Testing version."
+SECTION = "net"
+LICENSE = "GPL"
+HOMEPAGE = "http://nzbget.sourceforge.net/Main_Page"
+DEPENDS = "libsigc++-2.0 libpar2 ncurses libxml2 openssl"
+PR = "r0"
+
+SRC_URI = "${SOURCEFORGE_MIRROR}/nzbget/nzbget-stable/nzbget-${PV}-r342.tar.gz"
+
+inherit autotools pkgconfig
+
+do_stage() {
+	autotools_stage_all
+}
+
+EXTRA_OECONF = "--with-tlslib=OpenSSL \
+		--with-libcurses-libraries=${STAGING_LIBDIR} \
+		--with-libcurses-includes=${STAGING_INCDIR} \
+		--with-libpar2-libraries={STAGING_INCDIR} \
+		--with-libpar2-includes={STAGING_INCDIR} \
+		--with-openssl-libraries={STAGING_INCDIR} \
+		--with-openssl-includes={STAGING_INCDIR}"
Signature · 1 line
1.6.4.2
#5 lore raw

Hi!

recipes/nzbget/nzbget_0.6.0.bb line 22

Quoted 7 lines · Artur Wronowski
recipes/nzbget/nzbget_0.6.0.bb new file +7 -0
+EXTRA_OECONF = "--with-tlslib=OpenSSL \
+               --with-libcurses-libraries=${STAGING_LIBDIR} \
+               --with-libcurses-includes=${STAGING_INCDIR} \
+               --with-libpar2-libraries={STAGING_INCDIR} \
+               --with-libpar2-includes={STAGING_INCDIR} \
+               --with-openssl-libraries={STAGING_INCDIR} \
+               --with-openssl-includes={STAGING_INCDIR}"

missing $ in some lines

recipes/nzbget/nzbget_0.6.0.bb line 22

Quoted 7 lines
recipes/nzbget/nzbget_0.6.0.bb new file +7 -0
+EXTRA_OECONF = "--with-tlslib=OpenSSL \
+               --with-libcurses-libraries=${STAGING_LIBDIR} \
+               --with-libcurses-includes=${STAGING_INCDIR} \
+               --with-libpar2-libraries={STAGING_INCDIR} \
+               --with-libpar2-includes={STAGING_INCDIR} \
+               --with-openssl-libraries={STAGING_INCDIR} \
+               --with-openssl-includes={STAGING_INCDIR}"

same

Signature · 3 lines
Jan Lübbe <[email protected]>            http://sicherheitsschwankung.de
 gpg-key      1024D/D8480F2E 2002-03-20
 fingerprint  1B25 F91F 9E7B 5D4F 1282  02D6 8A83 8BE4 D848 0F2E