summaryrefslogtreecommitdiff
path: root/package/audit/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2016-11-20 17:42:34 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2016-11-25 01:49:36 +0100
commitb0f23d1e562e753cb78a473fdade956a25cc337b (patch)
treefe4a5908d1e39e24ec6df66052e866ed72421a79 /package/audit/Makefile
parent49a817b44be5695a87f6b4c8eadef3bb0f9419f9 (diff)
finalize systemd as alternative init system
Most important is the fix in patch-src_journal_journald-server_c, which breaks startup of systemd-journald when code is compiled with -DNDEBUG. A lot of base-files reorganizing to only install required files on sysv systems.
Diffstat (limited to 'package/audit/Makefile')
-rw-r--r--package/audit/Makefile36
1 files changed, 36 insertions, 0 deletions
diff --git a/package/audit/Makefile b/package/audit/Makefile
new file mode 100644
index 000000000..8f6eea1a0
--- /dev/null
+++ b/package/audit/Makefile
@@ -0,0 +1,36 @@
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+include $(ADK_TOPDIR)/rules.mk
+
+PKG_NAME:= audit
+PKG_VERSION:= 2.6.7
+PKG_RELEASE:= 1
+PKG_HASH:= 8923917332daa7833bbc0c1d9eb012167093fbad000da4a9630fb3356aff8cdc
+PKG_DESCR:= audit library
+PKG_SECTION:= libs/misc
+PKG_URL:= http://people.redhat.com/sgrubb/audit
+PKG_SITES:= http://people.redhat.com/sgrubb/audit/
+PKG_OPTS:= dev
+
+DISTFILES:= $(PKG_NAME)-$(PKG_VERSION).tar.gz
+
+include $(ADK_TOPDIR)/mk/package.mk
+
+$(eval $(call PKG_template,AUDIT,audit,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION),$(PKG_OPTS)))
+
+ifeq ($(OS_FOR_BUILD),Darwin)
+HOST_CFLAGS+= -I$(STAGING_TARGET_DIR)/usr/include
+endif
+
+CONFIGURE_ARGS+= --without-python \
+ --without-python3 \
+ --without-libcap-ng \
+ --disable-zos-remote
+
+audit-install:
+ $(INSTALL_DIR) $(IDIR_AUDIT)/usr/lib
+ $(CP) $(WRKINST)/usr/lib/libaudit*.so* \
+ $(IDIR_AUDIT)/usr/lib
+
+include $(ADK_TOPDIR)/mk/pkg-bottom.mk