• 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/nfs-utils/nfs-utils.mk
Bernd KuhlsBernd Kuhls committed be589759ee121 Feb 2016
Raw file
Source viewDiff to previous
 
1
################################################################################
2
#
3
# nfs-utils
4
#
5
################################################################################
6
​
7
NFS_UTILS_VERSION = 1.3.3
8
NFS_UTILS_SOURCE = nfs-utils-$(NFS_UTILS_VERSION).tar.xz
9
NFS_UTILS_SITE = https://www.kernel.org/pub/linux/utils/nfs-utils/$(NFS_UTILS_VERSION)
10
NFS_UTILS_LICENSE = GPLv2+
11
NFS_UTILS_LICENSE_FILES = COPYING
12
NFS_UTILS_AUTORECONF = YES
13
NFS_UTILS_DEPENDENCIES = host-pkgconf
14
​
15
NFS_UTILS_CONF_ENV = knfsd_cv_bsd_signals=no
16
​
17
NFS_UTILS_CONF_OPTS = \
18
    --disable-nfsv4 \
19
    --disable-nfsv41 \
20
    --disable-gss \
21
    --disable-uuid \
22
    --disable-ipv6 \
23
    --without-tcp-wrappers \
24
    --with-statedir=/run/nfs \
25
    --with-rpcgen=internal
26
​
27
NFS_UTILS_TARGETS_$(BR2_PACKAGE_NFS_UTILS_RPCDEBUG) += usr/sbin/rpcdebug
28
NFS_UTILS_TARGETS_$(BR2_PACKAGE_NFS_UTILS_RPC_LOCKD) += usr/sbin/rpc.lockd
29
NFS_UTILS_TARGETS_$(BR2_PACKAGE_NFS_UTILS_RPC_RQUOTAD) += usr/sbin/rpc.rquotad
30
​
31
ifeq ($(BR2_PACKAGE_LIBCAP),y)
32
NFS_UTILS_CONF_OPTS += --enable-caps
33
NFS_UTILS_DEPENDENCIES += libcap
34
else
35
NFS_UTILS_CONF_OPTS += --disable-caps
36
endif
37
​
38
ifeq ($(BR2_PACKAGE_LIBTIRPC),y)
39
NFS_UTILS_CONF_OPTS += --enable-tirpc
40
NFS_UTILS_DEPENDENCIES += libtirpc
41
else
42
NFS_UTILS_CONF_OPTS += --disable-tirpc
43
endif
44
​
45
define NFS_UTILS_INSTALL_FIXUP
46
    rm -f $(NFS_UTILS_TARGETS_)
47
    touch $(TARGET_DIR)/etc/exports
48
    $(INSTALL) -D -m 644 \
49
        $(@D)/utils/mount/nfsmount.conf $(TARGET_DIR)/etc/nfsmount.conf
50
endef
51
NFS_UTILS_POST_INSTALL_TARGET_HOOKS += NFS_UTILS_INSTALL_FIXUP
52
​
53
ifeq ($(BR2_INIT_SYSTEMD),y)
54
NFS_UTILS_CONF_OPTS += --with-systemd=/usr/lib/systemd/system
55
NFS_UTILS_DEPENDENCIES += systemd
56
else
57
NFS_UTILS_CONF_OPTS += --without-systemd
58
endif
59
​
60
define NFS_UTILS_INSTALL_INIT_SYSV
61
    $(INSTALL) -D -m 0755 package/nfs-utils/S60nfs \
62
        $(TARGET_DIR)/etc/init.d/S60nfs
63
endef
  • 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.