Initial commit

This commit is contained in:
Andrew S. Rightenburg 2023-03-24 13:49:21 -04:00
parent 7fa5da60e6
commit 4c422ad575
9 changed files with 67 additions and 0 deletions

5
debian/changelog vendored Normal file
View File

@ -0,0 +1,5 @@
randomtext (1.0) bullseye; urgency=low
* Initial release
-- rail5 <andrew@rail5.org> Tue, 24 Mar 2023 13:43:12 -0400

1
debian/compat vendored Normal file
View File

@ -0,0 +1 @@
10

14
debian/control vendored Normal file
View File

@ -0,0 +1,14 @@
Source: randomtext
Maintainer: rail5 <andrew@rail5.org>
Build-Depends: debhelper (>= 8.0.0)
Standards-Version: 3.9.3
Section: utils
Package: randomtext
Version: 1.0
License: GPL-3.0
Vendor: rail5 <andrew@rail5.org>
Priority: optional
Architecture: any
Depends: coreutils
Description: Converts output from /dev/urandom to printable ASCII

16
debian/copyright vendored Normal file
View File

@ -0,0 +1,16 @@
Copyright (C) 2022 Andrew S Rightenburg (rail5)
ocrshot is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
Software Foundation; either version 3, or (at your option) any later
version.
ocrshot is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
for more details.
You should have received a copy of the GNU General Public License
along with ocrshot. If not, see <http://www.gnu.org/licenses/>.
On Debian systems, the complete text of the GNU General Public License
can be found in `/usr/share/common-licenses/GPL-3'.

1
debian/manpages vendored Normal file
View File

@ -0,0 +1 @@
debian/randomtext.8

15
debian/randomtext.8 vendored Normal file
View File

@ -0,0 +1,15 @@
.\" Manpage for randomtext
.\" Contact andrew@rail5.org to correct errors or typos.
.TH man 8 "24 March 2023" "1.0" "randomtext man page"
.SH NAME
randomtext
.SH SYNOPSIS
randomtext
.SH DESCRIPTION
randomtext outputs printable ASCII from /dev/urandom
.SH OPTIONS
No options
.SH BUGS
No known bugs.
.SH AUTHOR
rail5 (andrew@rail5.org)

6
debian/rules vendored Normal file
View File

@ -0,0 +1,6 @@
#!/usr/bin/make -f
%:
dh $@
override_dh_auto_install:
install -D -m 0755 randomtext $$(pwd)/debian/randomtext/usr/bin/randomtext

6
makefile Normal file
View File

@ -0,0 +1,6 @@
all:
chmod +x randomtext
install:
install -m 0755 randomtext /usr/bin

3
randomtext Normal file
View File

@ -0,0 +1,3 @@
#!/bin/bash
cat /dev/urandom | tr -dc '[:print:]'