aboutsummaryrefslogtreecommitdiffstats
path: root/misc/yaunc
diff options
context:
space:
mode:
authorkevlo <kevlo@FreeBSD.org>2000-12-26 23:20:38 +0800
committerkevlo <kevlo@FreeBSD.org>2000-12-26 23:20:38 +0800
commit5f4ee93141ca308f16587a9059fc74c0b1869b78 (patch)
treeccb1adc759a7cf56b07effff6c8dda369df30f60 /misc/yaunc
parentd1f1e860bddfc7a172b202132de22556b7c1c4e9 (diff)
downloadfreebsd-ports-gnome-5f4ee93141ca308f16587a9059fc74c0b1869b78.tar.gz
freebsd-ports-gnome-5f4ee93141ca308f16587a9059fc74c0b1869b78.tar.zst
freebsd-ports-gnome-5f4ee93141ca308f16587a9059fc74c0b1869b78.zip
Upgrade to 0.06
PR: 23831 Submitted by: Ports Fury
Diffstat (limited to 'misc/yaunc')
-rw-r--r--misc/yaunc/Makefile13
-rw-r--r--misc/yaunc/distinfo2
-rw-r--r--misc/yaunc/files/patch-aa24
-rw-r--r--misc/yaunc/files/patch-ac4
4 files changed, 10 insertions, 33 deletions
diff --git a/misc/yaunc/Makefile b/misc/yaunc/Makefile
index bbea94b4e6ee..82eea76bb79d 100644
--- a/misc/yaunc/Makefile
+++ b/misc/yaunc/Makefile
@@ -6,24 +6,25 @@
#
PORTNAME= yaunc
-PORTVERSION= 0.05
+PORTVERSION= 0.06
CATEGORIES= misc
MASTER_SITES= http://www.redterror.net/code/yaunc/
MAINTAINER= ports@FreeBSD.org
-ALL_TARGET= bsd
+GNU_CONFIGURE= yes
MAN1= yaunc.1
post-patch:
- @${PERL} -pi -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/yaunc.1
+ @${CP} -f ${FILESDIR}/startup ${WRKSRC}/yaunc.sh
+.for file in yaunc.1 yaunc.sh
+ @${PERL} -pi -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/${file}
+.endfor
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/yaunc ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/yaunc.1 ${MANPREFIX}/man/man1
${INSTALL_DATA} -m 600 ${WRKSRC}/yaunc.conf ${PREFIX}/etc/yaunc.conf.sample
- ${SED} -e "s:%%PREFIX%%:${PREFIX}:g" ${FILESDIR}/startup > \
- ${PREFIX}/etc/rc.d/yaunc.sh
- ${CHMOD} 755 ${PREFIX}/etc/rc.d/yaunc.sh
+ ${INSTALL_SCRIPT} -m 755 ${WRKSRC}/yaunc.sh ${PREFIX}/etc/rc.d
.include <bsd.port.mk>
diff --git a/misc/yaunc/distinfo b/misc/yaunc/distinfo
index dde396d619f3..22c3545c30a0 100644
--- a/misc/yaunc/distinfo
+++ b/misc/yaunc/distinfo
@@ -1 +1 @@
-MD5 (yaunc-0.05.tar.gz) = 9f84d4f0bf065e9b4a49d3b871cb951d
+MD5 (yaunc-0.06.tar.gz) = c1d737eec608db98331a015d0fa2b08d
diff --git a/misc/yaunc/files/patch-aa b/misc/yaunc/files/patch-aa
deleted file mode 100644
index 22e850774fa3..000000000000
--- a/misc/yaunc/files/patch-aa
+++ /dev/null
@@ -1,24 +0,0 @@
---- 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 = -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 \
diff --git a/misc/yaunc/files/patch-ac b/misc/yaunc/files/patch-ac
index 5b58fdb78cde..95539380ef71 100644
--- a/misc/yaunc/files/patch-ac
+++ b/misc/yaunc/files/patch-ac
@@ -1,11 +1,11 @@
--- usage.c.orig Wed Jul 26 09:38:02 2000
-+++ usage.c Sat Dec 16 16:51:31 2000
++++ usage.c Mon Dec 25 20:10:10 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 " 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");