1. **Modified `scan` method in `Alien/Package/Tgz.pm`:**
- The method now attempts to read and parse `install/slack-desc` from input .tgz packages.
- If found, the package's description and summary are populated from `slack-desc`.
- Fallback to existing behavior if `slack-desc` is not present.
2. **Modified `prep` method in `Alien/Package/Tgz.pm`:**
- When creating a .tgz package, an `install/slack-desc` file is now generated.
- This file is populated using the package's summary and description, formatted according to Slackware standards.
- A helper function `_format_slack_desc` was added to handle the formatting logic.
3. **Modified `build` method in `Alien/Package/Tgz.pm`:**
- When creating a .tgz package, `makepkg` is now used.
- Package is now named according to Slackware standard naming scheme.
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.
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)
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>
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.
(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!)
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.
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.
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.
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.
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.
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.