354 Commits

Author SHA1 Message Date
Syed-Shahrukh-OSSRevival
4d8ec3bf09 Updated readme, fixes #10 2026-01-20 16:09:28 +05:00
Anton Farygin
decc4d75c8 fix: handle spaces in working directory path
Buildroot in spec file doesn't support spaces in some RPM versions
(ALT Linux). Removed it from spec since --buildroot is already passed
on command line. Also quoted cd argument.
2025-12-25 12:51:36 +05:00
Anton Farygin
de7aa3b0f8 fix: handle Description field with empty first line
Some packages (e.g. vk-messenger.deb) have Description with text
starting on the next line:

  Description:
   Actual description text here

The regex required at least one character after colon, causing
summary to be empty. This broke conversion to RPM with error
"Empty tag: Summary".

Now uses first line of extended description as summary when the
initial Description line is empty.
2025-12-25 12:49:40 +05:00
Anton Farygin
5836229bae fix: Escape percent signs in plaintext scripts for RPM spec
Scripts (preinst, postinst, prerm, postrm) may contain literal '%'
characters (e.g., in printf format strings). When these scripts are
written directly into the RPM spec file, rpmbuild interprets '%' as
the start of a macro, causing build failures.
2025-12-23 23:51:55 +05:00
Anton Farygin
8bba6dfdc5 fix: restore tar fallback when makepkg is not available
Commit 32f04ae removed the tar fallback in Tgz::build(), requiring
/sbin/makepkg (Slackware-specific) for --to-tgz conversion. This broke
alien on all non-Slackware systems.

Restore the fallback using the same method as the original makepkg
script.

Fixes: https://github.com/Project-OSS-Revival/alien/issues/4
2025-12-23 18:54:23 +05:00
Syed-Shahrukh-OSSRevival
04a9c4fa04 Copied debian/changelog to Changelog #3.
* To make the ChangeLog generic removed debian specific information from each version header.
 * Updated the Makefile.PL to utilize the new ChangeLog file for the version number.
2025-12-23 08:03:27 +05:00
Armando
9a6bf8f390 Fixed arch subroutine in Tgz.pm as it was causing issues when converting deb to tgz. 8.95.9 2025-10-08 15:43:52 +05:00
Armando
32f04aed12 feat: Implement slack-desc handling for Slackware packages This commit introduces the following changes:
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.
2025-10-08 15:43:52 +05:00
Armando
ab603a11e0 Added support for zstd archives. Fixes "Unknown control member!" error with some deb packags. 2025-10-08 15:43:48 +05:00
Syed-Shahrukh-OSSRevival
b3bc197956 Removed debian directory from imported sources https://salsa.debian.org/debian/alien 2025-10-01 17:37:47 +05:00
Marcos Talau
ee8794614c Renamed debian/tests/convert_deb_to_rpm.sh to debian/tests/convert-deb-to-rpm.sh 8.95.8 2024-11-24 22:07:23 -03:00
Daniel Costa
c4c8e3bc4a debian/changelog: Update 2024-11-24 21:33:28 -03:00
Daniel Costa
c6b123e40f debian/tests/control:
Create autopkgtest
2024-11-24 21:32:24 -03:00
Daniel Costa
c83906446f debian/changelog: Update 2024-11-24 20:00:52 -03:00
Daniel Costa
6a2e53bc63 debian/salsa-ci.yml: Add
to provide CI tests for Salsa
2024-11-24 19:49:31 -03:00
Bastian Germann
ccd0532208 Upload to unstable 8.95.7 2024-06-22 19:42:42 +00:00
Bastian Germann
3985359d47 d/copyright: Remove trailing whitespace 2024-06-22 19:39:08 +00:00
Alois Klink
385b2066d3 Map arm64 in deb to aarch64 in rpm
This fixes conversion of arm64 debian packages.

See #985808, which was the bug for doing it in the opposite direction.
2024-06-22 19:37:54 +00:00
Debian Janitor
b65f2d6974 Update standards version to 4.6.2, no changes needed.
Changes-By: lintian-brush
Fixes: lintian: out-of-date-standards-version
See-also: https://lintian.debian.org/tags/out-of-date-standards-version.html
2023-01-07 06:13:42 +00:00
Debian Janitor
2989545da6 debian/copyright: use spaces rather than tabs to start continuation lines.
Changes-By: lintian-brush
Fixes: lintian: tab-in-license-text
See-also: https://lintian.debian.org/tags/tab-in-license-text.html
2023-01-07 06:13:35 +00:00
Jelmer Vernooij
3e7874e029 releasing package alien version 8.95.6 8.95.6 2022-05-25 18:54:06 +01:00
Jelmer Vernooij
919146ea09 Mention QA Upload. 2022-05-25 18:54:06 +01:00
Boyuan Yang
7179500cf8 Merge branch 'scrub-obsolete' into 'master'
Remove unnecessary constraints

