nrpe: update to 4.1.3
[oi-userland.git] / components / sysutils / ngrep / Makefile
blobb35ee62247175ae0d7f8d7281b1048e4d271c307
2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL"). You may
4 # only use this file in accordance with the terms of the CDDL.
6 # A full copy of the text of the CDDL should have accompanied this
7 # source. A copy of the CDDL is also available via the Internet at
8 # http://www.illumos.org/license/CDDL.
12 # Copyright 2016 Adam Stevko
13 # Copyright 2023 Klaus Ziegler
16 BUILD_BITS= 64
17 include ../../../make-rules/shared-macros.mk
19 COMPONENT_NAME= ngrep
20 COMPONENT_VERSION= 1.47
21 COMPONENT_SRC_VERSION= 1_47
22 COMPONENT_REVISION= 1
23 COMPONENT_SUMMARY= ngrep strives to provide most of GNU grep common features, applying them to the network layer
24 COMPONENT_PROJECT_URL= https://github.com/jpr5/ngrep
25 COMPONENT_FMRI= diagnostic/ngrep
26 COMPONENT_CLASSIFICATION= Applications/Internet
27 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_SRC_VERSION)
28 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
29 COMPONENT_ARCHIVE_URL= \
30 $(COMPONENT_PROJECT_URL)/archive/V$(COMPONENT_SRC_VERSION).tar.gz
31 COMPONENT_ARCHIVE_HASH= \
32 sha256:dc4dbe20991cc36bac5e97e99475e2a1522fd88c59ee2e08f813432c04c5fff3
33 COMPONENT_LICENSE= BSD
35 include $(WS_MAKE_RULES)/common.mk
37 COMPONENT_PRE_CONFIGURE_ACTION= \
38 $(CLONEY) $(SOURCE_DIR) $(@D)
40 CONFIGURE_OPTIONS+= --enable-ipv6
41 CONFIGURE_OPTIONS+= --enable-pcre
42 CONFIGURE_OPTIONS+= --with-dropprivs-user=nobody
43 CONFIGURE_OPTIONS+= --with-pcap-includes=/usr/include/pcap
45 REQUIRED_PACKAGES += system/library
46 REQUIRED_PACKAGES += system/library/libpcap