Commit Graph

127 Commits

Author SHA1 Message Date
Joey Hess
3a44b767ac Print a nice error message when attempting to build a deb from a package of an unsupported architecture. Closes: #592625 2010-08-30 17:02:26 -04:00
Joey Hess
66b2a2a226 debhelper updates
* 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.
2010-05-23 18:56:57 -04:00
Joey Hess
e7e9f10486 Support RPMs containing ghost files.
(Patch by Ben Webb, who would get his patches applied quicker if he actually communicated them to the program's author.)
2010-05-17 20:54:30 -04:00
Joey Hess
a320ae144c Fix precedence problem that prevented alien from preserving permissions of suid/sgid binaries that are not owned by root.
(Patch by Duane Waddle, on a bug tracking system I don't frequent, that was
about the "expire" it 4 days from now. We got lucky Duane, but please use
the Debian BTS next time!)
2010-05-17 20:48:54 -04:00
Joey Hess
38bf42863d Support extracting lzma compressed RPMs. (Patch by unnamed person on some bug tracking system I don't frequent.) 2010-05-17 20:24:19 -04:00
Joey Hess
b4bdd3818d Avoid uninitialized value warning when debian/rules fails to run due to alien being run in a noexec directory. Closes: #579216
* 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.
2010-04-28 11:30:44 -04:00
Joey Hess
55edc3f59a typo 2010-04-18 15:44:14 -04:00
Joey Hess
e75140dc5f Fix empty field fix, to take into account that "0" is a false value
Instead, avoid populating fields with empty strings if rpm fails to
get a field value, either due to not knowing the field, or due to the
field not being set.
2010-04-18 15:27:03 -04:00
Alexey Khoroshilov
2f50988983 RPM Copyright tag has been deprecated in favour of License tag since rpm 4.0 2010-04-18 15:17:25 -04:00
Alexey Khoroshilov
6049930109 Fix if conditions in sanity checks: if a field was not found it is defined, but it is empty 2010-04-18 15:17:12 -04:00
Pavel Roskin
9c28b11e6c Fix support for recent versions of rpm
Recent versions of rpm (such as 4.7.0) ignore the buildroot setting in
the spec file.  Use the --buildroot option to ensure the correct
buildroot is used.
2009-07-08 13:52:49 -04:00
Joey Hess
f456bbf8b6 In rpm permission fixup code, avoid processing symlinks since that would result in the file the link points to being "fixed". Closes: #535586 2009-07-06 13:35:03 -04:00
Joey Hess
78734c0523 Don't allow whitespace in package version when parsing debian/changelog. 2009-06-17 13:07:18 -04:00
Joey Hess
5b605e1960 Fix bash shebang and recognise bash scripts as editable shell scripts when converting to deb. Closes: #532330 (Thanks, Bruce Stephens) 2009-06-08 13:22:30 -04:00
Joey Hess
cbf330f982 Avoid using hostname -f for portability to unix systems, such as Solaris, where any options _set_ the hostname. 2009-05-29 13:03:17 -04:00
Joey Hess
edcd96f80f Modify maintainer scripts from rpm files to use /bin/bash rather than /bin/sh. Many such scripts are only tested on systems where /bin/sh is bash, and contain bashisms, which can cause trouble when converting the rpm to be used on eg, the Debian family of distributions, where /bin/sh can legitimatly be dash. Closes: #495971 2009-05-06 17:20:44 -04:00
Joey Hess
0f8fa0df54 pod fixes 2009-02-15 19:56:50 -05:00
Joey Hess
2a84d6e8ec true slackware packages unlikely, so generalize messages 2009-01-14 13:39:14 -05:00
Joey Hess
66a1247dfd Support bzipped and uncompressed tar files, using tar's auto-compression detection. (Requires gnu tar 1.14.91) 2009-01-14 13:37:06 -05:00
Joey Hess
d15598e944 Fix pkg generation to not include /prototype in all packages. (Kim Bisgaard) 2008-09-11 16:23:14 -04:00
Joey Hess
ecabe240bc When generating a debian changelog file, work around bug #478925 by including the alien changelog text inside the debian changelog entry. 2008-05-01 15:40:57 -04:00
Joey Hess
b2421b584a Improve parsing of tgz filenames, to avoid confusion when the filename includes the package type (ie, "noarch"). Patch from Andrej Ricnik-Bay. 2008-04-29 18:26:16 -04:00
Joey Hess
5e1d2c9fa4 * Deal with rpms that relocate ie, /usr into /usr/local, and don't
try to move /usr into /usr/local in this case. Closes: #470905
2008-03-14 13:35:41 -04:00
Joey Hess
3c8631f8fd don't try to modify a constant value 2008-03-12 11:10:09 -04:00
Joey Hess
17bcd710f7 * Extract prefixes field before extracting scripts so that
RPM_INSTALL_PREFIX gets set.
2008-03-12 11:05:39 -04:00
joey
ffcb91fa04 * Show output of installation of package with -i, since some packages
install scripts may have important output or even be interactive.
  Closes; #425732
2007-05-23 18:03:47 +00:00
joey
a712ba401f releasing version 8.66 2007-03-22 21:46:04 +00:00
joey
4697a558d0 * When converting LSB packages, do not increment the release number.
* Use rpmbuild to build lsb packages, not rpm.
2006-12-15 18:46:37 +00:00
joey
c1a3316e71 * Add support for rpm scripts that use RPM_INSTALL_PREFIX, by setting
RPM_INSTALL_PREFIX as part of the converted script. Closes: #400863
2006-12-15 18:34:39 +00:00
joey
7382aaf75f * Fix alien's own spec file, s/Copyright/License/. 2006-12-14 22:35:37 +00:00
joey
33a60c1974 releasing version 8.63 2006-02-14 18:36:15 +00:00
joey
f96039ce74 releasing version 8.62 2006-02-02 20:15:29 +00:00
joey
fa41ec6234 releasing version 8.61 2006-01-07 18:44:04 +00:00
joey
4572a96112 releasing version 8.60 2005-11-27 22:41:08 +00:00
joey
1a3ed01c30 releasing version 8.59 2005-11-15 18:14:37 +00:00
joey
da40f906b0 releasing version 8.58 2005-11-08 21:11:32 +00:00
joey
da55970dc2 releasing version 8.57 2005-11-08 18:40:30 +00:00
joey
b12afcb1b7 releasing version 8.56 2005-07-20 00:57:38 +00:00
joey
1c337c3e20 releasing version 8.55 2005-07-19 20:17:34 +00:00
joey
c9a355e498 releasing version 8.53 2005-06-13 18:13:12 +00:00
joey
c667e71653 releasing version 8.52 2005-04-21 15:44:50 +00:00
joey
86cdea2939 releasing version 8.51 2005-03-09 21:19:55 +00:00
joey
dd009e920a releasing version 8.50 2004-12-08 21:20:13 +00:00
joey
d3a6c37a03 releasing version 8.49 2004-12-06 21:41:44 +00:00
joey
f4e9d3eb50 releasing version 8.48 2004-11-25 02:15:15 +00:00
joey
8e3d7b6a91 * x86_64 rpms become amd64 debs 2004-08-04 00:59:28 +00:00
joey
1d5b6b9a90 releasing version 8.46 2004-08-02 00:53:46 +00:00
joey
d774821a56 releasing version 8.45 2004-07-29 17:17:18 +00:00
joey
85b9e8b042 * Don't add line about permissions fixup code to postinst if there is not
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.
2004-03-25 04:01:40 +00:00
joey
3ad7dafcde minor 2004-02-27 03:04:40 +00:00