From 867c45a59030be0936e40df3b3acf61827932c5c Mon Sep 17 00:00:00 2001 From: Jean-Philippe Pialasse Date: Mon, 11 Mar 2024 21:18:28 -0400 Subject: [PATCH] 2.2-1 --- Apache-AuthTkt-2.1.tar.gz | 3 --- Apache-AuthTkt-2.2.tar.gz | 3 +++ perl-Apache-AuthTkt.spec | 42 +++++++++++++++++++++++---------------- 3 files changed, 28 insertions(+), 20 deletions(-) delete mode 100644 Apache-AuthTkt-2.1.tar.gz create mode 100644 Apache-AuthTkt-2.2.tar.gz diff --git a/Apache-AuthTkt-2.1.tar.gz b/Apache-AuthTkt-2.1.tar.gz deleted file mode 100644 index 95cf0fc..0000000 --- a/Apache-AuthTkt-2.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:9917f3d732316251e648f4d84fa773a7b7444c793b1649752f360c14db4c3ff8 -size 13820 diff --git a/Apache-AuthTkt-2.2.tar.gz b/Apache-AuthTkt-2.2.tar.gz new file mode 100644 index 0000000..87b8e75 --- /dev/null +++ b/Apache-AuthTkt-2.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:88fd5c0db6767910e082a3ffc76e5e43def572202d0f682c0165b94f950cc85e +size 13399 diff --git a/perl-Apache-AuthTkt.spec b/perl-Apache-AuthTkt.spec index 455acda..ce762c8 100644 --- a/perl-Apache-AuthTkt.spec +++ b/perl-Apache-AuthTkt.spec @@ -1,24 +1,33 @@ Name: perl-Apache-AuthTkt -Version: 2.1 +Version: 2.2 Release: 1%{?dist} Summary: Module to generate authentication tickets for mod_auth_tkt apache module -License: CHECK(GPL+ or Artistic) +License: Perl(GPL+ or Artistic) Group: Development/Libraries URL: http://search.cpan.org/dist/Apache-AuthTkt/ -Source0: http://www.cpan.org/authors/id/G/GA/GAVINC/Apache-AuthTkt-%{version}.tar.gz +Source0: http://localhost/cpan//authors/id/G/GA/GAVINC/Apache-AuthTkt-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl(Carp) BuildRequires: perl(ExtUtils::MakeMaker) -BuildRequires: perl(ExtUtils::ParseXS) -BuildRequires: perl(ExtUtils::Manifest) +BuildRequires: perl(ExtUtils::ParseXS) +BuildRequires: perl(ExtUtils::Manifest) BuildRequires: perl(Test::More) BuildRequires: perl(Digest::MD5) BuildRequires: perl(Digest::SHA) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description -CONSTRUCTOR +Apache::AuthTkt is a module for generating and validating authentication +tickets used with the 'mod_auth_tkt' apache module. Tickets are typically +generated by a login web page of some kind when a user has been authenticated. +The ticket contains a username/uid for the authenticated user, and often also +the IP address they authenticated from, a set of authorisation tokens, and any +other user data required. The ticket also includes an MD5 hash of all the +included user data plus a shared secret, so that tickets can be validated by +mod_auth_tkt without requiring access to the user repository. + +See http://www.openfusion.com.au/labs/mod_auth_tkt for mod_auth_tkt itself. %prep %setup -q -n Apache-AuthTkt-%{version} @@ -28,20 +37,20 @@ CONSTRUCTOR make %{?_smp_mflags} %install -rm -rf $RPM_BUILD_ROOT +rm -rf %{buildroot} -make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT +make pure_install PERL_INSTALL_ROOT=%{buildroot} -find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; -find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; +find %{buildroot} -type f -name .packlist -exec rm -f {} \; +find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \; -%{_fixperms} $RPM_BUILD_ROOT/* +%{_fixperms} %{buildroot}/* %check make test %clean -rm -rf $RPM_BUILD_ROOT +rm -rf %{buildroot} %files %defattr(-,root,root,-) @@ -50,9 +59,8 @@ rm -rf $RPM_BUILD_ROOT %{_mandir}/man3/* %changelog -* Fri Jul 14 2023 BogusDateBot -- Eliminated rpmbuild "bogus date" warnings due to inconsistent weekday, - by assuming the date is correct and changing the weekday. +* Mon Dec 15 2014 Gavin Carr 2.2-1 +- Update to version 2.2. -* Tue Mar 15 2016 Daniel Berteaud - 2.1-1 -- First build using cpanspec +* Mon Mar 29 2010 Gavin Carr 2.1-1 +- Specfile autogenerated by cpanspec 1.77.