From: Pieter Lexis Date: Thu, 14 Dec 2017 10:22:19 +0000 (+0100) Subject: auth: remove gen-version from tarballs X-Git-Tag: dnsdist-1.3.3~83^2~52 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f19fe4656f0feb59d4091ca941aa9be70c88961b;p=thirdparty%2Fpdns.git auth: remove gen-version from tarballs This means that tarballs can *ONLY* be created via ./builder/build.sh --- diff --git a/Makefile.am b/Makefile.am index 7b5304c066..49e1cea72f 100644 --- a/Makefile.am +++ b/Makefile.am @@ -4,8 +4,6 @@ EXTRA_DIST = \ INSTALL \ NOTICE \ README \ - .version \ - build-aux/gen-version \ codedocs/doxygen.conf \ contrib/powerdns.solaris.init.d \ pdns/named.conf.parsertest \ diff --git a/builder b/builder index c250a900f6..5cc8e6f328 160000 --- a/builder +++ b/builder @@ -1 +1 @@ -Subproject commit c250a900f638c36be4c82e771a32dd385159a283 +Subproject commit 5cc8e6f3286bf3937813e155e0811808cc3fb994 diff --git a/builder-support/dockerfiles/Dockerfile.authoritative b/builder-support/dockerfiles/Dockerfile.authoritative index a3920f2989..aaade0b616 100644 --- a/builder-support/dockerfiles/Dockerfile.authoritative +++ b/builder-support/dockerfiles/Dockerfile.authoritative @@ -8,12 +8,14 @@ RUN apk add --no-cache gcc g++ make tar autoconf automake protobuf-dev lua-dev \ ADD configure.ac Makefile.am INSTALL NOTICE README /pdns-authoritative/ @EXEC sdist_dirs=(build-aux m4 pdns ext docs modules codedocs contrib regression-tests) @EXEC for d in ${sdist_dirs[@]} ; do echo "COPY $d/ /pdns-authoritative/$d/" ; done +ADD builder/helpers/set-configure-ac-version.sh /pdns-authoritative/builder/helpers/ WORKDIR /pdns-authoritative/ RUN mkdir /sdist ARG BUILDER_VERSION -RUN BUILDER_VERSION=${BUILDER_VERSION} autoreconf -v -i --force && \ +RUN /pdns-authoritative/builder/helpers/set-configure-ac-version.sh && \ + autoreconf -v -i --force && \ ./configure --without-modules --without-dynmodules --disable-dependency-tracking && \ make dist RUN cp pdns-${BUILDER_VERSION}.tar.bz2 /sdist/ diff --git a/configure.ac b/configure.ac index 3317d0d4fe..a5d88d1809 100644 --- a/configure.ac +++ b/configure.ac @@ -1,6 +1,6 @@ AC_PREREQ([2.61]) -AC_INIT([pdns], m4_esyscmd([build-aux/gen-version])) +AC_INIT([pdns], m4_esyscmd([builder-support/gen-version])) AC_CONFIG_SRCDIR([pdns/receiver.cc]) AC_CONFIG_MACRO_DIR([m4])