ports/51448: Update misc/yaunc: 0.06 -> 1.00
Kirill Ponomarew
ponomarew at oberon.net
Sat Apr 26 22:50:04 UTC 2003
>Number: 51448
>Category: ports
>Synopsis: Update misc/yaunc: 0.06 -> 1.00
>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: Sat Apr 26 15:50:01 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator: Kirill Ponomarew
>Release: FreeBSD 4.8-RELEASE i386
>Organization:
Oberon.net
>Environment:
>Description:
Update misc/yaunc: 0.06 -> 1.00
The new software release of uptimes.net
>How-To-Repeat:
>Fix:
diff -ruN yaunc.orig/Makefile yaunc/Makefile
--- yaunc.orig/Makefile Tue Apr 15 11:53:14 2003
+++ yaunc/Makefile Sun Apr 27 00:27:15 2003
@@ -6,7 +6,7 @@
#
PORTNAME= yaunc
-PORTVERSION= 0.06
+PORTVERSION= 1.00
PORTREVISION= 1
CATEGORIES= misc
MASTER_SITES= http://www.redterror.net/code/yaunc/
@@ -14,8 +14,8 @@
MAINTAINER= ports at FreeBSD.org
COMMENT= Yet Another uptimes.net client
+MAKE_ARGS= all
USE_REINPLACE= yes
-GNU_CONFIGURE= yes
MAN1= yaunc.1
post-patch:
diff -ruN yaunc.orig/distinfo yaunc/distinfo
--- yaunc.orig/distinfo Tue Dec 26 16:20:35 2000
+++ yaunc/distinfo Sun Apr 27 00:03:11 2003
@@ -1 +1 @@
-MD5 (yaunc-0.06.tar.gz) = c1d737eec608db98331a015d0fa2b08d
+MD5 (yaunc-1.00.tar.gz) = 9495b42fa70d6b6031b4dbf30be9720b
diff -ruN yaunc.orig/files/patch-Makefile yaunc/files/patch-Makefile
--- yaunc.orig/files/patch-Makefile Thu Jan 1 01:00:00 1970
+++ yaunc/files/patch-Makefile Sun Apr 27 00:27:26 2003
@@ -0,0 +1,24 @@
+--- Makefile.orig Sun Apr 27 00:24:12 2003
++++ Makefile Sun Apr 27 00:25:00 2003
+@@ -5,10 +5,10 @@
+
+ # program variables
+ FILENAME = yaunc
+-FILEPATH = /usr/local/bin
++FILEPATH = ${PREFIX}/bin
+ MANPAGE = yaunc.1
+ MANPATH = /usr/local/man/man1
+-CONFFILE = /etc/yaunc.conf
++CONFFILE = ${PREFIX}/yaunc.conf
+
+ # platform dependant stuff has the appropriate suffix :)
+ OBJ1 = read_conf.o usage.o unp_error.o encode.o unp_sock_wrappers.o \
+@@ -31,7 +31,7 @@
+ $(CC) $(CFLAGS) -o $(FILENAME) -lsocket -lnsl main.c $(OBJ_SUN);
+
+ # bsd flavors (Open, Free, and Net tested)
+-bsd : $(OBJ_BSD)
++all : $(OBJ_BSD)
+ $(CC) $(CFLAGS) -o $(FILENAME) main.c $(OBJ_BSD);
+
+
diff -ruN yaunc.orig/files/patch-ac yaunc/files/patch-ac
--- yaunc.orig/files/patch-ac Tue Dec 26 16:20:38 2000
+++ yaunc/files/patch-ac Sun Apr 27 00:32:08 2003
@@ -1,14 +1,11 @@
---- usage.c.orig Wed Jul 26 09:38:02 2000
-+++ usage.c Mon Dec 25 20:10:10 2000
-@@ -10,9 +10,9 @@
+--- usage.c.orig Sun Apr 27 00:31:13 2003
++++ usage.c Sun Apr 27 00:31:30 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 " SYSCONFDIR "/yaunc.conf\n");
- fprintf(stderr, "\t-d <0/1> - turn daemon mode off/on\n");
-- fprintf(stderr, "\t-l <0/1> - specify logging off/on");
-+ fprintf(stderr, "\t-l <0/1> - specify logging off/on\n");
++ fprintf(stderr, "\t of /usr/local/etc/yaunc.conf\n");
fprintf(stderr, "\t-h - display this help\n");
fprintf(stderr, "\n");
exit(0);
diff -ruN yaunc.orig/files/patch-ae yaunc/files/patch-ae
--- yaunc.orig/files/patch-ae Tue Apr 15 11:53:14 2003
+++ yaunc/files/patch-ae Thu Jan 1 01:00:00 1970
@@ -1,36 +0,0 @@
-
-$FreeBSD: ports/misc/yaunc/files/patch-ae,v 1.2 2002/12/22 15:46:21 naddy Exp $
-
---- Makefile.in.orig Sun Dec 24 02:37:08 2000
-+++ Makefile.in Sun Dec 22 16:34:26 2002
-@@ -71,7 +71,7 @@
-
- bin_PROGRAMS = yaunc
-
--yaunc_SOURCES = daemon_init.c form_data.c inlines.c main.c misc.c read_conf.c resolv.c send_data.c sigfuncs.c unp_error.c unp_inet_ntop.c unp_inet_pton.c unp_sock_wrappers.c unp_wraplib.c usage.c os_specific.c my_hdrs.h yaunc.h
-+yaunc_SOURCES = daemon_init.c form_data.c inlines.c main.c misc.c read_conf.c resolv.c send_data.c sigfuncs.c unp_error.c unp_sock_wrappers.c unp_wraplib.c usage.c os_specific.c my_hdrs.h yaunc.h
-
-
- EXTRA_yaunc_SOURCES = get_ut_bsd.c get_ut_sun.c get_ut_linux.c
-@@ -83,8 +83,8 @@
- # To tell automake that these should go in the tar
- EXTRA_DIST = $(man_MANS) $(sysconf_DATA) TO-DO
-
--CFLAGS = @CFLAGS@ -Wall -Werror -DSYSCONFDIR=\"$(sysconfdir)\"
--LDFLAGS = @LDFLAGS@ -Wall -Werror
-+CFLAGS = @CFLAGS@ -DSYSCONFDIR=\"$(sysconfdir)\"
-+LDFLAGS = @LDFLAGS@
- ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
- mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
- CONFIG_HEADER = config.h
-@@ -96,8 +96,8 @@
- CPPFLAGS = @CPPFLAGS@
- LIBS = @LIBS@
- yaunc_OBJECTS = daemon_init.o form_data.o inlines.o main.o misc.o \
--read_conf.o resolv.o send_data.o sigfuncs.o unp_error.o unp_inet_ntop.o \
--unp_inet_pton.o unp_sock_wrappers.o unp_wraplib.o usage.o os_specific.o
-+read_conf.o resolv.o send_data.o sigfuncs.o unp_error.o \
-+unp_sock_wrappers.o unp_wraplib.o usage.o os_specific.o
- yaunc_LDADD = $(LDADD)
- yaunc_DEPENDENCIES =
- yaunc_LDFLAGS =
diff -ruN yaunc.orig/files/patch-my_hdrs.h yaunc/files/patch-my_hdrs.h
--- yaunc.orig/files/patch-my_hdrs.h Sun Dec 22 16:46:21 2002
+++ yaunc/files/patch-my_hdrs.h Thu Jan 1 01:00:00 1970
@@ -1,14 +0,0 @@
-
-$FreeBSD: ports/misc/yaunc/files/patch-my_hdrs.h,v 1.2 2002/12/22 15:46:21 naddy Exp $
-
---- my_hdrs.h.orig Thu Mar 23 03:32:02 2000
-+++ my_hdrs.h Sun Dec 22 16:33:44 2002
-@@ -34,8 +34,6 @@
- ssize_t Recvfrom(int, void *, size_t, int, struct sockaddr *, socklen_t *);
-
- /* other networking function */
--int inet_pton(int, const char *, void *);
--const char * inet_ntop(int, const void *, char *, size_t);
- void Inet_pton(int, const char *, void *);
-
- /* non-networking stuff */
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list