Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 1559 - slidentd ebuild (new)
Summary: slidentd ebuild (new)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High enhancement (vote)
Assignee: Thilo Bangert (RETIRED) (RETIRED)
URL: http://www.fizzelpark.com/portage/net...
Whiteboard:
Keywords:
Depends on: 1557 1558
Blocks:
  Show dependency tree
 
Reported: 2002-04-05 16:12 UTC by Thilo Bangert (RETIRED) (RETIRED)
Modified: 2002-04-16 07:41 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thilo Bangert (RETIRED) (RETIRED) gentoo-dev 2002-04-05 16:12:09 UTC
here is an ebuild for slidentd, a secure (and thus not 100% RFC compatible)
identd implementation. this ebuild needs and is only tested with a recent
dietlibc (bug #1557) and the libowfat (bug #1558)
http://www.fizzelpark.com/portage/net-misc/slidentd/slidentd-0.0.15.ebuild
---
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2
# Author: Thilo Bangert <thilo.bangert@gmx.net>
# /space/gentoo/cvsroot/gentoo-x86/skel.ebuild,v 1.3 2002/02/04 15:46:51 gbevin Exp

S=${WORKDIR}/${P}
DESCRIPTION="A secure, lightweight ident daemon."
SRC_URI="http://www.uncarved.com/slidentd/${P}.tar.gz"
HOMEPAGE="http://www.uncarved.com/slidentd/"

DEPEND="dev-libs/dietlibc
	dev-libs/libowfat"

RDEPEND="sys-apps/daemontools
	sys-apps/ucspi-tcp"

src_unpack() {
	unpack ${A} ; cd ${S}
	mv Makefile Makefile.orig
	sed -e "s:^\tCFLAGS=\$(diet_cflag.*:\tCFLAGS=${CFLAGS} \${diet_cflags}:" \
		-e "s:^\tCC\:=diet -Os \$(CC):\tCC\:=diet -Os gcc:" \
		Makefile.orig > Makefile
}

src_compile() {
	make build_mode=diet INCLUDES=-I/usr/include/libowfat LIBDIRS=-L/usr/lib || die
}

src_install () {
	make DESTDIR=${D} install || die

	exeinto /var/lib/supervise/slidentd
	newexe ${FILESDIR}/run run
}

pkg_postinst() {
	echo -e "\e[32;01m You need to start your supervise service:\033[0m"
	echo ' # ln -s /var/lib/supervise/slidentd/ /service'
	echo
}