Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Oct 2007 16:44:00 +0200 (CEST)
From:      Philippe Audeoud <jadawin@tuxaco.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/117137: [UPDATE] : misc/yaunc - update version and maintainer.
Message-ID:  <20071012144400.0D223EA69@huppa.tuxaco.net>
Resent-Message-ID: <200710121450.l9CEo3Ec009558@freefall.freebsd.org>

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

>Number:         117137
>Category:       ports
>Synopsis:       [UPDATE] : misc/yaunc - update version and maintainer.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Oct 12 14:50:02 UTC 2007
>Closed-Date:
>Last-Modified:
>Originator:     Philippe Audeoud
>Release:        FreeBSD 6.2-RELEASE i386
>Organization:
>Environment:
System: FreeBSD huppa.tuxaco.net 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Tue Mar 20 16:05:42 CET 2007 root@:/usr/obj/usr/src/sys/GENERIC i386


	
>Description:
	Update version and take maintainership. I also fixed a portlint's fatal error.
>How-To-Repeat:
	
>Fix:

	

--- patch-yaunc.1 begins here ---
diff -urN yaunc.orig/Makefile yaunc/Makefile
--- yaunc.orig/Makefile	Fri Oct 12 15:28:37 2007
+++ yaunc/Makefile	Fri Oct 12 15:40:59 2007
@@ -6,15 +6,19 @@
 #
 
 PORTNAME=	yaunc
-PORTVERSION=	1.00
+PORTVERSION=	1.02
 CATEGORIES=	misc
 MASTER_SITES=	http://www.redterror.net/code/yaunc/
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	jadawin@tuxaco.net
 COMMENT=	Yet another uptimes.net client
 
 ALL_TARGET=	bsd
 CFLAGS+=	-DCONFFILE=\\\"${PREFIX}/etc/yaunc.conf\\\"
+
+PLIST=	bin/yaunc \
+	etc/rc.d/yaunc.sh \
+	etc/yaunc.conf.sample
 
 MAN1=		yaunc.1
 
diff -urN yaunc.orig/distinfo yaunc/distinfo
--- yaunc.orig/distinfo	Fri Oct 12 15:28:37 2007
+++ yaunc/distinfo	Fri Oct 12 15:29:32 2007
@@ -1,3 +1,3 @@
-MD5 (yaunc-1.00.tar.gz) = 9495b42fa70d6b6031b4dbf30be9720b
-SHA256 (yaunc-1.00.tar.gz) = 90e612ea54396d071300fa273f6393429f2d7785145917c70129ad98eca36069
-SIZE (yaunc-1.00.tar.gz) = 17718
+MD5 (yaunc-1.02.tar.gz) = eec7724e68e1e680f88a57c6d3a6ef6c
+SHA256 (yaunc-1.02.tar.gz) = c901ac6a1eaa39385e2dcf9bb65d754fe5bb496ef95c5c818ab4a484fa417285
+SIZE (yaunc-1.02.tar.gz) = 13909
diff -urN yaunc.orig/files/patch-Makefile yaunc/files/patch-Makefile
--- yaunc.orig/files/patch-Makefile	Fri Oct 12 15:28:37 2007
+++ yaunc/files/patch-Makefile	Fri Oct 12 15:32:39 2007
@@ -1,8 +1,5 @@
-
-$FreeBSD: ports/misc/yaunc/files/patch-Makefile,v 1.1 2003/04/27 17:30:07 naddy Exp $
-
---- Makefile.orig	Sun Apr 27 19:23:16 2003
-+++ Makefile	Sun Apr 27 19:23:38 2003
+--- Makefile.orig	Thu May  8 17:25:31 2003
++++ Makefile	Fri Oct 12 15:31:56 2007
 @@ -1,7 +1,7 @@
  # Compiler, flags, etc...
 -CC = cc
@@ -10,15 +7,15 @@
  #CFLAGS = -Wall -g -DDEBUG2 -DDEBUG1
 -CFLAGS=-Wall -O2
 +#CFLAGS=-Wall -O2
+ LDFLAGS=-ll
  
  # program variables
- FILENAME = yaunc
-@@ -12,7 +12,7 @@
+@@ -13,7 +13,7 @@
  
  # platform dependant stuff has the appropriate suffix :)
  OBJ1 = read_conf.o usage.o unp_error.o encode.o unp_sock_wrappers.o \
 -		 unp_inet_pton.o unp_inet_ntop.o unp_wraplib.o send_data.o \
-+		 unp_wraplib.o send_data.o \
- 		 resolv.o daemon_init.o sigfuncs.o inlines.o
- OBJ_LIN = $(OBJ1) linux_funcs.o
++		 unp_inet_pton.o send_data.o \
+ 		 resolv.o daemon_init.o sigfuncs.o inlines.o main.o
+ OBJ_LIN = $(OBJ1) get_ut_linux.o
  OBJ_SUN = $(OBJ1) get_ut_proc.o
