From 0c791df4839060244a92d3f88da7bd620c9e4f33 Mon Sep 17 00:00:00 2001 From: Paul Menzel Date: Fri, 1 Jul 2016 16:00:52 +0200 Subject: [PATCH 1/2] screen: Update version from 4.0.3 to 4.5.0 Change-log [1][2]: > Version 4.5.0 (17/01/2017) > > The 4.5.0 release is mostly a bugfix release: > -> broken handling of "bind u digraph U+" (bug #48691) > -> crash with long $TERM (bug #48983) > -> crash when bumping blank window > -> build for AIX (bug #49149) > -> %x improperly separating arguments > -> install with custom DESTDIR (bug #48370) > Version 4.4.0 (19/06/2016): > * Support up to 24 function keys > * Fix runtime issues > * 'logfile' command, starts logging into new file upon changing > > Version 4.3.1 (28/06/2015): > * Fix resize bug > > Version 4.3.0 (13/06/2015): > * Introduce Xx string escape showing the executed command of a window > * Implement dead/zombie window polling, allowing for auto reconnecting > * Allow setting hardstatus on first line > > New Commands: > * 'sort' command sorting windows by title > * 'bumpleft', 'bumpright' - manually move windows on window list > * 'collapse' removing numbering 'gaps' between windows, by renumbering > * 'windows' command now accepts arguments for use with querying Create the bee file from scratch, and configure it as in the BLFS book [3]. ``` $ bee init https://ftp.gnu.org/gnu/screen/screen-4.4.0.tar.gz creating screen-4.4.0-0.bee from template '/etc/default/bee/templates/fallback' ``` Keep `/run/uscreens` as directory for the user sockets as done in earlier versions. > --with-socket-dir=/run/screen: This option places the per-user > sockets in a standard location. > > --with-sys-screenrc=/etc/screenrc: This option places the global > screenrc file in /etc. > > --with-pty-group=5: This option sets the gid to the value used by LFS. [1] https://lists.gnu.org/archive/html/screen-users/2017-01/msg00004.html [2] http://git.savannah.gnu.org/cgit/screen.git/tree/src/ChangeLog [3] http://www.linuxfromscratch.org/blfs/view/7.9/general/screen.html --- screen-4.0.3-1.bee => screen-4.5.0-0.bee | 24 ++++++++++++++++++------ 1 file changed, 18 insertions(+), 6 deletions(-) rename screen-4.0.3-1.bee => screen-4.5.0-0.bee (76%) diff --git a/screen-4.0.3-1.bee b/screen-4.5.0-0.bee similarity index 76% rename from screen-4.0.3-1.bee rename to screen-4.5.0-0.bee index a251c74b8..42eec5a20 100755 --- a/screen-4.0.3-1.bee +++ b/screen-4.5.0-0.bee @@ -7,13 +7,13 @@ ## 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/screen/screen-${PKGVERSION}.tar.gz" +SRCURL[0]="https://ftp.gnu.org/gnu/screen/screen-${PKGVERSION}.tar.gz" ############################################################################### ## Add URLs/pathes to patch files to the PATCHURL array. ## The sources will be patched in the order of the array. -PATCHURL+=( http://vsp4sdl.yuggoth.org/wrp_vertical_split_0.3_4.0.2.diff.bz2 ) +# PATCHURL+=() ############################################################################### ## Add filename patterns to the EXCLUDE array of files that should not @@ -28,6 +28,15 @@ PATCHURL+=( http://vsp4sdl.yuggoth.org/wrp_vertical_split_0.3_4.0.2.diff.bz2 ) # 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. @@ -42,9 +51,12 @@ PATCHURL+=( http://vsp4sdl.yuggoth.org/wrp_vertical_split_0.3_4.0.2.diff.bz2 ) # bee_patch "${@}" #} -#mee_configure() { -# bee_configure -#} +mee_configure() { + bee_configure \ + --with-socket-dir=/run/uscreens \ + --with-pty-group=5 \ + --with-sys-screenrc=/etc/screenrc +} #mee_build() { # bee_build @@ -62,7 +74,7 @@ PATCHURL+=( http://vsp4sdl.yuggoth.org/wrp_vertical_split_0.3_4.0.2.diff.bz2 ) ## 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 1a82eaf3eaa0c0a047bbfb2108d11e4a65f3633f Mon Sep 17 00:00:00 2001 From: Paul Menzel Date: Fri, 20 Jan 2017 10:38:07 +0100 Subject: [PATCH 2/2] screen: Convert to versionless bee file --- screen-4.5.0-0.bee => screen.be0 | 2 ++ 1 file changed, 2 insertions(+) rename screen-4.5.0-0.bee => screen.be0 (98%) diff --git a/screen-4.5.0-0.bee b/screen.be0 similarity index 98% rename from screen-4.5.0-0.bee rename to screen.be0 index 42eec5a20..19c21c08a 100755 --- a/screen-4.5.0-0.bee +++ b/screen.be0 @@ -1,5 +1,7 @@ #!/usr/bin/env beesh +# BEE_VERSION screen-4.5.0-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.)