summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorFlorian Franzmann2021-05-28 20:15:50 +0200
committerFlorian Franzmann2021-06-01 00:44:21 +0200
commitb969667fe8bf26dfaa3d6d969adf121bc8c6d3f9 (patch)
treea5d33ef180bbf2c3f13ac4c92a9bf007547d8bb2 /net
parent2144be8ba61fc99e42788958c02e130967b64e7b (diff)
net/iputils: new spell, basic network utilities for Linux
Diffstat (limited to 'net')
-rwxr-xr-xnet/iputils/CONFIGURE22
-rwxr-xr-xnet/iputils/DEPENDS14
-rwxr-xr-xnet/iputils/DETAILS27
-rw-r--r--net/iputils/HISTORY2
4 files changed, 65 insertions, 0 deletions
diff --git a/net/iputils/CONFIGURE b/net/iputils/CONFIGURE
new file mode 100755
index 0000000000..9aa5a9f68c
--- /dev/null
+++ b/net/iputils/CONFIGURE
@@ -0,0 +1,22 @@
+. "$GRIMOIRE"/MESON_CONFIGURE &&
+
+config_query_option IPUTILS_OPTS 'Build arping?' y \
+ BUILD_ARPING={true,false} &&
+config_query_option IPUTILS_OPTS 'Build clockdiff?' y \
+ BUILD_CLOCKDIFF={true,false} &&
+config_query_option IPUTILS_OPTS 'Build ping?' y \
+ BUILD_PING={true,false} &&
+config_query_option IPUTILS_OPTS 'Build rarpd?' n \
+ BUILD_RARPD={true,false} &&
+config_query_option IPUTILS_OPTS 'Build rdisc?' y \
+ BUILD_RDISC={true,false} &&
+config_query_option IPUTILS_OPTS 'Build rdisc server?' y \
+ BUILD_RDISC_SERVER={true,false} &&
+config_query_option IPUTILS_OPTS 'Build tftpd?' y \
+ BUILD_TFTPD={true,false} &&
+config_query_option IPUTILS_OPTS 'Build tracepath?' y \
+ BUILD_TRACEPATH={true,false} &&
+config_query_option IPUTILS_OPTS 'Build traceroute6?' n \
+ BUILD_TRACEROUTE6={true,false} &&
+config_query_option IPUTILS_OPTS 'Build ninfod?' y \
+ BUILD_NINFOD={true,false}
diff --git a/net/iputils/DEPENDS b/net/iputils/DEPENDS
new file mode 100755
index 0000000000..b979c6c01e
--- /dev/null
+++ b/net/iputils/DEPENDS
@@ -0,0 +1,14 @@
+depends meson &&
+depends gcc &&
+optional_depends libcap \
+ "USE_CAP=true" \
+ "USE_CAP=false" \
+ "for POSIX capabilities support"
+optional_depends libidn2 \
+ "USE_IDN=true" \
+ "USE_IDN=false" \
+ "for IDN support" &&
+optional_depends gettext \
+ "USE_GETTEXT=true" \
+ "USE_GETTEXT=false" \
+ "for i18n support"
diff --git a/net/iputils/DETAILS b/net/iputils/DETAILS
new file mode 100755
index 0000000000..503b752e07
--- /dev/null
+++ b/net/iputils/DETAILS
@@ -0,0 +1,27 @@
+source $GRIMOIRE/MESON_FUNCTIONS
+ SPELL=iputils
+ VERSION=20210202
+ SOURCE="$SPELL-$VERSION.tar.gz"
+ SOURCE_URL[0]=https://github.com/${SPELL}/${SPELL}/archive/refs/tags/${VERSION}.tar.gz
+ SOURCE_HASH=sha512:af600fe74e1b78c0da66c378f55eb468d62206aaae1864693f7ec79833c9c0de95843573d1792627695f08ecfcdb4e79c354065daf178d393fcc6ef9a8a5d526
+SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-${VERSION}"
+ WEB_SITE="https://github.com/iputils/iputils"
+ LICENSE[0]=GPL
+ ENTERED=20210528
+ SHORT="a set of small useful utilities for Linux networking"
+cat << EOF
+The iputils package is a set of small useful utilities for Linux networking.
+
+These tools are included in iputils
+
+ * arping
+ * clockdiff
+ * ninfod
+ * ping
+ * rarpd
+ * rdisc
+ * tftpd
+ * tracepath
+ * traceroute6
+
+EOF
diff --git a/net/iputils/HISTORY b/net/iputils/HISTORY
new file mode 100644
index 0000000000..9ea67aa2c4
--- /dev/null
+++ b/net/iputils/HISTORY
@@ -0,0 +1,2 @@
+2021-05-28 Florian Franzmann <siflfran@hawo.stw.uni-erlangen.de>
+ * DEPENDS, DETAILS, CONFIGURE: spell created