23 Commits

Author SHA1 Message Date
Marcos Talau
ee8794614c Renamed debian/tests/convert_deb_to_rpm.sh to debian/tests/convert-deb-to-rpm.sh 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 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 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. 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. 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
9 changed files with 92 additions and 12 deletions

View File

@@ -472,7 +472,7 @@ sub prep {
PACKAGE=\$(shell dh_listpackages)
%:
dh $@
dh \$\@
override_dh_clean:
dh_clean -d
@@ -482,9 +482,11 @@ override_dh_auto_configure:
override_dh_auto_build:
override_dh_auto_install:
mkdir -p debian/\$(PACKAGE)
# Copy the packages's files.
find . -maxdepth 1 -mindepth 1 -not -name debian -print0 | \\
xargs -0 -r -i cp -a {} debian/\$(PACKAGE)
sed -e s#'./'##g | \\
xargs -0 -r -i cp -a ./{} debian/\$(PACKAGE)/{}
#
# If you need to move files around in debian/\$(PACKAGE) or do some
# binary patching, do it here
@@ -494,6 +496,9 @@ override_dh_strip:
# This has been known to break on some wacky binaries.
# dh_strip
override_dh_usrlocal:
-dh_usrlocal || printf "Your package seems to be installing files into /usr/local/, which could be buggy. Will continue anyway.\\n"
override_dh_fixperms:
$fixpermscomment dh_fixperms

View File

@@ -744,6 +744,10 @@ sub arch {
# Treat armv7l as armel.
$arch='armel';
}
elsif ($arch eq 'aarch64') {
# Treat aarch64 as arm64.
$arch='arm64';
}
elsif ($arch eq 'parisc') {
$arch='hppa';
}
@@ -769,6 +773,9 @@ sub arch {
elsif ($arch eq 'all') {
$arch='noarch';
}
elsif ($arch eq 'arm64') {
$arch='aarch64';
}
elsif ($arch eq 'ppc64el') {
$arch='ppc64le';
}

55
debian/changelog vendored
View File

@@ -1,3 +1,58 @@
alien (8.95.8) unstable; urgency=medium
* QA upload.
* debian/salsa-ci.yml: Add to provide CI tests for Salsa.
* debian/tests/*: Create autopkgtest.
-- Daniel Alber Costa <danielrodrc@gmail.com> Sun, 24 Nov 2024 21:32:45 -0300
alien (8.95.7) unstable; urgency=medium
* QA upload.
* debian/copyright: use spaces rather than tabs to start continuation lines.
* Update standards version to 4.6.2, no changes needed.
[ Alois Klink ]
* Alien/Package/Rpm.pm: Map arm64 in deb to aarch64 in rpm.
This fixes conversion of arm64 deb packages.
-- Bastian Germann <bage@debian.org> Sat, 22 Jun 2024 19:41:24 +0000
alien (8.95.6) unstable; urgency=medium
* QA upload.
[ Debian Janitor ]
* Remove constraints unnecessary since buster:
+ alien: Drop versioned constraint on rpm in Depends.
-- Jelmer Vernooij <jelmer@debian.org> Wed, 25 May 2022 18:54:06 +0100
alien (8.95.5) unstable; urgency=medium
* QA upload.
* Alien/Package/Deb.pm: Do not fail when dh_usrlocal returns
with nonzero value. A warning (shown in --veryverbose)
is generated instead. (Closes: #992188)
-- Boyuan Yang <byang@debian.org> Sun, 22 Aug 2021 01:14:58 -0400
alien (8.95.4) unstable; urgency=high
* QA upload.
* Alien/Package/Deb.pm: Fix incorrect debian/rules template by
properly escaping special characters (dh \$\@ instead of dh $@).
Closes: #983492.
* Alien/Package/Deb.pm: Fix incorrect file installation path.
This fixes the bug in manual override_dh_auto_install that files
are placed under / instead of /usr/ (default prefix).
Closes: #985835.
* Alien/Package/Rpm.pm: Also map aarch64 in rpm to arm64 in deb.
This fixes conversion of aarch64 rpm packages.
Closes: #985808.
-- Boyuan Yang <byang@debian.org> Wed, 07 Apr 2021 12:15:06 -0400
alien (8.95.3) unstable; urgency=medium
* QA upload.

4
debian/control vendored
View File

@@ -3,7 +3,7 @@ Section: admin
Priority: optional
Build-Depends: debhelper-compat (= 13)
Maintainer: Debian QA Group <packages@qa.debian.org>
Standards-Version: 4.5.0
Standards-Version: 4.6.2
Rules-Requires-Root: no
Vcs-Git: https://salsa.debian.org/debian/alien.git
Vcs-Browser: https://salsa.debian.org/debian/alien
@@ -14,7 +14,7 @@ Architecture: all
Depends: debhelper (>= 10),
${misc:Depends},
${perl:Depends},
rpm (>= 2.4.4-2),
rpm,
dpkg-dev,
make,
cpio,

14
debian/copyright vendored
View File

@@ -3,17 +3,17 @@ Source: native package
Files: *
Copyright: 1996-1997 Christoph Lameter <clameter@debian.org>
1997 Randolph Chung <rc42@cornell.edu>
2001 Mark A. Hershberger <mah@everybody.org>
1997-2011 Joey Hess <joeyh@debian.org>
1997 Randolph Chung <rc42@cornell.edu>
2001 Mark A. Hershberger <mah@everybody.org>
1997-2011 Joey Hess <joeyh@debian.org>
License: GPL-2+
Files: debian/*
Copyright: 1996-1997 Christoph Lameter <clameter@debian.org>
1997 Randolph Chung <rc42@cornell.edu>
2001 Mark A. Hershberger <mah@everybody.org>
1997-2011 Joey Hess <joeyh@debian.org>
2015 Fabiano Antunes <fabianoantunes@itgen.com.br>
1997 Randolph Chung <rc42@cornell.edu>
2001 Mark A. Hershberger <mah@everybody.org>
1997-2011 Joey Hess <joeyh@debian.org>
2015 Fabiano Antunes <fabianoantunes@itgen.com.br>
License: GPL-2+
License: GPL-2+

3
debian/salsa-ci.yml vendored Normal file
View File

@@ -0,0 +1,3 @@
---
include:
- https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/recipes/debian.yml

5
debian/tests/control vendored Normal file
View File

@@ -0,0 +1,5 @@
Test-Command: alien --help 2>&1 | grep "^Usage: alien"
Restrictions: allow-stderr, superficial
Tests: convert-deb-to-rpm.sh
Restrictions: allow-stderr, superficial

5
debian/tests/convert-deb-to-rpm.sh vendored Normal file
View File

@@ -0,0 +1,5 @@
#!/bin/sh
cp debian/tests/data/* $AUTOPKGTEST_TMP
cd $AUTOPKGTEST_TMP
alien --to-rpm *

Binary file not shown.