[32241] trunk/dports

ecronin at macports.org ecronin at macports.org
Fri Dec 21 10:08:04 PST 2007


Revision: 32241
          http://trac.macosforge.org/projects/macports/changeset/32241
Author:   ecronin at macports.org
Date:     2007-12-21 10:08:01 -0800 (Fri, 21 Dec 2007)

Log Message:
-----------
pedantic 'port lint' edits

Modified Paths:
--------------
    trunk/dports/net/blackbag/Portfile
    trunk/dports/net/hdhomerun/Portfile
    trunk/dports/sysutils/autopsy/Portfile
    trunk/dports/sysutils/boxbackup/Portfile
    trunk/dports/www/duckytool/Portfile

Added Paths:
-----------
    trunk/dports/net/blackbag/files/patch-bkb.diff
    trunk/dports/sysutils/autopsy/files/patch-configure.diff
    trunk/dports/sysutils/boxbackup/files/patch-BoxPlatform.pm.in.diff

Removed Paths:
-------------
    trunk/dports/net/blackbag/files/patch-bkb
    trunk/dports/sysutils/autopsy/files/patch-configure
    trunk/dports/sysutils/boxbackup/files/patch-BoxPlatform.pm.in

Modified: trunk/dports/net/blackbag/Portfile
===================================================================
--- trunk/dports/net/blackbag/Portfile	2007-12-21 15:10:56 UTC (rev 32240)
+++ trunk/dports/net/blackbag/Portfile	2007-12-21 18:08:01 UTC (rev 32241)
@@ -27,7 +27,7 @@
 build.env        LFLAGS="-L${prefix}/lib" \
                  IFLAGS="-I${prefix}/include"
 
