Lines 2-9
Link Here
|
2 |
# $FreeBSD$ |
2 |
# $FreeBSD$ |
3 |
|
3 |
|
4 |
PORTNAME= puppet |
4 |
PORTNAME= puppet |
5 |
PORTVERSION= 3.6.2 |
5 |
PORTVERSION= 3.7.4 |
6 |
PORTREVISION= 2 |
|
|
7 |
CATEGORIES= sysutils |
6 |
CATEGORIES= sysutils |
8 |
MASTER_SITES= http://downloads.puppetlabs.com/puppet/ |
7 |
MASTER_SITES= http://downloads.puppetlabs.com/puppet/ |
9 |
|
8 |
|
Lines 44-50
Link Here
|
44 |
.if ! ${PORT_OPTIONS:MPACKAGE_ORIGIN} |
43 |
.if ! ${PORT_OPTIONS:MPACKAGE_ORIGIN} |
45 |
EXTRA_PATCHES+= ${FILESDIR}/optpatch-package_root |
44 |
EXTRA_PATCHES+= ${FILESDIR}/optpatch-package_root |
46 |
.else |
45 |
.else |
47 |
BROKEN= PACKAGE_ROOT option patch is incompatable with PACKAGE_ORIGIN patch. |
46 |
BROKEN= PACKAGE_ROOT option patch is incompatible with PACKAGE_ORIGIN patch. |
48 |
.endif |
47 |
.endif |
49 |
.endif |
48 |
.endif |
50 |
|
49 |
|
Lines 75-84
Link Here
|
75 |
@cd ${WRKSRC} && ${SETENV} PREFIX=${PREFIX} ${RUBY} ${WRKSRC}/install.rb --no-configs --destdir=${STAGEDIR} |
74 |
@cd ${WRKSRC} && ${SETENV} PREFIX=${PREFIX} ${RUBY} ${WRKSRC}/install.rb --no-configs --destdir=${STAGEDIR} |
76 |
|
75 |
|
77 |
post-install: |
76 |
post-install: |
|
|
77 |
${MKDIR} ${STAGEDIR}${ETCDIR}/manifests |
78 |
${MKDIR} ${STAGEDIR}${ETCDIR}/modules |
78 |
${MKDIR} ${STAGEDIR}${ETCDIR}/modules |
79 |
${MKDIR} ${STAGEDIR}/var/puppet |
79 |
${MKDIR} ${STAGEDIR}/var/puppet |
80 |
${INSTALL_DATA} ${WRKSRC}/conf/auth.conf ${STAGEDIR}${ETCDIR}/auth.conf-dist |
80 |
${INSTALL_DATA} ${WRKSRC}/conf/auth.conf ${STAGEDIR}${ETCDIR}/auth.conf-dist |
81 |
${RUBY} -I ${STAGEDIR}/${RUBY_SITELIBDIR} ${STAGEDIR}${PREFIX}/bin/puppet master --genconfig \ |
81 |
${RUBY} -I ${STAGEDIR}/${RUBY_SITELIBDIR} ${STAGEDIR}${PREFIX}/bin/puppet agent --genconfig \ |
82 |
--confdir=${ETCDIR} \ |
82 |
--confdir=${ETCDIR} \ |
83 |
--rundir=/var/run/puppet \ |
83 |
--rundir=/var/run/puppet \ |
84 |
--vardir=/var/puppet \ |
84 |
--vardir=/var/puppet \ |