summaryrefslogtreecommitdiff
path: root/misc/yaunc
diff options
context:
space:
mode:
Diffstat (limited to 'misc/yaunc')
-rw-r--r--misc/yaunc/Makefile33
-rw-r--r--misc/yaunc/distinfo2
-rw-r--r--misc/yaunc/files/patch-Makefile21
-rw-r--r--misc/yaunc/files/patch-send_data.c11
-rw-r--r--misc/yaunc/files/patch-usage.c11
-rw-r--r--misc/yaunc/files/patch-yaunc.h11
-rw-r--r--misc/yaunc/files/yaunc.in29
-rw-r--r--misc/yaunc/pkg-descr5
8 files changed, 0 insertions, 123 deletions
diff --git a/misc/yaunc/Makefile b/misc/yaunc/Makefile
deleted file mode 100644
index ee2aa7a9a174..000000000000
--- a/misc/yaunc/Makefile
+++ /dev/null
@@ -1,33 +0,0 @@
-# Created by: nsayer@FreeBSD.org
-# $FreeBSD$
-
-PORTNAME= yaunc
-PORTVERSION= 1.02
-CATEGORIES= misc
-MASTER_SITES= http://www.redterror.net/code/yaunc/
-
-MAINTAINER= jadawin@FreeBSD.org
-COMMENT= Yet another uptimes.net client
-
-BROKEN= unfetchable
-DEPRECATED= Broken for more than 6 months
-EXPIRATION_DATE= 2020-05-05
-
-ALL_TARGET= bsd
-CFLAGS+= -DCONFFILE=\\\"${STAGEDIR}${PREFIX}/etc/yaunc.conf\\\"
-
-PLIST_FILES= bin/yaunc \
- etc/yaunc.conf.sample \
- man/man1/yaunc.1.gz
-
-USE_RC_SUBR= yaunc
-
-post-patch:
- @${REINPLACE_CMD} -e "s|%%PREFIX%%|${STAGEDIR}${PREFIX}|g" ${WRKSRC}/yaunc.1
-
-do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/yaunc ${STAGEDIR}${PREFIX}/bin
- ${INSTALL_MAN} ${WRKSRC}/yaunc.1 ${STAGEDIR}${MANPREFIX}/man/man1
- ${INSTALL_DATA} -m 600 ${WRKSRC}/yaunc.conf ${STAGEDIR}${PREFIX}/etc/yaunc.conf.sample
-
-.include <bsd.port.mk>
diff --git a/misc/yaunc/distinfo b/misc/yaunc/distinfo
deleted file mode 100644
index f00434c279b4..000000000000
--- a/misc/yaunc/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (yaunc-1.02.tar.gz) = c901ac6a1eaa39385e2dcf9bb65d754fe5bb496ef95c5c818ab4a484fa417285
-SIZE (yaunc-1.02.tar.gz) = 13909
diff --git a/misc/yaunc/files/patch-Makefile b/misc/yaunc/files/patch-Makefile
deleted file mode 100644
index da8304f8299b..000000000000
--- a/misc/yaunc/files/patch-Makefile
+++ /dev/null
@@ -1,21 +0,0 @@
---- 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
-+#CC = cc
- #CFLAGS = -Wall -g -DDEBUG2 -DDEBUG1
--CFLAGS=-Wall -O2
-+#CFLAGS=-Wall -O2
- LDFLAGS=-ll
-
- # program variables
-@@ -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_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 --git a/misc/yaunc/files/patch-send_data.c b/misc/yaunc/files/patch-send_data.c
deleted file mode 100644
index aab08db7bd55..000000000000
--- a/misc/yaunc/files/patch-send_data.c
+++ /dev/null
@@ -1,11 +0,0 @@
---- 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 --git a/misc/yaunc/files/patch-usage.c b/misc/yaunc/files/patch-usage.c
deleted file mode 100644
index 495f5ecb5b62..000000000000
--- a/misc/yaunc/files/patch-usage.c
+++ /dev/null
@@ -1,11 +0,0 @@
---- 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 ${PREFIX}/CONFFILE \n");
- fprintf(stderr, "\t-h - display this help\n");
- fprintf(stderr, "\n");
- exit(0);
diff --git a/misc/yaunc/files/patch-yaunc.h b/misc/yaunc/files/patch-yaunc.h
deleted file mode 100644
index c7af63d74fb3..000000000000
--- a/misc/yaunc/files/patch-yaunc.h
+++ /dev/null
@@ -1,11 +0,0 @@
---- 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 *);
--const char * inet_ntop(int, const void *, char *, size_t);
- void Inet_pton(int, const char *, void *);
-
- /* non-networking stuff */
diff --git a/misc/yaunc/files/yaunc.in b/misc/yaunc/files/yaunc.in
deleted file mode 100644
index 4997f5037d1b..000000000000
--- a/misc/yaunc/files/yaunc.in
+++ /dev/null
@@ -1,29 +0,0 @@
-#!/bin/sh
-
-# $FreeBSD$
-#
-# PROVIDE: yaunc
-#
-# Add the following lines to /etc/rc.conf.local or /etc/rc.conf
-# to enable this service:
-#
-# yaunc_enable (bool): Set to NO by default.
-# Set it to YES to enable yaunc.
-# yaunc_config (path): Set to %%PREFIX%%/etc/yaunc.conf
-# by default.
-
-. /etc/rc.subr
-
-name="yaunc"
-rcvar=yaunc_enable
-
-command=%%PREFIX%%/bin/${name}
-
-load_rc_config $name
-
-: ${yaunc_enable="NO"}
-: ${yaunc_config="%%PREFIX%%/etc/yaunc.conf"}
-
-command_args="-f $yaunc_config"
-
-run_rc_command "$1"
diff --git a/misc/yaunc/pkg-descr b/misc/yaunc/pkg-descr
deleted file mode 100644
index 439c02a47a33..000000000000
--- a/misc/yaunc/pkg-descr
+++ /dev/null
@@ -1,5 +0,0 @@
-This is an uptimes.net client. See http://www.uptimes.net/ for a
-description. Note that after installing this port, you MUST edit
-the yaunc.conf file and set the hid, username and password.
-
-WWW: http://www.redterror.net/code/yaunc/