summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorGI_Jack2017-12-27 21:10:39 -0500
committerGI_Jack2017-12-27 21:10:39 -0500
commit0063ea9c3fe9ce0c812a840bea73a2ed501621f3 (patch)
tree56bc7122ced45ca9c5189e13e13ab17d32f8936c /PKGBUILD
downloadaur-nkiller2.tar.gz
initial commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD26
1 files changed, 26 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..e1bed074c98
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,26 @@
+# Maintainer: GI_Jack <iamjacksemail@hackermail.com>
+# Imported from Arch Strike
+# Original: ArchStrike <team@archstrike.org>
+
+pkgname='nkiller2'
+pkgver=2.0
+pkgrel=1
+pkgdesc='A TCP exhaustion/stressing tool.'
+arch=('i686' 'x86_64' 'armv6h' 'armv7h' 'aarch64')
+url='http://sock-raw.org/projects.html'
+license=('GPLv3')
+depends=('openssl' 'libpcap')
+source=('http://sock-raw.org/projects/nkiller2/nkiller2.c')
+sha512sums=('baae5002da80baa90039075a5496770bc211da4cd2e33ea2623343fff1c10efd79235d0a85fbc6caca6a555de2a6063f6d00e57aadb2926c418186dfa849b410')
+
+build() {
+ cd "$srcdir"
+
+ gcc nkiller2.c -o nkiller2 -lssl -lcrypto -lpcap -O2 -D_DEFAULT_SOURCE
+}
+
+package() {
+ cd "$srcdir"
+
+ install -D -m755 "nkiller2" "$pkgdir/usr/bin/nkiller2"
+}