[Lunar-commits] <moonbase> portsentry: small tweaks. use sha1 sum instead of md5.

Florin Braescu florin at lunar-linux.org
Mon Aug 10 20:59:59 CEST 2009


commit 2157fc8c51c791995da5b5dcb09c016fb2ecfc79
Author: Florin Braescu <florin at lunar-linux.org>
Date:   Mon Aug 10 21:59:59 2009 +0300

    portsentry: small tweaks. use sha1 sum instead of md5.
---
 security/portsentry/BUILD   |   19 +++++++++----------
 security/portsentry/DETAILS |   13 +++++++------
 2 files changed, 16 insertions(+), 16 deletions(-)

diff --git a/security/portsentry/BUILD b/security/portsentry/BUILD
index cb3ddfa..d67c0e1 100644
--- a/security/portsentry/BUILD
+++ b/security/portsentry/BUILD
@@ -1,5 +1,5 @@
 (
-  patch_it $SOURCE_CACHE/$SOURCE2 1
+  patch_it $SOURCE_CACHE/$SOURCE2 1  &&
 
   PS_CONF='#define  CONFIG_FILE "/etc/portsentry/portsentry.conf"'
 
@@ -8,23 +8,22 @@
                           >  portsentry_config.h
   echo  $PS_CONF         >>  portsentry_config.h
 
-  sedit "s/CFLAGS = -O -Wall/CFLAGS := -O -Wall \$\(CFLAGS\)/"  \
-        Makefile
+  sedit "s/CFLAGS = -O -Wall/CFLAGS := -O -Wall \$\(CFLAGS\)/"  Makefile
 
-  make linux                       &&
-  prepare_install                  &&
-  cp portsentry /usr/sbin          &&
-  mkdir -p /etc/portsentry         &&
-  chmod 700 /etc/portsentry        &&
+  make linux                 &&
+  prepare_install            &&
+  cp portsentry /usr/sbin    &&
+  mkdir -p /etc/portsentry   &&
+  chmod 700 /etc/portsentry  &&
 
   if ! [ -f /etc/portsentry/portsentry.conf ] ; then
     sedit "s:/usr/local/psionic:/etc:" portsentry.conf
     install -m600 portsentry.conf /etc/portsentry
-  fi &&
+  fi  &&
 
   if ! [ -f /etc/portsentry/portsentry.ignore ] ; then
     install -m600 portsentry.ignore /etc/portsentry/portsentry.ignore
-  fi &&
+  fi  &&
 
   if [ ! -f /etc/portsentry/portsentry.modes ] ; then
     echo -e "# default portsentry modes:\natcp\naudp" > /etc/portsentry/portsentry.modes
diff --git a/security/portsentry/DETAILS b/security/portsentry/DETAILS
index 58af6d1..3ced197 100644
--- a/security/portsentry/DETAILS
+++ b/security/portsentry/DETAILS
@@ -2,14 +2,15 @@
          VERSION=1.2
           SOURCE=$MODULE-$VERSION.tar.gz
          SOURCE2=$MODULE-$VERSION-gcc3.3.1-newlinefix.patch.bz2
-   SOURCE_URL[0]=$SFORGE_URL/sentrytools/
-  SOURCE2_URL[0]=$PATCH_URL
-      SOURCE_VFY=md5:3ebd3618ba9abfea2525e236bd44cebd
-     SOURCE2_VFY=md5:8277597d753d8440ad4475f7316745c3
-        WEB_SITE=http://sourceforge.net/projects/sentrytools/
+      SOURCE_URL=$SFORGE_URL/sentrytools
+     SOURCE2_URL=$PATCH_URL
+      SOURCE_VFY=sha1:091124db3f9ccc29afae08d6ab1fdd073b789d0a
+     SOURCE2_VFY=sha1:d39f0226783a2405e095c6f1b9a4dd4b819f0b5f
+        WEB_SITE=http://sourceforge.net/projects/sentrytools
          ENTERED=20011210
          UPDATED=20030807
-           SHORT="program to detect and respond to port scans in real-time."
+           SHORT="program to detect and respond to port scans in real-time"
+
 cat << EOF
 Portsentry is a program designed to detect and respond to port scans 
 against a target host in real-time.


More information about the Lunar-commits mailing list