summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Lass2019-06-10 00:59:33 +0200
committerMichael Lass2019-06-10 01:07:58 +0200
commit7c143687911b730ce8f49942d5fdae9e75942c95 (patch)
tree57f73822054b6617a8472778493d358d1079c458
parentc26ef7809a815a612368ad6bb8709eb9dd07cedc (diff)
downloadaur-7c143687911b730ce8f49942d5fdae9e75942c95.tar.gz
Update to 2.1.2
Further changes: * do not install all sources anymore and move python modules from /opt/sslyze/lib to /opt/sslyze, * strip ELF files
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD17
-rwxr-xr-xsslyze2
3 files changed, 13 insertions, 14 deletions
diff --git a/.SRCINFO b/.SRCINFO
index b34f77a40cf..62c4c0ebd74 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = sslyze
pkgdesc = Fast and full-featured SSL scanner.
- pkgver = 2.0.6
+ pkgver = 2.1.2
pkgrel = 1
url = https://github.com/nabla-c0d3/sslyze
arch = i686
@@ -9,10 +9,10 @@ pkgbase = sslyze
makedepends = python-pip
depends = python
options = !strip
- source = https://github.com/nabla-c0d3/sslyze/archive/2.0.6.tar.gz
+ source = https://github.com/nabla-c0d3/sslyze/archive/2.1.2.tar.gz
source = sslyze
- sha256sums = 7b16da8c7c29be4454172d0d89f8caf2ad5003dbd6fd83d39b8df946a19c3447
- sha256sums = 8d2ffc47d608ce439b683500c9dde94b953535b499ef72dfcd548f45faa71fb2
+ sha256sums = bcc2e7dfd32c7b8b0734b0f1138a469bc601918440519239193f8e90c815c233
+ sha256sums = 042db33726a889a64910121f2098e10e6a5ebf4a102a54d09d9a27ed363a8e5d
pkgname = sslyze
diff --git a/PKGBUILD b/PKGBUILD
index c893dbd5c3a..b7a7e2f3c7d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
# Maintainer: Michael Lass <bevan@bi-co.net>
pkgname=sslyze
-pkgver=2.0.6
+pkgver=2.1.2
pkgrel=1
pkgdesc="Fast and full-featured SSL scanner."
arch=('i686' 'x86_64')
@@ -10,19 +10,18 @@ url='https://github.com/nabla-c0d3/sslyze'
license=('AGPL3')
depends=('python')
makedepends=('python-pip')
-options=('!strip')
source=("https://github.com/nabla-c0d3/sslyze/archive/${pkgver}.tar.gz"
"sslyze")
-sha256sums=('7b16da8c7c29be4454172d0d89f8caf2ad5003dbd6fd83d39b8df946a19c3447'
- '8d2ffc47d608ce439b683500c9dde94b953535b499ef72dfcd548f45faa71fb2')
+sha256sums=('bcc2e7dfd32c7b8b0734b0f1138a469bc601918440519239193f8e90c815c233'
+ '042db33726a889a64910121f2098e10e6a5ebf4a102a54d09d9a27ed363a8e5d')
package() {
+ cd "$srcdir/${pkgname}-${pkgver}"
+
# Install files in /opt
- mkdir -p "$pkgdir/opt/sslyze"
- cp -a $srcdir/${pkgname}-${pkgver}/. $pkgdir/opt/sslyze
- /usr/bin/pip install $pkgdir/opt/sslyze --target $pkgdir/opt/sslyze/lib
+ install -dm755 "$pkgdir/opt/sslyze"
+ /usr/bin/pip install . --target "$pkgdir/opt/sslyze/"
# Create an indirect launcher in /usr/bin
- mkdir -p "$pkgdir/usr/bin"
- install -Dm 755 "$srcdir/sslyze" "$pkgdir/usr/bin/sslyze"
+ install -Dm755 "$srcdir/sslyze" "$pkgdir/usr/bin/sslyze"
}
diff --git a/sslyze b/sslyze
index 52aa4493f29..56eadb26c6e 100755
--- a/sslyze
+++ b/sslyze
@@ -1,3 +1,3 @@
#!/usr/bin/bash
-export PYTHONPATH="/opt/sslyze:/opt/sslyze/lib"
+export PYTHONPATH="/opt/sslyze"
python -m sslyze $@