Commit Graph

123 Commits

Author SHA1 Message Date
joey
531201ff80 fix perms I hope 2003-11-03 21:13:24 +00:00
joey
902aefad11 * Make sure the working directory's subdirs have sane modes before trying
to delete it, in case it has unwritable dirs and alien is not running
     as root. Closes: #217330
2003-10-28 22:11:51 +00:00
joey
ec560cf2a2 * Patch from aj to fix permissions of setuid files that have their owners
created in the preinst.
   * Alien's repository has moved from CVS to subversion.
2003-10-15 20:02:38 +00:00
joey
f43eea0d89 updates & sync 2003-07-11 19:24:18 +00:00
joey
7e6421c8e4 * Added -v to enable verbose mode, which lists each shell command
as it is run. Also added --veryverbose for verbose with command
     output too.
   * Use -V for version. (-v used to be documented, but never worked)
2003-05-14 22:14:29 +00:00
joey
06371a53ca * Support rpms that contain no files. Closes: #184714 2003-03-16 05:35:36 +00:00
joey
40e12efe45 * Corrected precidence problem that made alien not catch mkdir of the work
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.
2003-02-15 20:46:09 +00:00
joey
8b6a5ed7f8 * Use rpmbuild -bb instead of rpm -bb, as it seems that rpm -bb has stopped
working in recent versions of rpm, as shipped by red hat (Debian's rpm,
     confusingly, continues to support rpm -bb, possibly because of how I hack
     its popt stuff up for debian.) This may fail with older, pre-rpmbuild
     rpm's; if so you should upgrade to a more current version I guess.
   * Updated js2k patch from Gerald Turner.
2003-02-03 19:40:25 +00:00
joey
ed7a39e3d1 * Added support inspired by aj for converted rpm packages that create
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.
2002-08-25 19:10:56 +00:00
joey
48400e6418 * Added upsated jdk patches from Gerald Turner.
* 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
2002-08-23 23:58:36 +00:00
joey
a295c7ad14 * Be stricter about which patch files to apply by default. For old behavior
use --anypatch.
   * Minor perl 5.8 fix.
2002-08-22 16:04:41 +00:00
joey
21393f2767 * When converting from rpm, do parent directory 755 chmods first, then
known permissions setting from rpm --queryformat, so that it can override
     any directories that do indeed have a permission set.
   * Fixed MakeFile.PL to work with perl 5.8.
2002-08-19 16:53:30 +00:00
joey
c6b855ed5c * Fixed rpm unpacking. 2002-07-12 23:29:49 +00:00
joey
eb41790008 * Fix a longstanding bug I was only recently told about: When converting
from rpm, ignore the icky file owners and perms from the cpio archive,
     and query rpm for the real set that it overrides in the control data
     structure. Closes: #151546
2002-07-09 00:54:38 +00:00
joey
ec291f3dde * Made tgz version parsing greedier so it will match sub-versions. 2002-07-06 12:06:50 +00:00
joey
25806d4146 * Fixed slp conversion to not use uninitialized value. Closes: #150840 2002-06-24 17:22:33 +00:00
joey
b56e80e565 updates... 2002-06-14 03:26:52 +00:00
joey
15b992c58f * Fix for extracting control files from debs on systems w/o dpkg-deb.
Don't try to extract "file", just "./file".
2002-06-12 17:37:36 +00:00
joey
7c4159cba2 * Deal with packages with strange characters in their filenames.
Closes: #146017
2002-05-24 02:41:24 +00:00
joey
451483bc02 * Added --test parameter, Closes: #145520 2002-05-03 00:12:13 +00:00
joey
ddc50f48fb * Added --fixperms option. Closes: #142850 2002-04-22 02:24:42 +00:00
joey
53652741bc * Support rpms with a description consisting of just blank lines. 2002-04-01 18:35:19 +00:00
joey
8f2fe8eb22 * Fixed an unfortunate typo in Rpm.pm, Closes: #140742 2002-04-01 04:06:14 +00:00
joey
8a569fb405 * Should avoid warning message, Closes: #140286
* README and description updates.
2002-03-28 19:37:18 +00:00
joey
da98291614 * Made more robust in the face of empty rpms. Closes: #138969 2002-03-24 02:35:58 +00:00
joey
a38606b975 * The "vmware and dpkg on drugs" release.
* If a preinstall script in a rpm starts like this:
     # BEGINNING_OF_POST_DOT_SH
     #!/bin/sh
     Add anther hashbang at the top, so dpkg doesn't croak on it.
     Closes: #137032
