drbd-utils: new package
DRBD utilities to manage the DRBD kernel module. [Thomas: remove largefile dependency.] Signed-off-by: Christophe Vu-Brugier <cvubrugier@fastmail.fm> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
48a717343d
commit
4b47ab6cd4
@ -1114,6 +1114,7 @@ endif
|
|||||||
source "package/dhcpcd/Config.in"
|
source "package/dhcpcd/Config.in"
|
||||||
source "package/dhcpdump/Config.in"
|
source "package/dhcpdump/Config.in"
|
||||||
source "package/dnsmasq/Config.in"
|
source "package/dnsmasq/Config.in"
|
||||||
|
source "package/drbd-utils/Config.in"
|
||||||
source "package/dropbear/Config.in"
|
source "package/dropbear/Config.in"
|
||||||
source "package/ebtables/Config.in"
|
source "package/ebtables/Config.in"
|
||||||
source "package/ejabberd/Config.in"
|
source "package/ejabberd/Config.in"
|
||||||
|
7
package/drbd-utils/Config.in
Normal file
7
package/drbd-utils/Config.in
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
config BR2_PACKAGE_DRBD_UTILS
|
||||||
|
bool "drbd-utils"
|
||||||
|
depends on BR2_USE_MMU # needs fork()
|
||||||
|
help
|
||||||
|
DRBD utilities to manage the DRBD kernel module.
|
||||||
|
|
||||||
|
http://oss.linbit.com/drbd/
|
34
package/drbd-utils/drbd-utils.mk
Normal file
34
package/drbd-utils/drbd-utils.mk
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
################################################################################
|
||||||
|
#
|
||||||
|
# drbd-utils
|
||||||
|
#
|
||||||
|
################################################################################
|
||||||
|
|
||||||
|
DRBD_UTILS_VERSION = 8.9.1
|
||||||
|
DRBD_UTILS_SITE = http://oss.linbit.com/drbd/
|
||||||
|
DRBD_UTILS_LICENSE = GPLv2+
|
||||||
|
DRBD_UTILS_LICENSE_FILES = COPYING
|
||||||
|
|
||||||
|
DRBD_UTILS_CONF_OPTS = --with-distro=generic
|
||||||
|
|
||||||
|
ifeq ($(BR2_INIT_SYSTEMD),y)
|
||||||
|
DRBD_UTILS_CONF_OPTS += --with-initscripttype=systemd
|
||||||
|
DRDB_UTILS_DEPENDENCIES += systemd
|
||||||
|
else
|
||||||
|
DRBD_UTILS_CONF_OPTS += --with-initscripttype=sysv
|
||||||
|
endif
|
||||||
|
|
||||||
|
ifeq ($(BR2_PACKAGE_HAS_UDEV),y)
|
||||||
|
DRBD_UTILS_CONF_OPTS += --with-udev=yes
|
||||||
|
DRDB_UTILS_DEPENDENCIES += udev
|
||||||
|
else
|
||||||
|
DRBD_UTILS_CONF_OPTS += --with-udev=no
|
||||||
|
endif
|
||||||
|
|
||||||
|
# Do not build the documentation because it requires docbook
|
||||||
|
define DRBD_UTILS_DISABLE_DOCS
|
||||||
|
$(SED) 's/user scripts documentation/user scripts/' $(@D)/Makefile.in
|
||||||
|
endef
|
||||||
|
DRBD_UTILS_POST_PATCH_HOOKS += DRBD_UTILS_DISABLE_DOCS
|
||||||
|
|
||||||
|
$(eval $(autotools-package))
|
Loading…
Reference in New Issue
Block a user