summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-03-12 20:50:30 +0000
committerMike Frysinger <vapier@gentoo.org>2005-03-12 20:50:30 +0000
commit17805c6c97c0e2779a93f352fbed00e99f8d6dee (patch)
tree43b099a80d10d88598967b3b5f6fe4e367683342 /net-misc
parentold (diff)
downloadgentoo-2-17805c6c97c0e2779a93f352fbed00e99f8d6dee.tar.gz
gentoo-2-17805c6c97c0e2779a93f352fbed00e99f8d6dee.tar.bz2
gentoo-2-17805c6c97c0e2779a93f352fbed00e99f8d6dee.zip
Add patch to identify as UNIX instead of OTHER #82675 by Steven Hay.
(Portage version: 2.0.51.19)
Diffstat (limited to 'net-misc')
-rw-r--r--net-misc/fakeidentd/ChangeLog10
-rw-r--r--net-misc/fakeidentd/fakeidentd-2.2-r1.ebuild37
-rw-r--r--net-misc/fakeidentd/files/digest-fakeidentd-2.2-r11
-rw-r--r--net-misc/fakeidentd/files/fakeidentd-2.2-ident-unix.patch8
4 files changed, 54 insertions, 2 deletions
diff --git a/net-misc/fakeidentd/ChangeLog b/net-misc/fakeidentd/ChangeLog
index d7c5ddc15279..4a3cbddf94c7 100644
--- a/net-misc/fakeidentd/ChangeLog
+++ b/net-misc/fakeidentd/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-misc/fakeidentd
-# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/fakeidentd/ChangeLog,v 1.20 2004/09/20 00:17:10 vapier Exp $
+# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/fakeidentd/ChangeLog,v 1.21 2005/03/12 20:50:30 vapier Exp $
+
+*fakeidentd-2.2-r1 (12 Mar 2005)
+
+ 12 Mar 2005; Mike Frysinger <vapier@gentoo.org>
+ +files/fakeidentd-2.2-ident-unix.patch, +fakeidentd-2.2-r1.ebuild:
+ Add patch to identify as UNIX instead of OTHER #82675 by Steven Hay.
*fakeidentd-2.2 (19 Sep 2004)
diff --git a/net-misc/fakeidentd/fakeidentd-2.2-r1.ebuild b/net-misc/fakeidentd/fakeidentd-2.2-r1.ebuild
new file mode 100644
index 000000000000..7da2dbdb2b64
--- /dev/null
+++ b/net-misc/fakeidentd/fakeidentd-2.2-r1.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/fakeidentd/fakeidentd-2.2-r1.ebuild,v 1.1 2005/03/12 20:50:30 vapier Exp $
+
+inherit toolchain-funcs eutils
+
+DESCRIPTION="A static, secure identd. One source file only!"
+HOMEPAGE="http://www.guru-group.fi/~too/sw/"
+SRC_URI="mirror://gentoo/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="alpha amd64 arm ppc ppc64 sparc x86"
+IUSE=""
+
+DEPEND=""
+
+S=${WORKDIR}
+
+src_unpack() {
+ unpack ${A}
+ sed -i "s:identd.pid:${PN}.pid:" identd.c
+ epatch "${FILESDIR}"/${P}-ident-unix.patch
+}
+
+src_compile() {
+ $(tc-getCC) identd.c -o ${PN} ${CFLAGS} || die
+}
+
+src_install() {
+ dosbin ${PN} || die
+ # Changelog in source is more current. Its only ~13kB anyway.
+ dodoc identd.readme identd.c
+
+ newinitd "${FILESDIR}"/fakeidentd.rc fakeidentd
+ newconfd "${FILESDIR}"/fakeidentd.confd fakeidentd
+}
diff --git a/net-misc/fakeidentd/files/digest-fakeidentd-2.2-r1 b/net-misc/fakeidentd/files/digest-fakeidentd-2.2-r1
new file mode 100644
index 000000000000..baefa6c65d0c
--- /dev/null
+++ b/net-misc/fakeidentd/files/digest-fakeidentd-2.2-r1
@@ -0,0 +1 @@
+MD5 aa4133981c94c59868344cd3b02e8e19 fakeidentd-2.2.tar.bz2 8341
diff --git a/net-misc/fakeidentd/files/fakeidentd-2.2-ident-unix.patch b/net-misc/fakeidentd/files/fakeidentd-2.2-ident-unix.patch
new file mode 100644
index 000000000000..ecb98a836b1b
--- /dev/null
+++ b/net-misc/fakeidentd/files/fakeidentd-2.2-ident-unix.patch
@@ -0,0 +1,8 @@
+--- identd.c
++++ identd.c
+@@ -203,4 +203,4 @@
+
+-#if 1
++#if 0
+ static const char ident_substr[] = " : USERID : OTHER : ";
+ #else