Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   ArchLinux Pacman Development (http://www.linux-archive.org/archlinux-pacman-development/)
-   -   makepkg: do not embed timestamps in compressed manpages (http://www.linux-archive.org/archlinux-pacman-development/696884-makepkg-do-not-embed-timestamps-compressed-manpages.html)

Allan McRae 08-23-2012 12:11 AM

makepkg: do not embed timestamps in compressed manpages
 
This will make the checksum of man pages match across architectures
despite different build times.

Signed-off-by: Allan McRae <allan@archlinux.org>
---
scripts/makepkg.sh.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in
index 8ba4ff7..cad1f5e 100644
--- a/scripts/makepkg.sh.in
+++ b/scripts/makepkg.sh.in
@@ -1390,7 +1390,7 @@ tidy_install() {
done
if [[ -z ${files[$inode]} ]]; then
files[$inode]=$file
- gzip -9 -f "$file"
+ gzip -9 -n -f "$file"
else
rm -f "$file"
ln "${files[$inode]}.gz" "${file}.gz"
--
1.7.12


All times are GMT. The time now is 08:55 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.