mirror of https://gitee.com/openkylin/lintian.git
Import Debian changes 2.117.0-ok1
lintian (2.117.0-ok1) nile; urgency=medium * Build for openKylin.
This commit is contained in:
parent
4a647da510
commit
4da256c02f
|
@ -0,0 +1,5 @@
|
|||
lintian (2.117.0-ok1) nile; urgency=medium
|
||||
|
||||
* Build for openKylin.
|
||||
|
||||
-- openKylinBot <openKylinBot@openkylin.top> Tue, 07 May 2024 09:33:37 +0800
|
|
@ -0,0 +1,162 @@
|
|||
Source: lintian
|
||||
Section: devel
|
||||
Priority: optional
|
||||
Maintainer: openKylin Developers <packaging@lists.openkylin.top>
|
||||
XSBC-Original-Maintainer: Debian Lintian Maintainers <lintian-maint@debian.org>
|
||||
Uploaders: Axel Beckert <abe@debian.org>, Bastien Roucariès <rouca@debian.org>
|
||||
Build-Depends: aspell <!nocheck>,
|
||||
aspell-en <!nocheck>,
|
||||
cdbs <!nocheck>,
|
||||
debhelper (>= 13.11.8~) <!nocheck>,
|
||||
debhelper-compat (= 13),
|
||||
default-jdk-headless | default-jdk <!nocheck>,
|
||||
dh-elpa | bash (<< 4.4) <!nocheck>,
|
||||
dh-python <!nocheck>,
|
||||
dh-r <!nocheck>,
|
||||
dh-runit <!nocheck>,
|
||||
dpkg (>= 1.17.14),
|
||||
fakeroot <!nocheck>,
|
||||
gcc-mingw-w64-i686 <!nocheck>,
|
||||
gcc-mingw-w64-x86-64 <!nocheck>,
|
||||
gpg-agent <!nocheck>,
|
||||
javahelper <!nocheck>,
|
||||
libarray-utils-perl <!nocheck>,
|
||||
libconst-fast-perl,
|
||||
libfile-basedir-perl,
|
||||
libio-prompt-tiny-perl <!nocheck>,
|
||||
libipc-run3-perl,
|
||||
liblist-someutils-perl <!nocheck>,
|
||||
libmce-perl <!nocheck>,
|
||||
libpath-tiny-perl,
|
||||
libperl-critic-freenode-perl <!nocheck>,
|
||||
libperl-critic-pulp-perl <!nocheck>,
|
||||
libpod-coverage-trustpod-perl <!nocheck>,
|
||||
libtest-minimumversion-perl <!nocheck>,
|
||||
libtest-perl-critic-perl <!nocheck>,
|
||||
libtest-pod-coverage-perl <!nocheck>,
|
||||
libtest-pod-perl <!nocheck>,
|
||||
libtest-spelling-perl <!nocheck>,
|
||||
libtest-strict-perl <!nocheck>,
|
||||
libtest-synopsis-perl <!nocheck>,
|
||||
libtext-csv-perl <!nocheck>,
|
||||
libtext-csv-xs-perl <!nocheck>,
|
||||
libtext-diff-perl <!nocheck>,
|
||||
libtext-template-perl <!nocheck>,
|
||||
libunicode-utf8-perl,
|
||||
lintian <!nocheck>,
|
||||
mingw-w64-tools <!nocheck>,
|
||||
pkg-php-tools <!nocheck>,
|
||||
python-dev-is-python3 <!nocheck>,
|
||||
python3 <!nocheck>,
|
||||
python3-all-dev <!nocheck>,
|
||||
python3-dev <!nocheck>,
|
||||
python3-docutils,
|
||||
python3-numpy <!nocheck>,
|
||||
python3-setuptools <!nocheck>,
|
||||
quilt <!nocheck>,
|
||||
tidy <!nocheck>,
|
||||
uglifyjs <!nocheck>,
|
||||
wamerican <!nocheck>,
|
||||
wbritish <!nocheck>,
|
||||
zip <!nocheck>
|
||||
Standards-Version: 4.6.2
|
||||
Rules-Requires-Root: no
|
||||
Vcs-Git: https://salsa.debian.org/lintian/lintian.git
|
||||
Vcs-Browser: https://salsa.debian.org/lintian/lintian
|
||||
Homepage: https://lintian.debian.org/
|
||||
|
||||
Package: lintian
|
||||
Architecture: all
|
||||
Depends: binutils,
|
||||
bzip2,
|
||||
diffstat,
|
||||
dpkg (>= 1.17.14),
|
||||
dpkg-dev,
|
||||
file,
|
||||
gettext,
|
||||
gpg,
|
||||
intltool-debian,
|
||||
iso-codes,
|
||||
libapt-pkg-perl,
|
||||
libarchive-zip-perl,
|
||||
libberkeleydb-perl,
|
||||
libcapture-tiny-perl,
|
||||
libclass-xsaccessor-perl,
|
||||
libclone-perl,
|
||||
libconfig-tiny-perl,
|
||||
libconst-fast-perl,
|
||||
libcpanel-json-xs-perl,
|
||||
libdata-dpath-perl,
|
||||
libdata-validate-domain-perl,
|
||||
libdata-validate-uri-perl,
|
||||
libdevel-size-perl,
|
||||
libdigest-sha-perl,
|
||||
libdpkg-perl,
|
||||
libemail-address-xs-perl,
|
||||
libencode-perl,
|
||||
libfile-basedir-perl,
|
||||
libfile-find-rule-perl,
|
||||
libfont-ttf-perl,
|
||||
libhtml-html5-entities-perl,
|
||||
libhtml-tokeparser-simple-perl,
|
||||
libio-interactive-perl,
|
||||
libipc-run3-perl,
|
||||
libjson-maybexs-perl,
|
||||
liblist-compare-perl,
|
||||
liblist-someutils-perl,
|
||||
liblist-utilsby-perl,
|
||||
libmldbm-perl,
|
||||
libmoo-perl,
|
||||
libmoox-aliases-perl,
|
||||
libnamespace-clean-perl,
|
||||
libpath-tiny-perl,
|
||||
libperlio-gzip-perl,
|
||||
libperlio-utf8-strict-perl,
|
||||
libproc-processtable-perl,
|
||||
libregexp-wildcards-perl,
|
||||
libsereal-decoder-perl,
|
||||
libsereal-encoder-perl,
|
||||
libsort-versions-perl,
|
||||
libsyntax-keyword-try-perl,
|
||||
libterm-readkey-perl,
|
||||
libtext-levenshteinxs-perl,
|
||||
libtext-markdown-discount-perl,
|
||||
libtext-xslate-perl,
|
||||
libtime-duration-perl,
|
||||
libtime-moment-perl,
|
||||
libtimedate-perl,
|
||||
libunicode-utf8-perl,
|
||||
liburi-perl,
|
||||
libwww-mechanize-perl,
|
||||
libwww-perl,
|
||||
libxml-libxml-perl,
|
||||
libyaml-libyaml-perl,
|
||||
lzip | lzip-decompressor,
|
||||
lzop,
|
||||
man-db,
|
||||
patchutils,
|
||||
perl,
|
||||
t1utils,
|
||||
unzip,
|
||||
xz-utils,
|
||||
${misc:Depends},
|
||||
${perl:Depends}
|
||||
Suggests: binutils-multiarch, libtext-template-perl
|
||||
Breaks: funny-manpages (<< 1.3-5.1),
|
||||
libconfig-model-dpkg-perl (<< 2.151),
|
||||
lintian-brush (<< 0.88),
|
||||
lzd (<< 1.2-3~),
|
||||
pkg-js-tools (<< 0.9.4),
|
||||
pkg-perl-tools (<< 0.53)
|
||||
Replaces: funny-manpages (<< 1.3-5.1)
|
||||
Multi-Arch: foreign
|
||||
Description: Debian package checker
|
||||
Lintian dissects Debian packages and reports bugs and policy violations. It
|
||||
contains automated checks for many aspects of Debian policy as well as some
|
||||
checks for common errors.
|
||||
.
|
||||
This package is useful for all people who want to check Debian packages for
|
||||
compliance with Debian policy. Every Debian maintainer should check packages
|
||||
with this tool before uploading them to the archive.
|
||||
.
|
||||
This version of Lintian is calibrated for Debian Policy version 4.6.2.
|
|
@ -0,0 +1,86 @@
|
|||
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
|
||||
Upstream-Name: lintian
|
||||
Upstream-Contact: <debian-lint-maint@lists.debian.org>
|
||||
Source: https://lintian.debian.org/
|
||||
Comment:
|
||||
This is the Debian package of Lintian, the Debian package checker.
|
||||
The latest version of Lintian can always be found at:
|
||||
https://lintian.debian.org/
|
||||
.
|
||||
Lintian was designed and written by Christian Schwarz and Richard Braakman.
|
||||
The package was previously maintained by Darren Benham,
|
||||
Sean 'Shaleh' Perry and Josip Rodin.
|
||||
.
|
||||
It is now maintained by a group of people, with changes noted by initials
|
||||
in the changelog. Key to frequent committers:
|
||||
.
|
||||
JvW == Jeroen van Wolffelaar <jeroen@wolffelaar.nl>
|
||||
FL == Frank Lichtenheld <djpig@debian.org>
|
||||
HE == Marc 'HE' Brockschmidt <he@debian.org>
|
||||
CW == Colin Watson <cjwatson@debian.org>
|
||||
RA == Russ Allbery <rra@debian.org>
|
||||
TK == Thijs Kinkhorst <thijs@debian.org>
|
||||
ADB == Adam D. Barratt <adam@adam-barratt.org.uk>
|
||||
JP == Jordà Polo <jorda@ettin.org>
|
||||
JA == Jari Aalto <jari.aalto@cante.net>
|
||||
RG == Raphael Geissert <geissert@debian.org>
|
||||
NT == Niels Thykier <niels@thykier.net>
|
||||
JW == Jakub Wilk <jwilk@debian.org>
|
||||
BR == Bastien ROUCARIÈS <roucaries.bastien@gmail.com>
|
||||
AB == Axel Beckert <abe@debian.org>
|
||||
PW == Paul Wise <pabs@debian.org>
|
||||
CL == Chris Lamb <lamby@debian.org>
|
||||
EB == Edward Betts <edward@debian.org>
|
||||
GN == Gergely Nagy <algernon@debian.org>
|
||||
SL == Sylvestre Ledru <sylvestre@debian.org>
|
||||
SRL == Steve Langasek <vorlon@debian.org>
|
||||
.
|
||||
Lintian is maintained in git. The current development version may
|
||||
be checked out from:
|
||||
https://salsa.debian.org/lintian/lintian.git
|
||||
|
||||
Files: *
|
||||
Copyright: 1998, Christian Schwarz
|
||||
1998, Richard Braakman
|
||||
1998-1999, Joey Hess
|
||||
1999, Darren Benham
|
||||
2000, Sean 'Shaleh' Perry
|
||||
2001-2017, Colin Watson
|
||||
2001-2003, Josip Rodin
|
||||
2002-2004, Denis Barbier
|
||||
2004-2008, Marc Brockschmidt
|
||||
2004-2008, Frank Lichtenheld
|
||||
2004-2006, Jeroen van Wolffelaar
|
||||
2005, René van Bevern
|
||||
2006, Adeodato Simó
|
||||
2007-2013, Russ Allbery
|
||||
2008, Patrick Schoenfeld
|
||||
2008, Niko Tyni
|
||||
2008-2017, Raphael Geissert
|
||||
2008-2019, Adam D. Barratt
|
||||
2009, Stéphane Glondu
|
||||
2010, Raphaël Hertzog
|
||||
2010-2019, Niels Thykier
|
||||
2011, Gerfried Fuchs
|
||||
2011-2016, Jakub Wilk
|
||||
2013-2018, Bastien ROUCARIÈS
|
||||
2014-2023, Axel Beckert
|
||||
2016-2021, Chris Lamb
|
||||
2018-2022, Felix Lechner
|
||||
2017, Edward Betts
|
||||
License: GPL-2+
|
||||
This program is free software; you may redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation; either version 2, or (at your option)
|
||||
any later version.
|
||||
.
|
||||
This is distributed in the hope that it will be useful, but without
|
||||
any warranty; without even the implied warranty of merchantability or
|
||||
fitness for a particular purpose. See the GNU General Public License
|
||||
for more details.
|
||||
.
|
||||
A copy of the GNU General Public License version 2 is available as
|
||||
/usr/share/common-licenses/GPL-2 in the Debian GNU/Linux distribution
|
||||
or at https://www.gnu.org/licenses/old-licenses/gpl-2.0.html.
|
||||
You can also obtain it by writing to the Free Software Foundation, Inc.,
|
||||
51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
|
|
@ -0,0 +1,3 @@
|
|||
etc
|
||||
usr/bin
|
||||
usr/share/lintian
|
|
@ -0,0 +1,12 @@
|
|||
Document: lintian
|
||||
Title: Lintian User's Manual
|
||||
Author: Christian Schwarz, Richard Braakman, Sean 'Shaleh' Perry
|
||||
Abstract: This manual describes Lintian, the Debian package checker.
|
||||
Section: Debian
|
||||
|
||||
Format: HTML
|
||||
Index: /usr/share/doc/lintian/lintian.html
|
||||
Files: /usr/share/doc/lintian/*.html
|
||||
|
||||
Format: text
|
||||
Files: /usr/share/doc/lintian/lintian.rst.gz
|
|
@ -0,0 +1,5 @@
|
|||
README.md
|
||||
doc/CREDITS
|
||||
doc/api.html
|
||||
doc/lintian.html
|
||||
doc/lintian.rst
|
|
@ -0,0 +1,5 @@
|
|||
# Reported as parked, false positive
|
||||
https://www.freedesktop.org/wiki/Software/dbus/
|
||||
|
||||
# True positive, but part of a lintian test to find such stuff. :-)
|
||||
https://example.com/%i/
|
|
@ -0,0 +1,6 @@
|
|||
[DEFAULT]
|
||||
# As long as this is a native package, we don't need any prefixes
|
||||
debian-tag = %(version)s
|
||||
|
||||
[dch]
|
||||
multimaint-merge = True
|
|
@ -0,0 +1 @@
|
|||
doc/examples/*
|
|
@ -0,0 +1,10 @@
|
|||
# the next line will be removed when libconfig-model-dpkg-perl stops using Lintian data (Bug#968000)
|
||||
.perlcriticrc usr/share/lintian
|
||||
bin usr/share/lintian
|
||||
data usr/share/lintian
|
||||
lib usr/share/lintian
|
||||
private/latest-policy-version usr/share/lintian/private
|
||||
profiles usr/share/lintian
|
||||
tags usr/share/lintian
|
||||
templates usr/share/lintian
|
||||
vendors usr/share/lintian
|
|
@ -0,0 +1,7 @@
|
|||
usr/share/doc/lintian/lintian.rst usr/share/doc/lintian/lintian.txt
|
||||
usr/share/lintian/bin/lintian usr/bin/lintian
|
||||
usr/share/lintian/bin/lintian-annotate-hints usr/bin/lintian-annotate-hints
|
||||
usr/share/lintian/bin/lintian-annotate-hints usr/bin/lintian-info
|
||||
usr/share/lintian/bin/lintian-explain-tags usr/bin/lintian-explain-tags
|
||||
usr/share/lintian/bin/spellintian usr/bin/spellintian
|
||||
usr/share/man/man1/lintian-annotate-hints.1.gz usr/share/man/man1/lintian-info.1.gz
|
|
@ -0,0 +1 @@
|
|||
rm_conffile /etc/lintianrc 2.90.0~ lintian
|
|
@ -0,0 +1,2 @@
|
|||
man/man1/*.1
|
||||
man/man3/*.3
|
|
@ -0,0 +1,71 @@
|
|||
#!/usr/bin/make -f
|
||||
|
||||
PERL ?= /usr/bin/perl
|
||||
|
||||
VER := $(shell head -1 debian/changelog | sed -e 's/^.*(//' -e 's/).*$$//')
|
||||
tmp := $(CURDIR)/debian/lintian
|
||||
pod2man := pod2man --center "Debian Package Checker" --release "Lintian v$(VER)"
|
||||
pod2mansources := $(wildcard man/*.pod)
|
||||
docsources := doc/lintian.rst README.md $(pod2mansources)
|
||||
perlprovides := data/fields/perl-provides
|
||||
|
||||
ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
|
||||
jobs = $(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
|
||||
PAR_ARGS=-j $(jobs)
|
||||
endif
|
||||
|
||||
# export DH_VERBOSE=1
|
||||
|
||||
%:
|
||||
dh $@
|
||||
|
||||
override_dh_auto_build: generate-docs-stamp
|
||||
# check that the static data about perl core modules is up to date
|
||||
$(PERL) -ne '/PERL_VERSION=(.+)/ and $$] > $$1 and warn q{*}x60 . qq{\n$(perlprovides) needs an update, please run\n debian/rules refresh-perl-provides\n} . q{*}x60 . qq{\n}' $(perlprovides)
|
||||
|
||||
|
||||
override_dh_auto_test:
|
||||
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
|
||||
private/runtests
|
||||
endif
|
||||
|
||||
override_dh_clean:
|
||||
rm -rf $(CURDIR)/debian/test-out
|
||||
rm -rf doc/api.html doc/lintian.html
|
||||
rm -rf man/man1/ man/man3/ l10n/
|
||||
dh_clean
|
||||
|
||||
override_dh_install:
|
||||
dh_install
|
||||
echo "Setting LINTIAN_VERSION to $(VER)"
|
||||
$(PERL) -p -i -e 's/my \$$LINTIAN_VERSION;/my \$$LINTIAN_VERSION = q{$(VER)};/;' \
|
||||
$(tmp)/usr/share/lintian/bin/*
|
||||
|
||||
|
||||
api-doc:
|
||||
private/generate-html-docs doc/api.html
|
||||
|
||||
.PHONY: generate-docs
|
||||
generate-docs: generate-docs-stamp
|
||||
|
||||
generate-docs-stamp: $(docsources)
|
||||
dh_testdir
|
||||
# A UTF-8 locale seemed appropriate; manual uses § character
|
||||
cd doc && LC_ALL=en_US.UTF-8 rst2html lintian.rst > lintian.html
|
||||
mkdir -p man/man1/ man/man3/
|
||||
$(pod2man) --name lintian --section=1 man/lintian.pod > man/man1/lintian.1
|
||||
set -e ; for POD in $(pod2mansources) ; do \
|
||||
BASENAME=$$(basename "$$POD" .pod) ; \
|
||||
$(pod2man) --section=1 "$$POD" > "man/man1/$$BASENAME".1 ; \
|
||||
done
|
||||
set -e ; for POD in $$(find doc/tutorial lib/Lintian lib/Test -type f '!' -path '*/Output/*' '!' -path '*/Check/*' '!' -path '*/Screen/*' ) ; do \
|
||||
BASENAME=$$(echo "$$POD" | perl -pe 's@^(doc/tutorial|lib)/@@; s@/@::@g; s/\.(pod|pm)$$//') ; \
|
||||
$(pod2man) --name="$$BASENAME" --section=3 "$$POD" > "man/man3/$$BASENAME".3 ; \
|
||||
done
|
||||
private/generate-html-docs doc/api.html > /dev/null
|
||||
touch $@
|
||||
|
||||
# only used manually
|
||||
.PHONY: refresh-perl-provides
|
||||
refresh-perl-provides:
|
||||
perl private/refresh-perl-provides > $(perlprovides)
|
|
@ -0,0 +1,30 @@
|
|||
---
|
||||
include:
|
||||
- https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/salsa-ci.yml
|
||||
- https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/pipeline-jobs.yml
|
||||
|
||||
build-testing:
|
||||
variables:
|
||||
RELEASE: 'testing'
|
||||
DEB_BUILD_OPTIONS: 'nocheck'
|
||||
extends: .build-package
|
||||
|
||||
build-bookworm-backports:
|
||||
variables:
|
||||
RELEASE: 'bookworm-backports'
|
||||
DEB_BUILD_OPTIONS: 'nocheck'
|
||||
extends: .build-package
|
||||
allow_failure: true
|
||||
|
||||
variables:
|
||||
SALSA_CI_DISABLE_BLHC: 1
|
||||
SALSA_CI_DISABLE_BUILD_PACKAGE_ANY: 1
|
||||
SALSA_CI_LINTIAN_FAIL_WARNING: 1
|
||||
DEB_BUILD_OPTIONS: 'nocheck'
|
||||
|
||||
# Try to override the lintian version being used to the just built
|
||||
# version.
|
||||
.test-lintian: &test-lintian
|
||||
before_script:
|
||||
- apt-get update
|
||||
- apt-get install -y ${WORKING_DIR}/lintian_*.deb
|
|
@ -0,0 +1 @@
|
|||
3.0 (quilt)
|
|
@ -0,0 +1,3 @@
|
|||
license-problem-json-evil *tags/l/license-problem-json-evil.tag*
|
||||
license-problem-nvidia-intellectual *lib/Lintian/Check/Cruft.pm*
|
||||
test-leaves-python-version-untested *debian/tests/build-and-evaluate-test-packages*
|
|
@ -0,0 +1,10 @@
|
|||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
export LINTIAN_TEST_INSTALLED=yes
|
||||
WORKDIR="$AUTOPKGTEST_TMP/$(basename $0)"
|
||||
|
||||
private/runtests --debug --unattended --keep-going --work-dir="$WORKDIR"
|
||||
|
||||
rm -rf "${WORKDIR}"
|
|
@ -0,0 +1,49 @@
|
|||
Tests: build-and-evaluate-test-packages
|
||||
Restrictions: allow-stderr
|
||||
Depends: aspell,
|
||||
aspell-en,
|
||||
build-essential,
|
||||
cdbs,
|
||||
default-jdk-headless | default-jdk,
|
||||
dh-elpa | bash (<< 4.4),
|
||||
dh-python,
|
||||
dh-r,
|
||||
dh-runit,
|
||||
fakeroot,
|
||||
gcc-mingw-w64-i686,
|
||||
gcc-mingw-w64-x86-64,
|
||||
gpg-agent,
|
||||
javahelper,
|
||||
libarray-utils-perl,
|
||||
libio-prompt-tiny-perl,
|
||||
liblist-someutils-perl,
|
||||
libmce-perl,
|
||||
libperl-critic-freenode-perl,
|
||||
libperl-critic-pulp-perl,
|
||||
libpod-coverage-trustpod-perl,
|
||||
libtest-minimumversion-perl,
|
||||
libtest-perl-critic-perl,
|
||||
libtest-pod-coverage-perl,
|
||||
libtest-pod-perl,
|
||||
libtest-spelling-perl,
|
||||
libtest-strict-perl,
|
||||
libtest-synopsis-perl,
|
||||
libtext-csv-perl,
|
||||
libtext-csv-xs-perl,
|
||||
libtext-diff-perl,
|
||||
libtext-template-perl,
|
||||
lintian,
|
||||
mingw-w64-tools,
|
||||
pkg-php-tools,
|
||||
python-dev-is-python3,
|
||||
python3,
|
||||
python3-all-dev,
|
||||
python3-dev,
|
||||
python3-numpy,
|
||||
python3-setuptools,
|
||||
quilt,
|
||||
tidy,
|
||||
uglifyjs,
|
||||
wamerican,
|
||||
wbritish,
|
||||
zip
|
Loading…
Reference in New Issue