Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 82675 - Fakeidentd should identify as UNIX
Summary: Fakeidentd should identify as UNIX
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High enhancement (vote)
Assignee: SpanKY
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-20 06:14 UTC by Steven Hay
Modified: 2005-03-12 12:49 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Proposed patch (patch-unix.diff,306 bytes, patch)
2005-02-20 06:16 UTC, Steven Hay
Details | Diff
An .ebuild (fakeidentd-2.2-r1.ebuild,1.00 KB, text/plain)
2005-02-20 06:41 UTC, Steven Hay
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Steven Hay 2005-02-20 06:14:33 UTC
Fakeidentd should identify as a UNIX system.  For some reason, some places care about this (undernet).  The source code has provision to do this.  One line of code requires changing.  I've supplied a patch.

--- identd.c    2004-09-08 17:50:19.000000000 -0400
+++ identd2.c   2005-02-20 09:09:59.934079024 -0500
@@ -201,7 +201,7 @@
 #define MAXCONNS       20
 #define MAXIDLETIME    45

-#if 1
+#if 0
 static const char ident_substr[] = " : USERID : OTHER : ";
 #else
 static const char ident_substr[] = " : USERID : UNIX : ";


Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Steven Hay 2005-02-20 06:16:29 UTC
Created attachment 51661 [details, diff]
Proposed patch

Changes system from UNKNOWN to UNIX.
Comment 2 Steven Hay 2005-02-20 06:41:09 UTC
Created attachment 51664 [details]
An .ebuild

This ebuild does the same thing using sed -i.
Comment 3 Steven Hay 2005-02-20 08:14:00 UTC
Also noticed, perhaps sys-apps/sed should be added as a dependency, since the ebuild uses it.


Comment 4 SpanKY gentoo-dev 2005-03-12 12:49:14 UTC
added patch, thanks