Guillem Jover [Wed, 8 Feb 2006 04:16:41 +0000 (04:16 +0000)]
Use pkg-config to get the proper flags to link against libselinux.
Add a Build-Dependency on pkg-config, thighten libselinux1-dev to
at least version 1.28-4 which provides a .pc file, and remove
libsepol1-dev as libselinux1-dev is Depending on it.
Guillem Jover [Mon, 6 Feb 2006 21:28:52 +0000 (21:28 +0000)]
Cleanup and unify program usage and version output, make it more i18n
friendly. Fix wrong gettext usage with interparsed macros.
Thanks to Changwoo Ryu for noticing. Closes: #23791
Re-run po4a-gettextize
Correct accented letters problems in German man pages
Remove accidental English "translations" in some PO files
Thanks to Nicolas François for the patch
Make dpkg-source -b more robust
regarding to existing symlinks by creating all files
in secure temporary files and renaming them afterwards.
This fixes problems with packages retrieved with
apt-get source from local repositories. Closes: #178839, #338591
* man/C/dpkg-source.1: Document that the -sX switches for
dpkg-source are mutually exclusive and only one can be in
effect.
* scripts/dpkg-source.pl: Warn if more than one -sX switch
is specified on the command line. Closes: #246637
* man/C/dpkg-scanpackages.1: Document new dpkg-scanpackages
-m option.
* scripts/dpkg-scanpackages.pl: Rewrite the script to support
multiple versions of packages in a single Packages file;
use Getopt::Long instead of attempting to parse the command line
ourselves and doing it badly;
get rid of unecessary hashes and arrays that aren't used at all;
output help when given the --help/-h/-? options Closes: #229589, #319541
Let dpkg-buildpackage create a .changes file even if signing the
.dsc file failed. This makes it easier to just sign the package
later (Julian Gilbey). Closes: #217963
Guillem Jover [Sat, 28 Jan 2006 04:29:10 +0000 (04:29 +0000)]
Make dpkg-architecture not print the warning about a missmatch between
gcc target machine type and GNU target system type if the actions are
'-e' or '-i'.
* Honor LD_LIBRARY_PATH in dpkg-shlibdeps. Fixes a regression
from 1.13.11 to .12.
* Don't recurse into package directories to search for local
shlibs files since it is obviously a waste of time. Based
on a suggestion by Steve Langasek. Closes: #338725
Guillem Jover [Thu, 26 Jan 2006 21:07:16 +0000 (21:07 +0000)]
Document the correct format string for dpkg-query --showformat option.
Update -l example and lower case the program name in the title header.
Thanks to Zefram <zefram@fysh.org>. Closes: #174976
* AUTHORS: Updated for new maintainance team
* debian/copyright: Add myself as copyright holder since
I also added a note to that effect with my dpkg-shlibdeps
patch.
Guillem Jover [Mon, 23 Jan 2006 18:38:09 +0000 (18:38 +0000)]
Change start-stop-daemon's --exec option behaviour on GNU/Linux to
compare the filename pointed by '/proc/<pid>/exe' instead of the inode
and device numbers. Thanks to Vasilis Vasaitis <v.vasaitis@sms.ed.ac.uk>. Closes: #337942
Change version number to 1.13.12 and target suite to experimental.
Also add a warning to the changelog about the experimental nature
of some of the changes.
dpkg-source: Don't use \b to match the end
of the version in filenames, use (?=[.-]) and (?=\.) instead.
\b doesn't work in case the version ends with ~.
Don't use the ldd output in dpkg-shlibdeps. Search for the
matching libraries ourself. This fixes problems with both
symlinked directories Closes: #103024, #145714, #164020, #285857
and biarch builds Closes: #317082
Guillem Jover [Mon, 23 Jan 2006 04:50:40 +0000 (04:50 +0000)]
Add support for architecture wildcards, but for now they will only be
exposed in debian/control files, not in binary nor source packages. Closes: #291939
Guillem Jover [Sun, 22 Jan 2006 23:21:50 +0000 (23:21 +0000)]
When linking statically, explicitly add libsepol, even if its only a
transitive library. The proper fix should come with a pkg-config file.
Based on a patch by Bart Martens <bart.martens@advalvas.be>.
Add support "package types" to dpkg-shlibdeps. Patch by
Joey Hess. Closes: #345475
* scripts/dpkg-shlibdeps: Add possibility to
specify a package type in the shlibs file
and add a -t switch to dpkg-shlibdeps to
specify the wanted type. Entries without
package type will have type 'deb' and will
serve as fallback if no entry with the
correct type is found
* man/C/dpkg-source.1: Document new -t
switch for dpkg-shlibdeps
Check for illegal architecture strings in dpkg-gencontrol and
dpkg-source. dpkg-gencontrol will only issue a warning while
dpkg-source will error out. Closes: #96920
Let dpkg-source ensure (as good as possible) that all
build source packages can also be unpacked. Closes: #6820, #7014
* scripts/controllib.pl:
(checkversion) add generic check for valid version numbers
(checkpackagename) add generic check for valid package
names
(readmd5sum) add generic function to extract md5sum from
md5sum program output
(setsourcepackage) call checkpackagename on new value
* scripts/dpkg-source.pl: Use the new checks added to
controllib to ensure validity of version and packagename
on build, too. Previously this was only done on
unpack.
Test on build if directories added by diff already exist with
other type in the original source since we already tested that
on unpack.
(addfile): Test if files are added
twice. Should not happen but as we error out on unpack
better make sure it doesn't.
Check the gpg signatures of .dsc files before unpacking. See
the upstream changelog for a full description of the semantics.
Based on a patch by Matt Zimmerman. Closes: #48711
dpkg-source -x now tries to chown all files extracted from
tar files. The temporary directory is now created with mode
0700, too. Together this should make it safer to run
dpkg-source -x as root. Based on suggestions by Marcus
Brinkmann and Colin Watson. Closes: #144571, #238460
* Removed /usr/sbin/start-stop-daemon. Closes: #313400.
* Fixed md5sum diversion removal. Closes: #313415.
* Fixed dpkg-source to handle native tarballs with a Debian revision. Closes: #313381, #313433.
* Fixed upgrade from pre-sarge dpkg outside of dselect. Closes: #314575.
* Changed log times to be local rather than UTC. Closes: #313347.
* Changed log writing to be line-buffered. Closes: #314550.
* Moved log creation to postinst, and don't fail if base-passwd hasn't
been configured yet. Closes: #316084.
* Don't try to compile in SELinux support on Hurd. Closes: #313398.
* Place code for SELinux support in the right place so it will actually
get compiled in and used (Manoj Srivastava). Closes: #314886.
* Documentation:
- Added missing word to dpkg-architecture manpage. Closes: #313554.
- Reference to dpkg manpage in dpkg.cfg corrected. Closes: #314262.
* Updated Translations (Christian Perrier):
- Basque (Piarres Beobide Egana). Closes: #313474.
- Catalan (Jordi Mallach). Closes: #313288.
- Czech (Miroslav Kure). Closes: #314431.
- Danish (Claus Hindsgaul).
- French (Christian Perrier).
- German (Jens Seidel). Closes: #314125.
- Greek (Greek team). Closes: #314828.
- Italian (Lele Gaifax).
- Japanese (Kenshi Muto). Closes: #313330.
- Russian (Yuri Kozlov). Closes: #313620.
* Hebrew translation de-activated on request of the translator until there
is better support for RTL languages. Closes: #313282.
-- Scott James Remnant <scott@netsplit.com> Tue, 28 Jun 2005 14:19:06 +0100
* Only open the log file when we first need to write to it, this avoids
the need to suppress errors when not root which fakeroot defeated anyway.
* Stop dpkg-source clobbering an existing .orig directory during unpacking. Closes: #21236.
* Allow an alternate output directory to be specified to dpkg-source by
giving a second argument to -x. Closes: #246802, #282323.
* Added .arch-inventory to default diff ignore regexp. Closes: #304297.
SELinux support (Manoj Srivastava):
* On SELinux-enabled systems, try to set the security context when the
package is unpacked. Closes: #193653, #249496, #307139.
* Added build-dependancy on libselinux1-dev.
Improvements to dpkg-source (Brendan O'Dea):
* Support unpacking of "Wig And Pen" (Format 2.0) source packages.
* Multiple pristine upstream tarballs allowed.
* Native and upstream tarballs may be bzip2-compressed instead of gzip,
as may the debian diff or tarball.
* Unsupported format error fixed to output the unsupported format
rather than the supported one. Closes: #156317.
-- Scott James Remnant <scott@netsplit.com> Sun, 12 Jun 2005 15:52:43 +0100
* Linux 2.6.12 changed the behaviour of mmap to fail and set EINVAL when
given a zero length, rather than returning NULL. This is POSIXly
correct, so handle zero-length package control files (like available).
-- Scott James Remnant <scott@netsplit.com> Fri, 10 Jun 2005 07:39:44 +0100
* Actions and package states are now logged by default in the
/var/log/dpkg.log file. This file is rotated monthly and can be
disabled by commenting the line in /etc/dpkg/dpkg.cfg.
* User decisions about conffiles are now logged.
* dpkg-source no longer complains about Enhances field. Closes: #159642,
#159745, #159746.
* preinst no longer relies on procps being installed. Closes: #311808.
* Architecture Support:
- Change DEB_*_GNU_CPU from i386 to i486, to reflect reality.
DEB_*_ARCH_CPU remains at i386, you should be checking against that. Closes: #310394.
- Fixed order ostable is read to prevent Linux becoming the Hurd. Closes: #309603.
* Updated Manpage Translations (Christian Perrier):
- Syntax error corrected in Swedish man page for dpkg-deb. Closes: #300980.
- Syntax error corrected in Spanish man page for dpkg-scanpackages. Closes: #300981
-- Scott James Remnant <scott@netsplit.com> Mon, 6 Jun 2005 05:34:21 +0100
The "Paying off Karma at a vastly acclerated rate" Release.
* Missing newline added to warning output function. Closes: #283798.
* Fixed prototype warning in dpkg-scansources. Closes: #213577, #219760,
#267505.
* Removed trailing line from debian origins file. Closes: #264904.
* Changed dpkg-buildpackage to say "source changed by" rather than
"source maintainer is". Closes: #247313.
* Fixed dpkg-gencontrol to allow '-' in architecture names. Closes: #274677.
* Fixed "unknown information field" error to report field that it doesn't
know about. Closes: #275243.
* Documentation:
- Remove "medium-level" from description of dpkg. Closes: #292454.
- Harmonised argument names in update-alternatives(8). Closes: #267095, #284941
- Documented what the '+' and '*' mean in update-alternatives --config
output. Closes: #270486.
- Mention aptitude alongside dselect in 'dpkg --usage' and
'dpkg-deb --help', fix quote style of mention in 'dpkg --help'. Closes: #274800, #278118.
- Associate --truename with the description of what it does in
dpkg-divert(8). Closes: #277076.
- Removed last remaining references to the packaging manual, replacing
with better references. Closes: #262775.
- Documented format of file dpkg --set-selections takes. Closes: #270043.
-- Scott James Remnant <scott@netsplit.com> Mon, 21 Mar 2005 03:10:27 +0000
* md5sum has been removed, the coreutils or textutils version will be
diverted to /usr/bin/md5sum. Closes: #6633, #136110.
The following bugs are filed against the dpkg md5sum, so no longer apply. Closes: #95755, #193877, #223381, #264195, #270241, #286632,
* Take Replaces into account when installing packages; don't issue a
"trying to overwrite" error if the file that already exists is in
a package that Replaces the one being installed. Closes: #164595, #184635, #277890.
* Allow actions and status changes to be logged to a file. Disabled by
default, uncomment line in /etc/dpkg/dpkg.cfg to enable. Closes: #957, #53376, #77109, #143882, #284499.
* Don't truncate output of 'dpkg -l' when stdout is not a tty. Closes: #92263, #253860, #258608, #261822, #282790.
* Fix further compilation problems with gcc 4.0. Closes: #299699
* Handle tar files without trailing slash in directory names. Closes: #287152.
* Output arguments to maintainer scripts with -D2. Closes: #237684,
#296030.
* Architecture Support:
- Added ppc64. Closes: #263743.
- Split archtable into cputable and ostable, archtable is retained
for compatibility with other packages that might use it only.
- dpkg-architecture no longer canonises -t argument. Closes: #173205.
- dpkg-architecture output includes new DEB_*_ARCH_OS and
DEB_*_ARCH_CPU variables that contain the Debian system and CPU
names respectively.
- dpkg-architecture outputs (mostly) correct GNU system names now,
in particular this means that it will output "linux-gnu" instead
of "linux". You should use the new _ARCH_OS variables instead.
* Documentation:
- Add examples to dpkg-divert(8). Closes: #291816.
- Correct typo in dpkg-architecture(1). Closes: #299090.
-- Scott James Remnant <scott@netsplit.com> Fri, 18 Mar 2005 16:21:32 +0000