summaryrefslogtreecommitdiff
path: root/dpkg-deb/dpkg-deb.h
AgeCommit message (Collapse)AuthorFilesLines
2011-01-08Rename directory variables to just dirGuillem Jover1-1/+1
The shorter form is unambiguous and takes less screen size.
2010-11-19Move action and obsolete related functionality to the myopt moduleGuillem Jover1-1/+0
Reduce repeated code, and localize it where it belongs.
2010-11-19Use ACTION macros instead of ad-hoc action function handlingGuillem Jover1-1/+0
This makes the code uniform with the rest of the code base, removes the possibility of mismatched entries from cmdinfos and dofunctions arrays, and reduces the scope of the action pointer to main().
2010-01-28libdpkg: Centralize compressor knowledge into the compress moduleGuillem Jover1-4/+1
Create a new structure to hold the name, extension, and compress and decompress methods for each compressor. Add new functions to find the correct compressor by name and extension. This way we have the information localized in a single place.
2010-01-28libdpkg: Handle compression level as an integerGuillem Jover1-1/+1
Change compress_filter() to take an int for compress_level, and add a new function in dpkg-deb to parse and validate the argument option to not accept bogus values.
2010-01-28dpkg-deb: Rename DATAMEMBER_CAT to DATAMEMBERGuillem Jover1-1/+1
2010-01-28Normalize ar member names when readingGuillem Jover1-11/+6
This removes all trailing spaces and the optional trailing slash on GNU-style ar format, making it easier to parse and avoiding having to compare against the compat strings.
2010-01-28Do not include the ar magic in the deb and deb-split magic macrosGuillem Jover1-1/+1
This allows the code to parse the ar header normally w/o needing to seek back.
2009-11-08Unify text in license headersGuillem Jover1-5/+5
Add a missing “of the License” after “version 2”. Move “but” and “GNU” at the end of line to the next line. This matches more closely the paragraph found in the license text for the GPL version 2.
2009-11-08Replace FSF address by pointing to the gnu.org URLGuillem Jover1-3/+2
Use the <http://www.gnu.org/licenses/> URL, instead of in most cases the outdated FSF address, which is way more stable, as the latter has changed several times in the past.
2009-07-15libdpkg: Rename and namespace compiler attributesGuillem Jover1-1/+1
Prefix them all with DPKG_ATTR_, and use shorter but still meaningful names.
2009-01-04libdpkg: Move macros from dpkg.h to more specialized headersGuillem Jover1-0/+22
2008-06-30Switch to use UTF-8 copyright symbol and add missing onesGuillem Jover1-1/+1
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.
2007-03-12 * lib/dpkg.h (compression_type): Rename to ...Guillem Jover1-1/+1
(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-12 * dpkg-deb/dpkg-deb.h (MAXFILENAME): New macro.Guillem Jover1-0/+2
* dpkg-deb/build.c (getfi): Use MAXFILENAME instead of the hardcoded value '2048'.
2006-11-24Support extracting lzma compressed source and binary packages,Guillem Jover1-0/+2
and add a Suggests on package lzma. Closes: #347715
2004-11-11dpkg (1.10.25) unstable; urgency=lowScott James Remnant1-2/+2
The "你他媽的天下所有的人都該死" Release. This release is to correct the mangled Simplified Chinese translation included in 1.10.24 caused by rebellion of the translator's mail client. * Updated Translations (Christian Perrier): - Dutch (Bart Cornelis). Closes: #278700. - Polish (Bartosz Fenski). Closes: #280406. - Simplified Chinese (Tchaikov, Carlos Liu). Closes: #278676. -- Scott James Remnant <scott@netsplit.com> Thu, 11 Nov 2004 20:06:57 +0000
2004-10-27dpkg (1.10.24) unstable; urgency=lowScott James Remnant1-2/+7
The "Donald, where's your troosers?" Release. * Add support for uncompressed data.tar archive members and bzip2- compressed data.tar.bz2 members of binary packages. Closes: #34727. * New Translations (Christian Perrier): - Basque (Piarres Beobide). Closes: #265491. - Greek (George Papamichelakis). Closes: #260809. - Hebrew (Lior Kaplan). Closes: #275267. - Simplified Chinese (Tchaikov, Carlos Liu). Closes: #265197. * Updated Translations (Christian Perrier): - Brazilian Portuguese (Andre Luis Lopes). Closes: #260964, #273947, #278063. - Czech (Miroslav Kure). Closes: #255904, #278178. - Catalan (Jordi Mallach). Closes: #278098. - Danish (Claus Hindsgaul). Closes: #278097. - Dutch (Bart Cornelis). Closes: #268271, #268886, #274366, #278061. - Galician (Hector Fernandez). - German (Michael Piefel). Closes: #276462, #278168. - French (Christian Perrier). - Japanese (Kenshi Muto). Closes: #272456, #278141. - Italian (Lele Gaifax). - Korean (Changwoo Ryu). Closes: #261528, #278142. - Norwegian Nynorsk (Hvard Korsvoll). Closes: #275387, #278286. - Polish (Bartosz Fenski). Closes: #268452, #278064. - Portuguese (Miguel Figueiredo). Closes: #268266, #261424, #261519, #278294. - Russian (Yuri Kozlov). Closes: #268452, #278154. - Spanish (Javier Fernndez-Sanguino Pea). Closes: #277173, #278117. - Swedish (Peter Karlsson). * Updated Manpage Translations (Christian Perrier): - French (Philippe Batailler). Closes: #268048. - Spanish (Ruben Porras). Closes: #261807. - Swedish (Peter Karlsson). -- Scott James Remnant <scott@netsplit.com> Wed, 27 Oct 2004 09:25:58 +0100
2002-05-20Even more gcc warning fixes.Adam Heath1-1/+2
2002-05-06Perl sucks, fix Ian's email addressWichert Akkerman1-1/+1
2002-05-06Update Ian Jacksons' email addressWichert Akkerman1-1/+1
2001-09-12add parseformat prototypeWichert Akkerman1-1/+2
2000-11-05debian/rules, debian/origin: add new origin fileWichert Akkerman1-1/+1
scripts/dpkg-gencontrol.pl: rename Bugs-Submit-To to Bugs debian/control: add Bugs and Origin entries lib/database.c, parse.c: add Origin and Bugs to fieldinfos table include/dpkg-db.h: add Origin and Bugs to pkginfoperfile struct dpkg-deb/main.c, dpkg-deb/dpkg-deb.h: fix type for compression Makefile.in: install origin file
1999-12-24From the ChangeLogWichert Akkerman1-0/+2
* debian/control: add Build-Depends * THANKS: new file which lists everyone who contributed to the code * Change `Debian Linux' to `Debian GNU/Linux' in a couple of manpages * main/enquiry.c: modify list1package to use the full width of the tty * Merge patches from Adam Heath: + lib/mlib.c: new function do_fd_copy to read a file into a fd + dpkg-deb/build.c: use do_fd_copy + dpkg-deb/build.c: use dpkg-deb-filelist to reorder files when building a package + dpkg-deb/info.c: use do_fd_copy + lib/showcright.c: use do_fd_copy to read license + scripts/dpkg-safelist.{1,pl}: new script to reorder a filelist to make sure symlinks are listed after their targets. + dpkg-deb/main.c: add -z option to set compression level + dpkg-deb/build.c: pass new -z options to gzip * dpkg-deb/dpkg-deb.1: document new -z option
1999-10-11Fix dpkg-deb to be able to handle archives made with Linux arWichert Akkerman1-2/+4
1996-04-04dpkg (1.1.4); priority=MEDIUMIan Jackson1-0/+40
* Allow overwriting of conflicting packages being removed. (Bug#2614.) * a.out control file says Pre-Depends: libc4 | libc. (Bug#2640.) * ELF control file and libc dependencies changed to use finalised scheme. * ELF control file and libc dependencies for i386 only. (Bug#2617.) * Guidelines say use only released libraries and compilers. * Install wishlist as /usr/doc/dpkg/WISHLIST. * Remove spurious entries for Guidelines in info dir file. * dpkg-deb --build checks permissions on control (DEBIAN) directory. * Spaces in control file fields not copied by dpkg-split. (Bug#2633.) * Spaces in split file part control data ignore. (Bug#2633.) * Portability fixes, including patch from Richard Kettlewell. * Fixed minor configure.in bug causing mangled GCC -W options. -- Ian Jackson <ian@chiark.chu.cam.ac.uk> Thu, 4 Apr 1996 01:58:40 +0100