diff options
author | jmmv <jmmv> | 2003-06-02 15:20:06 +0000 |
---|---|---|
committer | jmmv <jmmv> | 2003-06-02 15:20:06 +0000 |
commit | 3f1d935cd4e244163ea74bb47b624b69d6049104 (patch) | |
tree | 4156441eee955ca9b3052d32349e2c0213986eb2 | |
parent | f691e6da5820a784f0de45b39a7fc37f7a2c6363 (diff) | |
download | pkgsrc-3f1d935cd4e244163ea74bb47b624b69d6049104.tar.gz |
Update to 1.0.5; some of the changes:
* New 'pid_file', 'allow_users' and 'allow_kill' config directives.
* New -p command line parameter (adjusts pid_file).
* Included contrib scripts, cronchk.sh and privmsg-log.pl
* New 'server_keepalive' config directive.
* Bug fixes.
Changes in the package:
* We need perl to run some of the installed scripts.
* Provide a rc.d script to run the daemon.
* Honour PKG_SYSCONFDIR.
Closes PR pkg/21644 by Juan RP.
-rw-r--r-- | chat/dircproxy/Makefile | 23 | ||||
-rw-r--r-- | chat/dircproxy/PLIST | 10 | ||||
-rw-r--r-- | chat/dircproxy/distinfo | 7 | ||||
-rw-r--r-- | chat/dircproxy/files/dircproxy.sh | 19 | ||||
-rw-r--r-- | chat/dircproxy/patches/patch-aa | 13 |
5 files changed, 60 insertions, 12 deletions
diff --git a/chat/dircproxy/Makefile b/chat/dircproxy/Makefile index eca8b420bfa..21732b171a6 100644 --- a/chat/dircproxy/Makefile +++ b/chat/dircproxy/Makefile @@ -1,13 +1,24 @@ -# $NetBSD: Makefile,v 1.2 2002/10/30 10:24:57 kleink Exp $ +# $NetBSD: Makefile,v 1.3 2003/06/02 15:20:06 jmmv Exp $ -DISTNAME= dircproxy-1.0.1 +DISTNAME= dircproxy-1.0.5 CATEGORIES= chat -MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=dircproxy/} +MASTER_SITES= http://www.dircproxy.net/download/stable/ -MAINTAINER= sb125499@ohiou.edu +MAINTAINER= sb125499@ohiou.edu HOMEPAGE= http://www.dircproxy.net/ -COMMENT= detachable internet relay chat proxy server +COMMENT= Detachable internet relay chat proxy server -GNU_CONFIGURE= YES +GNU_CONFIGURE= YES +USE_BUILDLINK2= YES +USE_PERL5= YES +USE_PKGINSTALL= YES + +REPLACE_PERL= ${WRKSRC}/contrib/log.pl ${WRKSRC}/contrib/privmsg.pl + +CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR} + +EGDIR= ${PREFIX}/share/examples/dircproxy +CONF_FILES= ${EGDIR}/dircproxyrc ${PKG_SYSCONFDIR}/dircproxyrc +RCD_SCRIPTS= dircproxy .include "../../mk/bsd.pkg.mk" diff --git a/chat/dircproxy/PLIST b/chat/dircproxy/PLIST index 72dca924961..52913194366 100644 --- a/chat/dircproxy/PLIST +++ b/chat/dircproxy/PLIST @@ -1,8 +1,12 @@ -@comment $NetBSD: PLIST,v 1.1 2001/10/31 20:06:20 zuntum Exp $ +@comment $NetBSD: PLIST,v 1.2 2003/06/02 15:20:06 jmmv Exp $ bin/dircproxy bin/dircproxy-crypt -man/man1/dircproxy.1 +etc/rc.d/dircproxy man/man1/dircproxy-crypt.1 -share/dircproxy/dircproxyrc +man/man1/dircproxy.1 +share/dircproxy/cronchk.sh share/dircproxy/log.pl +share/dircproxy/privmsg-log.pl +share/examples/dircproxy/dircproxyrc +@dirrm share/examples/dircproxy @dirrm share/dircproxy diff --git a/chat/dircproxy/distinfo b/chat/dircproxy/distinfo index ed9fd344266..41094fd4945 100644 --- a/chat/dircproxy/distinfo +++ b/chat/dircproxy/distinfo @@ -1,4 +1,5 @@ -$NetBSD: distinfo,v 1.1.1.1 2001/10/15 15:16:23 agc Exp $ +$NetBSD: distinfo,v 1.2 2003/06/02 15:20:07 jmmv Exp $ -SHA1 (dircproxy-1.0.1.tar.gz) = bb285c32172d436d5e29595e843dfccfe9eaa069 -Size (dircproxy-1.0.1.tar.gz) = 204509 bytes +SHA1 (dircproxy-1.0.5.tar.gz) = eaf159d2a1303f82e079940b381c0e71b9b90c28 +Size (dircproxy-1.0.5.tar.gz) = 217965 bytes +SHA1 (patch-aa) = 9c59e9f4c0cfaca7a9e000eab2a8af1b6c16329f diff --git a/chat/dircproxy/files/dircproxy.sh b/chat/dircproxy/files/dircproxy.sh new file mode 100644 index 00000000000..a015ad8b6e6 --- /dev/null +++ b/chat/dircproxy/files/dircproxy.sh @@ -0,0 +1,19 @@ +#!@SH@ +# +# $NetBSD: dircproxy.sh,v 1.1 2003/06/02 15:20:08 jmmv Exp $ +# + +# PROVIDE: dircproxy +# REQUIRE: DAEMON + +. /etc/rc.subr + +name="dircproxy" +rcvar=$name +command="@PREFIX@/bin/${name}" +command_args="-f @PKG_SYSCONFDIR@/${name}rc -p /var/run/${name}.pid" +pidfile="/var/run/${name}.pid" +required_files="@PKG_SYSCONFDIR@/${name}rc" + +load_rc_config $name +run_rc_command "$1" diff --git a/chat/dircproxy/patches/patch-aa b/chat/dircproxy/patches/patch-aa new file mode 100644 index 00000000000..a4c68809e51 --- /dev/null +++ b/chat/dircproxy/patches/patch-aa @@ -0,0 +1,13 @@ +$NetBSD: patch-aa,v 1.1 2003/06/02 15:20:08 jmmv Exp $ + +--- conf/Makefile.in.orig 2002-11-21 15:19:04.000000000 +0100 ++++ conf/Makefile.in +@@ -34,7 +34,7 @@ oldincludedir = /usr/include + + DESTDIR = + +-pkgdatadir = $(datadir)/@PACKAGE@ ++pkgdatadir = $(datadir)/examples/@PACKAGE@ + pkglibdir = $(libdir)/@PACKAGE@ + pkgincludedir = $(includedir)/@PACKAGE@ + |