]> git.pld-linux.org Git - packages/percona-toolkit.git/commitdiff
- up to 2.1.4 auto/th/percona-toolkit-2.1.4-1
authorElan Ruusamäe <glen@delfi.ee>
Thu, 11 Oct 2012 19:36:31 +0000 (22:36 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Thu, 11 Oct 2012 19:36:31 +0000 (22:36 +0300)
percona-toolkit.spec

index 31205185f331a1e3181337ecc3192a4af0c43201..d29eefe283d20c5b11a1322003a960320357a38c 100644 (file)
@@ -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
This page took 0.10205 seconds and 4 git commands to generate.