Commit Graph

105 Commits

Author SHA1 Message Date
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
joey
c3fab64d37 * Corrected checking of system() in Deb::prep. Closes: #63396 2000-05-02 02:45:25 +00:00
joey
51e74f1eef * Major typo fix in Tgz.pm.
* Fixed newlines in tgz filelist.
   * Fixed some undefined value warnings.
   * Put the rpm spec file back in. Converting the debs to rpms fails
     because rpm doesn't use the same perl include path. Bummer.
   * Fixed duplicate alien man page problem.
2000-04-23 03:55:53 +00:00
joey
23baf2bcf4 * Major typo fix in Tgz.pm.
* Fixed newlines in tgz filelist.
   * Fixed some undefined value warnings.
2000-04-22 23:32:45 +00:00
joey
84a8367902 * The great rewrite. Alien is now based on pure object oriented package
objects. These objects can read all relevant details about a package, and
     can generate packages based on that information. Thus, converting from one
     format to another becomes a simple matter of generating one of these
     objects, pointing it at a package, mutating it into the destination
     class, and telling it to write the new package out! A basic alien can now
     be written using these objects in one "line" of perl -- in fact, here is
     one:
       perl -MAlien::Package::Deb -MAlien::Package::Rpm -e '
       	       $p=Alien::Package::Rpm->new(filename => shift); $p->unpack;
   * Almost every line of code has been rewritten.
   * Package descriptions now include a note that they were converted with
     alien. There are other numerous changes to the converted packages, for
     instance, generated .deb's now have more info in their copyright file.
   * The template files were all moved inside the objects, which is actually
     cleaner and is certainly easier to deal with.
   * Usernames are now looked up the way POSIX intended.
   * alien.1 is now generated from POD docs.
   * Alien can now convert into multiple formats at once.
   * Alien now always cleans up after failed converts, Closes: #62331
   * Alien can now be used to just install a package with no conversion.
     Closes: #53441
   * Use a Makefile.PL because that seems to make sense, which means lots of
     the build system had to be changed.
2000-04-22 06:18:50 +00:00
joey
f85230dc81 more bugfixes 2000-04-22 02:09:13 +00:00
joey
d50d1982d5 more bugfixes 2000-04-22 01:47:39 +00:00
joey
07a81c8b5c more bug fixes 2000-04-22 01:16:10 +00:00
joey
d384a93c99 tons of bugfixes 2000-04-22 00:56:50 +00:00
joey
d982c7357b fixed package names 2000-04-21 23:30:45 +00:00
joey
fe84a0dbfc Moved in patch finding code. 2000-04-21 22:23:53 +00:00
joey
25d4bcbe7a Added checkfile class method. 2000-04-21 22:18:49 +00:00
joey
b78f13c060 Finished conversion. 2000-04-21 22:09:14 +00:00
joey
d4df642652 Nearly done. 2000-04-21 21:26:14 +00:00
joey
7b791faf95 Slps should build now (untested). 2000-04-21 21:06:44 +00:00
joey
f3ee72f982 merged in Fromslp.pm 2000-04-21 10:50:54 +00:00
joey
65c6abb47f added framework 2000-04-21 09:56:06 +00:00
joey
72a5a67af3 rpms can be built now. 2000-04-21 08:48:04 +00:00
joey
bfacf70e1f not sure 2000-04-21 07:33:12 +00:00