mirror of https://gitee.com/openkylin/lintian.git
Import Debian changes 2.114.0-ok1
lintian (2.114.0-ok1) yangtze; urgency=medium * Build for openkylin.
This commit is contained in:
parent
3a8117a332
commit
62ce81b4d3
|
@ -0,0 +1,8 @@
|
|||
lintian for Debian
|
||||
|
||||
Please edit this to provide information specific to
|
||||
this lintian Debian package.
|
||||
|
||||
(Automatically generated by debmake Version 4.3.1)
|
||||
|
||||
-- sufang <sufang@kylinos.cn> Wed, 14 Sep 2022 10:28:58 +0800
|
|
@ -0,0 +1,5 @@
|
|||
lintian (2.114.0-ok1) yangtze; urgency=medium
|
||||
|
||||
* Build for openkylin.
|
||||
|
||||
-- sufang <sufang@kylinos.cn> Wed, 14 Sep 2022 10:28:58 +0800
|
|
@ -0,0 +1,114 @@
|
|||
Source: lintian
|
||||
Section: devel
|
||||
Priority: optional
|
||||
Maintainer: OpenKylin Developers <packaging@lists.openkylin.top>
|
||||
Build-Depends:
|
||||
debhelper-compat (= 13),
|
||||
dpkg (>= 1.17.14),
|
||||
libconst-fast-perl,
|
||||
libfile-basedir-perl,
|
||||
libipc-run3-perl,
|
||||
libpath-tiny-perl,
|
||||
libunicode-utf8-perl,
|
||||
python3-docutils,
|
||||
Standards-Version: 4.6.0.1
|
||||
Vcs-Git: https://gitee.com/openkylin/lintian.git
|
||||
Vcs-Browser: https://gitee.com/openkylin/lintian
|
||||
Homepage: https://lintian.debian.org/
|
||||
Rules-Requires-Root: no
|
||||
|
||||
Package: lintian
|
||||
Architecture: all
|
||||
Depends:
|
||||
binutils,
|
||||
bzip2,
|
||||
diffstat,
|
||||
dpkg (>= 1.17.14),
|
||||
dpkg-dev,
|
||||
file,
|
||||
gettext,
|
||||
gpg,
|
||||
intltool-debian,
|
||||
libapt-pkg-perl,
|
||||
libarchive-zip-perl,
|
||||
libcapture-tiny-perl,
|
||||
# makes Moo faster, https://metacpan.org/pod/Moo#MOO-AND-CLASS::XSACCESSOR
|
||||
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,
|
||||
libencode-perl,
|
||||
libemail-address-xs-perl,
|
||||
libfile-basedir-perl,
|
||||
libfile-find-rule-perl,
|
||||
libfont-ttf-perl,
|
||||
libhtml-html5-entities-perl,
|
||||
libio-interactive-perl,
|
||||
libio-prompt-tiny-perl,
|
||||
libipc-run3-perl,
|
||||
libjson-maybexs-perl,
|
||||
liblist-compare-perl,
|
||||
liblist-someutils-perl,
|
||||
liblist-utilsby-perl,
|
||||
libmoo-perl,
|
||||
libmoox-aliases-perl,
|
||||
libnamespace-clean-perl,
|
||||
libpath-tiny-perl,
|
||||
libperlio-gzip-perl,
|
||||
libperlio-utf8-strict-perl,
|
||||
libproc-processtable-perl,
|
||||
libsereal-decoder-perl,
|
||||
libsereal-encoder-perl,
|
||||
libsort-versions-perl,
|
||||
libsyntax-keyword-try-perl,
|
||||
libterm-readkey-perl,
|
||||
libtext-glob-perl,
|
||||
libtext-levenshteinxs-perl,
|
||||
libtext-markdown-discount-perl,
|
||||
libtext-xslate-perl,
|
||||
libtime-duration-perl,
|
||||
libtime-moment-perl,
|
||||
libtimedate-perl,
|
||||
libunicode-utf8-perl,
|
||||
liburi-perl,
|
||||
libxml-libxml-perl,
|
||||
libyaml-libyaml-perl,
|
||||
lzip | clzip,
|
||||
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),
|
||||
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.0.1.
|
File diff suppressed because it is too large
Load Diff
|
@ -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 @@
|
|||
doc/examples/*
|
|
@ -0,0 +1,10 @@
|
|||
bin usr/share/lintian
|
||||
data usr/share/lintian
|
||||
lib usr/share/lintian
|
||||
.perlcriticrc usr/share/lintian
|
||||
# the next line will be removed when libconfig-model-dpkg-perl stops using Lintian data (Bug#968000)
|
||||
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/lintian/bin/lintian usr/bin/lintian
|
||||
usr/share/lintian/bin/lintian-explain-tags usr/bin/lintian-explain-tags
|
||||
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/man/man1/lintian-annotate-hints.1.gz usr/share/man/man1/lintian-info.1.gz
|
||||
usr/share/lintian/bin/spellintian usr/bin/spellintian
|
||||
usr/share/doc/lintian/lintian.rst usr/share/doc/lintian/lintian.txt
|
|
@ -0,0 +1 @@
|
|||
rm_conffile /etc/lintianrc 2.90.0~ lintian
|
|
@ -0,0 +1,2 @@
|
|||
man/man1/*.1
|
||||
man/man3/*.3
|
|
@ -0,0 +1 @@
|
|||
# You must remove unused comment lines for the released package.
|
|
@ -0,0 +1,70 @@
|
|||
#!/usr/bin/make -f
|
||||
|
||||
PERL ?= /usr/bin/perl
|
||||
|
||||
VER := $(shell head -1 debian/changelog | sed -e 's/^.*(//' -e 's/).*$$//')
|
||||
tmp := $(CURDIR)/debian/lintian
|
||||
profiles := profiles/debian/main.profile \
|
||||
profiles/debian/ftp-master-auto-reject.profile
|
||||
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
|
||||
autoreject_data := $(wildcard private/build-time-data/*)
|
||||
|
||||
ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
|
||||
jobs = $(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
|
||||
PAR_ARGS=-j $(jobs)
|
||||
endif
|
||||
|
||||
%:
|
||||
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_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/*
|
||||
|
||||
profiles: $(profiles);
|
||||
|
||||
$(profiles): $(autoreject_data) private/generate-profiles
|
||||
private/generate-profiles
|
||||
|
||||
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 @@
|
|||
3.0 (quilt)
|
|
@ -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
|
||||
# Conflicts:
|
||||
# libperl-critic-pulp-perl,
|
||||
Depends:
|
||||
aspell,
|
||||
aspell-en,
|
||||
build-essential,
|
||||
cdbs,
|
||||
default-jdk-headless | default-jdk,
|
||||
dh-elpa | bash (<< 4.4),
|
||||
dh-python,
|
||||
dh-r,
|
||||
dh-runit,
|
||||
dpatch,
|
||||
fakeroot,
|
||||
gcc-mingw-w64-i686,
|
||||
gcc-mingw-w64-x86-64,
|
||||
gpg-agent,
|
||||
javahelper,
|
||||
libmce-perl,
|
||||
libio-prompt-tiny-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-dev,
|
||||
python3-all-dev,
|
||||
python3-numpy,
|
||||
python3-setuptools,
|
||||
quilt,
|
||||
tidy,
|
||||
uglifyjs,
|
||||
zip,
|
Loading…
Reference in New Issue