From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Mar 17 11:40:01 2008 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3DD1D106566B for ; Mon, 17 Mar 2008 11:40:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 1CF3D8FC2C for ; Mon, 17 Mar 2008 11:40:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m2HBe1U9061393 for ; Mon, 17 Mar 2008 11:40:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m2HBe0rt061392; Mon, 17 Mar 2008 11:40:00 GMT (envelope-from gnats) Resent-Date: Mon, 17 Mar 2008 11:40:00 GMT Resent-Message-Id: <200803171140.m2HBe0rt061392@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Ilja Dejs Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 15A9F106567A for ; Mon, 17 Mar 2008 11:38:22 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 07BE28FC23 for ; Mon, 17 Mar 2008 11:38:22 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.2/8.14.2) with ESMTP id m2HBYtsl016867 for ; Mon, 17 Mar 2008 11:34:55 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.2/8.14.1/Submit) id m2HBYtFb016866; Mon, 17 Mar 2008 11:34:55 GMT (envelope-from nobody) Message-Id: <200803171134.m2HBYtFb016866@www.freebsd.org> Date: Mon, 17 Mar 2008 11:34:55 GMT From: Ilja Dejs To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/121778: New port: net-im/imspector IM transparent proxy with monitoring and blocking X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Mar 2008 11:40:01 -0000 >Number: 121778 >Category: ports >Synopsis: New port: net-im/imspector IM transparent proxy with monitoring and blocking >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Mar 17 11:40:00 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Ilja Dejs >Release: FreeBSD 6.2 >Organization: >Environment: >Description: >How-To-Repeat: >Fix: Patch attached with submission follows: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # /usr/ports/net-im/imspector # /usr/ports/net-im/imspector/Makefile # /usr/ports/net-im/imspector/pkg-descr # /usr/ports/net-im/imspector/pkg-plist # /usr/ports/net-im/imspector/distinfo # /usr/ports/net-im/imspector/files # /usr/ports/net-im/imspector/files/patch-Makefile # /usr/ports/net-im/imspector/files/patch-main.cpp # /usr/ports/net-im/imspector/files/patch-imspector.conf # echo c - /usr/ports/net-im/imspector mkdir -p /usr/ports/net-im/imspector > /dev/null 2>&1 echo x - /usr/ports/net-im/imspector/Makefile sed 's/^X//' >/usr/ports/net-im/imspector/Makefile << 'END-of-/usr/ports/net-im/imspector/Makefile' X# New ports collection makefile for: imspector X# Date created: 17 March 2008 X# Whom: Ilja Dejs X# X# $FreeBSD$ X# X XPORTNAME= imspector XPORTVERSION= 0.5 XCATEGORIES= net-im XMASTER_SITES= http://www.imspector.org/downloads/ X XMAINTAINER= lawrence@aslak.net X X.include END-of-/usr/ports/net-im/imspector/Makefile echo x - /usr/ports/net-im/imspector/pkg-descr sed 's/^X//' >/usr/ports/net-im/imspector/pkg-descr << 'END-of-/usr/ports/net-im/imspector/pkg-descr' XIMSpector is an Instant Messenger transparent proxy with monitoring Xand blocking, and content-filtering capabilities. X X WWW: http://www.imspector.org/ X X - Dejs Ilja X ilja.dejs@gmail.com END-of-/usr/ports/net-im/imspector/pkg-descr echo x - /usr/ports/net-im/imspector/pkg-plist sed 's/^X//' >/usr/ports/net-im/imspector/pkg-plist << 'END-of-/usr/ports/net-im/imspector/pkg-plist' Xetc/imspector/acl.txt Xetc/imspector/badwords.txt Xetc/imspector/imspector.conf Xsbin/imspector Xlib/imspector/aclfilterplugin.so Xlib/imspector/badwordsfilterplugin.so Xlib/imspector/debugloggingplugin.so Xlib/imspector/fileloggingplugin.so Xlib/imspector/ggprotocolplugin.so Xlib/imspector/icqprotocolplugin.so Xlib/imspector/ircprotocolplugin.so Xlib/imspector/miscfilterplugin.so Xlib/imspector/msnprotocolplugin.so Xlib/imspector/yahooprotocolplugin.so Xlib/libimspector.so X@dirrm etc/imspector END-of-/usr/ports/net-im/imspector/pkg-plist echo x - /usr/ports/net-im/imspector/distinfo sed 's/^X//' >/usr/ports/net-im/imspector/distinfo << 'END-of-/usr/ports/net-im/imspector/distinfo' XMD5 (imspector-0.5.tar.gz) = fce590f4cc9e420624fb417f27750dc9 XSHA256 (imspector-0.5.tar.gz) = e40c1e2dfda2602442d2d17306b2a6e39a526d5a17a9c1174858acb639ec1552 XSIZE (imspector-0.5.tar.gz) = 39865 END-of-/usr/ports/net-im/imspector/distinfo echo c - /usr/ports/net-im/imspector/files mkdir -p /usr/ports/net-im/imspector/files > /dev/null 2>&1 echo x - /usr/ports/net-im/imspector/files/patch-Makefile sed 's/^X//' >/usr/ports/net-im/imspector/files/patch-Makefile << 'END-of-/usr/ports/net-im/imspector/files/patch-Makefile' X--- Makefile Thu Mar 13 20:55:41 2008 X+++ Makefile Mon Mar 17 15:08:20 2008 X@@ -1,13 +1,4 @@ X-DESTDIR = / X-PREFIX = /usr X- X-########## X-# If using FreeBSD or OpenBSD COMMENT the below lines X-LIBS = -ldl X- X-# For any distro X-#ADD_PLUGINS = mysqlloggingplugin.so sqliteloggingplugin.so postgresqlloggingplugin.so dbfilterplugin.so X-########## X+PREFIX = /usr/local X X CXX = g++ X X@@ -115,21 +106,21 @@ X $(CXX) $(CXXFLAGS) dbfilterplugin.cpp -c -I$(PREFIX)/include X X install: imspector libimspector.so $(PLUGINS) X- -mkdir -p $(DESTDIR)/$(PREFIX)/sbin X- -mkdir -p $(DESTDIR)/$(PREFIX)/lib/imspector X- -install imspector $(DESTDIR)/$(PREFIX)/sbin/imspector X- -install libimspector.so $(DESTDIR)/$(PREFIX)/lib/libimspector.so X+ -mkdir -p $(PREFIX)/sbin X+ -mkdir -p $(PREFIX)/lib/imspector X+ -install imspector $(PREFIX)/sbin/imspector X+ -install libimspector.so $(PREFIX)/lib/libimspector.so X -(for PLUGIN in $(PLUGINS); do \ X- install $$PLUGIN $(DESTDIR)/$(PREFIX)/lib/imspector/$$PLUGIN; \ X+ install $$PLUGIN $(PREFIX)/lib/imspector/$$PLUGIN; \ X done); X- -mkdir -p $(DESTDIR)/$(PREFIX)/etc/imspector X- -install imspector.conf $(DESTDIR)/$(PREFIX)/etc/imspector/imspector.conf X- -install badwords.txt $(DESTDIR)/$(PREFIX)/etc/imspector/badwords.txt X- -install acl.txt $(DESTDIR)/$(PREFIX)/etc/imspector/acl.txt X+ -mkdir -p $(PREFIX)/etc/imspector X+ -install imspector.conf $(PREFIX)/etc/imspector/imspector.conf X+ -install badwords.txt $(PREFIX)/etc/imspector/badwords.txt X+ -install acl.txt $(PREFIX)/etc/imspector/acl.txt X -mkdir -p /var/log/imspector X X uninstall: X- -rm -f $(DESTDIR)/$(PREFIX)/sbin/imspector X- -rm -f $(DESTDIR)/$(PREFIX)/lib/libimspector.so X- -rm -rf $(DESTDIR)/$(PREFIX)/usr/lib/imspector X- -rm -rf $(DESTDIR)/$(PREFIX)/etc/imspector X+ -rm -f $(PREFIX)/sbin/imspector X+ -rm -f $(PREFIX)/lib/libimspector.so X+ -rm -rf $(PREFIX)/usr/lib/imspector X+ -rm -rf $(PREFIX)/etc/imspector END-of-/usr/ports/net-im/imspector/files/patch-Makefile echo x - /usr/ports/net-im/imspector/files/patch-main.cpp sed 's/^X//' >/usr/ports/net-im/imspector/files/patch-main.cpp << 'END-of-/usr/ports/net-im/imspector/files/patch-main.cpp' X--- main.cpp Thu Mar 13 20:55:41 2008 X+++ main.cpp Mon Mar 17 15:07:27 2008 X@@ -9,9 +9,9 @@ X X #include "imspector.h" X X-#define DEFAULT_CONFIG "/usr/etc/imspector/imspector.conf" X+#define DEFAULT_CONFIG "/usr/local/etc/imspector/imspector.conf" X #define LOGGING_SOCKET "/tmp/.imspectorlog" X-#define DEFAULT_PLUGIN_DIR "/usr/lib/imspector" X+#define DEFAULT_PLUGIN_DIR "/usr/local/lib/imspector" X X std::vector protocolplugins; X std::vector filterplugins; END-of-/usr/ports/net-im/imspector/files/patch-main.cpp echo x - /usr/ports/net-im/imspector/files/patch-imspector.conf sed 's/^X//' >/usr/ports/net-im/imspector/files/patch-imspector.conf << 'END-of-/usr/ports/net-im/imspector/files/patch-imspector.conf' X--- imspector.conf Thu Mar 13 20:55:41 2008 X+++ imspector.conf Mon Mar 17 15:07:27 2008 X@@ -2,7 +2,7 @@ X #port=16667 X X # This is the default location of protocol and logging plugins. X-#plugin_dir=/usr/lib/imspector X+#plugin_dir=/usr/local/lib/imspector X X # For dropping privs - you probably want to do this. X #user=imspector X@@ -19,7 +19,7 @@ X gg_protocol=on X X # Bad words filtering X-#badwords_filename=/etc/imspector/badwords.txt X+#badwords_filename=/usr/local/etc/imspector/badwords.txt X #badwords_replace_character=* X #badwords_block_count=1 X END-of-/usr/ports/net-im/imspector/files/patch-imspector.conf exit >Release-Note: >Audit-Trail: >Unformatted: