mirror of
https://github.com/wneessen/apg-go.git
synced 2024-12-23 11:40:38 +01:00
Added OpenBSD ports files
This commit is contained in:
parent
42d3868ea3
commit
b1a201bcff
4 changed files with 58 additions and 0 deletions
40
buildfiles/openbsd/Makefile
Normal file
40
buildfiles/openbsd/Makefile
Normal 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>
|
2
buildfiles/openbsd/distinfo
Normal file
2
buildfiles/openbsd/distinfo
Normal file
|
@ -0,0 +1,2 @@
|
|||
SHA256 (v0.3.1.tar.gz) = 1a798bd729c2985a11001118ad7d222e75c4f01e642184c37dec409a899a565b
|
||||
SIZE (v0.3.1.tar.gz) = 16576
|
14
buildfiles/openbsd/pkg/DESCR
Normal file
14
buildfiles/openbsd/pkg/DESCR
Normal 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
|
2
buildfiles/openbsd/pkg/PLIST
Normal file
2
buildfiles/openbsd/pkg/PLIST
Normal file
|
@ -0,0 +1,2 @@
|
|||
@comment $OpenBSD: PLIST,v$
|
||||
@bin bin/apg-go
|
Loading…
Reference in a new issue