[gentoo-commits] repo/gentoo:master commit in: dev-perl/Authen-Libwrap/

2023-06-21 Thread Sam James
commit: 6e3617ba34542d923b33124089d48b9763eb55a0
Author: Sam James  gentoo  org>
AuthorDate: Thu Jun 22 04:15:50 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Jun 22 04:15:50 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6e3617ba

dev-perl/Authen-Libwrap: update DESCRIPTION

Signed-off-by: Sam James  gentoo.org>

 dev-perl/Authen-Libwrap/Authen-Libwrap-0.230.0-r2.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-perl/Authen-Libwrap/Authen-Libwrap-0.230.0-r2.ebuild 
b/dev-perl/Authen-Libwrap/Authen-Libwrap-0.230.0-r2.ebuild
index 9fb6afa37a38..58bbaaef89c4 100644
--- a/dev-perl/Authen-Libwrap/Authen-Libwrap-0.230.0-r2.ebuild
+++ b/dev-perl/Authen-Libwrap/Authen-Libwrap-0.230.0-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -8,7 +8,7 @@ DIST_VERSION=0.23
 DIST_EXAMPLES=("example.pl")
 inherit perl-module
 
-DESCRIPTION="A Perl access to the TCP Wrappers interface"
+DESCRIPTION="Perl access to the TCP Wrappers interface"
 
 SLOT="0"
 KEYWORDS="~amd64 ~x86"



[gentoo-commits] repo/gentoo:master commit in: dev-perl/Authen-Libwrap/

2022-03-10 Thread Sam James
commit: 049a604d9dce7fcdf764f25e29826a37ba9b1924
Author: Sam James  gentoo  org>
AuthorDate: Thu Mar 10 05:12:36 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Mar 10 21:10:12 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=049a604d

dev-perl/Authen-Libwrap: [QA] fix UnusedInherits (multilib)

get_libdir has been built-in since EAPI 6

Signed-off-by: Sam James  gentoo.org>

 dev-perl/Authen-Libwrap/Authen-Libwrap-0.230.0-r2.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-perl/Authen-Libwrap/Authen-Libwrap-0.230.0-r2.ebuild 
b/dev-perl/Authen-Libwrap/Authen-Libwrap-0.230.0-r2.ebuild
index 79aaf42ae9be..9fb6afa37a38 100644
--- a/dev-perl/Authen-Libwrap/Authen-Libwrap-0.230.0-r2.ebuild
+++ b/dev-perl/Authen-Libwrap/Authen-Libwrap-0.230.0-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -6,7 +6,7 @@ EAPI=7
 DIST_AUTHOR=DMUEY
 DIST_VERSION=0.23
 DIST_EXAMPLES=("example.pl")
-inherit perl-module multilib
+inherit perl-module
 
 DESCRIPTION="A Perl access to the TCP Wrappers interface"
 



[gentoo-commits] repo/gentoo:master commit in: dev-perl/Authen-Libwrap/

2020-09-17 Thread Kent Fredric
commit: 0b052d74e022960b785ee76a7d64361e667ab1cb
Author: Kent Fredric  gentoo  org>
AuthorDate: Thu Sep 17 12:17:06 2020 +
Commit: Kent Fredric  gentoo  org>
CommitDate: Thu Sep 17 12:17:06 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0b052d74

dev-perl/Authen-Libwrap: Cleanup old 0.230.0-r1

Closes: https://bugs.gentoo.org/737212
Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Kent Fredric  gentoo.org>

 .../Authen-Libwrap-0.230.0-r1.ebuild   | 41 --
 1 file changed, 41 deletions(-)

diff --git a/dev-perl/Authen-Libwrap/Authen-Libwrap-0.230.0-r1.ebuild 
b/dev-perl/Authen-Libwrap/Authen-Libwrap-0.230.0-r1.ebuild
deleted file mode 100644
index ae89dcc461c..000
--- a/dev-perl/Authen-Libwrap/Authen-Libwrap-0.230.0-r1.ebuild
+++ /dev/null
@@ -1,41 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-DIST_AUTHOR=DMUEY
-DIST_VERSION=0.23
-DIST_EXAMPLES=("example.pl")
-inherit perl-module
-
-DESCRIPTION="A Perl access to the TCP Wrappers interface"
-
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="test"
-RESTRICT="!test? ( test )"
-
-RDEPEND="sys-apps/tcp-wrappers"
-DEPEND="dev-perl/Module-Build"
-BDEPEND="${RDEPEND}
-   >=dev-perl/Module-Build-0.420.0
-   virtual/perl-ExtUtils-CBuilder
-   test? (
-   virtual/perl-Test-Simple
-   dev-perl/Test-Exception
-   )
-"
-PERL_RM_FILES=(
-   t/03_pod.t
-   t/02_maintainer.t
-)
-src_configure() {
-   unset LD
-   if [[ -n "${CCLD}" ]]; then
-   export LD="${CCLD}"
-   fi
-   perl-module_src_configure
-}
-src_compile() {
-   ./Build --config optimize="${CFLAGS}" build || die
-}



