ifenslave: new package
PATCH v2 1/1 ifenslave: new package
---
Changes v1 -> v2:
- download tarball from snapshot.debian.org
- use upstream SHA256 sum in hash file
--- package/Config.in | 1 + package/ifenslave/Config.in | 6 ++++++ package/ifenslave/ifenslave.hash | 3 +++ package/ifenslave/ifenslave.mk | 17 +++++++++++++++++ 4 files changed, 27 insertions(+) create mode 100644 package/ifenslave/Config.in create mode 100644 package/ifenslave/ifenslave.hash create mode 100644 package/ifenslave/ifenslave.mk
package/Config.in +1 -0
@@ -1497,6 +1497,7 @@ menu "Networking applications" source "package/httping/Config.in" source "package/ibrdtn-tools/Config.in" source "package/ibrdtnd/Config.in" + source "package/ifenslave/Config.in" source "package/ifplugd/Config.in" source "package/iftop/Config.in" source "package/ifupdown/Config.in"
package/ifenslave/Config.in new file +6 -0
@@ -0,0 +1,6 @@ +config BR2_PACKAGE_IFENSLAVE + bool "ifenslave" + help + Configure network interfaces for parallel routing (bonding) + + http://anonscm.debian.org/cgit/collab-maint/ifenslave.git
package/ifenslave/ifenslave.hash new file +3 -0
@@ -0,0 +1,3 @@ +# From http://snapshot.debian.org/archive/debian/20170102T091407Z/pool/main/i/ifenslave/ifenslave_2.9.dsc +sha1 a17e88fa298ef337e872c8aa5d7a390921239d1a ifenslave_2.9.tar.xz +sha256 e5666c0b61347bd06f2394c16eca6895fcb5e5cc83d0a1c596a975274de5a3c9 ifenslave_2.9.tar.xz
package/ifenslave/ifenslave.mk new file +17 -0
@@ -0,0 +1,17 @@ +################################################################################ +# +# ifenslave +# +################################################################################ + +IFENSLAVE_VERSION = 2.9 +IFENSLAVE_SOURCE = ifenslave_$(IFENSLAVE_VERSION).tar.xz +IFENSLAVE_SITE = http://snapshot.debian.org/archive/debian/20170102T091407Z/pool/main/i/ifenslave +IFENSLAVE_LICENSE = GPLv3+ +IFENSLAVE_LICENSE_FILES = debian/copyright + +define IFENSLAVE_INSTALL_TARGET_CMDS + $(INSTALL) -D -m 0755 $(@D)/ifenslave $(TARGET_DIR)/sbin/ifenslave +endef + +$(eval $(generic-package))
Signature · 1 line
2.1.4
PATCH v2 1/1 nmon: new package
---
Changes v1 -> v2:
- use upstream SHA1/MD5 sums in hash file
--- package/Config.in | 1 + package/nmon/Config.in | 7 +++++++ package/nmon/nmon.hash | 5 +++++ package/nmon/nmon.mk | 26 ++++++++++++++++++++++++++ 4 files changed, 39 insertions(+) create mode 100644 package/nmon/Config.in create mode 100644 package/nmon/nmon.hash create mode 100644 package/nmon/nmon.mk
package/Config.in +1 -0
@@ -99,6 +99,7 @@ menu "Debugging, profiling and benchmark" source "package/memstat/Config.in" source "package/netperf/Config.in" source "package/netsniff-ng/Config.in" + source "package/nmon/Config.in" source "package/oprofile/Config.in" source "package/pax-utils/Config.in" source "package/pv/Config.in"
package/nmon/Config.in new file +7 -0
@@ -0,0 +1,7 @@ +config BR2_PACKAGE_NMON + bool "nmon" + select BR2_PACKAGE_NCURSES + help + Nmon is short for Nigel's performance Monitor for Linux + + http://nmon.sourceforge.net/pmwiki.php
package/nmon/nmon.hash new file +5 -0
@@ -0,0 +1,5 @@ +# From https://sourceforge.net/projects/nmon/files/ +md5 a72e3eb737c230cd309329330a5545bd lmon16f.c +sha1 b69fdddf86ffe674e0133426fa09935ed678ab7d lmon16f.c +# Locally computed +sha256 280a371e17488f8a2c5e0c64273155789be6fa5b937ab5c465488e591bdc5cd9 lmon16f.c
package/nmon/nmon.mk new file +26 -0
@@ -0,0 +1,26 @@ +################################################################################ +# +# nmon +# +################################################################################ + +NMON_VERSION = 16f +NMON_SITE = http://sourceforge.net/projects/nmon/files +NMON_SOURCE = lmon$(NMON_VERSION).c +NMON_LICENSE = GPLv3+ + +NMON_DEPENDENCIES = ncurses + +define NMON_EXTRACT_CMDS + cp $(DL_DIR)/$(NMON_SOURCE) $(@D) +endef + +define NMON_BUILD_CMDS + $(TARGET_CC) -o $(NMON_DIR)/nmon $(NMON_DIR)/$(NMON_SOURCE) -Wall -D JFS -D GETUSER -D LARGEMEM -D DEBIAN -lncurses -lm +endef + +define NMON_INSTALL_TARGET_CMDS + $(INSTALL) -m 0755 -D $(@D)/nmon $(TARGET_DIR)/usr/bin/ +endef + +$(eval $(generic-package))
Signature · 1 line
2.1.4
PATCH v2 1/1 nmon: new package
Quoted 58 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"David" == David Bachelart <[email protected]> writes:
Signed-off-by David Bachelart <[email protected]>---
Changes v1 -> v2:
- use upstream SHA1/MD5 sums in hash file--- package/Config.in | 1 + package/nmon/Config.in | 7 +++++++ package/nmon/nmon.hash | 5 +++++ package/nmon/nmon.mk | 26 ++++++++++++++++++++++++++ 4 files changed, 39 insertions(+) create mode 100644 package/nmon/Config.in create mode 100644 package/nmon/nmon.hash create mode 100644 package/nmon/nmon.mkpackage/Config.in +1
-0@@ -99,6 +99,7 @@ menu "Debugging, profiling and benchmark" source "package/memstat/Config.in" source "package/netperf/Config.in" source "package/netsniff-ng/Config.in" + source "package/nmon/Config.in" source "package/oprofile/Config.in" source "package/pax-utils/Config.in" source "package/pv/Config.in"package/nmon/Config.in new file +7
-0@@ -0,0 +1,7 @@ +config BR2_PACKAGE_NMON + bool "nmon" + select BR2_PACKAGE_NCURSES + help + Nmon is short for Nigel's performance Monitor for Linux + + http://nmon.sourceforge.net/pmwiki.phppackage/nmon/nmon.hash new file +5
-0@@ -0,0 +1,5 @@ +# From https://sourceforge.net/projects/nmon/files/ +md5 a72e3eb737c230cd309329330a5545bd lmon16f.c +sha1 b69fdddf86ffe674e0133426fa09935ed678ab7d lmon16f.c +# Locally computed +sha256 280a371e17488f8a2c5e0c64273155789be6fa5b937ab5c465488e591bdc5cd9 lmon16f.cpackage/nmon/nmon.mk new file +0
-0
package/nmon/nmon.mk line 8
Quoted 8 lines
package/nmon/nmon.mk new file +8
-0@@ -0,0 +1,26 @@ +################################################################################ +# +# nmon +# +################################################################################ + +NMON_VERSION = 16f +NMON_SITE = http://sourceforge.net/projects/nmon/files
What a horrible way of releasing SW :/
package/nmon/nmon.mk line 10
Quoted 2 lines
package/nmon/nmon.mk new file +2
-0+NMON_SOURCE = lmon$(NMON_VERSION).c +NMON_LICENSE = GPLv3+
As the single source file is the only thing we have, and it indeed has a GPLv3+ header, I've added:
NMON_LICENSE_FILES = $(NMON_SOURCE)
package/nmon/nmon.mk line 16
Quoted 6 lines
package/nmon/nmon.mk new file +6
-0+ +NMON_DEPENDENCIES = ncurses + +define NMON_EXTRACT_CMDS + cp $(DL_DIR)/$(NMON_SOURCE) $(@D) +endef
We normally indent the _CMDS lines by tab like make targets, so I've reindented these.
package/nmon/nmon.mk line 20
Quoted 4 lines
package/nmon/nmon.mk new file +4
-0+ +define NMON_BUILD_CMDS + $(TARGET_CC) -o $(NMON_DIR)/nmon $(NMON_DIR)/$(NMON_SOURCE) -Wall -D JFS -D GETUSER -D LARGEMEM -D DEBIAN -lncurses -lm +endef
You forgot TARGET_CFLAGS and TARGET_LDFLAGS. -Wall isn't really needed. We normally use a <pkg>_CFLAGS helper variable when we need to deal with extra compiler flags, so I've reworked it to use a NMON_CFLAGS.
I've also replaced NMON_DIR with $(@D) to shorten the line / consistency with the install step.
Committed with these changes, thanks.
Signature · 1 line
Bye, Peter Korsgaard
PATCH v2 1/1 python-arrow: new package
In reply to David BachelartFrom: Eric Le Bihan <[email protected]>
---
Changes v1 -> v2:
- download source from pypi.python.org
- use MD5 sum from upstream in hash file
--- package/Config.in | 1 + package/python-arrow/Config.in | 7 +++++++ package/python-arrow/python-arrow.hash | 4 ++++ package/python-arrow/python-arrow.mk | 15 +++++++++++++++ 4 files changed, 27 insertions(+) create mode 100644 package/python-arrow/Config.in create mode 100644 package/python-arrow/python-arrow.hash create mode 100644 package/python-arrow/python-arrow.mk
package/Config.in +1 -0
@@ -643,6 +643,7 @@ if BR2_PACKAGE_PYTHON || BR2_PACKAGE_PYTHON3 menu "External python modules" source "package/python-alsaaudio/Config.in" source "package/python-argh/Config.in" + source "package/python-arrow/Config.in" source "package/python-autobahn/Config.in" source "package/python-backports-abc/Config.in" source "package/python-beautifulsoup4/Config.in"
package/python-arrow/Config.in new file +7 -0
@@ -0,0 +1,7 @@ +config BR2_PACKAGE_PYTHON_ARROW + bool "python-arrow" + select BR2_PACKAGE_PYTHON_DATEUTIL + help + Better dates & times for Python + + https://github.com/crsmithdev/arrow/
package/python-arrow/python-arrow.hash new file +4 -0
@@ -0,0 +1,4 @@ +# md5 from https://pypi.python.org/pypi/arrow/json, sha1 and sha256 locally computed +md5 5d00592200050ad58284d45a4ee147c6 arrow-0.10.0.tar.gz +sha1 5e5e043ce64b03274a6083c7fcfc0ac363c3b737 arrow-0.10.0.tar.gz +sha256 805906f09445afc1f0fc80187db8fe07670e3b25cdafa09b8d8ac264a8c0c722 arrow-0.10.0.tar.gz
package/python-arrow/python-arrow.mk new file +15 -0
@@ -0,0 +1,15 @@ +################################################################################ +# +# python-arrow +# +################################################################################ + +PYTHON_ARROW_VERSION = 0.10.0 +PYTHON_ARROW_SOURCE = arrow-$(PYTHON_ARROW_VERSION).tar.gz +PYTHON_ARROW_SITE = https://pypi.python.org/packages/54/db/76459c4dd3561bbe682619a5c576ff30c42e37c2e01900ed30a501957150 +PYTHON_ARROW_DEPENDENCIES = python-dateutil +PYTHON_ARROW_SETUP_TYPE = setuptools +PYTHON_ARROW_LICENSE = Apache-2.0 +PYTHON_ARROW_LICENSE_FILES = LICENSE + +$(eval $(python-package))
Signature · 1 line
2.1.4
PATCH v2 1/1 python-arrow: new package
Quoted 35 lines · David Bachelart
From: Eric Le Bihan <[email protected]>
Signed-off-by David Bachelart <[email protected]>---
Changes v1 -> v2:
- download source from pypi.python.org
- use MD5 sum from upstream in hash file--- package/Config.in | 1 + package/python-arrow/Config.in | 7 +++++++ package/python-arrow/python-arrow.hash | 4 ++++ package/python-arrow/python-arrow.mk | 15 +++++++++++++++ 4 files changed, 27 insertions(+) create mode 100644 package/python-arrow/Config.in create mode 100644 package/python-arrow/python-arrow.hash create mode 100644 package/python-arrow/python-arrow.mkpackage/Config.in +1
-0@@ -643,6 +643,7 @@ if BR2_PACKAGE_PYTHON || BR2_PACKAGE_PYTHON3 menu "External python modules" source "package/python-alsaaudio/Config.in" source "package/python-argh/Config.in" + source "package/python-arrow/Config.in" source "package/python-autobahn/Config.in" source "package/python-backports-abc/Config.in" source "package/python-beautifulsoup4/Config.in"package/python-arrow/Config.in new file +0
-0
package/python-arrow/Config.in line 3
Quoted 3 lines
package/python-arrow/Config.in new file +3
-0@@ -0,0 +1,7 @@ +config BR2_PACKAGE_PYTHON_ARROW + bool "python-arrow" + select BR2_PACKAGE_PYTHON_DATEUTIL
tag # runtime is missing, see
https://git.busybox.net/buildroot/tree/package/python-tornado/Config.in
package/python-arrow/Config.in line 5
Quoted 2 lines
package/python-arrow/Config.in new file +2
-0+ help + Better dates & times for Python
. is missing at the end of description
package/python-arrow/python-arrow.hash line 3
Quoted 11 lines
package/python-arrow/Config.in new file +2
-0+ + https://github.com/crsmithdev/arrow/package/python-arrow/python-arrow.hash new file +3
-0@@ -0,0 +1,4 @@ +# md5 from https://pypi.python.org/pypi/arrow/json, sha1 and sha256 locally computed +md5 5d00592200050ad58284d45a4ee147c6 arrow-0.10.0.tar.gz +sha1 5e5e043ce64b03274a6083c7fcfc0ac363c3b737 arrow-0.10.0.tar.gz
remove sha1
Quoted 7 lines
package/python-arrow/python-arrow.hash new file +1
-0+sha256 805906f09445afc1f0fc80187db8fe07670e3b25cdafa09b8d8ac264a8c0c722 arrow-0.10.0.tar.gzpackage/python-arrow/python-arrow.mk new file +0
-0
package/python-arrow/python-arrow.mk line 10
Quoted 10 lines
package/python-arrow/python-arrow.mk new file +10
-0@@ -0,0 +1,15 @@ +################################################################################ +# +# python-arrow +# +################################################################################ + +PYTHON_ARROW_VERSION = 0.10.0 +PYTHON_ARROW_SOURCE = arrow-$(PYTHON_ARROW_VERSION).tar.gz +PYTHON_ARROW_SITE = https://pypi.python.org/packages/54/db/76459c4dd3561bbe682619a5c576ff30c42e37c2e01900ed30a501957150 +PYTHON_ARROW_DEPENDENCIES = python-dateutil
python-dateutil is a runtime dependency, so remove it. Btw have tried our "./support/scripts/scanpypi arrow" to add this package?
Quoted 12 lines
package/python-arrow/python-arrow.mk new file +5
-1+PYTHON_ARROW_SETUP_TYPE = setuptools +PYTHON_ARROW_LICENSE = Apache-2.0 +PYTHON_ARROW_LICENSE_FILES = LICENSE + +$(eval $(python-package)) --2.1.4
_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
PATCH v2 1/1 python-arrow: new package
Hi Yegor,
2017-01-02 20:58 GMT+01:00 Yegor Yefremov <[email protected]>:
Quoted 3 lines
python-dateutil is a runtime dependency, so remove it. Btw have tried our "./support/scripts/scanpypi arrow" to add this package?
Wow, I did not know this trick. That is very useful.
Thanks a lot.
David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20170103/f0f8090e/attachment.html>
PATCH v2 1/1 python-arrow: new package
Hi David,
Quoted 11 lines · David Bachelart
Hi Yegor,
2017-01-02 20:58 GMT+01:00 Yegor Yefremov <[email protected]>:
Quoted 3 lines
python-dateutil is a runtime dependency, so remove it. Btw have tried our "./support/scripts/scanpypi arrow" to add this package?
Wow, I did not know this trick. That is very useful.
Thanks a lot.
You can read about scanpypi in out manual:
http://nightly.buildroot.org/manual.html#_infrastructure_for_python_packages
section "17.8.3. Generating a python-package from a PyPI repository".
Yegor
PATCH v2 1/1 python-chardet: new package
In reply to David BachelartFrom: Eric Le Bihan <[email protected]>
---
Changes v1 -> v2:
- download source from pypi.python.org
- use upstream MD5 sum in hash file
--- package/Config.in | 1 + package/python-chardet/Config.in | 6 ++++++ package/python-chardet/python-chardet.hash | 4 ++++ package/python-chardet/python-chardet.mk | 14 ++++++++++++++ 4 files changed, 25 insertions(+) create mode 100644 package/python-chardet/Config.in create mode 100644 package/python-chardet/python-chardet.hash create mode 100644 package/python-chardet/python-chardet.mk
package/Config.in +1 -0
@@ -652,6 +652,7 @@ menu "External python modules" source "package/python-certifi/Config.in" source "package/python-cffi/Config.in" source "package/python-characteristic/Config.in" + source "package/python-chardet/Config.in" source "package/python-cheetah/Config.in" source "package/python-cherrypy/Config.in" source "package/python-click/Config.in"
package/python-chardet/Config.in new file +6 -0
@@ -0,0 +1,6 @@ +config BR2_PACKAGE_PYTHON_CHARDET + bool "python-chardet" + help + Chardet: the Universal Character Encoding Detector + + https://github.com/chardet/chardet
package/python-chardet/python-chardet.hash new file +4 -0
@@ -0,0 +1,4 @@ +# md5 from https://pypi.python.org/pypi/chardet/json, sha1 and sha256 locally computed +md5 25274d664ccb5130adae08047416e1a8 chardet-2.3.0.tar.gz +sha1 50af8f8771ecbeb7a22567129c6c281b8bec3b1c chardet-2.3.0.tar.gz +sha256 e53e38b3a4afe6d1132de62b7400a4ac363452dc5dfcf8d88e8e0cce663c68aa chardet-2.3.0.tar.gz
package/python-chardet/python-chardet.mk new file +14 -0
@@ -0,0 +1,14 @@ +################################################################################ +# +# python-chardet +# +################################################################################ + +PYTHON_CHARDET_VERSION = 2.3.0 +PYTHON_CHARDET_SOURCE = chardet-$(PYTHON_CHARDET_VERSION).tar.gz +PYTHON_CHARDET_SITE = https://pypi.python.org/packages/7d/87/4e3a3f38b2f5c578ce44f8dc2aa053217de9f0b6d737739b0ddac38ed237 +PYTHON_CHARDET_SETUP_TYPE = setuptools +PYTHON_CHARDET_LICENSE = GPL-2+ +PYTHON_CHARDET_LICENSE_FILES = LICENSE + +$(eval $(python-package))
Signature · 1 line
2.1.4
PATCH v2 1/1 python-chardet: new package
Quoted 35 lines · David Bachelart
From: Eric Le Bihan <[email protected]>
Signed-off-by David Bachelart <[email protected]>---
Changes v1 -> v2:
- download source from pypi.python.org
- use upstream MD5 sum in hash file--- package/Config.in | 1 + package/python-chardet/Config.in | 6 ++++++ package/python-chardet/python-chardet.hash | 4 ++++ package/python-chardet/python-chardet.mk | 14 ++++++++++++++ 4 files changed, 25 insertions(+) create mode 100644 package/python-chardet/Config.in create mode 100644 package/python-chardet/python-chardet.hash create mode 100644 package/python-chardet/python-chardet.mkpackage/Config.in +1
-0@@ -652,6 +652,7 @@ menu "External python modules" source "package/python-certifi/Config.in" source "package/python-cffi/Config.in" source "package/python-characteristic/Config.in" + source "package/python-chardet/Config.in" source "package/python-cheetah/Config.in" source "package/python-cherrypy/Config.in" source "package/python-click/Config.in"package/python-chardet/Config.in new file +0
-0
package/python-chardet/Config.in line 4
Quoted 4 lines
package/python-chardet/Config.in new file +4
-0@@ -0,0 +1,6 @@ +config BR2_PACKAGE_PYTHON_CHARDET + bool "python-chardet" + help + Chardet: the Universal Character Encoding Detector
. is missing at the end of the description
package/python-chardet/python-chardet.hash line 3
Quoted 11 lines
package/python-chardet/Config.in new file +2
-0+ + https://github.com/chardet/chardetpackage/python-chardet/python-chardet.hash new file +3
-0@@ -0,0 +1,4 @@ +# md5 from https://pypi.python.org/pypi/chardet/json, sha1 and sha256 locally computed +md5 25274d664ccb5130adae08047416e1a8 chardet-2.3.0.tar.gz +sha1 50af8f8771ecbeb7a22567129c6c281b8bec3b1c chardet-2.3.0.tar.gz
remove sha1
Quoted 28 lines
package/python-chardet/python-chardet.hash new file +1
-0+sha256 e53e38b3a4afe6d1132de62b7400a4ac363452dc5dfcf8d88e8e0cce663c68aa chardet-2.3.0.tar.gzpackage/python-chardet/python-chardet.mk new file +14
-1@@ -0,0 +1,14 @@ +################################################################################ +# +# python-chardet +# +################################################################################ + +PYTHON_CHARDET_VERSION = 2.3.0 +PYTHON_CHARDET_SOURCE = chardet-$(PYTHON_CHARDET_VERSION).tar.gz +PYTHON_CHARDET_SITE = https://pypi.python.org/packages/7d/87/4e3a3f38b2f5c578ce44f8dc2aa053217de9f0b6d737739b0ddac38ed237 +PYTHON_CHARDET_SETUP_TYPE = setuptools +PYTHON_CHARDET_LICENSE = GPL-2+ +PYTHON_CHARDET_LICENSE_FILES = LICENSE + +$(eval $(python-package)) --2.1.4
_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
PATCH v2 1/1 python-chardet: new package
Hi,
I just sent a new patch.
Thanks,
David
2017-01-02 21:00 GMT+01:00 Yegor Yefremov <[email protected]>:
Quoted 93 lines
package/python-chardet/
Quoted 30 lines · David Bachelart
From: Eric Le Bihan <[email protected]>
Signed-off-by David Bachelart <[email protected]>---
Changes v1 -> v2:
- download source from pypi.python.org
- use upstream MD5 sum in hash file--- package/Config.in | 1 + package/python-chardet/Config.in | 6 ++++++ package/python-chardet/python-chardet.hash | 4 ++++ package/python-chardet/python-chardet.mk | 14 ++++++++++++++ 4 files changed, 25 insertions(+) create mode 100644 package/python-chardet/Config.in create mode 100644 package/python-chardet/python-chardet.hash create mode 100644 package/python-chardet/python-chardet.mkpackage/Config.in +1
-0@@ -652,6 +652,7 @@ menu "External python modules" source "package/python-certifi/Config.in" source "package/python-cffi/Config.in" source "package/python-characteristic/Config.in" + source "package/python-chardet/Config.in" source "package/python-cheetah/Config.in" source "package/python-cherrypy/Config.in" source "package/python-click/Config.in"package/python-chardet/ renamed from package/python-chardet/Config.in +0
-0Config.in
package/python-chardet/Config.in line 4
Quoted 9 lines
new file mode 100644
index 0000000..8d7a0eepackage/python-chardet/Config.in new file +4
-0@@ -0,0 +1,6 @@ +config BR2_PACKAGE_PYTHON_CHARDET + bool "python-chardet" + help + Chardet: the Universal Character Encoding Detector. is missing at the end of the description
Review
Quoted 3 lines
package/python-chardet/Config.in new file +2
-0+ + https://github.com/chardet/chardet(quoted diff) +0
-0b/package/python-chardet/python-chardet.hash
package/python-chardet/python-chardet.hash line 1
Quoted 6 lines
new file mode 100644
index 0000000..273c9e8package/python-chardet/python-chardet.hash new file +1
-0@@ -0,0 +1,4 @@ +# md5 from https://pypi.python.org/pypi/chardet/json, sha1 and sha256locally computed
package/python-chardet/python-chardet.hash line 3
Quoted 2 lines
package/python-chardet/python-chardet.hash new file +2
-0+md5 25274d664ccb5130adae08047416e1a8 chardet-2.3.0.tar.gz +sha1 50af8f8771ecbeb7a22567129c6c281b8bec3b1cchardet-2.3.0.tar.gz
remove sha1
Reviewed-by Yegor Yefremov <[email protected]>package/python-chardet/python-chardet.hash line 4
Quoted 1 line
package/python-chardet/python-chardet.hash new file +1
-0+sha256 e53e38b3a4afe6d1132de62b7400a4ac363452dc5dfcf8d88e8e0cce663c68aachardet-2.3.0.tar.gz
Review
Quoted 1 line
(quoted diff) +0
-0
b/package/python-chardet/python-chardet.mkpackage/python-chardet/python-chardet.mk line 1
Quoted 6 lines
new file mode 100644
index 0000000..5cec4aepackage/python-chardet/python-chardet.mk new file +1
-0@@ -0,0 +1,14 @@ +################################################################################
package/python-chardet/python-chardet.mk
Quoted 4 lines
package/python-chardet/python-chardet.mk new file +4
-0+# +# python-chardet +# +################################################################################
package/python-chardet/python-chardet.mk
Quoted 4 lines
package/python-chardet/python-chardet.mk new file +4
-0+ +PYTHON_CHARDET_VERSION = 2.3.0 +PYTHON_CHARDET_SOURCE = chardet-$(PYTHON_CHARDET_VERSION).tar.gz +PYTHON_CHARDET_SITE = https://pypi.python.org/packages/7d/87/
4e3a3f38b2f5c578ce44f8dc2aa053217de9f0b6d737739b0ddac38ed237Quoted 8 lines
package/python-chardet/python-chardet.mk new file +5
-1+PYTHON_CHARDET_SETUP_TYPE = setuptools +PYTHON_CHARDET_LICENSE = GPL-2+ +PYTHON_CHARDET_LICENSE_FILES = LICENSE + +$(eval $(python-package)) --2.1.4
Quoted 5 lines
Quoted 4 lines
_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20170103/8a091689/attachment.html>
PATCH v2 1/1 python-whoosh: new package
In reply to David Bachelart---
Changes v1 -> v2:
- change comment format in .hash file (suggested by Yegor Yefremov)
--- package/Config.in | 1 + package/python-whoosh/Config.in | 9 +++++++++ package/python-whoosh/python-whoosh.hash | 3 +++ package/python-whoosh/python-whoosh.mk | 14 ++++++++++++++ 4 files changed, 27 insertions(+) create mode 100644 package/python-whoosh/Config.in create mode 100644 package/python-whoosh/python-whoosh.hash create mode 100644 package/python-whoosh/python-whoosh.mk
package/Config.in +1 -0
@@ -810,6 +810,7 @@ menu "External python modules" source "package/python-web2py/Config.in" source "package/python-webpy/Config.in" source "package/python-werkzeug/Config.in" + source "package/python-whoosh/Config.in" source "package/python-ws4py/Config.in" source "package/python-wsaccel/Config.in" source "package/python-xlrd/Config.in"
package/python-whoosh/Config.in new file +9 -0
@@ -0,0 +1,9 @@ +config BR2_PACKAGE_PYTHON_WHOOSH + bool "python-whoosh" + select BR2_PACKAGE_PYTHON_ZLIB if BR2_PACKAGE_PYTHON # runtime + select BR2_PACKAGE_PYTHON3_ZLIB if BR2_PACKAGE_PYTHON3 # runtime + help + Whoosh is a fast, pure-Python full text indexing, search, and + spell checking library. + + https://pypi.python.org/pypi/Whoosh/
package/python-whoosh/python-whoosh.hash new file +3 -0
@@ -0,0 +1,3 @@ +# md5 from https://pypi.python.org/pypi/Whoosh/json, sha256 locally computed +md5 9a0fc2df9335e1d2e81dd84a2c4c416f Whoosh-2.7.0.tar.gz +sha256 cdfc0e1c5173207ac7b312afe78d83fb552cfed30427bf7b3dba8b1d26cea8f7 Whoosh-2.7.0.tar.gz
package/python-whoosh/python-whoosh.mk new file +14 -0
@@ -0,0 +1,14 @@ +################################################################################ +# +# python-whoosh +# +################################################################################ + +PYTHON_WHOOSH_VERSION = 2.7.0 +PYTHON_WHOOSH_SOURCE = Whoosh-$(PYTHON_WHOOSH_VERSION).tar.gz +PYTHON_WHOOSH_SITE = http://pypi.python.org/packages/source/W/Whoosh +PYTHON_WHOOSH_SETUP_TYPE = setuptools +PYTHON_WHOOSH_LICENSE = BSD-3c +PYTHON_WHOOSH_LICENSE_FILES = LICENSE.txt + +$(eval $(python-package))
Signature · 1 line
2.1.4
PATCH v2 1/1 python-whoosh: new package
Quoted 1 line · David Bachelart
Signed-off-by David Bachelart <[email protected]>
Quoted 76 lines
---
Changes v1 -> v2:
- change comment format in .hash file (suggested by Yegor Yefremov)--- package/Config.in | 1 + package/python-whoosh/Config.in | 9 +++++++++ package/python-whoosh/python-whoosh.hash | 3 +++ package/python-whoosh/python-whoosh.mk | 14 ++++++++++++++ 4 files changed, 27 insertions(+) create mode 100644 package/python-whoosh/Config.in create mode 100644 package/python-whoosh/python-whoosh.hash create mode 100644 package/python-whoosh/python-whoosh.mkpackage/Config.in +1
-0@@ -810,6 +810,7 @@ menu "External python modules" source "package/python-web2py/Config.in" source "package/python-webpy/Config.in" source "package/python-werkzeug/Config.in" + source "package/python-whoosh/Config.in" source "package/python-ws4py/Config.in" source "package/python-wsaccel/Config.in" source "package/python-xlrd/Config.in"package/python-whoosh/Config.in new file +9
-0@@ -0,0 +1,9 @@ +config BR2_PACKAGE_PYTHON_WHOOSH + bool "python-whoosh" + select BR2_PACKAGE_PYTHON_ZLIB if BR2_PACKAGE_PYTHON # runtime + select BR2_PACKAGE_PYTHON3_ZLIB if BR2_PACKAGE_PYTHON3 # runtime + help + Whoosh is a fast, pure-Python full text indexing, search, and + spell checking library. + + https://pypi.python.org/pypi/Whoosh/package/python-whoosh/python-whoosh.hash new file +3
-0@@ -0,0 +1,3 @@ +# md5 from https://pypi.python.org/pypi/Whoosh/json, sha256 locally computed +md5 9a0fc2df9335e1d2e81dd84a2c4c416f Whoosh-2.7.0.tar.gz +sha256 cdfc0e1c5173207ac7b312afe78d83fb552cfed30427bf7b3dba8b1d26cea8f7 Whoosh-2.7.0.tar.gzpackage/python-whoosh/python-whoosh.mk new file +14
-1@@ -0,0 +1,14 @@ +################################################################################ +# +# python-whoosh +# +################################################################################ + +PYTHON_WHOOSH_VERSION = 2.7.0 +PYTHON_WHOOSH_SOURCE = Whoosh-$(PYTHON_WHOOSH_VERSION).tar.gz +PYTHON_WHOOSH_SITE = http://pypi.python.org/packages/source/W/Whoosh +PYTHON_WHOOSH_SETUP_TYPE = setuptools +PYTHON_WHOOSH_LICENSE = BSD-3c +PYTHON_WHOOSH_LICENSE_FILES = LICENSE.txt + +$(eval $(python-package)) --2.1.4
_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
PATCH v2 1/1 python-whoosh: new package
In reply to David BachelartQuoted 6 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"David" == David Bachelart <[email protected]> writes:
Signed-off-by David Bachelart <[email protected]>---
Changes v1 -> v2:
- change comment format in .hash file (suggested by Yegor Yefremov)
Committed, thanks.
Signature · 1 line
Bye, Peter Korsgaard
PATCH v2 1/1 sslh: new package
In reply to David Bachelart---
Changes v1 -> v2:
- Fix version in .mk file
- Fix source url in .mk file
- Fix hash file
--- package/Config.in | 1 + package/sslh/0100-version-messup-with-git.patch | 47 +++++++++++++++++++++++++ package/sslh/Config.in | 14 ++++++++ package/sslh/S35sslh | 41 +++++++++++++++++++++ package/sslh/sslh.default | 14 ++++++++ package/sslh/sslh.hash | 4 +++ package/sslh/sslh.mk | 29 +++++++++++++++ 7 files changed, 150 insertions(+) create mode 100644 package/sslh/0100-version-messup-with-git.patch create mode 100644 package/sslh/Config.in create mode 100644 package/sslh/S35sslh create mode 100644 package/sslh/sslh.default create mode 100644 package/sslh/sslh.hash create mode 100644 package/sslh/sslh.mk
package/Config.in +1 -0
@@ -1614,6 +1614,7 @@ endif source "package/spice-protocol/Config.in" source "package/squid/Config.in" source "package/sshpass/Config.in" + source "package/sslh/Config.in" source "package/strongswan/Config.in" source "package/stunnel/Config.in" source "package/tcpdump/Config.in"
package/sslh/0100-version-messup-with-git.patch new file +47 -0
47 lines not on this page · raw message
package/sslh/Config.in new file +14 -0
@@ -0,0 +1,14 @@ +config BR2_PACKAGE_SSLH + bool "sslh" + depends on BR2_INSTALL_LIBSTDCPP + # uses fork() + depends on BR2_USE_MMU + select BR2_PACKAGE_LIBCONFIG + help + Applicative protocol multiplexer + + http://www.rutschle.net/tech/sslh.shtml + +comment "iperf needs a toolchain w/ C++" + depends on BR2_USE_MMU + depends on !BR2_INSTALL_LIBSTDCPP
package/sslh/S35sslh new file +41 -0
41 lines not on this page · raw message
package/sslh/sslh.default new file +14 -0
@@ -0,0 +1,14 @@ +# Default options for sslh initscript +# sourced by /etc/init.d/sslh + +# Disabled by default, to force yourself +# to read the configuration: +# - /usr/share/doc/sslh/README.Debian (quick start) +# - /usr/share/doc/sslh/README, at "Configuration" section +# - sslh(8) via "man sslh" for more configuration details. +# Once configuration ready, you *must* set RUN to yes here +# and try to start sslh (standalone mode only) + +RUN=yes + +DAEMON_OPTS="--user root --listen 0.0.0.0:8090 --ssh 127.0.0.1:22 --http 127.0.0.1:80"
package/sslh/sslh.hash new file +4 -0
@@ -0,0 +1,4 @@ +# Locally computed +md5 0e3568d5d234516c634d4df156473298 sslh-v1.18.tar.gz +sha1 b2e3a4314f62fc8200ecfbadefebe809a84d8099 sslh-v1.18.tar.gz +sha256 1601a5b377dcafc6b47d2fbb8d4d25cceb83053a4adcc5874d501a2d5a7745ad sslh-v1.18.tar.gz
package/sslh/sslh.mk new file +29 -0
@@ -0,0 +1,29 @@ +################################################################################ +# +# sslh +# +################################################################################ + +SSLH_VERSION = 1.18 +SSLH_SITE = http://www.rutschle.net/tech/sslh +SSLH_SOURCE = sslh-v$(SSLH_VERSION).tar.gz +SSLH_LICENSE = GPL-v2+ +SSLH_LICENSE_FILES = COPYING + +SSLH_DEPENDENCIES = libconfig + +define SSLH_BUILD_CMDS + $(TARGET_MAKE_ENV) make CC=$(TARGET_CC) -C $(SSLH_DIR) +endef + +define SSLH_INSTALL_TARGET_CMDS + $(INSTALL) -m 755 -D $(@D)/sslh-fork $(TARGET_DIR)/usr/sbin/sslh + $(INSTALL) -m 644 -D package/sslh/sslh.default $(TARGET_DIR)/etc/default/sslh +endef + +define SSLH_INSTALL_INIT_SYSV + $(INSTALL) -m 755 -D package/sslh/S35sslh $(TARGET_DIR)/etc/init.d/S35sslh +endef + +$(eval $(generic-package)) +
Signature · 1 line
2.1.4
PATCH v2 1/1 sslh: new package
Hello,
Thanks for your contribution, and this new iteration. However, there are still a number of issues that need to be resolved before we can apply your patch. See below for the comments.
package/sslh/0100-version-messup-with-git.patch
Quoted 1 line · David Bachelart
package/sslh/0100-version-messup-with-git.patch +0
-0
Patches should starts at 0001, and we like them to be generated with "git format-patch" when the upstream project uses Git as its version control system.
package/sslh/0100-version-messup-with-git.patch
Quoted 5 lines
new file mode 100644
index 0000000..f4bc7c9package/sslh/0100-version-messup-with-git.patch new file +0
-0@@ -0,0 +1,47 @@
All patches must have a description and Signed-off-by line, formatted like all git commits.
package/sslh/0100-version-messup-with-git.patch line 10
Quoted 10 lines
package/sslh/0100-version-messup-with-git.patch new file +10
-0+diff --git a/genver.sh b/genver.sh +index 4d6e76a..7e9176f 100755 +--- a/genver.sh ++++ b/genver.sh +@@ -7,7 +7,7 @@ else + QUIET=0 + fi + +-if ! `(git status | grep -q "On branch") 2> /dev/null`; then ++#if ! `(git status | grep -q "On branch") 2> /dev/null`; then
Please remove code instead of commenting it.
However, since sslh seems to be actively developed, we would very much prefer a solution that can be upstreamed. So something like an option we can pass, or another mechanism that allows to disable this "let's determine the version from git" thing.
Quoted 8 lines
package/sslh/Config.in new file +2
-0@@ -0,0 +1,14 @@ +config BR2_PACKAGE_SSLH + bool "sslh"
package/sslh/Config.in line 12
Quoted 10 lines
package/sslh/Config.in new file +10
-0+ depends on BR2_INSTALL_LIBSTDCPP + # uses fork() + depends on BR2_USE_MMU + select BR2_PACKAGE_LIBCONFIG + help + Applicative protocol multiplexer + + http://www.rutschle.net/tech/sslh.shtml + +comment "iperf needs a toolchain w/ C++"
I guess this package is sslh, not iperf :)
package/sslh/Config.in
Quoted 3 lines
package/sslh/Config.in new file +3
-0+start() +{ + echo -n "Starting $NAME: "
Use printf here instead of echo -n.
package/sslh/Config.in
Quoted 1 line
package/sslh/Config.in new file +1
-0+ start-stop-daemon -S -q --exec $DAEMON -- $DAEMON_OPTS --pidfile $PIDFILE && echo "OK" || echo "Failed"
Please use the same syntax as other init scripts. Look at package/dropbear/S50dropbear for an example.
package/sslh/Config.in
Quoted 5 lines
package/sslh/Config.in new file +5
-0+stop() +{ + echo -n "Stopping $NAME: " + start-stop-daemon -K -q -x $DAEMON && echo "OK" || echo "Failed" + rm -f $PIDFILE
Removing the pidfile is not really needed.
package/sslh/sslh.default line 2
Quoted 8 lines
package/sslh/sslh.default new file +2
-0@@ -0,0 +1,14 @@ +# Default options for sslh initscript +# sourced by /etc/init.d/sslh
There is no such file in Buildroot.
package/sslh/sslh.default line 8
Quoted 5 lines
package/sslh/sslh.default new file +5
-0+# Disabled by default, to force yourself +# to read the configuration: +# - /usr/share/doc/sslh/README.Debian (quick start) +# - /usr/share/doc/sslh/README, at "Configuration" section +# - sslh(8) via "man sslh" for more configuration details.
All these references don't really make sense in a Buildroot context.
package/sslh/sslh.default line 12
Quoted 4 lines
package/sslh/sslh.default new file +4
-0+# Once configuration ready, you *must* set RUN to yes here +# and try to start sslh (standalone mode only) + +RUN=yes
Not used by Buildroot.
package/sslh/sslh.default line 13
Quoted 2 lines
package/sslh/sslh.default new file +2
-0+ +DAEMON_OPTS="--user root --listen 0.0.0.0:8090 --ssh 127.0.0.1:22 --http 127.0.0.1:80"
In general, we do not provide an default file for /etc/default, the init script is self sufficient. So please put the default value for DAEMON_OPTS into the init script, and simply include /etc/default/sslh afterwards so that it can override the options.
Quoted 6 lines
package/sslh/sslh.mk new file +0
-0
package/sslh/sslh.mk line 9
Quoted 9 lines
package/sslh/sslh.mk new file +9
-0@@ -0,0 +1,29 @@ +################################################################################ +# +# sslh +# +################################################################################ + +SSLH_VERSION = 1.18 +SSLH_SITE = http://www.rutschle.net/tech/sslh +SSLH_SOURCE = sslh-v$(SSLH_VERSION).tar.gz
The "v" should be part of SSLH_VERSION, and then SSLH_SOURCE can be removed as it's the default version.
package/sslh/sslh.mk line 10
Quoted 1 line
package/sslh/sslh.mk new file +1
-0+SSLH_LICENSE = GPL-v2+
Should be GPLv2+.
package/sslh/sslh.mk line 16
Quoted 6 lines
package/sslh/sslh.mk new file +6
-0+SSLH_LICENSE_FILES = COPYING + +SSLH_DEPENDENCIES = libconfig + +define SSLH_BUILD_CMDS + $(TARGET_MAKE_ENV) make CC=$(TARGET_CC) -C $(SSLH_DIR)
This should be:
$(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D)
notice that the indentation is done with one tab, not with spaces.
package/sslh/sslh.mk line 21
Quoted 5 lines
package/sslh/sslh.mk new file +5
-0+endef + +define SSLH_INSTALL_TARGET_CMDS + $(INSTALL) -m 755 -D $(@D)/sslh-fork $(TARGET_DIR)/usr/sbin/sslh + $(INSTALL) -m 644 -D package/sslh/sslh.default $(TARGET_DIR)/etc/default/sslh
The Makefile has an "install" target that seems to do the right thing, you should use it.
package/sslh/sslh.mk line 25
Quoted 4 lines
package/sslh/sslh.mk new file +4
-0+endef + +define SSLH_INSTALL_INIT_SYSV + $(INSTALL) -m 755 -D package/sslh/S35sslh $(TARGET_DIR)/etc/init.d/S35sslh
This is OK, except the indentation: should be one tab, not some spaces.
Could you address those different issues (I believe they are all quite easy to resolve) and submit an updated version of your patch?
Thanks a lot!
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com
PATCH v2 1/1 sslh: new package
Hi Thomas,
Sure, I'll submit a new patch.
Thanks
David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20170125/22e9b721/attachment.html>
PATCH v2 1/1 throttle: new package
In reply to David BachelartFrom: Eric Le Bihan <[email protected]>
---
Changes v1 -> v2:
- Fix url in .mk file
- Fix comment in hash file, use MD5 sum from upstream
--- package/Config.in | 1 + package/throttle/Config.in | 7 +++++++ package/throttle/throttle.hash | 3 +++ package/throttle/throttle.mk | 12 ++++++++++++ 4 files changed, 23 insertions(+) create mode 100644 package/throttle/Config.in create mode 100644 package/throttle/throttle.hash create mode 100644 package/throttle/throttle.mk
package/Config.in +1 -0
@@ -1768,6 +1768,7 @@ menu "System tools" source "package/systemd-bootchart/Config.in" source "package/sysvinit/Config.in" source "package/tar/Config.in" + source "package/throttle/Config.in" source "package/tpm-tools/Config.in" source "package/unscd/Config.in" source "package/util-linux/Config.in"
package/throttle/Config.in new file +7 -0
@@ -0,0 +1,7 @@ +config BR2_PACKAGE_THROTTLE + bool "throttle" + help + Throttle copies the standard input to the standard output while limiting + bandwidth to the specified maximum. + + http://rpms.famillecollet.com/rpmphp/zoom.php?rpm=throttle
package/throttle/throttle.hash new file +3 -0
@@ -0,0 +1,3 @@ +# md5 from http://pkgs.fedoraproject.org/repo/pkgs/throttle/throttle-1.2.tar.gz/md5, sha256 locally calculated +md5 bb8abf5a9a63ed7d80951f056543a88c throttle-1.2.tar.gz +sha256 6d90e4dcd6c604846020d60e82df1576e0a022cb96716a709db4ebfa143d6772 throttle-1.2.tar.gz
package/throttle/throttle.mk new file +12 -0
@@ -0,0 +1,12 @@ +################################################################################ +# +# throttle +# +################################################################################ + +THROTTLE_VERSION = 1.2 +THROTTLE_SITE = http://pkgs.fedoraproject.org/repo/pkgs/throttle/throttle-$(THROTTLE_VERSION).tar.gz/bb8abf5a9a63ed7d80951f056543a88c +THROTTLE_LICENSE = GPLv2+ +THROTTLE_LICENSE_FILES = COPYING + +$(eval $(autotools-package))
Signature · 1 line
2.1.4
PATCH v2 1/1 throttle: new package
Hello,
Quoted 3 lines · David Bachelart
From: Eric Le Bihan <[email protected]>
Signed-off-by David Bachelart <[email protected]>
Do we really want to add a Buildroot package for this?
Fedora has declared this as orphaned:
http://pkgs.fedoraproject.org/cgit/rpms/throttle.git/commit/?id=9a1fc2806fab0b2f0a51172b4a9bf05a8c2af23e.
Debian has decided that the upstream project was dead, and therefore refused to package it:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=426891. And indeed the original upstream site at http://klicman.org/throttle/ doesn't exist anymore.
So unless there's a new upstream, I would suggest that we do not package this in Buildroot.
Best regards,
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com
PATCH v2 1/1 throttle: new package
Hi Thomas,
You are right. My patch is now archived.
Best regards,
David Bachelart
2017-01-25 11:39 GMT+01:00 Thomas Petazzoni <
[email protected]>:
Quoted 21 lines
Hello,
Quoted 3 lines · David Bachelart
From: Eric Le Bihan <[email protected]>
Signed-off-by David Bachelart <[email protected]>Do we really want to add a Buildroot package for this?
Fedora has declared this as orphaned:
http://pkgs.fedoraproject.org/cgit/rpms/throttle.git/commit/?id=9a1fc2806fab0b2f0a51172b4a9bf05a8c2af23e.
Debian has decided that the upstream project was dead, and therefore refused to package it:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=426891. And indeed the original upstream site at http://klicman.org/throttle/ doesn't exist anymore.So unless there's a new upstream, I would suggest that we do not package this in Buildroot.
Quoted 8 lines
Best regards,
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20170126/24558180/attachment.html>
PATCH v2 1/1 udpxy: new package
In reply to David Bachelart---
Changes v1 -> v2:
- Fix url in mk file (trailing slash)
--- package/Config.in | 1 + package/udpxy/Config.in | 8 ++++++++ package/udpxy/udpxy.hash | 4 ++++ package/udpxy/udpxy.mk | 24 ++++++++++++++++++++++++ 4 files changed, 37 insertions(+) create mode 100644 package/udpxy/Config.in create mode 100644 package/udpxy/udpxy.hash create mode 100644 package/udpxy/udpxy.mk
package/Config.in +1 -0
@@ -45,6 +45,7 @@ menu "Audio and video applications" source "package/tovid/Config.in" source "package/tstools/Config.in" source "package/twolame/Config.in" + source "package/udpxy/Config.in" source "package/upmpdcli/Config.in" source "package/v4l2grab/Config.in" source "package/vlc/Config.in"
package/udpxy/Config.in new file +8 -0
@@ -0,0 +1,8 @@ +config BR2_PACKAGE_UDPXY + bool "udpxy" + help + udpxy is a UDP-to-HTTP multicast traffic relay daemon: it forwards UDP + traffic from a given multicast subscription to the requesting HTTP + client. + + http://www.udpxy.com/
package/udpxy/udpxy.hash new file +4 -0
@@ -0,0 +1,4 @@ +# Locally computed +md5 0c953f7dd80329c1a062997afb9b6744 udpxy.1.0.23-9-prod.tar.gz +sha1 4194fc98d51284da48d07c44bbc5bdfa4813a4b8 udpxy.1.0.23-9-prod.tar.gz +sha256 6ce33b1d14a1aeab4bd2566aca112e41943df4d002a7678d9a715108e6b714bd udpxy.1.0.23-9-prod.tar.gz
package/udpxy/udpxy.mk new file +24 -0
@@ -0,0 +1,24 @@ +################################################################################ +# +# udpxy +# +################################################################################# + +UDPXY_VERSION = 1.0.23-9-prod +UDPXY_SOURCE = udpxy.$(UDPXY_VERSION).tar.gz +UDPXY_SITE = http://www.udpxy.com/download/1_23 +UDPXY_LICENSE = GPLv3+ +UDPXY_LICENSE_FILES = README + +UDPXY_MAKE_OPTS=$(TARGET_CONFIGURE_OPTS) DESTDIR=$(TARGET_DIR) PREFIX=/usr + +define UDPXY_BUILD_CMDS + $(MAKE) $(UDPXY_MAKE_OPTS) -C $(@D)/ +endef + +define UDPXY_INSTALL_TARGET_CMDS + $(MAKE) $(UDPXY_MAKE_OPTS) -C $(@D)/ install +endef + +$(eval $(generic-package)) +
Signature · 1 line
2.1.4
PATCH v2 1/1 udpxy: new package
Hello,
Quoted 4 lines · David Bachelart
Signed-off-by David Bachelart <[email protected]>---
Changes v1 -> v2:
- Fix url in mk file (trailing slash)
Quoted 9 lines
--- package/Config.in | 1 + package/udpxy/Config.in | 8 ++++++++ package/udpxy/udpxy.hash | 4 ++++ package/udpxy/udpxy.mk | 24 ++++++++++++++++++++++++ 4 files changed, 37 insertions(+) create mode 100644 package/udpxy/Config.in create mode 100644 package/udpxy/udpxy.hash create mode 100644 package/udpxy/udpxy.mk
Thanks for the patch. I've applied to Buildroot, with the following changes:
[Thomas:
- keep only sha256 hash, not needed to have md5 and sha1 when sha256 is provided
- add BR2_USE_MMU dependency, since the program uses fork()
- remove UDPXY_MAKE_OPTS, and use the appropriate options during the build and install steps directly
- use TARGET_MAKE_ENV in the build and install steps]
Also, I've committed a change to the DEVELOPERS file that adds you as a contact for this package.
Thanks!
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com
PATCH v2 1/1 ifenslave: new package
In reply to David BachelartQuoted 35 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"David" == David Bachelart <[email protected]> writes:
Signed-off-by David Bachelart <[email protected]>---
Changes v1 -> v2:
- download tarball from snapshot.debian.org
- use upstream SHA256 sum in hash file--- package/Config.in | 1 + package/ifenslave/Config.in | 6 ++++++ package/ifenslave/ifenslave.hash | 3 +++ package/ifenslave/ifenslave.mk | 17 +++++++++++++++++ 4 files changed, 27 insertions(+) create mode 100644 package/ifenslave/Config.in create mode 100644 package/ifenslave/ifenslave.hash create mode 100644 package/ifenslave/ifenslave.mkpackage/Config.in +1
-0@@ -1497,6 +1497,7 @@ menu "Networking applications" source "package/httping/Config.in" source "package/ibrdtn-tools/Config.in" source "package/ibrdtnd/Config.in" + source "package/ifenslave/Config.in" source "package/ifplugd/Config.in" source "package/iftop/Config.in" source "package/ifupdown/Config.in"package/ifenslave/Config.in new file +0
-0
package/ifenslave/Config.in line 6
Quoted 6 lines
package/ifenslave/Config.in new file +6
-0@@ -0,0 +1,6 @@ +config BR2_PACKAGE_IFENSLAVE + bool "ifenslave" + help + Configure network interfaces for parallel routing (bonding) + + http://anonscm.debian.org/cgit/collab-maint/ifenslave.git
Out of interest, any reason to use this over the busybox applet? As it is GPLv3+, it cannot be licensing. Does it have any features the busybox applet doesn't have?
As it is also available in busybox you need to add a 'depends on BR2_PACKAGE_BUSYBOX_SHOW_OTHERS'.
Quoted 16 lines
package/ifenslave/ifenslave.hash new file +3
-0@@ -0,0 +1,3 @@ +# From http://snapshot.debian.org/archive/debian/20170102T091407Z/pool/main/i/ifenslave/ifenslave_2.9.dsc +sha1 a17e88fa298ef337e872c8aa5d7a390921239d1a ifenslave_2.9.tar.xz +sha256 e5666c0b61347bd06f2394c16eca6895fcb5e5cc83d0a1c596a975274de5a3c9 ifenslave_2.9.tar.xzpackage/ifenslave/ifenslave.mk new file +1
-0@@ -0,0 +1,17 @@ +################################################################################
package/ifenslave/ifenslave.mk line 11
Quoted 10 lines
package/ifenslave/ifenslave.mk new file +10
-0+# +# ifenslave +# +################################################################################ + +IFENSLAVE_VERSION = 2.9 +IFENSLAVE_SOURCE = ifenslave_$(IFENSLAVE_VERSION).tar.xz +IFENSLAVE_SITE = http://snapshot.debian.org/archive/debian/20170102T091407Z/pool/main/i/ifenslave +IFENSLAVE_LICENSE = GPLv3+ +IFENSLAVE_LICENSE_FILES = debian/copyright
To ensure this 'wins' over the busybox applet if enabled, we need to ensure this gets installed after busybox by:
IFENSLAVE_DEPENDENCIES = $(if $(BR2_PACKAGE_BUSYBOX),busybox)
I was a bit confused about the missing build command until I realized that this is just a shell script, so I added a comment to make this clear.
Committed with these fixes, thanks.
Signature · 1 line
Bye, Peter Korsgaard