+++ /dev/null
-diff -Nur inn-2.4.1.orig/configure.in inn-2.4.1/configure.in
---- inn-2.4.1.orig/configure.in 2004-09-07 14:53:23.800246638 +0200
-+++ inn-2.4.1/configure.in 2004-09-07 14:55:04.045893609 +0200
-@@ -375,20 +375,20 @@
- done
- fi
- if test x"$BERKELEY_DB_DIR" = xyes ; then
-- for v in db41 db4 db3 db2 ; do
-+ for v in 4.2 4.1 4 3 2 ; do
-- if test -d "/usr/local/include/$v" ; then
-+ if test -d "/usr/local/include/db$v" ; then
- BERKELEY_DB_LDFLAGS="-L/usr/local/lib"
-- BERKELEY_DB_CFLAGS="-I/usr/local/include/$v"
-- BERKELEY_DB_LIB="-l$v"
-+ BERKELEY_DB_CFLAGS="-I/usr/local/include/db$v"
-+ BERKELEY_DB_LIB="-ldb-$v"
- AC_MSG_RESULT(FreeBSD locations)
- break
- fi
- done
- if test x"$BERKELEY_DB_LIB" = x ; then
-- for v in db41 db4 db3 db2 ; do
-+ for v in 4.2 4.1 4 3 2 ; do
-- if test -d "/usr/include/$v" ; then
-+ if test -d "/usr/include/db$v" ; then
-- BERKELEY_DB_CFLAGS="-I/usr/include/$v"
-- BERKELEY_DB_LIB="-l$v"
-+ BERKELEY_DB_CFLAGS="-I/usr/include/db$v"
-+ BERKELEY_DB_LIB="-ldb-$v"
- AC_MSG_RESULT(Linux locations)
- break
- fi
+++ /dev/null
-#!/sbin/runscript
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-news/inn/files/innd,v 1.7 2004/09/07 22:29:04 swegener Exp $
-
-depend() {
- need net
-}
-
-start() {
- ebegin "Starting innd"
- su - news -c /usr/lib/news/bin/rc.news
- eend $?
-}
-
-stop() {
- ebegin "Stopping innd"
- su - news -c '/usr/lib/news/bin/rc.news stop'
- sleep 2
- eend $?
-}