From 4cc8d9b6a91d78b545b39135241bc6b13384c41f Mon Sep 17 00:00:00 2001 From: Peter Marquardt Date: Thu, 16 Sep 2021 14:30:41 +0200 Subject: [PATCH] flashrom: update 1.0 to 1.2 - update - fix link against old usb-compat lib: ``` # ldd /usr/sbin/flashrom | grep usb libusb-1.0.so.0 => /usr/lib/libusb-1.0.so.0 (0x00007f070bfb9000) libusb-0.1.so.4 => /usr/lib/libusb-0.1.so.4 (0x00007f070bdab000) # ldd /scratch/local/bee-root/flashrom/flashrom-1.2-0/image/usr/sbin/flashrom | grep usb libusb-1.0.so.0 => /usr/lib/libusb-1.0.so.0 (0x00007f6e99775000) ``` --- flashrom.be0 | 58 +++------------------------------------------------- 1 file changed, 3 insertions(+), 55 deletions(-) diff --git a/flashrom.be0 b/flashrom.be0 index 02590e517..9a56c531a 100755 --- a/flashrom.be0 +++ b/flashrom.be0 @@ -1,50 +1,17 @@ #!/usr/bin/env beesh -# BEE_VERSION flashrom-1.0-0 +# BEE_VERSION flashrom-1.2-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.) -############################################################################### -## 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://download.flashrom.org/releases/flashrom-${PKGVERSION}.tar.bz2" - -############################################################################### -## Add URLs/pathes to patch files to the PATCHURL array. -## The sources will be patched in the order of the array. +# SRCURL[0]="https://download.flashrom.org/releases/flashrom-v${PKGVERSION}.tar.bz2" +SRCURL[0]="https://beehive.molgen.mpg.de/7f8e4b87087eb12ecee0fcc5445b4956/flashrom-v1.2.tar.bz2" # 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. - -# EXCLUDE+=() - -############################################################################### -## 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 -############################################################################### -## 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 "${@}" #} @@ -64,22 +31,3 @@ SRCURL[0]="https://download.flashrom.org/releases/flashrom-${PKGVERSION}.tar.bz2 #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/ -##