diff options
| author | jc_gargma <jc_gargma@iserlohn-fortress.net> | 2019-12-07 11:14:00 -0800 | 
|---|---|---|
| committer | jc_gargma <jc_gargma@iserlohn-fortress.net> | 2019-12-07 11:14:00 -0800 | 
| commit | ad110d6ca2f40be9cdc49c236830b3c568c70568 (patch) | |
| tree | fa2f9c63a02102e8b348d29d1f857bfebe9242cf | |
| parent | 5.3.12.a for reals this time (diff) | |
| download | linux-libre-hardened-ad110d6ca2f40be9cdc49c236830b3c568c70568.tar.xz | |
Updated to 5.3.15.a
| -rw-r--r-- | PKGBUILD | 34 | 
1 files changed, 14 insertions, 20 deletions
@@ -1,6 +1,9 @@  # Maintainer: jc_gargma <jc_gargma@iserlohn-fortress.net>  # Maintainer (Arch): Levente Polyak <anthraxx[at]archlinux[dot]org>  # Contributor: Aqua-sama <aqua@iserlohn-fortress.net> +# Contributor (Arch): Daniel Micay <danielmicay@gmail.com> +# Contributor (Arch): Tobias Powalowski <tpowa@archlinux.org> +# Contributor (Arch): Thomas Baechler <thomas@archlinux.org>  # # I maintain this because:  # Parabola version patch script does not apply consistently @@ -8,7 +11,6 @@  # Parabola version lacks ath9k regdom and raid6 algo patches  # Parabola version is 300 Hz  # Parabola version supports Intel ME -# Parabola version is not configured for openrc  # Parabola version allows insecure filesystems  # Parabola version enables ISDN and Infiniband  # Parabola version enables VMware and HyperV @@ -17,7 +19,7 @@ _pkgbase=linux-hardened  pkgbase=linux-libre-hardened  _supver=5  _majver=3 -_minver=12 +_minver=15  _hardenedver=a  _gccpatchver='20190822'    if [ "$_minver" == "0" ]; then @@ -32,8 +34,8 @@ url='https://github.com/anthraxx/linux-hardened'  arch=(x86_64)  license=(GPL2)  makedepends=( -  xmlto kmod inetutils bc libelf -  python-sphinx python-sphinx_rtd_theme graphviz imagemagick +  bc kmod libelf +  xmlto python-sphinx python-sphinx_rtd_theme graphviz imagemagick  )  conflicts=('linux-hardened')  options=('!strip') @@ -57,10 +59,10 @@ validpgpkeys=(  )  sha256sums=('c50879645e8f13a6a39a86748a8cd259b4ecd2191c88ef772b4432c993820c0a'              'SKIP' -            'e1af1c1e7276ea5666a65391f4238dcdf9ccb7bd07368e7ea26b1a31d68ef4ec' +            '5bd8b7732faa9f7eac3f8b98a9de9023d297f8323feebe882269210ae0958395'              'SKIP'              '9b92add42581aeb427a0c2cffc584815f0e4223a1a6bc27802ccd77eaf6e4bec' -            'a76dff621a8477d2fbbed372ba0956d04546695d187975deb0a790962191bec1' +            'ec8cec2000c5a040f178f5bc4fecad088f2b2327bcb6726e45e357810ffbec32'              'SKIP'              'c5405139aa0a90a6f68f6a13e066a2bd0600c970f9f525cd3aa114b044a7f73b'              '8c11086809864b5cef7d079f930bd40da8d0869c091965fa62e95de9a0fe13b5' @@ -68,7 +70,7 @@ sha256sums=('c50879645e8f13a6a39a86748a8cd259b4ecd2191c88ef772b4432c993820c0a'              '0f81d6e4158b7beeb0eb514f1b9401f7e23699cb0f7b0d513e25dae1815daaeb'              'afaae500dbaa0f774aed0467ce1fcc91524d8ca5a2e2fcb4d55e2654859ef7cb') -#export KBUILD_BUILD_HOST=arc4linux +export KBUILD_BUILD_HOST=$pkgbase  export KBUILD_BUILD_USER=$pkgbase  export KBUILD_BUILD_TIMESTAMP="$(date -Ru${SOURCE_DATE_EPOCH:+d @$SOURCE_DATE_EPOCH})" @@ -268,26 +270,18 @@ _package-headers() {  }  _package-docs() { -  pkgdesc="Kernel hackers manual - HTML documentation that comes with the $pkgdesc kernel" +  pkgdesc="Documentation for the $pkgdesc kernel"    cd $_srcname    local builddir="$pkgdir/usr/lib/modules/$(<version)/build"    msg2 "Installing documentation..." -  mkdir -p "$builddir" -  cp -t "$builddir" -a Documentation - -  msg2 "Removing unneeded files..." -  rm -rv "$builddir"/Documentation/{,output/}.[^.]* - -  msg2 "Moving HTML docs..."    local src dst    while read -rd '' src; do -    dst="$builddir/Documentation/${src#$builddir/Documentation/output/}" -    mkdir -p "${dst%/*}" -    mv "$src" "$dst" -    rmdir -p --ignore-fail-on-non-empty "${src%/*}" -  done < <(find "$builddir/Documentation/output" -type f -print0) +  dst="${src#Documentation/}" +  dst="$builddir/Documentation/${dst#output/}" +  install -Dm644 "$src" "$dst" +  done < <(find Documentation -name '.*' -prune -o ! -type d -print0)    msg2 "Adding symlink..."    mkdir -p "$pkgdir/usr/share/doc"  | 
