Date: Fri, 22 Oct 2004 19:24:35 +0400 From: Roman Bogorodskiy <bogorodskiy@inbox.ru> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/73007: [ new port ] sysutils/cdf: a colorized df Message-ID: <E1CL1HO-0009NR-00.bogorodskiy-inbox-ru@mx2.mail.ru> Resent-Message-ID: <200410221530.i9MFUDF9053610@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 73007 >Category: ports >Synopsis: [ new port ] sysutils/cdf: a colorized df >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Fri Oct 22 15:30:13 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Roman Bogorodskiy >Release: FreeBSD 5.3-BETA7 i386 >Organization: >Environment: System: FreeBSD lame.novel.ru 5.3-BETA7 FreeBSD 5.3-BETA7 #12: Sat Oct 16 20:09:15 MSD 2004 root@lame.novel.ru:/usr/obj/usr/home/novel/current/src/sys/NOVEL i386 >Description: cdf means "colorized df". The main features of cdf are: * customazable color schemes * eye-friendly capacity bars * most of such utils needs some 3rd party libraries, python interpreter and so on, while cdf written in pure C http://bmp-plugins.berlios.de/misc/cdf/cdf.html >How-To-Repeat: >Fix: # 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: # # cdf # cdf/pkg-descr # cdf/Makefile # cdf/distinfo # cdf/files # cdf/files/patch-main.c # cdf/files/patch-colors.c # echo c - cdf mkdir -p cdf > /dev/null 2>&1 echo x - cdf/pkg-descr sed 's/^X//' >cdf/pkg-descr << 'END-of-cdf/pkg-descr' Xcdf means "colorized df". The main features of cdf are: X X * customazable color schemes X * eye-friendly capacity bars X * most of such utils needs some 3rd party libraries, python interpreter X and so on, while cdf written in pure C X XWWW: http://bmp-plugins.berlios.de/misc/cdf/cdf.html END-of-cdf/pkg-descr echo x - cdf/Makefile sed 's/^X//' >cdf/Makefile << 'END-of-cdf/Makefile' X# New ports collection makefile for: cdf X# Date created: 2004-10-22 X# Whom: Charlie & <root@lame.novel.ru> X# X# $FreeBSD$ X# X XPORTNAME= cdf XPORTVERSION= 0.1 XCATEGORIES= sysutils XMASTER_SITES= http://bmp-plugins.berlios.de/misc/cdf/ X XMAINTAINER= bogorodskiy@inbox.ru XCOMMENT= A colorized df X XPLIST_FILES= bin/cdf X XGNU_CONFIGURE= yes XCONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} X X.include <bsd.port.mk> END-of-cdf/Makefile echo x - cdf/distinfo sed 's/^X//' >cdf/distinfo << 'END-of-cdf/distinfo' XMD5 (cdf-0.1.tar.gz) = 8591e101a9da0844c010804445091545 XSIZE (cdf-0.1.tar.gz) = 147061 END-of-cdf/distinfo echo c - cdf/files mkdir -p cdf/files > /dev/null 2>&1 echo x - cdf/files/patch-main.c sed 's/^X//' >cdf/files/patch-main.c << 'END-of-cdf/files/patch-main.c' X--- src/main.c.orig Fri Oct 22 19:18:32 2004 X+++ src/main.c Fri Oct 22 19:18:43 2004 X@@ -38,6 +38,8 @@ X X X blocksize = 1048576; X+ X+ read_config_file(expand_filename("~/.cdfrc")); X X while ((ch = getopt(argc, argv, "gkmt:v")) != -1) X switch (ch) { END-of-cdf/files/patch-main.c echo x - cdf/files/patch-colors.c sed 's/^X//' >cdf/files/patch-colors.c << 'END-of-cdf/files/patch-colors.c' X--- src/colors.c.orig Fri Oct 22 19:03:40 2004 X+++ src/colors.c Fri Oct 22 19:04:16 2004 X@@ -53,12 +53,6 @@ X X int read_colors() X { X- X-#ifdef DEBUG X- if (read_config_file(expand_filename("~/.cdfrc")) != 0) X- (void)fprintf(stderr, "Using default color theme\n"); X-#endif /* DEBUG */ X- X bracket_color = (char *)malloc(64); X gauge_color = (char *)malloc(64); X header_color = (char *)malloc(64); END-of-cdf/files/patch-colors.c exit >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1CL1HO-0009NR-00.bogorodskiy-inbox-ru>