summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorcyrozap2019-09-05 01:11:36 -0500
committercyrozap2019-09-05 01:11:36 -0500
commite554bf7294931aabdd495cbff25ca90a35d24e49 (patch)
tree49260d205fb98fe559c40afa1d9e49352b8fb4a7
parent84ed410e63bb25331110efb5b44233133a7d25f2 (diff)
downloadaur-e554bf7294931aabdd495cbff25ca90a35d24e49.tar.gz
Update to version 5
-rw-r--r--.SRCINFO12
-rw-r--r--PKGBUILD18
-rw-r--r--bindiff.install2
3 files changed, 15 insertions, 17 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 3d5b2f45d91..1d9b647bbf2 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = bindiff
pkgdesc = A comparison tool for binary files that assists vulnerability researchers and engineers to quickly find differences and similarities in disassembled code.
- pkgver = 4.3
+ pkgver = 5
pkgrel = 1
url = https://www.zynamics.com/bindiff.html
install = bindiff.install
@@ -9,10 +9,12 @@ pkgbase = bindiff
depends = desktop-file-utils
depends = java-runtime>=8
options = !strip
- backup = etc/opt/zynamics/BinDiff/bindiff_core.xml
- backup = etc/opt/zynamics/BinDiff/bindiff_ui.xml
- source = https://dl.google.com/dl/zynamics/bindiff_4.3.0_amd64.deb
- sha256sums = 98776bd9a61a29e4c8518b0ff0ae0a66518ab7c759aead5e3fcf2e6d3bcd1987
+ backup = etc/opt/bindiff/bindiff_core.xml
+ backup = etc/opt/bindiff/bindiff_ui.xml
+ source = https://dl.google.com/dl/zynamics/bindiff_5_amd64.deb
+ source = https://dl.google.com/dl/zynamics/bindiff_5_amd64.deb.asc
+ sha256sums = cd859562803f58331fee5f0741e081edd2a470914fa9c60ef3db6fe06f058bc4
+ sha256sums = SKIP
pkgname = bindiff
diff --git a/PKGBUILD b/PKGBUILD
index bf5a37fdf42..5541e3d0bab 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: David Manouchehri <manouchehri@riseup.net>
pkgname=bindiff
-pkgver=4.3
+pkgver=5
pkgrel=1
pkgdesc="A comparison tool for binary files that assists vulnerability researchers and engineers to quickly find differences and similarities in disassembled code."
arch=('x86_64')
@@ -10,24 +10,20 @@ license=('custom')
depends=('desktop-file-utils' 'java-runtime>=8')
options=('!strip')
install=${pkgname}.install
-backup=('etc/opt/zynamics/BinDiff/bindiff_core.xml'
-'etc/opt/zynamics/BinDiff/bindiff_ui.xml')
-source=("https://dl.google.com/dl/zynamics/bindiff_4.3.0_amd64.deb")
-sha256sums=('98776bd9a61a29e4c8518b0ff0ae0a66518ab7c759aead5e3fcf2e6d3bcd1987')
+backup=("etc/opt/${pkgname}"/bindiff_{core,ui}.xml)
+source=("https://dl.google.com/dl/zynamics/bindiff_${pkgver}_amd64.deb"{,.asc})
+sha256sums=('cd859562803f58331fee5f0741e081edd2a470914fa9c60ef3db6fe06f058bc4'
+ 'SKIP')
+validpgpkeys=('EB4C1BFD4F042F6DDDCCEC917721F63BD38B4796') # Google Inc. (Linux Packages Signing Authority)
package() {
# Extract
tar -xJf data.tar.xz --exclude="usr/share/lintian" -C "${pkgdir}"/
- # Install links to the binaries
- install -dm 755 "${pkgdir}/usr/bin"
- ln -s "/opt/zynamics/BinDiff/bin/bindiff.sh" "${pkgdir}/usr/bin/bindiff"
- ln -s "/opt/zynamics/BinDiff/bin/differ" "${pkgdir}/usr/bin/differ"
-
# Install license files
install -dm 755 "${pkgdir}/usr/share/licenses/${pkgname}"
ln -s "/usr/share/doc/${pkgname}/copyright" "${pkgdir}/usr/share/licenses/${pkgname}/"
- ln -s "/opt/zynamics/BinDiff/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/"
+ ln -s "/opt/${pkgname}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/"
}
# vim:set et sw=2 sts=2 tw=80:
diff --git a/bindiff.install b/bindiff.install
index 1167e702193..01a6006215f 100644
--- a/bindiff.install
+++ b/bindiff.install
@@ -1,6 +1,6 @@
post_install() {
# Setup install location in config file.
- sed -i 's/BINDIFF_DIR/\/opt\/zynamics\/BinDiff\//' /etc/opt/zynamics/BinDiff/bindiff_core.xml
+ sed -i 's/BINDIFF_DIR/\/opt\/bindiff\//' /etc/opt/bindiff/bindiff_core.xml
# Add application launcher to desktop DB
update-desktop-database -q