From: Kevin P. Fleming Date: Wed, 8 Mar 2023 14:28:38 +0000 (-0500) Subject: builder-support: Prepare to make Debian-style source artifacts X-Git-Tag: rec-4.9.0-beta1~26^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=82bd0bb4519a72c4583d94965dbec0c85486ea3a;p=thirdparty%2Fpdns.git builder-support: Prepare to make Debian-style source artifacts Debian requires an 'orig' tarball to be part of the source artifact set (along with the .dsc and .debian.tar.xz files), so the debbuild-prepare Dockerfile will now make a copy of the sdist-provided tarball with the proper name. --- diff --git a/builder-support/dockerfiles/Dockerfile.debbuild-prepare b/builder-support/dockerfiles/Dockerfile.debbuild-prepare index 2c8626e1e4..7f03177fe6 100644 --- a/builder-support/dockerfiles/Dockerfile.debbuild-prepare +++ b/builder-support/dockerfiles/Dockerfile.debbuild-prepare @@ -17,12 +17,18 @@ COPY --from=sdist /sdist /sdist @IF [ -n "$M_authoritative$M_all" ] RUN tar xvf /sdist/pdns-${BUILDER_VERSION}.tar.bz2 +# create copy of source tarball with name that dpkg-source requires +RUN cp /sdist/pdns-${BUILDER_VERSION}.tar.bz2 pdns_${BUILDER_VERSION}.orig.tar.bz2 @ENDIF @IF [ -n "$M_recursor$M_all" ] RUN tar xvf /sdist/pdns-recursor-${BUILDER_VERSION}.tar.bz2 +# create copy of source tarball with name that dpkg-source requires +RUN cp /sdist/pdns-recursor-${BUILDER_VERSION}.tar.bz2 pdns-recursor_${BUILDER_VERSION}.orig.tar.bz2 @ENDIF @IF [ -n "$M_dnsdist$M_all" ] RUN tar xvf /sdist/dnsdist-${BUILDER_VERSION}.tar.bz2 +# create copy of source tarball with name that dpkg-source requires +RUN cp /sdist/dnsdist-${BUILDER_VERSION}.tar.bz2 dnsdist_${BUILDER_VERSION}.orig.tar.bz2 @ENDIF