Add support for control.tar, control.tar.xz, data.tar, data.tar.xz,
data.tar.bz2 (deprecated) and data.tar.lzma (deprecated), so that the
fallback code is in line with current dpkg-deb.
The deprecated members are supported because there might be such binary
packages laying around.
The runpipe interface is not a good one, it would be better to use
something that does not expose to the shell.
As a quick fix, quote filenames in runpipe calls. Too bad if you have a
quote character in a file though. Later need to find a better interface
or do full shell escaping.
* Use debhelper compat level v7 when building packages. All changes
since v4 seem safe for alien's generated rules files.
* Use dh_prep instead of deprecated dh_clean -k.
* Avoid uninitialized value warning when debian/rules fails to run
due to alien being run in a noexec directory. Closes: #579216
* Prevent DESTROY stomping on alien's exit code sometimes.
code to add.
* Don't assume that just because we know of a user or are root, that files
can go into the deb owned by that user, and come out right on install.
Instead, assume that any non-root user will not be on the target system
the rpm is installed on, and that it might be created in the preinst or
something, so add permissions fixup code for all such users.
directory failing if the directory already existed (and let it delete the
existing directory). Closes: #181061
* Fixed several other instances of the same precidence problem in the code.
users/groups in their preinst, and which alien therefore cannot ship the
files with proper ownerships in the .deb. In this case alien will now
insert appropriate chown commands into the postinst script of the
converted package.
* That only works when converting rpm to deb, not the other way around,
for now.
* Removed the cpio directory permissions fixup code, which was probably
broken, and is obsolete since I get directory perms from the rpm now.
* Allow fallback to different debian revisions w/o --anypatch.
* Add a changelog parser so I can work out the built version of a package.
Ugh. Closes: #157971
fully conformant with the LSB), and it can take LSB packages and convert
them into other formats. Unlike all the other conversions, lsb packages's
dependancy (on lsb) and their package scripts are preserved in the
generated packages (when allowed by the target package format). This means
your distribution will need to have a package named 'lsb' for the result
to be installable. (Debian will have one soon..)
* Suggest rpm-lsb, which is the preferred rpm to build lsb packages with.
Use it if it's present, plain old rpm otherwise.
The latter used to work, but no longer does, due to some change in rpm or
popt. It also has to come after the -bb.
* Trap stderr of rpm and debian/rules building packages, and only display if
the build fails.
alien now supports converting to and from Solaris "pkg" packages (which
are really SysV packages). You probably need to run it on Solaris for this
to work, though. This brings the number of possible conversions alien can
do up from 12 to a monstrous 20!
* Mark also had to patch Deb.pm a bit so the by-hand deb extraction could
work with solaris's ar and tar.
* Documented the EMAIL environment variable. Closes: #116754
* Threw out a lot of old patches, circa 1999. Probably useless today.
* When converting to debs, move files as follows, if possible, for better
FHS compliance:
/usr/man => /usr/share/man
/usr/info => /usr/share/info
/usr/doc' => /usr/share/doc
* Also moves files as follows, to avoid possibly confusing dpkg with
installing over symlinks (?). Closes: #40012
/usr/bin/X11 should be /usr/X11R6/bin
/usr/lib/X11 should be /usr/X11R6/lib/X11
/usr/include/X11 should be /usr/X11R6/include/X11
* Reverse these moves in the cleantree stage.
* Debian users who have installed alien packages in the past may want to
re-convert and reinstall them, to take advantage of the new FHS
conversions.
There are still a lot that use shell tricks. Should deal with screwey
rpms and file names better though. Closes: #105283
* Display build logs after build failures.