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
PORTREVISION=	1
7
PORTREVISION=	1
7
CATEGORIES=	net-mgmt
8
CATEGORIES=	net-mgmt
Lines 9-16 Link Here
9
MAINTAINER=	egypcio@FreeBSD.org
10
MAINTAINER=	egypcio@FreeBSD.org
10
COMMENT=	Open Source alternative to Ansible Tower
11
COMMENT=	Open Source alternative to Ansible Tower
11
12
12
BROKEN=		unfetchable
13
14
LICENSE=	MIT
13
LICENSE=	MIT
15
LICENSE_FILE=	${GO_WRKSRC}/LICENSE
14
LICENSE_FILE=	${GO_WRKSRC}/LICENSE
16
15
Lines 67-81 Link Here
67
		go-mgo:mgo:3f83fa5:pkgin4/vendor/gopkg.in/mgo.v2 \
66
		go-mgo:mgo:3f83fa5:pkgin4/vendor/gopkg.in/mgo.v2 \
68
		go-yaml:yaml:v2.2.1:pkgin5/vendor/gopkg.in/yaml.v2
67
		go-yaml:yaml:v2.2.1:pkgin5/vendor/gopkg.in/yaml.v2
69
68
70
OPTIONS_DEFINE=	MYSQL
71
MYSQL_USES=	mysql
72
73
post-patch:
69
post-patch:
74
	${REINPLACE_CMD} 's/%%PORTVERSION%%/${PORTVERSION}/g' \
70
	${REINPLACE_CMD} 's/%%PORTVERSION%%/${PORTVERSION}/g' \
75
	  ${WRKSRC}/util/config.go
71
	  ${WRKSRC}/util/config.go
76
72
77
post-install:
73
post-install:
78
	${MKDIR} ${STAGEDIR}${PREFIX}/etc/semaphore
74
	${MKDIR} ${STAGEDIR}${PREFIX}/etc/${PORTNAME}
79
	${CP} ${WRKSRC}/config.json ${STAGEDIR}${PREFIX}/etc/semaphore/semaphore_config.json.sample
75
	${CP} ${WRKSRC}/config.json ${STAGEDIR}${PREFIX}/etc/${PORTNAME}/semaphore_config.json.sample
76
	${MKDIR} ${STAGEDIR}${PREFIX}/share/${PORTNAME}
77
	${CP} ${WRKSRC}/db/migrations/*.sql ${STAGEDIR}${PREFIX}/share/${PORTNAME}
80
78
81
.include <bsd.port.mk>
79
.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