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 | # $Id$ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | name vcs_blackbox |
---|
6 | categories security |
---|
7 | platforms darwin |
---|
8 | maintainers whatexit.org:tal openmaintainer |
---|
9 | description Safely store secrets in git/hg/svn repos using GPG encryption |
---|
10 | homepage https://github.com/StackExchange/blackbox |
---|
11 | license BSD |
---|
12 | |
---|
13 | long_description Storing secrets such as passwords, certificates and private keys in Git/Mercurial/SubVersion is dangerous. Blackbox makes it easy to store secrets safely using GPG encryption. They can be easily decrypted for editing or use in production. |
---|
14 | |
---|
15 | # New release procedure: |
---|
16 | # 1. Find tag name on github. |
---|
17 | # 2. Update version number.date: |
---|
18 | version 1.20150203 |
---|
19 | # 3. Update the checksum: |
---|
20 | # wget -o x https://github.com/StackExchange/blackbox/archive/v1.2015MMDD.tar.gz |
---|
21 | # shasum -a 256 x ; rm x |
---|
22 | checksums sha256 56932054db09f7869405bdf0d181ee43995eb45cf0385cd1c88f8609507029aa |
---|
23 | |
---|
24 | master_sites https://github.com/StackExchange/blackbox/archive/ |
---|
25 | distname v${version} |
---|
26 | worksrcdir blackbox-${version} |
---|
27 | |
---|
28 | # Development: Uncomment to test with the "stable" release. |
---|
29 | #fetch.type git |
---|
30 | #git.branch stable |
---|
31 | #git.url https://github.com/StackExchange/blackbox.git |
---|
32 | |
---|
33 | use_configure no |
---|
34 | build {} |
---|
35 | |
---|
36 | destroot { |
---|
37 | system "cd ${worksrcpath} && make packages-macports DESTDIR=${destroot}/${prefix}" |
---|
38 | } |
---|