summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-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 1effb206541a..3487b4896a3b 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 798872ae4561..e48426481dfc 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 000000000000..ff87733bf82f
--- /dev/null
+++ b/master.zip
Binary files differ