See merge request debian/alien!4
2021-10-14 04:28:04 +00:00
Debian Janitor
f0fe4f6c80 Remove constraints unnecessary since buster
* alien: Drop versioned constraint on rpm in Depends.

Changes-By: deb-scrub-obsolete
2021-10-13 06:51:08 +00:00
Boyuan Yang
922b06bf8d Prepare new upload. 8.95.5 2021-08-22 01:29:46 -04:00
Boyuan Yang
b235b51c36 Bump Standards-Version to 4.6.0. 2021-08-22 01:14:55 -04:00
Boyuan Yang
3e46c56693 Alien/Package/Deb.pm: Do not fail when dh_usrlocal complains
When dh_usrlocal returns nonzero, continue and print a warning
information. This allows the generated deb package to install
files under /usr/local/.
2021-08-22 01:13:25 -04:00
Boyuan Yang
80877786d3 Prepare new upload. 8.95.4 2021-04-07 12:20:23 -04:00
Boyuan Yang
0de126bcfb Let alien recognize aarch64->arm64. (Closes: #985808) 2021-04-07 12:13:57 -04:00
Boyuan Yang
3f13d15dfd Fix incorrect filepath (Closes: #985835) 2021-04-07 12:12:13 -04:00
Boyuan Yang
f66dbb457b Fix incorrect debian/rules template. (Closes: #983492) 2021-04-07 12:09:23 -04:00
Boyuan Yang
a5a16d572f Revert "debian/control: Bump Standard-Version to 4.5.1."
This reverts commit 18e40eeabb.
2021-04-07 12:08:05 -04:00
Boyuan Yang
18e40eeabb debian/control: Bump Standard-Version to 4.5.1. 2021-04-07 12:07:16 -04:00
Adrian Bunk
1a98232df6 Import Debian version 8.95.3
alien (8.95.3) unstable; urgency=medium
.
  * QA upload.
  * Upload to unstable.
8.95.3
2021-04-07 12:05:10 -04:00
Jelmer Vernooij
648de61a5d Merge branch 'scrub-obsolete' into 'master'
Remove unnecessary constraints

See merge request debian/alien!1
2021-03-03 17:28:58 +00:00
Jenkins
0a70fe5858 Remove constraints unnecessary since stretch.
* alien: Drop versioned constraint on debhelper, rpm in Depends.

Changes-By: deb-scrub-obsolete
2021-02-14 15:04:11 +00:00
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
9b5622f8f2 Deb.pm: Use dh sequencer in rules file; bump debhelper requirement to 10+ 2020-03-29 00:07:47 -04: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
Boyuan Yang
a7be498dca debian/changelog: Document changes in Vcs-* fields 2020-03-28 23:45:30 -04:00
Boyuan Yang
f11a007797 debian/control,compat: Minor fixes 2020-03-28 23:40:53 -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
bb351ddbc8 Alien needs a new maintainer, both in Debian and upstream. 8.93 2014-11-07 17:26:20 -04:00
Joey Hess
3572ac62b9 foo 8.92 2014-08-31 14:16:51 -07:00
Joey Hess
6443b942ab prep 2014-08-31 14:16:33 -07:00
Joey Hess
919297f3d1 Remove suggests for lsb-rpm, which no longer exists. Closes: #756873 2014-08-02 19:20:25 -04:00
Joey Hess
22709da70e prep 8.91 2014-06-13 12:04:21 -04:00
Joey Hess
06ae0587ac prep release 2014-06-13 12:04:01 -04:00
Joey Hess
c1b64b0c48 Support other deb data.tar compression schemes in fallback code. Closes: #718364 Thanks, Guillem Jover 2014-05-18 12:21:01 -04:00
Guillem Jover
93ad8ae367 Update deb support in fallback code
Add support for control.tar, control.tar.xz, data.tar, data.tar.xz,
data.tar.bz2 (deprecated) and data.tar.lzma (deprecated), so that the
fallback code is in line with current dpkg-deb.

The deprecated members are supported because there might be such binary
packages laying around.
2014-05-18 12:20:18 -04:00