From eff7981b5710123fd0ebb8e8c93ab31262429dcb Mon Sep 17 00:00:00 2001 From: Alexander Neundorf Date: Tue, 14 Aug 2007 10:25:23 -0400 Subject: STYLE: another patch from Mathieu with some comments Alex --- Source/CPack/cmCPackDebGenerator.cxx | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Source/CPack/cmCPackDebGenerator.cxx b/Source/CPack/cmCPackDebGenerator.cxx index fb799d0..0971b36 100644 --- a/Source/CPack/cmCPackDebGenerator.cxx +++ b/Source/CPack/cmCPackDebGenerator.cxx @@ -24,7 +24,12 @@ #include #include - +// NOTE: +// A debian package .deb is simply an 'ar' archive. The only subtle difference +// is that debian uses the BSD ar style archive whereas most Linux distro have +// a GNU ar. +// See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=161593 for more info +// Therefore we provide our own implementation of a BSD-ar: static int ar_append(const char*archive,const std::vector& files); //---------------------------------------------------------------------- @@ -97,7 +102,6 @@ int cmCPackDebGenerator::CompressFiles(const char* outFileName, } out << "Maintainer: " << maintainer << "\n"; out << "Description: " << desc << "\n"; - out << " " << debian_pkg_name << " was packaged by CMake.\n"; out << std::endl; } -- cgit v0.12