View | Details | Raw Unified | Return to bug 213639
Collapse All | Expand All

(-)sysutils/restic/Makefile (-20 / +5 lines)
Lines 1-39 Link Here
1
# $FreeBSD$
1
# $FreeBSD$
2
2
3
PORTNAME=	restic
3
PORTNAME=	restic
4
PORTVERSION=	0.1.0
4
PORTVERSION=	0.3.3
5
PORTREVISION=	1
6
DISTVERSIONPREFIX=	v
5
DISTVERSIONPREFIX=	v
7
CATEGORIES=	sysutils
6
CATEGORIES=	sysutils
8
7
9
MAINTAINER=	wg@FreeBSD.org
8
MAINTAINER=	wg@FreeBSD.org
10
COMMENT=	Restic backup program
9
COMMENT=	Restic backup program
11
10
12
BUILD_DEPENDS=	${LOCALBASE}/bin/go:lang/go
11
LICENSE=	BSD2CLAUSE
13
14
BROKEN=		fails to build
15
12
13
USES=		go
16
USE_GITHUB=	yes
14
USE_GITHUB=	yes
17
GH_TUPLE=	restic:chunker:16a28ff:chunker/src/github.com/restic/chunker \
18
		juju:errors:1b5e39b:errors/src/github.com/juju/errors \
19
		golang:crypto:74f810a:crypto/src/golang.org/x/crypto
20
15
21
STRIP=		# stripping can break go binaries
16
STRIP=		# stripping can break go binaries
22
17
23
# Seems to build even less when using
24
# GH_SUBDIR=/src/github.com/${GH_ACCOUNT}/${PORTNAME} instead of this
25
# post-extract thing:
26
post-extract:
27
	@${MKDIR} ${WRKSRC}/src/github.com/${GH_ACCOUNT}/${PORTNAME}
28
.for src in CONTRIBUTING.md Godeps LICENSE Makefile README.md VERSION Vagrantfile appveyor.yml archiver.go archiver_int_test.go archiver_test.go backend build.go cache.go cache_test.go checker cmd crypto debug doc doc.go filter fuse lock.go lock_test.go lock_unix.go lock_windows.go node.go node_darwin.go node_freebsd.go node_linux.go node_openbsd.go node_test.go node_unix.go node_windows.go pack pipe progress.go repository restorer.go run_integration_tests.go run_tests.go snapshot.go snapshot_test.go test tree.go tree_test.go walk.go walk_test.go
29
	@${MV} ${WRKSRC}/${src} \
30
		${WRKSRC}/src/github.com/restic/${PORTNAME}
31
.endfor
32
33
do-build:
18
do-build:
34
	@cd ${WRKSRC}/src/github.com/${GH_ACCOUNT}/${PORTNAME}; ${SETENV} GOPATH=${WRKSRC} go run build.go
19
	@(cd ${GO_WRKSRC}; ${SETENV} ${MAKE_ENV} ${GO_ENV} ${GO_CMD} run build.go)
35
20
36
do-install:
21
do-install:
37
	${INSTALL_PROGRAM} ${WRKSRC}/src/github.com/${GH_ACCOUNT}/${PORTNAME}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
22
	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
38
23
39
.include <bsd.port.mk>
24
.include <bsd.port.mk>
(-)sysutils/restic/distinfo (-8 / +3 lines)
Lines 1-8 Link Here
1
SHA256 (restic-restic-v0.1.0_GH0.tar.gz) = df7842cb690a56ce5371013a958d9f324072429897511d4bbfc092d76303f198
1
TIMESTAMP = 1483974957
2
SIZE (restic-restic-v0.1.0_GH0.tar.gz) = 13368404
2
SHA256 (restic-restic-v0.3.3_GH0.tar.gz) = e98da8f712ae0f33e0d1e5e36cbd130ed15dc7bd42e73a33754b6b4f0322177d
3
SHA256 (restic-chunker-16a28ff_GH0.tar.gz) = e5028b6fbc39997cf8ac6ba81025681228ddb1d80558a9acd6c2f10a0051c3cc
3
SIZE (restic-restic-v0.3.3_GH0.tar.gz) = 22919640
4
SIZE (restic-chunker-16a28ff_GH0.tar.gz) = 12241
5
SHA256 (juju-errors-1b5e39b_GH0.tar.gz) = bf7ec9986aa03ad916f88e96c3860b8c7fb2705ed760f72f4149a6fc2341d53d
6
SIZE (juju-errors-1b5e39b_GH0.tar.gz) = 15611
7
SHA256 (golang-crypto-74f810a_GH0.tar.gz) = 25e0c9cb7c6d6a5935aa318c9792fa6e18c8e0238994b5be039f90c8d58fd680
8
SIZE (golang-crypto-74f810a_GH0.tar.gz) = 864642

Return to bug 213639