initial commit of file from CVS for perl-Session-Token on Fri 14 Jul 14:06:24 BST 2023

This commit is contained in:
Brian Read 2023-07-14 14:06:24 +01:00
parent c40a7ad910
commit 7b6c45c192
7 changed files with 101 additions and 1 deletions

1
.gitattributes vendored Normal file
View File

@ -0,0 +1 @@
*.tar.gz filter=lfs diff=lfs merge=lfs -text

3
.gitignore vendored Normal file
View File

@ -0,0 +1,3 @@
*.rpm
*.log
*spec-20*

19
Makefile Normal file
View File

@ -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)

View File

@ -1,3 +1,11 @@
# perl-Session-Token
3rd Party (Maintained by Koozali) git repo for perl-Session-Token smeserver
3rd Party (Maintained by Koozali) git repo for perl-Session-Token smeserver
## Description
<br />*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*
<br />
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.

BIN
Session-Token-1.503.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

1
contriborbase Normal file
View File

@ -0,0 +1 @@
sme10

65
perl-Session-Token.spec Normal file
View File

@ -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 <daniel@firewall-services.com> - 1.503-1
- Update to 1.503
* Thu Oct 29 2015 Daniel Berteaud <daniel@firewall-services.com> - 1.502-1
- Update to 1.502
* Wed Jul 22 2015 Daniel Berteaud <daniel@firewall-services.com> - 1.008-2
- First build using cpanspec