Commit Graph

39 Commits

Author SHA1 Message Date
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
9779b8db62 rpms can be built now.
Call init first because it may set up variables that are used by scan.
2000-04-21 08:48:01 +00:00
joey
bfacf70e1f not sure 2000-04-21 07:33:12 +00:00
joey
5bb771334d packages automatically scan when the filename is set 2000-04-21 07:33:07 +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
3a137ecdd4 fixed tree cleaning 2000-04-21 02:28:52 +00:00
joey
e142f96f77 added, at the beginning of the oo rewrite 2000-04-21 02:23:53 +00:00