From owner-freebsd-ports Sat Jun 2 23:50:11 2001 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 1503437B423 for ; Sat, 2 Jun 2001 23:50:05 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f536o4M21479; Sat, 2 Jun 2001 23:50:04 -0700 (PDT) (envelope-from gnats) Date: Sat, 2 Jun 2001 23:50:04 -0700 (PDT) Message-Id: <200106030650.f536o4M21479@freefall.freebsd.org> To: freebsd-ports@FreeBSD.org Cc: From: Tony Maher Subject: Re: ports/27836: New port: Trafcount is loadable module for freebsd lets admin see how much amount of data was transfered by each user Reply-To: Tony Maher 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 The following reply was made to PR ports/27836; it has been noted by GNATS. From: Tony Maher To: freebsd-gnats-submit@FreeBSD.org, amir@boom.org.il Cc: Subject: Re: ports/27836: New port: Trafcount is loadable module for freebsd lets admin see how much amount of data was transfered by each user Date: Sun, 03 Jun 2001 16:43:50 +1000 Hello, very nice!!! One nit though, it does not install properly if /usr/local/modules does not pre-exist. It installs the module as a file "/usr/local/modules" changing trafcount-0.2.1/module KMODDIR = /usr/local/modules to KMODDIR = /usr/local/modules/ doesn't help (except it gives an immediate and obvious error message). Since the install target comes from /usr/src/sys/conf/kmod.mk a pre-install target in main port Makefile to check and make the directory would be a simple solution e.g. pre-install: install -d ${PREFIX}/modules Though I am sure there is some better way ;-) tonym To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message