From: Francesco Chemolli <5175948+kinkie@users.noreply.github.com> Date: Wed, 19 Nov 2025 01:54:30 +0000 (+0000) Subject: Maintenance: Remove mkrelease.sh (#2308) X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2e8bbcf2184d327c1ffb01a91d817d643627c6a9;p=thirdparty%2Fsquid.git Maintenance: Remove mkrelease.sh (#2308) mkrelease.sh is not used to build Squid v7 and later. --- diff --git a/mkrelease.sh b/mkrelease.sh deleted file mode 100755 index cabfb6d445..0000000000 --- a/mkrelease.sh +++ /dev/null @@ -1,96 +0,0 @@ -#!/bin/sh -ex -# -## Copyright (C) 1996-2025 The Squid Software Foundation and contributors -## -## Squid software is distributed under GPLv2+ license and includes -## contributions from numerous individuals and organizations. -## Please see the COPYING and CONTRIBUTORS files for details. -## - -if [ $# -ne 1 -a $# -ne 2 ]; then - echo "Usage: $0 revision [destination]" - exit 1 -fi - -# infer tags from command line details -package=squid -rev=`echo $1 | sed -e "s/^${package}-//"` -name=${package}-${rev} -tag=`echo ${name} | tr a-z.- A-Z__` -startdir=$PWD/ -dst=${2:-$PWD}/ -RELEASE_TIME=`date +%s` - -# DPW 2007-08-30 -# -# check that $rev has the right syntax -# -checkrev=`expr $rev : '\([0-9]\.[0-9][0-9]*\(\.[0-9\.]\)*\)'` -if test "$rev" != "$checkrev" ; then - echo "revision '$rev' has incorrect syntax. Should be like '3.1.0.1'" - exit 1; -fi - -po2html=`which po2html` -if test -z "$po2html" ; then - echo "cannot find po2html" - exit 1 -fi -po2txt=`which po2txt` -if test -z "$po2txt" ; then - echo "cannot find po2txt" - exit 1 -fi - - -tmpdir=${TMPDIR:-${PWD}}/${name}-mkrelease - -rm -rf $name.tar.gz $tmpdir -trap "rm -rf $tmpdir" 0 - -mkdir ${tmpdir} -(git archive --format=tar HEAD | tar -xC ${tmpdir}) || exit 1 - -if [ ! -f $tmpdir/bootstrap.sh ]; then - echo "ERROR! Tag $tag not found" -fi - -cd $tmpdir -./bootstrap.sh -eval `grep "^ *PACKAGE_VERSION=" configure | sed -e 's/-VCS//' | sed -e 's/PACKAGE_//'` -eval `grep "^ *PACKAGE_TARNAME=" configure | sed -e 's/_TARNAME//'` -if [ ${name} != ${PACKAGE}-${VERSION} ]; then - echo "ERROR! The tag and configure version numbers do not match!" - echo "${name} != ${PACKAGE}-${VERSION}" - exit 1 -fi -RELEASE=`echo $VERSION | cut -d. -f1,1 | cut -d- -f1` -ed -s configure.ac <