MAJOR=13
MINOR=65
DEVNAME=input/event1
  6   ˆl–äY>”Ên-ji@¿pB¸ÈÅ£�þE)YYÁ	Çã„óïù¿„„ÛÿÅÁÂ /ã    #!/bin/bash

# cvs-debrelease: Call dupload/dput to upload package built with
#                 cvs-buildpackage or cvs-debuild
#
# Based on debrelease; see it for copyright information
# Based on cvs-buildpackage, copyright 1997 Manoj Srivastava
# (CVS Id: cvs-buildpackage,v 1.58 2003/08/22 17:24:29 srivasta Exp)
# This code is copyright 2003, Julian Gilbey <jdg@debian.org>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.

set -e

PROGNAME=${0##*/} PROGNAME="${PROGNAME%.sh}"  # .sh for debugging purposes

usage() {
    echo \
"Usage: $PROGNAME [cvs-debrelease options] [--dopts [dupload/dput options]]
  Upload the .changes file(s) just created by cvs-buildpackage or
  cvs-debuild, as listed in the .changes file generated on that run.

  Note that unlike cvs-buildpackage, the only way to specify the
  source package name is with the -P option; you cannot simply have it
  as the last parameter.

  Also uses the cvs-buildpackage configuration files to determine the
  location of the build tree, as described in its manpage.

  Available cvs-debrelease options:
    -M<module>        CVS module name
    -P<package>       Package name
    -V<version>       Package version
    -T<tag>           CVS tag to use
    -R<root dir>      Root directory
    -W<work dir>      Working directory
    -x<prefix>        CVS default module prefix
    -a<arch>          Search for .changes file made for Debian build <arch>
    -t<target>        Search for .changes file made for GNU <target> arch
    --dupload         Use dupload to upload files (default)
    --dput            Use dput to upload files
    --no-conf, --noconf
                      Don't read devscripts config files;
                      must be the first option given
    --dopts           The remaining options are for dupload/dput
    --help            Show this message
    --version         Show version and copyright information
  Other cvs-buildpackage options will be silently ignored.

Default settings modified by devscripts configuration files:
  (no configuration files are read by $PROGNAME)
For information on default debrelease settings modified by the
configuration files, run:  debrelease --help"
}


version() { echo \
"This is $PROGNAME, from the Debian devscripts package, version 2.23.4+deb12u2
This code is copyright 2003, Julian Gilbey <jdg@debian.org>,
all rights reserved.
Based on original code by Christoph Lameter and Manoj Srivastava.
This program comes with ABSOLUTELY NO WARRANTY.
You are free to redistribute this code under the terms of
the GNU General Public License, version 2 or later."
}

setq() {
    # Variable Value Doc string
    if [ "x$2" = "x" ]; then
	echo >&2 "$PROGNAME: Unable to determine $3"
	exit 1;
    else
	if [ ! "x$Verbose" = "x" ]; then
	    echo "$PROGNAME: $3 is $2";
	fi
	eval "$1=\"\$2\"";
    fi
}

# Is cvs-buildpackage installed?
if ! command -v cvs-buildpackage > /dev/null; then
    echo "$PROGNAME: need the cvs-buildpackage package installed to run this" >&2
    exit 1
fi

# Long term variables, which may be set in the cvsdeb config file or the
# environment:
# rootdir workdir (if all original sources are kept in one dir)

TEMPDIR=$(mktemp -dt cvs-debrelease.XXXXXXXX) || {
    echo "$PROGNAME: Unable to create temporary directory" >&2
    echo "Aborting...." >&2
    exit 1
}
TEMPFILE=$TEMPDIR/cl-tmp
trap 'rm -f "$TEMPFILE"; rmdir "$TEMPDIR"' EXIT

TAGOP