From 2c81e57c4aaa1cce582d477236271dcecac6c113 Mon Sep 17 00:00:00 2001 From: Paul Menzel Date: Tue, 6 Feb 2018 14:30:01 +0100 Subject: [PATCH 1/4] parallel: Use current bee file template Recreate the bee file with the command below. ``` $ bee init -f ftp://ftp.gnu.org/gnu/parallel/parallel-20111022.tar.bz2creating parallel-20111022-0.bee from template '/etc/default/bee/templates/fallback' ``` --- parallel-20111022-0.bee | 66 ++++++++++++++++++++++++++++++++++++----- 1 file changed, 58 insertions(+), 8 deletions(-) diff --git a/parallel-20111022-0.bee b/parallel-20111022-0.bee index cd91b5bea..3e9e21db3 100755 --- a/parallel-20111022-0.bee +++ b/parallel-20111022-0.bee @@ -1,27 +1,58 @@ #!/usr/bin/env beesh +## 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.) + +############################################################################### +## 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]="ftp://ftp.gnu.org/gnu/parallel/parallel-${PKGVERSION}.tar.bz2" -PATCHURL[0]="" +############################################################################### +## Add URLs/pathes to patch files to the PATCHURL array. +## The sources will be patched in the order of the array. + +# PATCHURL+=() + +############################################################################### +## Add filename patterns to the EXCLUDE array of files that should not +## be added to you package but may be present in the image directory. -# BEE_CONFIGURE=compat +# EXCLUDE+=() -# BEE_BUILDTYPE= +############################################################################### +## 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. -# EXCLUDE="" +# build_in_sourcedir -build_in_sourcedir +############################################################################### +## bee cannot detect buildtypes specified in subdirectories. +## Sometimes packages "hide" the real sources in a subdirectory named +## 'src' or 'cmake' or .. +## use 'sourcesubdir_append' to specify this directory if known. + +# sourcesubdir_append src + + +############################################################################### +## Change the default (auto-detected) steps to +## extract, patch, configure/setup, build and install the software. +## Make sure the mee_install function does install everything to the +## image directory "${D}" #mee_extract() { -# bee_extract ${@} +# bee_extract "${@}" #} #mee_patch() { -# bee_patch ${@} +# bee_patch "${@}" #} #mee_configure() { -# bee_configure +# bee_configure #} #mee_build() { @@ -31,3 +62,22 @@ build_in_sourcedir #mee_install() { # bee_install #} +## by default this may be 'make install DESTDIR="${D}"' + +############################################################################### +## +## Additional hints: +## +## 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. +## +## Everything in this file will be executed in a bash environment. +## +## Build the package by executing +## './pkg-version-N.bee' or +## 'beesh ./pkg-version-N.bee' +## +## see http://beezinga.org/ +## From b9a8a9fdc4091331ab00d5d511ec340f0085181c Mon Sep 17 00:00:00 2001 From: Paul Menzel Date: Tue, 6 Feb 2018 14:33:34 +0100 Subject: [PATCH 2/4] parallel: Convert to versionless bee file --- parallel-20111022-0.bee => parallel.be0 | 2 ++ 1 file changed, 2 insertions(+) rename parallel-20111022-0.bee => parallel.be0 (98%) diff --git a/parallel-20111022-0.bee b/parallel.be0 similarity index 98% rename from parallel-20111022-0.bee rename to parallel.be0 index 3e9e21db3..bf9fedd11 100755 --- a/parallel-20111022-0.bee +++ b/parallel.be0 @@ -1,5 +1,7 @@ #!/usr/bin/env beesh +# BEE_VERSION parallel-20111022-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 4afe7d1a8998a43967eba13ce87b9d37d2c6386f Mon Sep 17 00:00:00 2001 From: Paul Menzel Date: Tue, 6 Feb 2018 14:34:35 +0100 Subject: [PATCH 3/4] parallel: Securely download source archive Use HTTPS to securely download the source archive. --- parallel.be0 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/parallel.be0 b/parallel.be0 index bf9fedd11..a10bd8d0f 100755 --- a/parallel.be0 +++ b/parallel.be0 @@ -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]="ftp://ftp.gnu.org/gnu/parallel/parallel-${PKGVERSION}.tar.bz2" +SRCURL[0]="https://ftp.gnu.org/gnu/parallel/parallel-${PKGVERSION}.tar.bz2" ############################################################################### ## Add URLs/pathes to patch files to the PATCHURL array. From 52fdd6ae167bca4642de56635df69d8d91f683a0 Mon Sep 17 00:00:00 2001 From: Paul Menzel Date: Tue, 6 Feb 2018 14:36:14 +0100 Subject: [PATCH 4/4] parallel: Update version from 20111022 to 20180122 Requested by user. --- parallel.be0 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/parallel.be0 b/parallel.be0 index a10bd8d0f..6224c50cd 100755 --- a/parallel.be0 +++ b/parallel.be0 @@ -1,6 +1,6 @@ #!/usr/bin/env beesh -# BEE_VERSION parallel-20111022-0 +# BEE_VERSION parallel-20180122-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.)