Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Jan 1999 15:26:33 +0100 (CET)
From:      girgen@partitur.se
To:        FreeBSD-gnats-submit@FreeBSD.ORG, erich@FreeBSD.ORG
Subject:   ports/9346: sudo broken [patch included]
Message-ID:  <199901061426.PAA97522@trumpet.partitur.se>

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

>Number:         9346
>Category:       ports
>Synopsis:       sudo distfile unfetchable
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jan  6 06:30:01 PST 1999
>Closed-Date:
>Last-Modified:
>Originator:     Palle Girgensohn
>Release:        FreeBSD 2.2.7-STABLE i386
>Organization:
Partitur
>Environment:

	

>Description:
sudo distfile unfetchable. sudo is updated, and the old distfile
removed.
	

>How-To-Repeat:

	

>Fix:
Apply this patch:

diff -urN sudo.old/Makefile sudo/Makefile
--- sudo.old/Makefile	Sat Jan  2 03:52:03 1999
+++ sudo/Makefile	Sat Jan  2 03:52:38 1999
@@ -6,8 +6,8 @@
 # $Id: Makefile,v 1.14 1998/10/27 04:54:42 asami Exp $
 #
 
-DISTNAME=	cu-sudo.v1.5.6p5
-PKGNAME=	sudo-1.5.6.5
+DISTNAME=	cu-sudo.v1.5.7p4
+PKGNAME=	sudo-1.5.7.4
 CATEGORIES=	security
 MASTER_SITES=	ftp://ftp.cs.colorado.edu/pub/sysadmin/sudo/
 EXTRACT_SUFX=	.tar.Z
@@ -16,7 +16,7 @@
 
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--with-C2 --with-skey --with-fbsdops
-WRKSRC=		${WRKDIR}/sudo.v1.5.6p5
+WRKSRC=		${WRKDIR}/sudo.v1.5.7p4
 MAN5=		sudoers.5
 MAN8=		sudo.8 visudo.8
 
diff -urN sudo.old/patches/patch-aa sudo/patches/patch-aa
--- sudo.old/patches/patch-aa	Fri Oct 23 16:29:32 1998
+++ sudo/patches/patch-aa	Sat Jan  2 04:12:33 1999
@@ -1,30 +1,29 @@
---- configure.orig	Sun Sep 20 04:25:10 1998
-+++ configure	Fri Oct 23 00:17:09 1998
-@@ -48,6 +48,8 @@
+--- /usr/ports/security/sudo/work2/sudo.v1.5.7p4/configure	Tue Nov 24 05:40:24 1998
++++ configure	Sat Jan  2 04:07:08 1999
+@@ -22,6 +22,8 @@
  ac_help="$ac_help
    --with-csops            add CSOps standard options"
  ac_help="$ac_help
 +  --with-fbsdops          add FreeBSD standard options"
 +ac_help="$ac_help
-   --enable-log-host       Log the hostname in the log file
-   --disable-log-host      Do not log hostname in the log file (default)"
+   --with-skey             enable S/Key support "
  ac_help="$ac_help
-@@ -579,8 +581,8 @@
+   --with-opie             enable OPIE support "
+@@ -665,8 +667,8 @@
  
  test "$mandir" = '${prefix}/man' && mandir='$(prefix)/man'
  test "$bindir" = '${exec_prefix}/bin' && bindir='$(exec_prefix)/bin'
--test "$sbindir" = '${exec_prefix}/sbin' && sbindir='$(exec_prefix)/etc'
+-test "$sbindir" = '${exec_prefix}/sbin' && sbindir='$(exec_prefix)/sbin'
 -test "$sysconfdir" = '${prefix}/etc' && sysconfdir='/etc'
-+test "$sbindir" = '${exec_prefix}/sbin' || sbindir='$(exec_prefix)/etc'
++test "$sbindir" = '${exec_prefix}/sbin' || sbindir='$(exec_prefix)/sbin'
 +test "$sysconfdir" = '${prefix}/etc' || sysconfdir='/etc'
  
  
  # Check whether --with-CC or --without-CC was given.
-@@ -940,7 +942,20 @@
- 
+@@ -2068,6 +2070,20 @@
+   echo "$ac_t""no" 1>&6
  fi
  
--
 +# Check whether --with-fbsdops or --without-fbsdops was given.
 +if test "${with_fbsdops+set}" = set; then
 +  withval="$with_fbsdops"
@@ -39,10 +38,10 @@
 +  esac
 +fi
 +    
+ 
  # Extract the first word of "egrep", so it can be a program name with args.
  set dummy egrep; ac_word=$2
- echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-@@ -5008,7 +5023,7 @@
+@@ -7000,7 +7016,7 @@
  fi
  
  if test "$with_skey" = "yes"; then
>Release-Note:
>Audit-Trail:
>Unformatted:

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199901061426.PAA97522>