head	1.2;
access;
symbols
	RELEASE_8_1_0:1.1
	RELEASE_7_3_0:1.1
	RELEASE_8_0_0:1.1
	RELEASE_7_2_0:1.1
	RELEASE_7_1_0:1.1
	RELEASE_6_4_0:1.1
	RELEASE_5_EOL:1.1
	RELEASE_7_0_0:1.1
	RELEASE_6_3_0:1.1
	PRE_XORG_7:1.1
	RELEASE_4_EOL:1.1
	RELEASE_6_2_0:1.1
	RELEASE_6_1_0:1.1
	RELEASE_5_5_0:1.1
	RELEASE_6_0_0:1.1;
locks; strict;
comment	@# @;


1.2
date	2010.10.18.12.54.32;	author garga;	state dead;
branches;
next	1.1;

1.1
date	2005.06.05.20.44.14;	author pav;	state Exp;
branches;
next	;


desc
@@


1.2
log
@security/samba-vscan just works with samba 3.0, that is gone, so remove it too
@
text
@--- configure.orig	Thu Mar 24 00:31:42 2005
+++ configure	Mon May 30 16:58:31 2005
@@@@ -3902,7 +3902,7 @@@@
 #
 # Try to get the Samba Version for old releases
 #
-SAMBA_VERSION_H_STR=$(cat ${SAMBA_srcdir}/include/version.h |grep '#define VERSION'|cut -d ' ' -f3-)
+SAMBA_VERSION_H_STR=`cat ${SAMBA_srcdir}/include/version.h |grep '#define SAMBA_VERSION'|cut -d ' ' -f3-`
 
 SAMBA_VERSION=
 ####################################################
@@@@ -3950,26 +3950,21 @@@@
   esac
 fi;
 
-
-if test -z "$SAMBA_VERSION_STRING";then
+if /usr/bin/true ;then
 
  if test -z "$SAMBA_VERSION"; then
 	SAMBA_VERSION=$SAMBA_VERSION_H_STR
  fi
-
  echo "$as_me:$LINENO: checking for Samba Version" >&5
 echo $ECHO_N "checking for Samba Version... $ECHO_C" >&6
 
-  SAMBA_VERSION_MAJOR=$(echo $SAMBA_VERSION | sed -e 's/"\([0-9]\)\.\([0-9]\)[\.]*\([0-9]*\)\([a-zA-Z]*\)\([0-9]*\)\([a-zA-Z]*\)\([-]*\)\(.*\)"/\1/')
- SAMBA_VERSION_MINOR=$(echo $SAMBA_VERSION | sed -e 's/"\([0-9]\)\.\([0-9]\)[\.]*\([0-9]*\)\([a-zA-Z]*\)\([0-9]*\)\([a-zA-Z]*\)\([-]*\)\(.*\)"/\2/')
- SAMBA_VERSION_RELEASE=$(echo $SAMBA_VERSION | sed -e 's/"\([0-9]\)\.\([0-9]\)[\.]*\([0-9]*\)\([a-zA-Z]*\)\([0-9]*\)\([a-zA-Z]*\)\([-]*\)\(.*\)"/\3/')
- SAMBA_VERSION_SUFFIX=$(echo $SAMBA_VERSION | sed -e 's/"\([0-9]\)\.\([0-9]\)[\.]*\([0-9]*\)\([a-zA-Z]*\)\([0-9]*\)\([a-zA-Z]*\)\([-]*\)\(.*\)"/\4/')
- SAMBA_VERSION_SUFFIX_RELEASE=$(echo $SAMBA_VERSION | sed -e 's/"\([0-9]\)\.\([0-9]\)[\.]*\([0-9]*\)\([a-zA-Z]*\)\([0-9]*\)\([a-zA-Z]*\)\([-]*\)\(.*\)"/\5/')
- SAMBA_VERSION_SUFFIX_EXTRA1=$(echo $SAMBA_VERSION | sed -e 's/"\([0-9]\)\.\([0-9]\)[\.]*\([0-9]*\)\([a-zA-Z]*\)\([0-9]*\)\([a-zA-Z]*\)\([-]*\)\(.*\)"/\6/')
- SAMBA_VERSION_SUFFIX_EXTRA2=$(echo $SAMBA_VERSION | sed -e 's/"\([0-9]\)\.\([0-9]\)[\.]*\([0-9]*\)\([a-zA-Z]*\)\([0-9]*\)\([a-zA-Z]*\)\([-]*\)\(.*\)"/\8/')
+  SAMBA_VERSION_MAJOR=$(echo $SAMBA_VERSION | awk '{print $1}')
+ SAMBA_VERSION_MINOR=$(echo $SAMBA_VERSION | awk '{print $2}')
+ SAMBA_VERSION_RELEASE=$(echo $SAMBA_VERSION | awk '{print $3}'| sed -e 's/\([0-9]*\)\([a-zA-Z]*\)\([0-9]*\)/\1/')
+ SAMBA_VERSION_SUFFIX=$(echo $SAMBA_VERSION | awk '{print $3}' | sed -e 's/\([0-9]*\)\([a-zA-Z]*\)\([0-9]*\)/\2/')
+ SAMBA_VERSION_SUFFIX_RELEASE=$(echo $SAMBA_VERSION | awk '{print $3}' | sed -e 's/\([0-9]*\)\([a-zA-Z]*\)\([0-9]*\)/\3/')
 
  SAMBA_VERSION_STRING="${SAMBA_VERSION_MAJOR}.${SAMBA_VERSION_MINOR}"
