aboutsummaryrefslogtreecommitdiffstats
path: root/security/pidentd
diff options
context:
space:
mode:
authorsteve <steve@FreeBSD.org>1998-10-10 14:09:54 +0800
committersteve <steve@FreeBSD.org>1998-10-10 14:09:54 +0800
commitbc5587fce2b37f7071b05e548ef83f843a77f7d6 (patch)
treeff23d096cc07e3d847d26e52b2c220bda605b30c /security/pidentd
parent6d49bf9c8729227f4e8e56b41a94947c3fc9e722 (diff)
downloadfreebsd-ports-gnome-bc5587fce2b37f7071b05e548ef83f843a77f7d6.tar.gz
freebsd-ports-gnome-bc5587fce2b37f7071b05e548ef83f843a77f7d6.tar.zst
freebsd-ports-gnome-bc5587fce2b37f7071b05e548ef83f843a77f7d6.zip
The location of identd.key is in ${PREFIX}/etc.
PR: 8091 Submitted by: Sheldon Hearn <axl@iafrica.com>
Diffstat (limited to 'security/pidentd')
-rw-r--r--security/pidentd/files/patch-ac42
-rw-r--r--security/pidentd/scripts/configure11
2 files changed, 45 insertions, 8 deletions
diff --git a/security/pidentd/files/patch-ac b/security/pidentd/files/patch-ac
index c637d0b4fa4b..72da063d8545 100644
--- a/security/pidentd/files/patch-ac
+++ b/security/pidentd/files/patch-ac
@@ -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.
diff --git a/security/pidentd/scripts/configure b/security/pidentd/scripts/configure
index 99b0e6a9609f..5ef4bb155961 100644
--- a/security/pidentd/scripts/configure
+++ b/security/pidentd/scripts/configure
@@ -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