autoconf: don't curl build script
Florian Westphal
maintainerPATCH 1/1 autoconf: don't curl build script
This is a bad idea; cloning repo followed by "./autogen.sh" brings repository into a changed state.
Partial revert of 74576db959cb
("build: doc: make generates requested documentation")
--- autogen.sh | 8 -------- 1 file changed, 8 deletions(-)
autogen.sh +0 -8
@@ -1,12 +1,4 @@ #!/bin/sh -e -BUILD_MAN=doxygen/build_man.sh - -# Allow to override build_man.sh url for local testing -# E.g. export NFQ_URL=file:///usr/src/libnetfilter_queue -curl ${NFQ_URL:-https://git.netfilter.org/libnetfilter_queue/plain}/$BUILD_MAN\ - -o$BUILD_MAN -chmod a+x $BUILD_MAN - autoreconf -fi rm -Rf autom4te.cache
Signature · 1 line
2.48.1
Hi Florian,
Quoted 29 lines · Florian Westphal
This is a bad idea; cloning repo followed by "./autogen.sh" brings repository into a changed state.
Partial revert of
74576db959cb
("build: doc:makegenerates requested documentation")Signed-off-by Florian Westphal <[email protected]>--- autogen.sh | 8 -------- 1 file changed, 8 deletions(-)autogen.sh +0
-9@@ -1,12 +1,4 @@ #!/bin/sh -e -BUILD_MAN=doxygen/build_man.sh - -# Allow to override build_man.sh url for local testing -# E.g. export NFQ_URL=file:///usr/src/libnetfilter_queue -curl ${NFQ_URL:-https://git.netfilter.org/libnetfilter_queue/plain}/$BUILD_MAN\ - -o$BUILD_MAN -chmod a+x $BUILD_MAN - autoreconf -fi rm -Rf autom4te.cache --
Quoted 3 lines
2.48.1
| This is a bad idea; cloning repo followed by "./autogen.sh" brings | repository into a changed state.
Agree with the above, except IMHO the "bad idea" is to have a frozen version of build_man.sh in the repository at all.
Pablo did that - I didn't like to quibble at the time but I thought no good would come of it.
I've sent in an alternative patch to remove build_man.sh from the repo and add it to .gitignore.
With this patch git clone followed by "./autogen.sh" behaves as it should.
Cheers ... Duncan.
Florian Westphal
maintainerQuoted 5 lines · Duncan Roe
| This is a bad idea; cloning repo followed by "./autogen.sh" brings | repository into a changed state.
Agree with the above, except IMHO the "bad idea" is to have a frozen version of
build_man.shin the repository at all.
I absolutely hate the idea of fetching stuff at build time. And in this case, we fetch an exectuable shell script from untrusted location.
It has backdoor written all over it.
Quoted 5 lines · Florian Westphal
I absolutely hate the idea of fetching stuff at build time. And in this case, we fetch an exectuable shell script from untrusted location.
Ok in future I'll send build_man patches to libnetfilter_log once they're applied to libnetfilter_queue.
Have just found an error in the latest update :( so will wait for the fix to be accepted.
Cheers ... Duncan.
Pablo Neira Ayuso
maintainerQuoted 5 lines · Florian Westphal
This is a bad idea; cloning repo followed by "./autogen.sh" brings repository into a changed state.
Partial revert of
74576db959cb
("build: doc:makegenerates requested documentation")
Please, apply this. Thanks.
Quoted 26 lines
Signed-off-by Florian Westphal <[email protected]>--- autogen.sh | 8 -------- 1 file changed, 8 deletions(-)autogen.sh +0
-8@@ -1,12 +1,4 @@ #!/bin/sh -e -BUILD_MAN=doxygen/build_man.sh - -# Allow to override build_man.sh url for local testing -# E.g. export NFQ_URL=file:///usr/src/libnetfilter_queue -curl ${NFQ_URL:-https://git.netfilter.org/libnetfilter_queue/plain}/$BUILD_MAN\ - -o$BUILD_MAN -chmod a+x $BUILD_MAN - autoreconf -fi rm -Rf autom4te.cacheSignature · 1 line
2.48.1