1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-13 07:34:50 +00:00

Import of tircproxy.

This program is designed to proxy IRC connections, intercepting and
proxying both DCC CHAT and DCC SEND requests transparently to the user.

PR:		13066
Submitted by:	Eugeny Kuzakov <CoreDumped@lab321.ru>
This commit is contained in:
Jim Mock 1999-08-26 09:21:23 +00:00
parent b1c81170db
commit 1bcf073199
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=20986
8 changed files with 107 additions and 0 deletions

28
irc/tircproxy/Makefile Normal file
View File

@ -0,0 +1,28 @@
# New ports collection makefile for: tircproxy
# Version required: 0.4.3
# Date created: 11 Aug 1999
# Whom: Eugeny Kuzakov <CoreDumped@CoreDumped.null.ru>
#
# $FreeBSD$
#
DISTNAME= tircproxy-0.4.3
CATEGORIES= irc
MASTER_SITES= http://www.mmedia.is/~bre/tircproxy/
MAINTAINER= CoreDumped@CoreDumped.null.ru
WRKSRC= ${WRKDIR}/tircproxy-0.4
GNU_CONFIGURE= YES
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/tircproxy ${PREFIX}/sbin
post-install:
.if !defined(NOPORTDOCS)
@${ECHO} "===> Installing tircproxy docs in ${PREFIX}/share/doc/tircproxy"
@${MKDIR} ${PREFIX}/share/doc/tircproxy && ${CHMOD} a+rx ${PREFIX}/share/doc/tircproxy
@${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/tircproxy
.endif
.include <bsd.port.mk>

1
irc/tircproxy/distinfo Normal file
View File

@ -0,0 +1 @@
MD5 (tircproxy-0.4.3.tar.gz) = 94f508ed95cefc3e3d841c9c52b59e58

View File

@ -0,0 +1,34 @@
--- tircproxy.h.orig Wed Aug 11 15:40:04 1999
+++ tircproxy.h Wed Aug 11 15:43:06 1999
@@ -25,8 +25,8 @@
/* Set the location of the broadcast & MOTD files. Undef these to disable
** the broadcasting feature.
*/
-#define BROADCAST_FILE "/tmp/ircbroadcast"
-#define IRC_MOTD_FILE "/etc/motd.irc"
+#define BROADCAST_FILE "/usr/local/etc/tircproxy/ircbroadcast"
+#define IRC_MOTD_FILE "/usr/local/etc/tircproxy/motd.irc"
/* Enable this if you want to use the IPF code for tranparency.
*/
@@ -34,7 +34,7 @@
/* Enable this if you want to use the Linux code for tranparency.
*/
-#define LINUX 1
+#define LINUX 0
/* Enable this if you want to ask proxy users for passwords.
*/
@@ -97,10 +97,10 @@
**
** This means the proxy does NOT need to run as root for ident responses to
** be correct (so go get oidentd-1.4+cdir !!).
-*/
#define CDIR "/var/oidentd/"
#define CDIR_IDENT "ident"
#define CDIR_MAP "user"
+*/
/* The following table defines a list of filenames that are not

View File

@ -0,0 +1,11 @@
--- Makefile.in.orig Wed Aug 11 16:48:33 1999
+++ Makefile.in Wed Aug 11 16:48:49 1999
@@ -12,7 +12,7 @@
TARGETNAME=@sbindir@/tircproxy
STRIP=@STRIP@
-ALL_CFLAGS=-Wall -I. -I@srcdir@ $(CFLAGS)
+ALL_CFLAGS=-Wall -I. -I@srcdir@ $(CFLAGS) -I/sys -I/usr/src/sys
.SUFFIXES:
.SUFFIXES: .c .o

View File

@ -0,0 +1 @@
This is an IRC proxy server.

16
irc/tircproxy/pkg-descr Normal file
View File

@ -0,0 +1,16 @@
This is an IRC proxy server. Features:
+ Supports DCC CHAT, SEND, RESUME and TSEND protocols.
+ Supports both transparent and dedicated operation.
+ Supports "anonymization" to hide users' identities.
+ Supports flexible authentication for access.
+ Can be run either standalone or via inetd.
+ Allows the admin to send "MOTD" style messages and/or
broadcasts to the user(s).
+ Can block trojans such as 'script.ini', 'dmsetup.exe', etc.
+ Access controlled by /etc/hosts.allow and /etc/hosts.deny.
+ Can cooperate with some identd's for non-root operation, or
(if root) can change UID/GID according to client's IP addr.
+ Extensive documentation
Ported by Eugeny Kuzakov (CoreDumped@CoreDumped.null.ru)

3
irc/tircproxy/pkg-plist Normal file
View File

@ -0,0 +1,3 @@
sbin/tircproxy
share/doc/tircproxy/README
@dirrm share/doc/tircproxy

View File

@ -0,0 +1,13 @@
#!/bin/sh
#
paths="/sys /usr/include /usr/src/sys"
for i in ${paths}; do
if [ -f $i/netinet/ip_nat.h ]; then
exit 0
fi
done
echo Unable find netinet/ip_nat.h
echo This header file from ipfilter package
echo Try to locate ip_nat.h and manually create links in following catalogs:
echo $paths
exit 1