From 5eeac06ff80dbb0a20896c8ddab2d769cf2e0b98 Mon Sep 17 00:00:00 2001 From: sthen Date: Wed, 5 Feb 2025 14:17:54 +0000 Subject: [PATCH] import ports/net/p5-LWP-Online, ok tb@ This module attempts to identify, as accurately as it can, whether a process has access to the internet. --- net/p5-LWP-Online/Makefile | 14 ++++++++++++++ net/p5-LWP-Online/distinfo | 2 ++ net/p5-LWP-Online/pkg/DESCR | 2 ++ net/p5-LWP-Online/pkg/PLIST | 3 +++ 4 files changed, 21 insertions(+) create mode 100644 net/p5-LWP-Online/Makefile create mode 100644 net/p5-LWP-Online/distinfo create mode 100644 net/p5-LWP-Online/pkg/DESCR create mode 100644 net/p5-LWP-Online/pkg/PLIST diff --git a/net/p5-LWP-Online/Makefile b/net/p5-LWP-Online/Makefile new file mode 100644 index 00000000000..1f4f0c08aee --- /dev/null +++ b/net/p5-LWP-Online/Makefile @@ -0,0 +1,14 @@ +COMMENT= check if a process has access to the internet + +MODULES= cpan +DISTNAME= LWP-Online-1.08 +CATEGORIES= net +PKG_ARCH= * + +# Perl +PERMIT_PACKAGE= Yes + +RUN_DEPENDS= www/p5-libwww \ + www/p5-URI + +.include diff --git a/net/p5-LWP-Online/distinfo b/net/p5-LWP-Online/distinfo new file mode 100644 index 00000000000..85ccc5a270b --- /dev/null +++ b/net/p5-LWP-Online/distinfo @@ -0,0 +1,2 @@ +SHA256 (LWP-Online-1.08.tar.gz) = 4m+Rt3gfKm07jDZJYdXnT65mDSAtyX48iCiAMNc2zpw= +SIZE (LWP-Online-1.08.tar.gz) = 32250 diff --git a/net/p5-LWP-Online/pkg/DESCR b/net/p5-LWP-Online/pkg/DESCR new file mode 100644 index 00000000000..8f56659768c --- /dev/null +++ b/net/p5-LWP-Online/pkg/DESCR @@ -0,0 +1,2 @@ +This module attempts to identify, as accurately as it can, whether a process +has access to the internet. diff --git a/net/p5-LWP-Online/pkg/PLIST b/net/p5-LWP-Online/pkg/PLIST new file mode 100644 index 00000000000..64933c73c78 --- /dev/null +++ b/net/p5-LWP-Online/pkg/PLIST @@ -0,0 +1,3 @@ +${P5SITE}/LWP/ +${P5SITE}/LWP/Online.pm +@man man/man3p/LWP::Online.3p