Ticket #68676: Portfile.5

File Portfile.5, 4.1 KB (added by RobK88, 10 months ago)

Portfile v5 - Streamlined. This also works!

Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2
3PortSystem          1.0
4PortGroup           golang 1.0
5
6go.setup            github.com/yitsushi/totp-cli 1.8.2 v
7revision            0
8
9categories          security
10maintainers         {gmail.com:smanojkarthick @manojkarthick} \
11                    {hotmail.com:amtor @RobK88} \
12                    openmaintainer
13
14license             MIT
15
16description         Authy/Google Authenticator like TOTP CLI tool written in Go.
17
18long_description    A simple TOTP (Time-based One-time Password) CLI tool. \
19                    TOTP is the most common mechanism for 2FA (Two-Factor-Authentication). \
20                    You can manage and organize your accounts with namespaces and protect your data with a password.
21
22checksums           ${distname}${extract.suffix} \
23                        rmd160  e0600da62cc12a7deb1e309031b89e762cfa61e3 \
24                        sha256  3e22464a5669829927cb08611809bc862137a1a876bcca4c10979406baee41a3 \
25                        size    20096
26
27go.vendors          gopkg.in/yaml.v3 \
28                        lock    v3.0.1 \
29                        rmd160  e85ac1368fb7f9ef945b7fd7bd608a1f0d261c12 \
30                        sha256  f3ea6be3f405ec25f8799773355aba54f8831d11f5315a01155bdc69b92eca7b \
31                        size    91208 \
32                    golang.org/x/term \
33                        lock    v0.14.0 \
34                        rmd160  c0fc38b7b1173e7ee521d528eafd3b597a53ff7b \
35                        sha256  f903d4d9d0aa62c6cfde13716a7481134ab8b12b117d01c71aa8674e1d201192 \
36                        size    14749 \
37                    golang.org/x/sys \
38                        lock    v0.14.0 \
39                        rmd160  d36195a767e48169c413eb77843e71fa014e7ac2 \
40                        sha256  9407ff6fbe0423f2559a99f7ad55479e1eb20201c5dfb9e885abb83c7b44bfc4 \
41                        size    1442384 \
42                    golang.org/x/crypto \
43                        lock    v0.15.0 \
44                        rmd160  08e93131b3d22ceacee5f50d56f88ff2bb591df5 \
45                        sha256  bc663378acfc6d12da33eb2a58fccd7c8c3e254e86bcff44fe714088c05bff93 \
46                        size    1801178 \
47                    github.com/urfave/cli \
48                        lock    v2.25.7 \
49                        rmd160  54cb9b78d2762c931d2ec1f83015a8147158237e \
50                        sha256  a09c96d3722f1efdcba7677bc9ef9394947e22f7f1e235edf923607c3f8b942c \
51                        size    3482618 \
52                    github.com/cpuguy83/go-md2man \
53                        lock    v2.0.3 \
54                        rmd160  f44cb99228e4f418c00979bf850d568837755b76 \
55                        sha256  712375b6a4472b6eff9225cdf3e01a4d33e1e0753f713874ecd67a0d0c74bfea \
56                        size    64980 \
57                    github.com/xrash/smetrics \
58                        lock    039620a656736e6ad994090895784a7af15e0b80 \
59                        rmd160  55c9e9f554905046a0db05723db5a9d95c6b2d41 \
60                        sha256  996b007cfb8fd8308b8f1912bf3863a108edeb07e1e705b8294e13c7a3a662cb \
61                        size    1823438 \
62                    github.com/FiloSottile/age \
63                        lock    v1.1.1 \
64                        rmd160  5e09dc3b85d53c92b62c114355097f51a8f79690 \
65                        sha256  007f2a349124a61c8357a8d34703f420248a4cd9c0c00892efab8186310baa8c \
66                        size    204319 \
67                    github.com/russross/blackfriday \
68                        lock    v2.1.0 \
69                        rmd160  c42a9332a2c2f3074c6f7e8d37a58d6148d2af08 \
70                        sha256  c4df56f2012a7d16471418245e78b5790569e27bbe8d72a860d7117a801a7fae \
71                        size    92950
72
73post-extract {
74                    file mkdir ${workpath}/gopath/src/filippo.io
75                    ln -s ${workpath}/gopath/src/github.com/FiloSottile/age ${workpath}/gopath/src/filippo.io/age
76}
77
78destroot {
79                    xinstall -m 0755 ${worksrcpath}/${name} ${destroot}${prefix}/bin/
80}