From owner-freebsd-ports Sun Jun 10 7:30:14 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 61F4937B401 for ; Sun, 10 Jun 2001 07:30:03 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.3/8.11.3) id f5AEU3Q73791; Sun, 10 Jun 2001 07:30:03 -0700 (PDT) (envelope-from gnats) Received: from electron.databits.net (electron.databits.net [207.29.204.16]) by hub.freebsd.org (Postfix) with ESMTP id 12B3C37B401 for ; Sun, 10 Jun 2001 07:25:57 -0700 (PDT) (envelope-from petef@electron.databits.net) Received: (from petef@localhost) by electron.databits.net (8.11.3/8.11.3) id f5AEPSB08194; Sun, 10 Jun 2001 10:25:28 -0400 (EDT) (envelope-from petef) Message-Id: <200106101425.f5AEPSB08194@electron.databits.net> Date: Sun, 10 Jun 2001 10:25:28 -0400 (EDT) From: petef@databits.net Reply-To: petef@databits.net To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: ports/28011: New port: net/amyc 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 >Number: 28011 >Category: ports >Synopsis: New port: net/amyc >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun Jun 10 07:30:01 PDT 2001 >Closed-Date: >Last-Modified: >Originator: Pete Fritchman >Release: FreeBSD 4.3-STABLE i386 >Organization: Databits Network Services, Inc. >Environment: System: FreeBSD electron.databits.net 4.3-STABLE FreeBSD 4.3-STABLE #5: Sat Jun 2 18:08:29 EDT 2001 root@electron.databits.net:/usr/obj/usr/src/sys/ELECTRON i386 >Description: "About my Cache" is a powerful utility to help you keep track of what's going on in Netscape's cache directory. It does basically the same as entering "about:cache", but provides a much better overview. WWW: http://www.crevola.com/about/ >How-To-Repeat: N/A >Fix: (Note: the included patch has been submitted to the author) # 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: # # amyc # amyc/pkg-descr # amyc/pkg-plist # amyc/Makefile # amyc/distinfo # amyc/pkg-comment # amyc/files # amyc/files/patch-src::amyc_prefs.c # echo c - amyc mkdir -p amyc > /dev/null 2>&1 echo x - amyc/pkg-descr sed 's/^X//' >amyc/pkg-descr << 'END-of-amyc/pkg-descr' X"About my Cache" is a powerful utility to help you keep track of Xwhat's going on in Netscape's cache directory. It does basically Xthe same as entering "about:cache", but provides a much better Xoverview. X XWWW: http://www.crevola.com/about/ X X- Pete Xpetef@databits.net END-of-amyc/pkg-descr echo x - amyc/pkg-plist sed 's/^X//' >amyc/pkg-plist << 'END-of-amyc/pkg-plist' Xbin/amyc X%%WITH_GTK%%bin/amycg Xshare/locale/fr/LC_MESSAGES/amyc.mo X@unexec rmdir share/locale/fr/LC_MESSAGES 2>/dev/null || true X@unexec rmdir share/locale/fr 2>/dev/null || true END-of-amyc/pkg-plist echo x - amyc/Makefile sed 's/^X//' >amyc/Makefile << 'END-of-amyc/Makefile' X# New ports collection makefile for: amyc X# Date Created: 10 June 2001 X# Whom: Pete Fritchman X# X# $FreeBSD$ X# X XPORTNAME= amyc XPORTVERSION= 0.9.159 XCATEGORIES= net XMASTER_SITES= http://www.crevola.com/about/current/ X XMAINTAINER= petef@databits.net X XLIB_DEPENDS= db3.2:${PORTSDIR}/databases/db3 \ X intl.1:${PORTSDIR}/devel/gettext X XGNU_CONFIGURE= yes XCONFIGURE_ENV= CFLAGS="${CFLAGS} -L${LOCALBASE}/lib -I${LOCALBASE}/include" X XWANT_GTK= yes X X.include X X.if defined(HAVE_GTK) XUSE_GTK= yes XCONFIGURE_ENV+= GTK_CONFIG="${GTK_CONFIG}" XPLIST_SUB= WITH_GTK="" X.else XPLIST_SUB= WITH_GTK="@comment " X.endif X X.include END-of-amyc/Makefile echo x - amyc/distinfo sed 's/^X//' >amyc/distinfo << 'END-of-amyc/distinfo' XMD5 (amyc-0.9.159.tar.gz) = 5c56091fb75bb3dfd31c5e1f2828d843 END-of-amyc/distinfo echo x - amyc/pkg-comment sed 's/^X//' >amyc/pkg-comment << 'END-of-amyc/pkg-comment' XDisplay the contents of your Netscape cache END-of-amyc/pkg-comment echo c - amyc/files mkdir -p amyc/files > /dev/null 2>&1 echo x - amyc/files/patch-src::amyc_prefs.c sed 's/^X//' >amyc/files/patch-src::amyc_prefs.c << 'END-of-amyc/files/patch-src::amyc_prefs.c' X--- src/amyc_prefs.c.orig Fri Jun 8 18:21:45 2001 X+++ src/amyc_prefs.c Sun Jun 10 10:09:42 2001 X@@ -126,7 +126,7 @@ X } X if (prefs->resultdirectory == NULL) { X prefs->resultdirectory = malloc (LINE_LEN * sizeof (char)); X- sprintf (prefs->resultdirectory, "%s", "/tmp"); X+ sprintf (prefs->resultdirectory, "%s", getenv("HOME")); X used_default_value = 1; X } X X@@ -307,6 +307,7 @@ X sprintf (filename, "%s/result.html", prefs->resultdirectory); X strtmp = give_correct_path ((char *)filename); X output = fopen (strtmp, "w"); X+ printf ("Dumping results to %s\n", filename); X if (output == NULL) { X perror (strtmp); X #warning TOTO: better error handling END-of-amyc/files/patch-src::amyc_prefs.c exit >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message