diff options
author | sobomax <sobomax@FreeBSD.org> | 2000-12-19 16:14:05 +0800 |
---|---|---|
committer | sobomax <sobomax@FreeBSD.org> | 2000-12-19 16:14:05 +0800 |
commit | ad05b3792c45de43d0096adb2cc141bceadd9177 (patch) | |
tree | b9754bb54be133f176065cd1ffae946de6019190 /misc/yaunc/files | |
parent | 031781b3d59c2db2d051f9ae91009712a1e22d18 (diff) | |
download | freebsd-ports-graphics-ad05b3792c45de43d0096adb2cc141bceadd9177.tar.gz freebsd-ports-graphics-ad05b3792c45de43d0096adb2cc141bceadd9177.tar.zst freebsd-ports-graphics-ad05b3792c45de43d0096adb2cc141bceadd9177.zip |
- Update to version 0.05.
PR: 23627
Submitted by: Ports Furry
Diffstat (limited to 'misc/yaunc/files')
-rw-r--r-- | misc/yaunc/files/patch-aa | 64 | ||||
-rw-r--r-- | misc/yaunc/files/patch-ab | 11 | ||||
-rw-r--r-- | misc/yaunc/files/patch-ac | 14 | ||||
-rw-r--r-- | misc/yaunc/files/patch-ad | 11 |
4 files changed, 44 insertions, 56 deletions
diff --git a/misc/yaunc/files/patch-aa b/misc/yaunc/files/patch-aa index 1cb387e3f1a..22e850774fa 100644 --- a/misc/yaunc/files/patch-aa +++ b/misc/yaunc/files/patch-aa @@ -1,50 +1,24 @@ ---- Makefile.orig Sun Mar 5 11:18:06 2000 -+++ Makefile Sun Mar 5 11:29:57 2000 -@@ -1,6 +1,9 @@ +--- Makefile.orig Sun Aug 13 16:12:37 2000 ++++ Makefile Sat Dec 16 16:45:06 2000 +@@ -1,15 +1,15 @@ # 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 +-CFLAGS = -Wall -O3 #-g -DDEBUG2 -DDEBUG1 ++CC ?= gcc ++CFLAGS += -DDEFAULT_CONF_PATH=\"$(CONFPATH)/$(CONFFILE)\" + + # program variables + LINKNAME = yaunc +-FILENAME = yaunc-`cat VERSION` +-FILEPATH = /usr/local/bin ++FILENAME = yaunc ++FILEPATH = ${PREFIX}/bin + MANPAGE = yaunc.1 +-MANPATH = /usr/local/man/man1 ++MANPATH = ${PREFIX}/man/man1 + CONFFILE = yaunc.conf +-CONFPATH = /etc ++CONFPATH = ${PREFIX}/etc # 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 deleted file mode 100644 index db393d6669d..00000000000 --- a/misc/yaunc/files/patch-ab +++ /dev/null @@ -1,11 +0,0 @@ ---- 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/patch-ac b/misc/yaunc/files/patch-ac new file mode 100644 index 00000000000..5b58fdb78cd --- /dev/null +++ b/misc/yaunc/files/patch-ac @@ -0,0 +1,14 @@ +--- usage.c.orig Wed Jul 26 09:38:02 2000 ++++ usage.c Sat Dec 16 16:51:31 2000 +@@ -10,9 +10,9 @@ + 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 " DEFAULT_CONF_PATH "\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-h - display this help\n"); + fprintf(stderr, "\n"); + exit(0); diff --git a/misc/yaunc/files/patch-ad b/misc/yaunc/files/patch-ad new file mode 100644 index 00000000000..cee954cf092 --- /dev/null +++ b/misc/yaunc/files/patch-ad @@ -0,0 +1,11 @@ +--- yaunc.1.origt Fri Mar 17 17:38:45 2000 ++++ yaunc.1 Sat Dec 16 16:40:02 2000 +@@ -25,7 +25,7 @@ + \fIYauc\fP accepts the following options: + .TP 8 + .B \-f conf_file +-Specify an alternate configuration file. Default is /etc/yaunc.conf. ++Specify an alternate configuration file. Default is %%PREFIX%%/etc/yaunc.conf. + .B \-h + Display usage information. + . |