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

Collapse All | Expand All

(-)net-mgmt/semaphore/Makefile (-7 / +5 lines)
Lines 2-7 Link Here
2
2
3
PORTNAME=	semaphore
3
PORTNAME=	semaphore
4
PORTVERSION=	2.5.1
4
PORTVERSION=	2.5.1
5
PORTREVISION=	1
5
DISTVERSIONPREFIX=	v
6
DISTVERSIONPREFIX=	v
6
CATEGORIES=	net-mgmt
7
CATEGORIES=	net-mgmt
7
8
Lines 8-15 Link Here
8
MAINTAINER=	egypcio@FreeBSD.org
9
MAINTAINER=	egypcio@FreeBSD.org
9
COMMENT=	Open Source alternative to Ansible Tower
10
COMMENT=	Open Source alternative to Ansible Tower
10
11
11
BROKEN=		unfetchable
12
13
LICENSE=	MIT
12
LICENSE=	MIT
14
LICENSE_FILE=	${GO_WRKSRC}/LICENSE
13
LICENSE_FILE=	${GO_WRKSRC}/LICENSE
15
14
Lines 66-80 Link Here
66
		go-mgo:mgo:3f83fa5:pkgin4/vendor/gopkg.in/mgo.v2 \
65
		go-mgo:mgo:3f83fa5:pkgin4/vendor/gopkg.in/mgo.v2 \
67
		go-yaml:yaml:v2.2.1:pkgin5/vendor/gopkg.in/yaml.v2
66
		go-yaml:yaml:v2.2.1:pkgin5/vendor/gopkg.in/yaml.v2
68
67
69
OPTIONS_DEFINE=	MYSQL
70
MYSQL_USES=	mysql
71
72
post-patch:
68
post-patch:
73
	${REINPLACE_CMD} 's/%%PORTVERSION%%/${PORTVERSION}/g' \
69
	${REINPLACE_CMD} 's/%%PORTVERSION%%/${PORTVERSION}/g' \
74
	  ${WRKSRC}/util/config.go
70
	  ${WRKSRC}/util/config.go
75
71
76
post-install:
72
post-install:
77
	${MKDIR} ${STAGEDIR}${PREFIX}/etc/semaphore
73
	${MKDIR} ${STAGEDIR}${PREFIX}/etc/${PORTNAME}
78
	${CP} ${WRKSRC}/config.json ${STAGEDIR}${PREFIX}/etc/semaphore/semaphore_config.json.sample
74
	${CP} ${WRKSRC}/config.json ${STAGEDIR}${PREFIX}/etc/${PORTNAME}/semaphore_config.json.sample
75
	${MKDIR} ${STAGEDIR}${PREFIX}/share/${PORTNAME}
76
	${CP} ${WRKSRC}/db/migrations/*.sql ${STAGEDIR}${PREFIX}/share/${PORTNAME}
79
77
80
.include <bsd.port.mk>
78
.include <bsd.port.mk>
(-)net-mgmt/semaphore/pkg-plist (+19 lines)
Lines 1-2 Link Here
1
bin/semaphore
1
bin/semaphore
2
@sample %%ETCDIR%%/semaphore_config.json.sample
2
@sample %%ETCDIR%%/semaphore_config.json.sample
3
%%DATADIR%%/v0.0.0.sql
4
%%DATADIR%%/v0.1.0.sql
5
%%DATADIR%%/v1.0.0.sql
6
%%DATADIR%%/v1.1.0.sql
7
%%DATADIR%%/v1.2.0.sql
8
%%DATADIR%%/v1.3.0.sql
9
%%DATADIR%%/v1.4.0.sql
10
%%DATADIR%%/v1.5.0.sql
11
%%DATADIR%%/v1.6.0.sql
12
%%DATADIR%%/v1.7.0.sql
13
%%DATADIR%%/v1.8.0.sql
14
%%DATADIR%%/v1.9.0.sql
15
%%DATADIR%%/v2.2.1.sql
16
%%DATADIR%%/v2.3.0.sql
17
%%DATADIR%%/v2.3.1.sql
18
%%DATADIR%%/v2.3.2.sql
19
%%DATADIR%%/v2.4.0.sql
20
%%DATADIR%%/v2.5.0.sql
21

Return to bug 241655