• Skip to sidebar navigation
  • Skip to content

Bitbucket

  • More
    ProjectsRepositories
  • Help
    • Online help
    • Learn Git
    • Welcome to Bitbucket
    • Keyboard shortcuts
  • Log In
Alexander Dahl
  1. Alexander Dahl

buildroot

Public
Actions
  • Clone
  • Compare

Learn more about cloning repositories

You have read-only access

Navigation
  • Source
  • Commits
  • Branches
  • All Branches Graph
  • Forks
  1. Alexander Dahl
  2. buildroot

Source

buildroot/package/audit/audit.mk
Adam DuskettAdam Duskett committed c2f7b6e196c16 Jul 2016
Raw file
Source viewDiff to previous
 
1
################################################################################
2
#
3
# audit
4
#
5
################################################################################
6
​
7
AUDIT_VERSION = 2.6.5
8
AUDIT_SITE = http://people.redhat.com/sgrubb/audit
9
AUDIT_LICENSE = GPLv2
10
AUDIT_LICENSE_FILES = COPYING
11
# 0002-Fix-usage-of-audit_status.feature_bitmap.patch
12
AUDIT_AUTORECONF = YES
13
​
14
AUDIT_INSTALL_STAGING = YES
15
​
16
AUDIT_CONF_OPTS = --without-python --without-python3 --disable-zos-remote
17
​
18
ifeq ($(BR2_PACKAGE_LIBCAP_NG),y)
19
AUDIT_DEPENDENCIES += libcap-ng
20
AUDIT_CONF_OPTS += --with-libcap-ng=yes
21
else
22
AUDIT_CONF_OPTS += --with-libcap-ng=no
23
endif
24
​
25
# For i386, x86-64 and PowerPC, the system call tables are
26
# unconditionally included. However, for ARM(eb) and AArch64, then
27
# need to be explicitly enabled.
28
​
29
ifeq ($(BR2_arm)$(BR2_armeb),y)
30
AUDIT_CONF_OPTS += --with-arm
31
endif
32
ifeq ($(BR2_aarch64),y)
33
AUDIT_CONF_OPTS += --with-aarch64
34
endif
35
​
36
ifeq ($(BR2_INIT_SYSTEMD),y)
37
AUDIT_CONF_OPTS += --enable-systemd
38
else
39
AUDIT_CONF_OPTS += --disable-systemd
40
endif
41
​
42
define AUDIT_INSTALL_INIT_SYSV
43
    $(INSTALL) -D -m 755 package/audit/S01auditd $(TARGET_DIR)/etc/init.d/S01auditd
44
endef
45
​
46
define AUDIT_INSTALL_INIT_SYSTEMD
47
    mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants
48
    ln -fs ../../../../usr/lib/systemd/system/auditd.service \
49
        $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/auditd.service
50
​
51
    $(INSTALL) -D -m 644 package/audit/audit_tmpfiles.conf \
52
        $(TARGET_DIR)/usr/lib/tmpfiles.d/audit.conf
53
endef
54
​
55
define AUDIT_INSTALL_CLEANUP
56
    $(RM) -rf $(TARGET_DIR)/etc/rc.d
57
    $(RM) -rf $(TARGET_DIR)/etc/sysconfig
58
endef
59
AUDIT_POST_INSTALL_TARGET_HOOKS += AUDIT_INSTALL_CLEANUP
60
​
61
HOST_AUDIT_CONF_OPTS = \
62
    --without-python \
63
    --without-python3 \
  • Git repository management for enterprise teams powered by Atlassian Bitbucket
  • Atlassian Bitbucket v6.7.2
  • Documentation
  • Request a feature
  • About
  • Contact Atlassian
Atlassian

Everything looks good. We'll let you know here if there's anything you should know about.