diff -urN yaunc.orig/files/patch-ac yaunc/files/patch-ac
--- yaunc.orig/files/patch-ac	Fri Oct 12 15:28:37 2007
+++ yaunc/files/patch-ac	Thu Jan  1 01:00:00 1970
@@ -1,14 +0,0 @@
-
-$FreeBSD: ports/misc/yaunc/files/patch-ac,v 1.3 2003/04/27 17:30:07 naddy Exp $
-
---- usage.c.orig	Sun Apr 27 19:11:03 2003
-+++ usage.c	Sun Apr 27 19:11:26 2003
-@@ -10,7 +10,7 @@
- 	fprintf(stderr, "\n");
- 	fprintf(stderr, "Options:\n");
- 	fprintf(stderr, "\t-f <config file> - use the specified config file instead of \n");
--	fprintf(stderr, "\t                   of /etc/yaunc.conf\n");
-+	fprintf(stderr, "\t                   of " CONFFILE "\n");
- 	fprintf(stderr, "\t-h               - display this help\n");
- 	fprintf(stderr, "\n");
- 	exit(0);
diff -urN yaunc.orig/files/patch-ad yaunc/files/patch-ad
--- yaunc.orig/files/patch-ad	Fri Oct 12 15:28:37 2007
+++ yaunc/files/patch-ad	Thu Jan  1 01:00:00 1970
@@ -1,11 +0,0 @@
---- yaunc.1.origt	Fri Mar 17 17:38:45 2000
-+++ yaunc.1	Sat Dec 16 16:40:02 2000
-@@ -25,7 +25,7 @@
- \fIYauc\fP accepts the following options:
- .TP 8
- .B  \-f conf_file
--Specify an alternate configuration file.  Default is /etc/yaunc.conf.
-+Specify an alternate configuration file.  Default is %%PREFIX%%/etc/yaunc.conf.
- .B  \-h
- Display usage information.
- .
diff -urN yaunc.orig/files/patch-send_data.c yaunc/files/patch-send_data.c
--- yaunc.orig/files/patch-send_data.c	Thu Jan  1 01:00:00 1970
+++ yaunc/files/patch-send_data.c	Fri Oct 12 15:38:10 2007
@@ -0,0 +1,11 @@
+--- send_data.c.orig	Fri Oct 12 15:36:52 2007
++++ send_data.c	Fri Oct 12 15:36:58 2007
+@@ -30,7 +30,7 @@
+ 	memset(&servaddr, '0', sizeof(servaddr));
+ 	servaddr.sin_family = AF_INET;
+ 	servaddr.sin_port = htons(UPPORT);
+-	Inet_pton(AF_INET, ip, &servaddr.sin_addr);
++	inet_pton(AF_INET, ip, &servaddr.sin_addr);
+ 	free(ip);
+ 
+ 	/* communicate via the socket, with the server */
diff -urN yaunc.orig/files/patch-usage.c yaunc/files/patch-usage.c
--- yaunc.orig/files/patch-usage.c	Thu Jan  1 01:00:00 1970
+++ yaunc/files/patch-usage.c	Sun Apr 27 19:30:07 2003
@@ -0,0 +1,14 @@
+
+$FreeBSD: ports/misc/yaunc/files/patch-ac,v 1.3 2003/04/27 17:30:07 naddy Exp $
+
+--- usage.c.orig	Sun Apr 27 19:11:03 2003
++++ usage.c	Sun Apr 27 19:11:26 2003
+@@ -10,7 +10,7 @@
+ 	fprintf(stderr, "\n");
+ 	fprintf(stderr, "Options:\n");
+ 	fprintf(stderr, "\t-f <config file> - use the specified config file instead of \n");
+-	fprintf(stderr, "\t                   of /etc/yaunc.conf\n");
++	fprintf(stderr, "\t                   of " CONFFILE "\n");
+ 	fprintf(stderr, "\t-h               - display this help\n");
+ 	fprintf(stderr, "\n");
+ 	exit(0);
diff -urN yaunc.orig/files/patch-yaunc.1 yaunc/files/patch-yaunc.1
--- yaunc.orig/files/patch-yaunc.1	Thu Jan  1 01:00:00 1970
+++ yaunc/files/patch-yaunc.1	Tue Dec 19 09:14:05 2000
@@ -0,0 +1,11 @@
+--- yaunc.1.origt	Fri Mar 17 17:38:45 2000
++++ yaunc.1	Sat Dec 16 16:40:02 2000
+@@ -25,7 +25,7 @@
+ \fIYauc\fP accepts the following options:
+ .TP 8
+ .B  \-f conf_file
+-Specify an alternate configuration file.  Default is /etc/yaunc.conf.
++Specify an alternate configuration file.  Default is %%PREFIX%%/etc/yaunc.conf.
+ .B  \-h
+ Display usage information.
+ .
diff -urN yaunc.orig/pkg-plist yaunc/pkg-plist
--- yaunc.orig/pkg-plist	Fri Oct 12 15:28:37 2007
+++ yaunc/pkg-plist	Thu Jan  1 01:00:00 1970
@@ -1,3 +0,0 @@
-bin/yaunc
-etc/rc.d/yaunc.sh
-etc/yaunc.conf.sample
--- patch-yaunc.1 ends here ---


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



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