Date: Fri, 6 Jun 2008 03:00:34 +0900 From: KATO Tsuguru <tkato432@yahoo.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/124314: Update port: irc/srvx to 1.4.1 Message-ID: <20080606030034.a04e31f2.tkato432@yahoo.com> Resent-Message-ID: <200806051810.m55IA4EH071677@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 124314 >Category: ports >Synopsis: Update port: irc/srvx to 1.4.1 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Jun 05 18:10:04 UTC 2008 >Closed-Date: >Last-Modified: >Originator: KATO Tsuguru >Release: FreeBSD 6.3-RELEASE-p2 i386 >Organization: >Environment: >Description: - Update to version 1.4.1 New file: files/pkg-message.in Remove file: files/patch-aa files/patch-ab files/patch-src-Makefile.in >How-To-Repeat: >Fix: diff -urN /usr/ports/irc/srvx/Makefile irc/srvx/Makefile --- /usr/ports/irc/srvx/Makefile 2008-05-27 15:20:10.000000000 +0900 +++ irc/srvx/Makefile 2008-05-29 04:17:01.000000000 +0900 @@ -6,16 +6,37 @@ # PORTNAME= srvx -PORTVERSION= 1.3 +PORTVERSION= 1.3.1 CATEGORIES= irc net -MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} -MASTER_SITE_SUBDIR= srvx +MASTER_SITES= SF MAINTAINER= ports@FreeBSD.org -COMMENT= Srvx IRC services +COMMENT= A set of services for ircu P10 protocol networks -GNU_CONFIGURE= yes -CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} +OPTIONS= PROTOCOL_BAHAMUT "Enables Bahamut protocol (P10 is default)" "on" \ + DEBUG "Enables debug mode" "off" + +USE_GNOME= gnometarget +GNU_CONFIGURE= yes +CONFIGURE_ARGS= --without-getopt + +SUB_FILES= pkg-message + +PORTDOCS= chanserv.help \ + global.help \ + mod-helpserv.help \ + mod-memoserv.help \ + mod-sockcheck.help \ + modcmd.help \ + nickserv.help \ + opserv.help \ + saxdb.help \ + sendmail.help +PLIST_FILES= bin/srvx \ + etc/srvx.conf.example \ + etc/sockcheck.conf.example + +.include <bsd.port.pre.mk> .if defined(WITH_DEBUG) CONFIGURE_ARGS+= --enable-debug @@ -25,47 +46,17 @@ CONFIGURE_ARGS+= --with-protocol=bahamut .endif -PLIST_FILES= bin/srvx \ - etc/srvx.conf.example \ - etc/sockcheck.conf.example \ - share/doc/${PORTNAME}/chanserv.help \ - share/doc/${PORTNAME}/global.help \ - share/doc/${PORTNAME}/mod-helpserv.help \ - share/doc/${PORTNAME}/mod-memoserv.help \ - share/doc/${PORTNAME}/mod-sockcheck.help \ - share/doc/${PORTNAME}/modcmd.help \ - share/doc/${PORTNAME}/nickserv.help \ - share/doc/${PORTNAME}/opserv.help \ - share/doc/${PORTNAME}/saxdb.help \ - share/doc/${PORTNAME}/sendmail.help -PLIST_DIRS= share/doc/${PORTNAME} - -pre-fetch: - @ ${ECHO} "" - @ ${ECHO} "--------------------------------------------------------------------------------" - @ ${ECHO} "" - @ ${ECHO} "The following build options are availabe:" - @ ${ECHO} "" - @ ${ECHO} " WITH_PROTOCOL_BAHAMUT=yes Enables Bahamut protocol" - @ ${ECHO} " (P10 is default)." - @ ${ECHO} "" - @ ${ECHO} " WITH_DEBUG=yes Enables debug mode." - @ ${ECHO} "" - @ ${ECHO} "--------------------------------------------------------------------------------" - @ ${ECHO} "" - -post-install: - @ ${ECHO} "" - @ ${ECHO} " When you 'make deinstall', any files generated by ${PORTNAME} (logs, etc)" - @ ${ECHO} " will remain in ${PREFIX}/etc/. These files must be removed manually." - @ ${ECHO} "" - @ ${ECHO} " ${PORTNAME} .help files are located in ${DOCSDIR}." - @ ${ECHO} "" - -.include <bsd.port.pre.mk> - -.if ${OSVERSION} >= 700042 -BROKEN= Does not compile with GCC 4.2 +post-patch: + @${REINPLACE_CMD} -e 's|= "srvx.conf"|= "${PREFIX}/etc/srx.conf"|g' \ + ${WRKSRC}/src/main.c + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/src/srvx ${PREFIX}/bin + ${INSTALL_DATA} ${WRKSRC}/*.conf.example ${PREFIX}/etc +.if !defined(NOPORTDOCS) + @${MKDIR} ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/src/*.help ${DOCSDIR} .endif + @${CAT} ${PKGMESSAGE} .include <bsd.port.post.mk> diff -urN /usr/ports/irc/srvx/distinfo irc/srvx/distinfo --- /usr/ports/irc/srvx/distinfo 2006-01-22 22:06:24.000000000 +0900 +++ irc/srvx/distinfo 2008-05-29 03:18:07.000000000 +0900 @@ -1,3 +1,3 @@ -MD5 (srvx-1.3.tar.gz) = 856d4d452d32340224400dfdfeaf70bc -SHA256 (srvx-1.3.tar.gz) = e4db290e21f68487960edca1c64047e8240454a716589ac69a01a379b0d927e7 -SIZE (srvx-1.3.tar.gz) = 572481 +MD5 (srvx-1.3.1.tar.gz) = 6539f342b7c12a719b390e6cd36a14dd +SHA256 (srvx-1.3.1.tar.gz) = 4eb7805685c0a1fb3f0c3d30658e6fa031b3a2103a74a2070e0f9170e7ec95a4 +SIZE (srvx-1.3.1.tar.gz) = 756377 diff -urN /usr/ports/irc/srvx/files/patch-aa irc/srvx/files/patch-aa --- /usr/ports/irc/srvx/files/patch-aa 2004-01-12 19:45:48.000000000 +0900 +++ irc/srvx/files/patch-aa 1970-01-01 09:00:00.000000000 +0900 @@ -1,25 +0,0 @@ ---- Makefile.in Sun Oct 12 22:37:15 2003 -+++ Makefile.in Sun Nov 30 04:31:56 2003 -@@ -519,12 +519,17 @@ - - install-exec-local: - $(INSTALL) -d -m 755 $(prefix) -- $(INSTALL) -m 744 ./src/srvx $(prefix) -- $(INSTALL) -m 644 $(srcdir)/src/*.help $(prefix) -- $(INSTALL) -m 600 $(srcdir)/srvx.conf.example $(prefix) -- $(INSTALL) -m 644 $(srcdir)/sockcheck.conf.example $(prefix) -+ $(INSTALL) -d -m 755 $(prefix)/etc -+ $(INSTALL) -d -m 755 $(prefix)/share -+ $(INSTALL) -d -m 755 $(prefix)/share/doc -+ $(INSTALL) -d -m 755 $(prefix)/share/doc/srvx -+ $(INSTALL) -d -m 755 $(prefix)/bin -+ $(INSTALL) -m 744 ./src/srvx $(prefix)/bin/srvx -+ $(INSTALL) -m 644 $(srcdir)/src/*.help $(prefix)/share/doc/srvx/ -+ $(INSTALL) -m 600 $(srcdir)/srvx.conf.example $(prefix)/etc/ -+ $(INSTALL) -m 644 $(srcdir)/sockcheck.conf.example $(prefix)/etc/ - @echo -- @echo srvx-$(VERSION) has been installed to $(prefix) -+ @echo srvx-$(VERSION) has been installed to $(prefix)/bin - @echo Remember to edit srvx.conf.example and sockcheck.conf.example - @echo And of course, ./srvx --help before starting. - @echo diff -urN /usr/ports/irc/srvx/files/patch-ab irc/srvx/files/patch-ab --- /usr/ports/irc/srvx/files/patch-ab 2004-01-12 19:45:48.000000000 +0900 +++ irc/srvx/files/patch-ab 1970-01-01 09:00:00.000000000 +0900 @@ -1,11 +0,0 @@ ---- src/main.c Mon Sep 1 10:50:28 2003 -+++ src/main.c Sun Nov 30 03:17:29 2003 -@@ -65,7 +65,7 @@ - - int quit_services, max_cycles; - --char *services_config = "srvx.conf"; -+char *services_config = "../etc/srvx.conf"; - - char **services_argv; - int services_argc; diff -urN /usr/ports/irc/srvx/files/patch-src-Makefile.in irc/srvx/files/patch-src-Makefile.in --- /usr/ports/irc/srvx/files/patch-src-Makefile.in 2005-03-17 08:19:31.000000000 +0900 +++ irc/srvx/files/patch-src-Makefile.in 1970-01-01 09:00:00.000000000 +0900 @@ -1,20 +0,0 @@ ---- src/Makefile.am.old Mon Mar 14 23:35:03 2005 -+++ src/Makefile.am Mon Mar 14 23:35:13 2005 -@@ -11,7 +11,6 @@ - .PHONY: checkversion - arch-version.h: checkversion - checkversion: -- @tla logs -f >/dev/null || exit 0; \ - TMPFILE=`mktemp arch-version.h.XXXXXX` || exit 1 ; \ - echo "#define ARCH_VERSION \"`tla logs -f | tail -n 1`\"" >> $$TMPFILE ; \ - if diff -q arch-version.h $$TMPFILE >/dev/null 2>&1 ; then \ ---- src/Makefile.in.old Mon Mar 14 23:35:17 2005 -+++ src/Makefile.in Mon Mar 14 23:35:33 2005 -@@ -527,7 +527,6 @@ - .PHONY: checkversion - arch-version.h: checkversion - checkversion: -- @tla logs -f >/dev/null || exit 0; \ - TMPFILE=`mktemp arch-version.h.XXXXXX` || exit 1 ; \ - echo "#define ARCH_VERSION \"`tla logs -f | tail -n 1`\"" >> $$TMPFILE ; \ - if diff -q arch-version.h $$TMPFILE >/dev/null 2>&1 ; then \ diff -urN /usr/ports/irc/srvx/files/patch-src-proto-p10.c irc/srvx/files/patch-src-proto-p10.c --- /usr/ports/irc/srvx/files/patch-src-proto-p10.c 2005-03-17 08:19:31.000000000 +0900 +++ irc/srvx/files/patch-src-proto-p10.c 2008-05-29 03:49:07.000000000 +0900 @@ -1,19 +1,19 @@ ---- src/proto-p10.c.old Tue Feb 22 05:11:21 2005 -+++ src/proto-p10.c Mon Mar 14 22:21:12 2005 -@@ -367,10 +367,10 @@ +--- src/proto-p10.c.orig 2008-05-29 03:46:01.000000000 +0900 ++++ src/proto-p10.c 2008-05-29 03:48:41.000000000 +0900 +@@ -369,10 +369,10 @@ if (srv == self) { /* The +s, ignored by Run's ircu, means "service" to Undernet's ircu */ - putsock(P10_SERVER " %s %d %li %li J10 %s%s +s :%s", + putsock(P10_SERVER " %s %d %li %li J10 %s%s +s6 :%s", - srv->name, srv->hops+1, srv->boot, srv->link, srv->numeric, extranum, srv->description); + srv->name, srv->hops+1, (long)srv->boot, (long)srv->link, srv->numeric, extranum, srv->description); } else { - putsock("%s " P10_SERVER " %s %d %li %li %c10 %s%s +s :%s", + putsock("%s " P10_SERVER " %s %d %li %li %c10 %s%s +s6 :%s", - self->numeric, srv->name, srv->hops+1, srv->boot, srv->link, (srv->self_burst ? 'J' : 'P'), srv->numeric, extranum, srv->description); + self->numeric, srv->name, srv->hops+1, (long)srv->boot, (long)srv->link, (srv->self_burst ? 'J' : 'P'), srv->numeric, extranum, srv->description); } } -@@ -408,10 +408,10 @@ +@@ -485,10 +485,10 @@ /* we don't need to put the + in modes because it's in the format string. */ putsock("%s " P10_NICK " %s %d %li %s %s +%s %s %s :%s", @@ -26,7 +26,7 @@ } } -@@ -545,7 +545,7 @@ +@@ -637,7 +637,7 @@ irc_gline(struct server *srv, struct gline *gline) { putsock("%s " P10_GLINE " %s +%s %ld :%s", @@ -35,7 +35,7 @@ } void -@@ -680,9 +680,9 @@ +@@ -772,9 +772,9 @@ { if (what->members.used == 1) { putsock("%s " P10_CREATE " %s %lu", diff -urN /usr/ports/irc/srvx/files/pkg-message.in irc/srvx/files/pkg-message.in --- /usr/ports/irc/srvx/files/pkg-message.in 1970-01-01 09:00:00.000000000 +0900 +++ irc/srvx/files/pkg-message.in 2008-05-29 04:17:37.000000000 +0900 @@ -0,0 +1,5 @@ +------------------------------------------------------------------ +When you 'make deinstall', any files generated by srvx (logs, etc) +will remain in %%PREFIX%%/etc/. These files must be removed +manually. +------------------------------------------------------------------ >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080606030034.a04e31f2.tkato432>