diff --git a/.gitattributes b/.gitattributes index cd91d63daa..d4f1a59610 100644 --- a/.gitattributes +++ b/.gitattributes @@ -10000,10 +10000,12 @@ tools/install/cross_unix/debian_crosswin32/changelog.Debian svneol=native#text/p tools/install/cross_unix/debian_crosswin32/control svneol=native#text/plain tools/install/cross_unix/debian_crosswin32/copyright svneol=native#text/plain tools/install/cross_unix/update_cross_fpc.sh svneol=native#text/plain +tools/install/debian_fpc-src/lintian.overrides svneol=native#text/plain tools/install/debian_fpc/changelog svneol=native#text/plain tools/install/debian_fpc/changelog.Debian svneol=native#text/plain tools/install/debian_fpc/control svneol=native#text/plain tools/install/debian_fpc/copyright svneol=native#text/plain +tools/install/debian_fpc/lintian.overrides svneol=native#text/plain tools/install/debian_fpc/postinst svneol=native#text/plain tools/install/debian_lazarus/conffiles svneol=native#text/plain tools/install/debian_lazarus/control svneol=native#text/plain diff --git a/tools/install/create_fpc_deb.sh b/tools/install/create_fpc_deb.sh index 2ad2a01c8b..935e471df2 100755 --- a/tools/install/create_fpc_deb.sh +++ b/tools/install/create_fpc_deb.sh @@ -185,6 +185,7 @@ ResourceDir=$CurDir/debian_$PackageName DebianInstallDir=$FPCBuildDir/usr DebianRulezDir=$FPCBuildDir/DEBIAN/ DebianDocDir=$FPCBuildDir/usr/share/doc/$PackageName${TARGET_SUFFIX} +DebianLintianDir=$FPCBuildDir/usr/share/lintian DebianSourceDir=$FPCBuildDir/usr/share/fpcsrc/$FPCVersion Date=`date --rfc-822` @@ -205,6 +206,8 @@ mkdir -p $DebianDocDir chmod 755 $DebianDocDir mkdir -p $DebianRulezDir chmod 755 $DebianRulezDir +mkdir -p $DebianLintianDir +chmod 755 $DebianLintianDir if [ "$PackageName" = "fpc-src" ]; then # copy fpc sources @@ -259,7 +262,8 @@ cat $ResourceDir/control \ -e "s/Depends: binutils/Depends: $DEPENDS/" \ -e "s/DEBSIZE/$DebSize/" \ > $DebianRulezDir/control - +mkdir -p $DebianLintianDir/overrides +cp $ResourceDir/lintian.overrides $DebianLintianDir/overrides/$PackageName$TARGET_SUFFIX # identify conf files if test -n "$TARGET_SUFFIX" diff --git a/tools/install/debian_fpc-src/lintian.overrides b/tools/install/debian_fpc-src/lintian.overrides new file mode 100644 index 0000000000..1fdf1389a8 --- /dev/null +++ b/tools/install/debian_fpc-src/lintian.overrides @@ -0,0 +1,4 @@ +# ignore special files in /usr/share +fpc-src: arch-dependent-file-in-usr-share +fpc-src: binary-from-other-architecture +fpc-src: wrong-path-for-interpreter diff --git a/tools/install/debian_fpc/lintian.overrides b/tools/install/debian_fpc/lintian.overrides new file mode 100644 index 0000000000..cffb4d9f97 --- /dev/null +++ b/tools/install/debian_fpc/lintian.overrides @@ -0,0 +1,3 @@ +# ignore special files in /usr/share +#fpc: arch-dependent-file-in-usr-share +