summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorBoteium2018-01-14 18:45:03 +0800
committerBoteium2018-01-14 18:45:56 +0800
commit6b58c84b9d9f61b607972995e06562b5ddd04e86 (patch)
tree1e64e20ccf09583815d08fb4ea612787c71b608e
parent6d1bd0c3b37ed7767e5da4118cf1ae9590736353 (diff)
downloadaur-sniffjoke.tar.gz
fix dir conflict
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD12
-rw-r--r--master.zipbin0 -> 214497 bytes
3 files changed, 9 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 1effb206541..3487b4896a3 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = sniffjoke
pkgdesc = An internet client running SniffJoke injects in the transmission flow some packets able to seriously disturb passive analysis like sniffing, interception and low level information theft
- pkgver = 20170815
+ pkgver = 20170814
pkgrel = 1
url = https://github.com/vecna/sniffjoke
arch = i686
diff --git a/PKGBUILD b/PKGBUILD
index 798872ae456..e48426481df 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,6 @@
# Contributor: boteium
pkgname=sniffjoke
-pkgver=20170815
+pkgver=20170814
pkgrel=1
license=("GPL")
pkgdesc="An internet client running SniffJoke injects in the transmission flow some packets able to seriously disturb passive analysis like sniffing, \
@@ -12,13 +12,17 @@ source=('https://github.com/vecna/sniffjoke/archive/master.zip' )
md5sums=('SKIP')
build() {
- cd $srcdir/sniffjoke-master/
+ cd "$srcdir/sniffjoke-master/"
mkdir -p build
cd build
- cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr -DINSTALL_SBINDIR=/usr/sbin -DSYSCONFDIR=/etc/sniffjoke ..
+ cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr -DINSTALL_SBINDIR=/usr/bin -DSYSCONFDIR=/etc/sniffjoke ..
make
}
package(){
- cd $srcdir/sniffjoke-master/build
+ cd "$srcdir/sniffjoke-master/build"
make DESTDIR=$pkgdir install
+
+ cd "$pkgdir/usr/"
+ mv "./sbin/sniffjoke" ./bin/
+ rmdir sbin
}
diff --git a/master.zip b/master.zip
new file mode 100644
index 00000000000..ff87733bf82
--- /dev/null
+++ b/master.zip
Binary files differ