[gentoo-commits] repo/gentoo:master commit in: dev-perl/Authen-Libwrap/files/, dev-perl/Authen-Libwrap/

2020-08-15 Thread Kent Fredric
commit: 8cd94a41de24204614aa921c19262c8e5a26
Author: Kent Fredric  gentoo  org>
AuthorDate: Sun Aug 16 01:26:19 2020 +
Commit: Kent Fredric  gentoo  org>
CommitDate: Sun Aug 16 01:29:35 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8cd94a41

dev-perl/Authen-Libwrap: -r bump fix for bug #737212

This overrides the magic detection in Build.PL, which was previously
creating problems for LD=lld due to the inclusion of "/usr/lib/" instead
of "/usr/lib64/".

This employs get_libdir to resolve the right version, and passes
expected config into Build.PL, and patches Build.PL to simply die when
the passed values don't look usable, instead of doing some weird config
discovery which could possibly do wrong things.

Bug: https://bugs.gentoo.org/737212
Package-Manager: Portage-2.3.103, Repoman-2.3.22
Signed-off-by: Kent Fredric  gentoo.org>

 .../Authen-Libwrap-0.230.0-r2.ebuild   | 46 ++
 .../files/Authen-Libwrap-0.23-inc-paths.patch  | 98 ++
 2 files changed, 144 insertions(+)

diff --git a/dev-perl/Authen-Libwrap/Authen-Libwrap-0.230.0-r2.ebuild 
b/dev-perl/Authen-Libwrap/Authen-Libwrap-0.230.0-r2.ebuild
new file mode 100644
index 000..79aaf42ae9b
--- /dev/null
+++ b/dev-perl/Authen-Libwrap/Authen-Libwrap-0.230.0-r2.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DIST_AUTHOR=DMUEY
+DIST_VERSION=0.23
+DIST_EXAMPLES=("example.pl")
+inherit perl-module multilib
+
+DESCRIPTION="A Perl access to the TCP Wrappers interface"
+
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="sys-apps/tcp-wrappers"
+DEPEND="dev-perl/Module-Build"
+BDEPEND="${RDEPEND}
+   >=dev-perl/Module-Build-0.420.0
+   virtual/perl-ExtUtils-CBuilder
+   test? (
+   virtual/perl-Test-Simple
+   dev-perl/Test-Exception
+   )
+"
+PATCHES=(
+   "${FILESDIR}/${PN}-0.23-inc-paths.patch"
+)
+PERL_RM_FILES=(
+   t/03_pod.t
+   t/02_maintainer.t
+)
+src_configure() {
+   unset LD
+   if [[ -n "${CCLD}" ]]; then
+   export LD="${CCLD}"
+   fi
+   GENTOO_INCDIR="${EPREFIX}/usr/include" \
+   GENTOO_LIBDIR="${EPREFIX}/usr/$(get_libdir)" \
+   perl-module_src_configure
+}
+src_compile() {
+   ./Build --config optimize="${CFLAGS}" build || die
+}

diff --git a/dev-perl/Authen-Libwrap/files/Authen-Libwrap-0.23-inc-paths.patch 
b/dev-perl/Authen-Libwrap/files/Authen-Libwrap-0.23-inc-paths.patch
new file mode 100644
index 000..e6b2998b5eb
--- /dev/null
+++ b/dev-perl/Authen-Libwrap/files/Authen-Libwrap-0.23-inc-paths.patch
@@ -0,0 +1,98 @@
+From 012d607fa5ca2dd8d7b48110a9639841cd3db704 Mon Sep 17 00:00:00 2001
+From: Kent Fredric 
+Date: Sun, 16 Aug 2020 12:59:38 +1200
+Subject: Remove libdir/incdir autodetection magic
+
+Instead, in favour of gentoo controled paths and hard-erroring when
+they're wrong.
+
+Bug: https://bugs.gentoo.org/737212
+---
+ Build.PL | 70 +++-
+ 1 file changed, 13 insertions(+), 57 deletions(-)
+
+diff --git a/Build.PL b/Build.PL
+index c76c1d8..d2179de 100644
+--- a/Build.PL
 b/Build.PL
