slackware-current/source/n/mobile-broadband-provider-info/fetch-mobile-broadband-provider-info.sh
Patrick J Volkerding 44ee31b484 Fri Jul 10 00:40:43 UTC 2020
a/kernel-generic-5.4.51-x86_64-1.txz:  Upgraded.
  +EFI_CUSTOM_SSDT_OVERLAYS y
a/kernel-huge-5.4.51-x86_64-1.txz:  Upgraded.
  SPEAKUP y -> m
  SPEAKUP_SYNTH_ACNTPC y -> m
  SPEAKUP_SYNTH_ACNTSA y -> m
  SPEAKUP_SYNTH_APOLLO y -> m
  SPEAKUP_SYNTH_AUDPTR y -> m
  SPEAKUP_SYNTH_BNS y -> m
  SPEAKUP_SYNTH_DECEXT y -> m
  SPEAKUP_SYNTH_DECTLK y -> m
  SPEAKUP_SYNTH_DTLK y -> m
  SPEAKUP_SYNTH_DUMMY y -> m
  SPEAKUP_SYNTH_KEYPC y -> m
  SPEAKUP_SYNTH_LTLK y -> m
  SPEAKUP_SYNTH_SOFT y -> m
  SPEAKUP_SYNTH_SPKOUT y -> m
  SPEAKUP_SYNTH_TXPRT y -> m
  +EFI_CUSTOM_SSDT_OVERLAYS y
a/kernel-modules-5.4.51-x86_64-1.txz:  Upgraded.
ap/vim-8.2.1167-x86_64-1.txz:  Upgraded.
d/Cython-0.29.21-x86_64-1.txz:  Upgraded.
d/kernel-headers-5.4.51-x86-1.txz:  Upgraded.
k/kernel-source-5.4.51-noarch-1.txz:  Upgraded.
  +EFI_CUSTOM_SSDT_OVERLAYS y
n/gnupg2-2.2.21-x86_64-1.txz:  Upgraded.
x/mesa-20.1.3-x86_64-1.txz:  Upgraded.
xap/mozilla-firefox-78.0.2esr-x86_64-1.txz:  Upgraded.
  This release contains a security fix and improvements.
  For more information, see:
    https://www.mozilla.org/en-US/firefox/78.0.2/releasenotes/
    https://www.mozilla.org/security/advisories/mfsa2020-28/
  (* Security fix *)
xap/vim-gvim-8.2.1167-x86_64-1.txz:  Upgraded.
isolinux/initrd.img:  Rebuilt.
  Speakup is included as modules which will need to be loaded manually,
  for now at least.
kernels/*:  Upgraded.
usb-and-pxe-installers/usbboot.img:  Rebuilt.
  Speakup is included as modules which will need to be loaded manually,
  for now at least.
2020-07-10 08:59:48 +02:00

49 lines
2.3 KiB
Bash
Executable file

#!/bin/sh
# Copyright 2019 Patrick J. Volkerding, Sebeka, Minnesota, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
# permitted provided that the following conditions are met:
#
# 1. Redistributions of this script must retain the above copyright
# notice, this list of conditions and the following disclaimer.
#
# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED
# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
# Pull a stable branch + patches
BRANCH=${1:-master}
# Clear download area:
rm -rf mobile-broadband-provider-info
# Clone repository:
git clone https://gitlab.gnome.org/GNOME/mobile-broadband-provider-info.git
# checkout $BRANCH:
( cd mobile-broadband-provider-info
git checkout $BRANCH || exit 1
)
HEADISAT="$( cd mobile-broadband-provider-info && git log -1 --format=%h )"
DATE="$( cd mobile-broadband-provider-info && git log -1 --format=%cd --date=format:%Y%m%d )"
LONGDATE="$( cd mobile-broadband-provider-info && git log -1 --format=%cd --date=format:%c )"
# Cleanup. We're not packing up the whole git repo.
( cd mobile-broadband-provider-info && find . -type d -name ".git*" -exec rm -rf {} \; 2> /dev/null )
mv mobile-broadband-provider-info mobile-broadband-provider-info-${DATE}_${HEADISAT}
tar cf mobile-broadband-provider-info-${DATE}_${HEADISAT}.tar mobile-broadband-provider-info-${DATE}_${HEADISAT}
xz -9 -f mobile-broadband-provider-info-${DATE}_${HEADISAT}.tar
rm -rf mobile-broadband-provider-info-${DATE}_${HEADISAT}
touch -d "$LONGDATE" mobile-broadband-provider-info-${DATE}_${HEADISAT}.tar.xz
echo
echo "mobile-broadband-provider-info branch $BRANCH with HEAD at $HEADISAT packaged as mobile-broadband-provider-info-${DATE}_${HEADISAT}.tar.xz"
echo