2002-03-06 17:59:15 +00:00
joey
ea30cb70c6 * LSB package support. It can generate LSB packages (not guarenteed
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.
2002-02-11 19:19:44 +00:00
joey
cf29615520 * Support ancient (bo-era) debs with upper-case field names. Closes: #130736 2002-01-25 04:42:41 +00:00
joey
ea55014024 * Use --target noarch instead of --target=noarch when building rpms.
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.
2002-01-04 21:12:41 +00:00
joey
15f7f75dfd this and that 2001-12-11 06:13:11 +00:00
joey
0aa7015f37 * Thanks to the excellent work of Mark A. Hershberger <mah@everybody.org>,
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.
2001-11-07 17:14:27 +00:00
joey
e106d96664 prerelease 2001-10-26 18:28:28 +00:00
joey
97355db858 * Moved as many system calls as I can over to shellless execution.
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.
2001-07-15 14:23:13 +00:00
joey
208a920b24 * Treat 'armv4l' arch rpm's as arm architecture. 2001-06-18 17:42:39 +00:00
joey
ce19a0f864 remove perlbug workarounds 2001-06-15 03:10:13 +00:00
joey
08d790ed78 * Patch from Raul Miller <moth@debian.org> to make it used gzip -dc | tar
everywhere it used to use tar zxvf. The problem with the latter is
     that, on red hat anyway, tar or gzip seems to be broken, and tar does
     not see an end-of-file marker, causing alien to hang when converting
     rpms to debs. Closes: #96200
2001-05-09 15:13:34 +00:00
joey
caf849173f * Modification to match changes in rpm 4's parser; need to use
--target=noarch, rather than --target noarch.
2001-04-10 20:46:29 +00:00
joey
2f4aeceba2 * Deal with empty /etc/mailname, Closes: #90727 2001-03-24 22:20:09 +00:00
joey
d2d81b61ef * Updated to use debhelper v3 when converting packages. This
automatically should make it start adding ldconfig calls
     as appropriate to maintainer scripts. Closes: #86088
   * It does mean you need debhelper 3.x for alien to convert to
     deb now, so alien-extra will need an update.
   * Rebuilt with newer perl, so it will work with newer perl (bug filed;
     this should not have been necessary).
2001-02-15 23:58:48 +00:00
joey
9b857e9ea8 * Updated to use debhelper v3 when converting packages. This
automatically should make it start adding ldconfig calls
     as appropriate to maintainer scripts. Closes: #86088
   * It does mean you need debhelper 3.x for alien to convert to
     deb now, so alien-extra will need an update.
2001-02-15 23:38:25 +00:00
joey
bffd564172 * Munge in #!/bin/sh entries at the top of rpm maintainer
scripts that appear to be shell scripts. Closes: #76124
2001-02-08 03:10:41 +00:00
joey
39ad0741c9 * Removed dh_suidregister call -- bitten my by own program! :-)
Closes: #82230
2001-01-14 22:14:30 +00:00
joey
dfab4e5831 * Modified Rpm.pm to not bother with the scripts stanzas if there are
no scripts.
2000-12-08 23:11:19 +00:00
joey
7a17c46b36 * Use ls -1 instead of plain ls when copying files to debian/tmp in rpm
conversion. Since that output is grep'ed, items might have been
     accidentually excuded before (although ls seems to output one file per
     line when run inside makefiles, probably because it notices it is not
     at a tty). Anyway, I had a report that there was a problem here, and
     this should fix it.
2000-11-23 21:11:03 +00:00
joey
2e2a7060af * Corrected return code of system check.
* Corrected logic error in relocatable rpm handling that was making
     converting such rpms not work. (Closes: #71155)
2000-09-11 23:27:32 +00:00
joey
a97a80e9ff * Added a note about a sticky library dependancy issue that I can't fix.
* Applied a patch from Chris Gorman to deal with spaces in directory
     names, spaces in conffile names (!!), and accented characters
     everywhere in deb -> rpm conversions.
   * Fixed numerous problems when converting from .deb w/o dpkg installed.
2000-07-20 22:52:50 +00:00
joey
13f031a9bf * Fixed an uninitialized value when converting from a .src.rpm. 2000-05-30 04:44:06 +00:00
joey
2ab8c2557c * Corrected typo that broke Deb.pm, Closes: #64559 2000-05-24 02:30:46 +00:00
joey
71a8666dd8 * Changed all invocations of programs to be in posix-complient form. Ie,
no options after args, so people who set POSIX_ME_HARDER can still use
     alien.
   * Bahave better if there is no /etc/mailname.
2000-05-22 23:23:32 +00:00
joey
5fbc1b52bc * When reloating files from a rpm, run the mv command directly,
not in a subshell; this is safer especially if odd filenames are
     involved.
   * When converting from rpm, only chmod each directory once, it was doing
     it many times for some directories before.
   * Fixed chmodding to use the correct path to the directory. This fixes
     file permissions in rpm's converted to other formats, a bug introduced
     at 7.0.
   * Fixed some undefined value warnings (which pointed out real but rare
     bugs).
   * Fixed a rare, but bad little bug. If you ran alien in a directory that
     had the suid/sgid bit set (as my home directory does), and generated
     debs and probably other formats, it generated packages with the root
     directory suid/sgid.
2000-05-09 21:42:41 +00:00