SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
15
databases/percona-toolkit/patches/patch-Makefile_PL
Normal file
15
databases/percona-toolkit/patches/patch-Makefile_PL
Normal file
|
@ -0,0 +1,15 @@
|
|||
--- Makefile.PL.orig Thu Feb 14 18:59:10 2013
|
||||
+++ Makefile.PL Fri Feb 22 17:52:40 2013
|
||||
@@ -5,10 +5,10 @@ WriteMakefile(
|
||||
VERSION => '2.1.9',
|
||||
EXE_FILES => [ <bin/*> ],
|
||||
MAN1PODS => {
|
||||
- 'docs/percona-toolkit.pod' => 'blib/man1/percona-toolkit.1p',
|
||||
+ 'docs/percona-toolkit.pod' => 'blib/man1/percona-toolkit.1',
|
||||
map {
|
||||
(my $name = $_) =~ s/^bin.//;
|
||||
- $_ => "blib/man1/$name.1p";
|
||||
+ $_ => "blib/man1/$name.1";
|
||||
} <bin/*>
|
||||
},
|
||||
MAN3PODS => {}, # man(3) pages are for C libs
|
20
databases/percona-toolkit/patches/patch-bin_pt-mysql-summary
Normal file
20
databases/percona-toolkit/patches/patch-bin_pt-mysql-summary
Normal file
|
@ -0,0 +1,20 @@
|
|||
--- bin/pt-mysql-summary.orig Thu Feb 14 18:59:10 2013
|
||||
+++ bin/pt-mysql-summary Fri Feb 22 17:53:22 2013
|
||||
@@ -623,7 +623,7 @@ shorten() {
|
||||
}
|
||||
|
||||
group_concat () {
|
||||
- sed -e '{H; $!d;}' -e 'x' -e 's/\n[[:space:]]*\([[:digit:]]*\)[[:space:]]*/, \1x/g' -e 's/[[:space:]][[:space:]]*/ /g' -e 's/, //' "${1}"
|
||||
+ sed -e 'H; $!d;' -e 'x' -e 's/\n[[:space:]]*\([[:digit:]]*\)[[:space:]]*/, \1x/g' -e 's/[[:space:]][[:space:]]*/ /g' -e 's/, //' "${1}"
|
||||
}
|
||||
|
||||
# ###########################################################################
|
||||
@@ -2421,7 +2421,7 @@ main() {
|
||||
# Execute the program if it was not included from another file.
|
||||
# This makes it possible to include without executing, and thus test.
|
||||
if [ "${0##*/}" = "$TOOL" ] \
|
||||
- || [ "${0##*/}" = "bash" -a "${_:-""}" = "$0" ]; then
|
||||
+ || [ "${0##*/}" = "sh" -a "${_:-""}" = "$0" ]; then
|
||||
|
||||
# Set up temporary dir.
|
||||
mk_tmpdir
|
14
databases/percona-toolkit/patches/patch-bin_pt-sift
Normal file
14
databases/percona-toolkit/patches/patch-bin_pt-sift
Normal file
|
@ -0,0 +1,14 @@
|
|||
--- bin/pt-sift.orig Fri Aug 3 20:49:24 2012
|
||||
+++ bin/pt-sift Fri Aug 10 12:14:45 2012
|
||||
@@ -137,11 +137,6 @@ main() {
|
||||
eval "PR_$prog_base"="./$prog"
|
||||
elif [ -f "${BASEDIR}/$prog" -a -x "${BASEDIR}/$prog" ]; then
|
||||
eval "PR_$prog_base"="${BASEDIR}/$prog"
|
||||
- elif which "curl" >/dev/null 2>&1; then
|
||||
- echo "Fetching $prog" >&2
|
||||
- curl "http://www.percona.com/get/$prog" > "$prog" && chmod +x "$prog"
|
||||
- eval "PR_$prog_base"="./$prog"
|
||||
- else
|
||||
echo "Cannot find or fetch required program: $prog" >&2
|
||||
exit 1
|
||||
fi
|
11
databases/percona-toolkit/patches/patch-bin_pt-summary
Normal file
11
databases/percona-toolkit/patches/patch-bin_pt-summary
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- bin/pt-summary.orig Thu Feb 14 18:59:10 2013
|
||||
+++ bin/pt-summary Fri Feb 22 17:53:46 2013
|
||||
@@ -2289,7 +2289,7 @@ sigtrap() { local PTFUNCNAME=sigtrap;
|
||||
# Execute the program if it was not included from another file. This makes it
|
||||
# possible to include without executing, and thus test.
|
||||
if [ "${0##*/}" = "$TOOL" ] \
|
||||
- || [ "${0##*/}" = "bash" -a "${_:-""}" = "$0" ]; then
|
||||
+ || [ "${0##*/}" = "sh" -a "${_:-""}" = "$0" ]; then
|
||||
|
||||
# Set up temporary dir.
|
||||
mk_tmpdir
|
Loading…
Add table
Add a link
Reference in a new issue