Author: glen Date: Tue Dec 14 21:40:11 2010 GMT Module: packages Tag: HEAD ---- Log message: - fix invalid chmod mode
---- Files affected: packages/cacti-plugin-boost: cacti-plugin-boost.spec (1.8 -> 1.9) , chmod.patch (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: packages/cacti-plugin-boost/cacti-plugin-boost.spec diff -u packages/cacti-plugin-boost/cacti-plugin-boost.spec:1.8 packages/cacti-plugin-boost/cacti-plugin-boost.spec:1.9 --- packages/cacti-plugin-boost/cacti-plugin-boost.spec:1.8 Tue Dec 14 08:15:02 2010 +++ packages/cacti-plugin-boost/cacti-plugin-boost.spec Tue Dec 14 22:40:06 2010 @@ -7,12 +7,13 @@ Summary(pl.UTF-8): Wtyczka do Cacti - Boost Name: cacti-plugin-boost Version: 4.3 -Release: 0.4 +Release: 0.5 License: GPL v2 Group: Applications/WWW Source0: http://docs.cacti.net/_media/plugin:boost-v%{version}-1.tgz # Source0-md5: f4df111245fd9c11c5496b36e7971ef6 Patch0: paths.patch +Patch1: chmod.patch URL: http://docs.cacti.net/plugin:boost BuildRequires: rpmbuild(macros) >= 1.553 Requires: cacti >= 0.8.7g-6 @@ -53,6 +54,7 @@ mv boost/* .; rmdir boost %undos -f php %patch0 -p1 +%patch1 -p1 %install rm -rf $RPM_BUILD_ROOT @@ -76,6 +78,9 @@ All persons listed below can be reached at <cvs_login>@pld-linux.org $Log$ +Revision 1.9 2010/12/14 21:40:06 glen +- fix invalid chmod mode + Revision 1.8 2010/12/14 07:15:02 glen - it needs to read cachedir to purge old cache ================================================================ Index: packages/cacti-plugin-boost/chmod.patch diff -u /dev/null packages/cacti-plugin-boost/chmod.patch:1.1 --- /dev/null Tue Dec 14 22:40:11 2010 +++ packages/cacti-plugin-boost/chmod.patch Tue Dec 14 22:40:06 2010 @@ -0,0 +1,15 @@ +chmod 666 is invalid, it should be octal: 0666 + +but i'd rather not chmod at all, if webserver can write it, so can it read it. + +really, it should be configurable (perhaps take some cacti var?) +--- cacti-plugin-boost-4.3/setup.php~ 2010-12-14 09:15:05.048058428 +0200 ++++ cacti-plugin-boost-4.3/setup.php 2010-12-14 23:38:26.442892330 +0200 +@@ -929,7 +929,6 @@ + if ($fileptr = fopen($cache_file, "w")) { + fwrite($fileptr, $data["output"], strlen($data["output"])); + fclose($fileptr); +- chmod($cache_file, 666); + } + } + }else{ ================================================================ ---- CVS-web: http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/cacti-plugin-boost/cacti-plugin-boost.spec?r1=1.8&r2=1.9&f=u _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
