From owner-freebsd-ports-bugs@FreeBSD.ORG Sun May 22 01:10:02 2005 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 708F016A41C for ; Sun, 22 May 2005 01:10:02 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0061C43D4C for ; Sun, 22 May 2005 01:10:01 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j4M1A1K3051368 for ; Sun, 22 May 2005 01:10:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j4M1A1aE051367; Sun, 22 May 2005 01:10:01 GMT (envelope-from gnats) Resent-Date: Sun, 22 May 2005 01:10:01 GMT Resent-Message-Id: <200505220110.j4M1A1aE051367@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, NAKAJI Hiroyuki Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C130316A41C; Sun, 22 May 2005 01:08:02 +0000 (GMT) (envelope-from nakaji@ra333.heimat.gr.jp) Received: from www.heimat.gr.jp (www.heimat.gr.jp [221.186.186.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3EC0343D1D; Sun, 22 May 2005 01:08:02 +0000 (GMT) (envelope-from nakaji@ra333.heimat.gr.jp) Received: from ra333.heimat.gr.jp (xa12.heimat.gr.jp [221.186.186.11]) by www.heimat.gr.jp (8.13.3/8.13.1) with ESMTP id j4M17vgq026552; Sun, 22 May 2005 10:07:57 +0900 (JST) (envelope-from nakaji@ra333.heimat.gr.jp) Received: from ra333.heimat.gr.jp (localhost [127.0.0.1]) by ra333.heimat.gr.jp (8.13.3/8.13.3) with ESMTP id j4M0m772035806; Sun, 22 May 2005 09:48:07 +0900 (JST) (envelope-from nakaji@ra333.heimat.gr.jp) Received: (from nakaji@localhost) by ra333.heimat.gr.jp (8.13.3/8.13.3/Submit) id j4M0m7ET035805; Sun, 22 May 2005 09:48:07 +0900 (JST) (envelope-from nakaji) Message-Id: <200505220048.j4M0m7ET035805@ra333.heimat.gr.jp> Date: Sun, 22 May 2005 09:48:07 +0900 (JST) From: NAKAJI Hiroyuki To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 cc: security@FreeBSD.org Subject: ports/81350: japanese/samba update for seurity fix X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: NAKAJI Hiroyuki List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 May 2005 01:10:02 -0000 >Number: 81350 >Category: ports >Synopsis: japanese/samba update for seurity fix >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Sun May 22 01:10:01 GMT 2005 >Closed-Date: >Last-Modified: >Originator: NAKAJI Hiroyuki >Release: FreeBSD 5.4-STABLE i386 >Organization: >Environment: System: FreeBSD ra333.heimat.gr.jp 5.4-STABLE FreeBSD 5.4-STABLE #16: Wed May 18 14:45:15 JST 2005 root@ra333.heimat.gr.jp:/usr/obj/usr/src/sys/RA333 i386 >Description: As you know, ja-samba-2.2.11j1.0 has security problem described in http://www.FreeBSD.org/ports/portaudit/3b3676be-52e1-11d9-a9e7-0001020eed82.html It is still beta but the fixed version of samba-2.2.12-ja-1.0beta1 was released fro Samba Users Group Japan (http://www.samba.gr.jp/). This beta fixes the integer overflow vulnerability (CAN-2004-1154). Security Officer, this PR is related to vid 3b3676be-52e1-11d9-a9e7-0001020eed82. >How-To-Repeat: >Fix: Apply following patch and remove 'scripts' directory. diff -urN -x CVS /usr/ports/japanese/samba/Makefile ./Makefile --- /usr/ports/japanese/samba/Makefile Sun Feb 20 16:17:12 2005 +++ ./Makefile Sun May 22 09:35:10 2005 @@ -14,7 +14,7 @@ ftp://SunSITE.tus.ac.jp/pub/archives/packages/samba/samba-jp/%SUBDIR%/ \ ftp://ftp.plathome.co.jp/pub/samba/samba-jp/%SUBDIR%/ \ ftp://ftp2.samba.gr.jp/pub/samba-jp/%SUBDIR%/ -MASTER_SITE_SUBDIR= ${PORTNAME}-${SAMBA_VERSION}-ja +MASTER_SITE_SUBDIR= ${PORTNAME}-${SAMBA_VERSION}-ja/beta DISTNAME= ${PORTNAME}-${SAMBA_VERSION}-ja-${SAMBA_JA_VERSION} MAINTAINER= nakaji@jp.FreeBSD.org @@ -22,8 +22,8 @@ CONFLICTS= samba-2.2.* samba-3.0.* sharity-light-1.* -SAMBA_VERSION= 2.2.11 -SAMBA_JA_VERSION= 1.0 +SAMBA_VERSION= 2.2.12 +SAMBA_JA_VERSION= 1.0beta1 USE_BZIP2= yes GNU_CONFIGURE= yes diff -urN -x CVS /usr/ports/japanese/samba/distinfo ./distinfo --- /usr/ports/japanese/samba/distinfo Sun Feb 20 16:17:12 2005 +++ ./distinfo Sun May 22 09:35:10 2005 @@ -1,2 +1,2 @@ -MD5 (samba-2.2.11-ja-1.0.tar.bz2) = f418c850a54572f7d4cd77fa4ef876c6 -SIZE (samba-2.2.11-ja-1.0.tar.bz2) = 7473344 +MD5 (samba-2.2.12-ja-1.0beta1.tar.bz2) = 9a7343c7f828b60f3a8f381019d19af1 +SIZE (samba-2.2.12-ja-1.0beta1.tar.bz2) = 7466052 diff -urN -x CVS /usr/ports/japanese/samba/scripts/configure.samba ./scripts/configure.samba --- /usr/ports/japanese/samba/scripts/configure.samba Wed Sep 24 23:56:46 2003 +++ ./scripts/configure.samba Thu Jan 1 09:00:00 1970 @@ -1,101 +0,0 @@ -#!/bin/sh - -if [ -f ${WRKDIRPREFIX}${REALCURDIR}/Makefile.inc ]; then - exit -fi - -tempfile=`/usr/bin/mktemp -t checklist` - -if [ "${BATCH}" ]; then - if [ "${SAMBA_OPTIONS}" ]; then - set ${SAMBA_OPTIONS} - fi -else - /usr/bin/dialog --title "configuration options" --clear \ - --checklist "\n\ -Please select desired options:" -1 -1 12 \ -syslog "With syslog support" OFF \ -ssl "With ssl support" OFF \ -ldap "With LDAP2 support" OFF \ -cups "With CUPS" OFF \ -acl "With ACL support" OFF \ -utmp "With UTMP support" OFF \ -msdfs "With MSDFS support" OFF \ -quota "With Quota support" OFF \ -recycle "With Recycle Bin" OFF \ -audit "With Audit" OFF \ -winbind "With Winbind" OFF \ -wbauth "With Winbind Auth Challenge" OFF \ -smbsh "With Smbsh and smbwrapper" OFF \ -2> $tempfile - - retval=$? - - if [ -s $tempfile ]; then - set `cat $tempfile` - fi - rm -f $tempfile - - case $retval in - 0) if [ -z "$*" ]; then - echo "Nothing selected" - fi - ;; - 1) echo "Cancel pressed." - exit 1 - ;; - esac -fi - -${MKDIR} ${WRKDIRPREFIX}${REALCURDIR} -echo "SCRIPT_RUN=yes" >${WRKDIRPREFIX}${REALCURDIR}/Makefile.inc - -while [ "$1" ]; do - case $1 in - \"syslog\") - echo "WITH_SYSLOG=YES" >>${WRKDIRPREFIX}${REALCURDIR}/Makefile.inc - ;; - \"ssl\") - echo "WITH_SSL=YES" >>${WRKDIRPREFIX}${REALCURDIR}/Makefile.inc - ;; - \"ldap\") - echo "WITH_LDAP=YES" >>${WRKDIRPREFIX}${REALCURDIR}/Makefile.inc - ;; - \"cups\") - echo "WITH_CUPS=YES" >>${WRKDIRPREFIX}${REALCURDIR}/Makefile.inc - ;; - \"acl\") - echo "WITH_ACL_SUPPORT=YES" >>${WRKDIRPREFIX}${REALCURDIR}/Makefile.inc - ;; - \"utmp\") - echo "WITH_UTMP=YES" >>${WRKDIRPREFIX}${REALCURDIR}/Makefile.inc - ;; - \"msdfs\") - echo "WITH_MSDFS=YES" >>${WRKDIRPREFIX}${REALCURDIR}/Makefile.inc - ;; - \"quota\") - echo "WITH_QUOTAS=YES" >>${WRKDIRPREFIX}${REALCURDIR}/Makefile.inc - ;; - \"recycle\") - echo "WITH_RECYCLE=YES" >>${WRKDIRPREFIX}${REALCURDIR}/Makefile.inc - ;; - \"audit\") - echo "WITH_AUDIT=YES" >>${WRKDIRPREFIX}${REALCURDIR}/Makefile.inc - ;; - \"winbind\") - echo "WITH_WINBIND=YES" >>${WRKDIRPREFIX}${REALCURDIR}/Makefile.inc - ;; - \"wbauth\") - echo "WITH_WINBIND_AUTH_CHALLENGE=YES" >>${WRKDIRPREFIX}${REALCURDIR}/Makefile.inc - ;; - \"smbsh\") - echo "WITH_SMBSH=YES" >>${WRKDIRPREFIX}${REALCURDIR}/Makefile.inc - ;; - *) - echo "Invalid option: $1" - rm -f ${WRKDIRPREFIX}${REALCURDIR}/Makefile.inc - exit 1 - ;; - esac - shift -done >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-ports-bugs@FreeBSD.ORG Sun May 22 03:41:13 2005 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F022916A41C; Sun, 22 May 2005 03:41:13 +0000 (GMT) (envelope-from edwin@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id B199A43D48; Sun, 22 May 2005 03:41:13 +0000 (GMT) (envelope-from edwin@FreeBSD.org) Received: from freefall.freebsd.org (edwin@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j4M3fD9b065742; Sun, 22 May 2005 03:41:13 GMT (envelope-from edwin@freefall.freebsd.org) Received: (from edwin@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j4M3fDA9065738; Sun, 22 May 2005 03:41:13 GMT (envelope-from edwin) Date: Sun, 22 May 2005 03:41:13 GMT From: Edwin Groothuis Message-Id: <200505220341.j4M3fDA9065738@freefall.freebsd.org> To: ler@lerctr.org, ler@lerctr.org, edwin@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org Subject: Re: ports/54041: libtool13 (as installed) doesn't recognize USE_GCC=2.95 as a compiler X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 May 2005 03:41:14 -0000 Synopsis: libtool13 (as installed) doesn't recognize USE_GCC=2.95 as a compiler State-Changed-From-To: open->closed State-Changed-By: edwin State-Changed-When: Sun May 22 03:39:54 GMT 2005 State-Changed-Why: Is currently not marked as broken. http://www.freebsd.org/cgi/query-pr.cgi?pr=54041 From owner-freebsd-ports-bugs@FreeBSD.ORG Sun May 22 05:10:03 2005 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0103116A41C for ; Sun, 22 May 2005 05:10:03 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8497A43D48 for ; Sun, 22 May 2005 05:10:02 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j4M5A2CJ080942 for ; Sun, 22 May 2005 05:10:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j4M5A2HN080941; Sun, 22 May 2005 05:10:02 GMT (envelope-from gnats) Resent-Date: Sun, 22 May 2005 05:10:02 GMT Resent-Message-Id: <200505220510.j4M5A2HN080941@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, Marcus Grando Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5CC4316A41C for ; Sun, 22 May 2005 05:01:43 +0000 (GMT) (envelope-from root@corp.grupos.com.br) Received: from gwmail1.grupos.com.br (gwmail1.grupos.com.br [66.90.64.125]) by mx1.FreeBSD.org (Postfix) with ESMTP id 21F5643D4C for ; Sun, 22 May 2005 05:01:42 +0000 (GMT) (envelope-from root@corp.grupos.com.br) Received: from corp.grupos.com.br (unknown [150.162.166.55]) by gwmail1.grupos.com.br (Postfix) with ESMTP id 2E83F3BD45 for ; Sun, 22 May 2005 02:01:42 -0300 (BRT) Received: by corp.grupos.com.br (Postfix, from userid 0) id 49D99556F; Sun, 22 May 2005 02:01:38 -0300 (BRT) Message-Id: <20050522050138.49D99556F@corp.grupos.com.br> Date: Sun, 22 May 2005 02:01:38 -0300 (BRT) From: Marcus Grando To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/81352: Update port: databases/py-PySQLite2 to 2.0.2 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Marcus Grando List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 May 2005 05:10:03 -0000 >Number: 81352 >Category: ports >Synopsis: Update port: databases/py-PySQLite2 to 2.0.2 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Sun May 22 05:10:02 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Marcus Grando >Release: FreeBSD 4.11-STABLE i386 >Organization: Grupos Internet S/A >Environment: System: FreeBSD corp.grupos.com.br 4.11-STABLE FreeBSD 4.11-STABLE #49: Mon May 9 12:28:47 BRT 2005 root@corp.grupos.com.br:/usr/obj/usr/src/sys/CORP i386 >Description: Update port: databases/py-PySQLite2 to 2.0.2 - Update to 2.0.2 >How-To-Repeat: >Fix: --- py-PySQLite2.patch begins here --- diff -ruN py-PySQLite2.orig/Makefile py-PySQLite2/Makefile --- py-PySQLite2.orig/Makefile Sun May 22 01:54:11 2005 +++ py-PySQLite2/Makefile Sun May 22 01:55:34 2005 @@ -6,9 +6,9 @@ # PORTNAME= pysqlite -PORTVERSION= 2.0.0 +PORTVERSION= 2.0.2 CATEGORIES= databases python -MASTER_SITES= http://initd.org/pub/software/pysqlite/releases/2.0/2.0.0/ +MASTER_SITES= http://initd.org/pub/software/pysqlite/releases/2.0/${PORTVERSION}/ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= marcus@corp.grupos.com.br diff -ruN py-PySQLite2.orig/distinfo py-PySQLite2/distinfo --- py-PySQLite2.orig/distinfo Sat May 21 21:27:18 2005 +++ py-PySQLite2/distinfo Sun May 22 01:55:38 2005 @@ -1,2 +1,2 @@ -MD5 (pysqlite-2.0.0.tar.gz) = 8cf906cd82ef2e383a804a318c49bb21 -SIZE (pysqlite-2.0.0.tar.gz) = 56874 +MD5 (pysqlite-2.0.2.tar.gz) = e530a5377f2e219e03fd4b9d12abbc3d +SIZE (pysqlite-2.0.2.tar.gz) = 57324 --- py-PySQLite2.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-ports-bugs@FreeBSD.ORG Sun May 22 07:16:21 2005 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 57CD916A41C; Sun, 22 May 2005 07:16:21 +0000 (GMT) (envelope-from flz@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 07A0C43D49; Sun, 22 May 2005 07:16:21 +0000 (GMT) (envelope-from flz@FreeBSD.org) Received: from freefall.freebsd.org (flz@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j4M7GK2V015558; Sun, 22 May 2005 07:16:20 GMT (envelope-from flz@freefall.freebsd.org) Received: (from flz@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j4M7GKCQ015554; Sun, 22 May 2005 07:16:20 GMT (envelope-from flz) Date: Sun, 22 May 2005 07:16:20 GMT From: Florent Thoumie Message-Id: <200505220716.j4M7GKCQ015554@freefall.freebsd.org> To: flz@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org, flz@FreeBSD.org Cc: Subject: Re: ports/81345: [maintainer] x11-wm/pekwm: update to 20050515 snapshot (0.1.4pre2) 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: Sun, 22 May 2005 07:16:21 -0000 Synopsis: [maintainer] x11-wm/pekwm: update to 20050515 snapshot (0.1.4pre2) Responsible-Changed-From-To: freebsd-ports-bugs->flz Responsible-Changed-By: flz Responsible-Changed-When: Sun May 22 07:16:10 GMT 2005 Responsible-Changed-Why: Grab. http://www.freebsd.org/cgi/query-pr.cgi?pr=81345 From owner-freebsd-ports-bugs@FreeBSD.ORG Sun May 22 07:22:42 2005 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2700716A41C; Sun, 22 May 2005 07:22:42 +0000 (GMT) (envelope-from flz@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id DA69843D48; Sun, 22 May 2005 07:22:41 +0000 (GMT) (envelope-from flz@FreeBSD.org) Received: from freefall.freebsd.org (flz@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j4M7Mfb5018997; Sun, 22 May 2005 07:22:41 GMT (envelope-from flz@freefall.freebsd.org) Received: (from flz@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j4M7MfKT018993; Sun, 22 May 2005 07:22:41 GMT (envelope-from flz) Date: Sun, 22 May 2005 07:22:41 GMT From: Florent Thoumie Message-Id: <200505220722.j4M7MfKT018993@freefall.freebsd.org> To: wiwi@progon.net, flz@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org, flz@FreeBSD.org Cc: Subject: Re: ports/81304: port/net/freevrrpd: tarball untraceable 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: Sun, 22 May 2005 07:22:42 -0000 Synopsis: port/net/freevrrpd: tarball untraceable State-Changed-From-To: open->feedback State-Changed-By: flz State-Changed-When: Sun May 22 07:17:42 GMT 2005 State-Changed-Why: I've been unable to find a tarball of this version, could you provide a link to it ? Class-Changed-From-To: sw-bug->update Class-Changed-By: flz Class-Changed-When: Sun May 22 07:17:42 GMT 2005 Class-Changed-Why: Re-classify as update. Responsible-Changed-From-To: freebsd-ports-bugs->flz Responsible-Changed-By: flz Responsible-Changed-When: Sun May 22 07:17:42 GMT 2005 Responsible-Changed-Why: Grab. http://www.freebsd.org/cgi/query-pr.cgi?pr=81304 From owner-freebsd-ports-bugs@FreeBSD.ORG Sun May 22 07:33:26 2005 Return-Path: X-Original-To: freebsd-ports-bugs@freebsd.org Delivered-To: freebsd-ports-bugs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E0FC716A41C; Sun, 22 May 2005 07:33:26 +0000 (GMT) (envelope-from kay_lehmann@web.de) Received: from smtp07.web.de (smtp07.web.de [217.72.192.225]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5F32C43D49; Sun, 22 May 2005 07:33:26 +0000 (GMT) (envelope-from kay_lehmann@web.de) Received: from [217.197.85.240] (helo=[192.168.1.3]) by smtp07.web.de with asmtp (TLSv1:RC4-MD5:128) (WEB.DE 4.105 #291) id 1DZkxg-00071A-00; Sun, 22 May 2005 09:33:25 +0200 Message-ID: <429035FF.10107@web.de> Date: Sun, 22 May 2005 09:34:23 +0200 From: Kay Lehmann User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050330) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Pav Lucistnik References: <200505212352.j4LNqU7m039923@freefall.freebsd.org> In-Reply-To: <200505212352.j4LNqU7m039923@freefall.freebsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: kay_lehmann@web.de X-Sender: kay_lehmann@web.de Cc: freebsd-ports-bugs@FreeBSD.org Subject: Re: ports/81136: [New Port] science/mbdyn: Add new port mbdyn (MultiBody DYNamics Software) 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: Sun, 22 May 2005 07:33:27 -0000 Hmm, it seems like atlas isn't detected correctly and so there are some libraries missing when linking (for me it includes -lcblas -lf77blas -latlas). May you send me the config.log? Thanks and greets, Kay Pav Lucistnik wrote: > Synopsis: [New Port] science/mbdyn: Add new port mbdyn (MultiBody DYNamics Software) > > State-Changed-From-To: open->feedback > State-Changed-By: pav > State-Changed-When: Sat May 21 23:52:08 GMT 2005 > State-Changed-Why: > Does not build on FreeBSD 5/amd64: > > /bin/sh ../../libtool --mode=link c++ -O -pipe -lm -L/usr/local/lib -pthread -o wraptest wraptest.o ./libmbwrap.la ../libmbmath/libmbmath.la ../libmbutil/libmbutil.la ../libobjs/libobjs.la ../libcolamd/libcolamd.la ../libnaive/libnaive.la -lumfpack -lamd /work/a/ports/science/mbdyn/work/mbdyn-1.2.4/libraries/liby12/liby12.la -lm -lg2c > c++ -O -pipe -pthread -o wraptest wraptest.o -L/usr/local/lib ./.libs/libmbwrap.a /work/a/ports/science/mbdyn/work/mbdyn-1.2.4/libraries/libmbmath/.libs/libmbmath.a /work/a/ports/science/mbdyn/work/mbdyn-1.2.4/libraries/libmbutil/.libs/libmbutil.a /work/a/ports/science/mbdyn/work/mbdyn-1.2.4/libraries/libcolamd/.libs/libcolamd.a /work/a/ports/science/mbdyn/work/mbdyn-1.2.4/libraries/libnaive/.libs/libnaive.a ../libmbmath/.libs/libmbmath.a ../libmbutil/.libs/libmbutil.a ../libobjs/.libs/libobjs.a ../libcolamd/.libs/libcolamd.a ../libnaive/.libs/libnaive.a -lumfpack -lamd /work/a/ports/science/mbdyn/work/mbdyn-1.2.4/libraries/liby12/.libs/liby12.a -lm -lg2c > /usr/local/lib/libumfpack.a(umf_di_local_search.o)(.text+0x572): In function `umfdi_local_search': > : undefined reference to `cblas_dtrsv' > /usr/local/lib/libumfpack.a(umf_di_local_search.o)(.text+0x5ec): In function `umfdi_local_search': > : undefined reference to `cblas_dgemv' > /usr/local/lib/libumfpack.a(umf_di_scale.o)(.text+0x94): In function `umfdi_scale': > : undefined reference to `cblas_dscal' > /usr/local/lib/libumfpack.a(umf_di_blas3_update.o)(.text+0xaf): In function `umfdi_blas3_update': > : undefined reference to `cblas_dger' > /usr/local/lib/libumfpack.a(umf_di_blas3_update.o)(.text+0xf8): In function `umfdi_blas3_update': > : undefined reference to `cblas_dtrsm' > /usr/local/lib/libumfpack.a(umf_di_blas3_update.o)(.text+0x14c): In function `umfdi_blas3_update': > : undefined reference to `cblas_dgemm' > > > > http://www.freebsd.org/cgi/query-pr.cgi?pr=81136 From owner-freebsd-ports-bugs@FreeBSD.ORG Sun May 22 10:10:03 2005 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5107316A41C for ; Sun, 22 May 2005 10:10:03 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id E72C443D4C for ; Sun, 22 May 2005 10:10:02 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j4MAA2SN071808 for ; Sun, 22 May 2005 10:10:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j4MAA2wT071807; Sun, 22 May 2005 10:10:02 GMT (envelope-from gnats) Resent-Date: Sun, 22 May 2005 10:10:02 GMT Resent-Message-Id: <200505221010.j4MAA2wT071807@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, Yonatan Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3674916A41C for ; Sun, 22 May 2005 10:06:54 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1457843D58 for ; Sun, 22 May 2005 10:06:54 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id j4MA6rda031124 for ; Sun, 22 May 2005 10:06:53 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id j4MA6rnn031123; Sun, 22 May 2005 10:06:53 GMT (envelope-from nobody) Message-Id: <200505221006.j4MA6rnn031123@www.freebsd.org> Date: Sun, 22 May 2005 10:06:53 GMT From: Yonatan To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Cc: Subject: ports/81354: Update security/amap 4.8 -> 5.0 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: Sun, 22 May 2005 10:10:03 -0000 >Number: 81354 >Category: ports >Synopsis: Update security/amap 4.8 -> 5.0 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Sun May 22 10:10:02 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Yonatan >Release: 5.0 >Organization: Soon to be announced >Environment: FreeBSD there.is.a.light.that.flashes 5.0-RELEASE FreeBSD 5.0-RELEASE #0: Thu Aug 28 21:09:30 IDT 2003 root@:/usr/obj/usr/src/sys/SERVER i386 >Description: Update to 5.0. amap6 is a link to amap, since IPv6 support is now provided. There is a new amap-library. It doesn't have installation facilities in amap's Makefile, so I provided my own. That's the addition of 3 include files, one library, and an extra text file. PLIST_SUB is used to help pkg-plist changes. The installation of man pages is now dependant on NO_INSTALL_MANPAGES being void. If I'm not that clever and INSTALL_MAN is void if NO_INSTALL_MANPAGES is non-void, then you can remove the .if. :) The mini-webpage is now the home in pkg-descr. The patches are lighter. 'uname -o' was changed to 'uname', so that's unneeded. The declaration of pcre_default_tables, in pcre-3.9/chartables.c is changed to reduce a warning. >How-To-Repeat: N/A >Fix: http://www.sl0th.org/FreeBSD/amap-4.8-5.0.diff >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-ports-bugs@FreeBSD.ORG Sun May 22 10:50:02 2005 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D6A5316A41C for ; Sun, 22 May 2005 10:50:02 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8312543D53 for ; Sun, 22 May 2005 10:50:02 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j4MAo2WA077611 for ; Sun, 22 May 2005 10:50:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j4MAo2eK077610; Sun, 22 May 2005 10:50:02 GMT (envelope-from gnats) Resent-Date: Sun, 22 May 2005 10:50:02 GMT Resent-Message-Id: <200505221050.j4MAo2eK077610@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, Yonatan Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 755EC16A41C for ; Sun, 22 May 2005 10:49:19 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1760143D4C for ; Sun, 22 May 2005 10:49:19 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id j4MAnI2A046585 for ; Sun, 22 May 2005 10:49:18 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id j4MAnITP046584; Sun, 22 May 2005 10:49:18 GMT (envelope-from nobody) Message-Id: <200505221049.j4MAnITP046584@www.freebsd.org> Date: Sun, 22 May 2005 10:49:18 GMT From: Yonatan To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Cc: Subject: ports/81356: Update security/libtomcrypt 1.00+patch -> 1.02 (no patch) 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: Sun, 22 May 2005 10:50:03 -0000 >Number: 81356 >Category: ports >Synopsis: Update security/libtomcrypt 1.00+patch -> 1.02 (no patch) >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Sun May 22 10:50:02 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Yonatan >Release: 5.0 >Organization: Yea, I'm on it >Environment: FreeBSD we're.backdrifting 5.0-RELEASE FreeBSD 5.0-RELEASE #0: Thu Aug 28 21:09:30 IDT 2003 root@:/usr/obj/usr/src/sys/SERVER i386 >Description: A new version of libtomcrypt. Too many warnings for me to clean. New include file, less patches. >How-To-Repeat: N/A >Fix: http://www.sl0th.org/FreeBSD/libtomcrypt-1.00-1.02.diff >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-ports-bugs@FreeBSD.ORG Sun May 22 11:20:25 2005 Return-Path: X-Original-To: freebsd-ports-bugs@FreeBSD.org Delivered-To: freebsd-ports-bugs@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 57ECD16A41C for ; Sun, 22 May 2005 11:20:25 +0000 (GMT) (envelope-from pav@FreeBSD.org) Received: from hood.oook.cz (hood.oook.cz [212.27.205.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9DDB243D49 for ; Sun, 22 May 2005 11:20:24 +0000 (GMT) (envelope-from pav@FreeBSD.org) Received: from hood.oook.cz (localhost.oook.cz [127.0.0.1]) by hood.oook.cz (8.13.3/8.13.3) with ESMTP id j4MBKNrU078380 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 22 May 2005 13:20:23 +0200 (CEST) (envelope-from pav@FreeBSD.org) Received: (from pav@localhost) by hood.oook.cz (8.13.3/8.13.3/Submit) id j4MBKNnG078379; Sun, 22 May 2005 13:20:23 +0200 (CEST) (envelope-from pav@FreeBSD.org) X-Authentication-Warning: hood.oook.cz: pav set sender to pav@FreeBSD.org using -f From: Pav Lucistnik To: Kay Lehmann In-Reply-To: <429035FF.10107@web.de> References: <200505212352.j4LNqU7m039923@freefall.freebsd.org> <429035FF.10107@web.de> Content-Type: text/plain; charset=ISO-8859-2 Content-Transfer-Encoding: quoted-printable Date: Sun, 22 May 2005 13:20:22 +0200 Message-Id: <1116760822.23538.2.camel@hood.oook.cz> Mime-Version: 1.0 X-Mailer: Evolution 2.2.2 FreeBSD GNOME Team Port Cc: freebsd-ports-bugs@FreeBSD.org Subject: Re: ports/81136: [New Port] science/mbdyn: Add new port mbdyn (MultiBody DYNamics Software) X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: pav@FreeBSD.org List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 May 2005 11:20:25 -0000 Kay Lehmann p=ED=B9e v ne 22. 05. 2005 v 09:34 +0200: > Hmm, it seems like atlas isn't detected correctly and so there are some=20 > libraries missing when linking (for me it includes -lcblas -lf77blas=20 > -latlas). May you send me the config.log? Note there is no atlas package involved. Your port specify build depends on umfpack, which specifies build depends on atlas --> mbdyn don't see atlas package at all! --=20 Pav Lucistnik I am a shrubber. My name is Roger the Shrubber. I arrange, design and sell shrubberies. From owner-freebsd-ports-bugs@FreeBSD.ORG Sun May 22 11:40:06 2005 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A3A8016A41C for ; Sun, 22 May 2005 11:40:06 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id E9F1F43D53 for ; Sun, 22 May 2005 11:40:05 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j4MBe5LH084229 for ; Sun, 22 May 2005 11:40:05 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j4MBe5Ff084228; Sun, 22 May 2005 11:40:05 GMT (envelope-from gnats) Resent-Date: Sun, 22 May 2005 11:40:05 GMT Resent-Message-Id: <200505221140.j4MBe5Ff084228@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, Yonatan Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 352BC16A41C for ; Sun, 22 May 2005 11:30:55 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id EF4D043D48 for ; Sun, 22 May 2005 11:30:54 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id j4MBUswe058638 for ; Sun, 22 May 2005 11:30:54 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id j4MBUska058637; Sun, 22 May 2005 11:30:54 GMT (envelope-from nobody) Message-Id: <200505221130.j4MBUska058637@www.freebsd.org> Date: Sun, 22 May 2005 11:30:54 GMT From: Yonatan To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Cc: Subject: ports/81357: Update security/pft 1.2 -> 1.3 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: Sun, 22 May 2005 11:40:06 -0000 >Number: 81357 >Category: ports >Synopsis: Update security/pft 1.2 -> 1.3 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Sun May 22 11:40:05 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Yonatan >Release: 5.0 >Organization: Yea, I'm on it as we speak >Environment: FreeBSD Se.me.clava.en.los.ojos.como.una.espa 5.0-RELEASE FreeBSD 5.0-RELEASE #0: Thu Aug 28 21:09:30 IDT 2003 root@:/usr/obj/usr/src/sys/SERVER i386 >Description: Update to version 1.3. No functional change. Our local patches were accepted, almost intact, to vendor line. Yay! Changed a patch to fix minor warning. This tool makes me happy. >How-To-Repeat: N/A >Fix: http://www.sl0th.org/FreeBSD/pft-1.2-1.3.diff >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-ports-bugs@FreeBSD.ORG Sun May 22 12:34:33 2005 Return-Path: X-Original-To: freebsd-ports-bugs@freebsd.org Delivered-To: freebsd-ports-bugs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B077616A41C; Sun, 22 May 2005 12:34:33 +0000 (GMT) (envelope-from kay_lehmann@web.de) Received: from smtp06.web.de (smtp06.web.de [217.72.192.224]) by mx1.FreeBSD.org (Postfix) with ESMTP id EB43443D48; Sun, 22 May 2005 12:34:32 +0000 (GMT) (envelope-from kay_lehmann@web.de) Received: from [217.197.85.240] (helo=[192.168.1.3]) by smtp06.web.de with asmtp (TLSv1:RC4-MD5:128) (WEB.DE 4.105 #291) id 1DZpf5-0004AH-00; Sun, 22 May 2005 14:34:31 +0200 Message-ID: <42907C91.8090806@web.de> Date: Sun, 22 May 2005 14:35:29 +0200 From: Kay Lehmann User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050330) X-Accept-Language: en-us, en MIME-Version: 1.0 To: pav@FreeBSD.org References: <200505212352.j4LNqU7m039923@freefall.freebsd.org> <429035FF.10107@web.de> <1116760822.23538.2.camel@hood.oook.cz> In-Reply-To: <1116760822.23538.2.camel@hood.oook.cz> Content-Type: multipart/mixed; boundary="------------070506010401070800030304" Sender: kay_lehmann@web.de X-Sender: kay_lehmann@web.de Cc: freebsd-ports-bugs@FreeBSD.org Subject: Re: ports/81136: [New Port] science/mbdyn: Add new port mbdyn (MultiBody DYNamics Software) 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: Sun, 22 May 2005 12:34:33 -0000 This is a multi-part message in MIME format. --------------070506010401070800030304 Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 8bit Pav Lucistnik wrote: > Kay Lehmann pí¹e v ne 22. 05. 2005 v 09:34 +0200: > > >>Hmm, it seems like atlas isn't detected correctly and so there are some >>libraries missing when linking (for me it includes -lcblas -lf77blas >>-latlas). May you send me the config.log? > > > Note there is no atlas package involved. Your port specify build depends > on umfpack, which specifies build depends on atlas --> mbdyn don't see > atlas package at all! > Ooops, I thought that depending on umfpack would include the dependency on atlas. I did not recognize it's just a build depends from umfpack not a lib_depends. After checking this I saw another dependency (lapack) I missed in the port. I hope the attached diff fixes the build. Sorry about that. --------------070506010401070800030304 Content-Type: text/x-patch; name="Makefile.diff" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="Makefile.diff" --- Makefile.orig Sun May 22 14:31:35 2005 +++ Makefile Sun May 22 14:30:33 2005 @@ -13,6 +13,8 @@ MAINTAINER= kay_lehmann@web.de COMMENT= A MultiBody Dynamics analysis system +LIB_DEPENDS= lapack.3:${PORTSDIR}/math/lapack \ + atlas.1:${PORTSDIR}/math/atlas BUILD_DEPENDS= ${LOCALBASE}/lib/libumfpack.a:${PORTSDIR}/math/umfpack GNU_CONFIGURE= yes @@ -46,7 +48,7 @@ .if defined(WITH_GINAC) IGNORE= "You enabled GiNaC-support, which isn't implemented yet" -BUILD_DEPENDS+= ${LOCALBASE}/lib/libmetis.a:${PORTSDIR}/math/metis +#BUILD_DEPENDS+= ${LOCALBASE}/lib/libmetis.a:${PORTSDIR}/math/metis CONFIGURE_ARGS+= --with-ginac=yes CPPFLAGS+= -I${LOCALBASE}/include/metis .else --------------070506010401070800030304-- From owner-freebsd-ports-bugs@FreeBSD.ORG Sun May 22 13:09:12 2005 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EAB7916A41C; Sun, 22 May 2005 13:09:12 +0000 (GMT) (envelope-from jylefort@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id B5E0B43D54; Sun, 22 May 2005 13:09:12 +0000 (GMT) (envelope-from jylefort@FreeBSD.org) Received: from freefall.freebsd.org (jylefort@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j4MD9CrP000499; Sun, 22 May 2005 13:09:12 GMT (envelope-from jylefort@freefall.freebsd.org) Received: (from jylefort@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j4MD9CMb000495; Sun, 22 May 2005 13:09:12 GMT (envelope-from jylefort) Date: Sun, 22 May 2005 13:09:12 GMT From: Jean-Yves Lefort Message-Id: <200505221309.j4MD9CMb000495@freefall.freebsd.org> To: jylefort@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org, jylefort@FreeBSD.org Cc: Subject: Re: ports/81357: Update security/pft 1.2 -> 1.3 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: Sun, 22 May 2005 13:09:13 -0000 Synopsis: Update security/pft 1.2 -> 1.3 Responsible-Changed-From-To: freebsd-ports-bugs->jylefort Responsible-Changed-By: jylefort Responsible-Changed-When: Sun May 22 13:09:08 GMT 2005 Responsible-Changed-Why: Take. http://www.freebsd.org/cgi/query-pr.cgi?pr=81357 From owner-freebsd-ports-bugs@FreeBSD.ORG Sun May 22 13:09:50 2005 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8DB9616A41C; Sun, 22 May 2005 13:09:50 +0000 (GMT) (envelope-from jylefort@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 55F9C43D53; Sun, 22 May 2005 13:09:50 +0000 (GMT) (envelope-from jylefort@FreeBSD.org) Received: from freefall.freebsd.org (jylefort@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j4MD9oct000569; Sun, 22 May 2005 13:09:50 GMT (envelope-from jylefort@freefall.freebsd.org) Received: (from jylefort@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j4MD9oR8000565; Sun, 22 May 2005 13:09:50 GMT (envelope-from jylefort) Date: Sun, 22 May 2005 13:09:50 GMT From: Jean-Yves Lefort Message-Id: <200505221309.j4MD9oR8000565@freefall.freebsd.org> To: jylefort@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org, jylefort@FreeBSD.org Cc: Subject: Re: ports/81356: Update security/libtomcrypt 1.00+patch -> 1.02 (no patch) 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: Sun, 22 May 2005 13:09:50 -0000 Synopsis: Update security/libtomcrypt 1.00+patch -> 1.02 (no patch) Responsible-Changed-From-To: freebsd-ports-bugs->jylefort Responsible-Changed-By: jylefort Responsible-Changed-When: Sun May 22 13:09:47 GMT 2005 Responsible-Changed-Why: Take. http://www.freebsd.org/cgi/query-pr.cgi?pr=81356 From owner-freebsd-ports-bugs@FreeBSD.ORG Sun May 22 13:10:01 2005 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C141D16A41C for ; Sun, 22 May 2005 13:10:01 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1FD1243D5C for ; Sun, 22 May 2005 13:10:01 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j4MDA0d6000607 for ; Sun, 22 May 2005 13:10:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j4MDA0Qv000606; Sun, 22 May 2005 13:10:00 GMT (envelope-from gnats) Resent-Date: Sun, 22 May 2005 13:10:00 GMT Resent-Message-Id: <200505221310.j4MDA0Qv000606@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, Xavier Beaudouin Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5195B16A41C for ; Sun, 22 May 2005 13:06:22 +0000 (GMT) (envelope-from kiwi@domu.oav.net) Received: from domu.oav.net (domu.oav.net [195.154.253.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id B9B9F43D49 for ; Sun, 22 May 2005 13:06:21 +0000 (GMT) (envelope-from kiwi@domu.oav.net) Received: from domu.oav.net (localhost.oav.net [127.0.0.1]) by domu.oav.net (8.12.10/8.12.10) with ESMTP id j4MD6KsH002300 for ; Sun, 22 May 2005 15:06:20 +0200 (CEST) (envelope-from kiwi@domu.oav.net) Received: (from kiwi@localhost) by domu.oav.net (8.12.10/8.12.10/Submit) id j4MD6EQM002299; Sun, 22 May 2005 15:06:14 +0200 (CEST) (envelope-from kiwi) Message-Id: <200505221306.j4MD6EQM002299@domu.oav.net> Date: Sun, 22 May 2005 15:06:14 +0200 (CEST) From: Xavier Beaudouin To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/81359: [MAINTAINER] mail/lmtpd: Fix pkg-plist 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: Sun, 22 May 2005 13:10:02 -0000 >Number: 81359 >Category: ports >Synopsis: [MAINTAINER] mail/lmtpd: Fix pkg-plist >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Sun May 22 13:10:00 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Xavier Beaudouin >Release: FreeBSD 5.2.1-RELEASE-p3 i386 >Organization: The Caudium Group / Association Kazar >Environment: System: FreeBSD domu.oav.net 5.2.1-RELEASE-p3 FreeBSD 5.2.1-RELEASE-p3 #0: Thu Mar 18 12:25:33 CET 2004 >Description: Pointyhat show that I missed some files in pkg-plist. This pr should fix that. Generated with FreeBSD Port Tools 0.63 >How-To-Repeat: >Fix: --- lmtpd-0.9.24.patch begins here --- diff -ruN --exclude=CVS /usr/ports/mail/lmtpd.old/pkg-plist /usr/ports/mail/lmtpd/pkg-plist --- /usr/ports/mail/lmtpd.old/pkg-plist Sun May 22 14:53:54 2005 +++ /usr/ports/mail/lmtpd/pkg-plist Sun May 22 15:04:54 2005 @@ -3,6 +3,31 @@ bin/lmtpdlogsum etc/lmtpd.conf.dist libexec/lmtpd +share/nls/C/filtercheck.cat +share/nls/en_AU.ISO8859-1/filtercheck.cat +share/nls/en_AU.ISO8859-15/filtercheck.cat +share/nls/en_AU.US-ASCII/filtercheck.cat +share/nls/en_CA.ISO8859-1/filtercheck.cat +share/nls/en_CA.US-ASCII/filtercheck.cat +share/nls/en_CA.ISO8859-15/filtercheck.cat +share/nls/en_GB.ISO8859-1/filtercheck.cat +share/nls/en_GB.ISO8859-15/filtercheck.cat +share/nls/en_GB.US-ASCII/filtercheck.cat +share/nls/en_NZ.ISO8859-1/filtercheck.cat +share/nls/en_NZ.ISO8859-15/filtercheck.cat +share/nls/en_NZ.US-ASCII/filtercheck.cat +share/nls/en_US.ISO8859-1/filtercheck.cat +share/nls/en_US.ISO8859-15/filtercheck.cat +share/nls/fr_BE.ISO8859-1/filtercheck.cat +share/nls/fr_BE.ISO8859-15/filtercheck.cat +share/nls/fr_CA.ISO8859-1/filtercheck.cat +share/nls/fr_CA.ISO8859-15/filtercheck.cat +share/nls/fr_CH.ISO8859-1/filtercheck.cat +share/nls/fr_CH.ISO8859-15/filtercheck.cat +share/nls/fr_FR.ISO8859-1/filtercheck.cat +share/nls/fr_FR.ISO8859-15/filtercheck.cat +share/nls/fr_FR.ISO_8859-1/filtercheck.cat +share/nls/fr_FR.UTF-8/filtercheck.cat %%PORTDOCS%%%%DOCSDIR%%/NEWS %%PORTDOCS%%%%DOCSDIR%%/README %%PORTDOCS%%%%DOCSDIR%%/TODO @@ -22,5 +47,7 @@ %%EXAMPLESDIR%%/msg/quotamsg.it.txt %%EXAMPLESDIR%%/msg/virus.en.txt %%EXAMPLESDIR%%/msg/virus.fr.txt +@dirrm share/nls/fr_FR.ISO_8859-1 +@dirrm share/nls/fr_FR.UTF-8 @dirrm %%EXAMPLESDIR%%/msg @dirrm %%EXAMPLESDIR%% --- lmtpd-0.9.24.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-ports-bugs@FreeBSD.ORG Sun May 22 13:10:17 2005 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1022316A41C; Sun, 22 May 2005 13:10:17 +0000 (GMT) (envelope-from jylefort@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id D006343D54; Sun, 22 May 2005 13:10:16 +0000 (GMT) (envelope-from jylefort@FreeBSD.org) Received: from freefall.freebsd.org (jylefort@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j4MDAGCs000727; Sun, 22 May 2005 13:10:16 GMT (envelope-from jylefort@freefall.freebsd.org) Received: (from jylefort@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j4MDAGl5000715; Sun, 22 May 2005 13:10:16 GMT (envelope-from jylefort) Date: Sun, 22 May 2005 13:10:16 GMT From: Jean-Yves Lefort Message-Id: <200505221310.j4MDAGl5000715@freefall.freebsd.org> To: jylefort@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org, jylefort@FreeBSD.org Cc: Subject: Re: ports/81354: Update security/amap 4.8 -> 5.0 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: Sun, 22 May 2005 13:10:17 -0000 Synopsis: Update security/amap 4.8 -> 5.0 Responsible-Changed-From-To: freebsd-ports-bugs->jylefort Responsible-Changed-By: jylefort Responsible-Changed-When: Sun May 22 13:10:13 GMT 2005 Responsible-Changed-Why: Take. http://www.freebsd.org/cgi/query-pr.cgi?pr=81354 From owner-freebsd-ports-bugs@FreeBSD.ORG Sun May 22 13:10:48 2005 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B10CF16A41C; Sun, 22 May 2005 13:10:48 +0000 (GMT) (envelope-from jylefort@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 796DA43D53; Sun, 22 May 2005 13:10:48 +0000 (GMT) (envelope-from jylefort@FreeBSD.org) Received: from freefall.freebsd.org (jylefort@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j4MDAmtn000817; Sun, 22 May 2005 13:10:48 GMT (envelope-from jylefort@freefall.freebsd.org) Received: (from jylefort@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j4MDAmtl000813; Sun, 22 May 2005 13:10:48 GMT (envelope-from jylefort) Date: Sun, 22 May 2005 13:10:48 GMT From: Jean-Yves Lefort Message-Id: <200505221310.j4MDAmtl000813@freefall.freebsd.org> To: jylefort@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org, jylefort@FreeBSD.org Cc: Subject: Re: ports/81352: Update port: databases/py-PySQLite2 to 2.0.2 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: Sun, 22 May 2005 13:10:48 -0000 Synopsis: Update port: databases/py-PySQLite2 to 2.0.2 Responsible-Changed-From-To: freebsd-ports-bugs->jylefort Responsible-Changed-By: jylefort Responsible-Changed-When: Sun May 22 13:10:45 GMT 2005 Responsible-Changed-Why: Take. http://www.freebsd.org/cgi/query-pr.cgi?pr=81352 From owner-freebsd-ports-bugs@FreeBSD.ORG Sun May 22 13:13:50 2005 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8A42B16A41C; Sun, 22 May 2005 13:13:50 +0000 (GMT) (envelope-from jylefort@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5398743D55; Sun, 22 May 2005 13:13:50 +0000 (GMT) (envelope-from jylefort@FreeBSD.org) Received: from freefall.freebsd.org (jylefort@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j4MDDouU001028; Sun, 22 May 2005 13:13:50 GMT (envelope-from jylefort@freefall.freebsd.org) Received: (from jylefort@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j4MDDoFV001024; Sun, 22 May 2005 13:13:50 GMT (envelope-from jylefort) Date: Sun, 22 May 2005 13:13:50 GMT From: Jean-Yves Lefort Message-Id: <200505221313.j4MDDoFV001024@freefall.freebsd.org> To: jylefort@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org, lioux@FreeBSD.org Cc: Subject: Re: ports/81343: azureus crashes on startup 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: Sun, 22 May 2005 13:13:50 -0000 Synopsis: azureus crashes on startup Responsible-Changed-From-To: freebsd-ports-bugs->lioux Responsible-Changed-By: jylefort Responsible-Changed-When: Sun May 22 13:13:35 GMT 2005 Responsible-Changed-Why: Over to maintainer. http://www.freebsd.org/cgi/query-pr.cgi?pr=81343 From owner-freebsd-ports-bugs@FreeBSD.ORG Sun May 22 13:12:57 2005 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8B7F316A41C; Sun, 22 May 2005 13:12:57 +0000 (GMT) (envelope-from jylefort@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 542DF43D55; Sun, 22 May 2005 13:12:57 +0000 (GMT) (envelope-from jylefort@FreeBSD.org) Received: from freefall.freebsd.org (jylefort@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j4MDCvQV000977; Sun, 22 May 2005 13:12:57 GMT (envelope-from jylefort@freefall.freebsd.org) Received: (from jylefort@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j4MDCvpv000973; Sun, 22 May 2005 13:12:57 GMT (envelope-from jylefort) Date: Sun, 22 May 2005 13:12:57 GMT From: Jean-Yves Lefort Message-Id: <200505221312.j4MDCvpv000973@freefall.freebsd.org> To: jylefort@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org, knu@FreeBSD.org Cc: Subject: Re: ports/81346: [PATCH] update ruby-fgci 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: Sun, 22 May 2005 13:12:57 -0000 Synopsis: [PATCH] update ruby-fgci Responsible-Changed-From-To: freebsd-ports-bugs->knu Responsible-Changed-By: jylefort Responsible-Changed-When: Sun May 22 13:12:36 GMT 2005 Responsible-Changed-Why: Over to maintainer. http://www.freebsd.org/cgi/query-pr.cgi?pr=81346 From owner-freebsd-ports-bugs@FreeBSD.ORG Sun May 22 13:14:40 2005 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0976216A41C; Sun, 22 May 2005 13:14:40 +0000 (GMT) (envelope-from jylefort@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id C769343D49; Sun, 22 May 2005 13:14:39 +0000 (GMT) (envelope-from jylefort@FreeBSD.org) Received: from freefall.freebsd.org (jylefort@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j4MDEddj001104; Sun, 22 May 2005 13:14:39 GMT (envelope-from jylefort@freefall.freebsd.org) Received: (from jylefort@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j4MDEds7001100; Sun, 22 May 2005 13:14:39 GMT (envelope-from jylefort) Date: Sun, 22 May 2005 13:14:39 GMT From: Jean-Yves Lefort Message-Id: <200505221314.j4MDEds7001100@freefall.freebsd.org> To: jylefort@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org, jylefort@FreeBSD.org Cc: Subject: Re: ports/81338: New port: net/libopennet 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: Sun, 22 May 2005 13:14:40 -0000 Synopsis: New port: net/libopennet Responsible-Changed-From-To: freebsd-ports-bugs->jylefort Responsible-Changed-By: jylefort Responsible-Changed-When: Sun May 22 13:14:35 GMT 2005 Responsible-Changed-Why: Take. http://www.freebsd.org/cgi/query-pr.cgi?pr=81338 From owner-freebsd-ports-bugs@FreeBSD.ORG Sun May 22 13:15:35 2005 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 75E7416A41C; Sun, 22 May 2005 13:15:35 +0000 (GMT) (envelope-from jylefort@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 33C1E43D5D; Sun, 22 May 2005 13:15:35 +0000 (GMT) (envelope-from jylefort@FreeBSD.org) Received: from freefall.freebsd.org (jylefort@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j4MDFZuG001188; Sun, 22 May 2005 13:15:35 GMT (envelope-from jylefort@freefall.freebsd.org) Received: (from jylefort@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j4MDFZNr001184; Sun, 22 May 2005 13:15:35 GMT (envelope-from jylefort) Date: Sun, 22 May 2005 13:15:35 GMT From: Jean-Yves Lefort Message-Id: <200505221315.j4MDFZNr001184@freefall.freebsd.org> To: jylefort@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org, jylefort@FreeBSD.org Cc: Subject: Re: ports/81326: New Port: audio/voipong 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: Sun, 22 May 2005 13:15:35 -0000 Synopsis: New Port: audio/voipong Responsible-Changed-From-To: freebsd-ports-bugs->jylefort Responsible-Changed-By: jylefort Responsible-Changed-When: Sun May 22 13:15:31 GMT 2005 Responsible-Changed-Why: Take. http://www.freebsd.org/cgi/query-pr.cgi?pr=81326 From owner-freebsd-ports-bugs@FreeBSD.ORG Sun May 22 13:17:11 2005 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B26AE16A41C; Sun, 22 May 2005 13:17:11 +0000 (GMT) (envelope-from jylefort@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7A9CF43D49; Sun, 22 May 2005 13:17:11 +0000 (GMT) (envelope-from jylefort@FreeBSD.org) Received: from freefall.freebsd.org (jylefort@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j4MDHB5O001273; Sun, 22 May 2005 13:17:11 GMT (envelope-from jylefort@freefall.freebsd.org) Received: (from jylefort@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j4MDHB20001269; Sun, 22 May 2005 13:17:11 GMT (envelope-from jylefort) Date: Sun, 22 May 2005 13:17:11 GMT From: Jean-Yves Lefort Message-Id: <200505221317.j4MDHB20001269@freefall.freebsd.org> To: jylefort@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org, jylefort@FreeBSD.org Cc: Subject: Re: ports/81319: [Maintainer] www/squid: correct cachemgr.cgi configuration 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: Sun, 22 May 2005 13:17:11 -0000 Synopsis: [Maintainer] www/squid: correct cachemgr.cgi configuration Responsible-Changed-From-To: freebsd-ports-bugs->jylefort Responsible-Changed-By: jylefort Responsible-Changed-When: Sun May 22 13:17:07 GMT 2005 Responsible-Changed-Why: Take. http://www.freebsd.org/cgi/query-pr.cgi?pr=81319 From owner-freebsd-ports-bugs@FreeBSD.ORG Sun May 22 13:20:15 2005 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 516DA16A41C; Sun, 22 May 2005 13:20:15 +0000 (GMT) (envelope-from jylefort@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 19A8443D49; Sun, 22 May 2005 13:20:14 +0000 (GMT) (envelope-from jylefort@FreeBSD.org) Received: from freefall.freebsd.org (jylefort@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j4MDKEpI001419; Sun, 22 May 2005 13:20:14 GMT (envelope-from jylefort@freefall.freebsd.org) Received: (from jylefort@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j4MDKED2001415; Sun, 22 May 2005 13:20:14 GMT (envelope-from jylefort) Date: Sun, 22 May 2005 13:20:14 GMT From: Jean-Yves Lefort Message-Id: <200505221320.j4MDKED2001415@freefall.freebsd.org> To: jylefort@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org, matusita@FreeBSD.org Cc: Subject: Re: ports/81312: [PATCH] emulators/{linux-vmware-toolbox5, vmware-guestd5, vmware-tools5}: Not "connected" to the port tree 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: Sun, 22 May 2005 13:20:15 -0000 Synopsis: [PATCH] emulators/{linux-vmware-toolbox5,vmware-guestd5,vmware-tools5}: Not "connected" to the port tree Responsible-Changed-From-To: freebsd-ports-bugs->matusita Responsible-Changed-By: jylefort Responsible-Changed-When: Sun May 22 13:19:56 GMT 2005 Responsible-Changed-Why: Over to maintainer. http://www.freebsd.org/cgi/query-pr.cgi?pr=81312 From owner-freebsd-ports-bugs@FreeBSD.ORG Sun May 22 13:21:34 2005 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2BF4816A41C; Sun, 22 May 2005 13:21:34 +0000 (GMT) (envelope-from jylefort@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id E4D0F43D4C; Sun, 22 May 2005 13:21:33 +0000 (GMT) (envelope-from jylefort@FreeBSD.org) Received: from freefall.freebsd.org (jylefort@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j4MDLXEI001557; Sun, 22 May 2005 13:21:33 GMT (envelope-from jylefort@freefall.freebsd.org) Received: (from jylefort@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j4MDLXnc001553; Sun, 22 May 2005 13:21:33 GMT (envelope-from jylefort) Date: Sun, 22 May 2005 13:21:33 GMT From: Jean-Yves Lefort Message-Id: <200505221321.j4MDLXnc001553@freefall.freebsd.org> To: jylefort@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org, jylefort@FreeBSD.org Cc: Subject: Re: ports/81293: [NEW PORT] benchmarks/pathchirp 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: Sun, 22 May 2005 13:21:34 -0000 Synopsis: [NEW PORT] benchmarks/pathchirp Responsible-Changed-From-To: freebsd-ports-bugs->jylefort Responsible-Changed-By: jylefort Responsible-Changed-When: Sun May 22 13:21:30 GMT 2005 Responsible-Changed-Why: Take. http://www.freebsd.org/cgi/query-pr.cgi?pr=81293 From owner-freebsd-ports-bugs@FreeBSD.ORG Sun May 22 13:21:43 2005 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4EDAB16A41C; Sun, 22 May 2005 13:21:43 +0000 (GMT) (envelope-from jylefort@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1787D43D4C; Sun, 22 May 2005 13:21:43 +0000 (GMT) (envelope-from jylefort@FreeBSD.org) Received: from freefall.freebsd.org (jylefort@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j4MDLglx001618; Sun, 22 May 2005 13:21:42 GMT (envelope-from jylefort@freefall.freebsd.org) Received: (from jylefort@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j4MDLgXL001614; Sun, 22 May 2005 13:21:42 GMT (envelope-from jylefort) Date: Sun, 22 May 2005 13:21:42 GMT From: Jean-Yves Lefort Message-Id: <200505221321.j4MDLgXL001614@freefall.freebsd.org> To: jylefort@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org, jylefort@FreeBSD.org Cc: Subject: Re: ports/81294: [NEW PORT] benchmarks/pathload 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: Sun, 22 May 2005 13:21:43 -0000 Synopsis: [NEW PORT] benchmarks/pathload Responsible-Changed-From-To: freebsd-ports-bugs->jylefort Responsible-Changed-By: jylefort Responsible-Changed-When: Sun May 22 13:21:39 GMT 2005 Responsible-Changed-Why: Take. http://www.freebsd.org/cgi/query-pr.cgi?pr=81294 From owner-freebsd-ports-bugs@FreeBSD.ORG Sun May 22 13:21:51 2005 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8BCB516A41C; Sun, 22 May 2005 13:21:51 +0000 (GMT) (envelope-from jylefort@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5778443D53; Sun, 22 May 2005 13:21:51 +0000 (GMT) (envelope-from jylefort@FreeBSD.org) Received: from freefall.freebsd.org (jylefort@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j4MDLpFr001678; Sun, 22 May 2005 13:21:51 GMT (envelope-from jylefort@freefall.freebsd.org) Received: (from jylefort@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j4MDLpVO001674; Sun, 22 May 2005 13:21:51 GMT (envelope-from jylefort) Date: Sun, 22 May 2005 13:21:51 GMT From: Jean-Yves Lefort Message-Id: <200505221321.j4MDLpVO001674@freefall.freebsd.org> To: jylefort@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org, jylefort@FreeBSD.org Cc: Subject: Re: ports/81295: [NEW PORT] benchmarks/pathrate 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: Sun, 22 May 2005 13:21:51 -0000 Synopsis: [NEW PORT] benchmarks/pathrate Responsible-Changed-From-To: freebsd-ports-bugs->jylefort Responsible-Changed-By: jylefort Responsible-Changed-When: Sun May 22 13:21:48 GMT 2005 Responsible-Changed-Why: Take. http://www.freebsd.org/cgi/query-pr.cgi?pr=81295 From owner-freebsd-ports-bugs@FreeBSD.ORG Sun May 22 13:27:49 2005 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CD2B716A44C; Sun, 22 May 2005 13:27:49 +0000 (GMT) (envelope-from jylefort@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8ED9F43D4C; Sun, 22 May 2005 13:27:49 +0000 (GMT) (envelope-from jylefort@FreeBSD.org) Received: from freefall.freebsd.org (jylefort@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j4MDRnoO001818; Sun, 22 May 2005 13:27:49 GMT (envelope-from jylefort@freefall.freebsd.org) Received: (from jylefort@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j4MDRn5l001814; Sun, 22 May 2005 13:27:49 GMT (envelope-from jylefort) Date: Sun, 22 May 2005 13:27:49 GMT From: Jean-Yves Lefort Message-Id: <200505221327.j4MDRn5l001814@freefall.freebsd.org> To: jylefort@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org, jylefort@FreeBSD.org Cc: Subject: Re: ports/81264: New port: security/openscep 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: Sun, 22 May 2005 13:27:51 -0000 Synopsis: New port: security/openscep Responsible-Changed-From-To: freebsd-ports-bugs->jylefort Responsible-Changed-By: jylefort Responsible-Changed-When: Sun May 22 13:27:46 GMT 2005 Responsible-Changed-Why: Take. http://www.freebsd.org/cgi/query-pr.cgi?pr=81264 From owner-freebsd-ports-bugs@FreeBSD.ORG Sun May 22 15:26:46 2005 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4170C16A41F; Sun, 22 May 2005 15:26:46 +0000 (GMT) (envelope-from pav@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id ECFE043D48; Sun, 22 May 2005 15:26:45 +0000 (GMT) (envelope-from pav@FreeBSD.org) Received: from freefall.freebsd.org (pav@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j4MFQjZc015387; Sun, 22 May 2005 15:26:45 GMT (envelope-from pav@freefall.freebsd.org) Received: (from pav@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j4MFQjdZ015383; Sun, 22 May 2005 15:26:45 GMT (envelope-from pav) Date: Sun, 22 May 2005 15:26:45 GMT From: Pav Lucistnik Message-Id: <200505221526.j4MFQjdZ015383@freefall.freebsd.org> To: flynn@energyhq.es.eu.org, pav@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org Cc: Subject: Re: ports/81172: [Maintainer Update] emulators/xmess to 0.96 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: Sun, 22 May 2005 15:26:46 -0000 Synopsis: [Maintainer Update] emulators/xmess to 0.96 State-Changed-From-To: open->closed State-Changed-By: pav State-Changed-When: Sun May 22 15:26:37 GMT 2005 State-Changed-Why: Committed, thanks! http://www.freebsd.org/cgi/query-pr.cgi?pr=81172 From owner-freebsd-ports-bugs@FreeBSD.ORG Sun May 22 15:26:59 2005 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4A17516A41F; Sun, 22 May 2005 15:26:59 +0000 (GMT) (envelope-from pav@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1322C43D4C; Sun, 22 May 2005 15:26:59 +0000 (GMT) (envelope-from pav@FreeBSD.org) Received: from freefall.freebsd.org (pav@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j4MFQwfM015443; Sun, 22 May 2005 15:26:58 GMT (envelope-from pav@freefall.freebsd.org) Received: (from pav@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j4MFQw5U015439; Sun, 22 May 2005 15:26:58 GMT (envelope-from pav) Date: Sun, 22 May 2005 15:26:58 GMT From: Pav Lucistnik Message-Id: <200505221526.j4MFQw5U015439@freefall.freebsd.org> To: flynn@energyhq.es.eu.org, pav@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org Cc: Subject: Re: ports/81171: [Maintainer Update] emulators/xmame to 0.96 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: Sun, 22 May 2005 15:26:59 -0000 Synopsis: [Maintainer Update] emulators/xmame to 0.96 State-Changed-From-To: feedback->closed State-Changed-By: pav State-Changed-When: Sun May 22 15:26:50 GMT 2005 State-Changed-Why: Committed, thanks! (Builds fine) http://www.freebsd.org/cgi/query-pr.cgi?pr=81171 From owner-freebsd-ports-bugs@FreeBSD.ORG Sun May 22 15:50:49 2005 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0292216A420; Sun, 22 May 2005 15:50:49 +0000 (GMT) (envelope-from pav@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id BE52543D1F; Sun, 22 May 2005 15:50:48 +0000 (GMT) (envelope-from pav@FreeBSD.org) Received: from freefall.freebsd.org (pav@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j4MFomrk016877; Sun, 22 May 2005 15:50:48 GMT (envelope-from pav@freefall.freebsd.org) Received: (from pav@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j4MFomJS016873; Sun, 22 May 2005 15:50:48 GMT (envelope-from pav) Date: Sun, 22 May 2005 15:50:48 GMT From: Pav Lucistnik Message-Id: <200505221550.j4MFomJS016873@freefall.freebsd.org> To: kay_lehmann@web.de, pav@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org Cc: Subject: Re: ports/81136: [New Port] science/mbdyn: Add new port mbdyn (MultiBody DYNamics Software) 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: Sun, 22 May 2005 15:50:49 -0000 Synopsis: [New Port] science/mbdyn: Add new port mbdyn (MultiBody DYNamics Software) State-Changed-From-To: feedback->closed State-Changed-By: pav State-Changed-When: Sun May 22 15:50:39 GMT 2005 State-Changed-Why: New port added, thank you! http://www.freebsd.org/cgi/query-pr.cgi?pr=81136 From owner-freebsd-ports-bugs@FreeBSD.ORG Sun May 22 16:00:23 2005 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E0FAE16A41F for ; Sun, 22 May 2005 16:00:23 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5B6A943D54 for ; Sun, 22 May 2005 16:00:23 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j4MG0Mrj017344 for ; Sun, 22 May 2005 16:00:22 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j4MG0Mim017342; Sun, 22 May 2005 16:00:22 GMT (envelope-from gnats) Resent-Date: Sun, 22 May 2005 16:00:22 GMT Resent-Message-Id: <200505221600.j4MG0Mim017342@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, Yonas Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1FFDB16A41C for ; Sun, 22 May 2005 15:52:57 +0000 (GMT) (envelope-from yonas@south2.mine.nu) Received: from south2.mine.nu (CPE00c049aa818a-CM00111ade9e1c.cpe.net.cable.rogers.com [24.42.85.18]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8F90E43D1D for ; Sun, 22 May 2005 15:52:56 +0000 (GMT) (envelope-from yonas@south2.mine.nu) Received: (qmail 37156 invoked by uid 1001); 22 May 2005 15:52:45 -0000 Message-Id: <20050522155245.37155.qmail@south2.mine.nu> Date: 22 May 2005 15:52:45 -0000 From: Yonas To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/81362: math/R outdated X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Yonas List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 May 2005 16:00:24 -0000 >Number: 81362 >Category: ports >Synopsis: math/R outdated >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Sun May 22 16:00:22 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Yonas >Release: FreeBSD 5.4-PRERELEASE i386 >Organization: >Environment: System: FreeBSD fbsd 5.4-PRERELEASE FreeBSD 5.4-PRERELEASE #0: Tue Mar 29 23:10:15 EST 2005 root@fbsd:/usr/obj/usr/src/sys/LAPTOP i386 >Description: The R language is currently at version 2.1.0, but the port (math/R) is at 2.0.1. Simply updated the distfile to download 2.1.0 leads to compiler errors, even on FreeBSD6-CURRENT (https://stat.ethz.ch/pipermail/r-devel/2005-April/032990.html). >How-To-Repeat: Compile with v2.1.0 and witness compile errors. >Fix: >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-ports-bugs@FreeBSD.ORG Sun May 22 16:40:03 2005 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 92D1516A41C for ; Sun, 22 May 2005 16:40:03 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id BCADD43D1D for ; Sun, 22 May 2005 16:40:02 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j4MGe2mN023709 for ; Sun, 22 May 2005 16:40:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j4MGe2Hj023708; Sun, 22 May 2005 16:40:02 GMT (envelope-from gnats) Resent-Date: Sun, 22 May 2005 16:40:02 GMT Resent-Message-Id: <200505221640.j4MGe2Hj023708@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, skv@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5511716A41C for ; Sun, 22 May 2005 16:30:37 +0000 (GMT) (envelope-from skv@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 20D4843D48 for ; Sun, 22 May 2005 16:30:37 +0000 (GMT) (envelope-from skv@FreeBSD.org) Received: from freefall.freebsd.org (skv@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j4MGUbo2023397 for ; Sun, 22 May 2005 16:30:37 GMT (envelope-from skv@freefall.freebsd.org) Received: (from skv@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j4MGUabu023396; Sun, 22 May 2005 16:30:36 GMT (envelope-from skv) Message-Id: <200505221630.j4MGUabu023396@freefall.freebsd.org> Date: Sun, 22 May 2005 16:30:36 GMT From: skv@FreeBSD.org To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.2 Cc: Subject: ports/81363: Update port: databases/firebird-server X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: skv@FreeBSD.org List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 May 2005 16:40:03 -0000 >Number: 81363 >Category: ports >Synopsis: Update port: databases/firebird-server >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun May 22 16:40:02 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Sergey Skvortsov >Release: FreeBSD 4.11-STABLE i386 >Organization: >Environment: >Description: Update port: databases/firebird-server * fix patch-src::jrd::gds.cpp * use "libdata/firebird" for *.msg * install all *.msg files (not only firebird.msg) * fix pkg-plist * use more strict permissions * use INSTALL_DATA instead of INSTALL_PROGRAM to install shared libs and similar files * clean Makefile * update RELNOTES Note that this PR mainly fixes firebird-client. firebird-server still broken after split. Related BROKEN variable must be set. How-To-Repeat: >How-To-Repeat: >Fix: Index: Makefile =================================================================== RCS file: /home/ncvs/ports/databases/firebird-server/Makefile,v retrieving revision 1.40 diff -u -r1.40 Makefile --- Makefile 21 May 2005 08:01:23 -0000 1.40 +++ Makefile 22 May 2005 16:27:26 -0000 @@ -7,7 +7,7 @@ PORTNAME?= firebird PORTVERSION= 1.5.2 -PORTREVISION= 1 +PORTREVISION?= 2 CATEGORIES?= databases MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR=firebird @@ -49,10 +49,8 @@ inet_server extlib # Use own user and group when install server part -BINOWN= firebird BINGRP= firebird BINMODE= 550 -SHAREOWN= firebird SHAREGRP= firebird SUB_FILES= pkg-install pkg-message aliases.conf @@ -60,6 +58,10 @@ PKGMESSAGE= ${WRKDIR}/pkg-message PKGINSTALL= ${WRKDIR}/pkg-install +SERVER_BIN= fb_inet_server fb_lock_mgr +UDF_SO= ib_udf.so fbudf.so +UDF_SQL= src/extlib/ib_udf.sql src/extlib/fbudf/fbudf.sql + CONFLICTS= firebird-devel-[0-9]* .else # Client part stuff @@ -70,6 +72,9 @@ embed_util embed_gdef embed_qli libfbclient extlib INSTALLS_SHLIB= yes +LIBDATADIR= ${PREFIX}/libdata/firebird +PLIST_SUB+= LIBDATADIR="libdata/firebird" +CLIENT_BIN= fb_lock_print gbak gdef gds_drop gfix gpre gsec gstat isql qli .if !defined(NOPORTDOCS) PORTDOCS= * @@ -99,7 +104,7 @@ @${REINPLACE_CMD} -e 's|^\(LINK_OPTS +=.*\)$$|\1 -L${LOCALBASE}/lib|' \ ${WRKSRC}/builds/posix/Makefile.in.inet_server .endif - @${REINPLACE_CMD} -e 's|%%DATADIR%%|${DATADIR}|g' \ + @${REINPLACE_CMD} -e 's|%%LIBDATADIR%%|${LIBDATADIR}|g' \ ${WRKSRC}/src/jrd/gds.cpp .if !defined(CLIENT_ONLY) @@ -129,41 +134,35 @@ .if !defined(CLIENT_ONLY) ${MKDIR} ${PREFIX}/firebird - ${CHOWN} ${BINOWN}:${BINGRP} ${PREFIX}/firebird - .for f in UDF bin help intl ${MKDIR} ${PREFIX}/firebird/${f} ${CHOWN} ${BINOWN}:${BINGRP} ${PREFIX}/firebird/${f} .endfor ${INSTALL_DATA} ${WRKDIR}/aliases.conf ${PREFIX}/firebird/aliases.conf.sample - ${INSTALL_DATA} ${WRKSRC}/gen/firebird/security.fdb ${PREFIX}/firebird/security.fdb.sample - ${CHMOD} 660 ${PREFIX}/firebird/security.fdb.sample - - ${INSTALL_DATA} ${WRKSRC}/gen/firebird/help/help.fdb ${PREFIX}/firebird/help - -.for f in ib_udf.so fbudf.so - ${INSTALL_PROGRAM} ${WRKSRC}/gen/firebird/UDF/${f} ${PREFIX}/firebird/UDF -.endfor - -.for f in src/extlib/ib_udf.sql src/extlib/fbudf/fbudf.sql - ${INSTALL_SCRIPT} ${WRKSRC}/${f} ${PREFIX}/firebird/UDF -.endfor + ${INSTALL_DATA} -m 660 -o firebird ${WRKSRC}/gen/firebird/security.fdb \ + ${PREFIX}/firebird/security.fdb.sample + ${INSTALL_DATA} -m 0440 ${WRKSRC}/gen/firebird/help/help.fdb ${PREFIX}/firebird/help + + ${INSTALL_DATA} ${UDF_SO:S!^!${WRKSRC}/gen/firebird/UDF/!} \ + ${UDF_SQL:S!^!${WRKSRC}/!} ${PREFIX}/firebird/UDF + + ${INSTALL_PROGRAM} -o firebird \ + ${SERVER_BIN:S!^!${WRKSRC}/gen/firebird/bin/!} ${PREFIX}/firebird/bin + ${CHMOD} u+s ${SERVER_BIN:S!^!${PREFIX}/firebird/bin/!} -.for f in fb_inet_server fb_lock_mgr - ${INSTALL_PROGRAM} ${WRKSRC}/gen/firebird/bin/${f} ${PREFIX}/firebird/bin - ${CHMOD} u+s ${PREFIX}/firebird/bin/${f} -.endfor - - ${INSTALL_PROGRAM} ${WRKSRC}/gen/firebird/intl/libfbintl.so ${PREFIX}/firebird/intl/fbintl + ${INSTALL_DATA} ${WRKSRC}/gen/firebird/intl/libfbintl.so ${PREFIX}/firebird/intl/fbintl ${INSTALL_DATA} ${FILESDIR}/RELNOTES ${PREFIX}/firebird -.else + # runtime files (.lock, .log) still placed to ${PREFIX}/firebird + ${CHOWN} firebird:firebird ${PREFIX}/firebird + ${CHOWN} -R firebird:firebird ${PREFIX}/firebird/help -.for f in fb_lock_print gbak gdef gds_drop gfix gpre gsec gstat isql qli - ${INSTALL_PROGRAM} ${WRKSRC}/gen/firebird/bin/${f} ${PREFIX}/bin -.endfor +.else +# defined CLIENT_ONLY + ${INSTALL_PROGRAM} ${CLIENT_BIN:S!^!${WRKSRC}/gen/firebird/bin/!} \ + ${PREFIX}/bin @${MKDIR} ${PREFIX}/etc .if !exists(${PREFIX}/etc/firebird.conf) @@ -171,34 +170,33 @@ .endif ${INSTALL_DATA} ${WRKSRC}/gen/firebird/misc/firebird.conf ${PREFIX}/etc/firebird.conf.sample - ${INSTALL_PROGRAM} ${WRKSRC}/gen/firebird/lib/libfbclient.so.${PORTVERSION} ${PREFIX}/lib + ${INSTALL_DATA} ${WRKSRC}/gen/firebird/lib/libib_util.so \ + ${WRKSRC}/gen/firebird/lib/libfbclient.so.${PORTVERSION} \ + ${WRKSRC}/gen/firebird/lib/libfbembed.so.${PORTVERSION} \ + ${PREFIX}/lib + ${LN} -fs libfbclient.so.${PORTVERSION} ${PREFIX}/lib/libfbclient.so.1 ${LN} -fs libfbclient.so.1 ${PREFIX}/lib/libfbclient.so - ${INSTALL_PROGRAM} ${WRKSRC}/gen/firebird/lib/libfbembed.so.${PORTVERSION} ${PREFIX}/lib ${LN} -fs libfbembed.so.${PORTVERSION} ${PREFIX}/lib/libfbembed.so.1 ${LN} -fs libfbembed.so.1 ${PREFIX}/lib/libfbembed.so - ${LN} -fs libfbembed.so.1 ${PREFIX}/lib/libgds.so.1 ${LN} -fs libfbembed.so.1 ${PREFIX}/lib/libgds.so - ${INSTALL_PROGRAM} ${WRKSRC}/gen/firebird/lib/libib_util.so ${PREFIX}/lib - @${MKDIR} ${PREFIX}/include ${INSTALL_DATA} ${WRKSRC}/gen/firebird/include/*.h ${PREFIX}/include - @${MKDIR} ${DATADIR} - ${INSTALL_DATA} ${WRKSRC}/gen/firebird/firebird.msg ${DATADIR} + @${MKDIR} ${LIBDATADIR} + ${INSTALL_DATA} ${WRKSRC}/gen/firebird/*.msg ${LIBDATADIR} .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR}/sql.extensions - ${INSTALL_DATA} ${WRKSRC}/doc/WhatsNew ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/doc/README.* ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/doc/WhatsNew ${WRKSRC}/doc/README.* ${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/doc/README.user ${DOCSDIR}/README ${INSTALL_DATA} ${WRKSRC}/doc/sql.extensions/README.* ${DOCSDIR}/sql.extensions .endif - # Install examples + @${ECHO_MSG} "===> Installing examples for ${PKGNAME}" @${MKDIR} ${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/gen/firebird/examples/v5/* ${EXAMPLESDIR} .endif Index: pkg-plist =================================================================== RCS file: /home/ncvs/ports/databases/firebird-server/pkg-plist,v retrieving revision 1.10 diff -u -r1.10 pkg-plist --- pkg-plist 21 May 2005 08:01:23 -0000 1.10 +++ pkg-plist 22 May 2005 16:13:57 -0000 @@ -22,4 +22,4 @@ @dirrm firebird/bin @dirrm firebird/help @dirrm firebird/intl -@dirrm firebird +@unexec rmdir %D/firebird 2>/dev/null || true Index: pkg-plist.client =================================================================== RCS file: /home/ncvs/ports/databases/firebird-server/pkg-plist.client,v retrieving revision 1.2 diff -u -r1.2 pkg-plist.client --- pkg-plist.client 21 May 2005 08:01:23 -0000 1.2 +++ pkg-plist.client 22 May 2005 16:13:57 -0000 @@ -27,8 +27,11 @@ @unexec if cmp -s %D/etc/firebird.conf %D/etc/firebird.conf.sample; then rm -f %D/etc/firebird.conf; fi etc/firebird.conf.sample @exec [ -f %B/firebird.conf ] || cp %B/%f %B/firebird.conf -%%DATADIR%%/firebird.msg -@dirrm %%DATADIR%% +%%LIBDATADIR%%/de_DE.msg +%%LIBDATADIR%%/firebird.msg +%%LIBDATADIR%%/fr_FR.msg +%%LIBDATADIR%%/ja_JP.msg +@dirrm %%LIBDATADIR%% %%EXAMPLESDIR%%/align.h %%EXAMPLESDIR%%/api1.c %%EXAMPLESDIR%%/api10.c Index: files/RELNOTES =================================================================== RCS file: /home/ncvs/ports/databases/firebird-server/files/RELNOTES,v retrieving revision 1.9 diff -u -r1.9 RELNOTES --- files/RELNOTES 22 Jul 2004 07:57:37 -0000 1.9 +++ files/RELNOTES 22 May 2005 16:14:52 -0000 @@ -1,6 +1,6 @@ -Firebird 1.5.1 FreeBSD Release Notes 19-Jul-2004 +Firebird 1.5.2 FreeBSD Release Notes -------------------------------------- -FB-V1.5.1.4481 Firebird 1.5 Release +FB-V1.5.2.4731 Firebird 1.5 Release Welcome to the FreeBSD Firebird port! Index: files/patch-src::jrd::gds.cpp =================================================================== RCS file: /home/ncvs/ports/databases/firebird-server/files/patch-src::jrd::gds.cpp,v retrieving revision 1.1 diff -u -r1.1 patch-src::jrd::gds.cpp --- files/patch-src::jrd::gds.cpp 21 May 2005 08:01:24 -0000 1.1 +++ files/patch-src::jrd::gds.cpp 22 May 2005 16:14:01 -0000 @@ -1,12 +1,12 @@ ---- src/jrd/gds.cpp.orig Fri May 20 16:14:19 2005 -+++ src/jrd/gds.cpp Fri May 20 16:31:25 2005 -@@ -1736,8 +1736,7 @@ - gds__prefix(ib_prefix_msg, ""); +--- src/jrd/gds.cpp.orig Sun May 22 18:52:41 2005 ++++ src/jrd/gds.cpp Sun May 22 18:55:44 2005 +@@ -1732,8 +1732,8 @@ + + if (ib_prefix_msg == NULL) { + if (!(ib_prefix_msg = getenv(FB_MSG_ENV))) { ++ strncpy(ib_prefix_msg_val, "%%LIBDATADIR%%", MAXPATHLEN); + ib_prefix_msg = ib_prefix_msg_val; +- gds__prefix(ib_prefix_msg, ""); } else { -- strcat(ib_prefix_msg_val, ib_prefix_msg); -- ib_prefix_msg = ib_prefix_msg_val; -+ strcpy(ib_prefix_msg, "%%DATADIR%%"); - } - } - strcat(string, ib_prefix_msg); + strcat(ib_prefix_msg_val, ib_prefix_msg); >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-ports-bugs@FreeBSD.ORG Sun May 22 16:50:02 2005 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 91E1A16A41C for ; Sun, 22 May 2005 16:50:02 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2356D43D54 for ; Sun, 22 May 2005 16:50:02 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j4MGo15l024006 for ; Sun, 22 May 2005 16:50:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j4MGo1cW024005; Sun, 22 May 2005 16:50:01 GMT (envelope-from gnats) Resent-Date: Sun, 22 May 2005 16:50:01 GMT Resent-Message-Id: <200505221650.j4MGo1cW024005@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, Jason Harris Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0895C16A41C for ; Sun, 22 May 2005 16:47:50 +0000 (GMT) (envelope-from jason@wilma.widomaker.com) Received: from wilma.widomaker.com (pm1.ric-40.lft.widomaker.com [209.96.189.56]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8EDA243D49 for ; Sun, 22 May 2005 16:47:46 +0000 (GMT) (envelope-from jason@wilma.widomaker.com) Received: from wilma.widomaker.com (localhost [127.0.0.1]) by wilma.widomaker.com (8.13.4/8.12.10) with ESMTP id j4MGlixO038804; Sun, 22 May 2005 12:47:44 -0400 (EDT) Received: (from jason@localhost) by wilma.widomaker.com (8.13.4/8.13.1/Submit) id j4MGlfFb038803; Sun, 22 May 2005 12:47:41 -0400 (EDT) (envelope-from jason) Message-Id: <200505221647.j4MGlfFb038803@wilma.widomaker.com> Date: Sun, 22 May 2005 12:47:41 -0400 (EDT) From: Jason Harris To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Jason Harris Subject: ports/81365: [MAINTAINER] ports/math/units -> 1.85 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Jason Harris List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 May 2005 16:50:02 -0000 >Number: 81365 >Category: ports >Synopsis: [MAINTAINER] ports/math/units -> 1.85 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Sun May 22 16:50:01 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Jason Harris >Release: FreeBSD 4.3-RELEASE i386 >Organization: none here >Environment: System: FreeBSD 4.3-RELEASE i386 >Description: update to 1.85 >How-To-Repeat: apply patch below >Fix: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 NotDashEscaped: You need GnuPG to verify this message cvs server: Diffing . Index: Makefile =================================================================== RCS file: /home/ncvs/ports/math/units/Makefile,v retrieving revision 1.6 diff -u -r1.6 Makefile --- Makefile 21 Jul 2004 14:52:54 -0000 1.6 +++ Makefile 22 May 2005 16:43:28 -0000 @@ -6,14 +6,18 @@ # PORTNAME= units -PORTVERSION= 1.80 +PORTVERSION= 1.85 CATEGORIES= math MASTER_SITES= ${MASTER_SITE_GNU} MASTER_SITE_SUBDIR= ${PORTNAME} +DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${DISTNAME}${EXTRACT_SUFX}.sig +EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} MAINTAINER= jharris@widomaker.com COMMENT= Unit conversion and calculation +USE_GPG?= yes +SIG_FILES= ${DISTNAME}${EXTRACT_SUFX}.sig GNU_CONFIGURE= yes CONFIGURE_ARGS= --program-prefix=g Index: distinfo =================================================================== RCS file: /home/ncvs/ports/math/units/distinfo,v retrieving revision 1.3 diff -u -r1.3 distinfo --- distinfo 31 Mar 2004 03:09:35 -0000 1.3 +++ distinfo 22 May 2005 16:43:29 -0000 @@ -1,2 +1,10 @@ -MD5 (units-1.80.tar.gz) = 537f0e1fadc7715e1eb15c9aa33c8c64 -SIZE (units-1.80.tar.gz) = 206483 +MD5 (units-1.85.tar.gz) = e2856ebf1082a8ed4f83d791e5a0b90b +SHA1 (units-1.85.tar.gz) = 012a3b23611eb85ad9f47cf2612794d5a3d66fef +RMD160 (units-1.85.tar.gz) = 151f7f331cfb0ef1949aacb2627ab2e5fa8ea9b2 +SHA256 (units-1.85.tar.gz) = a5d2c5f231e21d95e751652b7931533255143830ab6b55010eea88dd64b85739 +SIZE (units-1.85.tar.gz) = 230679 +MD5 (units-1.85.tar.gz.sig) = cd5308bb77018fd4621263b81aca63dd +SHA1 (units-1.85.tar.gz.sig) = b0801e21ee5f714b1b691542933225151c98419c +RMD160 (units-1.85.tar.gz.sig) = d060dde84727a4e951d46e68fb28488471355f9a +SHA256 (units-1.85.tar.gz.sig) = bd8a6be81067cdd34d432087194bdd713889025fc79f56b3399d46718b333626 +SIZE (units-1.85.tar.gz.sig) = 65 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iJoEARECAFoFAkKQtvdTGGh0dHA6Ly9rZXlzZXJ2ZXIua2pzbC5jb206ODAvcGtz L2xvb2t1cD9vcD1nZXQmc2VhcmNoPTB4RDM5REEwRTMmd2VoYXZleW91bm93PXRy dWUACgkQSypIl9OdoONmlACgldXiDX+4cQtHJfur6P9p5ZCBPawAniaLJOwFTP46 YpnFAXtME33YgmYw =bhvt -----END PGP SIGNATURE----- >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-ports-bugs@FreeBSD.ORG Sun May 22 17:40:03 2005 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8312616A465 for ; Sun, 22 May 2005 17:40:03 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id AC07643D5D for ; Sun, 22 May 2005 17:40:02 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j4MHe2DJ030312 for ; Sun, 22 May 2005 17:40:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j4MHe2QJ030311; Sun, 22 May 2005 17:40:02 GMT (envelope-from gnats) Resent-Date: Sun, 22 May 2005 17:40:02 GMT Resent-Message-Id: <200505221740.j4MHe2QJ030311@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, Aaron Dalton Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8729C16A41C for ; Sun, 22 May 2005 17:30:42 +0000 (GMT) (envelope-from aaron@mail.finch.st) Received: from mpls-qmqp-02.inet.qwest.net (mpls-qmqp-02.inet.qwest.net [63.231.195.113]) by mx1.FreeBSD.org (Postfix) with SMTP id 2A72943D4C for ; Sun, 22 May 2005 17:30:42 +0000 (GMT) (envelope-from aaron@mail.finch.st) Received: (qmail 81387 invoked by uid 0); 22 May 2005 17:29:57 -0000 Received: from unknown (63.231.195.12) by mpls-qmqp-02.inet.qwest.net with QMQP; 22 May 2005 17:29:57 -0000 Received: from finch.st (HELO mail.finch.st) (168.103.194.212) by mpls-pop-12.inet.qwest.net with SMTP; 22 May 2005 17:30:41 -0000 Received: from aaron by mail.finch.st with local (Exim 4.51 (FreeBSD)) id 1DZu9H-000IKd-0I for FreeBSD-gnats-submit@freebsd.org; Sun, 22 May 2005 11:21:59 -0600 Message-Id: Date: Sun, 22 May 2005 11:21:59 -0600 From: "Aaron Dalton" Sender: "Aaron Dalton" To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/81366: New Port: net/p5-Net-OpenDHT X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Aaron Dalton List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 May 2005 17:40:04 -0000 >Number: 81366 >Category: ports >Synopsis: New Port: net/p5-Net-OpenDHT >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun May 22 17:40:02 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Aaron Dalton >Release: FreeBSD 5.2.1-RELEASE i386 >Organization: >Environment: System: FreeBSD chariss.finch.st 5.2.1-RELEASE FreeBSD 5.2.1-RELEASE #1: Sat Mar 5 16:29:20 MST 2005 ross@chariss.finch.st:/usr/src/sys/i386/compile/CHARISS i386 >Description: The Net::OpenDHT module provides a simple interface to the Open DHT service. Open DHT is a publicly accessible distributed hash table (DHT) service. In contrast to the usual DHT model, clients of Open DHT do not need to run a DHT node in order to use the service. Instead, they can issue put and get operations to any DHT node, which processes the operations on their behalf. No credentials or accounts are required to use the service, and the available storage is fairly shared across all active clients. This service model of DHT usage greatly simplifies deploying client applications. By using Open DHT as a highly-available naming and storage service, clients can ignore the complexities of deploying and maintaining a DHT and instead concentrate on developing more sophisticated distributed applications. What this essentially gives you as a Perl author is robust storage for a small amount of data. This can be used as a distributed cache or data store. Read the following for full semantics about the Open DHT: http://opendht.org/users-guide.html >How-To-Repeat: >Fix: --- submission.txt begins here --- # 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: # # p5-Net-OpenDHT # p5-Net-OpenDHT/pkg-plist # p5-Net-OpenDHT/pkg-descr # p5-Net-OpenDHT/distinfo # p5-Net-OpenDHT/Makefile # echo c - p5-Net-OpenDHT mkdir -p p5-Net-OpenDHT > /dev/null 2>&1 echo x - p5-Net-OpenDHT/pkg-plist sed 's/^X//' >p5-Net-OpenDHT/pkg-plist << 'END-of-p5-Net-OpenDHT/pkg-plist' X%%SITE_PERL%%/Net/OpenDHT.pm X%%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/OpenDHT/.packlist X@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/OpenDHT X@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Net 2>/dev/null || true X@unexec rmdir %D/%%SITE_PERL%%/Net 2>/dev/null || true X END-of-p5-Net-OpenDHT/pkg-plist echo x - p5-Net-OpenDHT/pkg-descr sed 's/^X//' >p5-Net-OpenDHT/pkg-descr << 'END-of-p5-Net-OpenDHT/pkg-descr' XThe Net::OpenDHT module provides a simple interface to the Open DHT Xservice. Open DHT is a publicly accessible distributed hash table (DHT) Xservice. In contrast to the usual DHT model, clients of Open DHT do not Xneed to run a DHT node in order to use the service. Instead, they can Xissue put and get operations to any DHT node, which processes the Xoperations on their behalf. No credentials or accounts are required to use Xthe service, and the available storage is fairly shared across all active Xclients. X XThis service model of DHT usage greatly simplifies deploying client Xapplications. By using Open DHT as a highly-available naming and storage Xservice, clients can ignore the complexities of deploying and maintaining Xa DHT and instead concentrate on developing more sophisticated distributed Xapplications. X XWWW: http://opendht.org/users-guide.html XWWW: http://search.cpan.org/dist/Net-OpenDHT/ XAuthor: Leon Brocard X X- Aaron Dalton Xaaron@daltons.ca END-of-p5-Net-OpenDHT/pkg-descr echo x - p5-Net-OpenDHT/distinfo sed 's/^X//' >p5-Net-OpenDHT/distinfo << 'END-of-p5-Net-OpenDHT/distinfo' XMD5 (Net-OpenDHT-0.29.tar.gz) = 248d5718ba7545d002450cc9fcb984e8 XSIZE (Net-OpenDHT-0.29.tar.gz) = 3949 END-of-p5-Net-OpenDHT/distinfo echo x - p5-Net-OpenDHT/Makefile sed 's/^X//' >p5-Net-OpenDHT/Makefile << 'END-of-p5-Net-OpenDHT/Makefile' X# New ports collection makefile for: p5-Net-OpenDHT X# Date created: 21 May 2005 X# Whom: Aaron Dalton X# X# $FreeBSD$ X# X XPORTNAME= Net-OpenDHT XPORTVERSION= 0.29 XCATEGORIES= net perl5 XMASTER_SITES= ${MASTER_SITE_PERL_CPAN} XMASTER_SITE_SUBDIR= Net XPKGNAMEPREFIX= p5- X XMAINTAINER= aaron@daltons.ca XCOMMENT= Access the Open Distributed Hash Table (Open DHT) X XBUILD_DEPENDS= ${SITE_PERL}/Class/Accessor/Chained/Fast.pm:${PORTSDIR}/devel/p5-Class-Accessor-Chained \ X ${SITE_PERL}/XML/Writer.pm:${PORTSDIR}/textproc/p5-XML-Writer \ X ${SITE_PERL}/${PERL_ARCH}/MIME/Base64.pm:${PORTSDIR}/converters/p5-MIME-Base64 \ X ${SITE_PERL}/${PERL_ARCH}/XML/LibXML.pm:${PORTSDIR}/textproc/p5-XML-LibXML XRUN_DEPENDS= ${BUILD_DEPENDS} X XPERL_CONFIGURE= yes X XMAN3= Net::OpenDHT.3 X X.include X X.if ${PERL_LEVEL} < 500600 XIGNORE= Perl5.6 or greater required. Please install lang/perl5 or lang/perl5.8 X.endif X X.include END-of-p5-Net-OpenDHT/Makefile exit --- submission.txt ends here --- >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-ports-bugs@FreeBSD.ORG Sun May 22 18:38:46 2005 Return-Path: X-Original-To: freebsd-ports-bugs@freebsd.org Delivered-To: freebsd-ports-bugs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6BC3616A41C for ; Sun, 22 May 2005 18:38:46 +0000 (GMT) (envelope-from jimmiejaz@gmail.com) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.197]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0D8A543D48 for ; Sun, 22 May 2005 18:38:45 +0000 (GMT) (envelope-from jimmiejaz@gmail.com) Received: by wproxy.gmail.com with SMTP id 58so2301476wri for ; Sun, 22 May 2005 11:38:45 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:mime-version:content-type:content-transfer-encoding:content-disposition; b=gp+0/CzLwzgEBxzmWNmOIh4RSIsTSunuAKWpJliKAkGT2DknKqukefCZGGO+M8PD+zurpPTci4yJIMorsrf+TQOvvKhuHJr+buibDmj4Pb4N7c1/TZQHJ1IV0hkIY0KC5aSv7ym/m5cetJgjSYKe0FCc1w4N/fA7nJtThESjjnY= Received: by 10.54.44.51 with SMTP id r51mr3389554wrr; Sun, 22 May 2005 11:38:45 -0700 (PDT) Received: by 10.54.42.21 with HTTP; Sun, 22 May 2005 11:38:45 -0700 (PDT) Message-ID: <7e148fb9050522113833fe766c@mail.gmail.com> Date: Sun, 22 May 2005 14:38:45 -0400 From: Jimmie James To: freebsd-ports-bugs@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Cc: gnome@FreeBSD.org Subject: graphics/librsvg2 build failure 5.4-STABLE X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Jimmie James List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 May 2005 18:38:46 -0000 #uname -a FreeBSD fortytwo.zapto.org 5.4-STABLE FreeBSD 5.4-STABLE #2: Sat May 21 18:59:28 EDT 2005 =20 jimmie@fortytwo.zapto.org:/usr/obj/usr/src/sys/FORTYTWO i386 # $FreeBSD: ports/graphics/librsvg2/Makefile,v 1.46 2005/03/17 17:23:42 adamw Exp $ cvsup of ports around 16:00 UTC cc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include/libgsf-1 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/libxml2 -I/usr/local/include -DHAVE_SVGZ=3D1 -I/usr/local/include/libcroco-0.6 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/libxml2 -I/usr/local/include -DHAVE_LIBCROCO=3D1 -I. -I. -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/libart-2.0 -I/usr/local/include/libxml2 -I/usr/local/include -I/usr/X11R6/include/gtk-2.0 -I/usr/X11R6/include/pango-1.0 -I/usr/X11R6/include -I/usr/local/include/freetype2 -DXTHREADS -DXUSE_MTSAFE_API -I/usr/local/include/atk-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/X11R6/include/gtk-2.0 -I/usr/X11R6/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/X11R6/include/pango-1.0 -I/usr/local/include/freetype2 -I/usr/local/include -DXTHREADS -DXUSE_MTSAFE_API -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/X11R6/include/gtk-2.0 -I/usr/X11R6/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/X11R6/include/pango-1.0 -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/X11R6/include -DG_LOG_DOMAIN=3D\"librsvg\" -DDATADIR=3D\"/usr/X11R6/share/gnome\" -I/usr/local/include -Os -pipe -march=3Dpentiumpro -MT rsvg-cond.lo -MD -MP -MF .deps/rsvg-cond.Tpo -c rsvg-cond.c -o rsvg-cond.o >/dev/null 2>&1 ( cd . && glib-mkenums \ --fhead "#include \"librsvg-enum-types.h\"\n#include \"rsvg.h\"" \ --fprod "\n/* enumerations from \"@filename@\" */" \ --vhead "GType\n@enum_name@_get_type (void)\n{\n=20 static GType etype =3D 0;\n if (etype =3D=3D 0) {\n static const G@Type@Value values[] =3D {" \ --vprod " { @VALUENAME@, \"@VALUENAME@\", \"@valuenick@\" }," \ --vtail " { 0, NULL, NULL }\n };\n etype =3D g_@type@_register_static (\"@EnumName@\", values);\n }\n return etype;\n}\n" \ rsvg-gz.h rsvg.h ) > tmp-librsvg-enum-types.c \ && (cmp -s tmp-librsvg-enum-types.c librsvg-enum-types.c || cp tmp-librsvg-enum-types.c librsvg-enum-types.c ) \ && rm -f tmp-librsvg-enum-types.c \ && echo timestamp > s-enum-types-c glib-mkenums: not found gmake[2]: *** [s-enum-types-c] Error 127 gmake[2]: Leaving directory `/usr/ports/graphics/librsvg2/work/librsvg-2.9.= 5' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/usr/ports/graphics/librsvg2/work/librsvg-2.9.= 5' gmake: *** [all] Error 2 *** Error code 2 jimmie@fortytwo <124> [0] /usr/ports/graphics/librsvg2#which glib-mkenums /usr/local/bin/glib-mkenums -r-xr-xr-x 1 root wheel 14275 May 20 10:39 /usr/local/bin/glib-mkenums* From owner-freebsd-ports-bugs@FreeBSD.ORG Sun May 22 19:10:02 2005 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B0B9416A41C for ; Sun, 22 May 2005 19:10:02 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0C39943D49 for ; Sun, 22 May 2005 19:10:01 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j4MJA1wk041937 for ; Sun, 22 May 2005 19:10:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j4MJA1aY041936; Sun, 22 May 2005 19:10:01 GMT (envelope-from gnats) Resent-Date: Sun, 22 May 2005 19:10:01 GMT Resent-Message-Id: <200505221910.j4MJA1aY041936@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, Aaron Dalton Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B408416A41C for ; Sun, 22 May 2005 19:02:39 +0000 (GMT) (envelope-from aaron@mail.finch.st) Received: from mpls-qmqp-03.inet.qwest.net (mpls-qmqp-03.inet.qwest.net [63.231.195.114]) by mx1.FreeBSD.org (Postfix) with SMTP id 46C0C43D49 for ; Sun, 22 May 2005 19:02:39 +0000 (GMT) (envelope-from aaron@mail.finch.st) Received: (qmail 52963 invoked by uid 0); 22 May 2005 19:01:50 -0000 Received: from unknown (63.231.195.13) by mpls-qmqp-03.inet.qwest.net with QMQP; 22 May 2005 19:01:50 -0000 Received: from finch.st (HELO mail.finch.st) (168.103.194.212) by mpls-pop-13.inet.qwest.net with SMTP; 22 May 2005 19:02:38 -0000 Received: from aaron by mail.finch.st with local (Exim 4.51 (FreeBSD)) id 1DZvaF-000M2X-JN for FreeBSD-gnats-submit@freebsd.org; Sun, 22 May 2005 12:53:55 -0600 Message-Id: Date: Sun, 22 May 2005 12:53:55 -0600 From: "Aaron Dalton" Sender: "Aaron Dalton" To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/81367: Update Port: mark as BROKEN X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Aaron Dalton List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 May 2005 19:10:02 -0000 >Number: 81367 >Category: ports >Synopsis: Update Port: mark as BROKEN >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Sun May 22 19:10:01 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Aaron Dalton >Release: FreeBSD 5.2.1-RELEASE i386 >Organization: >Environment: System: FreeBSD chariss.finch.st 5.2.1-RELEASE FreeBSD 5.2.1-RELEASE #1: Sat Mar 5 16:29:20 MST 2005 ross@chariss.finch.st:/usr/src/sys/i386/compile/CHARISS i386 >Description: Doorman has issues with the pcap library. Patches have been suggested, but the developer is apparently unavailable. I am marking this port as BROKEN while I try one last attempt to contact the developer. If that fails, I will remove the port. >How-To-Repeat: >How-To-Repeat: >Fix: --- submission.txt begins here --- diff -ruN /usr/ports/security/doorman/Makefile ./doorman/Makefile --- /usr/ports/security/doorman/Makefile Thu Aug 12 11:27:31 2004 +++ ./doorman/Makefile Sun May 22 12:47:56 2005 @@ -15,6 +15,8 @@ MAINTAINER= aaron@daltons.ca COMMENT= A Port Knocking implementation, both daemon and client +BROKEN= "This port has issues with the pcap library and the developer has been unavailable. Until the developer is able to patch the software, this port is uninstallable." + BUILD_DEPENDS= lsof:${PORTSDIR}/sysutils/lsof RUN_DEPENDS= ${BUILD_DEPENDS} --- submission.txt ends here --- >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-ports-bugs@FreeBSD.ORG Sun May 22 19:47:23 2005 Return-Path: X-Original-To: freebsd-ports-bugs@FreeBSD.org Delivered-To: freebsd-ports-bugs@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D332116A41C for ; Sun, 22 May 2005 19:47:23 +0000 (GMT) (envelope-from nb_root@videotron.ca) Received: from relais.videotron.ca (relais.videotron.ca [24.201.245.36]) by mx1.FreeBSD.org (Postfix) with ESMTP id 94FD543D48 for ; Sun, 22 May 2005 19:47:23 +0000 (GMT) (envelope-from nb_root@videotron.ca) Received: from clk01a ([66.130.198.54]) by VL-MO-MR010.ip.videotron.ca (iPlanet Messaging Server 5.2 HotFix 1.21 (built Sep 8 2003)) with ESMTP id <0IGW00L9HPMY4E@VL-MO-MR010.ip.videotron.ca> for freebsd-ports-bugs@FreeBSD.org; Sun, 22 May 2005 15:47:22 -0400 (EDT) Date: Sun, 22 May 2005 15:47:08 -0400 From: Nicolas Blais To: freebsd-ports-bugs@FreeBSD.org Message-id: <200505221547.22168.nb_root@videotron.ca> MIME-version: 1.0 Content-type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary=nextPart2257235.GQF0teh0yv Content-transfer-encoding: 7bit User-Agent: KMail/1.8 Cc: Subject: misc/81368 FIX: kdenetwork 3.4 - Kopete doesn't work with msn 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: Sun, 22 May 2005 19:47:23 -0000 --nextPart2257235.GQF0teh0yv Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline This PR was accidently sent to the wrong place (by me), so I'm sending it h= ere=20 in hopes of not being hanged... http://www.freebsd.org/cgi/query-pr.cgi?pr=3D81368 =2D-=20 =46reeBSD 6.0-CURRENT #0: Sun May 22 10:51:41 EDT 2005 =20 root@clk01a:/usr/obj/usr/src/sys/CLK01A=20 PGP? : http://66.130.198.54:8081/security/nb_root.asc --nextPart2257235.GQF0teh0yv Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQBCkOHKz38ton5LGeIRAt2QAJ9WAXh8VaYTOI4w19iFBGskJgnyBgCgjFhd /CjAhjpzbOqZ0XlZbnF+t0Y= =lZeP -----END PGP SIGNATURE----- --nextPart2257235.GQF0teh0yv-- From owner-freebsd-ports-bugs@FreeBSD.ORG Sun May 22 20:00:26 2005 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F2A4416A41C for ; Sun, 22 May 2005 20:00:25 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id C8B5A43D1F for ; Sun, 22 May 2005 20:00:25 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j4MK0PZ4044205 for ; Sun, 22 May 2005 20:00:25 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j4MK0PgH044204; Sun, 22 May 2005 20:00:25 GMT (envelope-from gnats) Date: Sun, 22 May 2005 20:00:25 GMT Message-Id: <200505222000.j4MK0PgH044204@freefall.freebsd.org> To: freebsd-ports-bugs@FreeBSD.org From: lupe@lupe-christoph.de (Lupe Christoph) Cc: Subject: Re: ports/81367: Update Port: mark as BROKEN X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Lupe Christoph List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 May 2005 20:00:26 -0000 The following reply was made to PR ports/81367; it has been noted by GNATS. From: lupe@lupe-christoph.de (Lupe Christoph) To: Aaron Dalton Cc: FreeBSD-gnats-submit@freebsd.org Subject: Re: ports/81367: Update Port: mark as BROKEN Date: Sun, 22 May 2005 21:54:25 +0200 On Sunday, 2005-05-22 at 12:53:55 -0600, Aaron Dalton wrote: > >Description: > Doorman has issues with the pcap library. Patches have been suggested, > but the developer is apparently unavailable. I am marking this port as > BROKEN while I try one last attempt to contact the developer. If that > fails, I will remove the port. As I've already invested some time in making the daemon run on FreeBSD, I would be willing to take the port. I also had problems getting replies from both the original developer, Bruce Ward (one reply), and the port maintainer, aaron@daltons.ca (none). Before I take on the port, I would rather check back with Bruce to see if doorman is still in active development. Lupe Christoph -- | lupe@lupe-christoph.de | http://www.lupe-christoph.de/ | | Ask not what your computer can do for you | | ask what you can do for your computer. | From owner-freebsd-ports-bugs@FreeBSD.ORG Sun May 22 20:10:06 2005 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7B66116A41C for ; Sun, 22 May 2005 20:10:06 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 36A9C43D54 for ; Sun, 22 May 2005 20:10:06 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j4MKA6Tf048913 for ; Sun, 22 May 2005 20:10:06 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j4MKA6jM048912; Sun, 22 May 2005 20:10:06 GMT (envelope-from gnats) Date: Sun, 22 May 2005 20:10:06 GMT Message-Id: <200505222010.j4MKA6jM048912@freefall.freebsd.org> To: freebsd-ports-bugs@FreeBSD.org From: Aaron Dalton Cc: Subject: Re: ports/81367: Update Port: mark as BROKEN X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Aaron Dalton List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 May 2005 20:10:06 -0000 The following reply was made to PR ports/81367; it has been noted by GNATS. From: Aaron Dalton To: Lupe Christoph Cc: FreeBSD-gnats-submit@freebsd.org Subject: Re: ports/81367: Update Port: mark as BROKEN Date: Sun, 22 May 2005 14:00:44 -0600 This is a multi-part message in MIME format. --------------080407090508060105050702 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Lupe Christoph wrote: > > As I've already invested some time in making the daemon run on FreeBSD, I > would be willing to take the port. I also had problems getting replies > from both the original developer, Bruce Ward (one reply), and the > port maintainer, aaron@daltons.ca (none). Before I take on the port, > I would rather check back with Bruce to see if doorman is still in > active development. > > Lupe Christoph Hello, Lupe. This is Aaron Dalton, the current maintainer. I certainly didn't mean to ignore you. I sent replies to Pav (and I thought I sent some to you, but apparently not). I have attached the email I just sent to Bruce, including all of the emails you have sent me in the past. I wish I could be more help. I'm not a C programmer and that's a disadvantage when a port goes awry. Maybe I'll stick to my perl module ports from now on =) You are welcome to take over if you wish. Sure appreciate your time and understanding! Aaron --------------080407090508060105050702 Content-Type: message/rfc822; name="Attached Message" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="Attached Message" Message-ID: <4290D417.4080502@daltons.ca> Disposition-Notification-To: Aaron Dalton Date: Sun, 22 May 2005 12:48:55 -0600 From: Aaron Dalton User-Agent: Mozilla Thunderbird 0.8 (Windows/20040913) X-Accept-Language: en-us, en MIME-Version: 1.0 To: bward2@users.sourceforge.net Subject: FreeBSD Doorman Port Content-Type: multipart/mixed; boundary="------------070108030706090105010700" This is a multi-part message in MIME format. --------------070108030706090105010700 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Hello again, Bruce. Attached are the emails I have received regarding Doorman and various FreeBSD issues to date. I am submitting them to you for your consideration. Feel free to contact Lupe directly. I am not a C programmer, so I'm not quite sure what else to do with this information. I sent this stuff a while ago and haven't heard back, so for now I'm going to mark the FreeBSD port as broken. Cheers! Aaron --------------070108030706090105010700 Content-Type: message/rfc822; name="Attached Message" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="Attached Message" Return-Path: Received: from mail.finch.st ([unix socket]) by mail.finch.st (Cyrus v2.2.5) with LMTPA; Sun, 13 Mar 2005 05:35:16 -0700 X-Sieve: CMU Sieve 2.2 Received: from [84.19.0.30] (helo=buexe.b-5.de) by mail.finch.st with esmtp (Exim 4.50 (FreeBSD)) id 1DASJP-0003fs-Pv for aaron@daltons.ca; Sun, 13 Mar 2005 05:35:16 -0700 Received: from antalya.lupe-christoph.de (antalya.lupe-christoph.de [172.17.0.9]) by buexe.b-5.de (8.12.3/8.12.3/b-5/buexe-3.4) with ESMTP id j2DCaGkA030968; Sun, 13 Mar 2005 13:36:17 +0100 Received: from localhost (localhost [127.0.0.1]) by antalya.lupe-christoph.de (Postfix) with ESMTP id BDD27344F3; Sun, 13 Mar 2005 13:36:11 +0100 (CET) Received: from antalya.lupe-christoph.de ([127.0.0.1]) by localhost (antalya [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 29872-01-5; Sun, 13 Mar 2005 13:36:06 +0100 (CET) Received: from firewally.lupe-christoph.de (firewally.lupe-christoph.de [172.17.0.7]) by antalya.lupe-christoph.de (Postfix) with ESMTP id A63C2344F4; Sun, 13 Mar 2005 13:36:03 +0100 (CET) Received: by firewally.lupe-christoph.de (Postfix, from userid 100) id 6FC75A812; Sun, 13 Mar 2005 13:36:03 +0100 (CET) To: FreeBSD-gnats-submit@freebsd.org Subject: Lexer collision with pcap library From: Lupe Christoph Reply-To: Lupe Christoph Cc: aaron@daltons.ca, bward2@users.sourceforge.net X-send-pr-version: 3.113 X-GNATS-Notify: Message-Id: <20050313123603.6FC75A812@firewally.lupe-christoph.de> Date: Sun, 13 Mar 2005 13:36:03 +0100 (CET) X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at lupe-christoph.de >Submitter-Id: current-users >Originator: Lupe Christoph >Organization: >Confidential: no >Synopsis: Lexer collision with pcap library >Severity: serious >Priority: medium >Category: ports >Class: sw-bug >Release: FreeBSD 4.10-RELEASE-p5 i386 >Environment: System: FreeBSD firewally.lupe-christoph.de 4.10-RELEASE-p5 FreeBSD 4.10-RELEASE-p5 #2: Sat Dec 11 17:38:51 CET 2004 lupe@firewally.lupe-christoph.de:/usr/obj/usr/src/sys/FIREWALLY i386 FreeBSD 4.10-RELEASE-p5 >Description: doormand fails with the message emerg: Bad service name "port" on line 17 of guest list phase 3; portnumber or secret 9876 This message is generated in pcap_compile which seems to use doorman's guestfile lexer to scan "udp and port 9876 and dst 172.17.0.7" >How-To-Repeat: Install doorman, copy EXAMPLE files to the real files, run "doormand -D" >Fix: Hide the doorman lexer. This can be done with the flex "-P" option, but that changes yywrap(), too. Flex allows one to work around this by adding %option noyywrap. Note that e.g. Solaris' lex does not have -P. In the long run I believe the pcap library should implement this rather than every program using it. --------------070108030706090105010700 Content-Type: message/rfc822; name="Attached Message" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="Attached Message" Return-Path: Received: from mail.finch.st ([unix socket]) by mail.finch.st (Cyrus v2.2.5) with LMTPA; Sun, 13 Mar 2005 05:45:07 -0700 X-Sieve: CMU Sieve 2.2 Received: from [84.19.0.30] (helo=buexe.b-5.de) by mail.finch.st with esmtp (Exim 4.50 (FreeBSD)) id 1DASSw-0003gT-40 for aaron@daltons.ca; Sun, 13 Mar 2005 05:45:06 -0700 Received: from antalya.lupe-christoph.de (antalya.lupe-christoph.de [172.17.0.9]) by buexe.b-5.de (8.12.3/8.12.3/b-5/buexe-3.4) with ESMTP id j2DCk8kA031098; Sun, 13 Mar 2005 13:46:08 +0100 Received: from localhost (localhost [127.0.0.1]) by antalya.lupe-christoph.de (Postfix) with ESMTP id 90BDB344F2; Sun, 13 Mar 2005 13:46:03 +0100 (CET) Received: from antalya.lupe-christoph.de ([127.0.0.1]) by localhost (antalya [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 30807-02; Sun, 13 Mar 2005 13:45:59 +0100 (CET) Received: by antalya.lupe-christoph.de (Postfix, from userid 1000) id 76D28344F3; Sun, 13 Mar 2005 13:45:59 +0100 (CET) Date: Sun, 13 Mar 2005 13:45:59 +0100 To: aaron@daltons.ca, bward2@users.sourceforge.net Subject: Further problems with doorman on FreeBSD Message-ID: <20050313124559.GO25969@lupe-christoph.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.6+20040907i From: lupe@lupe-christoph.de (Lupe Christoph) X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at lupe-christoph.de Hi! I'm sorry to report that even after solving some problems with doorman on FreeBSD, I did not get it to run. It starts up OK, and I traced it with gdb until pcap_next() is called. There it hangs and does not get the packets I send from another machine on my local net. I have run tcpdump on the same interface with the same filter expression ("udp and port 9876 and dst 172.17.0.7") and it sees the packet: 13:44:51.012326 172.17.0.9.56416 > 172.17.0.7.9876: udp 53 (DF) I've never used the pcap library, and everything looks plausible to me. Please advise, Lupe Christoph -- | lupe@lupe-christoph.de | http://www.lupe-christoph.de/ | | Ask not what your computer can do for you | | ask what you can do for your computer. | --------------070108030706090105010700 Content-Type: message/rfc822; name="Attached Message" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="Attached Message" Return-Path: Received: from mail.finch.st ([unix socket]) by mail.finch.st (Cyrus v2.2.5) with LMTPA; Wed, 16 Mar 2005 06:59:23 -0700 X-Sieve: CMU Sieve 2.2 Received: from [84.19.0.30] (helo=buexe.b-5.de) by mail.finch.st with esmtp (Exim 4.50 (FreeBSD)) id 1DBZ3S-000HGx-3X for aaron@daltons.ca; Wed, 16 Mar 2005 06:59:22 -0700 Received: from antalya.lupe-christoph.de (antalya.lupe-christoph.de [172.17.0.9]) by buexe.b-5.de (8.12.3/8.12.3/b-5/buexe-3.4) with ESMTP id j2GE0nkA005498; Wed, 16 Mar 2005 15:00:50 +0100 Received: from localhost (localhost [127.0.0.1]) by antalya.lupe-christoph.de (Postfix) with ESMTP id 72FA8344F2; Wed, 16 Mar 2005 15:00:44 +0100 (CET) Received: from antalya.lupe-christoph.de ([127.0.0.1]) by localhost (antalya [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 17055-01-2; Wed, 16 Mar 2005 15:00:31 +0100 (CET) Received: by antalya.lupe-christoph.de (Postfix, from userid 1000) id CE04F344F3; Wed, 16 Mar 2005 15:00:31 +0100 (CET) Date: Wed, 16 Mar 2005 15:00:31 +0100 From: Lupe Christoph To: Bruce Ward Cc: Aaron Dalton Subject: Re: Further problems with doorman on FreeBSD Message-ID: <20050316140031.GF26010@lupe-christoph.de> References: <20050313124559.GO25969@lupe-christoph.de> <200503152013.47257.bward@nbnet.nb.ca> <20050316065357.GV25969@lupe-christoph.de> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="Qbvjkv9qwOGw/5Fx" Content-Disposition: inline In-Reply-To: <20050316065357.GV25969@lupe-christoph.de> User-Agent: Mutt/1.5.6+20040907i X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at lupe-christoph.de --Qbvjkv9qwOGw/5Fx Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Wednesday, 2005-03-16 at 07:53:57 +0100, Lupe Christoph wrote: > I will send you a fixed doormand.c and my fixed IPFilter scripts later > today, along with some comments. I still need to write an rc script to > control doormand. Attached you will find a patch for doormand.c, IPFilter scripts that insert rules into the standard ruleset and remove from it, and a start script. Please note that it has been written for rcNG, so it needs the sysutils/rc_subr port on FreeBSD 4. On FreeBSD 5, the port is not needed. I think it should only go in the doorman port, not the distribution. Aaraon, can you please integrate it? doorman requires a newer version of libpcap than the one that is in /usr/lib on FreeBSD 4, so I would like to ask Aaron to add a dependency for /usr/local/lib/libpcap.a on FreeBSD 4. This also fixes the problem that the pcap lexer collides with doorman's. I would like to comment on a couple of my changes to doormand. All of them are idef'ed for __FreeBSD__. Most of the changes are genuine portability changes. A few things need explanations, I believe. 1) Please remove all C++-style comment delimiters. A non-gcc compiler will probably complain about them. 2) Please use a regular expression to parse the lsof output, or even better, don't use lsof at all but netstat. 3) I had to change the timeout value from the default 0 which means an indefinite wait on FreeBSD to a non-zero value. This changes the behaviour of doorman to polling. Not very nice. And I'm beginning to think that the value of 1000 (1 second) is too high. 100 is probably better. Changing doorman to use pcap_dispatch() or pcap_loop() would probably be better. I wanted to avoid a large change in the program logic like this. 4) I wanted to use statefull filtering with IPFilter but didn't get it to work with the scripts. It works when I twiddle the rules manually. I may try again to rewrite the scripts to support this, but only if you think this is a good idea. After all this means that doorman does not need to watch the established connection. It can remove the rule just after the connection has been established. And finally, a question. I did not implement locking in the scripts. The doorman daemon does not seem to do anything concurrently, but what if you have two or more daemons running on different interfaces or ports? Do you think locking should go into doormand or into the scripts? Thanks for the doorman, it will allow me to make access to a few machines safer or possible at all! Lupe Christoph -- | lupe@lupe-christoph.de | http://www.lupe-christoph.de/ | | Ask not what your computer can do for you | | ask what you can do for your computer. | --Qbvjkv9qwOGw/5Fx Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="doormand.patch" --- Work/doorman-0.8.orig/doormand.c Thu Jul 29 21:24:02 2004 +++ work/doorman-0.8/doormand.c Tue Mar 15 17:18:09 2005 @@ -397,7 +397,11 @@ int datalink_header_lengths[] = { // hdr len code data link type // ------- --- --------------------------- +#ifdef __FreeBSD__ + 4, // 0 no link-layer encapsulation +#else 0, // 0 no link-layer encapsulation +#endif 14, // 1 Ethernet (10Mb) -1, // 2 Experimental Ethernet (3Mb) -1, // 3 Amateur Radio AX.25 @@ -557,6 +561,14 @@ // more readable. // +/* +// lsof on FreeBSD produces one more field. +// This should be rewritten to use a regular expression, anyway. +// +// And who said using C++ style comments in C was good for portability?!? +*/ + +#ifdef __FreeBSD__ #define LSOF()\ sprintf (cmd, "lsof -Pn -iTCP@%s:%s", interface_ip_str, dport_string) ;\ \ @@ -578,6 +590,7 @@ if ((p1 = token (&p2, " ")) == NULL) continue ;\ if ((p1 = token (&p2, " ")) == NULL) continue ;\ if ((p1 = token (&p2, " ")) == NULL) continue ;\ + if ((p1 = token (&p2, " ")) == NULL) continue ;\ if ((p1 = token (&p2, " :")) == NULL) continue ;\ local_ip = inet_addr(p1) ;\ if ((p1 = token (&p2, "-")) == NULL) continue ;\ @@ -602,7 +615,53 @@ }\ }\ pclose(f) ; - +#else +#define LSOF()\ +sprintf (cmd, "lsof -Pn -iTCP@%s:%s", interface_ip_str, dport_string) ;\ +\ +f = popen (cmd, "r") ;\ +if (f == NULL) {\ + croak (errno, "Can't execute '%s'; exiting.", cmd) ;\ +}\ +\ +fgets(buffer, 254, f) ; /* throw away the first line. */ \ +while (fgets(buffer, 254, f)) {\ + p2 = buffer ;\ + if ((p1 = token (&p2, " ")) == NULL) continue ;\ + dname = p1 ;\ + if ((p1 = token (&p2, " ")) == NULL) continue ;\ + pid = p1 ;\ + if ((p1 = token (&p2, " ")) == NULL) continue ;\ + uname = p1 ;\ + if ((p1 = token (&p2, " ")) == NULL) continue ;\ + if ((p1 = token (&p2, " ")) == NULL) continue ;\ + if ((p1 = token (&p2, " ")) == NULL) continue ;\ + if ((p1 = token (&p2, " ")) == NULL) continue ;\ + if ((p1 = token (&p2, " :")) == NULL) continue ;\ + local_ip = inet_addr(p1) ;\ + if ((p1 = token (&p2, "-")) == NULL) continue ;\ + local_port = atoi(p1) ;\ + if ((p1 = token (&p2, "->:")) == NULL) continue ;\ + aptr = p1 ;\ + remote_ip = inet_addr(p1) ;\ + if ((p1 = token (&p2, " ")) == NULL) continue ;\ + pptr = p1 ;\ + remote_port = atoi(p1) ;\ + if ((p1 = token (&p2, " ()")) == NULL) continue ;\ + status = p1 ;\ +\ + if ((saddr == remote_ip) &&\ + (daddr == local_ip) &&\ + (sport == remote_port) &&\ + (dport == local_port) && \ + (strcmp(status, "ESTABLISHED") == 0))\ + {\ + connected = TRUE ;\ + break ;\ + }\ +}\ +pclose(f) ; +#endif @@ -647,7 +706,11 @@ snprintf (cmd, 254, "tcp and dst port %s and src %s and dst %s", dport_string, src_addr, interface_ip_str) ; DEBUG "open a secondary pcap: '%s'", cmd) ; +#ifdef __FreeBSD__ + hdr_len = open_a_pcap (device, 1000, &cap, cmd) ; +#else hdr_len = open_a_pcap (device, 0, &cap, cmd) ; +#endif // set broad firewall rule sprintf (G_fw_broad_rule, " %s %s 0 %s %s", @@ -659,7 +722,22 @@ for (;;) { +#ifdef __FreeBSD__ + { + int ret = 0; + struct pcap_pkthdr * packet_hdr_p; + + while (ret == 0) { + ret = pcap_next_ex (cap, &packet_hdr_p, (const u_char **)&p) ; + packet_hdr = *packet_hdr_p; + if (ret < 0) { + p = NULL; + } + } + } +#else p = (unsigned char*)pcap_next (cap, &packet_hdr) ; +#endif if (p == NULL) { WARNX "manage_firewall got null from 'pcap_next'. Exiting.") ; exit (1) ; @@ -1222,9 +1300,13 @@ croak (errno, "Can't get interface address of %s", device) ; } +#ifdef __FreeBSD__ + hdr_len = open_a_pcap (device, 1000, &G_cap, "udp and port %d and dst %s", + port, interface_ip) ; +#else hdr_len = open_a_pcap (device, 0, &G_cap, "udp and port %d and dst %s", port, interface_ip) ; - +#endif if (G_reconfigure) { G_reconfigure = FALSE ; NOTICE "reconfigured.") ; @@ -1252,7 +1334,22 @@ char src_addr_buff[16] ; errno = 0 ; +#ifdef __FreeBSD__ + { + int ret = 0; + struct pcap_pkthdr * packet_hdr_p; + + while (ret == 0) { + ret = pcap_next_ex (G_cap, &packet_hdr_p, (const u_char **)&p) ; + packet_hdr = *packet_hdr_p; + if (ret < 0) { + p = NULL; + } + } + } +#else p = (unsigned char *)pcap_next (G_cap, &packet_hdr) ; +#endif if (G_reconfigure) { if (daemonize) err_closelog() ; goto reconfigure ; --Qbvjkv9qwOGw/5Fx Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="ipf_add.insert" #!/bin/sh # # ********************************************************************* # This script is used with IPFilter if the ruleset (/etc/ipf.rules) # contains a drop rule that interferes with doorman because rules can # only be added at the end, i.e. after the drop rule. # # The script will insert it's rule before a line containing the string # @@@Insert doorman rule here@@@ # # Note that it does not use locking, so concurrent accesses may # interfere with each other. # ********************************************************************* # # file "ipf_add" # IPFilter add script, called by "doormand". # This adds a "pass in quick" rule to the firewall. # # Called with five arguments: # # $1 : name of the interface (e.g. ne0) # $2 : source IP; i.e. dotted-decimal address of the 'knock' client # $3 : source port; when this script is called for the first time # for a connection (man 8 doormand), this argument will be set # to a single "0" (0x30) character. This means that the source # port is not yet known, and a broad rule allowing any source # port is required. # $4 : destination IP; that is, the IP address of the interface # in argument 1. # $5 : The port number of the requested service (e.g. 22 for ssh, etc.) # BEGINTAG='@@@doorman rules begin@@@' ENDTAG='@@@doorman rules end@@@' # We use kept state for this, so we ignore the invocation with # a specific source port. if [ $3 = 0 ]; then inrule="pass in quick on $1 proto TCP from $2 to $4 port = $5" outrule="pass out quick on $1 proto TCP from $4 port = $5 to $2" else inrule="pass in quick on $1 proto TCP from $2 port = $3 to $4 port = $5" outrule="pass out quick on $1 proto TCP from $4 port = $5 to $2 port = $3" fi # # acquire lock (not implemented) # if [ -f /etc/ipf.rules.doorman ]; then # Add another rule mv /etc/ipf.rules.doorman /etc/ipf.rules.doorman.old cat /etc/ipf.rules.doorman.old | sed -e "/@@@doorman rules end@@@/i\\ $inrule\\ $outrule" > /etc/ipf.rules.doorman rm /etc/ipf.rules.doorman.old else # Create /etc/ipf.rules.doorman cat /etc/ipf.rules | sed -e "/@@@Insert doorman rule here@@@/c\\ # $BEGINTAG\\ $inrule\\ $outrule\\ # $ENDTAG" > /etc/ipf.rules.doorman fi # Activate the edited ruleset ret=`/sbin/ipf -Fa -I -f /etc/ipf.rules.doorman 2>&1` # # release lock (not implemented) # if [ -z "$ret" ]; then /sbin/ipf -s > /dev/null 2>&1 echo 0 else echo -1 3 $ret fi --Qbvjkv9qwOGw/5Fx Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="ipf_delete.remove" #!/bin/sh # # ********************************************************************* # This script is used with IPFilter if the ruleset (/etc/ipf.rules) # contains a drop rule that interferes with doorman because rules can # only be added at the end, i.e. after the drop rule. # # The script will delete it's rule from the intermediate file # /etc/ipf.rules.doorman. If no lines are left between the markers # @@@doorman rules begin@@@ and @@@doorman rules end@@@, the # intermediate file is deleted and the original rulesset is reloaded. # # Note that it does not use locking, so concurrent accesses may # interfere with each other. # ********************************************************************* # # file "ipf_delete" # IPFilter delete script, called by "doormand". # This deletes a "pass in quick" rule from the firewall. # # Called with five arguments: # # $1 : name of the interface (e.g. ne0) # $2 : source IP; i.e. dotted-decimal address of the 'knock' client # $3 : source port; when this script is called for the first time # for a connection (man 8 doormand), this argument will be set # to a single "0" (0x30) character. This means that the source # port is not yet known, and a broad rule allowing any source # port is required. # $4 : destination IP; that is, the IP address of the interface # in argument 1. # $5 : The port number of the requested service (e.g. 22 for ssh, etc.) # BEGINTAG='@@@doorman rules begin@@@' ENDTAG='@@@doorman rules end@@@' # We use kept state for this, so we ignore the invocation with # a specific source port. if [ $3 = 0 ]; then inrule="pass in quick on $1 proto TCP from $2 to $4 port = $5" outrule="pass out quick on $1 proto TCP from $4 port = $5 to $2" else inrule="pass in quick on $1 proto TCP from $2 port = $3 to $4 port = $5" outrule="pass out quick on $1 proto TCP from $4 port = $5 to $2 port = $3" fi # # acquire lock (not implemented) # if [ ! -f /etc/ipf.rules.doorman ]; then # Huh? How come? echo -1 3 /etc/ipf.rules.doorman missing exit fi mv /etc/ipf.rules.doorman /etc/ipf.rules.doorman.old cat /etc/ipf.rules.doorman.old | sed -e "/^$inrule\$/d" -e "/^$outrule\$/d" > /etc/ipf.rules.doorman rm /etc/ipf.rules.doorman.old if [ `sed -n -e "/$BEGINTAG/,/$ENDTAG/p" /etc/ipf.rules.doorman |\ wc -l` -le 2 ]; then # No rules left rm /etc/ipf.rules.doorman FILE=/etc/ipf.rules else FILE=/etc/ipf.rules.doorman fi # Activate the edited ruleset ret=`/sbin/ipf -Fa -I -f $FILE 2>&1` # # release lock (not implemented) # if [ -z "$ret" ]; then /sbin/ipf -s > /dev/null 2>&1 echo 0 else echo -1 3 $ret fi --Qbvjkv9qwOGw/5Fx Content-Type: application/x-sh Content-Disposition: attachment; filename="doorman.sh" Content-Transfer-Encoding: quoted-printable #!/bin/sh=0A#=0A=0A# PROVIDE: doorman=0A# REQUIRE: LOGIN=0A# KEYWORD: FreeB= SD=0A=0A#=0A# Add the following lines to /etc/rc.conf to enable doorman:=0A= # doorman_enable (bool): Set to "NO" by default.=0A# = Set it to "YES" to enable doorman=0A# doorman_config (path): = Set to "/usr/local/etc/doormand/doormand.cf" by default.=0A#=0A=0Aif [ -f= /etc/rc.subr ]; then=0A . /etc/rc.subr=0Aelif [ -f /usr/local/etc/rc.subr= ]; then=0A . /usr/local/etc/rc.subr=0Aelse=0A exit 1=0Afi=0A=0Aname=3D"d= oorman"=0Arcvar=3D`set_rcvar`=0A=0A[ -z "$doorman_enable" ] && doorman_enab= le=3D"NO"=0A[ -z "$doorman_config" ] && doorman_config=3D"/usr/local/etc/do= ormand/doormand.cf"=0A=0Acommand=3D/usr/local/sbin/doormand=0Apidfile=3D/va= r/run/doormand.pid=0Acommand_args=3D"-p $pidfile -f $doorman_config"=0A=0Al= oad_rc_config $name=0Arun_rc_command "$1"=0A --Qbvjkv9qwOGw/5Fx-- --------------070108030706090105010700 Content-Type: message/rfc822; name="Attached Message" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="Attached Message" Return-Path: Received: from mail.finch.st ([unix socket]) by mail.finch.st (Cyrus v2.2.5) with LMTPA; Wed, 16 Mar 2005 14:44:21 -0700 X-Sieve: CMU Sieve 2.2 Received: from [212.27.205.50] (helo=hood.oook.cz) by mail.finch.st with esmtp (Exim 4.50 (FreeBSD)) id 1DBgJQ-000HlX-ER for aaron@daltons.ca; Wed, 16 Mar 2005 14:44:21 -0700 Received: from hood.oook.cz (localhost.oook.cz [127.0.0.1]) by hood.oook.cz (8.13.3/8.13.3) with ESMTP id j2GLjpO2087871 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 16 Mar 2005 22:45:51 +0100 (CET) (envelope-from pav@FreeBSD.org) Received: (from pav@localhost) by hood.oook.cz (8.13.3/8.13.3/Submit) id j2GLjpwV087870; Wed, 16 Mar 2005 22:45:51 +0100 (CET) (envelope-from pav@FreeBSD.org) X-Authentication-Warning: hood.oook.cz: pav set sender to pav@FreeBSD.org using -f Subject: Re: ports/78777: security/doorman: lexer collision with pcap library From: Pav Lucistnik Reply-To: pav@FreeBSD.org To: aaron@daltons.ca, freebsd-gnats-submit@FreeBSD.org Content-Type: text/plain Content-Transfer-Encoding: 7bit Date: Wed, 16 Mar 2005 22:45:51 +0100 Message-Id: <1111009551.4377.6.camel@hood.oook.cz> Mime-Version: 1.0 X-Mailer: Evolution 2.2.0 FreeBSD GNOME Team Port Can you or the maintainer provide a patch for this issue? -- Pav Lucistnik The final screw holding up a rackmount server is always possessed by demons. --------------070108030706090105010700 Content-Type: message/rfc822; name="Attached Message" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="Attached Message" Return-Path: Received: from mail.finch.st ([unix socket]) by mail.finch.st (Cyrus v2.2.5) with LMTPA; Thu, 17 Mar 2005 01:32:11 -0700 X-Sieve: CMU Sieve 2.2 Received: from [84.19.0.30] (helo=buexe.b-5.de) by mail.finch.st with esmtp (Exim 4.50 (FreeBSD)) id 1DBqQM-000IMp-Cy for aaron@daltons.ca; Thu, 17 Mar 2005 01:32:10 -0700 Received: from antalya.lupe-christoph.de (antalya.lupe-christoph.de [172.17.0.9]) by buexe.b-5.de (8.12.3/8.12.3/b-5/buexe-3.4) with ESMTP id j2H8XjkA031457 for ; Thu, 17 Mar 2005 09:33:46 +0100 Received: from localhost (localhost [127.0.0.1]) by antalya.lupe-christoph.de (Postfix) with ESMTP id 8E54B344F2 for ; Thu, 17 Mar 2005 09:33:40 +0100 (CET) Received: from antalya.lupe-christoph.de ([127.0.0.1]) by localhost (antalya [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 08982-06-4 for ; Thu, 17 Mar 2005 09:33:36 +0100 (CET) Received: by antalya.lupe-christoph.de (Postfix, from userid 1000) id 6BC63344F3; Thu, 17 Mar 2005 09:33:36 +0100 (CET) Date: Thu, 17 Mar 2005 09:33:36 +0100 From: Lupe Christoph To: aaron@daltons.ca Subject: Re: Further problems with doorman on FreeBSD Message-ID: <20050317083336.GH26010@lupe-christoph.de> References: <20050313124559.GO25969@lupe-christoph.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050313124559.GO25969@lupe-christoph.de> User-Agent: Mutt/1.5.6+20040907i X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at lupe-christoph.de Hi! I'm attaching the patch for doormand.c I mentioned in the mail to update the PR, the two IPFilter scripts, and an rc.d script I wrote. You may wish to include the rdc.d script with your port. It's all yours. Please note that the script uses rcNG, so you may need to depend on sysutils/rc_subr for FreeBSD 4. Please integrate my changes in your port. Lupe Christoph -- | lupe@lupe-christoph.de | http://www.lupe-christoph.de/ | | Ask not what your computer can do for you | | ask what you can do for your computer. | --------------070108030706090105010700 Content-Type: message/rfc822; name="Attached Message" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="Attached Message" Return-Path: Received: from mail.finch.st ([unix socket]) by mail.finch.st (Cyrus v2.2.5) with LMTPA; Thu, 17 Mar 2005 02:28:30 -0700 X-Sieve: CMU Sieve 2.2 Received: from [84.19.0.30] (helo=buexe.b-5.de) by mail.finch.st with esmtp (Exim 4.50 (FreeBSD)) id 1DBrIq-000IQH-Mi for aaron@daltons.ca; Thu, 17 Mar 2005 02:28:29 -0700 Received: from antalya.lupe-christoph.de (antalya.lupe-christoph.de [172.17.0.9]) by buexe.b-5.de (8.12.3/8.12.3/b-5/buexe-3.4) with ESMTP id j2H9U0kA000321 for ; Thu, 17 Mar 2005 10:30:03 +0100 Received: from localhost (localhost [127.0.0.1]) by antalya.lupe-christoph.de (Postfix) with ESMTP id DACC0344F2 for ; Thu, 17 Mar 2005 10:29:54 +0100 (CET) Received: from antalya.lupe-christoph.de ([127.0.0.1]) by localhost (antalya [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 28446-01-3 for ; Thu, 17 Mar 2005 10:29:41 +0100 (CET) Received: by antalya.lupe-christoph.de (Postfix, from userid 1000) id 5017F344F3; Thu, 17 Mar 2005 10:29:41 +0100 (CET) Date: Thu, 17 Mar 2005 10:29:41 +0100 From: Lupe Christoph To: aaron@daltons.ca Subject: Re: Further problems with doorman on FreeBSD Message-ID: <20050317092941.GI26010@lupe-christoph.de> References: <20050313124559.GO25969@lupe-christoph.de> <20050317083336.GH26010@lupe-christoph.de> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="P+33d92oIH25kiaB" Content-Disposition: inline In-Reply-To: <20050317083336.GH26010@lupe-christoph.de> User-Agent: Mutt/1.5.6+20040907i X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at lupe-christoph.de --P+33d92oIH25kiaB Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Thursday, 2005-03-17 at 09:33:36 +0100, Lupe Christoph wrote: > I'm attaching ... No, I didn't. Trying again... Lupe Christoph -- | lupe@lupe-christoph.de | http://www.lupe-christoph.de/ | | Ask not what your computer can do for you | | ask what you can do for your computer. | --P+33d92oIH25kiaB Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="doormand.patch" --- Work/doorman-0.8.orig/doormand.c Thu Jul 29 21:24:02 2004 +++ work/doorman-0.8/doormand.c Tue Mar 15 17:18:09 2005 @@ -397,7 +397,11 @@ int datalink_header_lengths[] = { // hdr len code data link type // ------- --- --------------------------- +#ifdef __FreeBSD__ + 4, // 0 no link-layer encapsulation +#else 0, // 0 no link-layer encapsulation +#endif 14, // 1 Ethernet (10Mb) -1, // 2 Experimental Ethernet (3Mb) -1, // 3 Amateur Radio AX.25 @@ -557,6 +561,14 @@ // more readable. // +/* +// lsof on FreeBSD produces one more field. +// This should be rewritten to use a regular expression, anyway. +// +// And who said using C++ style comments in C was good for portability?!? +*/ + +#ifdef __FreeBSD__ #define LSOF()\ sprintf (cmd, "lsof -Pn -iTCP@%s:%s", interface_ip_str, dport_string) ;\ \ @@ -578,6 +590,7 @@ if ((p1 = token (&p2, " ")) == NULL) continue ;\ if ((p1 = token (&p2, " ")) == NULL) continue ;\ if ((p1 = token (&p2, " ")) == NULL) continue ;\ + if ((p1 = token (&p2, " ")) == NULL) continue ;\ if ((p1 = token (&p2, " :")) == NULL) continue ;\ local_ip = inet_addr(p1) ;\ if ((p1 = token (&p2, "-")) == NULL) continue ;\ @@ -602,7 +615,53 @@ }\ }\ pclose(f) ; - +#else +#define LSOF()\ +sprintf (cmd, "lsof -Pn -iTCP@%s:%s", interface_ip_str, dport_string) ;\ +\ +f = popen (cmd, "r") ;\ +if (f == NULL) {\ + croak (errno, "Can't execute '%s'; exiting.", cmd) ;\ +}\ +\ +fgets(buffer, 254, f) ; /* throw away the first line. */ \ +while (fgets(buffer, 254, f)) {\ + p2 = buffer ;\ + if ((p1 = token (&p2, " ")) == NULL) continue ;\ + dname = p1 ;\ + if ((p1 = token (&p2, " ")) == NULL) continue ;\ + pid = p1 ;\ + if ((p1 = token (&p2, " ")) == NULL) continue ;\ + uname = p1 ;\ + if ((p1 = token (&p2, " ")) == NULL) continue ;\ + if ((p1 = token (&p2, " ")) == NULL) continue ;\ + if ((p1 = token (&p2, " ")) == NULL) continue ;\ + if ((p1 = token (&p2, " ")) == NULL) continue ;\ + if ((p1 = token (&p2, " :")) == NULL) continue ;\ + local_ip = inet_addr(p1) ;\ + if ((p1 = token (&p2, "-")) == NULL) continue ;\ + local_port = atoi(p1) ;\ + if ((p1 = token (&p2, "->:")) == NULL) continue ;\ + aptr = p1 ;\ + remote_ip = inet_addr(p1) ;\ + if ((p1 = token (&p2, " ")) == NULL) continue ;\ + pptr = p1 ;\ + remote_port = atoi(p1) ;\ + if ((p1 = token (&p2, " ()")) == NULL) continue ;\ + status = p1 ;\ +\ + if ((saddr == remote_ip) &&\ + (daddr == local_ip) &&\ + (sport == remote_port) &&\ + (dport == local_port) && \ + (strcmp(status, "ESTABLISHED") == 0))\ + {\ + connected = TRUE ;\ + break ;\ + }\ +}\ +pclose(f) ; +#endif @@ -647,7 +706,11 @@ snprintf (cmd, 254, "tcp and dst port %s and src %s and dst %s", dport_string, src_addr, interface_ip_str) ; DEBUG "open a secondary pcap: '%s'", cmd) ; +#ifdef __FreeBSD__ + hdr_len = open_a_pcap (device, 1000, &cap, cmd) ; +#else hdr_len = open_a_pcap (device, 0, &cap, cmd) ; +#endif // set broad firewall rule sprintf (G_fw_broad_rule, " %s %s 0 %s %s", @@ -659,7 +722,22 @@ for (;;) { +#ifdef __FreeBSD__ + { + int ret = 0; + struct pcap_pkthdr * packet_hdr_p; + + while (ret == 0) { + ret = pcap_next_ex (cap, &packet_hdr_p, (const u_char **)&p) ; + packet_hdr = *packet_hdr_p; + if (ret < 0) { + p = NULL; + } + } + } +#else p = (unsigned char*)pcap_next (cap, &packet_hdr) ; +#endif if (p == NULL) { WARNX "manage_firewall got null from 'pcap_next'. Exiting.") ; exit (1) ; @@ -1222,9 +1300,13 @@ croak (errno, "Can't get interface address of %s", device) ; } +#ifdef __FreeBSD__ + hdr_len = open_a_pcap (device, 1000, &G_cap, "udp and port %d and dst %s", + port, interface_ip) ; +#else hdr_len = open_a_pcap (device, 0, &G_cap, "udp and port %d and dst %s", port, interface_ip) ; - +#endif if (G_reconfigure) { G_reconfigure = FALSE ; NOTICE "reconfigured.") ; @@ -1252,7 +1334,22 @@ char src_addr_buff[16] ; errno = 0 ; +#ifdef __FreeBSD__ + { + int ret = 0; + struct pcap_pkthdr * packet_hdr_p; + + while (ret == 0) { + ret = pcap_next_ex (G_cap, &packet_hdr_p, (const u_char **)&p) ; + packet_hdr = *packet_hdr_p; + if (ret < 0) { + p = NULL; + } + } + } +#else p = (unsigned char *)pcap_next (G_cap, &packet_hdr) ; +#endif if (G_reconfigure) { if (daemonize) err_closelog() ; goto reconfigure ; --P+33d92oIH25kiaB Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="ipf_add.insert" #!/bin/sh # # ********************************************************************* # This script is used with IPFilter if the ruleset (/etc/ipf.rules) # contains a drop rule that interferes with doorman because rules can # only be added at the end, i.e. after the drop rule. # # The script will insert it's rule before a line containing the string # @@@Insert doorman rule here@@@ # # Note that it does not use locking, so concurrent accesses may # interfere with each other. # ********************************************************************* # # file "ipf_add" # IPFilter add script, called by "doormand". # This adds a "pass in quick" rule to the firewall. # # Called with five arguments: # # $1 : name of the interface (e.g. ne0) # $2 : source IP; i.e. dotted-decimal address of the 'knock' client # $3 : source port; when this script is called for the first time # for a connection (man 8 doormand), this argument will be set # to a single "0" (0x30) character. This means that the source # port is not yet known, and a broad rule allowing any source # port is required. # $4 : destination IP; that is, the IP address of the interface # in argument 1. # $5 : The port number of the requested service (e.g. 22 for ssh, etc.) # BEGINTAG='@@@doorman rules begin@@@' ENDTAG='@@@doorman rules end@@@' # We use kept state for this, so we ignore the invocation with # a specific source port. if [ $3 = 0 ]; then inrule="pass in quick on $1 proto TCP from $2 to $4 port = $5" outrule="pass out quick on $1 proto TCP from $4 port = $5 to $2" else inrule="pass in quick on $1 proto TCP from $2 port = $3 to $4 port = $5" outrule="pass out quick on $1 proto TCP from $4 port = $5 to $2 port = $3" fi # # acquire lock (not implemented) # if [ -f /etc/ipf.rules.doorman ]; then # Add another rule mv /etc/ipf.rules.doorman /etc/ipf.rules.doorman.old cat /etc/ipf.rules.doorman.old | sed -e "/@@@doorman rules end@@@/i\\ $inrule\\ $outrule" > /etc/ipf.rules.doorman rm /etc/ipf.rules.doorman.old else # Create /etc/ipf.rules.doorman cat /etc/ipf.rules | sed -e "/@@@Insert doorman rule here@@@/c\\ # $BEGINTAG\\ $inrule\\ $outrule\\ # $ENDTAG" > /etc/ipf.rules.doorman fi # Activate the edited ruleset ret=`/sbin/ipf -Fa -I -f /etc/ipf.rules.doorman 2>&1` # # release lock (not implemented) # if [ -z "$ret" ]; then /sbin/ipf -s > /dev/null 2>&1 echo 0 else echo -1 3 $ret fi --P+33d92oIH25kiaB Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="ipf_delete.remove" #!/bin/sh # # ********************************************************************* # This script is used with IPFilter if the ruleset (/etc/ipf.rules) # contains a drop rule that interferes with doorman because rules can # only be added at the end, i.e. after the drop rule. # # The script will delete it's rule from the intermediate file # /etc/ipf.rules.doorman. If no lines are left between the markers # @@@doorman rules begin@@@ and @@@doorman rules end@@@, the # intermediate file is deleted and the original rulesset is reloaded. # # Note that it does not use locking, so concurrent accesses may # interfere with each other. # ********************************************************************* # # file "ipf_delete" # IPFilter delete script, called by "doormand". # This deletes a "pass in quick" rule from the firewall. # # Called with five arguments: # # $1 : name of the interface (e.g. ne0) # $2 : source IP; i.e. dotted-decimal address of the 'knock' client # $3 : source port; when this script is called for the first time # for a connection (man 8 doormand), this argument will be set # to a single "0" (0x30) character. This means that the source # port is not yet known, and a broad rule allowing any source # port is required. # $4 : destination IP; that is, the IP address of the interface # in argument 1. # $5 : The port number of the requested service (e.g. 22 for ssh, etc.) # BEGINTAG='@@@doorman rules begin@@@' ENDTAG='@@@doorman rules end@@@' # We use kept state for this, so we ignore the invocation with # a specific source port. if [ $3 = 0 ]; then inrule="pass in quick on $1 proto TCP from $2 to $4 port = $5" outrule="pass out quick on $1 proto TCP from $4 port = $5 to $2" else inrule="pass in quick on $1 proto TCP from $2 port = $3 to $4 port = $5" outrule="pass out quick on $1 proto TCP from $4 port = $5 to $2 port = $3" fi # # acquire lock (not implemented) # if [ ! -f /etc/ipf.rules.doorman ]; then # Huh? How come? echo -1 3 /etc/ipf.rules.doorman missing exit fi mv /etc/ipf.rules.doorman /etc/ipf.rules.doorman.old cat /etc/ipf.rules.doorman.old | sed -e "/^$inrule\$/d" -e "/^$outrule\$/d" > /etc/ipf.rules.doorman rm /etc/ipf.rules.doorman.old if [ `sed -n -e "/$BEGINTAG/,/$ENDTAG/p" /etc/ipf.rules.doorman |\ wc -l` -le 2 ]; then # No rules left rm /etc/ipf.rules.doorman FILE=/etc/ipf.rules else FILE=/etc/ipf.rules.doorman fi # Activate the edited ruleset ret=`/sbin/ipf -Fa -I -f $FILE 2>&1` # # release lock (not implemented) # if [ -z "$ret" ]; then /sbin/ipf -s > /dev/null 2>&1 echo 0 else echo -1 3 $ret fi --P+33d92oIH25kiaB Content-Type: application/x-sh Content-Disposition: attachment; filename="doorman.sh" Content-Transfer-Encoding: quoted-printable #!/bin/sh=0A#=0A=0A# PROVIDE: doorman=0A# REQUIRE: LOGIN=0A# KEYWORD: FreeB= SD=0A=0A#=0A# Add the following lines to /etc/rc.conf to enable doorman:=0A= # doorman_enable (bool): Set to "NO" by default.=0A# = Set it to "YES" to enable doorman=0A# doorman_config (path): = Set to "/usr/local/etc/doormand/doormand.cf" by default.=0A#=0A=0Aif [ -f= /etc/rc.subr ]; then=0A . /etc/rc.subr=0Aelif [ -f /usr/local/etc/rc.subr= ]; then=0A . /usr/local/etc/rc.subr=0Aelse=0A exit 1=0Afi=0A=0Aname=3D"d= oorman"=0Arcvar=3D`set_rcvar`=0A=0A[ -z "$doorman_enable" ] && doorman_enab= le=3D"NO"=0A[ -z "$doorman_config" ] && doorman_config=3D"/usr/local/etc/do= ormand/doormand.cf"=0A=0Acommand=3D/usr/local/sbin/doormand=0Apidfile=3D/va= r/run/doormand.pid=0Acommand_args=3D"-p $pidfile -f $doorman_config"=0A=0Al= oad_rc_config $name=0Arun_rc_command "$1"=0A --P+33d92oIH25kiaB-- --------------070108030706090105010700-- --------------080407090508060105050702-- From owner-freebsd-ports-bugs@FreeBSD.ORG Sun May 22 20:10:11 2005 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0B51416A41C for ; Sun, 22 May 2005 20:10:11 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 75D2043D5C for ; Sun, 22 May 2005 20:10:10 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j4MKAA2T048941 for ; Sun, 22 May 2005 20:10:10 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j4MKAA5j048940; Sun, 22 May 2005 20:10:10 GMT (envelope-from gnats) Date: Sun, 22 May 2005 20:10:10 GMT Message-Id: <200505222010.j4MKAA5j048940@freefall.freebsd.org> To: freebsd-ports-bugs@FreeBSD.org From: Aaron Dalton Cc: Subject: Re: ports/81367: Update Port: mark as BROKEN X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Aaron Dalton List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 May 2005 20:10:11 -0000 The following reply was made to PR ports/81367; it has been noted by GNATS. From: Aaron Dalton To: Lupe Christoph Cc: FreeBSD-gnats-submit@freebsd.org Subject: Re: ports/81367: Update Port: mark as BROKEN Date: Sun, 22 May 2005 14:04:05 -0600 This is a multi-part message in MIME format. --------------030806050202030404030103 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Lupe Christoph wrote: > > As I've already invested some time in making the daemon run on FreeBSD, I > would be willing to take the port. I also had problems getting replies > from both the original developer, Bruce Ward (one reply), and the > port maintainer, aaron@daltons.ca (none). Before I take on the port, > I would rather check back with Bruce to see if doorman is still in > active development. > > Lupe Christoph Hello, Lupe. This is Aaron Dalton, the current maintainer. I certainly didn't mean to ignore you. I sent replies to Pav (and I thought I sent some to you, but apparently not). I have attached the email I just sent to Bruce, including all of the emails you have sent me in the past. I wish I could be more help. I'm not a C programmer and that's a disadvantage when a port goes awry. Maybe I'll stick to my perl module ports from now on =) You are welcome to take over if you wish. Sure appreciate your time and understanding! Aaron --------------030806050202030404030103 Content-Type: message/rfc822; name="Attached Message.eml" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="Attached Message.eml" Message-ID: <4290D417.4080502@daltons.ca> Disposition-Notification-To: Aaron Dalton Date: Sun, 22 May 2005 12:48:55 -0600 From: Aaron Dalton User-Agent: Mozilla Thunderbird 0.8 (Windows/20040913) X-Accept-Language: en-us, en MIME-Version: 1.0 To: bward2@users.sourceforge.net Subject: FreeBSD Doorman Port Content-Type: multipart/mixed; boundary="------------070108030706090105010700" This is a multi-part message in MIME format. --------------070108030706090105010700 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Hello again, Bruce. Attached are the emails I have received regarding Doorman and various FreeBSD issues to date. I am submitting them to you for your consideration. Feel free to contact Lupe directly. I am not a C programmer, so I'm not quite sure what else to do with this information. I sent this stuff a while ago and haven't heard back, so for now I'm going to mark the FreeBSD port as broken. Cheers! Aaron --------------070108030706090105010700 Content-Type: message/rfc822; name="Attached Message" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="Attached Message" Return-Path: Received: from mail.finch.st ([unix socket]) by mail.finch.st (Cyrus v2.2.5) with LMTPA; Sun, 13 Mar 2005 05:35:16 -0700 X-Sieve: CMU Sieve 2.2 Received: from [84.19.0.30] (helo=buexe.b-5.de) by mail.finch.st with esmtp (Exim 4.50 (FreeBSD)) id 1DASJP-0003fs-Pv for aaron@daltons.ca; Sun, 13 Mar 2005 05:35:16 -0700 Received: from antalya.lupe-christoph.de (antalya.lupe-christoph.de [172.17.0.9]) by buexe.b-5.de (8.12.3/8.12.3/b-5/buexe-3.4) with ESMTP id j2DCaGkA030968; Sun, 13 Mar 2005 13:36:17 +0100 Received: from localhost (localhost [127.0.0.1]) by antalya.lupe-christoph.de (Postfix) with ESMTP id BDD27344F3; Sun, 13 Mar 2005 13:36:11 +0100 (CET) Received: from antalya.lupe-christoph.de ([127.0.0.1]) by localhost (antalya [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 29872-01-5; Sun, 13 Mar 2005 13:36:06 +0100 (CET) Received: from firewally.lupe-christoph.de (firewally.lupe-christoph.de [172.17.0.7]) by antalya.lupe-christoph.de (Postfix) with ESMTP id A63C2344F4; Sun, 13 Mar 2005 13:36:03 +0100 (CET) Received: by firewally.lupe-christoph.de (Postfix, from userid 100) id 6FC75A812; Sun, 13 Mar 2005 13:36:03 +0100 (CET) To: FreeBSD-gnats-submit@freebsd.org Subject: Lexer collision with pcap library From: Lupe Christoph Reply-To: Lupe Christoph Cc: aaron@daltons.ca, bward2@users.sourceforge.net X-send-pr-version: 3.113 X-GNATS-Notify: Message-Id: <20050313123603.6FC75A812@firewally.lupe-christoph.de> Date: Sun, 13 Mar 2005 13:36:03 +0100 (CET) X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at lupe-christoph.de >Submitter-Id: current-users >Originator: Lupe Christoph >Organization: >Confidential: no >Synopsis: Lexer collision with pcap library >Severity: serious >Priority: medium >Category: ports >Class: sw-bug >Release: FreeBSD 4.10-RELEASE-p5 i386 >Environment: System: FreeBSD firewally.lupe-christoph.de 4.10-RELEASE-p5 FreeBSD 4.10-RELEASE-p5 #2: Sat Dec 11 17:38:51 CET 2004 lupe@firewally.lupe-christoph.de:/usr/obj/usr/src/sys/FIREWALLY i386 FreeBSD 4.10-RELEASE-p5 >Description: doormand fails with the message emerg: Bad service name "port" on line 17 of guest list phase 3; portnumber or secret 9876 This message is generated in pcap_compile which seems to use doorman's guestfile lexer to scan "udp and port 9876 and dst 172.17.0.7" >How-To-Repeat: Install doorman, copy EXAMPLE files to the real files, run "doormand -D" >Fix: Hide the doorman lexer. This can be done with the flex "-P" option, but that changes yywrap(), too. Flex allows one to work around this by adding %option noyywrap. Note that e.g. Solaris' lex does not have -P. In the long run I believe the pcap library should implement this rather than every program using it. --------------070108030706090105010700 Content-Type: message/rfc822; name="Attached Message" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="Attached Message" Return-Path: Received: from mail.finch.st ([unix socket]) by mail.finch.st (Cyrus v2.2.5) with LMTPA; Sun, 13 Mar 2005 05:45:07 -0700 X-Sieve: CMU Sieve 2.2 Received: from [84.19.0.30] (helo=buexe.b-5.de) by mail.finch.st with esmtp (Exim 4.50 (FreeBSD)) id 1DASSw-0003gT-40 for aaron@daltons.ca; Sun, 13 Mar 2005 05:45:06 -0700 Received: from antalya.lupe-christoph.de (antalya.lupe-christoph.de [172.17.0.9]) by buexe.b-5.de (8.12.3/8.12.3/b-5/buexe-3.4) with ESMTP id j2DCk8kA031098; Sun, 13 Mar 2005 13:46:08 +0100 Received: from localhost (localhost [127.0.0.1]) by antalya.lupe-christoph.de (Postfix) with ESMTP id 90BDB344F2; Sun, 13 Mar 2005 13:46:03 +0100 (CET) Received: from antalya.lupe-christoph.de ([127.0.0.1]) by localhost (antalya [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 30807-02; Sun, 13 Mar 2005 13:45:59 +0100 (CET) Received: by antalya.lupe-christoph.de (Postfix, from userid 1000) id 76D28344F3; Sun, 13 Mar 2005 13:45:59 +0100 (CET) Date: Sun, 13 Mar 2005 13:45:59 +0100 To: aaron@daltons.ca, bward2@users.sourceforge.net Subject: Further problems with doorman on FreeBSD Message-ID: <20050313124559.GO25969@lupe-christoph.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.6+20040907i From: lupe@lupe-christoph.de (Lupe Christoph) X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at lupe-christoph.de Hi! I'm sorry to report that even after solving some problems with doorman on FreeBSD, I did not get it to run. It starts up OK, and I traced it with gdb until pcap_next() is called. There it hangs and does not get the packets I send from another machine on my local net. I have run tcpdump on the same interface with the same filter expression ("udp and port 9876 and dst 172.17.0.7") and it sees the packet: 13:44:51.012326 172.17.0.9.56416 > 172.17.0.7.9876: udp 53 (DF) I've never used the pcap library, and everything looks plausible to me. Please advise, Lupe Christoph -- | lupe@lupe-christoph.de | http://www.lupe-christoph.de/ | | Ask not what your computer can do for you | | ask what you can do for your computer. | --------------070108030706090105010700 Content-Type: message/rfc822; name="Attached Message" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="Attached Message" Return-Path: Received: from mail.finch.st ([unix socket]) by mail.finch.st (Cyrus v2.2.5) with LMTPA; Wed, 16 Mar 2005 06:59:23 -0700 X-Sieve: CMU Sieve 2.2 Received: from [84.19.0.30] (helo=buexe.b-5.de) by mail.finch.st with esmtp (Exim 4.50 (FreeBSD)) id 1DBZ3S-000HGx-3X for aaron@daltons.ca; Wed, 16 Mar 2005 06:59:22 -0700 Received: from antalya.lupe-christoph.de (antalya.lupe-christoph.de [172.17.0.9]) by buexe.b-5.de (8.12.3/8.12.3/b-5/buexe-3.4) with ESMTP id j2GE0nkA005498; Wed, 16 Mar 2005 15:00:50 +0100 Received: from localhost (localhost [127.0.0.1]) by antalya.lupe-christoph.de (Postfix) with ESMTP id 72FA8344F2; Wed, 16 Mar 2005 15:00:44 +0100 (CET) Received: from antalya.lupe-christoph.de ([127.0.0.1]) by localhost (antalya [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 17055-01-2; Wed, 16 Mar 2005 15:00:31 +0100 (CET) Received: by antalya.lupe-christoph.de (Postfix, from userid 1000) id CE04F344F3; Wed, 16 Mar 2005 15:00:31 +0100 (CET) Date: Wed, 16 Mar 2005 15:00:31 +0100 From: Lupe Christoph To: Bruce Ward Cc: Aaron Dalton Subject: Re: Further problems with doorman on FreeBSD Message-ID: <20050316140031.GF26010@lupe-christoph.de> References: <20050313124559.GO25969@lupe-christoph.de> <200503152013.47257.bward@nbnet.nb.ca> <20050316065357.GV25969@lupe-christoph.de> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="Qbvjkv9qwOGw/5Fx" Content-Disposition: inline In-Reply-To: <20050316065357.GV25969@lupe-christoph.de> User-Agent: Mutt/1.5.6+20040907i X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at lupe-christoph.de --Qbvjkv9qwOGw/5Fx Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Wednesday, 2005-03-16 at 07:53:57 +0100, Lupe Christoph wrote: > I will send you a fixed doormand.c and my fixed IPFilter scripts later > today, along with some comments. I still need to write an rc script to > control doormand. Attached you will find a patch for doormand.c, IPFilter scripts that insert rules into the standard ruleset and remove from it, and a start script. Please note that it has been written for rcNG, so it needs the sysutils/rc_subr port on FreeBSD 4. On FreeBSD 5, the port is not needed. I think it should only go in the doorman port, not the distribution. Aaraon, can you please integrate it? doorman requires a newer version of libpcap than the one that is in /usr/lib on FreeBSD 4, so I would like to ask Aaron to add a dependency for /usr/local/lib/libpcap.a on FreeBSD 4. This also fixes the problem that the pcap lexer collides with doorman's. I would like to comment on a couple of my changes to doormand. All of them are idef'ed for __FreeBSD__. Most of the changes are genuine portability changes. A few things need explanations, I believe. 1) Please remove all C++-style comment delimiters. A non-gcc compiler will probably complain about them. 2) Please use a regular expression to parse the lsof output, or even better, don't use lsof at all but netstat. 3) I had to change the timeout value from the default 0 which means an indefinite wait on FreeBSD to a non-zero value. This changes the behaviour of doorman to polling. Not very nice. And I'm beginning to think that the value of 1000 (1 second) is too high. 100 is probably better. Changing doorman to use pcap_dispatch() or pcap_loop() would probably be better. I wanted to avoid a large change in the program logic like this. 4) I wanted to use statefull filtering with IPFilter but didn't get it to work with the scripts. It works when I twiddle the rules manually. I may try again to rewrite the scripts to support this, but only if you think this is a good idea. After all this means that doorman does not need to watch the established connection. It can remove the rule just after the connection has been established. And finally, a question. I did not implement locking in the scripts. The doorman daemon does not seem to do anything concurrently, but what if you have two or more daemons running on different interfaces or ports? Do you think locking should go into doormand or into the scripts? Thanks for the doorman, it will allow me to make access to a few machines safer or possible at all! Lupe Christoph -- | lupe@lupe-christoph.de | http://www.lupe-christoph.de/ | | Ask not what your computer can do for you | | ask what you can do for your computer. | --Qbvjkv9qwOGw/5Fx Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="doormand.patch" --- Work/doorman-0.8.orig/doormand.c Thu Jul 29 21:24:02 2004 +++ work/doorman-0.8/doormand.c Tue Mar 15 17:18:09 2005 @@ -397,7 +397,11 @@ int datalink_header_lengths[] = { // hdr len code data link type // ------- --- --------------------------- +#ifdef __FreeBSD__ + 4, // 0 no link-layer encapsulation +#else 0, // 0 no link-layer encapsulation +#endif 14, // 1 Ethernet (10Mb) -1, // 2 Experimental Ethernet (3Mb) -1, // 3 Amateur Radio AX.25 @@ -557,6 +561,14 @@ // more readable. // +/* +// lsof on FreeBSD produces one more field. +// This should be rewritten to use a regular expression, anyway. +// +// And who said using C++ style comments in C was good for portability?!? +*/ + +#ifdef __FreeBSD__ #define LSOF()\ sprintf (cmd, "lsof -Pn -iTCP@%s:%s", interface_ip_str, dport_string) ;\ \ @@ -578,6 +590,7 @@ if ((p1 = token (&p2, " ")) == NULL) continue ;\ if ((p1 = token (&p2, " ")) == NULL) continue ;\ if ((p1 = token (&p2, " ")) == NULL) continue ;\ + if ((p1 = token (&p2, " ")) == NULL) continue ;\ if ((p1 = token (&p2, " :")) == NULL) continue ;\ local_ip = inet_addr(p1) ;\ if ((p1 = token (&p2, "-")) == NULL) continue ;\ @@ -602,7 +615,53 @@ }\ }\ pclose(f) ; - +#else +#define LSOF()\ +sprintf (cmd, "lsof -Pn -iTCP@%s:%s", interface_ip_str, dport_string) ;\ +\ +f = popen (cmd, "r") ;\ +if (f == NULL) {\ + croak (errno, "Can't execute '%s'; exiting.", cmd) ;\ +}\ +\ +fgets(buffer, 254, f) ; /* throw away the first line. */ \ +while (fgets(buffer, 254, f)) {\ + p2 = buffer ;\ + if ((p1 = token (&p2, " ")) == NULL) continue ;\ + dname = p1 ;\ + if ((p1 = token (&p2, " ")) == NULL) continue ;\ + pid = p1 ;\ + if ((p1 = token (&p2, " ")) == NULL) continue ;\ + uname = p1 ;\ + if ((p1 = token (&p2, " ")) == NULL) continue ;\ + if ((p1 = token (&p2, " ")) == NULL) continue ;\ + if ((p1 = token (&p2, " ")) == NULL) continue ;\ + if ((p1 = token (&p2, " ")) == NULL) continue ;\ + if ((p1 = token (&p2, " :")) == NULL) continue ;\ + local_ip = inet_addr(p1) ;\ + if ((p1 = token (&p2, "-")) == NULL) continue ;\ + local_port = atoi(p1) ;\ + if ((p1 = token (&p2, "->:")) == NULL) continue ;\ + aptr = p1 ;\ + remote_ip = inet_addr(p1) ;\ + if ((p1 = token (&p2, " ")) == NULL) continue ;\ + pptr = p1 ;\ + remote_port = atoi(p1) ;\ + if ((p1 = token (&p2, " ()")) == NULL) continue ;\ + status = p1 ;\ +\ + if ((saddr == remote_ip) &&\ + (daddr == local_ip) &&\ + (sport == remote_port) &&\ + (dport == local_port) && \ + (strcmp(status, "ESTABLISHED") == 0))\ + {\ + connected = TRUE ;\ + break ;\ + }\ +}\ +pclose(f) ; +#endif @@ -647,7 +706,11 @@ snprintf (cmd, 254, "tcp and dst port %s and src %s and dst %s", dport_string, src_addr, interface_ip_str) ; DEBUG "open a secondary pcap: '%s'", cmd) ; +#ifdef __FreeBSD__ + hdr_len = open_a_pcap (device, 1000, &cap, cmd) ; +#else hdr_len = open_a_pcap (device, 0, &cap, cmd) ; +#endif // set broad firewall rule sprintf (G_fw_broad_rule, " %s %s 0 %s %s", @@ -659,7 +722,22 @@ for (;;) { +#ifdef __FreeBSD__ + { + int ret = 0; + struct pcap_pkthdr * packet_hdr_p; + + while (ret == 0) { + ret = pcap_next_ex (cap, &packet_hdr_p, (const u_char **)&p) ; + packet_hdr = *packet_hdr_p; + if (ret < 0) { + p = NULL; + } + } + } +#else p = (unsigned char*)pcap_next (cap, &packet_hdr) ; +#endif if (p == NULL) { WARNX "manage_firewall got null from 'pcap_next'. Exiting.") ; exit (1) ; @@ -1222,9 +1300,13 @@ croak (errno, "Can't get interface address of %s", device) ; } +#ifdef __FreeBSD__ + hdr_len = open_a_pcap (device, 1000, &G_cap, "udp and port %d and dst %s", + port, interface_ip) ; +#else hdr_len = open_a_pcap (device, 0, &G_cap, "udp and port %d and dst %s", port, interface_ip) ; - +#endif if (G_reconfigure) { G_reconfigure = FALSE ; NOTICE "reconfigured.") ; @@ -1252,7 +1334,22 @@ char src_addr_buff[16] ; errno = 0 ; +#ifdef __FreeBSD__ + { + int ret = 0; + struct pcap_pkthdr * packet_hdr_p; + + while (ret == 0) { + ret = pcap_next_ex (G_cap, &packet_hdr_p, (const u_char **)&p) ; + packet_hdr = *packet_hdr_p; + if (ret < 0) { + p = NULL; + } + } + } +#else p = (unsigned char *)pcap_next (G_cap, &packet_hdr) ; +#endif if (G_reconfigure) { if (daemonize) err_closelog() ; goto reconfigure ; --Qbvjkv9qwOGw/5Fx Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="ipf_add.insert" #!/bin/sh # # ********************************************************************* # This script is used with IPFilter if the ruleset (/etc/ipf.rules) # contains a drop rule that interferes with doorman because rules can # only be added at the end, i.e. after the drop rule. # # The script will insert it's rule before a line containing the string # @@@Insert doorman rule here@@@ # # Note that it does not use locking, so concurrent accesses may # interfere with each other. # ********************************************************************* # # file "ipf_add" # IPFilter add script, called by "doormand". # This adds a "pass in quick" rule to the firewall. # # Called with five arguments: # # $1 : name of the interface (e.g. ne0) # $2 : source IP; i.e. dotted-decimal address of the 'knock' client # $3 : source port; when this script is called for the first time # for a connection (man 8 doormand), this argument will be set # to a single "0" (0x30) character. This means that the source # port is not yet known, and a broad rule allowing any source # port is required. # $4 : destination IP; that is, the IP address of the interface # in argument 1. # $5 : The port number of the requested service (e.g. 22 for ssh, etc.) # BEGINTAG='@@@doorman rules begin@@@' ENDTAG='@@@doorman rules end@@@' # We use kept state for this, so we ignore the invocation with # a specific source port. if [ $3 = 0 ]; then inrule="pass in quick on $1 proto TCP from $2 to $4 port = $5" outrule="pass out quick on $1 proto TCP from $4 port = $5 to $2" else inrule="pass in quick on $1 proto TCP from $2 port = $3 to $4 port = $5" outrule="pass out quick on $1 proto TCP from $4 port = $5 to $2 port = $3" fi # # acquire lock (not implemented) # if [ -f /etc/ipf.rules.doorman ]; then # Add another rule mv /etc/ipf.rules.doorman /etc/ipf.rules.doorman.old cat /etc/ipf.rules.doorman.old | sed -e "/@@@doorman rules end@@@/i\\ $inrule\\ $outrule" > /etc/ipf.rules.doorman rm /etc/ipf.rules.doorman.old else # Create /etc/ipf.rules.doorman cat /etc/ipf.rules | sed -e "/@@@Insert doorman rule here@@@/c\\ # $BEGINTAG\\ $inrule\\ $outrule\\ # $ENDTAG" > /etc/ipf.rules.doorman fi # Activate the edited ruleset ret=`/sbin/ipf -Fa -I -f /etc/ipf.rules.doorman 2>&1` # # release lock (not implemented) # if [ -z "$ret" ]; then /sbin/ipf -s > /dev/null 2>&1 echo 0 else echo -1 3 $ret fi --Qbvjkv9qwOGw/5Fx Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="ipf_delete.remove" #!/bin/sh # # ********************************************************************* # This script is used with IPFilter if the ruleset (/etc/ipf.rules) # contains a drop rule that interferes with doorman because rules can # only be added at the end, i.e. after the drop rule. # # The script will delete it's rule from the intermediate file # /etc/ipf.rules.doorman. If no lines are left between the markers # @@@doorman rules begin@@@ and @@@doorman rules end@@@, the # intermediate file is deleted and the original rulesset is reloaded. # # Note that it does not use locking, so concurrent accesses may # interfere with each other. # ********************************************************************* # # file "ipf_delete" # IPFilter delete script, called by "doormand". # This deletes a "pass in quick" rule from the firewall. # # Called with five arguments: # # $1 : name of the interface (e.g. ne0) # $2 : source IP; i.e. dotted-decimal address of the 'knock' client # $3 : source port; when this script is called for the first time # for a connection (man 8 doormand), this argument will be set # to a single "0" (0x30) character. This means that the source # port is not yet known, and a broad rule allowing any source # port is required. # $4 : destination IP; that is, the IP address of the interface # in argument 1. # $5 : The port number of the requested service (e.g. 22 for ssh, etc.) # BEGINTAG='@@@doorman rules begin@@@' ENDTAG='@@@doorman rules end@@@' # We use kept state for this, so we ignore the invocation with # a specific source port. if [ $3 = 0 ]; then inrule="pass in quick on $1 proto TCP from $2 to $4 port = $5" outrule="pass out quick on $1 proto TCP from $4 port = $5 to $2" else inrule="pass in quick on $1 proto TCP from $2 port = $3 to $4 port = $5" outrule="pass out quick on $1 proto TCP from $4 port = $5 to $2 port = $3" fi # # acquire lock (not implemented) # if [ ! -f /etc/ipf.rules.doorman ]; then # Huh? How come? echo -1 3 /etc/ipf.rules.doorman missing exit fi mv /etc/ipf.rules.doorman /etc/ipf.rules.doorman.old cat /etc/ipf.rules.doorman.old | sed -e "/^$inrule\$/d" -e "/^$outrule\$/d" > /etc/ipf.rules.doorman rm /etc/ipf.rules.doorman.old if [ `sed -n -e "/$BEGINTAG/,/$ENDTAG/p" /etc/ipf.rules.doorman |\ wc -l` -le 2 ]; then # No rules left rm /etc/ipf.rules.doorman FILE=/etc/ipf.rules else FILE=/etc/ipf.rules.doorman fi # Activate the edited ruleset ret=`/sbin/ipf -Fa -I -f $FILE 2>&1` # # release lock (not implemented) # if [ -z "$ret" ]; then /sbin/ipf -s > /dev/null 2>&1 echo 0 else echo -1 3 $ret fi --Qbvjkv9qwOGw/5Fx Content-Type: application/x-sh Content-Disposition: attachment; filename="doorman.sh" Content-Transfer-Encoding: quoted-printable #!/bin/sh=0A#=0A=0A# PROVIDE: doorman=0A# REQUIRE: LOGIN=0A# KEYWORD: FreeB= SD=0A=0A#=0A# Add the following lines to /etc/rc.conf to enable doorman:=0A= # doorman_enable (bool): Set to "NO" by default.=0A# = Set it to "YES" to enable doorman=0A# doorman_config (path): = Set to "/usr/local/etc/doormand/doormand.cf" by default.=0A#=0A=0Aif [ -f= /etc/rc.subr ]; then=0A . /etc/rc.subr=0Aelif [ -f /usr/local/etc/rc.subr= ]; then=0A . /usr/local/etc/rc.subr=0Aelse=0A exit 1=0Afi=0A=0Aname=3D"d= oorman"=0Arcvar=3D`set_rcvar`=0A=0A[ -z "$doorman_enable" ] && doorman_enab= le=3D"NO"=0A[ -z "$doorman_config" ] && doorman_config=3D"/usr/local/etc/do= ormand/doormand.cf"=0A=0Acommand=3D/usr/local/sbin/doormand=0Apidfile=3D/va= r/run/doormand.pid=0Acommand_args=3D"-p $pidfile -f $doorman_config"=0A=0Al= oad_rc_config $name=0Arun_rc_command "$1"=0A --Qbvjkv9qwOGw/5Fx-- --------------070108030706090105010700 Content-Type: message/rfc822; name="Attached Message" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="Attached Message" Return-Path: Received: from mail.finch.st ([unix socket]) by mail.finch.st (Cyrus v2.2.5) with LMTPA; Wed, 16 Mar 2005 14:44:21 -0700 X-Sieve: CMU Sieve 2.2 Received: from [212.27.205.50] (helo=hood.oook.cz) by mail.finch.st with esmtp (Exim 4.50 (FreeBSD)) id 1DBgJQ-000HlX-ER for aaron@daltons.ca; Wed, 16 Mar 2005 14:44:21 -0700 Received: from hood.oook.cz (localhost.oook.cz [127.0.0.1]) by hood.oook.cz (8.13.3/8.13.3) with ESMTP id j2GLjpO2087871 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 16 Mar 2005 22:45:51 +0100 (CET) (envelope-from pav@FreeBSD.org) Received: (from pav@localhost) by hood.oook.cz (8.13.3/8.13.3/Submit) id j2GLjpwV087870; Wed, 16 Mar 2005 22:45:51 +0100 (CET) (envelope-from pav@FreeBSD.org) X-Authentication-Warning: hood.oook.cz: pav set sender to pav@FreeBSD.org using -f Subject: Re: ports/78777: security/doorman: lexer collision with pcap library From: Pav Lucistnik Reply-To: pav@FreeBSD.org To: aaron@daltons.ca, freebsd-gnats-submit@FreeBSD.org Content-Type: text/plain Content-Transfer-Encoding: 7bit Date: Wed, 16 Mar 2005 22:45:51 +0100 Message-Id: <1111009551.4377.6.camel@hood.oook.cz> Mime-Version: 1.0 X-Mailer: Evolution 2.2.0 FreeBSD GNOME Team Port Can you or the maintainer provide a patch for this issue? -- Pav Lucistnik The final screw holding up a rackmount server is always possessed by demons. --------------070108030706090105010700 Content-Type: message/rfc822; name="Attached Message" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="Attached Message" Return-Path: Received: from mail.finch.st ([unix socket]) by mail.finch.st (Cyrus v2.2.5) with LMTPA; Thu, 17 Mar 2005 01:32:11 -0700 X-Sieve: CMU Sieve 2.2 Received: from [84.19.0.30] (helo=buexe.b-5.de) by mail.finch.st with esmtp (Exim 4.50 (FreeBSD)) id 1DBqQM-000IMp-Cy for aaron@daltons.ca; Thu, 17 Mar 2005 01:32:10 -0700 Received: from antalya.lupe-christoph.de (antalya.lupe-christoph.de [172.17.0.9]) by buexe.b-5.de (8.12.3/8.12.3/b-5/buexe-3.4) with ESMTP id j2H8XjkA031457 for ; Thu, 17 Mar 2005 09:33:46 +0100 Received: from localhost (localhost [127.0.0.1]) by antalya.lupe-christoph.de (Postfix) with ESMTP id 8E54B344F2 for ; Thu, 17 Mar 2005 09:33:40 +0100 (CET) Received: from antalya.lupe-christoph.de ([127.0.0.1]) by localhost (antalya [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 08982-06-4 for ; Thu, 17 Mar 2005 09:33:36 +0100 (CET) Received: by antalya.lupe-christoph.de (Postfix, from userid 1000) id 6BC63344F3; Thu, 17 Mar 2005 09:33:36 +0100 (CET) Date: Thu, 17 Mar 2005 09:33:36 +0100 From: Lupe Christoph To: aaron@daltons.ca Subject: Re: Further problems with doorman on FreeBSD Message-ID: <20050317083336.GH26010@lupe-christoph.de> References: <20050313124559.GO25969@lupe-christoph.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050313124559.GO25969@lupe-christoph.de> User-Agent: Mutt/1.5.6+20040907i X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at lupe-christoph.de Hi! I'm attaching the patch for doormand.c I mentioned in the mail to update the PR, the two IPFilter scripts, and an rc.d script I wrote. You may wish to include the rdc.d script with your port. It's all yours. Please note that the script uses rcNG, so you may need to depend on sysutils/rc_subr for FreeBSD 4. Please integrate my changes in your port. Lupe Christoph -- | lupe@lupe-christoph.de | http://www.lupe-christoph.de/ | | Ask not what your computer can do for you | | ask what you can do for your computer. | --------------070108030706090105010700 Content-Type: message/rfc822; name="Attached Message" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="Attached Message" Return-Path: Received: from mail.finch.st ([unix socket]) by mail.finch.st (Cyrus v2.2.5) with LMTPA; Thu, 17 Mar 2005 02:28:30 -0700 X-Sieve: CMU Sieve 2.2 Received: from [84.19.0.30] (helo=buexe.b-5.de) by mail.finch.st with esmtp (Exim 4.50 (FreeBSD)) id 1DBrIq-000IQH-Mi for aaron@daltons.ca; Thu, 17 Mar 2005 02:28:29 -0700 Received: from antalya.lupe-christoph.de (antalya.lupe-christoph.de [172.17.0.9]) by buexe.b-5.de (8.12.3/8.12.3/b-5/buexe-3.4) with ESMTP id j2H9U0kA000321 for ; Thu, 17 Mar 2005 10:30:03 +0100 Received: from localhost (localhost [127.0.0.1]) by antalya.lupe-christoph.de (Postfix) with ESMTP id DACC0344F2 for ; Thu, 17 Mar 2005 10:29:54 +0100 (CET) Received: from antalya.lupe-christoph.de ([127.0.0.1]) by localhost (antalya [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 28446-01-3 for ; Thu, 17 Mar 2005 10:29:41 +0100 (CET) Received: by antalya.lupe-christoph.de (Postfix, from userid 1000) id 5017F344F3; Thu, 17 Mar 2005 10:29:41 +0100 (CET) Date: Thu, 17 Mar 2005 10:29:41 +0100 From: Lupe Christoph To: aaron@daltons.ca Subject: Re: Further problems with doorman on FreeBSD Message-ID: <20050317092941.GI26010@lupe-christoph.de> References: <20050313124559.GO25969@lupe-christoph.de> <20050317083336.GH26010@lupe-christoph.de> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="P+33d92oIH25kiaB" Content-Disposition: inline In-Reply-To: <20050317083336.GH26010@lupe-christoph.de> User-Agent: Mutt/1.5.6+20040907i X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at lupe-christoph.de --P+33d92oIH25kiaB Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Thursday, 2005-03-17 at 09:33:36 +0100, Lupe Christoph wrote: > I'm attaching ... No, I didn't. Trying again... Lupe Christoph -- | lupe@lupe-christoph.de | http://www.lupe-christoph.de/ | | Ask not what your computer can do for you | | ask what you can do for your computer. | --P+33d92oIH25kiaB Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="doormand.patch" --- Work/doorman-0.8.orig/doormand.c Thu Jul 29 21:24:02 2004 +++ work/doorman-0.8/doormand.c Tue Mar 15 17:18:09 2005 @@ -397,7 +397,11 @@ int datalink_header_lengths[] = { // hdr len code data link type // ------- --- --------------------------- +#ifdef __FreeBSD__ + 4, // 0 no link-layer encapsulation +#else 0, // 0 no link-layer encapsulation +#endif 14, // 1 Ethernet (10Mb) -1, // 2 Experimental Ethernet (3Mb) -1, // 3 Amateur Radio AX.25 @@ -557,6 +561,14 @@ // more readable. // +/* +// lsof on FreeBSD produces one more field. +// This should be rewritten to use a regular expression, anyway. +// +// And who said using C++ style comments in C was good for portability?!? +*/ + +#ifdef __FreeBSD__ #define LSOF()\ sprintf (cmd, "lsof -Pn -iTCP@%s:%s", interface_ip_str, dport_string) ;\ \ @@ -578,6 +590,7 @@ if ((p1 = token (&p2, " ")) == NULL) continue ;\ if ((p1 = token (&p2, " ")) == NULL) continue ;\ if ((p1 = token (&p2, " ")) == NULL) continue ;\ + if ((p1 = token (&p2, " ")) == NULL) continue ;\ if ((p1 = token (&p2, " :")) == NULL) continue ;\ local_ip = inet_addr(p1) ;\ if ((p1 = token (&p2, "-")) == NULL) continue ;\ @@ -602,7 +615,53 @@ }\ }\ pclose(f) ; - +#else +#define LSOF()\ +sprintf (cmd, "lsof -Pn -iTCP@%s:%s", interface_ip_str, dport_string) ;\ +\ +f = popen (cmd, "r") ;\ +if (f == NULL) {\ + croak (errno, "Can't execute '%s'; exiting.", cmd) ;\ +}\ +\ +fgets(buffer, 254, f) ; /* throw away the first line. */ \ +while (fgets(buffer, 254, f)) {\ + p2 = buffer ;\ + if ((p1 = token (&p2, " ")) == NULL) continue ;\ + dname = p1 ;\ + if ((p1 = token (&p2, " ")) == NULL) continue ;\ + pid = p1 ;\ + if ((p1 = token (&p2, " ")) == NULL) continue ;\ + uname = p1 ;\ + if ((p1 = token (&p2, " ")) == NULL) continue ;\ + if ((p1 = token (&p2, " ")) == NULL) continue ;\ + if ((p1 = token (&p2, " ")) == NULL) continue ;\ + if ((p1 = token (&p2, " ")) == NULL) continue ;\ + if ((p1 = token (&p2, " :")) == NULL) continue ;\ + local_ip = inet_addr(p1) ;\ + if ((p1 = token (&p2, "-")) == NULL) continue ;\ + local_port = atoi(p1) ;\ + if ((p1 = token (&p2, "->:")) == NULL) continue ;\ + aptr = p1 ;\ + remote_ip = inet_addr(p1) ;\ + if ((p1 = token (&p2, " ")) == NULL) continue ;\ + pptr = p1 ;\ + remote_port = atoi(p1) ;\ + if ((p1 = token (&p2, " ()")) == NULL) continue ;\ + status = p1 ;\ +\ + if ((saddr == remote_ip) &&\ + (daddr == local_ip) &&\ + (sport == remote_port) &&\ + (dport == local_port) && \ + (strcmp(status, "ESTABLISHED") == 0))\ + {\ + connected = TRUE ;\ + break ;\ + }\ +}\ +pclose(f) ; +#endif @@ -647,7 +706,11 @@ snprintf (cmd, 254, "tcp and dst port %s and src %s and dst %s", dport_string, src_addr, interface_ip_str) ; DEBUG "open a secondary pcap: '%s'", cmd) ; +#ifdef __FreeBSD__ + hdr_len = open_a_pcap (device, 1000, &cap, cmd) ; +#else hdr_len = open_a_pcap (device, 0, &cap, cmd) ; +#endif // set broad firewall rule sprintf (G_fw_broad_rule, " %s %s 0 %s %s", @@ -659,7 +722,22 @@ for (;;) { +#ifdef __FreeBSD__ + { + int ret = 0; + struct pcap_pkthdr * packet_hdr_p; + + while (ret == 0) { + ret = pcap_next_ex (cap, &packet_hdr_p, (const u_char **)&p) ; + packet_hdr = *packet_hdr_p; + if (ret < 0) { + p = NULL; + } + } + } +#else p = (unsigned char*)pcap_next (cap, &packet_hdr) ; +#endif if (p == NULL) { WARNX "manage_firewall got null from 'pcap_next'. Exiting.") ; exit (1) ; @@ -1222,9 +1300,13 @@ croak (errno, "Can't get interface address of %s", device) ; } +#ifdef __FreeBSD__ + hdr_len = open_a_pcap (device, 1000, &G_cap, "udp and port %d and dst %s", + port, interface_ip) ; +#else hdr_len = open_a_pcap (device, 0, &G_cap, "udp and port %d and dst %s", port, interface_ip) ; - +#endif if (G_reconfigure) { G_reconfigure = FALSE ; NOTICE "reconfigured.") ; @@ -1252,7 +1334,22 @@ char src_addr_buff[16] ; errno = 0 ; +#ifdef __FreeBSD__ + { + int ret = 0; + struct pcap_pkthdr * packet_hdr_p; + + while (ret == 0) { + ret = pcap_next_ex (G_cap, &packet_hdr_p, (const u_char **)&p) ; + packet_hdr = *packet_hdr_p; + if (ret < 0) { + p = NULL; + } + } + } +#else p = (unsigned char *)pcap_next (G_cap, &packet_hdr) ; +#endif if (G_reconfigure) { if (daemonize) err_closelog() ; goto reconfigure ; --P+33d92oIH25kiaB Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="ipf_add.insert" #!/bin/sh # # ********************************************************************* # This script is used with IPFilter if the ruleset (/etc/ipf.rules) # contains a drop rule that interferes with doorman because rules can # only be added at the end, i.e. after the drop rule. # # The script will insert it's rule before a line containing the string # @@@Insert doorman rule here@@@ # # Note that it does not use locking, so concurrent accesses may # interfere with each other. # ********************************************************************* # # file "ipf_add" # IPFilter add script, called by "doormand". # This adds a "pass in quick" rule to the firewall. # # Called with five arguments: # # $1 : name of the interface (e.g. ne0) # $2 : source IP; i.e. dotted-decimal address of the 'knock' client # $3 : source port; when this script is called for the first time # for a connection (man 8 doormand), this argument will be set # to a single "0" (0x30) character. This means that the source # port is not yet known, and a broad rule allowing any source # port is required. # $4 : destination IP; that is, the IP address of the interface # in argument 1. # $5 : The port number of the requested service (e.g. 22 for ssh, etc.) # BEGINTAG='@@@doorman rules begin@@@' ENDTAG='@@@doorman rules end@@@' # We use kept state for this, so we ignore the invocation with # a specific source port. if [ $3 = 0 ]; then inrule="pass in quick on $1 proto TCP from $2 to $4 port = $5" outrule="pass out quick on $1 proto TCP from $4 port = $5 to $2" else inrule="pass in quick on $1 proto TCP from $2 port = $3 to $4 port = $5" outrule="pass out quick on $1 proto TCP from $4 port = $5 to $2 port = $3" fi # # acquire lock (not implemented) # if [ -f /etc/ipf.rules.doorman ]; then # Add another rule mv /etc/ipf.rules.doorman /etc/ipf.rules.doorman.old cat /etc/ipf.rules.doorman.old | sed -e "/@@@doorman rules end@@@/i\\ $inrule\\ $outrule" > /etc/ipf.rules.doorman rm /etc/ipf.rules.doorman.old else # Create /etc/ipf.rules.doorman cat /etc/ipf.rules | sed -e "/@@@Insert doorman rule here@@@/c\\ # $BEGINTAG\\ $inrule\\ $outrule\\ # $ENDTAG" > /etc/ipf.rules.doorman fi # Activate the edited ruleset ret=`/sbin/ipf -Fa -I -f /etc/ipf.rules.doorman 2>&1` # # release lock (not implemented) # if [ -z "$ret" ]; then /sbin/ipf -s > /dev/null 2>&1 echo 0 else echo -1 3 $ret fi --P+33d92oIH25kiaB Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="ipf_delete.remove" #!/bin/sh # # ********************************************************************* # This script is used with IPFilter if the ruleset (/etc/ipf.rules) # contains a drop rule that interferes with doorman because rules can # only be added at the end, i.e. after the drop rule. # # The script will delete it's rule from the intermediate file # /etc/ipf.rules.doorman. If no lines are left between the markers # @@@doorman rules begin@@@ and @@@doorman rules end@@@, the # intermediate file is deleted and the original rulesset is reloaded. # # Note that it does not use locking, so concurrent accesses may # interfere with each other. # ********************************************************************* # # file "ipf_delete" # IPFilter delete script, called by "doormand". # This deletes a "pass in quick" rule from the firewall. # # Called with five arguments: # # $1 : name of the interface (e.g. ne0) # $2 : source IP; i.e. dotted-decimal address of the 'knock' client # $3 : source port; when this script is called for the first time # for a connection (man 8 doormand), this argument will be set # to a single "0" (0x30) character. This means that the source # port is not yet known, and a broad rule allowing any source # port is required. # $4 : destination IP; that is, the IP address of the interface # in argument 1. # $5 : The port number of the requested service (e.g. 22 for ssh, etc.) # BEGINTAG='@@@doorman rules begin@@@' ENDTAG='@@@doorman rules end@@@' # We use kept state for this, so we ignore the invocation with # a specific source port. if [ $3 = 0 ]; then inrule="pass in quick on $1 proto TCP from $2 to $4 port = $5" outrule="pass out quick on $1 proto TCP from $4 port = $5 to $2" else inrule="pass in quick on $1 proto TCP from $2 port = $3 to $4 port = $5" outrule="pass out quick on $1 proto TCP from $4 port = $5 to $2 port = $3" fi # # acquire lock (not implemented) # if [ ! -f /etc/ipf.rules.doorman ]; then # Huh? How come? echo -1 3 /etc/ipf.rules.doorman missing exit fi mv /etc/ipf.rules.doorman /etc/ipf.rules.doorman.old cat /etc/ipf.rules.doorman.old | sed -e "/^$inrule\$/d" -e "/^$outrule\$/d" > /etc/ipf.rules.doorman rm /etc/ipf.rules.doorman.old if [ `sed -n -e "/$BEGINTAG/,/$ENDTAG/p" /etc/ipf.rules.doorman |\ wc -l` -le 2 ]; then # No rules left rm /etc/ipf.rules.doorman FILE=/etc/ipf.rules else FILE=/etc/ipf.rules.doorman fi # Activate the edited ruleset ret=`/sbin/ipf -Fa -I -f $FILE 2>&1` # # release lock (not implemented) # if [ -z "$ret" ]; then /sbin/ipf -s > /dev/null 2>&1 echo 0 else echo -1 3 $ret fi --P+33d92oIH25kiaB Content-Type: application/x-sh Content-Disposition: attachment; filename="doorman.sh" Content-Transfer-Encoding: quoted-printable #!/bin/sh=0A#=0A=0A# PROVIDE: doorman=0A# REQUIRE: LOGIN=0A# KEYWORD: FreeB= SD=0A=0A#=0A# Add the following lines to /etc/rc.conf to enable doorman:=0A= # doorman_enable (bool): Set to "NO" by default.=0A# = Set it to "YES" to enable doorman=0A# doorman_config (path): = Set to "/usr/local/etc/doormand/doormand.cf" by default.=0A#=0A=0Aif [ -f= /etc/rc.subr ]; then=0A . /etc/rc.subr=0Aelif [ -f /usr/local/etc/rc.subr= ]; then=0A . /usr/local/etc/rc.subr=0Aelse=0A exit 1=0Afi=0A=0Aname=3D"d= oorman"=0Arcvar=3D`set_rcvar`=0A=0A[ -z "$doorman_enable" ] && doorman_enab= le=3D"NO"=0A[ -z "$doorman_config" ] && doorman_config=3D"/usr/local/etc/do= ormand/doormand.cf"=0A=0Acommand=3D/usr/local/sbin/doormand=0Apidfile=3D/va= r/run/doormand.pid=0Acommand_args=3D"-p $pidfile -f $doorman_config"=0A=0Al= oad_rc_config $name=0Arun_rc_command "$1"=0A --P+33d92oIH25kiaB-- --------------070108030706090105010700-- --------------030806050202030404030103-- From owner-freebsd-ports-bugs@FreeBSD.ORG Sun May 22 20:20:05 2005 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7654316A41C for ; Sun, 22 May 2005 20:20:05 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 52F4C43D49 for ; Sun, 22 May 2005 20:20:05 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j4MKK5JA049415 for ; Sun, 22 May 2005 20:20:05 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j4MKK5Sx049414; Sun, 22 May 2005 20:20:05 GMT (envelope-from gnats) Date: Sun, 22 May 2005 20:20:05 GMT Message-Id: <200505222020.j4MKK5Sx049414@freefall.freebsd.org> To: freebsd-ports-bugs@FreeBSD.org From: Aaron Dalton Cc: Subject: Re: ports/81367: Update Port: mark as BROKEN X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Aaron Dalton List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 May 2005 20:20:05 -0000 The following reply was made to PR ports/81367; it has been noted by GNATS. From: Aaron Dalton To: Lupe Christoph Cc: FreeBSD-gnats-submit@freebsd.org Subject: Re: ports/81367: Update Port: mark as BROKEN Date: Sun, 22 May 2005 14:11:42 -0600 Lupe Christoph wrote: > > As I've already invested some time in making the daemon run on FreeBSD, I > would be willing to take the port. I also had problems getting replies > from both the original developer, Bruce Ward (one reply), and the > port maintainer, aaron@daltons.ca (none). Before I take on the port, > I would rather check back with Bruce to see if doorman is still in > active development. > > Lupe Christoph Hello, Lupe. This is Aaron Dalton, the current maintainer. I certainly didn't mean to ignore you. I sent replies to Pav (and I thought I sent some to you, but apparently not). I have attached the email I just sent to Bruce, including all of the emails you have sent me in the past. I wish I could be more help. I'm not a C programmer and that's a disadvantage when a port goes awry. Maybe I'll stick to my perl module ports from now on =) You are welcome to take over if you wish. Sure appreciate your time and understanding! Aaron From owner-freebsd-ports-bugs@FreeBSD.ORG Sun May 22 21:07:57 2005 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DBDD916A420; Sun, 22 May 2005 21:07:57 +0000 (GMT) (envelope-from pav@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id A842543D4C; Sun, 22 May 2005 21:07:57 +0000 (GMT) (envelope-from pav@FreeBSD.org) Received: from freefall.freebsd.org (pav@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j4ML7vkX055554; Sun, 22 May 2005 21:07:57 GMT (envelope-from pav@freefall.freebsd.org) Received: (from pav@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j4ML7vwC055550; Sun, 22 May 2005 21:07:57 GMT (envelope-from pav) Date: Sun, 22 May 2005 21:07:57 GMT From: Pav Lucistnik Message-Id: <200505222107.j4ML7vwC055550@freefall.freebsd.org> To: pav@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org, pav@FreeBSD.org Cc: Subject: Re: ports/81367: security/doorman: mark as BROKEN 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: Sun, 22 May 2005 21:07:58 -0000 Synopsis: security/doorman: mark as BROKEN Responsible-Changed-From-To: freebsd-ports-bugs->pav Responsible-Changed-By: pav Responsible-Changed-When: Sun May 22 21:07:49 GMT 2005 Responsible-Changed-Why: My food http://www.freebsd.org/cgi/query-pr.cgi?pr=81367 From owner-freebsd-ports-bugs@FreeBSD.ORG Sun May 22 21:10:02 2005 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D013B16A41C for ; Sun, 22 May 2005 21:10:02 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7BF1243D48 for ; Sun, 22 May 2005 21:10:02 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j4MLA2if055603 for ; Sun, 22 May 2005 21:10:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j4MLA2U5055602; Sun, 22 May 2005 21:10:02 GMT (envelope-from gnats) Resent-Date: Sun, 22 May 2005 21:10:02 GMT Resent-Message-Id: <200505222110.j4MLA2U5055602@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, Shaun Colley Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AFAC316A41C for ; Sun, 22 May 2005 21:02:17 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8189643D5C for ; Sun, 22 May 2005 21:02:17 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id j4ML2HGD082025 for ; Sun, 22 May 2005 21:02:17 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id j4ML2H6e082024; Sun, 22 May 2005 21:02:17 GMT (envelope-from nobody) Message-Id: <200505222102.j4ML2H6e082024@www.freebsd.org> Date: Sun, 22 May 2005 21:02:17 GMT From: Shaun Colley To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Cc: Subject: ports/81372: gpasm is vulnerable to a buffer overflow 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: Sun, 22 May 2005 21:10:02 -0000 >Number: 81372 >Category: ports >Synopsis: gpasm is vulnerable to a buffer overflow >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun May 22 21:10:02 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Shaun Colley >Release: FreeBSD 5.3-RELEASE >Organization: >Environment: bash-3.00# uname -a FreeBSD my.host.name 5.3-RELEASE FreeBSD 5.3-RELEASE #6: Thu Mar 10 21:08:45 GMT 2005 my.host.name:/usr/src/sys/i386/compile/GENERIC i386 >Description: gpasm, part of the devel/gputils port, is vulnerable to a stack overflow when parsing assembly code. gpasm will segmentation fault when given a long directive in a source file. If a user were tricked into assembling a source file, attacker-controlled code could be executed, giving rise to a security risk. I *suspect* that the problem exists in gp_cod_strncpy, 'libgputils' strncpy wrapper. gp_cod_strncpy's code is as follows: --- /* copy a string to a cod block using the pascal convention, i.e. the string length occupies the first string location */ void gp_cod_strncpy(char *dest, char *src, int max_len) { *(dest-1) = ( (max_len>strlen(src)) ? strlen(src) : max_len ); strncpy(dest, src, *(dest-1)); } --- Although the routine's use of strncpy() may make it look secure, it may not be, because it uses the length of the source as the maximum length. I can not be *absolutely* sure where the overflow is caused, but the above is my suspicion. >How-To-Repeat: Simply feed gpasm a malformed file with a long 'directive'. Here's my test file: --- aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa END --- Upon being fed to gpasm, a seg fault should occur: --- bash-3.00# ./gpasm a Warning [226] Must use inhx8m format for EEPROM8 Segmentation fault (core dumped) bash-3.00# --- It seems evident that a stack overflow *is* actually occuring by observing execution in GDB. --- bash-3.00# ./gpasm a Warning [226] Must use inhx8m format for EEPROM8 Segmentation fault (core dumped) bash-3.00# gdb -q -c gpasm.core Core was generated by `gpasm'. Program terminated with signal 11, Segmentation fault. #0 0x2812bbb4 in ?? () (gdb) bt #0 0x2812bbb4 in ?? () #1 0x0809c200 in ?? () #2 0xbfbfe788 in ?? () #33 0x00000001 in ?? () #34 0x00000004 in ?? () [...] #37 0x61616161 in ?? () #38 0x61616161 in ?? () #39 0x61616161 in ?? () #40 0x61616161 in ?? () #41 0x61616161 in ?? () #42 0x61616161 in ?? () #43 0x61616161 in ?? () #44 0x61616161 in ?? () #45 0x61616161 in ?? () ---Type to continue, or q to quit---Q [...] --- And here's another log: --- bash-3.00# gdb -q ./gpasm (no debugging symbols found)...(gdb) run a Starting program: /usr/ports/devel/gputils/work/gputils-0.12.0/gpasm/gpasm a (no debugging symbols found)...(no debugging symbols found)...Warning [226] Must use inhx8m format for EEPROM8 Program received signal SIGSEGV, Segmentation fault. 0x2812bbb4 in strncpy () from /lib/libc.so.5 (gdb) [...] (gdb) bt full #0 0x2812bbb4 in strncpy () from /lib/libc.so.5 No symbol table info available. #1 0x08057989 in gp_cod_strncpy () No symbol table info available. #2 0x08050a52 in cod_write_symbols () No symbol table info available. #3 0x0804da77 in lst_symbol_table () No symbol table info available. #4 0x080499a4 in assemble () No symbol table info available. #5 0x080490cc in main () No symbol table info available. --- Though I could be wrong on the whole thing together, this seems like a stack overflow, triggered by a malformed source file, due to lack of proper bounds checking in gp_cod_strncpy(). I'm not sure how exploitable this would be, since there seem to be quite a few frames that need to be popped before the overwritten return address finally gets jumped to - and by the looks of it, gpasm seg faults before that, else the return address upon crash would probably be 0x61616161. I haven't look at how exploitable it might be yet - any thoughts on that? >Fix: Further proof that a call to gp_cod_strncpy() is the culprit is the fact that this patch fixes it: --- gpcod.orig.c Sun May 22 21:55:08 2005 +++ gpcod.c Sun May 22 21:55:30 2005 @@ -29,8 +29,8 @@ gp_cod_strncpy(char *dest, char *src, int max_len) { - *(dest-1) = ( (max_len>strlen(src)) ? strlen(src) : max_len ); - strncpy(dest, src, *(dest-1)); + /**(dest-1) = ( (max_len>strlen(src)) ? strlen(src) : max_len )*/; + strncpy(dest, src, 80); } If the patch is applied to /usr/ports/devel/gputils/work/gputils-0.12.0/libgputils/gpcod.c, the overflow no longer exists: --- bash-3.00# ./gpasm a Warning [226] Must use inhx8m format for EEPROM8 bash-3.00# --- I haven't given my opinion on which call to gp_cod_strncpy() is responsible, because fixing the actual wrapper function is probably a more reliable way. The above patch is rough. I have no idea as to the actual requirements of string lengths - 80 might be too short, or too long. I'm sorry if this was too brief, or too many copy-and-pastes were done. I did this in a hurry because I've got revision to be doing. :) >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-ports-bugs@FreeBSD.ORG Sun May 22 23:00:21 2005 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3694616A41C for ; Sun, 22 May 2005 23:00:21 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 381F743D49 for ; Sun, 22 May 2005 23:00:20 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j4MN0Kcc065081 for ; Sun, 22 May 2005 23:00:20 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j4MN0KaX065078; Sun, 22 May 2005 23:00:20 GMT (envelope-from gnats) Resent-Date: Sun, 22 May 2005 23:00:20 GMT Resent-Message-Id: <200505222300.j4MN0KaX065078@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, dennis@serdijn.com Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 58FE416A41C for ; Sun, 22 May 2005 22:52:40 +0000 (GMT) (envelope-from dnns@midgard.noneofyourbusiness.nl) Received: from midgard.noneofyourbusiness.nl (f110127.upc-f.chello.nl [80.56.110.127]) by mx1.FreeBSD.org (Postfix) with ESMTP id AEAF843D1F for ; Sun, 22 May 2005 22:52:38 +0000 (GMT) (envelope-from dnns@midgard.noneofyourbusiness.nl) Received: from midgard.noneofyourbusiness.nl (midgard [127.0.0.1]) by midgard.noneofyourbusiness.nl (8.13.3/8.13.1) with ESMTP id j4MMqaBr040215 for ; Mon, 23 May 2005 00:52:36 +0200 (CEST) (envelope-from dnns@midgard.noneofyourbusiness.nl) Received: (from root@localhost) by midgard.noneofyourbusiness.nl (8.13.3/8.13.1/Submit) id j4MMqaBU040214; Mon, 23 May 2005 00:52:36 +0200 (CEST) (envelope-from dnns) Message-Id: <200505222252.j4MMqaBU040214@midgard.noneofyourbusiness.nl> Date: Mon, 23 May 2005 00:52:36 +0200 (CEST) From: dennis@serdijn.com To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/81373: Update port: irc/ptlink-services fix X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: dennis@serdijn.com List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 May 2005 23:00:21 -0000 >Number: 81373 >Category: ports >Synopsis: Update port: irc/ptlink-services fix >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Sun May 22 23:00:19 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Dennis Cabooter >Release: FreeBSD 5.4-RELEASE i386 >Organization: >Environment: System: FreeBSD midgard.noneofyourbusiness.nl 5.4-RELEASE FreeBSD 5.4-RELEASE #0: Tue May 10 22:53:46 CEST 2005 dnns@midgard.noneofyourbusiness.nl:/usr/obj/usr/src/sys/DESKTOP i386 >Description: >How-To-Repeat: >Fix: --- ptlink-services.diff begins here --- diff -Nru ptlink-services.orig/Makefile ptlink-services/Makefile --- ptlink-services.orig/Makefile Thu May 19 01:52:35 2005 +++ ptlink-services/Makefile Mon May 23 00:44:19 2005 @@ -27,6 +27,7 @@ post-install: @${INSTALL_DATA} ${FILESDIR}/*.sample ${SYSCONFDIR} + @${INSTALL_DATA} ${FILESDIR}/create_tables.sql ${SYSCONFDIR} @${SED} 's,%%SYSCONFDIR%%,${SYSCONFDIR},g' < ${PKGMESSAGE} .include diff -Nru ptlink-services.orig/files/create_tables.sql ptlink-services/files/create_tables.sql --- ptlink-services.orig/files/create_tables.sql Thu Jan 1 01:00:00 1970 +++ ptlink-services/files/create_tables.sql Mon May 23 00:44:19 2005 @@ -0,0 +1,89 @@ +DROP TABLE IF EXISTS nickserv; +CREATE TABLE nickserv ( + snid INT UNSIGNED NOT NULL auto_increment, + nick varchar(32) NOT NULL default '', + t_reg datetime NOT NULL, + t_ident datetime NOT NULL, + t_seen datetime NOT NULL, + t_sign datetime NOT NULL, + pass varchar(32) default NULL, + email varchar(64) default NULL, + url varchar(64) default NULL, + imid varchar(64) default NULL, + location varchar(64) default NULL, + ontime INT UNSIGNED NOT NULL default '0', + username varchar(32) NOT NULL default '0', + realhost varchar(64) default NULL, + info varchar(64) default NULL, + nmask INT UNSIGNED default NULL, + ajoin varchar(128) default NULL, + status int NOT NULL default '0', + flags int NOT NULL default '0', + securitycode varchar(32) default NULL, + lang int NOT NULL default '0', + master_snid INT UNSIGNED NOT NULL default '0', + PRIMARY KEY (snid), + UNIQUE KEY nick (nick) +) Type = InnoDB; + +DROP TABLE IF EXISTS memoserv; +CREATE TABLE memoserv( + smid INT UNSIGNED NOT NULL auto_increment, + owner_snid INT UNSIGNED NOT NULL, + sender_snid INT UNSIGNED NOT NULL, + sender_name varchar(32) NULL, # the sender_snid may drop + flags INT UNSIGNED NOT NULL, + t_send DATETIME NOT NULL, + message VARCHAR(255) NOT NULL, + PRIMARY KEY (smid), + KEY smid (smid) +) Type = InnoDB; + +# Table structure for table `chanserv` +DROP TABLE IF EXISTS chanserv; +CREATE TABLE chanserv ( + scid INT UNSIGNED NOT NULL auto_increment, + name varchar(64) NOT NULL default '', + url varchar(64) default NULL, + email varchar(64) default NULL, + founder INT UNSIGNED NOT NULL default '0', + successor INT UNSIGNED NOT NULL default '0', + last_topic text, + last_topic_setter varchar(32) default NULL, + t_ltopic datetime NOT NULL, + t_reg datetime NOT NULL, + t_last_use datetime NOT NULL, + mlock varchar(64) default NULL, + status int(2) NOT NULL default '0', + flags int(2) NOT NULL default '0', + entrymsg varchar(255) default NULL, + cdesc varchar(255) default NULL, + t_maxusers datetime NOT NULL, + maxusers int(5) NOT NULL default '0', + PRIMARY KEY (scid), + UNIQUE KEY name (name) +) Type = InnoDB; + +# This is just a temporary table to map access list levels +# to chan roles +DROP TABLE IF EXISTS cs_role_temp; +CREATE TABLE cs_role_temp ( + scid INT UNSIGNED NOT NULL, + snid INT UNSIGNED NOT NULL, + who INT UNSIGNED NOT NULL, + rtype INT NOT NULL +) Type = InnoDB; + +DROP TABLE IF EXISTS ircsvs_tables; +CREATE TABLE ircsvs_tables( + name varchar(32) NOT NULL, + version INT UNSIGNED NOT NULL, + inst_time datetime NOT NULL +) Type = InnoDB; + +# this tables are installed by services2 +INSERT INTO ircsvs_tables VALUES ("mysql", 1 , NOW()); +INSERT INTO ircsvs_tables VALUES ("nickserv", 1 , NOW()); +INSERT INTO ircsvs_tables VALUES ("chanserv", 1 , NOW()); +INSERT INTO ircsvs_tables VALUES ("memoserv", 1 , NOW()); + diff -Nru ptlink-services.orig/files/domain.def.sample ptlink-services/files/domain.def.sample --- ptlink-services.orig/files/domain.def.sample Thu Jan 1 01:00:00 1970 +++ ptlink-services/files/domain.def.sample Mon May 23 00:44:19 2005 @@ -0,0 +1,17 @@ +# Please read D +# The format for domain language definitions is: +# domain language_number +# language number must be one from /NickServ HELP SET Language +# Unresolved domains will use the default language +[Domain] +pt 2 +tr 3 +de 4 +at 4 +uk 1 +us 1 +com 1 +it 5 +nl 6 +br 7 + diff -Nru ptlink-services.orig/files/example.conf ptlink-services/files/example.conf --- ptlink-services.orig/files/example.conf Thu May 19 01:52:35 2005 +++ ptlink-services/files/example.conf Thu Jan 1 01:00:00 1970 @@ -1,867 +0,0 @@ -# Example configuration file for Services. After making the appropriate -# changes to this file, place it in the Services data directory (as -# specified in the "configure" script, default $HOME/services/data) -# under the name "services.conf". -# -# The format of this file is fairly simple: a line beginning with a # is a -# comment, and any other non-blank line is expected to be a directive and -# parameters, separated by spaces or tabs. For example: -# -# Directive Parameter-1 Parameter-2 ... -# -# Directives are case-insensitive. Note that some directives do not take -# any parameters; these are typically "on-off" directives, for which simply -# including the directive in this file (or removing it) has an effect on -# Services' functionality. -# -# If a parameter's value is a string which includes spaces, enclose the -# string in double quotation marks, like the example below. Quotes may be -# used around any string at all for clarity. -# -# "This is a parameter string with spaces in it" -# -# If you need to include a double quote inside a quoted string, precede it -# by a backslash: -# -# "This string has \"double quotes\" in it" -# -# Time parameters can be specified either as an integer representing a -# number of seconds (e.g. "3600" = 1 hour), or as an integer with a unit -# specifier: "s" = seconds, "m" = minutes, "h" = hours, "d" = days. -# Combinations (such as "1h30m") are not permitted. Examples (all of which -# represent the same length of time, one day): -# -# "86400", "86400s", "1440m", "24h", "1d" -# -# In the documentation for each directive, one of the following will be -# included to indicate whether an option is required: -# -# [REQUIRED] -# Indicates a directive which must be given. Without it, Services will -# not start. -# -# [RECOMMENDED] -# Indicates a directive which may be omitted, but omitting it may cause -# undesirable side effects. -# -# [OPTIONAL] -# Indicates a directive which is optional. If not given, the feature -# will typically be disabled. If this is not the case, more -# information will be given in the documentation. -# -# [DISCOURAGED] -# Indicates a directive which may cause undesirable side effects if -# specified. -# -# [DEPRECATED] -# Indicates a directive which will disappear in a future version of -# Services, usually because its functionality has been either -# superseded by that of other directives or incorporated into the main -# program. -# - -########################################################################### -# -# Remote server configuration -# -########################################################################### - -# RemoteServer [REQUIRED] -# Specifies the remote server hostname and port. The hostname may -# either be a standard Internet hostname or dotted-quad numeric -# address; the port number must be an integer between 1 and 65535 -# inclusive. The password is a string which should be enclosed in -# double quotes if it contains any spaces (or just for clarity). -# -# The remote server and port may be overridden at runtime with the -# -remote command-line option. The password may not be set at runtime. - -RemoteServer 127.0.0.1 6667 "servpass" - -# LocalAddress [port] [OPTIONAL] -# Specifies the local address to bind to before connecting to the -# remote server. This may be useful on multihomed hosts. The hostname -# and port number are specified the same way as with the RemoteServer -# directive. If this is not specified, Services will let the operating -# system choose the local address. If only a hostname is specified, -# Services will bind to that address but let the operating system -# choose the local port number. -# -# If you don't know what this means or don't need to use it, just leave -# the directive commented out. -# -# This directive may be overridden at runtime by the -local -# command-line option. - -#LocalAddress localhost.ptlink.net - -########################################################################### -# -# Services identification and pseudoclient names -# -########################################################################### - -# ServerName [REQUIRED] -# Specifies the IRC server name which Services should use. May be -# overridden by the -name command-line option. - -ServerName "services.PTlink.net" - -# ServerDesc [REQUIRED] -# Specifies the text which should appear as the server's information in -# /whois and similar queries. May be overridden by the -desc -# command-line option. - -ServerDesc "Services for PTlink IRC network" - -# ServiceUser [REQUIRED] -# Specifies the user@host mask which should be used by the Services -# pseudoclients. May be overridden by the -user and -host command-line -# options. - -ServiceUser "Services@PTlink.net" - -######################## -# IRCd related settings -####################### - -# OperControl [RECOMMENDED] -# Restricts the use of /oper to operserv registered opers -# if a user not services oper/admin tries to become oper -# services will remove their +o status -# NOTE: This may "jam" olines on some situations with ircds -# not coded to handle this features. -# -# Comment it to disable - -OperControl - -# NickChange [RECOMMENDED] -# Selects nick protection between nick change to _nick- -# or the old KILL protection system. -# -# Comment it to select KILL protection mode -NickChange - -# GuestPrefix [Optional] -# If defined will be used for forcec nick changes to -# GuestPrefixNNN -GuestPrefix "PTlink" - -# ...Name [REQUIRED except as noted below] -# Specify the nicknames (first parameter) and "real" names (second -# parameter) for the Services pseudoclients. - -NickServName "NickServ" "Nickname Service" -ChanServName "ChanServ" "Channel Service" -MemoServName "MemoServ" "Memo Service" -OperServName "OperServ" "Operator Service" -NewsServName "NewsServ" "News Service" -GlobalName "Global" "Global Noticer" - -########################################################################### -# -# Services data filenames -# -########################################################################### - -# NOTE: All filenames are relative to the Services data directory. - -# MOTDFile [REQUIRED] -# Specifies the name of the Message of the Day file. - -MOTDFile services.motd - -# ...DB [REQUIRED] -# Specifies the filenames for the various Services subsystems' databases. - -NickServDB nick.db -ChanServDB chan.db -OperServDB oper.db -AutokillDB akill.db -SQlineDB sqline.db -VlineDB vline.db -BotListDB bots.db -NewsDB news.db -NewsServDB newsserv.db -SXlineDB sxline.db -VlinkDB vlink.db - -# DayStatsFN [REQUIRED] -# Specifies the filename for chan/nick stats of the day -# temporary savings - -DayStatsFN stats.today - -# DomainLangFN [RECOMMENDED] -# Specifies the filename for Smart Language selections definitions -# (text file) Please read it and edit it if you had new languages - -DomainLangFN domain.def - -# BalanceHistoryFN [OPTIONAL] -# Will save nick/chans stats at end of day -# Comment it to disable - -BalanceHistoryFN history.log - -# EncryptMethod number [REQUIRED] -# Specifies the encryption method to use for chan/nick passwords, -# 1 - JP2 -# 2 - DES crypt() -# 3 - MD5 -# NOTE: -# On existing passwords the encryption method change will just -# take effect after IDENTIFY for that password. -# Commented will use plain text passwords - -EncryptMethod 3 - -########################################################################### -# -# Logs/Administration/Help Channels -# -########################################################################### - -# LogChan #Channel [RECOMMENDED] -# Services Log's will be dumped to #Channel -# Comment it to disable channel logging -# WARNING: Please be sure to restrict this Channel access for security sake -# NOTE: Do not include # on the channel name , to avoid -# confusion with comment symbol. - -LogChan "Services.log" - -# HelpChan #Channel [RECOMMENDED] -# Causes services to give umode +h (helper) on people, -# entering #Channel with should op access. -# Comment it to disable services setting +h -# NOTE: Do not include # on the channel name , to avoid -# confusion with comment symbol. - -HelpChan "Help" - -# OnAuthChan #Channel [RECOMMENDED] -# When auth system is used services will make users join -# this channel on their firt email authentication. -# NOTE: Do not include # on the channel name , to avoid -# confusion with comment symbol. - -OnAuthChan "Help" - -# AdminChan #Channel [RECOMMENDED] -# Causes services to make user join #Channel on /oper -# Comment it to disable autojoin on admin channel for opers. -# NOTE: Do not include # on the channel name , to avoid -# confusion with comment symbol. - -AdminChan "Admin" - -# AutoJoinChan #Channel [RECOMMENDED] -# Causes services to make all users join #Channel on connection. -# Comment it to disable. -# NOTE: Do not include # on the channel name , to avoid -# confusion with comment symbol. - -#AutoJoinChan "PTlink" - - -########################################################################### -# -# Basic functionality -# -########################################################################### - -# NSMaxNChange number [REQUIRED] -# Max number of allowed forced nick changes before a nick kill -# This is ideal for BOT's which don't identify on nick change -# (Only required if nick protection is nick change (DEFAULT) ) - -NSMaxNChange 5 - -# NoBackupOkay [DISCOURAGED] -# Allows Services to continue file write operations (i.e. database -# saving) even if the original file cannot be backed up. Enabling this -# option may allow Services to continue operation under some conditions -# when it might otherwise fail, such as a nearly-full disk. -# -# *** NOTE *** -# Enabling this option can cause irrecoverable data loss under some -# conditions, so make CERTAIN you know what you're doing when you -# enable it! - -#NoBackupOkay - -# NoSplitRecovery [OPTIONAL] -# Disables Services' recognition of users returning from netsplits. -# Normally (on networks with some sort of timestamp support in the IRC -# server), Services will check via the timestamp field whether a user -# is the same as the last user who identified for the nick, and allow -# the user access to that nick without requiring identification again -# if the timestamps match. Enabling this option will force all users -# to re-identify after a netsplit. -# -# Normally, it's easier on users to leave this disabled, but if you -# suspect one of your servers has been hacked to send false timestamps -# (or you suspect a bug in Services itself) enabling this directive -# will eliminate the possibility of one user "stealing" another's nick -# by pretending to have the same timestamp. -# -# You may also want to uncomment this directive if your servers' clocks -# are very far apart; the less synchronized the servers' clocks are, -# the greater the possibility of someone "taking over" another person's -# nick when a server with a fast clock splits (though the likelihood of -# success is relatively small in any case). - -#NoSplitRecovery - -# ListOpersOnly [DEPRECATED] -# When enabled, limits use of the ChanServ and NickServ LIST commands -# to IRC operators. -# -# This directive has been superseded by the NSListOpersOnly and -# CSListOpersOnly directives. - -#ListOpersOnly - -# StatsOpersOnly [OPTIONAL] -# When enabled, limits use of the ChanServ and NickServ STATS commands -# to Services operators. - -#StatsOpersOnly - -# StrictPasswords [RECOMMENDED] -# When enabled, causes Services to perform more stringent checks on -# passwords. If this is disabled, Services will only disallow a -# password if it is the same as the entity (nickname or channel name) -# with which it is associated. When enabled, however, Services will -# also check that the password is at least five characters long, and -# in the future will probably check other things as well. - -StrictPasswords - -# BadPassLimit [RECOMMENDED] -# Sets the number of invalid password tries before Services removes a -# user from the network. If a user enters invalid passwords -# for any Services function or combination of functions during a -# single IRC session (subect to BadPassTimeout, below), Services will -# issue a /KILL for the user. If not given, Services will ignore -# failed password attempts (though they will be logged in any case). - -BadPassLimit 5 - -# BadPassTimeout