initial commit of file from CVS for randpw on Thu Oct 9 11:54:35 AEDT 2025

This commit is contained in:
Trevor Batley
2025-10-09 11:54:35 +11:00
parent 2cb541986a
commit 9333752642
7 changed files with 99 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*

21
Makefile Normal file
View File

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

View File

@@ -1,3 +1,9 @@
# randpw # randpw
3rd Party (Maintained by Koozali) git repo for randpw smecontribs 3rd Party (Maintained by Koozali) git repo for randpw smecontribs
## 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 />

1
contriborbase Normal file
View File

@@ -0,0 +1 @@
contribs10

BIN
randpw-0.0.4.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

63
randpw.spec Normal file
View File

@@ -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 <tests@pialasse.com> 0.0.4-3.sme
- Initial release to contribs 10
* Tue Aug 18 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 0.0.4-2.sme
- Initial release to contribs9
* Sat Jul 25 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 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 <stephdl@de-labrusse.fr> 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 <stephdl@de-labrusse.fr> 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