diff options
author | Maxim Sobolev <sobomax@FreeBSD.org> | 2003-02-17 13:28:53 +0000 |
---|---|---|
committer | Maxim Sobolev <sobomax@FreeBSD.org> | 2003-02-17 13:28:53 +0000 |
commit | a08035df0b382e76c72a8974c08bc5a47860b136 (patch) | |
tree | effd669a0505fe90da00053848ce0de7129e8f68 /comms | |
parent | 52056acb8e55e9c980eb04014aeaec5d3cb9c5a1 (diff) | |
download | ports-a08035df0b382e76c72a8974c08bc5a47860b136.tar.gz ports-a08035df0b382e76c72a8974c08bc5a47860b136.zip |
Notes
Diffstat (limited to 'comms')
-rw-r--r-- | comms/sredird/Makefile | 7 | ||||
-rw-r--r-- | comms/sredird/distinfo | 2 | ||||
-rw-r--r-- | comms/sredird/files/patch-ab | 37 |
3 files changed, 34 insertions, 12 deletions
diff --git a/comms/sredird/Makefile b/comms/sredird/Makefile index 74c6c42873fd..7388437eb985 100644 --- a/comms/sredird/Makefile +++ b/comms/sredird/Makefile @@ -6,7 +6,7 @@ # PORTNAME= sredird -PORTVERSION= 1.1.8 +PORTVERSION= 2.1.0 CATEGORIES= comms MASTER_SITES= ${MASTER_SITE_SUNSITE} MASTER_SITE_SUBDIR= system/serial @@ -19,9 +19,8 @@ do-build: do-install: ${INSTALL_PROGRAM} ${WRKSRC}/sredird ${PREFIX}/libexec .if !defined(NOPORTDOCS) - ${MKDIR} ${PREFIX}/share/doc/sredird - ${INSTALL_MAN} ${WRKSRC}/README ${PREFIX}/share/doc/sredird - ${INSTALL_MAN} ${WRKSRC}/COPYING ${PREFIX}/share/doc/sredird + ${MKDIR} ${DOCSDIR} + ${INSTALL_MAN} ${WRKSRC}/README ${WRKSRC}/COPYING ${DOCSDIR} .endif .include <bsd.port.mk> diff --git a/comms/sredird/distinfo b/comms/sredird/distinfo index 8154c505e608..43b4a173e8e2 100644 --- a/comms/sredird/distinfo +++ b/comms/sredird/distinfo @@ -1 +1 @@ -MD5 (sredird-1.1.8.tar.gz) = e1565bd8555ce4883cc5370c7159bb0a +MD5 (sredird-2.1.0.tar.gz) = 42494e118a6c9992f03f55ef74a373b6 diff --git a/comms/sredird/files/patch-ab b/comms/sredird/files/patch-ab index 8a75ff40c019..6547065ee220 100644 --- a/comms/sredird/files/patch-ab +++ b/comms/sredird/files/patch-ab @@ -1,11 +1,34 @@ ---- README.orig Tue Dec 21 10:49:33 1999 -+++ README Tue Dec 21 10:50:59 1999 -@@ -80,7 +80,7 @@ - Sredird is designed to run under inetd control. The line in the inetd + +$FreeBSD$ + +--- README.orig Thu Nov 14 11:29:17 2002 ++++ README Mon Feb 17 15:25:24 2003 +@@ -101,21 +101,19 @@ + + 5 - Installation + +-Put the executable in a suitable directory (/usr/sbin or /usr/local/sbin). ++Put the executable in a suitable directory (/usr/libexec or /usr/local/libexec). + Sredird is designed to run under inetd control. The line in the inetd configuration file (usually /etc/inetd.conf) should look like this: --sredir stream tcp nowait root /usr/sbin/tcpd /usr/sbin/sredird 5 /dev/modem /var/lock/LCK..modem -+sredir stream tcp nowait root /usr/local/libexec/sredird sredird 5 /dev/cuaa0 /var/spool/lock/LCK..cuaa0 +-sredir stream tcp nowait root /usr/sbin/tcpd /usr/sbin/sredird -i 5 /dev/modem /var/lock/LCK..modem ++sredir stream tcp nowait root /usr/local/libexec/sredird sredird -i 5 /dev/cuaa0 /var/spool/lock/LCK..cuaa0 Of course, "sredir" should be defined in the services file (usually - /etc/services, usual values start at port 7000) and "/dev/modem" should +-/etc/services, usual values start at port 7000) and "/dev/modem" should ++/etc/services, usual values start at port 7000) and "/dev/cuaa0" should + be substituted by the appropriate device. The lock and the device name +-must match for correct interlocking with other programs. The tcpd program +-is the usual tcp wrapper that's not needed for correct operation but +-is useful for security purposes. Don't forget to send a SIGHUP to the +-inetd daemon in order to force reload of the configuration file. The +-initial -i paramater is optional and enables compatibility with the +-Cisco IOS. ++must match for correct interlocking with other programs. Don't forget to ++send a SIGHUP to the inetd daemon in order to force reload of the ++configuration file. The initial -i paramater is optional and enables ++compatibility with the Cisco IOS. + + 6 - Bugs + |