Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Sep 1998 19:39:10 +0200
From:      axl@iafrica.com
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   ports/8091: ports/security/pidentd idecrypt.8 & identd.8 broken
Message-ID:  <E0zO3jy-0003ed-00@axl.training.iafrica.com>

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

>Number:         8091
>Category:       ports
>Synopsis:       ports/security/pidentd idecrypt.8 & identd.8 broken
>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:   Tue Sep 29 10:50:01 PDT 1998
>Last-Modified:
>Originator:     Sheldon Hearn
>Organization:
UUNET Internet Africa
>Release:        FreeBSD 2.2.7-STABLE i386
>Environment:

	Ports

>Description:

	The pidentd port installs manpages which incorrectly suggest
	that the location of identd.key is /etc. In reality, this
	file is installed in /usr/local/etc.

>How-To-Repeat:

	install pidentd port and ``man identd ; man idecrypt''

>Fix:
	
	The following diff corrects the manpages to reflect the
	real location of identd.key:

Index: ./patches/patch-ac
===================================================================
RCS file: /home/ncvs/ports/security/pidentd/patches/patch-ac,v
retrieving revision 1.7
diff -u -d -r1.7 patch-ac
--- patch-ac	1996/11/05 16:41:44	1.7
+++ patch-ac	1998/09/29 17:01:26
@@ -1,5 +1,5 @@
---- identd.man.orig	Mon Aug 12 04:58:37 1996
-+++ identd.man	Sat Aug 17 01:43:42 1996
+--- identd.man.orig	Mon Jul 28 23:01:22 1997
++++ identd.man	Tue Sep 29 18:40:47 1998
 @@ -4,9 +4,9 @@
  .\"
  .TH IDENTD 8 "27 May 1992"
@@ -12,6 +12,15 @@
  .RB [ \-i | \-w | \-b ]
  .RB [ \-t<seconds> ]
  .RB [ \-u<uid> ]
+@@ -205,7 +205,7 @@
+ If the
+ .I keyfile
+ is not specified, it defaults to
+-.BR /etc/identd.key .
++.BR !!PREFIX!!/etc/identd.key .
+ .PP
+ The
+ .B \-n
 @@ -322,14 +322,14 @@
  mode of operation.
  .SH EXAMPLES
@@ -39,3 +48,32 @@
  .PP
  This will make it run in the background as user 2, group 2 (user "sys",
  group "kmem" on SunOS 4.1.1).
+--- idecrypt.man.orig	Tue Sep 29 19:00:01 1998
++++ idecrypt.man	Tue Sep 29 19:01:05 1998
+@@ -14,7 +14,7 @@
+ .PP
+ .B idecrypt
+ reads up to 1024 lines from the
+-.B /etc/identd.key
++.B !!PREFIX!!/etc/identd.key
+ file, converting each line to a DES key using
+ .BR des_string_to_key (3).
+ It then reads standard input, searching for encrypted tokens
+@@ -51,7 +51,7 @@
+ the remote IP address and the remote port number.
+ .SH EXAMPLE
+ Suppose that the local host has IP address 10.2.3.4, the local
+-.B /etc/identd.key
++.B !!PREFIX!!/etc/identd.key
+ file contains
+ .PP
+ foobar
+@@ -74,7 +74,7 @@
+ If the administrator of the remote host later provides the administrator
+ of the local host with a copy of the encrypted token, and if
+ the secret key has not been removed from the local
+-.B /etc/identd.key
++.B !!PREFIX!!/etc/identd.key
+ file, then the administrator of the local host can run
+ .B idecrypt
+ and can provide the encrypted token in standard input.
Index: ./scripts/configure
===================================================================
RCS file: /home/ncvs/ports/security/pidentd/scripts/configure,v
retrieving revision 1.4
diff -u -d -r1.4 configure
--- configure	1996/02/09 12:01:48	1.4
+++ configure	1998/09/29 17:09:47
@@ -3,8 +3,7 @@
 # $Id: configure,v 1.4 1996/02/09 12:01:48 adam Exp $
 #
 
-mv ${WRKSRC}/src/paths.h ${WRKSRC}/src/paths.h.bak
-sed <${WRKSRC}/src/paths.h.bak >${WRKSRC}/src/paths.h s+!!PREFIX!!+$PREFIX+g
-
-mv ${WRKSRC}/identd.man ${WRKSRC}/identd.man.bak
-sed <${WRKSRC}/identd.man.bak >${WRKSRC}/identd.man s+!!PREFIX!!+$PREFIX+g
+for i in src/paths.h identd.man idecrypt.man ; do
+	mv ${WRKSRC}/$i ${WRKSRC}/$i.bak
+	sed <${WRKSRC}/$i.bak >${WRKSRC}/$i s+!!PREFIX!!+$PREFIX+g
+done
>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?E0zO3jy-0003ed-00>