Control: tags 992655 + pending

Dear maintainer,

I've prepared an NMU for tiger (versioned as 1:3.2.4~rc1-3.4) and
uploaded it to DELAYED/10. Please feel free to tell me if I
should delay it longer.

Regards.

diff -u tiger-3.2.4~rc1/debian/changelog tiger-3.2.4~rc1/debian/changelog
--- tiger-3.2.4~rc1/debian/changelog
+++ tiger-3.2.4~rc1/debian/changelog
@@ -1,3 +1,11 @@
+tiger (1:3.2.4~rc1-3.4) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Apply patch from Francois Marier <franc...@debian.org> to handle
+    which deprecation. (Closes: #992655)
+
+ -- Chris Hofstaedtler <z...@debian.org>  Wed, 15 Jan 2025 12:01:29 +0100
+
 tiger (1:3.2.4~rc1-3.3) unstable; urgency=medium
 
   * Non-maintainer upload.
diff -u tiger-3.2.4~rc1/scripts/check_passwd tiger-3.2.4~rc1/scripts/check_passwd
--- tiger-3.2.4~rc1/scripts/check_passwd
+++ tiger-3.2.4~rc1/scripts/check_passwd
@@ -328,7 +328,7 @@
 }
 
 # Verify the sudo file format.
-if [ -n "`which visudo`" ] && [ -r /etc/sudoers ] ; then
+if [ -n "`command -v visudo`" ] && [ -r /etc/sudoers ] ; then
     if ! `visudo -cq` ; then
         message FAIL pass021f "" "Integrity of sudoers files questionable (run 'visudo -c')."
     fi
only in patch2:
unchanged:
--- tiger-3.2.4~rc1.orig/.pc/.quilt_patches
+++ tiger-3.2.4~rc1/.pc/.quilt_patches
@@ -0,0 +1 @@
+debian/patches
only in patch2:
unchanged:
--- tiger-3.2.4~rc1.orig/.pc/.quilt_series
+++ tiger-3.2.4~rc1/.pc/.quilt_series
@@ -0,0 +1 @@
+series
only in patch2:
unchanged:
--- tiger-3.2.4~rc1.orig/.pc/.version
+++ tiger-3.2.4~rc1/.pc/.version
@@ -0,0 +1 @@
+2
only in patch2:
unchanged:
--- tiger-3.2.4~rc1.orig/scripts/aide_run
+++ tiger-3.2.4~rc1/scripts/aide_run
@@ -114,7 +114,7 @@
 then
 if [ -z "${Tiger_AIDE_LOC_OVERRIDE}" ]
 then 
-	AIDE=`which aide`
+	AIDE=`command -v aide`
 else 
 	AIDE=${Tiger_AIDE_LOC_OVERRIDE}
 fi
only in patch2:
unchanged:
--- tiger-3.2.4~rc1.orig/scripts/check_rootkit
+++ tiger-3.2.4~rc1/scripts/check_rootkit
@@ -143,7 +143,7 @@
 # Chkrookit binary location|override + default check
 if [ -z "${Tiger_CHKROOTKIT_LOC_OVERRIDE}" ]
 then
-        CHKROOTKIT=`which chkrootkit 2>/dev/null`
+        CHKROOTKIT=`command -v chkrootkit`
 else
         CHKROOTKIT=${Tiger_CHKROOTKIT_LOC_OVERRIDE}
 fi
only in patch2:
unchanged:
--- tiger-3.2.4~rc1.orig/scripts/crack_run
+++ tiger-3.2.4~rc1/scripts/crack_run
@@ -91,7 +91,7 @@
 then
   if [ -z "${Tiger_CRACK_LOC_OVERRIDE}" ]
   then
-    CRACK=`which crack`
+    CRACK=`command -v crack`
   else
     CRACK=${Tiger_CRACK_LOC_OVERRIDE}
   fi
@@ -101,7 +101,7 @@
 then
 if [ -z "${Tiger_CRACKREPORTER_LOC_OVERRIDE}" ]
 then
-   REPORTER=`which crack-reporter`
+   REPORTER=`command -v crack-reporter`
 else
    REPORTER=${Tiger_CRACKREPORTER_LOC_OVERRIDE}
 fi
only in patch2:
unchanged:
--- tiger-3.2.4~rc1.orig/scripts/integrit_run
+++ tiger-3.2.4~rc1/scripts/integrit_run
@@ -83,7 +83,7 @@
 then
 if [ -z "${Tiger_INTEGRIT_LOC_OVERRIDE}" ]
 then
-   INTEGRIT=`which integrit`
+   INTEGRIT=`command -v integrit`
 else
    INTEGRIT=${Tiger_INTEGRIT_LOC_OVERRIDE}
 fi
only in patch2:
unchanged:
--- tiger-3.2.4~rc1.orig/scripts/tripwire_run
+++ tiger-3.2.4~rc1/scripts/tripwire_run
@@ -90,7 +90,7 @@
 then
 if [ -z "${Tiger_TRIPW_LOC_OVERRIDE}" ]
 then
-        TRIPWIRE=`which tripwire`
+        TRIPWIRE=`command -v tripwire`
 else
         TRIPWIRE=${Tiger_TRIPW_LOC_OVERRIDE}
 fi
