Merge pull request #19 from wneessen/dev

Added OpenBSD ports files
This commit is contained in:
Winni Neessen 2021-04-17 14:02:11 +02:00 committed by GitHub
commit 8dd24e4211
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 58 additions and 0 deletions

View file

@ -0,0 +1,40 @@
# $OpenBSD: Makefile,v 1.3 2020/04/17 23:59:50 sthen Exp $
COMMENT = "automated password generator" clone written in Go
V = 0.3.1
DISTNAME = v$V
REVISION = 1
PKGNAME = apg-go-$V
CATEGORIES = security
HOMEPAGE = https://github.com/wneessen/apg-go
MAINTAINER = Winni Neessen <wn@neessen.net>
MASTER_SITES = https://github.com/wneessen/apg-go/archive/refs/tags/
# MIT
PERMIT_PACKAGE = Yes
MODULES = lang/go
MODGO_TYPE = bin
ALL_TARGET = wneessen/apg-go
post-extract:
mv ${WRKDIR}/${PKGNAME} ${WRKDIR}/${DISTNAME}
test:
cd ${WRKDIR} && ${MODGO_CMD} test ${ALL_TARGET}
build:
mkdir -p ${MODGO_WORKSPACE}/bin
cd ${WRKDIR} && ${MODGO_CMD} build \
-o ${MODGO_WORKSPACE}/bin ${ALL_TARGET}
.include <bsd.port.mk>

View file

@ -0,0 +1,2 @@
SHA256 (v0.3.1.tar.gz) = 1a798bd729c2985a11001118ad7d222e75c4f01e642184c37dec409a899a565b
SIZE (v0.3.1.tar.gz) = 16576

View file

@ -0,0 +1,14 @@
apg-go is a simple APG-like password generator written in Go.
It tries to replicate the functionality of the "Automated Password Generator",
which hasn't been maintained since 2003. Since more and more Unix distributions
are abondoning the tool, I was 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.
Since FIPS-181 (pronouncable passwords) has been withdrawn in 2015, was is
no use in replicating that feature. Therfore apg-go does not support
pronouncable passwords.
For feature requests or bug reports, please create an issue in the Github
repository at https://github.com/wneessen/apg-go

View file

@ -0,0 +1,2 @@
@comment $OpenBSD: PLIST,v$
@bin bin/apg-go