summaryrefslogtreecommitdiffstats
path: root/puppet.spec
diff options
context:
space:
mode:
authorTodd Zullinger <tmz@fedoraproject.org>2010-01-05 22:41:36 +0000
committerTodd Zullinger <tmz@fedoraproject.org>2010-01-05 22:41:36 +0000
commit551a9632265353b2c1a259efdd52cce61a1b7f5b (patch)
tree31f255d38ac5a1747d1aae61b320dfc3906ee31e /puppet.spec
parentc5e32e36ad326f9d9d171364e57ee5b797e258c2 (diff)
downloadpuppet-package-551a9632265353b2c1a259efdd52cce61a1b7f5b.tar.gz
puppet-package-551a9632265353b2c1a259efdd52cce61a1b7f5b.tar.xz
puppet-package-551a9632265353b2c1a259efdd52cce61a1b7f5b.zip
Update to 0.25.2puppet-0_25_2-1_el4_1
- Fixes CVE-2010-0156, tmpfile security issue (#502881) - Install auth.conf, puppetqd manpage, and queuing examples/docs - Replace %%define with %%global for macros
Diffstat (limited to 'puppet.spec')
-rw-r--r--puppet.spec32
1 files changed, 20 insertions, 12 deletions
diff --git a/puppet.spec b/puppet.spec
index 0e8a7a0..ef5d2fc 100644
--- a/puppet.spec
+++ b/puppet.spec
@@ -1,22 +1,18 @@
# Augeas and SELinux requirements may be disabled at build time by passing
# --without augeas and/or --without selinux to rpmbuild or mock
-%{!?ruby_sitelibdir: %define ruby_sitelibdir %(ruby -rrbconfig -e 'puts Config::CONFIG["sitelibdir"]')}
-%define confdir conf/redhat
+%{!?ruby_sitelibdir: %global ruby_sitelibdir %(ruby -rrbconfig -e 'puts Config::CONFIG["sitelibdir"]')}
+%global confdir conf/redhat
Name: puppet
-Version: 0.25.1
-Release: 1%{?dist}
+Version: 0.25.2
+Release: 1%{?dist}.1
Summary: A network tool for managing many disparate systems
License: GPLv2+
URL: http://puppet.reductivelabs.com/
Source0: http://reductivelabs.com/downloads/puppet/%{name}-%{version}.tar.gz
-# Brown paper bag fix for my killproc blunder (tmz)
-Patch0: puppet-0.25.1-server-initscript.patch
-# https://bugzilla.redhat.com/475201
-Patch1: puppet-0.25.1-0001-Initialize-supplementary-groups-ported-patch-from-0..patch
# https://bugzilla.redhat.com/495096
-Patch2: puppet-0.25.1-0002-Correct-rundir-permissions.patch
+Patch0: puppet-0.25.1-0002-Correct-rundir-permissions.patch
Group: System Environment/Base
@@ -72,8 +68,6 @@ The server can also function as a certificate authority and file server.
%prep
%setup -q
%patch0 -p1
-%patch1 -p1
-%patch2 -p1
%build
# Fix some rpmlint complaints
@@ -90,6 +84,9 @@ chmod +x ext/puppetstoredconfigclean.rb
find examples/ -type f -empty | xargs rm
find examples/ -type f | xargs chmod a-x
+# puppet-queue.conf is more of an example, used for stompserver
+mv conf/puppet-queue.conf examples/etc/puppet/
+
%install
rm -rf %{buildroot}
ruby install.rb --destdir=%{buildroot} --quick --no-rdoc
@@ -104,6 +101,7 @@ install -Dp -m0644 %{confdir}/server.sysconfig %{buildroot}%{_sysconfdir}/syscon
install -Dp -m0755 %{confdir}/server.init %{buildroot}%{_initrddir}/puppetmaster
install -Dp -m0644 %{confdir}/fileserver.conf %{buildroot}%{_sysconfdir}/puppet/fileserver.conf
install -Dp -m0644 %{confdir}/puppet.conf %{buildroot}%{_sysconfdir}/puppet/puppet.conf
+install -Dp -m0644 conf/auth.conf %{buildroot}%{_sysconfdir}/puppet/auth.conf
install -Dp -m0644 %{confdir}/logrotate %{buildroot}%{_sysconfdir}/logrotate.d/puppet
# We need something for these ghosted files, otherwise rpmbuild
@@ -131,7 +129,7 @@ install -Dp -m0644 ext/vim/syntax/puppet.vim $vimdir/syntax/puppet.vim
%files
%defattr(-, root, root, 0755)
-%doc CHANGELOG COPYING LICENSE README examples
+%doc CHANGELOG COPYING LICENSE README README.queueing examples
%{_bindir}/pi
%{_bindir}/puppet
%{_bindir}/ralsh
@@ -144,6 +142,7 @@ install -Dp -m0644 ext/vim/syntax/puppet.vim $vimdir/syntax/puppet.vim
%dir %{_sysconfdir}/puppet
%config(noreplace) %{_sysconfdir}/sysconfig/puppet
%config(noreplace) %{_sysconfdir}/puppet/puppet.conf
+%config(noreplace) %{_sysconfdir}/puppet/auth.conf
%ghost %config(noreplace,missingok) %{_sysconfdir}/puppet/puppetca.conf
%ghost %config(noreplace,missingok) %{_sysconfdir}/puppet/puppetd.conf
%config(noreplace) %{_sysconfdir}/logrotate.d/puppet
@@ -177,6 +176,7 @@ install -Dp -m0644 ext/vim/syntax/puppet.vim $vimdir/syntax/puppet.vim
%{_mandir}/man8/filebucket.8.gz
%{_mandir}/man8/puppetmasterd.8.gz
%{_mandir}/man8/puppetrun.8.gz
+%{_mandir}/man8/puppetqd.8.gz
# Fixed uid/gid were assigned in bz 472073 (Fedora), 471918 (RHEL-5),
# and 471919 (RHEL-4)
@@ -222,6 +222,14 @@ fi
rm -rf %{buildroot}
%changelog
+* Tue Jan 05 2010 Todd Zullinger <tmz@pobox.com> - 0.25.2-1.1
+- Replace %%define with %%global for macros
+
+* Tue Jan 05 2010 Todd Zullinger <tmz@pobox.com> - 0.25.2-1
+- Update to 0.25.2
+- Fixes CVE-2010-0156, tmpfile security issue (#502881)
+- Install auth.conf, puppetqd manpage, and queuing examples/docs
+
* Wed Nov 25 2009 Jeroen van Meeuwen <j.van.meeuwen@ogd.nl> - 0.25.1-1
- New upstream version