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
2fb28d27d2
Ensure that version numbers begin with well, a number, when building a deb, otherwise dpkg-deb will refuse to build it.
2012-08-09 14:14:59 -04:00
Joey Hess
b69f536367
Fix adding of postinst script to deb, containing rpm permissions fixups code. Closes : #667651
2012-04-05 13:51:24 -04:00
Joey Hess
f717997da1
Use lsb-rpmbuild, not lsb-rpm. Closes : #667044
...
Note that lsb-rpm has been dropped from rpm in Debian unstable. So
this changes nothing really; it already fell back to rpmbuild.
And I can find no mention of either lsb-rpm or lsb-rpmbuild in the LSB
spec, although I didn't look very hard.
2012-04-04 13:36:18 -04:00
Joey Hess
5e4e122d58
Filter out illegal characters in version number when building a deb. Closes : #648531
2011-11-12 13:12:25 -04: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
1ca19300b4
Squash an uninitialized value when creating a deb.
2011-01-06 13:49:40 -04:00
Joey Hess
0d765b965d
Correct handling of arch all packages in deb arch check. Closes : #596209
2010-09-09 08:24:54 -04:00
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