Commit Graph

121 Commits

Author SHA1 Message Date
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
f81986d554 * Correct a bug that caused alien to ignore failing commands. Closes: #424858 2007-05-17 17:34:20 +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
joey
2c1589bd7e * Do not register conffiles in /etc when generating a deb; debhelper v3
takes care of that.
2004-01-16 03:21:43 +00:00
joey
d9b05102c4 * Include the version of alien that generated a deb or rpm in the
description. Closes: #220763
   * Also put it in the changelog of debian packages.
2003-11-18 04:21:20 +00:00
joey
09057d6d33 * Fix a couple more mistakes in the code added in 8.36. 2003-11-12 02:57:17 +00:00
joey
5a3b423267 sheesh 2003-11-03 21:16:22 +00:00
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