]> git.ipfire.org Git - people/amarx/ipfire-3.x.git/blobdiff - paxtest/paxtest.nm
Move all packages to root.
[people/amarx/ipfire-3.x.git] / paxtest / paxtest.nm
diff --git a/paxtest/paxtest.nm b/paxtest/paxtest.nm
new file mode 100644 (file)
index 0000000..60840aa
--- /dev/null
@@ -0,0 +1,44 @@
+###############################################################################
+# IPFire.org    - An Open Source Firewall Solution                            #
+# Copyright (C) - IPFire Development Team <info@ipfire.org>                   #
+###############################################################################
+
+name       = paxtest
+version    = 0.9.9
+release    = 1
+
+groups     = Security/Tools
+url        = http://pax.grsecurity.org/
+license    = GPLv2+
+summary    = Utilities for testing PaX configuration.
+
+description
+       This package contains several files for checking the PaX configuration
+       and checks if it all works correctly.
+end
+
+source_dl  =
+sources    = %{thisapp}.tgz
+
+       build
+               make -f Makefile.psm RUNDIR=/usr/lib/paxtest \
+                       %{PARALLELISMFLAGS}
+       end
+
+       install
+               make -f Makefile.psm install DESTDIR=%{BUILDROOT} \
+                       RUNDIR=/usr/lib/paxtest BINDIR=/usr/bin
+       end
+
+       export PKG_REQUIRES_FILTER = shlibtest
+end
+
+quality-agent
+       whitelist_execstack
+               /usr/lib/paxtest
+       end
+end
+
+packages
+       package %{name}
+end