From owner-freebsd-ports Sun May 21 5: 0:13 2000 Delivered-To: freebsd-ports@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 6859037B88B for ; Sun, 21 May 2000 05:00:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id FAA64655; Sun, 21 May 2000 05:00:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from blues.jpj.net (blues.jpj.net [204.97.17.146]) by hub.freebsd.org (Postfix) with ESMTP id 5A84637B5C6 for ; Sun, 21 May 2000 04:56:07 -0700 (PDT) (envelope-from trevor@jpj.net) Received: from localhost (trevor@localhost) by blues.jpj.net (right/backatcha) with ESMTP id e4LBu3n17640 for ; Sun, 21 May 2000 07:56:03 -0400 (EDT) Message-Id: Date: Sun, 21 May 2000 07:56:02 -0400 (EDT) From: Trevor Johnson To: FreeBSD-gnats-submit@FreeBSD.ORG Subject: ports/18707: unbreak security/oidentd Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 18707 >Category: ports >Synopsis: unbreak security/oidentd >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun May 21 05:00:01 PDT 2000 >Closed-Date: >Last-Modified: >Originator: Trevor Johnson >Release: 3.4-RC i386 >Organization: myself >Environment: compiled, installed and ran on 3.4-RC i386; compiled and installed on 4.0-STABLE i386 >Description: I'm the maintainer of the oidentd port, which is marked broken for OSVERSION < 400010. I've made a tiny patch which lets it work with both old and new versions of FreeBSD. I've added a note to DESCR about the built-in ident in inetd, and made trivial edits to the rest of the DESCR file so it stays under 25 lines. I've also edited the CATEGORIES line to follow the guideline in section 4.4.20.2 of the Handbook that "you do not need to list net when the port belongs to either of irc, mail, mbone, news, security, or www" (I suppose it should say "any of"). I received no errors from "portlint -ac", no compilation errors on FreeBSD 3.4-RC or 4.0-STABLE. On 3.4-RC, oidentd returned a correct response when I ran it. >How-To-Repeat: N/A >Fix: diff -ruN oidentd.orig/Makefile oidentd/Makefile --- oidentd.orig/Makefile Sun Apr 9 19:30:05 2000 +++ oidentd/Makefile Sun May 21 12:35:41 2000 @@ -7,7 +7,7 @@ PORTNAME= oidentd PORTVERSION= 1.6.4 -CATEGORIES= security net +CATEGORIES= security MASTER_SITES= ftp://ftp.sourceforge.net/pub/sourceforge/ojnk/ \ http://www.numb.org/~odin/stuff/ @@ -17,10 +17,4 @@ GNU_CONFIGURE= yes MAN8= oidentd.8 -.include - -.if ${OSVERSION} < 400010 -BROKEN= "outdated sys/file.h" -.endif - -.include +.include diff -ruN oidentd.orig/patches/patch-aa oidentd/patches/patch-aa --- oidentd.orig/patches/patch-aa Sun Apr 2 05:20:41 2000 +++ oidentd/patches/patch-aa Sun May 21 12:21:33 2000 @@ -1,14 +1,14 @@ --- src/freebsd.c.orig Tue Jan 18 02:37:19 2000 -+++ src/freebsd.c Wed Mar 29 09:39:27 2000 -@@ -22,9 +22,9 @@ ++++ src/freebsd.c Sun May 21 03:50:57 2000 +@@ -22,8 +22,10 @@ #include #include #include -#define KERNEL -+#define _KERNEL ++#define KERNEL /* FreeBSD 3.4 */ ++#define _KERNEL /* FreeBSD 4.0 */ #include --#undef KERNEL +#undef _KERNEL + #undef KERNEL #include #include - #include diff -ruN oidentd.orig/pkg/DESCR oidentd/pkg/DESCR --- oidentd.orig/pkg/DESCR Sun Apr 2 05:20:45 2000 +++ oidentd/pkg/DESCR Sun May 21 12:35:12 2000 @@ -1,6 +1,6 @@ from the README: -Oidentd is an ident (RFC 1413-compliant) daemon which runs on +Oidentd is an RFC 1413-compliant ident daemon which runs on GNU/Linux, FreeBSD and OpenBSD. Oidentd supports most features of pidentd as well as a number of features absent in pidentd. Most notably, oidentd allows users, given the proper permission, to @@ -9,13 +9,11 @@ strings (either a prefix, such as "user," followed by a number between 0 and 99999, or 10 pseudo-random characters of the set 0-9A-Za-z) to be returned upon the completion of a successful lookup -instead of a username or a UID. Oidentd supports IP masqueraded -connections and supports fowarding ident requests for IP masqeraded -connections to the machines from which the connections originate. -For information on how to setup support for masqueraded connections, -see the "INSTALL" file. NOTE: Currently, only Linux supports the --P -f and -m options. In other words, the IP masquerading support -only exists on Linux right now. +instead of a username or a UID. The IP masquerading support only +exists on Linux right now. + +FreeBSD's inetd has a built-in ident service which can also generate +bogus responses. WWW: http://ojnk.sourceforge.net/ >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message