[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [leafnode-list] leafnode 1.9.17ma3 available



Johannes Tevessen has spotted an incompatibility which makes configuring
leafnode impossible on systems without bash.

The attached patch fixes this.

cd into the unpacked leafnode-1.9.17ma3 directory, then do:
patch -p1 <leafnode-1.9.17ma3-fixshell

Then configure as usual.

Thanks to Johnny for finding this.

-- 
Matthias Andree

                Where do you think you're going today?


diff -cr leafnode-1.9.17ma3/config.c leafnode-1.9.17ma4a/config.c
*** leafnode-1.9.17ma3/config.c	Mon Sep 11 04:15:12 2000
--- leafnode-1.9.17ma4a/config.c	Mon Sep 11 18:54:35 2000
***************
*** 1,4 ****
  const char *spooldir = "/var/spool/news" ;
  const char *sysconfdir = "/etc/leafnode" ;
  const char *lockfile = "/var/lock/news/fetchnews.lck" ;
! const char *version  = "1.9.17ma3" ;
--- 1,4 ----
  const char *spooldir = "/var/spool/news" ;
  const char *sysconfdir = "/etc/leafnode" ;
  const char *lockfile = "/var/lock/news/fetchnews.lck" ;
! const char *version  = "1.9.17ma4a" ;
diff -cr leafnode-1.9.17ma3/configure leafnode-1.9.17ma4a/configure
*** leafnode-1.9.17ma3/configure	Mon Sep 11 04:11:42 2000
--- leafnode-1.9.17ma4a/configure	Mon Sep 11 18:47:52 2000
***************
*** 699,705 ****
  
  PACKAGE=leafnode
  
! VERSION=1.9.17ma3
  
  if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
    { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; }
--- 699,705 ----
  
  PACKAGE=leafnode
  
! VERSION=1.9.17ma4a
  
  if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
    { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; }
***************
*** 2597,2603 ****
  # Check whether --with-spooldir or --without-spooldir was given.
  if test "${with_spooldir+set}" = set; then
    withval="$with_spooldir"
!   if test "${withval:0:1}" != "/" ; then
      { echo "configure: error: you must give an absolute path" 1>&2; exit 1; }
    fi
    withval=`echo "$withval" | sed 'sx/*$xx;'`
--- 2597,2603 ----
  # Check whether --with-spooldir or --without-spooldir was given.
  if test "${with_spooldir+set}" = set; then
    withval="$with_spooldir"
!   if echo "$withval" | egrep >/dev/null -v '^/' ; then
      { echo "configure: error: you must give an absolute path" 1>&2; exit 1; }
    fi
    withval=`echo "$withval" | sed 'sx/*$xx;'`
***************
*** 2616,2622 ****
  # Check whether --with-confdir or --without-confdir was given.
  if test "${with_confdir+set}" = set; then
    withval="$with_confdir"
!   if test "${withval:0:1}" != "/" ; then
      { echo "configure: error: need absolute path" 1>&2; exit 1; }
    fi
    CONFDIR="$withval"
--- 2616,2622 ----
  # Check whether --with-confdir or --without-confdir was given.
  if test "${with_confdir+set}" = set; then
    withval="$with_confdir"
!   if echo "$withval" | egrep >/dev/null -v '^/' ; then
      { echo "configure: error: need absolute path" 1>&2; exit 1; }
    fi
    CONFDIR="$withval"
***************
*** 2648,2654 ****
  # Check whether --with-lockfile or --without-lockfile was given.
  if test "${with_lockfile+set}" = set; then
    withval="$with_lockfile"
!   if test "${withval:0:1}" != "/" ; then
      { echo "configure: error: you must give an absolute path" 1>&2; exit 1; }
    fi
  
--- 2648,2654 ----
  # Check whether --with-lockfile or --without-lockfile was given.
  if test "${with_lockfile+set}" = set; then
    withval="$with_lockfile"
!   if echo "$withval" | egrep >/dev/null -v '^/' ; then
      { echo "configure: error: you must give an absolute path" 1>&2; exit 1; }
    fi
  
diff -cr leafnode-1.9.17ma3/configure.in leafnode-1.9.17ma4a/configure.in
*** leafnode-1.9.17ma3/configure.in	Mon Sep 11 04:11:38 2000
--- leafnode-1.9.17ma4a/configure.in	Mon Sep 11 18:47:48 2000
***************
*** 3,9 ****
  dnl enhanced by Matthias Andree, 2000
  dnl Process this file with autoconf to produce a configure script.
  AC_INIT(leafnode.h)
! AM_INIT_AUTOMAKE(leafnode,1.9.17ma3)
  AM_CONFIG_HEADER(config.h)
  
  dnl Checks for programs.
--- 3,9 ----
  dnl enhanced by Matthias Andree, 2000
  dnl Process this file with autoconf to produce a configure script.
  AC_INIT(leafnode.h)
! AM_INIT_AUTOMAKE(leafnode,1.9.17ma4a)
  AM_CONFIG_HEADER(config.h)
  
  dnl Checks for programs.
***************
*** 185,191 ****
  AC_MSG_CHECKING(spooldir)
  AC_ARG_WITH(spooldir,
  [  --with-spooldir         news spool directory (/var/spool/news) ],
!   if test "${withval:0:1}" != "/" ; then
      AC_MSG_ERROR(you must give an absolute path)
    fi
    withval=`echo "$withval" | sed 'sx/*$xx;'`
--- 185,191 ----
  AC_MSG_CHECKING(spooldir)
  AC_ARG_WITH(spooldir,
  [  --with-spooldir         news spool directory (/var/spool/news) ],
!   if echo "$withval" | egrep >/dev/null -v '^/' ; then
      AC_MSG_ERROR(you must give an absolute path)
    fi
    withval=`echo "$withval" | sed 'sx/*$xx;'`
***************
*** 200,206 ****
  AC_MSG_CHECKING(confdir)
  AC_ARG_WITH(confdir,
  [  --with-confdir          obsolete option, use sysconfdir instead ],
!   if test "${withval:0:1}" != "/" ; then
      AC_ERROR(need absolute path)
    fi
    CONFDIR="$withval"
--- 200,206 ----
  AC_MSG_CHECKING(confdir)
  AC_ARG_WITH(confdir,
  [  --with-confdir          obsolete option, use sysconfdir instead ],
!   if echo "$withval" | egrep >/dev/null -v '^/' ; then
      AC_ERROR(need absolute path)
    fi
    CONFDIR="$withval"
***************
*** 228,234 ****
  AC_MSG_CHECKING(lockfile)
  AC_ARG_WITH(lockfile,
  [  --with-lockfile         lockfile (/var/lock/news/fetchnews.lck) ],
!   if test "${withval:0:1}" != "/" ; then
      AC_MSG_ERROR(you must give an absolute path)
    fi
  , 
--- 228,234 ----
  AC_MSG_CHECKING(lockfile)
  AC_ARG_WITH(lockfile,
  [  --with-lockfile         lockfile (/var/lock/news/fetchnews.lck) ],
!   if echo "$withval" | egrep >/dev/null -v '^/' ; then
      AC_MSG_ERROR(you must give an absolute path)
    fi
  , 
diff -cr leafnode-1.9.17ma3/leafnode.spec leafnode-1.9.17ma4a/leafnode.spec
*** leafnode-1.9.17ma3/leafnode.spec	Mon Sep 11 04:15:09 2000
--- leafnode-1.9.17ma4a/leafnode.spec	Mon Sep 11 18:54:33 2000
***************
*** 1,7 ****
  # DO NOT EDIT!
  # Generated automatically from leafnode.spec.in by configure.
  
! Version: 1.9.17ma3
  Summary: Leafnode - a leafsite NNTP server (Version %version)
  Summary(de): Leafnode - ein offline-Newsserver (Version %version)
  Name: leafnode
--- 1,7 ----
  # DO NOT EDIT!
  # Generated automatically from leafnode.spec.in by configure.
  
! Version: 1.9.17ma4a
  Summary: Leafnode - a leafsite NNTP server (Version %version)
  Summary(de): Leafnode - ein offline-Newsserver (Version %version)
  Name: leafnode