diff options
author | Nick Sayer <nsayer@FreeBSD.org> | 2000-03-09 18:05:48 +0000 |
---|---|---|
committer | Nick Sayer <nsayer@FreeBSD.org> | 2000-03-09 18:05:48 +0000 |
commit | 8d59a14f13154baa6ffef97a5065f4958582c3ee (patch) | |
tree | 645d2421aef007fbe487058f0f9ed489abb60e93 /misc | |
parent | Include libXThrStub.so on the Alpha package version. (diff) |
yaunc is "yet another" client for the Uptimes project, at www.uptimes.net.
Notes
Notes:
svn path=/head/; revision=26695
Diffstat (limited to 'misc')
-rw-r--r-- | misc/yaunc/Makefile | 28 | ||||
-rw-r--r-- | misc/yaunc/distinfo | 1 | ||||
-rw-r--r-- | misc/yaunc/files/patch-aa | 50 | ||||
-rw-r--r-- | misc/yaunc/files/patch-ab | 11 | ||||
-rw-r--r-- | misc/yaunc/files/startup | 2 | ||||
-rw-r--r-- | misc/yaunc/pkg-comment | 1 | ||||
-rw-r--r-- | misc/yaunc/pkg-descr | 5 | ||||
-rw-r--r-- | misc/yaunc/pkg-plist | 3 |
8 files changed, 101 insertions, 0 deletions
diff --git a/misc/yaunc/Makefile b/misc/yaunc/Makefile new file mode 100644 index 000000000000..bbdd9e78fb2e --- /dev/null +++ b/misc/yaunc/Makefile @@ -0,0 +1,28 @@ +# New ports collection makefile for: yaunc +# Version required: 0.02 +# Date created: 5 March 2000 +# Whom: nsayer@freebsd.org +# +# $FreeBSD$ +# + +DISTNAME= yaunc-0.02 +CATEGORIES= misc +MASTER_SITES= http://www.redterror.net/code/yaunc/ + +MAINTAINER= nsayer@freebsd.org + +WRKSRC= ${WRKDIR}/yaunc + +MAN1= yaunc.1 + +do-install: + ( cd ${WRKSRC} ;\ + ${INSTALL_PROGRAM} yaunc ${PREFIX}/bin ;\ + ${INSTALL_DATA} -m 600 yaunc.conf ${PREFIX}/etc/yaunc.conf.sample ;\ + ${INSTALL_MAN} yaunc.man ${PREFIX}/man/man1/yaunc.1 ;\ + ${SED} s+%%PREFIX%%+${PREFIX}+g < ${FILESDIR}/startup > \ + ${PREFIX}/etc/rc.d/yaunc.sh ;\ + chmod 755 ${PREFIX}/etc/rc.d/yaunc.sh ) + +.include <bsd.port.mk> diff --git a/misc/yaunc/distinfo b/misc/yaunc/distinfo new file mode 100644 index 000000000000..26398de81bfe --- /dev/null +++ b/misc/yaunc/distinfo @@ -0,0 +1 @@ +MD5 (yaunc-latest.tar.gz) = a5c9bf1e1e72064c80dc5c3d66292863 diff --git a/misc/yaunc/files/patch-aa b/misc/yaunc/files/patch-aa new file mode 100644 index 000000000000..1cb387e3f1a1 --- /dev/null +++ b/misc/yaunc/files/patch-aa @@ -0,0 +1,50 @@ +--- Makefile.orig Sun Mar 5 11:18:06 2000 ++++ Makefile Sun Mar 5 11:29:57 2000 +@@ -1,6 +1,9 @@ + # Compiler, flags, etc... +-CC = gcc +-CFLAGS = -ansi -pedantic -Wall -O3 #-DDEBUG2 -DDEBUG1 ++#CC = gcc ++#CFLAGS = -ansi -pedantic -Wall -O3 #-DDEBUG2 -DDEBUG1 ++CFLAGS+= -DETCDIR=\"$(PREFIX)/etc/\" ++ ++all: bsd + + # platform dependant stuff has the appropriate suffix :) + OBJ1 = read_conf.o usage.o unp_error.o encode.o unp_sock_wrappers.o \ +@@ -24,23 +27,23 @@ + linux_funcs.o get_ut_proc.o get_ut_bsd.o : yaunc.h my_hdrs.h + + # housekeeping +-.PHONY : clean distclean install uninstall package backup +-clean : +- rm -f *.o core +-distclean : clean +- rm -f yaunc ++#.PHONY : clean distclean install uninstall package backup ++#clean : ++# rm -f *.o core ++#distclean : clean ++# rm -f yaunc + + install : +- cp yaunc /usr/local/bin ; \ +- cp yaunc.1 /usr/local/man/man1 ; \ +- cp yaunc.conf /etc/ ++ ${INSTALL_PROGRAM} yaunc $(PREFIX)/bin ++ ${INSTALL_MAN} yaunc.1 $(PREFIX)/man/man1 ++ ${INSTALL_DATA} yaunc.conf $(PREFIX)/etc + + uninstall : + rm /usr/local/bin/yaunc ; \ + rm /usr/local/man/man1/yaunc.1 ; \ + rm /etc/yaunc.conf + +-package : distclean +- cd .. ; tar -cf - yaunc | gzip -9 > yaunc-`cat yaunc/VERSION`.tar.gz +-backup : distclean +- cp -a . ../src_backup ++#package : distclean ++# cd .. ; tar -cf - yaunc | gzip -9 > yaunc-`cat yaunc/VERSION`.tar.gz ++#backup : distclean ++# cp -a . ../src_backup diff --git a/misc/yaunc/files/patch-ab b/misc/yaunc/files/patch-ab new file mode 100644 index 000000000000..db393d6669da --- /dev/null +++ b/misc/yaunc/files/patch-ab @@ -0,0 +1,11 @@ +--- main.c.orig Sun Mar 5 11:26:38 2000 ++++ main.c Sun Mar 5 11:26:57 2000 +@@ -13,7 +13,7 @@ + struct utsname sys_info; + struct info info; + time_t uptime; +- char * path = "/etc/yaunc.conf"; ++ char * path = ETCDIR"yaunc.conf"; + char * data_ptr; + + /* read data from the conf file */ diff --git a/misc/yaunc/files/startup b/misc/yaunc/files/startup new file mode 100644 index 000000000000..55e847af6f9d --- /dev/null +++ b/misc/yaunc/files/startup @@ -0,0 +1,2 @@ +#! /bin/sh +[ -x %%PREFIX%%/bin/yaunc -a -f %%PREFIX%%/etc/yaunc.conf ] && %%PREFIX%%/bin/yaunc & && echo -n ' yaunc' diff --git a/misc/yaunc/pkg-comment b/misc/yaunc/pkg-comment new file mode 100644 index 000000000000..58a25082e0e4 --- /dev/null +++ b/misc/yaunc/pkg-comment @@ -0,0 +1 @@ +Yet Another uptimes.net client diff --git a/misc/yaunc/pkg-descr b/misc/yaunc/pkg-descr new file mode 100644 index 000000000000..439c02a47a33 --- /dev/null +++ b/misc/yaunc/pkg-descr @@ -0,0 +1,5 @@ +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/ diff --git a/misc/yaunc/pkg-plist b/misc/yaunc/pkg-plist new file mode 100644 index 000000000000..9eff03fc48c3 --- /dev/null +++ b/misc/yaunc/pkg-plist @@ -0,0 +1,3 @@ +bin/yaunc +etc/rc.d/yaunc.sh +etc/yaunc.conf.sample |