-patchfiles       patch-bkb
+patchfiles       patch-bkb.diff
 
 post-patch {
     reinplace "s|/usr/local|\$\(DESTDIR\)/${prefix}|g" ${worksrcpath}/Makefile

Deleted: trunk/dports/net/blackbag/files/patch-bkb
===================================================================
--- trunk/dports/net/blackbag/files/patch-bkb	2007-12-21 15:10:56 UTC (rev 32240)
+++ trunk/dports/net/blackbag/files/patch-bkb	2007-12-21 18:08:01 UTC (rev 32241)
@@ -1,11 +0,0 @@
---- bkb.orig	2006-12-29 14:50:11.000000000 -0800
-+++ bkb	2006-12-29 14:50:22.000000000 -0800
-@@ -31,7 +31,7 @@ bkb <command> [args] or -h ;# with comma
- 	tsec yes		;# wait fractional seconds, then abort
- 	unasn foo.der		;# translate asn1/ber-der into a script
- 	nint 10			;# write a binary integer
--	no < `randombin`	;# NUL->0xFF, or something else
-+	no < \`randombin\`	;# NUL->0xFF, or something else
- 	crnl < text		;# ensure CRNL on all lines
- 	echo "a%20b" | dehexify ;# HTTP-style dehexify
- 	echo "a b" | httphexify ;# HTTP-style hex encoding

Copied: trunk/dports/net/blackbag/files/patch-bkb.diff (from rev 32228, trunk/dports/net/blackbag/files/patch-bkb)
===================================================================
--- trunk/dports/net/blackbag/files/patch-bkb.diff	                        (rev 0)
+++ trunk/dports/net/blackbag/files/patch-bkb.diff	2007-12-21 18:08:01 UTC (rev 32241)
@@ -0,0 +1,11 @@
+--- bkb.orig	2006-12-29 14:50:11.000000000 -0800
++++ bkb	2006-12-29 14:50:22.000000000 -0800
+@@ -31,7 +31,7 @@ bkb <command> [args] or -h ;# with comma
+ 	tsec yes		;# wait fractional seconds, then abort
+ 	unasn foo.der		;# translate asn1/ber-der into a script
+ 	nint 10			;# write a binary integer
+-	no < `randombin`	;# NUL->0xFF, or something else
++	no < \`randombin\`	;# NUL->0xFF, or something else
+ 	crnl < text		;# ensure CRNL on all lines
+ 	echo "a%20b" | dehexify ;# HTTP-style dehexify
+ 	echo "a b" | httphexify ;# HTTP-style hex encoding

Modified: trunk/dports/net/hdhomerun/Portfile
===================================================================
--- trunk/dports/net/hdhomerun/Portfile	2007-12-21 15:10:56 UTC (rev 32240)
+++ trunk/dports/net/hdhomerun/Portfile	2007-12-21 18:08:01 UTC (rev 32241)
@@ -25,7 +25,7 @@
                     ${name}_firmware_${version}.bin \
                         md5 0259c2e183d3f19b3af2100d24b5882b \
                         sha1 5d625e0f4b1ad45449341d64b5fb818481c5ab72 \
-                        rmd160 26fa5f27ed126d294c5bffa912e9918c99362e69 
+                        rmd160 26fa5f27ed126d294c5bffa912e9918c99362e69
 
 livecheck.check     regex
 livecheck.url       http://www.silicondust.com/wiki/downloads

Modified: trunk/dports/sysutils/autopsy/Portfile
===================================================================
--- trunk/dports/sysutils/autopsy/Portfile	2007-12-21 15:10:56 UTC (rev 32240)
+++ trunk/dports/sysutils/autopsy/Portfile	2007-12-21 18:08:01 UTC (rev 32241)
@@ -22,7 +22,7 @@
 homepage        http://www.sleuthkit.org/autopsy/
 checksums       sha1 a9a1234393afd50b3609575a906fa0b387efe4b9 \
                 md5 0ac9db9acf66742f8f01f3d8b0cf2f90
-patchfiles      patch-configure
+patchfiles      patch-configure.diff
 use_configure   no
 
 depends_build   port:file port:perl5.8 port:sleuthkit

Deleted: trunk/dports/sysutils/autopsy/files/patch-configure
===================================================================
--- trunk/dports/sysutils/autopsy/files/patch-configure	2007-12-21 15:10:56 UTC (rev 32240)
+++ trunk/dports/sysutils/autopsy/files/patch-configure	2007-12-21 18:08:01 UTC (rev 32241)
@@ -1,300 +0,0 @@
---- configure.orig	2007-07-18 19:32:24.000000000 -0400
-+++ configure	2007-07-18 20:12:02.000000000 -0400
-@@ -79,28 +79,29 @@
- # If it wasn't found, then prompt for it.
- if (test $found -eq 0) then
-   echo 'ERROR: perl not found or the incorrect version found';
--  while (test 1 -eq 1) 
--    do echo 'Enter location of perl executable:';
--    read perlexe;
--    if (test -x "$perlexe") then
--      if (test -n "`$perlexe -v 2> /dev/null | awk '/This is perl/ {print $0}'`")       then
--        ver=`$perlexe -v 2> /dev/null | awk '/This is perl,/ {print $4}'`;
--        if (test "$ver" '<' "v5.8.0") then 
--          echo "This version of Perl is too old, 5.8.0 or older needed";
--        else	  
--          echo "Correct version found";
--          echo "#!${d}perl -wT" > ./config.tmp;
--          echo "#!${d}perl" > ./config2.tmp;
--          found=1; 
--          break; 
--        fi;
--      else
--        echo "Perl found, but is not working.  Try another";
--      fi;
--    else
--      echo "file not found";
--    fi
--  done
-+  exit 1;
-+#  while (test 1 -eq 1) 
-+#    do echo 'Enter location of perl executable:';
-+#    read perlexe;
-+#    if (test -x "$perlexe") then
-+#      if (test -n "`$perlexe -v 2> /dev/null | awk '/This is perl/ {print $0}'`")       then
-+#        ver=`$perlexe -v 2> /dev/null | awk '/This is perl,/ {print $4}'`;
-+#        if (test "$ver" '<' "v5.8.0") then 
-+#          echo "This version of Perl is too old, 5.8.0 or older needed";
-+#        else	  
-+#          echo "Correct version found";
-+#          echo "#!${d}perl -wT" > ./config.tmp;
-+#          echo "#!${d}perl" > ./config2.tmp;
-+#          found=1; 
-+#          break; 
-+#        fi;
-+#      else
-+#        echo "Perl found, but is not working.  Try another";
-+#      fi;
-+#    else
-+#      echo "file not found";
-+#    fi
-+#  done
- fi
- 
- # Check if this version of Perl supports large files
-@@ -109,9 +110,9 @@
-   echo '    NOTE: It appears that your Perl does not support large files.';
-   echo '    You therefore will not be able to analyze images larger than 2GB.';
-   echo '    Download the source version from www.cpan.org and compile a new version.';
--  echo "  [Press Enter to Continue]";
--  read foo;
--  echo ''
-+#  echo "  [Press Enter to Continue]";
-+#  read foo;
-+#  echo ''
- fi;
- 
- # Get current working directory for lib
-@@ -239,19 +240,19 @@
- done
- 
- # Prompt if not found
--if (test $found -eq 0) then
--  echo 'ERROR: grep utility not found';
--  echo 'Enter location of executable:';
--  while (test 1 -eq 1) 
--    do read grepexe;
--    if (test -x "$grepexe") then
--	  echo \$GREP_EXE = \'$grepexe\'\; >> $conf; 
--      break;
--    else
--      echo 'grep was not found (try again):';
--    fi;
--  done
--fi
-+#if (test $found -eq 0) then
-+#  echo 'ERROR: grep utility not found';
-+#  echo 'Enter location of executable:';
-+#  while (test 1 -eq 1) 
-+#    do read grepexe;
-+#    if (test -x "$grepexe") then
-+#	  echo \$GREP_EXE = \'$grepexe\'\; >> $conf; 
-+#      break;
-+#    else
-+#      echo 'grep was not found (try again):';
-+#    fi;
-+#  done
-+#fi
- 
- 
- 
-@@ -270,26 +271,30 @@
- echo 'Autopsy uses forensic tools from The Sleuth Kit.' 
- echo '          http://www.sleuthkit.org/sleuthkit/'
- echo ''
--echo 'Enter the directory where you installed it:'
--while (test 1 -eq 1) 
--  do read tskdir;
--  if (test -x "${tskdir}/bin/icat") then
--    if (test -x "${tskdir}/bin/fls") then
-+#echo 'Enter the directory where you installed it:'
-+#while (test 1 -eq 1) 
-+#  do read tskdir;
-+#  if (test -x "${tskdir}/bin/icat") then
-+#    if (test -x "${tskdir}/bin/fls") then
-+#      echo '  Sleuth Kit bin directory was found';
-+#      echo \$TSKDIR = \'${tskdir}/bin\'\; >> $conf;
-+#      break;
-+#    else
-+#      echo 'The Sleuth Kit was not fully found (did you give me a TCT or TASK directory?) (try again):';
-+#    fi
-+#  else
-+#    echo 'The Sleuth Kit was not found (try again):';
-+#  fi;
-+#done
-+found=0
-+for d in $dirs
-+  do if (test -x ${d}icat) then
-+    if (test -x ${d}fls) then
-       echo '  Sleuth Kit bin directory was found';
--      echo \$TSKDIR = \'${tskdir}/bin\'\; >> $conf;
--      break;
--    else
--      echo 'The Sleuth Kit was not fully found (did you give me a TCT or TASK directory?) (try again):';
--    fi
--  else
--    echo 'The Sleuth Kit was not found (try again):';
--  fi;
--done
--
--
-+      echo \$TSKDIR = \'${d}\'\; >> $conf;
- # Test for latest version
- 
--ver=`"${tskdir}/bin/fls" -V | awk '/The Sleuth Kit ver / {print $5}'`;
-+      ver=`"${d}fls" -V | awk '/The Sleuth Kit ver / {print $5}'`;
- echo "  Version $ver found";
- 
- 
-@@ -299,19 +304,20 @@
- elif (test "$ver" '<' "$curtskver") then 
- 	echo '';
-     echo "*** NOTE: A more recent version ($curtskver) of The Sleuth Kit Exists ***"
--	echo "  [Press Enter to Continue]";
--	read foo;
--
- else
- 	echo '  Required version found';
- fi
-+      break;
-+    fi;
-+  fi;
-+done
- 
- 
- # Check that file exists in TSK and if not then use the local
- # version
--if (test -x "${tskdir}/bin/file") then
--  echo \$FILE_EXE = \'${tskdir}/bin/file\'\; >> $conf; 
--else
-+#if (test -x "${tskdir}/bin/file") then
-+#  echo \$FILE_EXE = \'${tskdir}/bin/file\'\; >> $conf; 
-+#else
- 
- echo ''
- echo '---------------------------------------------------------------'
-@@ -329,20 +335,20 @@
- done
- 
- # Prompt if not found
--if (test $found -eq 0) then
--  echo 'ERROR: file utility not found';
--  echo 'Enter location of executable:';
--  while (test 1 -eq 1) 
--    do read fileexe;
--    if (test -x "$fileexe") then
--	  echo \$FILE_EXE = \'$fileexe\'\; >> $conf; 
--      break;
--    else
--      echo 'file was not found (try again):';
--    fi;
--  done
--fi
--fi
-+#if (test $found -eq 0) then
-+#  echo 'ERROR: file utility not found';
-+#  echo 'Enter location of executable:';
-+#  while (test 1 -eq 1) 
-+#    do read fileexe;
-+#    if (test -x "$fileexe") then
-+#	  echo \$FILE_EXE = \'$fileexe\'\; >> $conf; 
-+#      break;
-+#    else
-+#      echo 'file was not found (try again):';
-+#    fi;
-+#  done
-+#fi
-+#fi
- 
- 
- # NSRL
-@@ -353,43 +359,43 @@
- echo 'hash values of known good and bad files.'
- echo '         http://www.nsrl.nist.gov'
- echo ''
--echo 'Have you purchased or downloaded a copy of the NSRL (y/n) [n]'
--read rep;
--if (test "$rep" = "y") then
--
--  echo 'Enter the directory where you installed it:'
--  while (test 1 -eq 1) 
--    do read nsrldir;
--    if (test "$nsrldir" = "cancel") then
--        echo \$NSRLDB = \'\'\; >> $conf;
--		break;
--	fi;
--    if (test -f "${nsrldir}/NSRLFile.txt") then
--      echo '  NSRL database was found (NSRLFile.txt)';
--      echo \$NSRLDB = \'${nsrldir}/NSRLFile.txt\'\; >> $conf;
--
--	  if (test -f "${nsrldir}/NSRLFile.txt-md5.idx") then
--		echo '  NSRL Index file found (NSRLFile.txt-md5.idx)';
--      else
--        echo '  NSRL Index file not found, do you want it created? (y/n) [n]:'
--        read rep;
--        if (test "$rep" = "y") then
--          echo ''
--          echo '-------------- begin hfind output --------------'
--          "${tskdir}/bin/hfind" -i nsrl-md5 "${nsrldir}/NSRLFile.txt";
--          echo '--------------- end hfind output ---------------'
--          echo ''
--		fi;
--	  fi;
--      break;
--    else
--      echo 'The NSRL was not found (the directory should have NSRLFile.txt in it)';
--	  echo 'Enter a new directory (or cancel to stop):';
--    fi;
--  done
--else
-+#echo 'Have you purchased or downloaded a copy of the NSRL (y/n) [n]'
-+#read rep;
-+#if (test "$rep" = "y") then
-+#
-+#  echo 'Enter the directory where you installed it:'
-+#  while (test 1 -eq 1) 
-+#    do read nsrldir;
-+#    if (test "$nsrldir" = "cancel") then
-+#        echo \$NSRLDB = \'\'\; >> $conf;
-+#		break;
-+#	fi;
-+#    if (test -f "${nsrldir}/NSRLFile.txt") then
-+#      echo '  NSRL database was found (NSRLFile.txt)';
-+#      echo \$NSRLDB = \'${nsrldir}/NSRLFile.txt\'\; >> $conf;
-+#
-+#	  if (test -f "${nsrldir}/NSRLFile.txt-md5.idx") then
-+#		echo '  NSRL Index file found (NSRLFile.txt-md5.idx)';
-+#      else
-+#        echo '  NSRL Index file not found, do you want it created? (y/n) [n]:'
-+#        read rep;
-+#        if (test "$rep" = "y") then
-+#          echo ''
-+#          echo '-------------- begin hfind output --------------'
-+#          "${tskdir}/bin/hfind" -i nsrl-md5 "${nsrldir}/NSRLFile.txt";
-+#          echo '--------------- end hfind output ---------------'
-+#          echo ''
-+#		fi;
-+#	  fi;
-+#      break;
-+#    else
-+#      echo 'The NSRL was not found (the directory should have NSRLFile.txt in it)';
-+#	  echo 'Enter a new directory (or cancel to stop):';
-+#    fi;
-+#  done
-+#else
-   echo \$NSRLDB = \'\'\; >> $conf;
--fi;
-+#fi;
- 
- #############################################################################
- # EVIDENCE LOCKER
-@@ -402,7 +408,8 @@
- echo 'Evidence Locker directory.'
- echo ''
- echo 'Enter the directory that you want to use for the Evidence Locker:';
--read locker;
-+#read locker;
-+locker='MP_AUTOPSY_LOCKER'
- if (test -d "${locker}") then
-   echo "  $locker already exists"
- else

Copied: trunk/dports/sysutils/autopsy/files/patch-configure.diff (from rev 32228, trunk/dports/sysutils/autopsy/files/patch-configure)
===================================================================
--- trunk/dports/sysutils/autopsy/files/patch-configure.diff	                        (rev 0)
+++ trunk/dports/sysutils/autopsy/files/patch-configure.diff	2007-12-21 18:08:01 UTC (rev 32241)
@@ -0,0 +1,300 @@
+--- configure.orig	2007-07-18 19:32:24.000000000 -0400
++++ configure	2007-07-18 20:12:02.000000000 -0400
+@@ -79,28 +79,29 @@
+ # If it wasn't found, then prompt for it.
+ if (test $found -eq 0) then
+   echo 'ERROR: perl not found or the incorrect version found';
+-  while (test 1 -eq 1) 
+-    do echo 'Enter location of perl executable:';
+-    read perlexe;
+-    if (test -x "$perlexe") then
+-      if (test -n "`$perlexe -v 2> /dev/null | awk '/This is perl/ {print $0}'`")       then
+-        ver=`$perlexe -v 2> /dev/null | awk '/This is perl,/ {print $4}'`;
+-        if (test "$ver" '<' "v5.8.0") then 
+-          echo "This version of Perl is too old, 5.8.0 or older needed";
+-        else	  
+-          echo "Correct version found";
+-          echo "#!${d}perl -wT" > ./config.tmp;
+-          echo "#!${d}perl" > ./config2.tmp;
+-          found=1; 
+-          break; 
+-        fi;
+-      else
+-        echo "Perl found, but is not working.  Try another";
+-      fi;
+-    else
+-      echo "file not found";
+-    fi
+-  done
++  exit 1;
++#  while (test 1 -eq 1) 
++#    do echo 'Enter location of perl executable:';
++#    read perlexe;
++#    if (test -x "$perlexe") then
++#      if (test -n "`$perlexe -v 2> /dev/null | awk '/This is perl/ {print $0}'`")       then
++#        ver=`$perlexe -v 2> /dev/null | awk '/This is perl,/ {print $4}'`;
++#        if (test "$ver" '<' "v5.8.0") then 
++#          echo "This version of Perl is too old, 5.8.0 or older needed";
++#        else	  
++#          echo "Correct version found";
++#          echo "#!${d}perl -wT" > ./config.tmp;
++#          echo "#!${d}perl" > ./config2.tmp;
++#          found=1; 
++#          break; 
++#        fi;
++#      else
++#        echo "Perl found, but is not working.  Try another";
++#      fi;
++#    else
++#      echo "file not found";
++#    fi
++#  done
+ fi
+ 
+ # Check if this version of Perl supports large files
+@@ -109,9 +110,9 @@
+   echo '    NOTE: It appears that your Perl does not support large files.';
+   echo '    You therefore will not be able to analyze images larger than 2GB.';
+   echo '    Download the source version from www.cpan.org and compile a new version.';
+-  echo "  [Press Enter to Continue]";
+-  read foo;
+-  echo ''
++#  echo "  [Press Enter to Continue]";
++#  read foo;
++#  echo ''
+ fi;
+ 
+ # Get current working directory for lib
+@@ -239,19 +240,19 @@
+ done
+ 
+ # Prompt if not found
+-if (test $found -eq 0) then
+-  echo 'ERROR: grep utility not found';
+-  echo 'Enter location of executable:';
+-  while (test 1 -eq 1) 
+-    do read grepexe;
+-    if (test -x "$grepexe") then
+-	  echo \$GREP_EXE = \'$grepexe\'\; >> $conf; 
+-      break;
+-    else
+-      echo 'grep was not found (try again):';
+-    fi;
+-  done
+-fi
++#if (test $found -eq 0) then
++#  echo 'ERROR: grep utility not found';
++#  echo 'Enter location of executable:';
++#  while (test 1 -eq 1) 
++#    do read grepexe;
++#    if (test -x "$grepexe") then
++#	  echo \$GREP_EXE = \'$grepexe\'\; >> $conf; 
++#      break;
++#    else
++#      echo 'grep was not found (try again):';
++#    fi;
++#  done
++#fi
+ 
+ 
+ 
+@@ -270,26 +271,30 @@
+ echo 'Autopsy uses forensic tools from The Sleuth Kit.' 
+ echo '          http://www.sleuthkit.org/sleuthkit/'
+ echo ''
+-echo 'Enter the directory where you installed it:'
+-while (test 1 -eq 1) 
+-  do read tskdir;
+-  if (test -x "${tskdir}/bin/icat") then
+-    if (test -x "${tskdir}/bin/fls") then
++#echo 'Enter the directory where you installed it:'
++#while (test 1 -eq 1) 
++#  do read tskdir;
++#  if (test -x "${tskdir}/bin/icat") then
++#    if (test -x "${tskdir}/bin/fls") then
++#      echo '  Sleuth Kit bin directory was found';
++#      echo \$TSKDIR = \'${tskdir}/bin\'\; >> $conf;
++#      break;
++#    else
++#      echo 'The Sleuth Kit was not fully found (did you give me a TCT or TASK directory?) (try again):';
++#    fi
++#  else
++#    echo 'The Sleuth Kit was not found (try again):';
++#  fi;
++#done
++found=0
++for d in $dirs
++  do if (test -x ${d}icat) then
++    if (test -x ${d}fls) then
+       echo '  Sleuth Kit bin directory was found';
+-      echo \$TSKDIR = \'${tskdir}/bin\'\; >> $conf;
+-      break;
+-    else
+-      echo 'The Sleuth Kit was not fully found (did you give me a TCT or TASK directory?) (try again):';
+-    fi
+-  else
+-    echo 'The Sleuth Kit was not found (try again):';
+-  fi;
+-done
+-
+-
++      echo \$TSKDIR = \'${d}\'\; >> $conf;
+ # Test for latest version
+ 
+-ver=`"${tskdir}/bin/fls" -V | awk '/The Sleuth Kit ver / {print $5}'`;
++      ver=`"${d}fls" -V | awk '/The Sleuth Kit ver / {print $5}'`;
+ echo "  Version $ver found";
+ 
+ 
+@@ -299,19 +304,20 @@
+ elif (test "$ver" '<' "$curtskver") then 
+ 	echo '';
+     echo "*** NOTE: A more recent version ($curtskver) of The Sleuth Kit Exists ***"
+-	echo "  [Press Enter to Continue]";
+-	read foo;
+-
+ else
+ 	echo '  Required version found';
+ fi
++      break;
++    fi;
++  fi;
++done
+ 
+ 
+ # Check that file exists in TSK and if not then use the local
+ # version
+-if (test -x "${tskdir}/bin/file") then
+-  echo \$FILE_EXE = \'${tskdir}/bin/file\'\; >> $conf; 
+-else
++#if (test -x "${tskdir}/bin/file") then
++#  echo \$FILE_EXE = \'${tskdir}/bin/file\'\; >> $conf; 
++#else
+ 
+ echo ''
+ echo '---------------------------------------------------------------'
+@@ -329,20 +335,20 @@
+ done
+ 
+ # Prompt if not found
+-if (test $found -eq 0) then
+-  echo 'ERROR: file utility not found';
+-  echo 'Enter location of executable:';
+-  while (test 1 -eq 1) 
+-    do read fileexe;
+-    if (test -x "$fileexe") then
+-	  echo \$FILE_EXE = \'$fileexe\'\; >> $conf; 
+-      break;
+-    else
+-      echo 'file was not found (try again):';
+-    fi;
+-  done
+-fi
+-fi
++#if (test $found -eq 0) then
++#  echo 'ERROR: file utility not found';
++#  echo 'Enter location of executable:';
++#  while (test 1 -eq 1) 
++#    do read fileexe;
++#    if (test -x "$fileexe") then
++#	  echo \$FILE_EXE = \'$fileexe\'\; >> $conf; 
++#      break;
++#    else
++#      echo 'file was not found (try again):';
++#    fi;
++#  done
++#fi
++#fi
+ 
+ 
+ # NSRL
+@@ -353,43 +359,43 @@
+ echo 'hash values of known good and bad files.'
+ echo '         http://www.nsrl.nist.gov'
+ echo ''
+-echo 'Have you purchased or downloaded a copy of the NSRL (y/n) [n]'
+-read rep;
+-if (test "$rep" = "y") then
+-
+-  echo 'Enter the directory where you installed it:'
+-  while (test 1 -eq 1) 
+-    do read nsrldir;
+-    if (test "$nsrldir" = "cancel") then
+-        echo \$NSRLDB = \'\'\; >> $conf;
+-		break;
+-	fi;
+-    if (test -f "${nsrldir}/NSRLFile.txt") then
+-      echo '  NSRL database was found (NSRLFile.txt)';
+-      echo \$NSRLDB = \'${nsrldir}/NSRLFile.txt\'\; >> $conf;
+-
+-	  if (test -f "${nsrldir}/NSRLFile.txt-md5.idx") then
+-		echo '  NSRL Index file found (NSRLFile.txt-md5.idx)';
+-      else
+-        echo '  NSRL Index file not found, do you want it created? (y/n) [n]:'
+-        read rep;
+-        if (test "$rep" = "y") then
+-          echo ''
+-          echo '-------------- begin hfind output --------------'
+-          "${tskdir}/bin/hfind" -i nsrl-md5 "${nsrldir}/NSRLFile.txt";
+-          echo '--------------- end hfind output ---------------'
+-          echo ''
+-		fi;
+-	  fi;
+-      break;
+-    else
+-      echo 'The NSRL was not found (the directory should have NSRLFile.txt in it)';
+-	  echo 'Enter a new directory (or cancel to stop):';
+-    fi;
+-  done
+-else
++#echo 'Have you purchased or downloaded a copy of the NSRL (y/n) [n]'
++#read rep;
++#if (test "$rep" = "y") then
++#
++#  echo 'Enter the directory where you installed it:'
++#  while (test 1 -eq 1) 
++#    do read nsrldir;
++#    if (test "$nsrldir" = "cancel") then
++#        echo \$NSRLDB = \'\'\; >> $conf;
++#		break;
++#	fi;
++#    if (test -f "${nsrldir}/NSRLFile.txt") then
++#      echo '  NSRL database was found (NSRLFile.txt)';
++#      echo \$NSRLDB = \'${nsrldir}/NSRLFile.txt\'\; >> $conf;
++#
++#	  if (test -f "${nsrldir}/NSRLFile.txt-md5.idx") then
++#		echo '  NSRL Index file found (NSRLFile.txt-md5.idx)';
++#      else
++#        echo '  NSRL Index file not found, do you want it created? (y/n) [n]:'
++#        read rep;
++#        if (test "$rep" = "y") then
++#          echo ''
++#          echo '-------------- begin hfind output --------------'
++#          "${tskdir}/bin/hfind" -i nsrl-md5 "${nsrldir}/NSRLFile.txt";
++#          echo '--------------- end hfind output ---------------'
++#          echo ''
++#		fi;
++#	  fi;
++#      break;
++#    else
++#      echo 'The NSRL was not found (the directory should have NSRLFile.txt in it)';
++#	  echo 'Enter a new directory (or cancel to stop):';
++#    fi;
++#  done
++#else
+   echo \$NSRLDB = \'\'\; >> $conf;
+-fi;
++#fi;
+ 
+ #############################################################################
+ # EVIDENCE LOCKER
+@@ -402,7 +408,8 @@
+ echo 'Evidence Locker directory.'
+ echo ''
+ echo 'Enter the directory that you want to use for the Evidence Locker:';
+-read locker;
++#read locker;
++locker='MP_AUTOPSY_LOCKER'
+ if (test -d "${locker}") then
+   echo "  $locker already exists"
+ else

Modified: trunk/dports/sysutils/boxbackup/Portfile
===================================================================
--- trunk/dports/sysutils/boxbackup/Portfile	2007-12-21 15:10:56 UTC (rev 32240)
+++ trunk/dports/sysutils/boxbackup/Portfile	2007-12-21 18:08:01 UTC (rev 32241)
@@ -1,4 +1,5 @@
 # $Id$
+
 PortSystem		1.0
 
 name			boxbackup
@@ -17,10 +18,11 @@
 					need for user or administrative intervention, apart \
 					from usual system maintenance.
 homepage		http://www.fluffy.co.uk/boxbackup/
+platforms       darwin
 master_sites	sourceforge
 extract.suffix	.tgz
 checksums		md5 2dc02d87932fdb222ed019443ddcf444
-patchfiles		patch-BoxPlatform.pm.in
+patchfiles		patch-BoxPlatform.pm.in.diff
 
 depends_lib		port:perl5.8 \
 			port:zlib \
@@ -93,7 +95,8 @@
 	}
 }
 
-variant server {
+variant server \
+    description {Install bbstored server} {
 	pre-destroot {
 		addgroup bbstored
 		set gid [existsgroup bbstored]

Deleted: trunk/dports/sysutils/boxbackup/files/patch-BoxPlatform.pm.in
===================================================================
--- trunk/dports/sysutils/boxbackup/files/patch-BoxPlatform.pm.in	2007-12-21 15:10:56 UTC (rev 32240)
+++ trunk/dports/sysutils/boxbackup/files/patch-BoxPlatform.pm.in	2007-12-21 18:08:01 UTC (rev 32241)
@@ -1,14 +0,0 @@
---- infrastructure/BoxPlatform.pm.in.org	2006-02-23 12:47:36.000000000 -0800
-+++ infrastructure/BoxPlatform.pm.in	2006-03-22 23:29:51.000000000 -0800
-@@ -41,6 +41,11 @@
- 	# if it's Darwin,
- 	if($build_os eq 'Darwin')
- 	{
-+		# Use headers and libraries from Darwinports
-+		$platform_compile_line_extra = '-I__PREFIX__/include ';
-+		$platform_link_line_extra = '-L__PREFIX__/lib ';
-+
-+
- 		# see how many processors there are, and set make flags accordingly
- 		my $cpus = `sysctl hw.ncpu`;
- 		if($cpus =~ m/hw.ncpu:\s(\d+)/ && $1 > 1)

Copied: trunk/dports/sysutils/boxbackup/files/patch-BoxPlatform.pm.in.diff (from rev 32228, trunk/dports/sysutils/boxbackup/files/patch-BoxPlatform.pm.in)
===================================================================
--- trunk/dports/sysutils/boxbackup/files/patch-BoxPlatform.pm.in.diff	                        (rev 0)
+++ trunk/dports/sysutils/boxbackup/files/patch-BoxPlatform.pm.in.diff	2007-12-21 18:08:01 UTC (rev 32241)
@@ -0,0 +1,14 @@
+--- infrastructure/BoxPlatform.pm.in.org	2006-02-23 12:47:36.000000000 -0800
++++ infrastructure/BoxPlatform.pm.in	2006-03-22 23:29:51.000000000 -0800
+@@ -41,6 +41,11 @@
+ 	# if it's Darwin,
+ 	if($build_os eq 'Darwin')
+ 	{
++		# Use headers and libraries from Darwinports
++		$platform_compile_line_extra = '-I__PREFIX__/include ';
++		$platform_link_line_extra = '-L__PREFIX__/lib ';
++
++
+ 		# see how many processors there are, and set make flags accordingly
+ 		my $cpus = `sysctl hw.ncpu`;
+ 		if($cpus =~ m/hw.ncpu:\s(\d+)/ && $1 > 1)

Modified: trunk/dports/www/duckytool/Portfile
===================================================================
--- trunk/dports/www/duckytool/Portfile	2007-12-21 15:10:56 UTC (rev 32240)
+++ trunk/dports/www/duckytool/Portfile	2007-12-21 18:08:01 UTC (rev 32241)
@@ -44,6 +44,7 @@
 }
 
 # this variant creates symlinks like 'g', 'fl'...
-variant links {
+variant links \
+    description {Create symlinks for each command (e.g. 'g' instead of 'ducky.pl g'} {
 	# placeholder, see destroot
 }

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20071221/3d2fbd4c/attachment-0001.html


More information about the macports-changes mailing list