This file is indexed.

/usr/src/openswan-2.6.38/packaging/utils/branch is in openswan-modules-dkms 1:2.6.38-1.

This file is owned by root:root, with mode 0o755.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
#! /bin/sh
# branch release

PATH=/bin:/usr/bin ; export PATH
umask 022

. $HOME/freeswan-regress-env.sh

case "$1" in
*.*)	;;
*)	echo "Usage: $0 release [file...]" >&2 ; exit 2	;;
esac

rel="$1"
shift
tr="`echo $rel | tr '.' '_'`"
pre=PRE$tr
base=BASE$pre

echo "generating key for branch"
SNAPPGP=$SNAPSHOTSIGDIR/$base 
# Note: PGPPATH is limited to 50 characters.
PGPPATH=$SNAPPGP export PGPPATH
mkdir -p $PGPPATH
touch $PGPPATH/pgpdoc1.txt
touch $PGPPATH/pgpdoc2.txt

if [ ! -f $PGPPATH/secring.pgp ]
then
	echo "Please set userid to '<build+snap$tr@freeswan.org>'$PGPPATH"
	pgp -kg

	echo -n "Please insert release key floppy for signature"
	read ans
	mount /mnt/build
	PGPPATH=/mnt/build/freeswan export PGPPATH

	echo "Now signing key - please answer yes."
	pgp $SNAPPGP/pubring.pgp

	echo Please put key in $SNAPPGP/signedkey.asc
	pgp -kxa build+snap$tr@freeswan.org
 
	umount /mnt/build

fi

if [ ! -f snapshotsigs.pgp ]
then
	PGPPATH=$SNAPPGP export PGPPATH
	echo "Now importing key"
	pgp $SNAPPGP/signedkey.asc

	cp $SNAPPGP/signedkey.asc snapshotsigs.pgp
	cvs add snapshotsigs.pgp
	cvs commit -m"Signing key for $rel" snapshotsigs.pgp
fi

echo -n "PGP finished, now budding, press enter"
read ans

echo "budding..."
rm -f Makefile.ver
cvs tag $opt -c $base $*
echo
echo "branching..."
cvs tag $opt -b -r $base $pre $*