Skip to content

Commit

Permalink
Add pwgen 2.08
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelforney committed May 21, 2021
1 parent 79dfb91 commit daff780
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,9 @@
[submodule "pkg/pounce/src"]
path = pkg/pounce/src
url = https://git.causal.agency/pounce
[submodule "pkg/pwgen/src"]
path = pkg/pwgen/src
url = https://github.com/tytso/pwgen.git
[submodule "pkg/qbe/src"]
path = pkg/qbe/src
url = git://c9x.me/qbe.git
Expand Down
1 change: 1 addition & 0 deletions pkg/gen.lua
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ subgen 'perp'
subgen 'pigz'
subgen 'pixman'
subgen 'pounce'
subgen 'pwgen'
subgen 'python'
subgen 'qbe'
subgen 'rc'
Expand Down
17 changes: 17 additions & 0 deletions pkg/pwgen/gen.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
cflags{
'-std=c99 -Wall -Wpedantic',
'-D _POSIX_C_SOURCE=200809L',
}

exe('pwgen', {
'pwgen.c',
'pw_phonemes.c',
'pw_rand.c',
'randnum.c',
'sha1.c',
'sha1num.c',
})
file('bin/pwgen', '755', '$outdir/pwgen')
man{'pwgen.1'}

fetch 'git'
1 change: 1 addition & 0 deletions pkg/pwgen/src
Submodule src added at c25787
1 change: 1 addition & 0 deletions pkg/pwgen/ver
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
2.08 r0

0 comments on commit daff780

Please sign in to comment.