This file is indexed.

/usr/bin/lua5.1-policy-create-svnbuildpackage-layout is in lua5.1-policy-dev 33.

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
#!/bin/sh

if [ -z "$1" -o "$1" = "-h" -o "$1" = "--help" ]; then
	echo Give as a unique argument the name of the source package
	echo that will be the name of the root directory of the package.
	echo Be sure to start this script from your packages/ directory.
	exit 1
fi

PKG=$1

SVN=
if [ -x /usr/bin/svn ]; then
	SVN=/usr/bin/svn
else
	echo warning: No /usr/bin/svn found
	echo warning: The directory structure will be created, but no items
	echo warning: will be added to the svn repository nor svn properties
	echo warning: will be set.
fi

$SVN mkdir $PKG
$SVN mkdir $PKG/trunk
$SVN mkdir $PKG/tags
$SVN mkdir $PKG/build-area
$SVN mkdir $PKG/tarballs
$SVN mkdir $PKG/trunk/debian
$SVN mkdir $PKG/trunk/debian/patches

touch $PKG/trunk/debian/patches/00list
cat >  $PKG/trunk/debian/patches/00dpatch.conf <<EOT
conf_debianonly=1
conf_origtargzpath=../tarballs/
EOT

cat > $PKG/trunk/debian/watch <<EOT
# test this watch file using:
# uscan --watchfile debian/watch --upstream-version 0.0.1 --package $PKG
#
version=3
http://luaforge.net/frs/?group_id=XXX  /frs/download.php/\d+/$PKG-([\d\.]*).tar.gz
EOT
cp /usr/share/lua5.1-policy-dev/Makefile.Debian.conf.sample \
	$PKG/trunk/debian/Makefile.Debian.conf
cp /usr/share/lua5.1-policy-dev/rules $PKG/trunk/debian/rules
chmod a+x $PKG/trunk/debian/rules

if [ ! -z "$SVN" ]; then
	$SVN propset svn:ignore '*' $PKG/build-area
	$SVN propset mergeWithUpstream 1 $PKG/trunk/debian
	$SVN add $PKG/trunk/debian/patches/00list 
	$SVN add $PKG/trunk/debian/patches/00dpatch.conf
	$SVN add $PKG/trunk/debian/watch
	$SVN add $PKG/trunk/debian/Makefile.Debian.conf
	$SVN add $PKG/trunk/debian/rules
fi