Merge pull request #11 from wneessen/dev

Updated PKGBUILD for 0.3.0
This commit is contained in:
Winni Neessen 2021-04-01 11:02:31 +02:00 committed by GitHub
commit b2e3d75d77
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 11 deletions

View file

@ -7,7 +7,6 @@
<list default="true" id="fbb0c733-4aa1-4d27-87d5-c7276d8aa613" name="Default Changelist" comment="">
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/README.md" beforeDir="false" afterPath="$PROJECT_DIR$/README.md" afterDir="false" />
<change beforePath="$PROJECT_DIR$/apg.go" beforeDir="false" afterPath="$PROJECT_DIR$/apg.go" afterDir="false" />
<change beforePath="$PROJECT_DIR$/buildfiles/arch-linux/PKGBUILD" beforeDir="false" afterPath="$PROJECT_DIR$/buildfiles/arch-linux/PKGBUILD" afterDir="false" />
</list>
<option name="SHOW_DIALOG" value="false" />
@ -72,7 +71,7 @@
<recent name="C:\Users\Winni Neessen\go\src\apg.go\test" />
</key>
</component>
<component name="RunManager" selected="Go Build.Run Application (show version string)">
<component name="RunManager" selected="Go Test.Test Application">
<configuration name="Run Application (show help text)" type="GoApplicationRunConfiguration" factoryName="Go Application">
<module name="apg.go" />
<working_directory value="$PROJECT_DIR$" />
@ -232,7 +231,8 @@
<MESSAGE value="Let's have centralized IDE config" />
<MESSAGE value="New DEV branch" />
<MESSAGE value="v0.2.9: Replaced standard go-help with custom usage text" />
<option name="LAST_COMMIT_MESSAGE" value="v0.2.9: Replaced standard go-help with custom usage text" />
<MESSAGE value="v0.3.0: Unified the naming convention" />
<option name="LAST_COMMIT_MESSAGE" value="v0.3.0: Unified the naming convention" />
</component>
<component name="VgoProject">
<integration-enabled>true</integration-enabled>

View file

@ -1,4 +1,4 @@
# A "Automated Password Generator"-Clone
# A "Automated Password Generator"-clone
![Go workflow](https://github.com/wneessen/apg-go/actions/workflows/go.yml/badge.svg)
![CodeQL workflow](https://github.com/wneessen/apg-go/actions/workflows/codeql-analysis.yml/badge.svg)
@ -9,12 +9,8 @@ which hasn't been maintained since 2003. Since more and more Unix distributions
looking for an alternative. FreeBSD for example recommends "security/makepasswd", which is written in Perl
but requires a lot of dependency packages and doesn't offer the feature-set/flexibility of APG.
Therefore, as a first attempt, I decided to write
[my own implementation in Perl](https://github.com/wneessen/passwordGen), but since I just started learning Go,
I gave it another try and reproduced apg.pl in Go as apg.go.
Since FIPS-181 (pronouncable passwords) has been withdrawn in 2015, I didn't see any use in replicating that
feature. Therfore apg.go does not support pronouncable passwords.
feature. Therfore apg-go does not support pronouncable passwords.
## Installation
### Binary releases

View file

@ -1,7 +1,7 @@
# Maintainer: "Winni Neessen (https://pebcak.de)
pkgname=apg-go
pkgver=0.2.9
pkgver=0.3.0
pkgrel=1
pkgdesc='A "Automated Password Generator"-clone'
arch=('i686' 'x86_64' 'armv6h' 'armv7h' 'aarch64')
@ -9,7 +9,7 @@ url='https://github.com/wneessen/apg-go'
license=('MIT')
makedepends=('go' 'git')
source=("https://github.com/wneessen/${pkgname}/archive/refs/tags/v${pkgver}.tar.gz")
sha256sums=('de8b8d38e8d5b48d4b59fb01982f1fcc404cc499c7eef57fcdcc0295b8f05971')
sha256sums=('acb750ac03de7d467ef3b5f576a7b7eea47d0a4f521c2647d80f0ebe641d3c56')
prepare() {
cd "${pkgname}-${pkgver}"