From 9333752642c21cf315b04f5cd85844b6caaac223 Mon Sep 17 00:00:00 2001 From: Trevor Batley Date: Thu, 9 Oct 2025 11:54:35 +1100 Subject: [PATCH] initial commit of file from CVS for randpw on Thu Oct 9 11:54:35 AEDT 2025 --- .gitattributes | 1 + .gitignore | 3 +++ Makefile | 21 +++++++++++++++ README.md | 8 +++++- contriborbase | 1 + randpw-0.0.4.tar.gz | 3 +++ randpw.spec | 63 +++++++++++++++++++++++++++++++++++++++++++++ 7 files changed, 99 insertions(+), 1 deletion(-) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 Makefile create mode 100644 contriborbase create mode 100644 randpw-0.0.4.tar.gz create mode 100644 randpw.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..a5e4db4 --- /dev/null +++ b/Makefile @@ -0,0 +1,21 @@ +# Makefile for source rpm: randpw +# $Id: Makefile,v 1.1 2022/08/02 06:13:36 jpp Exp $ +NAME := randpw +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 7d4200a..70a83e6 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,9 @@ # randpw -3rd Party (Maintained by Koozali) git repo for randpw smecontribs \ No newline at end of file +3rd Party (Maintained by Koozali) git repo for randpw smecontribs + +## 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* +
diff --git a/contriborbase b/contriborbase new file mode 100644 index 0000000..9b7fd51 --- /dev/null +++ b/contriborbase @@ -0,0 +1 @@ +contribs10 diff --git a/randpw-0.0.4.tar.gz b/randpw-0.0.4.tar.gz new file mode 100644 index 0000000..72dd503 --- /dev/null +++ b/randpw-0.0.4.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:286d4bf284991918a1b3a1ef96ae5eff65bf1af799b30526adaef8553c96b30d +size 9420 diff --git a/randpw.spec b/randpw.spec new file mode 100644 index 0000000..bb3951b --- /dev/null +++ b/randpw.spec @@ -0,0 +1,63 @@ +Summary: a random password generator +%define name randpw +Name: %{name} +%define version 0.0.4 +%define release 3 +Epoch: 9 +Version: %{version} +Release: %{release}%{?dist} +License: GPL +URL: http://www.contribs.org +Group: SMEserver/addon +Source: %{name}-%{version}.tar.gz +BuildArchitectures: noarch +BuildRoot: /var/tmp/%{name}-%{version} +AutoReqProv: no +Requires: openssl +%description +a random password generator created by Hsing-Foo Wang hsingfoo@gmail.com + +%changelog +* Thu Oct 09 2025 BogusDateBot +- Eliminated rpmbuild "bogus date" warnings due to inconsistent weekday, + by assuming the date is correct and changing the weekday. + +* Tue Aug 02 2022 Jean-Philippe Pialasse 0.0.4-3.sme +- Initial release to contribs 10 + +* Tue Aug 18 2015 stephane de Labrusse 0.0.4-2.sme +- Initial release to contribs9 + +* Sat Jul 25 2015 stephane de Labrusse 0.0.4-1 +- openssl is now used to generate the password +- You must give an argument greater or equal than 8 + +* Wed Oct 08 2014 stephane de Labrusse 0.0.3-1 +- new options added to prevent No argument, a negative number, +- zero and non integer argument or a no integer argument part +- -1 0 123abc and abc by Hsing-Foo Wang hsingfoo@gmail.com + +* Tue Oct 07 2014 stephane de Labrusse 0.0.1-1 +- Initial relase, idea from Hsing-Foo Wang hsingfoo@gmail.com + +%prep +%setup +%build + +%install +rm -rf $RPM_BUILD_ROOT +(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) +echo "%doc COPYING" >> %{name}-%{version}-filelist + +%clean +cd .. +rm -rf %{name}-%{version} + +%pre +%preun +%post +%postun + +%files +%defattr(-,root,root) +%attr(755, root,root) /usr/bin/randpw