pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net/oidentd Import new "oidentd" package:
details: https://anonhg.NetBSD.org/pkgsrc/rev/45a67b581d24
branches: trunk
changeset: 465636:45a67b581d24
user: tron <tron%pkgsrc.org@localhost>
date: Sat Jan 03 23:21:44 2004 +0000
description:
Import new "oidentd" package:
Configurable IDENT server that supports NAT/IP masq
diffstat:
net/oidentd/DESCR | 6 ++++++
net/oidentd/Makefile | 26 ++++++++++++++++++++++++++
net/oidentd/PLIST | 6 ++++++
net/oidentd/distinfo | 6 ++++++
net/oidentd/files/oidentd.sh | 40 ++++++++++++++++++++++++++++++++++++++++
net/oidentd/patches/patch-aa | 22 ++++++++++++++++++++++
net/oidentd/patches/patch-ab | 13 +++++++++++++
7 files changed, 119 insertions(+), 0 deletions(-)
diffs (147 lines):
diff -r 31e0e63706cd -r 45a67b581d24 net/oidentd/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/oidentd/DESCR Sat Jan 03 23:21:44 2004 +0000
@@ -0,0 +1,6 @@
+oidentd is an ident (rfc1413 compliant) daemon that runs on Linux, Darwin,
+FreeBSD, OpenBSD, NetBSD and Solaris. oidentd can handle IP masqueraded/NAT
+connections on Linux, Darwin, FreeBSD (ipf only), OpenBSD and NetBSD.
+oidentd has a flexible mechanism for specifying ident responses. Users can
+be granted permission to specify their own ident responses. Responses can be
+specified according to host and port pairs.
diff -r 31e0e63706cd -r 45a67b581d24 net/oidentd/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/oidentd/Makefile Sat Jan 03 23:21:44 2004 +0000
@@ -0,0 +1,26 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/01/03 23:21:44 tron Exp $
+
+DISTNAME= oidentd-2.0.7
+CATEGORIES= net
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=ojnk/}
+
+MAINTAINER= tron%NetBSD.org@localhost
+HOMEPAGE= http://dev.ojnk.net/
+COMMENT= Configurable IDENT server that supports NAT/IP masq
+
+GNU_CONFIGURE= YES
+CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
+USE_PKGINSTALL= YES
+RCD_SCRIPTS= oidentd
+
+.include "../../mk/bsd.prefs.mk"
+
+BUILD_DEFS+= USE_INET6
+.if defined(USE_INET6) && ${USE_INET6} != "YES"
+CONFIGURE_ARGS+= --disable-ipv6
+.endif
+
+post-configure:
+ ${ECHO} >>${WRKSRC}/config.h "#define PKG_SYSCONFDIR \"${PKG_SYSCONFDIR}\""
+
+.include "../../mk/bsd.pkg.mk"
diff -r 31e0e63706cd -r 45a67b581d24 net/oidentd/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/oidentd/PLIST Sat Jan 03 23:21:44 2004 +0000
@@ -0,0 +1,6 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2004/01/03 23:21:44 tron Exp $
+etc/rc.d/oidentd
+man/man5/oidentd.conf.5
+man/man5/oidentd_masq.conf.5
+man/man8/oidentd.8
+sbin/oidentd
diff -r 31e0e63706cd -r 45a67b581d24 net/oidentd/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/oidentd/distinfo Sat Jan 03 23:21:44 2004 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2004/01/03 23:21:44 tron Exp $
+
+SHA1 (oidentd-2.0.7.tar.gz) = c973b436e6f8cab87b5e2f557e901722e27f1e79
+Size (oidentd-2.0.7.tar.gz) = 196027 bytes
+SHA1 (patch-aa) = b5c82f425fc9f5174dd4efb4c4d13bdf78486beb
+SHA1 (patch-ab) = 264178c5cc79c744354ab228678cb41bdc27b198
diff -r 31e0e63706cd -r 45a67b581d24 net/oidentd/files/oidentd.sh
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/oidentd/files/oidentd.sh Sat Jan 03 23:21:44 2004 +0000
@@ -0,0 +1,40 @@
+#!@RCD_SCRIPTS_SHELL@
+#
+# $NetBSD: oidentd.sh,v 1.1.1.1 2004/01/03 23:21:45 tron Exp $
+#
+
+# PROVIDE: oidentd
+# REQUIRE: DAEMON
+
+conf_file="@PKG_SYSCONFDIR@/oidentd.conf"
+
+name="oidentd"
+rcvar=$name
+command="@PREFIX@/sbin/${name}"
+required_files="${conf_file}"
+
+if [ -f /etc/rc.subr -a -d /etc/rc.d -a -f /etc/rc.d/DAEMON ]; then
+ . /etc/rc.subr
+ . /etc/rc.conf
+
+ load_rc_config $name
+ run_rc_command "$1"
+
+else # old NetBSD, Solaris, Linux, etc...
+
+ case $1 in
+ start)
+ if [ -x ${command} -a -f ${conf_file} ] ; then
+ eval ${command} && @ECHO@ -n " ${name}"
+ fi
+ ;;
+ stop)
+ ${stop_cmd}
+ ;;
+ *)
+ @ECHO@ "Usage: $0 {start|stop}" 1>&2
+ exit 64
+ ;;
+ esac
+
+fi
diff -r 31e0e63706cd -r 45a67b581d24 net/oidentd/patches/patch-aa
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/oidentd/patches/patch-aa Sat Jan 03 23:21:44 2004 +0000
@@ -0,0 +1,22 @@
+$NetBSD: patch-aa,v 1.1.1.1 2004/01/03 23:21:45 tron Exp $
+
+--- src/oidentd.h.orig Fri Jul 11 16:11:25 2003
++++ src/oidentd.h Sun Jan 4 00:06:40 2004
+@@ -24,7 +24,7 @@
+ ** us.
+ */
+
+-#define MASQ_MAP "/etc/oidentd_masq.conf"
++#define MASQ_MAP PKG_SYSCONFDIR "/oidentd_masq.conf"
+
+ /*
+ ** String prepended to a random number when the -r flag is specified
+@@ -36,7 +36,7 @@
+ ** System-wide configuration file.
+ */
+
+-#define CONFFILE "/etc/oidentd.conf"
++#define CONFFILE PKG_SYSCONFDIR "/oidentd.conf"
+
+ /*
+ ** Per-user configuration file. This file is relative to the user's
diff -r 31e0e63706cd -r 45a67b581d24 net/oidentd/patches/patch-ab
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/oidentd/patches/patch-ab Sat Jan 03 23:21:44 2004 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1.1.1 2004/01/03 23:21:45 tron Exp $
+
+--- src/oidentd_options.c.orig Sun Apr 27 22:17:43 2003
++++ src/oidentd_options.c Sat Jan 3 23:59:04 2004
+@@ -385,7 +385,7 @@
+ "\nUsage: oidentd [options]\n"
+ "-a or --address <address> Bind to <address>\n"
+ "-c or --charset <charset> Specify an alternate charset\n"
+-"-C or --config <config file> Use the specifed file instead of /etc/oidentd.conf\n"
++"-C or --config <config file> Use the specifed file instead of " CONFFILE "\n"
+ "-d or --debug Enable debugging\n"
+ "-e or --error Return \"UNKNOWN-ERROR\" for all errors\n"
+
Home |
Main Index |
Thread Index |
Old Index