Package Details: haka 0.3.0-2

Git Clone URL: (read-only, click to copy)
Package Base: haka
Description: Collection of tools that allows capturing TCP/IP packets and filtering them based on Lua policy files
Upstream URL:
Licenses: MPL
Submitter: anthraxx
Maintainer: None
Last Packager: anthraxx
Votes: 1
Popularity: 0.000000
First Submitted: 2015-11-24 13:49 (UTC)
Last Updated: 2016-01-06 23:29 (UTC)

Latest Comments

MarsSeed commented on 2023-11-08 16:34 (UTC)

I wouldn't bother with it.

No one seems to have used this from AUR, maybe apart from submitter, back in the day. And no one responded to my comment made in 2022-06, nor to the OOD flag.

This package does not hit the bar of minimum requirements for keeping something on AUR.

I believe @muflone just wanted to err on the side of caution when rejecting my previous, briefly worded deletion request (PRQ#45482), and also give some courtesy to then still pkg owner @anthraxx.

a821 commented on 2023-11-08 15:58 (UTC)

Below a patch to make it compile in a clean chroot (no idea if the software works though). Development stopped mid of 2016, so I guess this should be deleted.

Issues: The sources checksums are wrong. The source code needs to disable -Werror from CFLAGS. One test fails. I Did not bother trying to fix the docs compilation (so I removed doxygen and python2-sphinx from makedepends).

diff --git a/PKGBUILD b/PKGBUILD
index 91937ab..adab31d 100644
@@ -8,7 +8,7 @@ url=""
 arch=('i686' 'x86_64')
 depends=('wireshark-cli' 'rsync' 'libpcap' 'gawk' 'libedit' 'pcre' 'lua' 'capstone' 'luajit')
-makedepends=('cmake' 'swig' 'doxygen' 'python2-sphinx' 'check' 'iniparser')
+makedepends=('cmake' 'swig' 'check' 'iniparser')
@@ -16,9 +16,9 @@ source=(${pkgname}-${pkgver}.tar.gz::
-            'b3be609b41e46de2d611bd08887b032fa0fba8d00256c306f449489ea951a4343ec8bba7588cb80f89e35f82c9892fe6581e9fab25c5e25715822909f45e6d9c'
-            '3ae11ec71f9f66fe3f5d28a3ab10cb772b674a89d87939fbd3e733d60dee298173e7248a1c42ee48638d11e9a3aa730f105d942d2c553143f13aba1c11147a5a'
-            '16a7f23b106a0c6af18f8d3fdc7f6c4cb074af7aae1665db9b74ee8231f8962a6a61f81d2a9aabbe8ed8acb514fc9ae8aa7c125d219c3fed3ffc5c4c19b42ee8')
+            'b0eeb1565e87d997559378aaab9c2e4bcfe57c6f58ebe307e2bbdafec7c7f87fd75c2868b77261ceb9366967399430495a852fa37d2af7522426c01d9d4a3081'
+            'a50653ce12c45ec107eb6e2f875b779d057f58030079203d5a1641deea7a856164c0b485d4375e03096641cb223ffe8a77f44cb3330b2c9a35ddd284c9dbf8df'
+            '7a85ad7728cd5152406272f619c6ff39af66889540b452696c7a9d310db31d4bb0779df1c75f81e5bc8cd98fad9caf8cf5574ba2a728384593d3be9801a682ba')

 prepare() {
   cd ${pkgname}_${pkgver}_source
@@ -36,6 +36,7 @@ prepare() {
   sed -r 's|(GENERATE_XML[ ]+=) YES|\1 NO|g' -i doc/
   sed -r 's|(HTML_OUTPUT[ ]+=) xml|\1 html|g' -i doc/

+  sed -i 's/-Werror//' CMakeLists.txt
   mkdir make

@@ -43,19 +44,19 @@ build() {
   cd ${pkgname}_${pkgver}_source/make
-  make doc-doxygen
+#  make doc-doxygen

 check() {
   cd ${pkgname}_${pkgver}_source/make
-  make tests
+  make tests || echo "Tests failed!!"

 package() {
   cd ${pkgname}_${pkgver}_source/make
   make DESTDIR="${pkgdir}" install
   install -d "${pkgdir}/usr/share/doc/${pkgname}"
-  cp -r doc/html "${pkgdir}/usr/share/doc/${pkgname}"
+#  cp -r doc/html "${pkgdir}/usr/share/doc/${pkgname}"
   ln -s /usr/share/haka/sample "${pkgdir}/usr/share/doc/${pkgname}/sample"

MarsSeed commented on 2022-06-11 09:27 (UTC)

python2-sphinx is totally broken. You might want to use Python 3 sphinx, or skip building the documentation, if you want to keep this legacy package alive.