Commit Graph

80 Commits

Author SHA1 Message Date
Thiago da Silva Gracini
e2eb7e0026 Import Debian version 8.95.2
alien (8.95.2) experimental; urgency=medium
.
  * QA upload.
  * debian/control:
      + Bump debhelper compat to v13.
      + Included Rules-Requires-Root: no
  * debian/changelog:
      + Removed trailing-whitespaces.
  * alien.pl:
      + Fixed some misspelled words.
  * Alien/Package.pm:
      + Fixed misspelled word.
  * Alien/Package/Rpm.pm:
      + Fixed misspeled word.
  * debian/rules:
      + Added a "nocheck" check on override_dh_auto_test.
2020-11-11 23:10:13 +00:00
Boyuan Yang
88a0008668 Rpm.pm: Do not ship conflicting dirs (Closes: #759533)
See also: https://sourceforge.net/p/alien-pkg-convert/tickets/1/

Generated RPM packages provides directories that conflict with
the "filesystem" package. As a result, do not ship commonly-used
directories.

Patch provided by woob in the above ticket webpage.
2020-03-28 23:50:17 -04:00
Fabiano Antunes
9f53b73b58 Import Debian version 8.95
alien (8.95) unstable; urgency=medium

  * QA upload.
  * debian/control:
      - Bumped Standards-Version to 3.9.6.
      - Removed duplicated section field.
  * debian/copyright:
      - Replaced protocol from http to https in the Format field.
      - Included authors' e-mail addresses.
      - Replaced GPL-2+ license reference by actual GPL-2+ license.
  * debian/source/format: Created as 3.0 (native).

alien (8.94) unstable; urgency=medium

  * QA upload.
  * Fix "FTBFS with perl 5.22 in experimental (MakeMaker changes)":
    remove override_dh_auto_install in debian/rules, and 
    use DESTDIR in Makefile.PL.
    (Closes: #792371)
2020-03-28 23:37:19 -04:00
Joey Hess
2999238f34 Add conversion from ppc64le (rpm) to ppc64el (deb). 2014-02-26 13:09:32 -04:00
Krzysztof Opasiak
6f5a303f3b Treat armv7l as an alias to armel architecture.
There are some OS like Tizne which use rpm's and build
them for armv7l architecture. In debain nomenclature
this architecture is armel, so armv7l should be
an alias to armel.

Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
2013-12-10 12:36:17 -04:00
Christopher Huhn
dd38b4e86d Correctly handle RPMs with whitespace in their path 2013-08-15 11:09:22 +02:00
Joey Hess
873c3606f3 typo 2011-09-29 21:31:38 -04:00
Joey Hess
585fc93270 Avoid breaking on spaces in filenames. Closes: #618636
The runpipe interface is not a good one, it would be better to use
something that does not expose to the shell.

As a quick fix, quote filenames in runpipe calls. Too bad if you have a
quote character in a file though. Later need to find a better interface
or do full shell escaping.
2011-06-11 13:00:34 -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
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
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
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
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
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
33a60c1974 releasing version 8.63 2006-02-14 18:36:15 +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
1c337c3e20 releasing version 8.55 2005-07-19 20:17:34 +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
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
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
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
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
7e6421c8e4 * Added -v to enable verbose mode, which lists each shell command
as it is run. Also added --veryverbose for verbose with command
     output too.
   * Use -V for version. (-v used to be documented, but never worked)
2003-05-14 22:14:29 +00:00
joey
06371a53ca * Support rpms that contain no files. Closes: #184714 2003-03-16 05:35:36 +00:00
joey
40e12efe45 * Corrected precidence problem that made alien not catch mkdir of the work
directory failing if the directory already existed (and let it delete the
     existing directory). Closes: #181061
   * Fixed several other instances of the same precidence problem in the code.
2003-02-15 20:46:09 +00:00
joey
8b6a5ed7f8 * Use rpmbuild -bb instead of rpm -bb, as it seems that rpm -bb has stopped
working in recent versions of rpm, as shipped by red hat (Debian's rpm,
     confusingly, continues to support rpm -bb, possibly because of how I hack
     its popt stuff up for debian.) This may fail with older, pre-rpmbuild
     rpm's; if so you should upgrade to a more current version I guess.
   * Updated js2k patch from Gerald Turner.
2003-02-03 19:40:25 +00:00
joey
ed7a39e3d1 * Added support inspired by aj for converted rpm packages that create
users/groups in their preinst, and which alien therefore cannot ship the
     files with proper ownerships in the .deb. In this case alien will now
     insert appropriate chown commands into the postinst script of the
     converted package.
   * That only works when converting rpm to deb, not the other way around,
     for now.
   * Removed the cpio directory permissions fixup code, which was probably
     broken, and is obsolete since I get directory perms from the rpm now.
2002-08-25 19:10:56 +00:00
joey
21393f2767 * When converting from rpm, do parent directory 755 chmods first, then
known permissions setting from rpm --queryformat, so that it can override
     any directories that do indeed have a permission set.
   * Fixed MakeFile.PL to work with perl 5.8.
2002-08-19 16:53:30 +00:00
joey
c6b855ed5c * Fixed rpm unpacking. 2002-07-12 23:29:49 +00:00
joey
eb41790008 * Fix a longstanding bug I was only recently told about: When converting
from rpm, ignore the icky file owners and perms from the cpio archive,
     and query rpm for the real set that it overrides in the control data
     structure. Closes: #151546
2002-07-09 00:54:38 +00:00