+@@ -9,64 +9,20 @@ use Module::Build;
+ 
+ use File::Spec;
+ 
+-my $inc_dir;
+-my $lib_dir;
+-
+-# possible prefixes where we might find libwrap.a
+-# if you know of other common ones please let me know
+-my @prefixes = (
+-File::Spec->catdir( File::Spec->rootdir, 'usr' ),
+-File::Spec->catdir( File::Spec->rootdir, 'usr', 'local' ),
+-File::Spec->catdir( File::Spec->rootdir, 'opt' ),
+-File::Spec->catdir( File::Spec->rootdir, 'opt', 'local' ),
+-File::Spec->catdir( File::Spec->rootdir, 'opt', 'libwrap' ),
+-File::Spec->catdir( File::Spec->rootdir, 'opt', 'tcpwrappers' ),
+-);
+-
+-# try to figure out where libwrap.a is
+-for my $prefix( @prefixes ) {
+-for my $libname( qw|libwrap.so libwrap.a| ) {
+-my $candidate = File::Spec->catfile( $prefix, 'lib', $libname );
+-if( -e $candidate && -f _ && -r _ ) {
+-my $y_n = Module::Build->y_n(
+-"do you want to link against $candidate?", "y"
+-);
+-if( $y_n ) {
+-$lib_dir = File::Spec->catdir( $prefix, 'lib' );
+-last;
+-}
+-}
+-}
+-}
+-
+-# try to figure out where tcpd.h is
+-for my $prefix( @prefixes ) {
+-my $candidate = File::Spec->catfile( $prefix, 'include', 'tcpd.h' );
+-if( -e $candidate && -f _ && -r _ ) {
+-my $y_n = Module::Build->y_n(
+-"do you want to use $candidate as your header?", "y"
+-);
+-if( $y_n ) {
+-$inc_dir = File::Spec->catdir( $prefix, 'include' );
+-last;
+-}
+-}
+-}
+-
+-# if we can't find it, prompt
+-unless( $inc_dir ) {
+-$inc_dir = Module::Build->prompt(
+-   

[gentoo-commits] repo/gentoo:master commit in: dev-perl/Authen-Libwrap/

2020-08-06 Thread Kent Fredric
commit: 6e31f9f36b2bbba4909f23c896db0d1ef5da89fc
Author: Kent Fredric  gentoo  org>
AuthorDate: Thu Aug  6 16:04:31 2020 +
Commit: Kent Fredric  gentoo  org>
CommitDate: Thu Aug  6 16:04:31 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6e31f9f3

dev-perl/Authen-Libwrap: Cleanup old 0.230.0

Package-Manager: Portage-2.3.103, Repoman-2.3.22
Signed-off-by: Kent Fredric  gentoo.org>

 .../Authen-Libwrap/Authen-Libwrap-0.230.0.ebuild   | 30 --
 1 file changed, 30 deletions(-)

diff --git a/dev-perl/Authen-Libwrap/Authen-Libwrap-0.230.0.ebuild 
b/dev-perl/Authen-Libwrap/Authen-Libwrap-0.230.0.ebuild
deleted file mode 100644
index d501b465e68..000
--- a/dev-perl/Authen-Libwrap/Authen-Libwrap-0.230.0.ebuild
+++ /dev/null
@@ -1,30 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-DIST_AUTHOR=DMUEY
-DIST_VERSION=0.23
-DIST_EXAMPLES=("example.pl")
-inherit perl-module
-
-DESCRIPTION="A Perl access to the TCP Wrappers interface"
-
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="test"
-RESTRICT="!test? ( test )"
-
-RDEPEND="sys-apps/tcp-wrappers"
-DEPEND="${RDEPEND}
-   >=dev-perl/Module-Build-0.420.0
-   virtual/perl-ExtUtils-CBuilder
-   test? (
-   virtual/perl-Test-Simple
-   dev-perl/Test-Exception
-   )
-"
-src_test() {
-   perl_rm_files t/03_pod.t t/02_maintainer.t
-   perl-module_src_test
-}



[gentoo-commits] repo/gentoo:master commit in: dev-perl/Authen-Libwrap/

2020-07-02 Thread Kent Fredric
commit: 63258652cc669de6cc34a469072be71e0f843221
Author: Kent Fredric  gentoo  org>
AuthorDate: Thu Jul  2 22:24:38 2020 +
Commit: Kent Fredric  gentoo  org>
CommitDate: Thu Jul  2 23:57:10 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=63258652

dev-perl/Authen-Libwrap: -r bump for EAPI7 + Tooling fixes

- EAPI7
- Unconditionally patch out bad tests
- Avoid being broken by LD=!ccld
- Pass CFLAGS through to compile

Package-Manager: Portage-2.3.100, Repoman-2.3.22
Signed-off-by: Kent Fredric  gentoo.org>

 .../Authen-Libwrap-0.230.0-r1.ebuild   | 41 ++
 1 file changed, 41 insertions(+)

diff --git a/dev-perl/Authen-Libwrap/Authen-Libwrap-0.230.0-r1.ebuild 
b/dev-perl/Authen-Libwrap/Authen-Libwrap-0.230.0-r1.ebuild
new file mode 100644
index 000..ae89dcc461c
--- /dev/null
+++ b/dev-perl/Authen-Libwrap/Authen-Libwrap-0.230.0-r1.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DIST_AUTHOR=DMUEY
+DIST_VERSION=0.23
+DIST_EXAMPLES=("example.pl")
+inherit perl-module
+
+DESCRIPTION="A Perl access to the TCP Wrappers interface"
+
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="sys-apps/tcp-wrappers"
+DEPEND="dev-perl/Module-Build"
+BDEPEND="${RDEPEND}
+   >=dev-perl/Module-Build-0.420.0
+   virtual/perl-ExtUtils-CBuilder
+   test? (
+   virtual/perl-Test-Simple
+   dev-perl/Test-Exception
+   )
+"
+PERL_RM_FILES=(
+   t/03_pod.t
+   t/02_maintainer.t
+)
+src_configure() {
+   unset LD
+   if [[ -n "${CCLD}" ]]; then
+   export LD="${CCLD}"
+   fi
+   perl-module_src_configure
+}
+src_compile() {
+   ./Build --config optimize="${CFLAGS}" build || die
+}



[gentoo-commits] repo/gentoo:master commit in: dev-perl/Authen-Libwrap/

2017-12-19 Thread Kent Fredric
commit: 0eda2509895d84a00640cb82de40e9fb7f1fef8f
Author: Kent Fredric  gentoo  org>
AuthorDate: Tue Dec 19 08:16:14 2017 +
Commit: Kent Fredric  gentoo  org>
CommitDate: Tue Dec 19 08:16:49 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0eda2509

dev-perl/Authen-Libwrap: Fix missing dep on dev-perl/Test-Exception

Package-Manager: Portage-2.3.18, Repoman-2.3.6

 dev-perl/Authen-Libwrap/Authen-Libwrap-0.220.0-r1.ebuild | 7 +--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/dev-perl/Authen-Libwrap/Authen-Libwrap-0.220.0-r1.ebuild 
b/dev-perl/Authen-Libwrap/Authen-Libwrap-0.220.0-r1.ebuild
index 820d2ddeea2..2d52c74f99d 100644
--- a/dev-perl/Authen-Libwrap/Authen-Libwrap-0.220.0-r1.ebuild
+++ b/dev-perl/Authen-Libwrap/Authen-Libwrap-0.220.0-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -16,7 +16,10 @@ IUSE="test"
 RDEPEND="sys-apps/tcp-wrappers"
 DEPEND="${RDEPEND}
dev-perl/Module-Build
-   test? ( virtual/perl-Test-Simple )
+   test? (
+   virtual/perl-Test-Simple
+   dev-perl/Test-Exception
+   )
 "
 
 SRC_TEST="do"



[gentoo-commits] repo/gentoo:master commit in: dev-perl/Authen-Libwrap/

2016-08-08 Thread Kent Fredric
commit: 90494821d0f49a18d4b74fb4a274b9851e992c38
Author: Kent Fredric  gentoo  org>
AuthorDate: Mon Aug  8 06:31:25 2016 +
Commit: Kent Fredric  gentoo  org>
CommitDate: Mon Aug  8 08:11:28 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=90494821

dev-perl/Authen-Libwrap: Remove POD author tests

Not useful on Gentoo.

Package-Manager: portage-2.3.0
RepoMan-Options: --include-arches="alpha amd64 amd64-fbsd arm arm64 hppa ia64 
m68k mips nios2 ppc ppc64 riscv s390 sh sparc sparc-fbsd x86 x86-fbsd"

 dev-perl/Authen-Libwrap/Authen-Libwrap-0.220.0-r1.ebuild | 13 -
 1 file changed, 8 insertions(+), 5 deletions(-)

diff --git a/dev-perl/Authen-Libwrap/Authen-Libwrap-0.220.0-r1.ebuild 
b/dev-perl/Authen-Libwrap/Authen-Libwrap-0.220.0-r1.ebuild
index 8cccb59..8928469 100644
--- a/dev-perl/Authen-Libwrap/Authen-Libwrap-0.220.0-r1.ebuild
+++ b/dev-perl/Authen-Libwrap/Authen-Libwrap-0.220.0-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -17,9 +17,12 @@ IUSE="test"
 RDEPEND="sys-apps/tcp-wrappers"
 DEPEND="${RDEPEND}
dev-perl/Module-Build
-   test? (
-   dev-perl/Test-Exception
-   dev-perl/Test-Pod
-   )"
+   test? ( virtual/perl-Test-Simple )
+"
 
 SRC_TEST="do"
+
+src_test() {
+   perl_rm_files t/03_pod.t t/02_maintainer.t
+   perl-module_src_test
+}