only in patch2:
unchanged:
--- tiger-3.2.4~rc1.orig/systems/Linux/2/gen_bootparam_sets
+++ tiger-3.2.4~rc1/systems/Linux/2/gen_bootparam_sets
@@ -25,10 +25,10 @@
 #
 
 # If run directly do this, just in case:
-[ -z "$AWK" ] && AWK=`which awk`
-[ -z "$SED" ] && AWK=`which sed`
-[ -z "$RM" ] && RM=`which rm`
-[ -z "$YPCAT" ] && YPCAT=`which ypcat 2>/dev/null`
+[ -z "$AWK" ] && AWK=`command -v awk`
+[ -z "$SED" ] && AWK=`command -v sed`
+[ -z "$RM" ] && RM=`command -v rm`
+[ -z "$YPCAT" ] && YPCAT=`command -v ypcat`
 [ -z "$WORKDIR" ] && WORKDIR=/tmp
 
 [ -r /etc/bootparams ] && {
only in patch2:
unchanged:
--- tiger-3.2.4~rc1.orig/systems/Linux/2/gen_cron
+++ tiger-3.2.4~rc1/systems/Linux/2/gen_cron
@@ -35,9 +35,9 @@
 #-----------------------------------------------------------------------------
 #
 # Defin commands we need, just in case
-[ -z "$FIND" ] && FIND=`which find` 
-[ -z "$LS" ] && LS=`which ls` 
-[ -z "$SED" ] && SED=`which sed` 
+[ -z "$FIND" ] && FIND=`command -v find`
+[ -z "$LS" ] && LS=`command -v ls`
+[ -z "$SED" ] && SED=`command -v sed`
 [ -z "$CRONSPOOL" ] && CRONSPOOL="/var/spool/cron/crontabs"
 
 [ ! -n "$GETUSERHOME" ] && GETUSERHOME=echo
only in patch2:
unchanged:
--- tiger-3.2.4~rc1.orig/systems/Linux/2/gen_export_sets
+++ tiger-3.2.4~rc1/systems/Linux/2/gen_export_sets
@@ -23,9 +23,9 @@
 #-----------------------------------------------------------------------------
 #
 # For debugging purposes
-[ -z "$GREP" ] && GREP=`which grep`
-[ -z "$SED" ] && SED=`which sed`
-[ -z "$AWK" ] && AWK=`which awk`
+[ -z "$GREP" ] && GREP=`command -v grep`
+[ -z "$SED" ] && SED=`command -v sed`
+[ -z "$AWK" ] && AWK=`command -v awk`
 [ -z "$WORKDIR" ] && WORKDIR=/tmp
 
 EXPFILE=/etc/exports
only in patch2:
unchanged:
--- tiger-3.2.4~rc1.orig/systems/Linux/2/gen_group_sets
+++ tiger-3.2.4~rc1/systems/Linux/2/gen_group_sets
@@ -24,13 +24,13 @@
 #
 
 # If run directly do this, just in case:
-[ -z "$GREP" ] && GREP=`which grep`
-[ -z "$AWK" ] && AWK=`which awk`
-[ -z "$SED" ] && SED=`which sed`
-[ -z "$SORT" ] && SORT=`which sort`
-[ -z "$COMM" ] && COMM=`which comm`
-[ -z "$RM" ] && RM=`which rm`
-[ -z "$YPCAT" ] && YPCAT=`which ypcat 2>/dev/null`
+[ -z "$GREP" ] && GREP=`command -v grep`
+[ -z "$AWK" ] && AWK=`command -v awk`
+[ -z "$SED" ] && SED=`command -v sed`
+[ -z "$SORT" ] && SORT=`command -v sort`
+[ -z "$COMM" ] && COMM=`command -v comm`
+[ -z "$RM" ] && RM=`command -v rm`
+[ -z "$YPCAT" ] && YPCAT=`command -v ypcat`
 [ -z "$WORKDIR" ] && WORKDIR=/tmp
 
 
only in patch2:
unchanged:
--- tiger-3.2.4~rc1.orig/systems/Linux/2/gen_passwd_sets
+++ tiger-3.2.4~rc1/systems/Linux/2/gen_passwd_sets
@@ -56,15 +56,15 @@
 #
 
 # If run directly do this, just in case:
-[ -z "$SORT" ] && SORT=`which sort`
-[ -z "$JOIN" ] && JOIN=`which join`
-[ -z "$GREP" ] && GREP=`which grep`
-[ -z "$AWK" ] && AWK=`which awk`
-[ -z "$CAT" ] && CAT=`which cat`
-[ -z "$RM" ] && RM=`which rm`
-[ -z "$CP" ] && CP=`which cp`
-[ -z "$YPCAT" ] && YPCAT=`which ypcat 2>/dev/null`
-[ -z "$GETENT" ] && GETENT=`which getent 2>/dev/null`
+[ -z "$SORT" ] && SORT=`command -v sort`
+[ -z "$JOIN" ] && JOIN=`command -v join`
+[ -z "$GREP" ] && GREP=`command -v grep`
+[ -z "$AWK" ] && AWK=`command -v awk`
+[ -z "$CAT" ] && CAT=`command -v cat`
+[ -z "$RM" ] && RM=`command -v rm`
+[ -z "$CP" ] && CP=`command -v cp`
+[ -z "$YPCAT" ] && YPCAT=`command -v ypcat`
+[ -z "$GETENT" ] && GETENT=`command -v getent`
 [ -z "$WORKDIR" ] && WORKDIR=/tmp
 
 local=0

Reply via email to