mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-20 20:09:11 +00:00
Update to 1.00. Inspired by
PR: 51448 Submitted by: Kirill Ponomarew <ponomarew@oberon.net>
This commit is contained in:
parent
b5007127c8
commit
ccbc927c38
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=79756
@ -6,16 +6,17 @@
|
||||
#
|
||||
|
||||
PORTNAME= yaunc
|
||||
PORTVERSION= 0.06
|
||||
PORTREVISION= 1
|
||||
PORTVERSION= 1.00
|
||||
CATEGORIES= misc
|
||||
MASTER_SITES= http://www.redterror.net/code/yaunc/
|
||||
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= Yet Another uptimes.net client
|
||||
COMMENT= Yet another uptimes.net client
|
||||
|
||||
USE_REINPLACE= yes
|
||||
GNU_CONFIGURE= yes
|
||||
ALL_TARGET= bsd
|
||||
CFLAGS+= -DCONFFILE=\\\"${PREFIX}/etc/yaunc.conf\\\"
|
||||
|
||||
MAN1= yaunc.1
|
||||
|
||||
post-patch:
|
||||
|
@ -1 +1 @@
|
||||
MD5 (yaunc-0.06.tar.gz) = c1d737eec608db98331a015d0fa2b08d
|
||||
MD5 (yaunc-1.00.tar.gz) = 9495b42fa70d6b6031b4dbf30be9720b
|
||||
|
24
misc/yaunc/files/patch-Makefile
Normal file
24
misc/yaunc/files/patch-Makefile
Normal file
@ -0,0 +1,24 @@
|
||||
|
||||
$FreeBSD$
|
||||
|
||||
--- Makefile.orig Sun Apr 27 19:23:16 2003
|
||||
+++ Makefile Sun Apr 27 19:23:38 2003
|
||||
@@ -1,7 +1,7 @@
|
||||
# Compiler, flags, etc...
|
||||
-CC = cc
|
||||
+#CC = cc
|
||||
#CFLAGS = -Wall -g -DDEBUG2 -DDEBUG1
|
||||
-CFLAGS=-Wall -O2
|
||||
+#CFLAGS=-Wall -O2
|
||||
|
||||
# program variables
|
||||
FILENAME = yaunc
|
||||
@@ -12,7 +12,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
|
||||
OBJ_SUN = $(OBJ1) get_ut_proc.o
|
@ -1,14 +1,14 @@
|
||||
--- usage.c.orig Wed Jul 26 09:38:02 2000
|
||||
+++ usage.c Mon Dec 25 20:10:10 2000
|
||||
@@ -10,9 +10,9 @@
|
||||
|
||||
$FreeBSD$
|
||||
|
||||
--- 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 " 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 " CONFFILE "\n");
|
||||
fprintf(stderr, "\t-h - display this help\n");
|
||||
fprintf(stderr, "\n");
|
||||
exit(0);
|
||||
|
@ -1,36 +0,0 @@
|
||||
|
||||
$FreeBSD$
|
||||
|
||||
--- 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 =
|
@ -1,10 +1,10 @@
|
||||
|
||||
$FreeBSD$
|
||||
|
||||
--- 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 *);
|
||||
--- yaunc.h.orig Fri Mar 14 07:14:11 2003
|
||||
+++ yaunc.h Sun Apr 27 19:15:49 2003
|
||||
@@ -107,8 +107,6 @@
|
||||
int Socket(int, int, int );
|
||||
|
||||
/* other networking function */
|
||||
-int inet_pton(int, const char *, void *);
|
Loading…
Reference in New Issue
Block a user