]> The Tcpdump Group git mirrors - tcpdump/commitdiff
Remove the release candidate rcX targets
authorFrancois-Xavier Le Bail <[email protected]>
Mon, 31 Oct 2022 16:20:18 +0000 (17:20 +0100)
committerFrancois-Xavier Le Bail <[email protected]>
Mon, 31 Oct 2022 16:20:18 +0000 (17:20 +0100)
These tricky targets used "autoreconf -f" (via "make releasetar") and
they changed the VERSION and configure files locally.

If building a release candidate tar archive is needed, it's better to:
Update VERSION with rcX suffix and configure via "autoreconf -f",
commit them, add a tag and build the archive via "make releasetar".
It should display: Archive build from tag tcpdump-...rcX.

Note: the "autoreconf -f" command changes the configure file in an
uncontrolled way (runstatedir, #define LARGE_OFF_T, etc.) depending on
the autoconf version.
It is necessary to choose the parts that will be added in the commit
with "git add -i".

This is a follow-up to c378c2a04cdb3c8ec35341ca503cf1a2889a77d5.

[skip ci]

CHANGES
Makefile.in

diff --git a/CHANGES b/CHANGES
index 71be287885f6aa52793b8c9c01489a722538b123..660163977041da692f36617e02c4a647c5a81d94 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -91,6 +91,7 @@ TBD
       Fix an error when cross-compiling.
       Fix "make releasetar" on AIX and Solaris.
       Use "git archive" for the "make releasetar" process.
+      Remove the release candidate rcX targets.
       Mend "make check" on Solaris 9 with Autoconf.
       Address assorted compiler warnings.
       Fix auto-enabling of Capsicum on FreeBSD with Autoconf.
index ef6605aed6f2af65e82537c0484a15991b20820d..c87a6ab026fef5128a9f9a3c8e5f689f742fac0f 100644 (file)
@@ -488,12 +488,6 @@ releasetar:
            echo "No $$TAG tag. Archive build from HEAD."; \
        fi
 
-rc1 rc2 rc3 rc4 rc5:
-       @VER=`cat $(srcdir)/VERSION`; \
-       sed -i "s/$$VER/$${VER}$@/" VERSION ; \
-       make releasetar; \
-       git checkout VERSION configure
-
 testlist:
        echo $(TEST_DIST)