View | Details | Raw Unified | Return to bug 51448
Collapse All | Expand All

(-)yaunc/Makefile (-2 / +2 lines)
Lines 6-12 Link Here
6
#
6
#
7
7
8
PORTNAME=	yaunc
8
PORTNAME=	yaunc
9
PORTVERSION=	0.06
9
PORTVERSION=	1.00
10
PORTREVISION=	1
10
PORTREVISION=	1
11
CATEGORIES=	misc
11
CATEGORIES=	misc
12
MASTER_SITES=	http://www.redterror.net/code/yaunc/
12
MASTER_SITES=	http://www.redterror.net/code/yaunc/
Lines 14-21 Link Here
14
MAINTAINER=	ports@FreeBSD.org
14
MAINTAINER=	ports@FreeBSD.org
15
COMMENT=	Yet Another uptimes.net client
15
COMMENT=	Yet Another uptimes.net client
16
16
17
MAKE_ARGS=	all
17
USE_REINPLACE=	yes
18
USE_REINPLACE=	yes
18
GNU_CONFIGURE=	yes
19
MAN1=		yaunc.1
19
MAN1=		yaunc.1
20
20
21
post-patch:
21
post-patch:
(-)yaunc/distinfo (-1 / +1 lines)
Line 1 Link Here
1
MD5 (yaunc-0.06.tar.gz) = c1d737eec608db98331a015d0fa2b08d
1
MD5 (yaunc-1.00.tar.gz) = 9495b42fa70d6b6031b4dbf30be9720b
(-)yaunc/files/patch-Makefile (+24 lines)
Line 0 Link Here
1
--- Makefile.orig	Sun Apr 27 00:24:12 2003
2
+++ Makefile	Sun Apr 27 00:25:00 2003
3
@@ -5,10 +5,10 @@
4
 
5
 # program variables
6
 FILENAME = yaunc
7
-FILEPATH = /usr/local/bin
8
+FILEPATH = ${PREFIX}/bin
9
 MANPAGE = yaunc.1
10
 MANPATH = /usr/local/man/man1
11
-CONFFILE = /etc/yaunc.conf
12
+CONFFILE = ${PREFIX}/yaunc.conf
13
 
14
 # platform dependant stuff has the appropriate suffix :)
15
 OBJ1 = read_conf.o usage.o unp_error.o encode.o unp_sock_wrappers.o \
16
@@ -31,7 +31,7 @@
17
 	$(CC) $(CFLAGS) -o $(FILENAME) -lsocket -lnsl main.c $(OBJ_SUN);
18
 
19
 # bsd flavors (Open, Free, and Net tested)
20
-bsd : $(OBJ_BSD)
21
+all : $(OBJ_BSD)
22
 	$(CC) $(CFLAGS) -o $(FILENAME) main.c $(OBJ_BSD);
23
 
24
 
(-)yaunc/files/patch-ac (-7 / +4 lines)
Lines 1-14 Link Here
1
--- usage.c.orig	Wed Jul 26 09:38:02 2000
1
--- usage.c.orig	Sun Apr 27 00:31:13 2003
2
+++ usage.c	Mon Dec 25 20:10:10 2000
2
+++ usage.c	Sun Apr 27 00:31:30 2003
3
@@ -10,9 +10,9 @@
3
@@ -10,7 +10,7 @@
4
 	fprintf(stderr, "\n");
4
 	fprintf(stderr, "\n");
5
 	fprintf(stderr, "Options:\n");
5
 	fprintf(stderr, "Options:\n");
6
 	fprintf(stderr, "\t-f <config file> - use the specified config file instead of \n");
6
 	fprintf(stderr, "\t-f <config file> - use the specified config file instead of \n");
7
-	fprintf(stderr, "\t                   of /etc/yaunc.conf\n");
7
-	fprintf(stderr, "\t                   of /etc/yaunc.conf\n");
8
+	fprintf(stderr, "\t                   " SYSCONFDIR "/yaunc.conf\n");
8
+	fprintf(stderr, "\t                   of /usr/local/etc/yaunc.conf\n");
9
 	fprintf(stderr, "\t-d <0/1>         - turn daemon mode off/on\n");
10
-	fprintf(stderr, "\t-l <0/1>			- specify logging off/on");
11
+	fprintf(stderr, "\t-l <0/1>         - specify logging off/on\n");
12
 	fprintf(stderr, "\t-h               - display this help\n");
9
 	fprintf(stderr, "\t-h               - display this help\n");
13
 	fprintf(stderr, "\n");
10
 	fprintf(stderr, "\n");
14
 	exit(0);
11
 	exit(0);
(-)yaunc/files/patch-ae (-36 lines)
Lines 1-36 Link Here
1
2
$FreeBSD: ports/misc/yaunc/files/patch-ae,v 1.2 2002/12/22 15:46:21 naddy Exp $
3
4
--- Makefile.in.orig	Sun Dec 24 02:37:08 2000
5
+++ Makefile.in	Sun Dec 22 16:34:26 2002
6
@@ -71,7 +71,7 @@
7
 
8
 bin_PROGRAMS = yaunc
9
 
10
-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
11
+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
12
 
13
 
14
 EXTRA_yaunc_SOURCES = get_ut_bsd.c get_ut_sun.c get_ut_linux.c
15
@@ -83,8 +83,8 @@
16
 # To tell automake that these should go in the tar
17
 EXTRA_DIST = $(man_MANS) $(sysconf_DATA) TO-DO
18
 
19
-CFLAGS = @CFLAGS@ -Wall -Werror -DSYSCONFDIR=\"$(sysconfdir)\"
20
-LDFLAGS = @LDFLAGS@ -Wall -Werror
21
+CFLAGS = @CFLAGS@ -DSYSCONFDIR=\"$(sysconfdir)\"
22
+LDFLAGS = @LDFLAGS@
23
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
24
 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
25
 CONFIG_HEADER = config.h
26
@@ -96,8 +96,8 @@
27
 CPPFLAGS = @CPPFLAGS@
28
 LIBS = @LIBS@
29
 yaunc_OBJECTS =  daemon_init.o form_data.o inlines.o main.o misc.o \
30
-read_conf.o resolv.o send_data.o sigfuncs.o unp_error.o unp_inet_ntop.o \
31
-unp_inet_pton.o unp_sock_wrappers.o unp_wraplib.o usage.o os_specific.o
32
+read_conf.o resolv.o send_data.o sigfuncs.o unp_error.o \
33
+unp_sock_wrappers.o unp_wraplib.o usage.o os_specific.o
34
 yaunc_LDADD = $(LDADD)
35
 yaunc_DEPENDENCIES = 
36
 yaunc_LDFLAGS = 
(-)yaunc/files/patch-my_hdrs.h (-14 lines)
Lines 1-14 Link Here
1
2
$FreeBSD: ports/misc/yaunc/files/patch-my_hdrs.h,v 1.2 2002/12/22 15:46:21 naddy Exp $
3
4
--- my_hdrs.h.orig	Thu Mar 23 03:32:02 2000
5
+++ my_hdrs.h	Sun Dec 22 16:33:44 2002
6
@@ -34,8 +34,6 @@
7
 ssize_t Recvfrom(int, void *, size_t, int, struct sockaddr *, socklen_t *);
8
 
9
 /* other networking function */
10
-int inet_pton(int, const char *, void *);
11
-const char * inet_ntop(int, const void *, char *, size_t);
12
 void Inet_pton(int, const char *, void *);
13
 
14
 /* non-networking stuff */

Return to bug 51448