Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Jul 1999 14:46:51 -0400 (EDT)
From:      Jay Kuri <jay@oneway.com>
To:        freebsd-small@freebsd.org
Subject:   Patch to PicoBSD net to fix pam stuff
Message-ID:  <Pine.BSF.4.05.9907211444230.7344-100000@daedal.oneway.com>
In-Reply-To: <199907211311.JAA25142@Aries.utstar.com>

next in thread | previous in thread | raw e-mail | index | archive | help

Aha.  Found the two problems that prevent building net properly.

In the Makefile file, NOPAM is defined.  It should be NO_PAM.

Also, in crunch.conf, -lradius needs to be added to the libs.

patch follows.

Jay

*** Makefile.orig       Wed Jul 21 11:47:43 1999
--- Makefile    Wed Jul 21 11:47:51 1999
***************
*** 12,18 ****
        fi
        @cat crunch.conf|sed -e "s@/usr/src@${SRC}@" >crunch1.conf
        @crunchgen ./crunch1.conf
!       @${MAKE} -f crunch1.mk -DNOPAM all \
            "CFLAGS=${CFLAGS} -DCRUNCHED_BINARY -DNOSECURE -DNOCRYPT"
#2>&1 >/dev/null
  
  clean:
--- 12,18 ----
        fi
        @cat crunch.conf|sed -e "s@/usr/src@${SRC}@" >crunch1.conf
        @crunchgen ./crunch1.conf
!       @${MAKE} -f crunch1.mk -DNO_PAM all \
            "CFLAGS=${CFLAGS} -DCRUNCHED_BINARY -DNOSECURE -DNOCRYPT"
#2>&1 >/dev/null
  
  clean:
*** crunch.conf.orig    Wed Jul 21 11:48:40 1999
--- crunch.conf Wed Jul 21 11:48:23 1999
***************
*** 41,44 ****
  
  libs -lncurses -lmytinfo -lipx -lz -lpcap -lalias -lwrap
  libs -ledit -lutil -lmd -lcrypt -lmp -lgmp -lm -lkvm
! libs -lgnuregex -ltelnet 
--- 41,44 ----
  
  libs -lncurses -lmytinfo -lipx -lz -lpcap -lalias -lwrap
  libs -ledit -lutil -lmd -lcrypt -lmp -lgmp -lm -lkvm
! libs -lgnuregex -ltelnet -lradius




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-small" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.05.9907211444230.7344-100000>