From ef2d9ac7dea1fad6ee5a4e41e29b2bbc07e8d749 Mon Sep 17 00:00:00 2001 From: Paul Menzel Date: Thu, 23 Aug 2018 12:33:24 +0200 Subject: [PATCH 1/4] tmux: Securely download source archive over HTTPS --- tmux-1.9a-0.bee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tmux-1.9a-0.bee b/tmux-1.9a-0.bee index 2a2058147..5d25db1d1 100755 --- a/tmux-1.9a-0.bee +++ b/tmux-1.9a-0.bee @@ -7,7 +7,7 @@ ## The source URL(s) define the location of the sources that will be ## downloaded. Version variables may be used to simplify reuse of this bee-file. -SRCURL[0]="http://downloads.sourceforge.net/project/tmux/tmux/tmux-1.9/tmux-${PKGVERSION}.tar.gz" +SRCURL[0]="https://downloads.sourceforge.net/project/tmux/tmux/tmux-1.9/tmux-${PKGVERSION}.tar.gz" ############################################################################### ## Add URLs/pathes to patch files to the PATCHURL array. From 3573e711383806543044af44088188fa6381ae1a Mon Sep 17 00:00:00 2001 From: Paul Menzel Date: Thu, 23 Aug 2018 12:34:26 +0200 Subject: [PATCH 2/4] tmux: Recreate bee file with current template Run the command below. $ bee init -f https://downloads.sourceforge.net/project/tmux/tmux/tmux-1.9/tmux-1.9a.tar.gz creating tmux-1.9a-0.bee from template '/etc/default/bee/templates/fallback' --- tmux-1.9a-0.bee | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tmux-1.9a-0.bee b/tmux-1.9a-0.bee index 5d25db1d1..f6b0903d5 100755 --- a/tmux-1.9a-0.bee +++ b/tmux-1.9a-0.bee @@ -22,8 +22,8 @@ SRCURL[0]="https://downloads.sourceforge.net/project/tmux/tmux/tmux-1.9/tmux-${P # EXCLUDE+=() ############################################################################### -## Uncomment the next statement, if the software may not be able to be build -## outside the source directory and need to be build inside the source +## Uncomment the next statement, if the software may not be able to be built +## outside the source directory and needs to be built inside the source ## directory. # build_in_sourcedir @@ -52,7 +52,7 @@ SRCURL[0]="https://downloads.sourceforge.net/project/tmux/tmux/tmux-1.9/tmux-${P #} #mee_configure() { -# bee_configure +# bee_configure #} #mee_build() { @@ -71,7 +71,7 @@ SRCURL[0]="https://downloads.sourceforge.net/project/tmux/tmux/tmux-1.9/tmux-${P ## The name of this bee-file should follow the following naming convention: ## pkgname-pkgversion-pkgrevision.bee ## -## You may remove all comments as long as SRCURL[0]="" is set. +## You may remove all comments as long as SRCURL[0] is set. ## ## Everything in this file will be executed in a bash environment. ## From b7fa2e5fc0c17134f8e1678d3322cd6356c7b151 Mon Sep 17 00:00:00 2001 From: Paul Menzel Date: Thu, 23 Aug 2018 13:43:54 +0200 Subject: [PATCH 3/4] tmux: Convert to versionless bee file --- tmux-1.9a-0.bee => tmux.be0 | 2 ++ 1 file changed, 2 insertions(+) rename tmux-1.9a-0.bee => tmux.be0 (98%) diff --git a/tmux-1.9a-0.bee b/tmux.be0 similarity index 98% rename from tmux-1.9a-0.bee rename to tmux.be0 index f6b0903d5..cb7f81488 100755 --- a/tmux-1.9a-0.bee +++ b/tmux.be0 @@ -1,5 +1,7 @@ #!/usr/bin/env beesh +# BEE_VERSION tmux-1.9a-0 + ## this file was created by bee init and should be executed to build a ## bee-package. (Additional hints are located at the end of this file.) From ba51026be9906b435ad3b0ab73409c755026ad5f Mon Sep 17 00:00:00 2001 From: Paul Menzel Date: Thu, 23 Aug 2018 13:44:46 +0200 Subject: [PATCH 4/4] tmux: Update version from 1.9a to 2.7 The project moved from SourceForge to GitHub, so update the source URL. --- tmux.be0 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tmux.be0 b/tmux.be0 index cb7f81488..866e5256f 100755 --- a/tmux.be0 +++ b/tmux.be0 @@ -1,6 +1,6 @@ #!/usr/bin/env beesh -# BEE_VERSION tmux-1.9a-0 +# BEE_VERSION tmux-2.7-0 ## this file was created by bee init and should be executed to build a ## bee-package. (Additional hints are located at the end of this file.) @@ -9,7 +9,7 @@ ## The source URL(s) define the location of the sources that will be ## downloaded. Version variables may be used to simplify reuse of this bee-file. -SRCURL[0]="https://downloads.sourceforge.net/project/tmux/tmux/tmux-1.9/tmux-${PKGVERSION}.tar.gz" +SRCURL[0]="https://github.com/tmux/tmux/releases/download/${PKGVERSION}/tmux-${PKGVERSION}.tar.gz" ############################################################################### ## Add URLs/pathes to patch files to the PATCHURL array.