mirror of
https://github.com/wneessen/apg-go.git
synced 2024-11-09 15:52:54 +01:00
Merge pull request #22 from wneessen/dev
Updated OpenBSD ports file and added brew formulae
This commit is contained in:
commit
1539c265f6
5 changed files with 33 additions and 33 deletions
17
buildfiles/brew/apg-go.rb
Normal file
17
buildfiles/brew/apg-go.rb
Normal file
|
@ -0,0 +1,17 @@
|
|||
class ApgGo < Formula
|
||||
desc "\"Automated Password Generator\"-clone written in Go"
|
||||
homepage "https://github.com/wneessen/apg-go/"
|
||||
url "https://github.com/wneessen/apg-go/archive/refs/tags/v0.3.1.tar.gz"
|
||||
sha256 "1a798bd729c2985a11001118ad7d222e75c4f01e642184c37dec409a899a565b"
|
||||
license "MIT"
|
||||
|
||||
depends_on "go" => :build
|
||||
|
||||
def install
|
||||
system "go", "build", *std_go_args
|
||||
end
|
||||
|
||||
test do
|
||||
system "go", "test", "github.com/wneessen/apg-go"
|
||||
end
|
||||
end
|
|
@ -1,38 +1,21 @@
|
|||
COMMENT = "automated password generator" clone written in Go
|
||||
# $OpenBSD$
|
||||
|
||||
V = 0.3.1
|
||||
COMMENT = "automated password generator" clone written in Go
|
||||
|
||||
DISTNAME = v$V
|
||||
GH_ACCOUNT = wneessen
|
||||
GH_PROJECT = apg-go
|
||||
GH_TAGNAME = v0.3.1
|
||||
|
||||
REVISION = 1
|
||||
CATEGORIES = security
|
||||
|
||||
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/
|
||||
MAINTAINER = Winni Neessen <wn@neessen.net>
|
||||
|
||||
# MIT
|
||||
PERMIT_PACKAGE = Yes
|
||||
PERMIT_PACKAGE = Yes
|
||||
|
||||
MODULES = lang/go
|
||||
MODGO_TYPE = bin
|
||||
MODULES = lang/go
|
||||
MODGO_TYPE = bin
|
||||
|
||||
ALL_TARGET = wneessen/apg-go
|
||||
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>
|
||||
.include <bsd.port.mk>
|
|
@ -1,2 +1,2 @@
|
|||
SHA256 (v0.3.1.tar.gz) = 1a798bd729c2985a11001118ad7d222e75c4f01e642184c37dec409a899a565b
|
||||
SIZE (v0.3.1.tar.gz) = 16576
|
||||
SHA256 (apg-go-0.3.1.tar.gz) = GnmL1ynCmFoRABEYrX0iLnXE8B5kIYTDfexAmomaVls=
|
||||
SIZE (apg-go-0.3.1.tar.gz) = 16576
|
||||
|
|
|
@ -11,4 +11,4 @@ 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
|
||||
repository at https://github.com/wneessen/apg-go
|
|
@ -1,2 +1,2 @@
|
|||
@comment $OpenBSD: PLIST,v$
|
||||
@bin bin/apg-go
|
||||
@bin bin/apg-go
|
Loading…
Reference in a new issue