[packages/percona-toolkit] - up to 2.1.4
glen
glen at pld-linux.org
Thu Oct 11 21:36:34 CEST 2012
commit 9f110066a9beb3869cb318c3d926686660d8b7e1
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Thu Oct 11 22:36:31 2012 +0300
- up to 2.1.4
percona-toolkit.spec | 21 +++------------------
1 file changed, 3 insertions(+), 18 deletions(-)
---
diff --git a/percona-toolkit.spec b/percona-toolkit.spec
index 3120518..d29eefe 100644
--- a/percona-toolkit.spec
+++ b/percona-toolkit.spec
@@ -1,23 +1,12 @@
-# TODO
-# - the programs spit in to the face for security, hardcoded paths writing to /tmp:
-# $ grep -r /tmp/ bin | wc -l
-# 187
-# so unless you're masohist never run the programs as root or in host where
-# you have hostile users
-# https://bugs.launchpad.net/percona-toolkit/+bug/871438
-# - TODO is to patch code to use mktemp-related or private workdirs
-# - TODO # Mounted Filesystems ########################################
-#/usr/bin/pt-summary[1189]: typeset: %5s: not identifier
-
%include /usr/lib/rpm/macros.perl
Summary: Essential command-line utilities for MySQL
Name: percona-toolkit
-Version: 2.0.3
+Version: 2.1.4
Release: 1
License: GPL v2
Group: Applications/Databases
Source0: https://www.percona.com/downloads/percona-toolkit/%{version}/%{name}-%{version}.tar.gz
-# Source0-md5: 10f394c101067b6bf28427c5d4833330
+# Source0-md5: 686313c3037c557ad21b0508f0bc6d5b
URL: http://www.percona.com/software/percona-toolkit/
BuildRequires: perl-ExtUtils-MakeMaker
BuildRequires: rpm-perlprov >= 4.1-13
@@ -51,13 +40,9 @@ best-known utility toolkits for MySQL server administration.
# change shebang to be actual interpreter for rpm to generate deps on the
# interpreters.
-%{__sed} -i -e '1s,^#!.*env perl,#!%{__perl},' bin/pt-*
+%{__sed} -i -e '1s,^#!.*env *perl,#!%{__perl},' bin/pt-*
%{__sed} -i -e '1s,^#!.*env bash,#!/bin/bash,' bin/pt-*
-# insecure programs, see TODO above
-cd bin
-rm pt-pmp
-
%build
%{__perl} Makefile.PL \
INSTALLDIRS=vendor
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/percona-toolkit.git/commitdiff/9f110066a9beb3869cb318c3d926686660d8b7e1
More information about the pld-cvs-commit
mailing list