SHARE
TWEET

bartus

a guest Apr 8th, 2019 99 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. diff --git a/PKGBUILD b/PKGBUILD
  2. index ea8eec0..a316052 100644
  3. --- a/PKGBUILD
  4. +++ b/PKGBUILD
  5. @@ -2,26 +2,26 @@
  6.  
  7.  pkgname=hardening-check
  8.  _pkgname=hardening-wrapper
  9. -pkgver=2.8+nmu2
  10. +pkgver=2.8+nmu3
  11.  pkgrel=1
  12.  pkgdesc="Check binaries for security hardening features"
  13.  arch=('any')
  14.  url="http://wiki.debian.org/Hardening"
  15.  license=('GPL2')
  16.  depends=('bash' 'perl')
  17. -source=("http://ftp.de.debian.org/debian/pool/main/h/hardening-wrapper/hardening-wrapper_$pkgver"{.tar.xz,.dsc})
  18. -sha256sums=('34274828448b8e58b3d5f8b2006164bdd3b688a8afeae58464c63bbbf64f2916'
  19. -            '465be22cde9e2c6e0eeaaa5d6f346e875e06445610f38b4d76938544d721713d')
  20. +#source=("http://ftp.de.debian.org/debian/pool/main/h/hardening-wrapper/hardening-wrapper_$pkgver"{.tar.xz,.dsc})
  21. +source=("https://launchpad.net/ubuntu/+archive/primary/+sourcefiles/hardening-wrapper/${pkgver}ubuntu1/hardening-wrapper_${pkgver}ubuntu1.tar.xz")
  22. +sha256sums=('5e494c08e770152c4f06965a5833242d00428fe9b17dde5de11e7cdea4be5d54')
  23.  
  24.  build() {
  25. -  cd "$srcdir/$_pkgname-$pkgver"
  26. +  cd "$srcdir/$_pkgname-${pkgver}ubuntu1"
  27.  
  28.    # Irrelevant, we don't ship the wrappers.
  29.    make DEB_HOST_ARCH_OS=amd64 DEB_HOST_ARCH=amd64
  30.  }
  31.  
  32.  package() {
  33. -  cd "$srcdir/$_pkgname-$pkgver/build-tree"
  34. +  cd "$srcdir/$_pkgname-${pkgver}ubuntu1/build-tree"
  35.    install -Dm0755 'hardening-check' "$pkgdir/usr/bin/hardening-check"
  36.    install -Dm0755 '../hardening-check.sh' "$pkgdir/usr/bin/hardening-check.sh"
  37.    install -Dm0755 'hardening-check.1' "$pkgdir/usr/share/man/man1/hardening-check.1" \
  38. diff --git a/.SRCINFO b/.SRCINFO
  39. index bbf6d41..27b6f15 100644
  40. --- a/.SRCINFO
  41. +++ b/.SRCINFO
  42. @@ -1,18 +1,16 @@
  43. -# Generated by mksrcinfo v8
  44. -# Sun Dec 20 14:51:55 UTC 2015
  45.  pkgbase = hardening-check
  46.     pkgdesc = Check binaries for security hardening features
  47. -   pkgver = 2.8+nmu2
  48. +   pkgver = 2.6
  49.     pkgrel = 1
  50.     url = http://wiki.debian.org/Hardening
  51.     arch = any
  52.     license = GPL2
  53.     depends = bash
  54.     depends = perl
  55. -   source = http://ftp.de.debian.org/debian/pool/main/h/hardening-wrapper/hardening-wrapper_2.8+nmu2.tar.xz
  56. -   source = http://ftp.de.debian.org/debian/pool/main/h/hardening-wrapper/hardening-wrapper_2.8+nmu2.dsc
  57. -   sha256sums = 34274828448b8e58b3d5f8b2006164bdd3b688a8afeae58464c63bbbf64f2916
  58. -   sha256sums = 465be22cde9e2c6e0eeaaa5d6f346e875e06445610f38b4d76938544d721713d
  59. +   source = http://ftp.de.debian.org/debian/pool/main/h/hardening-wrapper/hardening-wrapper_2.6.tar.xz
  60. +   source = http://ftp.de.debian.org/debian/pool/main/h/hardening-wrapper/hardening-wrapper_2.6.dsc
  61. +   sha256sums = c5fc46439646d0929a0605e4f3db67e57eefbbf5ceec5a2888440dbdf4450224
  62. +   sha256sums = 5fc4e3a3905703c2044798edeb8a754c54b05f4179bfff9abd40deb2333dedfb
  63.  
  64.  pkgname = hardening-check
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top