diff mbox

picocom: bump to version 2.0

Message ID 1444237316-52377-1-git-send-email-Vincent.Riera@imgtec.com
State Superseded
Headers show

Commit Message

Vicente Olivert Riera Oct. 7, 2015, 5:01 p.m. UTC
- Bump to version 2.0
- Switch the download site to GitHub
- Apply a patch to fix a missing define. Pull request sent upstream:
  https://github.com/npat-efault/picocom/pull/31
- Add a hash file
- Rewrap the help text to 72 characters length
- Change the official website

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
---
 package/picocom/Config.in    |    7 +++----
 package/picocom/picocom.hash |    3 +++
 package/picocom/picocom.mk   |    7 ++++---
 3 files changed, 10 insertions(+), 7 deletions(-)
 create mode 100644 package/picocom/picocom.hash

Comments

Baruch Siach Oct. 7, 2015, 5:24 p.m. UTC | #1
Hi Vincent,

On Wed, Oct 07, 2015 at 06:01:56PM +0100, Vicente Olivert Riera wrote:
> - Bump to version 2.0
> - Switch the download site to GitHub
> - Apply a patch to fix a missing define. Pull request sent upstream:
>   https://github.com/npat-efault/picocom/pull/31

Where is that patch?

> - Add a hash file
> - Rewrap the help text to 72 characters length
> - Change the official website
> 
> Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
> ---
>  package/picocom/Config.in    |    7 +++----
>  package/picocom/picocom.hash |    3 +++
>  package/picocom/picocom.mk   |    7 ++++---
>  3 files changed, 10 insertions(+), 7 deletions(-)
>  create mode 100644 package/picocom/picocom.hash

baruch
Baruch Siach Oct. 7, 2015, 5:41 p.m. UTC | #2
Hi Vincent,

On Wed, Oct 07, 2015 at 08:24:57PM +0300, Baruch Siach wrote:
> On Wed, Oct 07, 2015 at 06:01:56PM +0100, Vicente Olivert Riera wrote:
> > - Bump to version 2.0
> > - Switch the download site to GitHub
> > - Apply a patch to fix a missing define. Pull request sent upstream:
> >   https://github.com/npat-efault/picocom/pull/31
> 
> Where is that patch?

Missed the PICOCOM_PATCH variable. Sorry for the noise.

baruch

> > - Add a hash file
> > - Rewrap the help text to 72 characters length
> > - Change the official website
> > 
> > Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
> > ---
> >  package/picocom/Config.in    |    7 +++----
> >  package/picocom/picocom.hash |    3 +++
> >  package/picocom/picocom.mk   |    7 ++++---
> >  3 files changed, 10 insertions(+), 7 deletions(-)
> >  create mode 100644 package/picocom/picocom.hash
diff mbox

Patch

diff --git a/package/picocom/Config.in b/package/picocom/Config.in
index 5a7d583..671d01f 100644
--- a/package/picocom/Config.in
+++ b/package/picocom/Config.in
@@ -2,8 +2,7 @@  config BR2_PACKAGE_PICOCOM
 	bool "picocom"
 	depends on BR2_USE_MMU # fork()
 	help
-	  picocom is a minimal dumb-terminal emulation program. It
-	  is, in principle, very much like minicom, only it's pico
-	  instead of mini!
+	  picocom is a minimal dumb-terminal emulation program. It is, in
+	  principle, very much like minicom, only it's pico instead of mini!
 
-	  http://code.google.com/p/picocom/
+	  https://github.com/npat-efault/picocom/
diff --git a/package/picocom/picocom.hash b/package/picocom/picocom.hash
new file mode 100644
index 0000000..7eada03
--- /dev/null
+++ b/package/picocom/picocom.hash
@@ -0,0 +1,3 @@ 
+# Locally calculated
+sha256 e0f7095c118f43c1c09787a16ef5c7d4c4ad4457dd3b1281efcc4cdb8906af9a  picocom-2.0.tar.gz
+sha256 37746613c05ecf4058c989ef7042b85ef0308886f3731a9dfffdadd19cc9ecfb  2c4c2317592daac97aac6669fd7b68e07a3dbec6.patch
diff --git a/package/picocom/picocom.mk b/package/picocom/picocom.mk
index 7858d2b..1751f0a 100644
--- a/package/picocom/picocom.mk
+++ b/package/picocom/picocom.mk
@@ -4,13 +4,14 @@ 
 #
 ################################################################################
 
-PICOCOM_VERSION = 1.7
-PICOCOM_SITE = http://picocom.googlecode.com/files
+PICOCOM_VERSION = 2.0
+PICOCOM_SITE = $(call github,npat-efault,picocom,$(PICOCOM_VERSION))
 PICOCOM_LICENSE = GPLv2+
 PICOCOM_LICENSE_FILES = LICENSE.txt
+PICOCOM_PATCH = https://github.com/vriera/picocom/commit/2c4c2317592daac97aac6669fd7b68e07a3dbec6.patch
 
 define PICOCOM_BUILD_CMDS
-	$(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D)
+	$(MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D)
 endef
 
 define PICOCOM_INSTALL_TARGET_CMDS