1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-22 08:58:47 +00:00

The location of identd.key is in ${PREFIX}/etc.

PR:		8091
Submitted by:	Sheldon Hearn <axl@iafrica.com>
This commit is contained in:
Steve Price 1998-10-10 06:09:54 +00:00
parent 98744c8279
commit 8951fb7819
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=13841
2 changed files with 45 additions and 8 deletions

View File

@ -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.

View File

@ -1,10 +1,9 @@
#!/bin/sh
#
# $Id: configure,v 1.3 1995/07/27 20:30:09 torstenb Exp $
# $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