From 9e30a63cc7861bbb83d7d703c62728d517c41b65 Mon Sep 17 00:00:00 2001 From: Michael Howe Date: Thu, 23 Jul 2020 21:16:32 +0100 Subject: [PATCH] Kerberos -> KerberosAuth Otherwise you get weird collisions with the shipped Kerberos module --- Build.PL | 2 +- debian/changelog | 4 +++- debian/control | 5 +++-- .../NG/Portal/Auth/My/{Kerberos.pm => KerberosAuth.pm} | 2 +- 4 files changed, 8 insertions(+), 5 deletions(-) rename lib/Lemonldap/NG/Portal/Auth/My/{Kerberos.pm => KerberosAuth.pm} (95%) diff --git a/Build.PL b/Build.PL index d64e84b..547a22b 100644 --- a/Build.PL +++ b/Build.PL @@ -1,6 +1,6 @@ use Module::Build; my $build = Module::Build->new( - module_name => 'Lemonldap::NG::Portal::Auth::My::Kerberos', + module_name => 'Lemonldap::NG::Portal::Auth::My::KerberosAuth', license => 'perl', ); $build->create_build_script; diff --git a/debian/changelog b/debian/changelog index a39b77b..4ac4756 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,5 +1,7 @@ -liblemonldap-ng-portal-auth-my-kerberos-perl (1.0~test.0) unstable; urgency=medium +liblemonldap-ng-portal-auth-my-kerberosauth-perl (1.0~test.1) unstable; urgency=medium * Initial Release. + * Rename because there are collisions with the Kerberos name, so use + KerberosAuth instead -- Michael Howe Tue, 19 May 2020 16:13:11 +0100 diff --git a/debian/control b/debian/control index c39045a..89dd3a6 100644 --- a/debian/control +++ b/debian/control @@ -1,4 +1,4 @@ -Source: liblemonldap-ng-portal-auth-my-kerberos-perl +Source: liblemonldap-ng-portal-auth-my-kerberosauth-perl Section: perl Priority: optional Maintainer: Michael Howe @@ -8,9 +8,10 @@ Standards-Version: 4.1.3 #Vcs-Browser: https://salsa.debian.org/debian/liblemonldap-ng-portal-auth-my-kerberos-perl #Vcs-Git: https://salsa.debian.org/debian/liblemonldap-ng-portal-auth-my-kerberos-perl.git -Package: liblemonldap-ng-portal-auth-my-kerberos-perl +Package: liblemonldap-ng-portal-auth-my-kerberosauth-perl Architecture: all Depends: ${misc:Depends}, ${perl:Depends}, liblemonldap-ng-portal-perl, libauthen-krb5-simple-perl +Replaces: liblemonldap-ng-portal-auth-my-kerberos-perl Description: Custom Kerberos class for lemonldap-ng This package provides a custom Kerberos class for liblemonldap-ng. . diff --git a/lib/Lemonldap/NG/Portal/Auth/My/Kerberos.pm b/lib/Lemonldap/NG/Portal/Auth/My/KerberosAuth.pm similarity index 95% rename from lib/Lemonldap/NG/Portal/Auth/My/Kerberos.pm rename to lib/Lemonldap/NG/Portal/Auth/My/KerberosAuth.pm index 0769299..2afddde 100644 --- a/lib/Lemonldap/NG/Portal/Auth/My/Kerberos.pm +++ b/lib/Lemonldap/NG/Portal/Auth/My/KerberosAuth.pm @@ -1,4 +1,4 @@ -package Lemonldap::NG::Portal::Auth::My::Kerberos; +package Lemonldap::NG::Portal::Auth::My::KerberosAuth; use strict; use Mouse; -- 2.39.5