summaryrefslogtreecommitdiff
path: root/dpkg-deb
AgeCommit message (Collapse)AuthorFilesLines
2009-06-27dpkg-deb: Remove unused FILE variableGuillem Jover1-6/+2
Now that we are not closing gzfd indirectly by fclosing gz, we close it explicitly.
2009-06-19Use NUL character instead of 0Guillem Jover3-11/+14
2009-05-28Unset TAR_OPTIONS when extracting .deb archivesGuillem Jover1-0/+3
We don't want the extraction to be affected by user settable environment variables either. The command line tool is considered an interface for which we want as much control as possible to guarantee no unintentional behaviour changes to the format or they way it's being handled. Closes: #530860
2009-05-21dpkg-deb: Do not warn when parsing unknown fields with “Private-” prefixGuillem Jover1-0/+6
Fields prefixed with “Private-” are intended to be used privately by individuals, organizations or companies, and are expected to never be standardized. This guarantees them to never collide with any official field in the future. Because there's still the danger that different organizations might end up using the same field name, those should never be visible in any public repository. Closes: #353040 Based-on-patch-by: Nils Rennebarth <nils.rennebarth@funkwerk-ec.com>
2009-05-21Revert "dpkg-deb: don't warn on unknown fields starting with "X-""Guillem Jover1-3/+0
This reverts commit 66835c07b3eb5c6a5a1374e60e93dfaf12538323. Conflicts: debian/changelog
2009-03-27dpkg-deb: don't warn on unknown fields starting with "X-"Nils Rennebarth1-0/+3
The fields named "X-" are never going to collide with official fields and there's no need to warn that they are unknown. Users are already explicitely creating them with XB-X-* fields in debian/control.
2009-02-03Merge branch 'lenny' (through tag '1.14.25')Guillem Jover1-2/+3
Conflicts: ChangeLog configure.ac debian/changelog po/es.po po/ja.po po/ko.po po/pt.po po/ro.po
2009-02-02dpkg-deb: produce GNU tar archives inside .debRaphael Hertzog1-2/+3
* dpkg-deb/build.c: Ensure that data.tar and control.tar archives created inside a .deb use the GNU format that is compatible with dpkg itself. And remove TAR_OPTIONS from environment to avoid unexpected user customizations of the resulting archives.
2009-01-23Cleanup .gitignore filesGuillem Jover1-4/+0
Move common ignore matches to the top-level .gitignore. Force directory matching by adding a trailing /. Remove unused matches (enoent). Add missing matches (t.tmp and autom4te.cache/).
2009-01-04libdpkg: Move macros from dpkg.h to more specialized headersGuillem Jover1-0/+22
2008-12-09Mark strings for translationGuillem Jover2-8/+13
2008-12-09Improve internerr output messages and print the invalid valueGuillem Jover1-1/+2
2008-12-09Properly use internerr to report about programming bugsGuillem Jover1-1/+1
Use internerr for internal error conditions which happen only due to programming bugs and should never occur, otherwise the code is wrong and should be fixed.
2008-12-05Use the warning function instead of hand-coded print callsGuillem Jover1-9/+8
2008-09-14libdpkg: Move loadcfgfile from standard_startup to its callersGuillem Jover1-1/+1
2008-09-14libdpkg: Move myopt from standard_startup to each program mainGuillem Jover2-1/+4
2008-09-14libdpkg: Do not pass any argument to standard_shutdownGuillem Jover1-1/+1
2008-09-14libcompat: Add new compat.h headerGuillem Jover4-0/+4
2008-09-14Move locale.h inclusion and locale setup to each program mainGuillem Jover1-0/+8
2008-09-14libdpkg: Move gettext related definitions to a new dpkg-i18n.hGuillem Jover4-0/+8
2008-06-30Switch to use UTF-8 copyright symbol and add missing onesGuillem Jover5-7/+7
Some 'Copyright <year>' entries didn't have a copyright symbol. Add it and switch the rest from '(C)' to '©', but we don't do this on program output which for now should remain pure ascii.
2008-06-28Fix localized stringsGuillem Jover1-1/+2
2008-06-04Replace realloc plus error checking usage with m_reallocGuillem Jover2-5/+3
2008-05-24Coalesce similar badusage() strings for translationGuillem Jover1-1/+3
2008-05-24Use sizeof_array instead of ad-hoc calculationGuillem Jover1-1/+2
2008-05-19Fix link order when using libcompat.a and libintl.aGuillem Jover1-1/+6
Place them after libdpkg.a. Based on a patch by Martin Koeppe. Closes: #481805
2008-03-20dpkg-deb: Change return type for safe_fflush from int to voidGuillem Jover1-1/+1
2008-03-11Move command line common option utilities to lib/myopt-util.cGuillem Jover1-11/+6
2008-02-04Use functions from libcompat when those are not provided by the systemGuillem Jover1-0/+2
2008-01-22dpkg-deb: Refactor fflush and its buggy fpos handling to safe_fflush()Guillem Jover1-12/+20
2008-01-21Use m_malloc instead of mallocGuillem Jover2-6/+4
2008-01-21Replace strdup plus error checking usage with a new m_strdup functionGuillem Jover1-1/+1
Closes: #379028
2008-01-21Use external gettext intl libraryGuillem Jover1-1/+2
When porting to other systems without gettext functionality, other applications might need it as well, so either use --with-libintl-prefix for a global library, or disable NLS support.
2008-01-16Use NULL instead of 0Guillem Jover4-36/+40
2008-01-07Fix signed vs unsigned value comparisonsGuillem Jover2-8/+10
Those were making some code to never be executed. This fixes most of the bugs introduced with commit ea93ed48c17445d01b67f3fa8a20a5a644a89e5b.
2007-12-04dpkg-deb/info.c: Fix a compiler warningFrank Lichtenheld1-1/+1
Replace a %ld with %lu to fix compiler warning.
2007-11-29Define several private functions and variables as staticGuillem Jover1-1/+1
2007-11-19Add initial udeb supportGuillem Jover1-0/+4
Support new fields fields Package-Type, Subarchitecture, Kernel-Version and Installer-Menu-Item. New '--type' option for dpkg-scanpackages.
2007-08-31Implement support for Tag fieldGuillem Jover1-0/+1
2007-08-20Implement support for Homepage field.Guillem Jover1-0/+18
2007-08-10Add *.o to .gitignore.Guillem Jover1-0/+1
2007-08-08Use NULL instead of '(char *)0'.Guillem Jover3-7/+11
2007-05-08Add missing svn:ignore entries.Guillem Jover1-0/+1
2007-03-20Update svn:ignore attributes.Guillem Jover1-0/+2
2007-03-13Support building binary packages with the member data.tar.lzma compressedGuillem Jover2-1/+6
with lzma.
2007-03-12 * lib/dpkg.h (compression_type): Rename to ...Guillem Jover4-15/+21
(compress_type): ... this. Fix all users. (CAT): Rename to ... (compress_type_cat): ... this. Fix all users. (GZ): Rename to ... (compress_type_gzip): ... this. Fix all users. (BZ2): Rename to ... (compress_type_bzip2): ... this. Fix all users.
2007-02-13Exit with an error instead of an assert if a file name is too long whenGuillem Jover1-1/+3
building a .deb package. Closes: #393069
2007-02-12 * dpkg-deb/dpkg-deb.h (MAXFILENAME): New macro.Guillem Jover2-5/+7
* dpkg-deb/build.c (getfi): Use MAXFILENAME instead of the hardcoded value '2048'.
2006-11-24Support extracting lzma compressed source and binary packages,Guillem Jover2-0/+6
and add a Suggests on package lzma. Closes: #347715
2006-07-07Specify --null before the -T option to avoid theNicolas FRANCOIS1-1/+1
"tar: -: file name read contains nul character" warning. It was tested with older tar versions.