Ticket #29676: Portfile-puppet.diff
File Portfile-puppet.diff, 2.1 KB (added by nigel@…, 13 years ago) |
---|
-
Portfile
old new 5 5 6 6 name puppet 7 7 conflicts cln 8 version 2.6. 48 version 2.6.8 9 9 categories sysutils 10 10 platforms darwin 11 11 maintainers explanatorygap.net:nigel puppetlabs.com:nigel openmaintainer … … 22 22 homepage http://projects.puppetlabs.com/projects/puppet 23 23 master_sites http://puppetlabs.com/downloads/puppet/ 24 24 25 checksums md5 c0b86f40c8000dae2f0f7f2f91579c2a\26 sha1 b574246b7b067d9fd59e4629830ab4f02b67125f\27 rmd160 7 90218d8c23a15c4db1539b2fde335ecad926d9d25 checksums md5 588dc3343ea66983010e8c4eb58af6af \ 26 sha1 1ea7c166818010accd231027e1e22db9e880ded3 \ 27 rmd160 70366b0e650e74405b87c15b6b0ac9499d75af59 28 28 29 29 depends_lib port:ruby \ 30 30 port:facter … … 33 33 build {} 34 34 test.run no 35 35 destroot.cmd ${prefix}/bin/ruby ${worksrcpath}/install.rb \ 36 --destdir=${destroot} 36 --destdir=${destroot} \ 37 --configdir=${prefix}/etc/puppet 38 39 post-patch { 40 reinplace -E "s|/etc/puppet|${prefix}/etc/puppet|" \ 41 ${worksrcpath}/install.rb \ 42 ${worksrcpath}/lib/puppet/reference/configuration.rb \ 43 ${worksrcpath}/lib/puppet/defaults.rb \ 44 ${worksrcpath}/lib/puppet/util/run_mode.rb 45 reinplace -E "s|/var/lib/puppet|${prefix}/var/puppet|" \ 46 ${worksrcpath}/lib/puppet/reference/configuration.rb \ 47 ${worksrcpath}/lib/puppet/util/run_mode.rb 48 reinplace -E "s|\$confdir/ssl|${prefix}/var/puppet/ssl|" \ 49 ${worksrcpath}/lib/puppet/defaults.rb 50 } 37 51 38 52 set puppetuser puppet 39 53 set puppetgroup puppet … … 43 57 set gid [existsgroup ${puppetgroup}] 44 58 adduser ${puppetuser} gid=${gid} realname=Puppet\ User 45 59 } 60 61 post-destroot { 62 xinstall -d -o ${puppetuser} -g ${puppetgroup} -m 750 ${destroot}/var/puppet/rrd 63 }