| 1 |
From: Samuel Henrique <[email protected]> |
| 2 |
Date: Fri, 12 Apr 2024 00:11:07 +0100 |
| 3 |
Subject: =?utf-8?q?Removes_usage_of_env_on_shebangs_as_per_Debian_Policy_?= |
| 4 |
=?utf-8?q?=C2=A7_10=2E4?= |
| 5 |
|
| 6 |
Forwarded: not-needed |
| 7 |
--- |
| 8 |
packaging/cull-options | 2 +- |
| 9 |
rsync-ssl | 2 +- |
| 10 |
support/atomic-rsync | 2 +- |
| 11 |
support/cvs2includes | 2 +- |
| 12 |
support/file-attr-restore | 2 +- |
| 13 |
support/files-to-excludes | 2 +- |
| 14 |
support/git-set-file-times | 2 +- |
| 15 |
support/logfilter | 2 +- |
| 16 |
support/lsh | 2 +- |
| 17 |
support/mnt-excl | 2 +- |
| 18 |
support/munge-symlinks | 2 +- |
| 19 |
support/rrsync | 2 +- |
| 20 |
support/rsync-no-vanished | 2 +- |
| 21 |
support/rsyncstats | 2 +- |
| 22 |
14 files changed, 14 insertions(+), 14 deletions(-) |
| 23 |
|
| 24 |
diff --git a/packaging/cull-options b/packaging/cull-options |
| 25 |
index e71818c..0bdf78e 100755 |
| 26 |
--- a/packaging/cull-options |
| 27 |
+++ b/packaging/cull-options |
| 28 |
@@ -1,4 +1,4 @@ |
| 29 |
|
| 30 |
+#!/usr/bin/python3 |
| 31 |
# This script outputs either perl or python code that parses all possible options |
| 32 |
# that the code in options.c might send to the server. The resulting code is then |
| 33 |
# included in the rrsync script. |
| 34 |
diff --git a/rsync-ssl b/rsync-ssl |
| 35 |
index 8aa2ae6..3880f99 100755 |
| 36 |
--- a/rsync-ssl |
| 37 |
+++ b/rsync-ssl |
| 38 |
@@ -1,4 +1,4 @@ |
| 39 |
|
| 40 |
+#!/bin/bash |
| 41 |
|
| 42 |
# This script uses openssl, gnutls, or stunnel to secure an rsync daemon connection. |
| 43 |
|
| 44 |
diff --git a/support/atomic-rsync b/support/atomic-rsync |
| 45 |
index 1964090..0313811 100755 |
| 46 |
--- a/support/atomic-rsync |
| 47 |
+++ b/support/atomic-rsync |
| 48 |
@@ -1,4 +1,4 @@ |
| 49 |
|
| 50 |
+#!/usr/bin/python3 |
| 51 |
# This script lets you update a hierarchy of files in an atomic way by |
| 52 |
# first creating a new hierarchy using rsync's --link-dest option, and |
| 53 |
# then swapping the hierarchy into place. **See the usage message for |
| 54 |
diff --git a/support/cvs2includes b/support/cvs2includes |
| 55 |
index 4a0d1d8..62401cb 100755 |
| 56 |
--- a/support/cvs2includes |
| 57 |
+++ b/support/cvs2includes |
| 58 |
@@ -1,4 +1,4 @@ |
| 59 |
|
| 60 |
+#!/usr/bin/python3 |
| 61 |
# This script finds all CVS/Entries files in the current directory and below |
| 62 |
# and creates a local .cvsinclude file with non-inherited rules including each |
| 63 |
# checked-in file. Then, use this option whenever using --cvs-exclude (-C): |
| 64 |
diff --git a/support/file-attr-restore b/support/file-attr-restore |
| 65 |
index 2e4a21b..a053e1d 100755 |
| 66 |
--- a/support/file-attr-restore |
| 67 |
+++ b/support/file-attr-restore |
| 68 |
@@ -1,4 +1,4 @@ |
| 69 |
|
| 70 |
+#!/usr/bin/perl |
| 71 |
# This script will parse the output of "find ARG [ARG...] -ls" and |
| 72 |
# apply (at your discretion) the permissions, owner, and group info |
| 73 |
# it reads onto any existing files and dirs (it doesn't try to affect |
| 74 |
diff --git a/support/files-to-excludes b/support/files-to-excludes |
| 75 |
index a47d7f8..bb5c3a8 100755 |
| 76 |
--- a/support/files-to-excludes |
| 77 |
+++ b/support/files-to-excludes |
| 78 |
@@ -1,4 +1,4 @@ |
| 79 |
|
| 80 |
+#!/usr/bin/python3 |
| 81 |
# This script takes an input of filenames and outputs a set of include/exclude |
| 82 |
# directives that can be used by rsync to copy just the indicated files using |
| 83 |
# an --exclude-from=FILE or -f'. FILE' option. To be able to delete files on |
| 84 |
diff --git a/support/git-set-file-times b/support/git-set-file-times |
| 85 |
index 23fdbd1..20d613f 100755 |
| 86 |
--- a/support/git-set-file-times |
| 87 |
+++ b/support/git-set-file-times |
| 88 |
@@ -1,4 +1,4 @@ |
| 89 |
|
| 90 |
+#!/usr/bin/python3 |
| 91 |
|
| 92 |
import os, re, argparse, subprocess |
| 93 |
from datetime import datetime, timezone |
| 94 |
diff --git a/support/logfilter b/support/logfilter |
| 95 |
index 29cfe69..282914a 100755 |
| 96 |
--- a/support/logfilter |
| 97 |
+++ b/support/logfilter |
| 98 |
@@ -1,4 +1,4 @@ |
| 99 |
|
| 100 |
+#!/usr/bin/perl |
| 101 |
# Filter the rsync daemon log messages by module name. The log file can be |
| 102 |
# in either syslog format or rsync's own log-file format. Note that the |
| 103 |
# MODULE_NAME parameter is used in a regular-expression match in order to |
| 104 |
diff --git a/support/lsh b/support/lsh |
| 105 |
index 7b3c065..228d760 100755 |
| 106 |
--- a/support/lsh |
| 107 |
+++ b/support/lsh |
| 108 |
@@ -1,4 +1,4 @@ |
| 109 |
|
| 110 |
+#!/usr/bin/perl |
| 111 |
# This is a "local shell" command that works like a remote shell but only for |
| 112 |
# the local host. See the usage message for more details. |
| 113 |
|
| 114 |
diff --git a/support/mnt-excl b/support/mnt-excl |
| 115 |
index bc8b5bc..8f5f9ef 100755 |
| 116 |
--- a/support/mnt-excl |
| 117 |
+++ b/support/mnt-excl |
| 118 |
@@ -1,4 +1,4 @@ |
| 119 |
|
| 120 |
+#!/usr/bin/python3 |
| 121 |
# This script takes a command-line arg of a source directory |
| 122 |
# that will be passed to rsync, and generates a set of excludes |
| 123 |
# that will exclude all mount points from the list. This is |
| 124 |
diff --git a/support/munge-symlinks b/support/munge-symlinks |
| 125 |
index e7a5474..cfb0c40 100755 |
| 126 |
--- a/support/munge-symlinks |
| 127 |
+++ b/support/munge-symlinks |
| 128 |
@@ -1,4 +1,4 @@ |
| 129 |
|
| 130 |
+#!/usr/bin/python3 |
| 131 |
# This script will either prefix all symlink values with the string |
| 132 |
# "/rsyncd-munged/" or remove that prefix. |
| 133 |
|
| 134 |
diff --git a/support/rrsync b/support/rrsync |
| 135 |
index e114570..13549a1 100755 |
| 136 |
--- a/support/rrsync |
| 137 |
+++ b/support/rrsync |
| 138 |
@@ -1,4 +1,4 @@ |
| 139 |
|
| 140 |
+#!/usr/bin/python3 |
| 141 |
|
| 142 |
# Restricts rsync to subdirectory declared in .ssh/authorized_keys. See |
| 143 |
# the rrsync man page for details of how to make use of this script. |
| 144 |
diff --git a/support/rsync-no-vanished b/support/rsync-no-vanished |
| 145 |
index 892c90b..8da38e7 100755 |
| 146 |
--- a/support/rsync-no-vanished |
| 147 |
+++ b/support/rsync-no-vanished |
| 148 |
@@ -1,4 +1,4 @@ |
| 149 |
|
| 150 |
+#!/bin/bash |
| 151 |
|
| 152 |
REAL_RSYNC=/usr/bin/rsync |
| 153 |
IGNOREEXIT=24 |
| 154 |
diff --git a/support/rsyncstats b/support/rsyncstats |
| 155 |
index 99fd545..ab7246d 100755 |
| 156 |
--- a/support/rsyncstats |
| 157 |
+++ b/support/rsyncstats |
| 158 |
@@ -1,4 +1,4 @@ |
| 159 |
|
| 160 |
+#!/usr/bin/perl |
| 161 |
# |
| 162 |
# This script parses the default logfile format produced by rsync when running |
| 163 |
# as a daemon with transfer logging enabled. It also parses a slightly tweaked |