Commit Graph

77 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
d384a93c99 tons of bugfixes 2000-04-22 00:56:50 +00:00
joey
25d4bcbe7a Added checkfile class method. 2000-04-21 22:18:49 +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
joey
aa4c9a8b71 renamed a method, plus, building now fully works for deb's 2000-04-21 06:40:08 +00:00
joey
eae03ee44d The rewrite can convert from rpm to deb -- this is getting exciting! 2000-04-21 06:16:26 +00:00
joey
a13d726fef Moving right along.. I've moved the fixfields code in now. 2000-04-21 05:08:50 +00:00
joey
e142f96f77 added, at the beginning of the oo rewrite 2000-04-21 02:23:53 +00:00