Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Oct 2002 20:37:02 +0200 (CEST)
From:      Steffen Vogelreuter <steffen@vogelreuter.de>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/44503: New-Port:gtk-imonc
Message-ID:  <20021026183702.CE7EE257@vogelreuter.de>

next in thread | raw e-mail | index | archive | help

>Number:         44503
>Category:       ports
>Synopsis:       New-Port:gtk-imonc
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Oct 26 11:50:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Steffen Vogelreuter
>Release:        FreeBSD 4.7-STABLE i386
>Organization:
>Environment:
System: FreeBSD regenmacher.lan.fli4l 4.7-STABLE FreeBSD 4.7-STABLE #1: Sat Oct 12 08:22:15 CEST 2002 root@regenmacher.lan.fli4l:/usr/obj/usr/src/sys/REGENMACHER i386


	
>Description:
	A gtk based client for the one disk router fli4l
>How-To-Repeat:
	
>Fix:

	

--- gtk-imonc 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:
#
#	gtk-imonc/
#	gtk-imonc/files
#	gtk-imonc/files/patch-timer.c
#	gtk-imonc/Makefile
#	gtk-imonc/distinfo
#	gtk-imonc/pkg-plist
#	gtk-imonc/pkg-descr
#	gtk-imonc/pkg-comment
#
echo c - gtk-imonc/
mkdir -p gtk-imonc/ > /dev/null 2>&1
echo c - gtk-imonc/files
mkdir -p gtk-imonc/files > /dev/null 2>&1
echo x - gtk-imonc/files/patch-timer.c
sed 's/^X//' >gtk-imonc/files/patch-timer.c << 'END-of-gtk-imonc/files/patch-timer.c'
X--- gtk-imonc/timer.c.orig	Fri Aug 16 21:52:15 2002
X+++ gtk-imonc/timer.c	Sat Oct 26 15:43:20 2002
X@@ -183,12 +183,12 @@
X 				row[i] = chargebuf;
X 				break;
X 			case 8: /* IBytes */
X-				tmpbytes = atoll (strtok (NULL, " "));
X+				tmpbytes = atoi (strtok (NULL, " "));
X 				ibytes += tmpbytes;
X 				row[i] = get_bytes (tmpbytes, ibytebuf);
X 				break;
X 			case 9: /* OBytes */
X-				tmpbytes = atoll (strtok (NULL, " "));
X+				tmpbytes = atoi (strtok (NULL, " "));
X 				obytes += tmpbytes;
X 				row[i] = get_bytes (tmpbytes, obytebuf);
X 				break;
X@@ -773,8 +773,8 @@
X 		gtk_clist_set_text (GTK_CLIST (clist), j, 2, get_answer (fd));
X 		
X 		send_command (fd, "quantity pppoe");
X-		gtk_clist_set_text (GTK_CLIST (clist), j, 3, get_bytes (atoll (strtok (get_answer (fd), " ")), buf));
X-		gtk_clist_set_text (GTK_CLIST (clist), j, 4, get_bytes (atoll (strtok (NULL, " ")), buf));
X+		gtk_clist_set_text (GTK_CLIST (clist), j, 3, get_bytes (atoi (strtok (get_answer (fd), " ")), buf));
X+		gtk_clist_set_text (GTK_CLIST (clist), j, 4, get_bytes (atoi (strtok (NULL, " ")), buf));
X 		
X 		send_command (fd, "online-time pppoe");
X 		gtk_clist_set_text (GTK_CLIST (clist), j, 5, get_answer (fd));
X@@ -814,8 +814,8 @@
X 
X 		sprintf (buf, "quantity %i", i);
X 		send_command (fd, buf);
X-		gtk_clist_set_text (GTK_CLIST (clist), (j+i-1), 3, get_bytes (atoll (strtok (get_answer (fd), " ")), buf));
X-		gtk_clist_set_text (GTK_CLIST (clist), (j+i-1), 4, get_bytes (atoll (strtok (NULL, " ")), buf));
X+		gtk_clist_set_text (GTK_CLIST (clist), (j+i-1), 3, get_bytes (atoi (strtok (get_answer (fd), " ")), buf));
X+		gtk_clist_set_text (GTK_CLIST (clist), (j+i-1), 4, get_bytes (atoi (strtok (NULL, " ")), buf));
X 
X 		sprintf (buf, "online-time %i", i);
X 		send_command (fd, buf);
X@@ -892,7 +892,7 @@
X 		return buf;
X 	} 
X 
X-	sprintf (buf, "%lu", (ulong) bytes);
X+	sprintf (buf, "%lu", (long) bytes);
X 	return buf;
X 
X } /* get_bytes (bytes, *buf) */
END-of-gtk-imonc/files/patch-timer.c
echo x - gtk-imonc/Makefile
sed 's/^X//' >gtk-imonc/Makefile << 'END-of-gtk-imonc/Makefile'
X# New ports collection makefile for:	gtk-imonc
X# Date Created:				26.October 2002
X# Whom:					Steffen Vogelreuter
X#
X# $FreeBSD$
X#
X
XPORTNAME=	gtk-imonc
XPORTVERSION=	0.3a
XCATEGORIES=	sysutils
XMASTER_SITES=	http://userpage.fu-berlin.de/~zeank/gtk-imonc/download/
X
XMAINTAINER=	steffen@vogelreuter.de
X
XWRKSRC=		${WRKDIR}/${DISTNAME:S/_/-/}
XALL_TARGET=	#empty
XHAS_CONFIGURE=	yes
XUSE_GMAKE=	yes
XUSE_GNOME=	gnomehack gtk12
XUSE_GNOMENG=	yes
XUSE_REINPLACE=	yes
XUSE_X_PREFIX=	yes
X
Xpost-patch:
X	   @${REINPLACE_CMD} -e 's/gtk-config/gtk12-config/g' \
X	   		     ${WRKSRC}/configure
X	@${REINPLACE_CMD} -e 's/\/usr\/local/\/usr\/X11R6/g' \
X			  ${WRKSRC}/configure
X
X.include <bsd.port.mk>
END-of-gtk-imonc/Makefile
echo x - gtk-imonc/distinfo
sed 's/^X//' >gtk-imonc/distinfo << 'END-of-gtk-imonc/distinfo'
XMD5 (gtk-imonc-0.3a.tar.gz) = b4718cea4076e7af1581092ade9b61f1
END-of-gtk-imonc/distinfo
echo x - gtk-imonc/pkg-plist
sed 's/^X//' >gtk-imonc/pkg-plist << 'END-of-gtk-imonc/pkg-plist'
Xbin/gtk-imonc
Xshare/gtk-imonc/pixmaps/fli4l.xpm
Xshare/gtk-imonc/pixmaps/gtk-imonc.png
Xshare/gtk-imonc/pixmaps/offline.xpm
Xshare/gtk-imonc/pixmaps/online.xpm
Xlib/charset.alias
Xshare/apps/Internet/gtk-imonc.desktop
Xshare/locale/de/LC_MESSAGES/gtk-imonc.mo
Xshare/pixmaps/gtk-imonc.png
X@dirrm share/gtk-imonc/pixmaps
X@dirrm share/gtk-imonc
X@dirrm share/apps/Internet
X@dirrm share/apps
END-of-gtk-imonc/pkg-plist
echo x - gtk-imonc/pkg-descr
sed 's/^X//' >gtk-imonc/pkg-descr << 'END-of-gtk-imonc/pkg-descr'
XA gtk-based client to control the one disc linux router fli4l
XYou can dial, hangup, add lins, remove links, check timetables ... 
X
X
XAuthor: Stefan "Steve" Strigler <zeank@x-berg.de>
XWWW: http://userpage.fu-berlin.de/%7Ezeank/gtk-imonc/
X
X-- Steffen Vogelreuter
Xsteffen@vogelreuter.de
END-of-gtk-imonc/pkg-descr
echo x - gtk-imonc/pkg-comment
sed 's/^X//' >gtk-imonc/pkg-comment << 'END-of-gtk-imonc/pkg-comment'
XA gtk based client to control an one disc fli4l router
END-of-gtk-imonc/pkg-comment
exit
--- gtk-imonc ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021026183702.CE7EE257>