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

Collapse All | Expand All

(-)www/minio/distinfo (-3 / +7 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1482379014
1
TIMESTAMP = 1487339361
2
SHA256 (minio-minio-2016.12.13.17.19.42-RELEASE.2016-12-13T17-19-42Z_GH0.tar.gz) = 1a67a85af1cf57627383e02ad339d0bbc61a4679cadf07f1179814a8725643f4
2
SHA256 (minio-minio-2017.02.16.01.47.30-RELEASE.2017-02-16T01-47-30Z_GH0.tar.gz) = 683e4c10cb69e8fdacacc9f6ed8fde3642ea51b40cf35a3b1f44b9812d6fff5f
3
SIZE (minio-minio-2016.12.13.17.19.42-RELEASE.2016-12-13T17-19-42Z_GH0.tar.gz) = 3132204
3
SIZE (minio-minio-2017.02.16.01.47.30-RELEASE.2017-02-16T01-47-30Z_GH0.tar.gz) = 3574842
4
SHA256 (hashicorp-go-version-03c5bf6_GH0.tar.gz) = be08ba50bf40d1039e850b79763383d5230a0cfc65c4689c4d404bf5a4f42451
5
SIZE (hashicorp-go-version-03c5bf6_GH0.tar.gz) = 11619
6
SHA256 (minio-mc-RELEASE.2017-02-06T20-16-19Z_GH0.tar.gz) = 2ee46a826ff961683d8ed25e18598576a68bdebe79dcce9adf3219d34f9ec64c
7
SIZE (minio-mc-RELEASE.2017-02-06T20-16-19Z_GH0.tar.gz) = 1009728
(-)www/minio/files/minio.in (+23 lines)
Line 0 Link Here
1
#!/bin/sh
2
3
# PROVIDE: minio
4
# KEYWORD: shutdown
5
6
minio_enable="${minio_enable-NO}"
7
minio_config="${minio_config-/etc/minio}"
8
minio_disks="${minio_disks}"
9
minio_address="${minio_address-:9000}"
10
11
. /etc/rc.subr
12
13
load_rc_config ${name}
14
15
name=minio
16
rcvar=minio_enable
17
18
pidfile="/var/run/${name}.pid"
19
20
command="/usr/sbin/daemon"
21
command_args="-c -f -p ${pidfile} /usr/local/bin/${name} -C \"${minio_config}\" server --address=\"${minio_address}\" ${minio_disks}"
22
23
run_rc_command "$1"
(-)www/minio/Makefile (-5 / +22 lines)
Lines 1-26 Link Here
1
# $FreeBSD: head/www/minio/Makefile 429568 2016-12-26 19:36:25Z swills $
1
# $FreeBSD: head/www/minio/Makefile 429568 2016-12-26 19:36:25Z swills $
2
2
3
PORTNAME=	minio
3
PORTNAME=	minio
4
PORTVERSION=	2016.12.13.17.19.42
4
PORTVERSION=	2017.02.16.01.47.30
5
CATEGORIES=	www
5
CATEGORIES=	www
6
6
7
MAINTAINER=	swills@FreeBSD.org
7
MAINTAINER=	swills@FreeBSD.org
8
COMMENT=	Amazon S3 compatible object storage server
8
COMMENT=	Amazon S3 compatible object storage server
9
9
10
LICENSE=	APACHE20
11
10
BUILD_DEPENDS=	go>=1.7:lang/go \
12
BUILD_DEPENDS=	go>=1.7:lang/go \
11
		bash:shells/bash
13
		bash:shells/bash
12
14
13
USES=		gmake
15
USES=	compiler go
14
16
15
USE_GITHUB=	yes
17
USE_GITHUB=	yes
16
GH_TAGNAME=	RELEASE.2016-12-13T17-19-42Z
18
GH_TAGNAME=	RELEASE.2017-02-16T01-47-30Z
17
GH_SUBDIR=	src/github.com/${GH_ACCOUNT}/${PORTNAME}
19
GH_SUBDIR=	src/github.com/minio/minio
20
GH_TUPLE=	\
21
	hashicorp:go-version:03c5bf6:go_version/src/github.com/hashicorp/go-version \
22
	minio:mc:RELEASE.2017-02-06T20-16-19Z:mc/src/github.com/minio/mc
18
MAKE_ENV=	GOPATH=${WRKSRC} GOROOT=${LOCALBASE}/go
23
MAKE_ENV=	GOPATH=${WRKSRC} GOROOT=${LOCALBASE}/go
19
24
20
STRIP=		# stripping can break go binaries
25
STRIP=		# stripping can break go binaries
21
PLIST_FILES=	bin/minio
26
PLIST_FILES=	bin/minio
22
27
28
USE_RC_SUBR=	minio
29
30
do-build:
31
	cd ${GO_WRKSRC}; ${SETENV} ${MAKE_ENV} \
32
		go build -ldflags "-X main.GitDescribe=${DISTVERSIONFULL}" -o bin/minio
33
23
do-install:
34
do-install:
24
	${INSTALL_PROGRAM} ${WRKSRC}/src/github.com/${GH_ACCOUNT}/${PORTNAME}/bin/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
35
	${INSTALL_PROGRAM} ${WRKSRC}/src/github.com/${GH_ACCOUNT}/${PORTNAME}/bin/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
25
36
26
.include <bsd.port.mk>
37
.include <bsd.port.pre.mk>
38
39
.if ${COMPILER_TYPE} == clang
40
BUILD_ENV=  CC=clang
41
.endif
42
43
.include <bsd.port.post.mk>

Return to bug 217173