Date: Mon, 4 Sep 2000 04:40:03 -0700 (PDT) From: James Housley <jim@thehousleys.net> To: freebsd-ports@FreeBSD.org Subject: Re: ports/18777: New Port: misc/upclient4 www.uptimes.net client Message-ID: <200009041140.EAA16516@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/18777; it has been noted by GNATS. From: James Housley <jim@thehousleys.net> To: freebsd-gnats-submit@FreeBSD.org, jim@thehousleys.net Cc: Subject: Re: ports/18777: New Port: misc/upclient4 www.uptimes.net client Date: Mon, 04 Sep 2000 07:39:50 -0400 This is a multi-part message in MIME format. --------------8C616DA4C5FC9EDE739371EE Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Here is the requested diff against the current uptimes port. Both as a plain text attachment and inline as uuencoded. begin 644 diff.txt M9&EF9B`M<G5.('5P8VQI96YT+TUA:V5F:6QE('5P8VQI96YT-"]-86ME9FEL M90HM+2T@=7!C;&EE;G0O36%K969I;&4)1G)I($%P<B`Q-"`Q-#HS,#HS-B`R M,#`P"BLK*R!U<&-L:65N=#0O36%K969I;&4)5'5E($UA>2`R,R`Q-3HT-CHT M,2`R,#`P"D!`("TQ+#(S("LQ+#0U($!`"B`C($YE=R!P;W)T<R!C;VQL96-T M:6]N(&UA:V5F:6QE(&9O<CH)=7!C;&EE;G0*+2,@1&%T92!C<F5A=&5D.@D) M,C`@075G(#$Y.3D*+2,@5VAO;3H)"0E+96QL>2!986YC97D@/&MB>6%N8T!P M;W-I+FYE=#X**R,@1&%T92!C<F5A=&5D.@D)-2!-87D@,C`P,`HK(R!7:&]M M.@D)"4IA;65S($AO=7-L97D@/&II;4!T:&5H;W5S;&5Y<RYN970^"B`C"BTC M("1&<F5E0E-$.B!P;W)T<R]M:7-C+W5P8VQI96YT+TUA:V5F:6QE+'8@,2XV M(#(P,#`O,#0O,30@,#@Z-#8Z-38@87-A;6D@17AP("0**R,@)$9R965"4T0D M"B`C"B`*(%!/4E1.04U%/0EU<&-L:65N=`HM4$]25%9%4E-)3TX]"3,N,#0* M*U!/4E1615)324]./0DT+C$R"B!#051%1T]22453/0EM:7-C"BU-05-415)? M4TE415,]"6AT='`Z+R]U<'1I;64N:&5X;VXN8W@O9&]W;FQO860O"BM-05-4 M15)?4TE415,]"69T<#HO+V9T<"YU<'1I;65S+FYE="]P=6(O=7!T:6UE<R\@ M7`HK"0EH='1P.B\O9G1P+G5P=&EM97,N;F5T+V1O=VYL;V%D+PH@"BU-04E. M5$%)3D52/0EK8GEA;F-`<&]S:2YN970**TU!24Y404E.15(]"6II;4!T:&5O M=7-L97ES+FYE=`H@"BU"4D]+14X]"0E#;&EE;G0@:7,@;W5T9&%T960@86YD M(&YE=R!C;&EE;G0@8V%N;F]T(&)E(')E87-O;F%B;'D@<&]R=&5D"BM.3U]0 M04-+04=%/0EM>55315(@86YD(&UY4$%34R!N965D('1O(&)E('-E="!A="!C M;VUP:6QE('1I;64*(`HM04Q,7U1!4D=%5#T)8G-D"BU)3E-404Q,7U1!4D=% M5#T)8G-D(&EN<W1A;&P@0U`])"A#4"D**R,@3F5E9"!T;R!D969I;F4@;7E5 M4T52(&%N9"!M>5!!4U,**RYI9B`A9&5F:6YE9"AM>55315(I("8F("%D969I M;F5D*&UY4$%34RD**W!R92UB=6EL9#H**PE`)'M%0TA/?0HK"4`D>T5#2$]] M(%EO=2!M=7-T('-E="!V87)I86)L92!M>55315(@86YD(&UY4$%34R!T;R!T M:&4@=7-E<FYA;64**PE`)'M%0TA/?2!A;F0@<&%S<W=O<F0@>6]U('5S960@ M=&\@<F5G:7-T97(@870@:'1T<#HO+W=W=RYU<'1I;65S+FYE=`HK"4`D>T5# M2$]]"BL)0"1[1D%,4T5]"BLN96QI9B`A9&5F:6YE9"AM>55315(I"BMP<F4M M8G5I;&0Z"BL)0"1[14-(3WT**PE`)'M%0TA/?2!9;W4@;75S="!S970@=F%R M:6%B;&4@;7E54T52('1O('1H92!U<V5R(&YA;64@>6]U(')E9VES=&5R960* M*PE`)'M%0TA/?2!A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#(@0$`*+6)I M;B]U<&-L:65N=`HM971C+W5P8VQI96YT+F-O;F8**W-B:6XO=7!C;&EE;G0* ,*W-B:6XO=7!C:&L* ` end Jim -- "Eagles may soar, but weasels don't get sucked into jet engines" -- Anon --------------8C616DA4C5FC9EDE739371EE Content-Type: text/plain; charset=us-ascii; name="diff.txt" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="diff.txt" diff -ruN upclient/Makefile upclient4/Makefile --- upclient/Makefile Fri Apr 14 14:30:36 2000 +++ upclient4/Makefile Tue May 23 15:46:41 2000 @@ -1,23 +1,45 @@ # New ports collection makefile for: upclient -# Date created: 20 Aug 1999 -# Whom: Kelly Yancey <kbyanc@posi.net> +# Date created: 5 May 2000 +# Whom: James Housley <jim@thehousleys.net> # -# $FreeBSD: ports/misc/upclient/Makefile,v 1.6 2000/04/14 08:46:56 asami Exp $ +# $FreeBSD$ # PORTNAME= upclient -PORTVERSION= 3.04 +PORTVERSION= 4.12 CATEGORIES= misc -MASTER_SITES= http://uptime.hexon.cx/download/ +MASTER_SITES= ftp://ftp.uptimes.net/pub/uptimes/ \ + http://ftp.uptimes.net/download/ -MAINTAINER= kbyanc@posi.net +MAINTAINER= jim@theousleys.net -BROKEN= Client is outdated and new client cannot be reasonably ported +NO_PACKAGE= myUSER and myPASS need to be set at compile time -ALL_TARGET= bsd -INSTALL_TARGET= bsd install CP=$(CP) +# Need to define myUSER and myPASS +.if !defined(myUSER) && !defined(myPASS) +pre-build: + @${ECHO} + @${ECHO} You must set variable myUSER and myPASS to the username + @${ECHO} and password you used to register at http://www.uptimes.net + @${ECHO} + @${FALSE} +.elif !defined(myUSER) +pre-build: + @${ECHO} + @${ECHO} You must set variable myUSER to the user name you registered + @${ECHO} at http://www.uptimes.net + @${ECHO} + @${FALSE} +.elif !defined(myPASS) +pre-build: + @${ECHO} + @${ECHO} You must set variable myPASS the password you received when + @${ECHO} you registered at http://www.uptimes.net + @${ECHO} + @${FALSE} +.endif post-install: - ${CAT} ${PKGMESSAGE} | ${SED} 's:/usr/local:${PREFIX}:g' + @${CAT} ${PKGDIR}/MESSAGE .include <bsd.port.mk> diff -ruN upclient/files/md5 upclient4/files/md5 --- upclient/files/md5 Sat Aug 28 15:27:20 1999 +++ upclient4/files/md5 Tue May 23 15:48:06 2000 @@ -1 +1 @@ -MD5 (upclient-3.04.tar.gz) = 5a67b17ef0ddbd44fa668c81d8de0547 +MD5 (upclient-4.12.tar.gz) = 10a18a314a1b61b67185586a7d2ed073 diff -ruN upclient/patches/patch-aa upclient4/patches/patch-aa --- upclient/patches/patch-aa Sat Aug 28 15:27:20 1999 +++ upclient4/patches/patch-aa Tue May 23 15:58:59 2000 @@ -1,30 +1,21 @@ ---- Makefile.orig Sat Apr 10 02:47:19 1999 -+++ Makefile Fri Aug 20 14:51:05 1999 -@@ -1,7 +1,7 @@ - # Uptime Client Makefile +--- Makefile Sun Jan 23 10:53:15 2000 ++++ Makefile Fri Feb 25 17:58:46 2000 +@@ -10,5 +10,17 @@ + # Uncomment for Solaris + #OPTS = -lsocket -lnsl - # Location of config file (for example /etc/upclient.conf) --CONFIGFILE = upclient.conf -+CONFIGFILE = $(PREFIX)/etc/upclient.conf - - - ################ -@@ -29,10 +29,8 @@ - upclient - - bsd: -- $(MAKE) CC=gcc \ -- LDFLAGS= \ -- OBJECTS= \ -- CFLAGS='-DPLAT_xxxBSD -DCONFIGFILE=\"$(CONFIGFILE)\"' \ -+ $(MAKE) OBJECTS= \ -+ CFLAGS='$(CFLAGS) -DPLAT_xxxBSD -DCONFIGFILE=\"$(CONFIGFILE)\"' \ - upclient - - solaris: -@@ -88,3 +86,5 @@ - install: prepared-for-install - strip $(BINNAME) - chmod 755 $(BINNAME) -+ $(INSTALL) $(BINNAME) $(PREFIX)/bin -+ $(CP) upclient.conf $(PREFIX)/etc ++IDINFO = -DLOGINNAME="\"${myUSER}\"" -DPASSWORD="\"${myPASS}\"" ++ ++all: upclient ++ + upclient: upclient.c config.h +- $(CC) $(OPTS) -Wall -o upclient upclient.c ++ $(CC) $(OPTS) $(IDINFO) -Wall -o upclient upclient.c ++ ++clean: ++ rm upclient ++ ++install: upclient ++ $(INSTALL) -o root -g wheel -m 755 -c -p upclient /usr/local/sbin ++ $(INSTALL) -o root -g wheel -m 755 -c -p upchk /usr/local/sbin ++ diff -ruN upclient/patches/patch-ab upclient4/patches/patch-ab --- upclient/patches/patch-ab Sat Aug 28 15:27:20 1999 +++ upclient4/patches/patch-ab Tue May 23 15:52:50 2000 @@ -1,9 +1,31 @@ ---- upclient.conf.orig Fri Aug 20 11:22:32 1999 -+++ upclient.conf Fri Aug 20 11:25:12 1999 -@@ -3,5 +3,5 @@ - HostID <HostID> - Login <Loginname> - Pass <Password> --Interval 60 -+Interval 550 - UptimeServer uptime.hexon.cx +--- config.h Sun Feb 13 19:00:58 2000 ++++ config.h Fri Feb 25 17:56:10 2000 +@@ -17,7 +17,7 @@ + * Solaris --> #define PLATFORM_CODE 4 + * AIX --> #define PLATFORM_CODE 5 + */ +-#define PLATFORM_CODE -1 ++#define PLATFORM_CODE 1 + + #if (PLATFORM_CODE == 0) + # define PLATFORM_LINUX +@@ -52,8 +52,10 @@ + * If you haven't registered yourself yet, go to + * http://www.uptimes.net/register.html + */ ++/* + #define LOGINNAME "Enter your loginname here" + #define PASSWORD "Enter your password here" ++*/ + + + +@@ -128,7 +128,7 @@ + * + * Where should the client write it's pidfile? + */ +-#define PIDFILE "<path-to>/upclient.pid" ++#define PIDFILE "/var/run/upclient.pid" + + + diff -ruN upclient/pkg/DESCR upclient4/pkg/DESCR --- upclient/pkg/DESCR Mon Jan 24 12:43:54 2000 +++ upclient4/pkg/DESCR Fri May 5 14:19:25 2000 @@ -2,7 +2,6 @@ For more information on the Server Uptimes project visit their web site at: WWW: http://www.uptimes.net/ -(old URL is http://uptime.hexon.cx/) - -Kelly - kbyanc@posi.net +- Jim +jim@thehousleys.net diff -ruN upclient/pkg/MESSAGE upclient4/pkg/MESSAGE --- upclient/pkg/MESSAGE Sat Aug 28 15:27:20 1999 +++ upclient4/pkg/MESSAGE Fri May 5 14:23:40 2000 @@ -1,18 +1,8 @@ Before running the client for the first time, be sure to: - 1. visit the Server Uptimes project web site and register yourself - (WWW: http://uptime.hexon.cx/register.html), + 1. log in (WWW: http://uptime.hexon.cx/login) - 2. log in (WWW: http://uptime.hexon.cx/login) - - 3. Add your host (WWW: http://uptime.hexon.cx/login/cgi-bin/addhost.cgi) + 2. Add your host (WWW: http://uptime.hexon.cx/login/cgi-bin/addhost.cgi) Note that in order to send your uptime information to the uptime server, you hosts need more-or-less full-time Internet access. - -You will also need to edit /usr/local/etc/upclient.conf: -HostID is the ID you've received when you added your host -Login and pass are your login and password -Interval is the amount of time between each update. -Don't set this higher than 10 minutes, or else your host -won't appear in the list. diff -ruN upclient/pkg/PLIST upclient4/pkg/PLIST --- upclient/pkg/PLIST Sat Aug 28 15:27:20 1999 +++ upclient4/pkg/PLIST Mon Feb 28 13:38:39 2000 @@ -1,2 +1,2 @@ -bin/upclient -etc/upclient.conf +sbin/upclient +sbin/upchk --------------8C616DA4C5FC9EDE739371EE-- 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?200009041140.EAA16516>