# HG changeset patch # User holger # Date 1258225617 -3600 # Node ID 9839e927aee226638de098ad40061bf282f50634 # Parent 3b3ba42f2f0e922ff3a05215ed38fa87b1aaccd3 add patch for gunzip compatibility to pigz-2.1.5 diff -r 3b3ba42f2f0e -r 9839e927aee2 app-arch/pigz/Manifest --- a/app-arch/pigz/Manifest Sat Nov 14 03:27:58 2009 +0100 +++ b/app-arch/pigz/Manifest Sat Nov 14 20:06:57 2009 +0100 @@ -1,5 +1,5 @@ AUX pigz-2.1.5-decode-symlinks-to-stdout.patch 512 RMD160 115ae0cdc4187b8cbc2282c3b36aca5f0b8ea5b1 SHA1 158f21fa736d9034b608d5b6fd452919f7d73e51 SHA256 067acf2075e80ef083dd730a557bff87efb39a80b49be760c84bfa4cd73047ce +AUX pigz-2.1.5-gunzip-compat.patch 450 RMD160 a32629933f3cd69b0e177c49cb5621875e1a7760 SHA1 8e31e6c903519a09b6d3f96146ca06ba6952aaf5 SHA256 50e265c76713187c4b22392d5db6ae580758ccbcd7b7cd99de1bf4b9ed24cbed AUX pigz-2.1.5-respect-flags.patch 404 RMD160 e444679d43a33f44c684d99ec782f825bef66bab SHA1 8557dea8496682fa9525278b314178f5c100c9b2 SHA256 8806680b9d1f4099f7f2caa803957b104f2df24bed49b0a41f696060b43b69c4 DIST pigz-2.1.5.tar.gz 93788 RMD160 b02f012e9f87f9f69309574ef7000bf6242b2114 SHA1 9e169aa2f1b08be057760c03c480e64651fa3299 SHA256 ae1f16f1f84c963df512a24f5b676a776ffd95f059291547672917b2f818e53b -EBUILD pigz-2.1.5.ebuild 902 RMD160 3e5bcda1ef72744533194d823b8c0aca45b916f7 SHA1 ebc510d0f31bdab6da56bb8bf869149ce6f61726 SHA256 711f44533d49c7d3d0108f57ae2d6c7ccb5620e9d2310b2395c1a71b47591f12 -MISC metadata.xml 361 RMD160 c0face66fc5d9ebb04354159f4d74ca56a891ad6 SHA1 317ab8a1c421a64a5e0058fcf5a1c22ce3db5b09 SHA256 3fbe8d1af9f434bd66b190c41bd49be8d78aa8e591468866244ba7899f0f75e6 +EBUILD pigz-2.1.5.ebuild 989 RMD160 4305c3bde1dad21490bd29e3513b73e4879e9701 SHA1 4110d612ee09351ba97ba0eefb90f3bde4efa71b SHA256 a79b2b9f18b73138f86de65b368987c7141355b5b1de2dbca6c6e6031a961751 diff -r 3b3ba42f2f0e -r 9839e927aee2 app-arch/pigz/files/pigz-2.1.5-gunzip-compat.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/app-arch/pigz/files/pigz-2.1.5-gunzip-compat.patch Sat Nov 14 20:06:57 2009 +0100 @@ -0,0 +1,12 @@ +--- ../pigz-2.1.5/pigz.c 2009-07-20 04:42:00.000000000 +0200 ++++ pigz.c 2009-11-14 19:53:59.000000000 +0100 +@@ -3077,7 +3077,8 @@ + + /* decompress if named "unpigz" */ + p = strrchr(argv[0], '/'); +- if (strcmp(p == NULL ? argv[0] : p + 1, "unpigz") == 0) ++ if (p == NULL) p = argv[0]; ++ if ((strcmp(p + 1, "unpigz") == 0) || (strcmp(p + 1, "gunzip") == 0)) + decode = 1, headis = 0; + + /* process command-line arguments */ diff -r 3b3ba42f2f0e -r 9839e927aee2 app-arch/pigz/metadata.xml --- a/app-arch/pigz/metadata.xml Sat Nov 14 03:27:58 2009 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,12 +0,0 @@ - - - -no-herd - -maintainer-needed@gentoo.org - - -A parallel implementation of gzip for modern -multi-processor, multi-core machines. - - diff -r 3b3ba42f2f0e -r 9839e927aee2 app-arch/pigz/pigz-2.1.5.ebuild --- a/app-arch/pigz/pigz-2.1.5.ebuild Sat Nov 14 03:27:58 2009 +0100 +++ b/app-arch/pigz/pigz-2.1.5.ebuild Sat Nov 14 20:06:57 2009 +0100 @@ -21,6 +21,7 @@ unpack ${A} epatch "${FILESDIR}"/${P}-respect-flags.patch epatch "${FILESDIR}"/${P}-decode-symlinks-to-stdout.patch + epatch "${FILESDIR}"/${P}-gunzip-compat.patch } src_compile() { @@ -35,5 +36,6 @@ if use symlink; then dosym /usr/bin/pigz /usr/bin/gzip + dosym /usr/bin/unpigz /usr/bin/gunzip fi }