From owner-freebsd-ports Mon Mar 3 11:59:57 2003 Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C8E2B37B401 for ; Mon, 3 Mar 2003 11:59:54 -0800 (PST) Received: from aeimail.aei.ca (aeimail.aei.ca [206.123.6.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id B1D2843F75 for ; Mon, 3 Mar 2003 11:59:53 -0800 (PST) (envelope-from anarcat@anarcat.ath.cx) Received: from shall.anarcat.ath.cx (qw314oaz5n7r3s0l@dsl-128-85.aei.ca [66.36.128.85]) by aeimail.aei.ca (8.11.6/8.10.1) with ESMTP id h23Jxmj17781; Mon, 3 Mar 2003 14:59:49 -0500 (EST) Received: from lenny.anarcat.ath.cx (lenny.anarcat.ath.cx [192.168.0.4]) by shall.anarcat.ath.cx (Postfix) with SMTP id 0F7E1290; Mon, 3 Mar 2003 14:59:47 -0500 (EST) Received: by lenny.anarcat.ath.cx (sSMTP sendmail emulation); Mon, 3 Mar 2003 14:59:54 -0500 Date: Mon, 3 Mar 2003 14:59:54 -0500 From: The Anarcat To: yb@sainte-barbe.org Cc: freebsd-ports@freebsd.org Subject: no-x11 aguri Message-ID: <20030303195954.GJ28126@localhost> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="t5C3/nrmPumNj5sH" Content-Disposition: inline User-Agent: Mutt/1.5.3i Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org --t5C3/nrmPumNj5sH Content-Type: multipart/mixed; boundary="AYsPlKobQGgtCvjI" Content-Disposition: inline --AYsPlKobQGgtCvjI Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hello! Nice proggie, this aguri thing. But it needs X11. I have worked out a patch to make it a optionnally non-x11 port. I have attached a patch to the makefile and the patch to put in files/ itself. A. --AYsPlKobQGgtCvjI Content-Type: text/plain; charset=us-ascii Content-Description: net/aguri/Makefile.patch Content-Disposition: attachment; filename="aguri.patch" Content-Transfer-Encoding: quoted-printable --- Makefile.orig Mon Mar 3 14:02:28 2003 +++ Makefile Mon Mar 3 14:56:56 2003 @@ -13,7 +13,11 @@ MAINTAINER=3D yb@sainte-barbe.org COMMENT=3D "An Aggregation-based Traffic Profiler" =20 +.if defined(WITHOUT_X11) +EXTRA_PATCHES=3D ${FILESDIR}/without-x11.patch +.else USE_XLIB=3D yes +.endif =20 MAN1=3D aguri.1 =20 --AYsPlKobQGgtCvjI Content-Type: text/plain; charset=us-ascii Content-Description: net/agurit/files/without-x11.patch Content-Disposition: attachment; filename="without-x11.patch" Content-Transfer-Encoding: quoted-printable --- Makefile.orig Mon Mar 3 14:01:42 2003 +++ Makefile Mon Mar 3 14:02:07 2003 @@ -2,15 +2,15 @@ =20 PROG=3D aguri OBJS=3D aguri.o aguri_ip.o aguri_pcap.o aguri_plot.o aguri_tree.o \ - read_pcap.o xtree.o + read_pcap.o =20 # uncomment for non-bsd platforms #COMPAT_INCLUDES=3D -Ibsd-compat =20 CFLAGS=3D -g -O -Wall -DEFINES=3D -DINET6 -DAGURI_STATS -DXTREE $(SYS_DEFINES) # -DDEBUG -INCLUDES=3D -I. -I/usr/X11R6/include $(COMPAT_INCLUDES) $(SYS_INCLUDES) -LIBS=3D -lpcap -L/usr/X11R6/lib -lX11 $(SYS_LIBS) +DEFINES=3D -DINET6 -DAGURI_STATS $(SYS_DEFINES) # -DDEBUG +INCLUDES=3D -I. $(COMPAT_INCLUDES) $(SYS_INCLUDES) +LIBS=3D -lpcap $(SYS_LIBS) =20 all: $(PROG) =20 --AYsPlKobQGgtCvjI-- --t5C3/nrmPumNj5sH Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE+Y7Q6ttcWHAnWiGcRAvYgAJ9nGBkqSvTgDm5Q+Q64JMi4uerlMQCfe3EH HzV572G0I/Mrow5mvvuytnQ= =BuSf -----END PGP SIGNATURE----- --t5C3/nrmPumNj5sH-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message