From 7b6c45c192bdc179d2d10c4ef10e838e79de81f1 Mon Sep 17 00:00:00 2001 From: Brian Read Date: Fri, 14 Jul 2023 14:06:24 +0100 Subject: [PATCH] initial commit of file from CVS for perl-Session-Token on Fri 14 Jul 14:06:24 BST 2023 --- .gitattributes | 1 + .gitignore | 3 ++ Makefile | 19 +++++++++++ README.md | 10 +++++- Session-Token-1.503.tar.gz | 3 ++ contriborbase | 1 + perl-Session-Token.spec | 65 ++++++++++++++++++++++++++++++++++++++ 7 files changed, 101 insertions(+), 1 deletion(-) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 Makefile create mode 100644 Session-Token-1.503.tar.gz create mode 100644 contriborbase create mode 100644 perl-Session-Token.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..f087b42 --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +*.tar.gz filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..1534ba5 --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +*.rpm +*.log +*spec-20* diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..1712b96 --- /dev/null +++ b/Makefile @@ -0,0 +1,19 @@ +NAME := perl-Session-Token +SPECFILE = $(firstword $(wildcard *.spec)) + +define find-makefile-common +for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done +endef + +MAKEFILE_COMMON := $(shell $(find-makefile-common)) + +ifeq ($(MAKEFILE_COMMON),) +# attept a checkout +define checkout-makefile-common +test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2 +endef + +MAKEFILE_COMMON := $(shell $(checkout-makefile-common)) +endif + +include $(MAKEFILE_COMMON) diff --git a/README.md b/README.md index 501f948..bef0784 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,11 @@ # perl-Session-Token -3rd Party (Maintained by Koozali) git repo for perl-Session-Token smeserver \ No newline at end of file +3rd Party (Maintained by Koozali) git repo for perl-Session-Token smeserver + +## Description + +
*This description has been generated by an LLM AI system and cannot be relied on to be fully correct.* +*Once it has been checked, then this comment will be deleted* +
+ +Perl-Session-Token (PST) is a software package designed to provide a unique identifier to a user's session. It can be used to link a user's session to the server in order to store session data and ensure that only authorized users have access to the session data. This is accomplished by generating a unique token that is used to identify the user's session. The token is typically stored in a cookie or in the URL and is used to track the user's activity and ensure that only authorized users can connect to the server. diff --git a/Session-Token-1.503.tar.gz b/Session-Token-1.503.tar.gz new file mode 100644 index 0000000..676edb2 --- /dev/null +++ b/Session-Token-1.503.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:32c3df96ef455c71870363acd950ddc4fbc848c594f4bc55b21b44cf979f79a1 +size 24689 diff --git a/contriborbase b/contriborbase new file mode 100644 index 0000000..ef36a67 --- /dev/null +++ b/contriborbase @@ -0,0 +1 @@ +sme10 diff --git a/perl-Session-Token.spec b/perl-Session-Token.spec new file mode 100644 index 0000000..67b3c8d --- /dev/null +++ b/perl-Session-Token.spec @@ -0,0 +1,65 @@ +Name: perl-Session-Token +Version: 1.503 +Release: 1%{?dist} +Summary: Secure, efficient, simple random session token generation +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/Session-Token/ +Source0: http://www.cpan.org/authors/id/F/FR/FRACTAL/Session-Token-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildRequires: perl >= 0:5.008000 +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(ExtUtils::ParseXS) +BuildRequires: perl(ExtUtils::Manifest) +BuildRequires: perl(Test::More) +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%description +This module provides a secure, efficient, and simple interface for creating +session tokens, password reset codes, temporary passwords, random +identifiers, and anything else you can think of. + +%prep +%setup -q -n Session-Token-%{version} + +%build +%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" +make %{?_smp_mflags} + +%install +rm -rf $RPM_BUILD_ROOT + +make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT + +find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; +find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \; +find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; + +%{_fixperms} $RPM_BUILD_ROOT/* + +%check +make test + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root,-) +%doc Changes COPYING META.json README +%{perl_vendorarch}/auto/* +%{perl_vendorarch}/Session* +%{_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. + +* Tue Oct 9 2018 Daniel Berteaud - 1.503-1 +- Update to 1.503 + +* Thu Oct 29 2015 Daniel Berteaud - 1.502-1 +- Update to 1.502 + +* Wed Jul 22 2015 Daniel Berteaud - 1.008-2 +- First build using cpanspec