FreeBSD Bugzilla – Attachment 39317 Details for
Bug 62010
Update: security/oidentd configuration
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
oidentd-2.0.7_1.diff
oidentd-2.0.7_1.diff (text/plain), 2.74 KB, created by
Robin Breathe
on 2004-01-27 23:10:03 UTC
(
hide
)
Description:
oidentd-2.0.7_1.diff
Filename:
MIME Type:
Creator:
Robin Breathe
Created:
2004-01-27 23:10:03 UTC
Size:
2.74 KB
patch
obsolete
>diff -ruN oidentd-2.0.7/Makefile oidentd/Makefile >--- oidentd-2.0.7/Makefile Tue Jan 27 20:40:37 2004 >+++ oidentd/Makefile Tue Jan 27 22:51:45 2004 >@@ -7,6 +8,7 @@ > > PORTNAME= oidentd > PORTVERSION= 2.0.7 >+PORTREVISION= 1 > CATEGORIES= security > MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} > MASTER_SITE_SUBDIR= ojnk >@@ -16,7 +18,34 @@ > > USE_GMAKE= yes > GNU_CONFIGURE= yes >+CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} >+ >+PLIST_FILES= sbin/oidentd \ >+ etc/oidentd.conf.sample \ >+ etc/oidentd_masq.conf.sample \ >+ etc/rc.d/oidentd.sh >+ > MAN5= oidentd.conf.5 oidentd_masq.conf.5 > MAN8= oidentd.8 > >-.include <bsd.port.mk> >+.include <bsd.port.pre.mk> >+ >+.if ${OSVERSION} >= 500038 >+RC_SUBR= /etc/rc.subr >+.else >+USE_RC_SUBR= yes >+.endif >+ >+post-build: >+ @${SED} -e 's,%%PREFIX%%,${PREFIX},g' \ >+ -e 's,%%RC_SUBR%%,${RC_SUBR},g' \ >+ <${FILESDIR}/oidentd.sh >${WRKDIR}/oidentd.sh >+ >+do-install: >+ ${INSTALL_PROGRAM} ${WRKSRC}/src/oidentd ${PREFIX}/sbin >+ ${INSTALL_DATA} ${MAN5:S,^,${FILESDIR}/,:S,5$,sample,} ${PREFIX}/etc >+ ${INSTALL_SCRIPT} ${WRKDIR}/oidentd.sh ${PREFIX}/etc/rc.d >+ ${INSTALL_MAN} ${MAN5:S,^,${WRKSRC}/doc/,} ${PREFIX}/man/man5 >+ ${INSTALL_MAN} ${MAN8:S,^,${WRKSRC}/doc/,} ${PREFIX}/man/man8 >+ >+.include <bsd.port.post.mk> >diff -ruN oidentd-2.0.7/files/oidentd.conf.sample oidentd/files/oidentd.conf.sample >--- oidentd-2.0.7/files/oidentd.conf.sample Thu Jan 1 00:00:00 1970 >+++ oidentd/files/oidentd.conf.sample Tue Jan 27 20:23:30 2004 >@@ -0,0 +1,24 @@ >+default { >+ default { >+ allow spoof >+ deny spoof_all >+ deny spoof_privport >+ allow random_numeric >+ allow numeric >+ allow hide >+ } >+} >+ >+user root { >+ default { >+ force reply "UNKNOWN" >+ } >+} >+ >+#user eggdrop { >+# default { >+# allow spoof >+# allow spoof_all >+# allow spoof_privport >+# } >+#} >diff -ruN oidentd-2.0.7/files/oidentd.sh oidentd/files/oidentd.sh >--- oidentd-2.0.7/files/oidentd.sh Thu Jan 1 00:00:00 1970 >+++ oidentd/files/oidentd.sh Tue Jan 27 20:01:04 2004 >@@ -0,0 +1,32 @@ >+#!/bin/sh >+# >+# $FreeBSD$ >+# >+ >+# PROVIDE: oidentd >+# REQUIRE: DAEMON >+# KEYWORD: FreeBSD shutdown >+ >+# >+# Add the following lines to /etc/rc.conf to enable dovecot: >+# >+#oidentd_enable="YES" >+# >+# See oidentd(8) for flags. >+# >+ >+. %%RC_SUBR%% >+ >+name=oidentd >+rcvar=`set_rcvar` >+ >+command=%%PREFIX%%/sbin/${name} >+required_files=%%PREFIX%%/etc/${name}.conf >+ >+# set defaults >+ >+oidentd_enable=${oidentd_enable:-"NO"} >+oidentd_flags=${oidentd_flags:-""} >+ >+load_rc_config ${name} >+run_rc_command "$1" >diff -ruN oidentd-2.0.7/files/oidentd_masq.conf.sample oidentd/files/oidentd_masq.conf.sample >--- oidentd-2.0.7/files/oidentd_masq.conf.sample Thu Jan 1 00:00:00 1970 >+++ oidentd/files/oidentd_masq.conf.sample Tue Jan 27 20:42:53 2004 >@@ -0,0 +1,2 @@ >+192.168.1.1/32 client1 UNIX >+192.168.2.1/32 client2 UNIX
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 62010
: 39317