-
  if test -n "$SAMBA_VERSION_RELEASE";then
     SAMBA_VERSION_STRING="${SAMBA_VERSION_STRING}.${SAMBA_VERSION_RELEASE}"
  fi
@@@@ -4085,9 +4080,9 @@@@
  fi
 
 
-cat >>confdefs.h <<_ACEOF
+#cat >>confdefs.h <<_ACEOF
 #define SAMBA_VERSION_OFFICIAL_STRING $SAMBA_VERSION_STRING
-_ACEOF
+#_ACEOF
 
 
  if test -n "${SAMBA_VERSION_VENDOR_SUFFIX}";then
@@@@ -4101,9 +4096,9 @@@@
 
  SAMBA_VERSION_STRING="\"${SAMBA_VERSION_STRING}\""
 
-cat >>confdefs.h <<_ACEOF
+#cat >>confdefs.h <<_ACEOF
 #define SAMBA_VERSION_STRING $SAMBA_VERSION_STRING
-_ACEOF
+#_ACEOF
 
 
  echo "$as_me:$LINENO: result: $SAMBA_VERSION_STRING" >&5
@@@@ -5128,7 +5123,7 @@@@
   echo $ECHO_N "(cached) $ECHO_C" >&6
 else
   ac_check_lib_save_LIBS=$LIBS
-LIBS="-lmagic  $LIBS"
+LIBS="-lmagic  -lz $LIBS"
 cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"
 #include "confdefs.h"
@@@@ -5182,7 +5177,7 @@@@
 #define HAVE_LIBMAGIC 1
 _ACEOF
 
-  LIBS="-lmagic $LIBS"
+  LIBS="-lmagic -lz $LIBS"
 
 fi
 
@@@@ -5190,7 +5185,7 @@@@
  if test x"$ac_cv_header_magic_h" = x"yes"; then
   if test x"$ac_cv_lib_magic_magic_load" = x"yes"; then
      vscan_cv_filetype=yes
-     MAGIC_LIB="-lmagic"
+     MAGIC_LIB="-lmagic -lz"
   fi
  fi
 fi
@


1.1
log
@- Update to 0.3.6

PR:		ports/81669
Submitted by:	Vsevolod Stakhov <vsevolod@@highsecure.ru>
Approved by:	maintainer timeout (16 days)
@
text
@@

