View | Details | Raw Unified | Return to bug 235056 | Differences between
and this patch

Collapse All | Expand All

(-)b/security/git-secret/Makefile (+31 lines)
Added Link Here
1
# $FreeBSD$
2
3
PORTNAME=	git-secret
4
DISTVERSION=	0.2.5
5
CATEGORIES=	security
6
7
MAINTAINER=	mail@sobolevn.me
8
COMMENT=	Bash tool to store your private data inside a git repository
9
10
LICENSE=	MIT
11
#MASTER_SITES=	https://github.com/sobolevn/git-secret/archive/
12
13
RUN_DEPENDS=	gawk:lang/gawk git:devel/git gpg2:security/gnupg bash:shells/bash
14
15
USE_GITHUB=	yes
16
GH_ACCOUNT=	sobolevn
17
GH_PROJECT=	git-secret
18
GH_TAGNAME=	94d5ae4
19
20
SCRIPTS=	git-secret
21
ALL_TARGET=	git-secret
22
23
post-extract:
24
	@cd ${WRKSRC} && ${CAT} src/version.sh src/_utils/*.sh src/commands/*.sh src/main.sh > git-secret
25
26
do-install:
27
	${INSTALL_SCRIPT} ${WRKSRC}/git-secret ${STAGEDIR}${PREFIX}/bin/
28
	${INSTALL_MAN} ${WRKSRC}/man/man1/*.1 ${STAGEDIR}${PREFIX}/man/man1/
29
	${INSTALL_MAN} ${WRKSRC}/man/man7/*.7 ${STAGEDIR}${PREFIX}/man/man7/
30
31
.include <bsd.port.mk>
(-)b/security/git-secret/NOTES.md (+13 lines)
Added Link Here
1
# Notes for freebsd ports package of git-secret
2
3
## See FreeBSD Porters Handbook <https://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/porting-desc.html>
4
5
## From section 3.4 Testing the Port, Recommended Test Ordering
6
7
-   make stage			(OK)
8
-   make check-orphans		(OK)
9
-   make package		(OK)
10
-   make install		(OK)
11
-   make deinstall		(OK)
12
-   make package (as user)	(NOT TESTED, expected to work)
13
(-)b/security/git-secret/README.md (+56 lines)
Added Link Here
1
# git-secret freebsd port development
2
3
4
Output of tests in /usr/ports/security/git-secret
5
6
````
7
freebsd2# make stage
8
===>  License MIT accepted by the user
9
===>   git-secret-0.2.5 depends on file: /usr/local/sbin/pkg - found
10
===> Fetching all distfiles required by git-secret-0.2.5 for building
11
===>  Extracting for git-secret-0.2.5
12
=> SHA256 Checksum OK for sobolevn-git-secret-0.2.5-94d5ae4_GH0.tar.gz.
13
===>  Patching for git-secret-0.2.5
14
===>  Configuring for git-secret-0.2.5
15
===>  Building for git-secret-0.2.5
16
`git-secret' is up to date.
17
===>  Staging for git-secret-0.2.5
18
===>   git-secret-0.2.5 depends on executable: gawk - found
19
===>   git-secret-0.2.5 depends on executable: git - found
20
===>   git-secret-0.2.5 depends on executable: gpg2 - found
21
===>   Generating temporary packing list
22
install  -m 555 /home/user/freebsd-ports/security/git-secret/work/git-secret-94d5ae4/git-secret /home/user/freebsd-ports/security/git-secret/work/stage/usr/local/bin/
23
install  -m 444 /home/user/freebsd-ports/security/git-secret/work/git-secret-94d5ae4/man/man1/*.1 /home/user/freebsd-ports/security/git-secret/work/stage/usr/local/man/man1/
24
install  -m 444 /home/user/freebsd-ports/security/git-secret/work/git-secret-94d5ae4/man/man7/*.7 /home/user/freebsd-ports/security/git-secret/work/stage/usr/local/man/man7/
25
====> Compressing man pages (compress-man)
26
27
freebsd2# make check-orphans
28
====> Checking for pkg-plist issues (check-plist)
29
===> Parsing plist
30
===> Checking for items in STAGEDIR missing from pkg-plist
31
===> Checking for items in pkg-plist which are not in STAGEDIR
32
===> No pkg-plist issues found (check-plist)
33
34
freebsd2# make package
35
===>  Building package for git-secret-0.2.5
36
37
freebsd2# make install
38
===>  Installing for git-secret-0.2.5
39
===>  Checking if git-secret already installed
40
===>   Registering installation for git-secret-0.2.5
41
Installing git-secret-0.2.5...
42
43
freebsd2# make deinstall
44
===>  Deinstalling for git-secret
45
===>   Deinstalling git-secret-0.2.5
46
Updating database digests format: 100%
47
Checking integrity... done (0 conflicting)
48
Deinstallation has been requested for the following 1 packages (of 0 packages in the universe):
49
50
Installed packages to be REMOVED:
51
    git-secret-0.2.5
52
53
Number of packages to be removed: 1
54
[1/1] Deinstalling git-secret-0.2.5...
55
[1/1] Deleting files for git-secret-0.2.5: 100%
56
````
(-)b/security/git-secret/distinfo (+3 lines)
Added Link Here
1
TIMESTAMP = 1547673384
2
SHA256 (sobolevn-git-secret-0.2.5-94d5ae4_GH0.tar.gz) = 7be13bb5710c8f6e77a53153957e6352b67886432b35dbf10c8d0b92fbe29bea
3
SIZE (sobolevn-git-secret-0.2.5-94d5ae4_GH0.tar.gz) = 73704
(-)b/security/git-secret/pkg-descr (+11 lines)
Added Link Here
1
git-secret is a bash tool which stores private data inside a git repo. 
2
git-secret encrypts tracked files with public keys for users whom you 
3
trust using gpg, allowing permitted users to access encrypted data 
4
using their secret keys. With git-secret, changes to access rights are 
5
made easy and private-public key issues are handled for you. Passwords 
6
do not need to be changed with git-secret when someone's permission 
7
is revoked - just remove their key from the keychain using git secret 
8
killperson their@email.com, and re-encrypt the files, and they won't 
9
be able to decrypt secrets anymore.
10
11
WWW: https://git-secret.io/
(-)b/security/git-secret/pkg-plist (+15 lines)
Added Link Here
1
@(root,root,555) bin/git-secret
2
@(root,root,444) man/man7/git-secret.7.gz
3
@(root,root,444) man/man1/git-secret-add.1.gz
4
@(root,root,444) man/man1/git-secret-clean.1.gz
5
@(root,root,444) man/man1/git-secret-changes.1.gz
6
@(root,root,444) man/man1/git-secret-hide.1.gz
7
@(root,root,444) man/man1/git-secret-usage.1.gz
8
@(root,root,444) man/man1/git-secret-cat.1.gz
9
@(root,root,444) man/man1/git-secret-whoknows.1.gz
10
@(root,root,444) man/man1/git-secret-init.1.gz
11
@(root,root,444) man/man1/git-secret-reveal.1.gz
12
@(root,root,444) man/man1/git-secret-killperson.1.gz
13
@(root,root,444) man/man1/git-secret-remove.1.gz
14
@(root,root,444) man/man1/git-secret-list.1.gz
15
@(root,root,444) man/man1/git-secret-tell.1.gz

Return to bug 235056