pkgsrc/sysutils/puppet/Makefile
tonnerre a69f89cbd0 Upgrade sysutils/puppet to version 0.24.8.
This is not the jump to 0.25 people expected, but there are some things to
clear before doing that, so go to the last 0.24 version for now.

Changes since 0.24.7:

 - Fixed #2077 - ralsh user broken on OSX
 - Fixed #2004 - ssh_authorized_key fails if no target is defined
 - Fixed #1629 - incorrect permissions on ssh_authorized_keys created files
 - Fixed #2000 - No default specified for checksum
 - Fixed #2026 - Red Hat ignoring stop method
 - Added ext/dbfix.sql script - fixes common errors in stored configuration
   databases
 - Fixed #1963 - Failing to read /proc/mounts for selinux kills file
   downloads
 - Fixed #2025 - gentoo service provider handle only default init level
 - Fixed #1910 - updated logcheck
 - Fixed #1871 - Sensitive information leaked in log reports
 - Fixed #1956 - Cleaned up variable names to be more sane, clarified
   error messages and fixed incorrect use of 'value' variable rather than
   'member'.
 - Fixed #1831 - Added sprintf function
 - Fixed #1830 - Added regsubst function
 - Updated up2date and service confines to add support for Oracle EL and VM
 - Fixing #1948 and #1953 - augeas ins bug: wrong number of arguments (1 for 3)
 - Fixing #944 - changing error message from warning to info - connection
   recycled
 - Fixed #961 - puppetd creating too many/not closing TCP connections
 - Fixed #1959 - Added column protection for environment schema migration
 - Fixing #1869 - autoloaded files should never leak exceptions
 - Fixing #1543 - Nagios parse errors no longer kill Puppet
 - Fixed #1420 - nagios_serviceescalation not allowing host_name more than
   one type
 - Fixed #1884 - Exported resources are marked as unexported when collected
   on the exporting host
 - Fixed #1922 - Functions squash all arguments into a single hash
 - Fixed #1538 - Yumrepo sets permissions wrongly on files in
   /etc/yum.repos.d
 - Fixed #1936 - Added /* */ support to the vim file
 - Fixed #1541 -  nagios objects write files to clientbucket on every change
 - Fixed #1542 - cannot purge nagios objects
 - Fixing #1912 - gid still works with no 'should' value fixing ralsh issues
 - Fixing the Rakefile to use 'git format-patch'
 - Added README.rst file
 - Enhancements to Stored Configuration performance
 - Added Reductive Labs build library to tasks directory
 - Fixed #1852 - Correct behaviour when no SELinux bindings
 - Updated Red Hat spec file 0.24.7
 - Fixed #1920 - Shadow password corruption
2009-11-11 12:21:52 +00:00

69 lines
2.4 KiB
Makefile

# $NetBSD: Makefile,v 1.7 2009/11/11 12:21:52 tonnerre Exp $
DISTNAME= puppet-0.24.8
CATEGORIES= sysutils
MAINTAINER= tonnerre@NetBSD.org
HOMEPAGE= http://www.reductivelabs.com/projects/puppet/
MASTER_SITES= http://reductivelabs.com/downloads/gems/
COMMENT= Configuration management framework written in Ruby
.include "../../mk/bsd.prefs.mk"
DEPENDS+= ${RUBY_PKGPREFIX}-facter>=1.3.8:../../sysutils/ruby-facter
GEM_BUILD= gemspec
PKG_SYSCONFSUBDIR= puppet
RCD_SCRIPTS= puppetd puppetmasterd
SUBST_CLASSES+= prefix
SUBST_STAGE.prefix= post-patch
SUBST_FILES.prefix= lib/puppet/reference/configuration.rb
SUBST_FILES.prefix+= lib/puppet/defaults.rb spec/unit/util/selinux.rb
SUBST_FILES.prefix+= bin/puppetrun bin/puppet bin/puppetdoc
SUBST_FILES.prefix+= ext/puppetstoredconfigclean.rb ext/puppetlast
SUBST_FILES.prefix+= examples/puppetmasterd.conf man/man8/puppet.8
SUBST_FILES.prefix+= conf/solaris/smf/puppetd.xml
SUBST_FILES.prefix+= conf/solaris/smf/puppetmasterd.xml
SUBST_FILES.prefix+= man/man8/puppetrun.8 man/man8/puppet.conf.8
SUBST_SED.prefix= -e "s|/etc/puppet|${PKG_SYSCONFDIR}|g"
SUBST_SED.prefix+= -e "s|/opt/csw/lib|${PREFIX}/lib|g"
EGDIR= ${PREFIX}/share/examples/${PKGBASE}
CONF_FILES= ${EGDIR}/puppet.conf ${PKG_SYSCONFDIR}/puppet.conf
PLIST_VARS+= sunos
.if ${OPSYS} == "SunOS"
INSTALLATION_DIRS= lib/svc/method ${EGDIR}/svc
CONF_DIRS+= ${VARBASE}/svc/manifest
CONF_FILES+= ${EGDIR}/svc/puppetd.xml ${VARBASE}/svc/manifest/puppetd.xml
CONF_FILES+= ${EGDIR}/svc/puppetmasterd.xml ${VARBASE}/svc/manifest/puppetmasterd.xml
PLIST.sunos= yes
.endif
pre-build:
cd ${WRKSRC} && ${RUBY} -Ilib bin/puppetmasterd \
--confdir=${PKG_SYSCONFDIR:Q} --rundir=${VARBASE:Q}/run \
--genconfig | \
${SED} -e 's/genconfig = true/# genconfig = false/' \
> examples/puppet.conf
post-install:
${INSTALL_DATA_DIR} ${DESTDIR}${EGDIR}
${INSTALL_DATA} ${WRKSRC}/examples/puppet.conf \
${DESTDIR}${EGDIR}
.if ${OPSYS} == "SunOS"
${INSTALL_DATA} ${WRKSRC}/conf/solaris/smf/puppetd.xml \
${DESTDIR}${EGDIR}/svc
${INSTALL_DATA} ${WRKSRC}/conf/solaris/smf/puppetmasterd.xml \
${DESTDIR}${EGDIR}/svc
${INSTALL_SCRIPT} ${WRKSRC}/conf/solaris/smf/svc-puppetd \
${DESTDIR}${PREFIX}/lib/svc/method
${INSTALL_SCRIPT} ${WRKSRC}/conf/solaris/smf/svc-puppetmasterd \
${DESTDIR}${PREFIX}/lib/svc/method
.endif
.include "../../misc/rubygems/rubygem.mk"
.include "../../mk/bsd.pkg.mk"