Bug#357066: [Pbuilder-maint] Bug#357066: Support DEBUILD_LINTIAN* and DEBUILD_LINDA* variables?

Luca Capello luca at pca.it
Sat Sep 27 17:46:47 UTC 2008


tags 357066 + patch
thanks

Hi there!

On Thu, 16 Mar 2006 13:20:13 +0100, Junichi Uekawa wrote:
> I was thinking along the lines of making default hooks.  The hooks
> potentially can process the config vars (there is a problem that those
> config vars are outside of chroot, but the general idea is this).

For the last reason, I strongly prefer a direct variable instead of a
hook.

I've used the following patch for at least one year:
--8<---------------cut here---------------start------------->8---
--- pdebuild.~1~	2008-09-27 19:22:14.000000000 +0200
+++ pdebuild	2008-09-27 19:22:40.000000000 +0200
@@ -63,6 +63,16 @@
     ${PBUILDERROOTCMD} ${PDEBUILD_PBUILDER} --build ${EXTRA_CONFIGFILE[@]/#/--configfile } --buildresult "${BUILDRESULT}"  --debbuildopts "${DEBBUILDOPTS}" "$@"  ../"${PKG_SOURCENAME}_${PKG_VERSION}".dsc
 fi
 
+# lintian
+if [ "${AUTO_LINTIAN}" = "yes" ]; then
+    unset LINTIAN_PARAM || true
+    if [ -n "${LINTIAN_OPTS}" ]; then
+	LINTIAN_PARAM[1]="${LINTIAN_OPTS}"
+    fi
+    LINTIAN_PARAM[2]="${BUILDRESULT}/${PKG_SOURCENAME}_${PKG_VERSION}_${ARCHITECTURE}.changes"
+    lintian "${LINTIAN_PARAM[@]}"
+fi
+
--8<---------------cut here---------------end--------------->8---

If there's a possibility to add this support upstream, I can rework the
patch to support devscripts options, as the oritinal submitter asked.
I, for myself, fully agree with Daniel on this point: we should not
duplicate variables, but instead use the existing ones, providing a
better integration between different tools.

Thx, bye,
Gismo / Luca
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 314 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pbuilder-maint/attachments/20080927/ef1d0426/attachment.pgp 


More information about the Pbuilder-maint mailing list