mirror of
https://git.freebsd.org/ports.git
synced 2025-07-17 17:29:23 -04:00
- Update to 1.3
PR: ports/78861 Submitted by: Danny Koenig <dako@bsdberlin.org> Approved by: Walter Venable <weaseal@hotmail.com> (maintainer)
This commit is contained in:
parent
234ec68dca
commit
ceb9e37ffc
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=131450
5 changed files with 86 additions and 18 deletions
|
@ -6,8 +6,7 @@
|
|||
#
|
||||
|
||||
PORTNAME= srvx
|
||||
PORTVERSION= 1.2.1
|
||||
PORTREVISION= 1
|
||||
PORTVERSION= 1.3
|
||||
CATEGORIES= irc net
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||
MASTER_SITE_SUBDIR= srvx
|
||||
|
@ -26,17 +25,19 @@ CONFIGURE_ARGS+= --enable-debug
|
|||
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}/helpserv.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 \
|
||||
share/doc/${PORTNAME}/sockcheck.help
|
||||
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:
|
||||
|
@ -56,8 +57,7 @@ pre-fetch:
|
|||
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"
|
||||
@ ${ECHO} " manually."
|
||||
@ ${ECHO} " will remain in ${PREFIX}/etc/. These files must be removed manually."
|
||||
@ ${ECHO} ""
|
||||
@ ${ECHO} " ${PORTNAME} .help files are located in ${DOCSDIR}."
|
||||
@ ${ECHO} ""
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
MD5 (srvx-1.2.1.tar.gz) = 4c1c4982fbc23156dbeb6d5c33850c3b
|
||||
SIZE (srvx-1.2.1.tar.gz) = 556892
|
||||
MD5 (srvx-1.3.tar.gz) = 856d4d452d32340224400dfdfeaf70bc
|
||||
SIZE (srvx-1.3.tar.gz) = 572481
|
||||
|
|
20
irc/srvx/files/patch-src-Makefile.in
Normal file
20
irc/srvx/files/patch-src-Makefile.in
Normal file
|
@ -0,0 +1,20 @@
|
|||
--- 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 \
|
49
irc/srvx/files/patch-src-proto-p10.c
Normal file
49
irc/srvx/files/patch-src-proto-p10.c
Normal file
|
@ -0,0 +1,49 @@
|
|||
--- 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 @@
|
||||
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",
|
||||
- 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",
|
||||
- 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 @@
|
||||
|
||||
/* 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",
|
||||
- user->uplink->numeric, user->nick, user->uplink->hops+1, user->timestamp, user->ident, user->hostname, modes, b64ip, user->numeric, user->info);
|
||||
+ user->uplink->numeric, user->nick, user->uplink->hops+1, (long)user->timestamp, user->ident, user->hostname, modes, b64ip, user->numeric, user->info);
|
||||
} else {
|
||||
putsock("%s " P10_NICK " %s %d %li %s %s %s %s :%s",
|
||||
- user->uplink->numeric, user->nick, user->uplink->hops+1, user->timestamp, user->ident, user->hostname, b64ip, user->numeric, user->info);
|
||||
+ user->uplink->numeric, user->nick, user->uplink->hops+1, (long)user->timestamp, user->ident, user->hostname, b64ip, user->numeric, user->info);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -545,7 +545,7 @@
|
||||
irc_gline(struct server *srv, struct gline *gline)
|
||||
{
|
||||
putsock("%s " P10_GLINE " %s +%s %ld :%s",
|
||||
- self->numeric, (srv ? srv->numeric : "*"), gline->target, gline->expires-now, gline->reason);
|
||||
+ self->numeric, (srv ? srv->numeric : "*"), gline->target, (long)gline->expires-now, gline->reason);
|
||||
}
|
||||
|
||||
void
|
||||
@@ -680,9 +680,9 @@
|
||||
{
|
||||
if (what->members.used == 1) {
|
||||
putsock("%s " P10_CREATE " %s %lu",
|
||||
- who->numeric, what->name, what->timestamp);
|
||||
+ who->numeric, what->name, (long)what->timestamp);
|
||||
} else {
|
||||
- putsock("%s " P10_JOIN " %s %lu", who->numeric, what->name, what->timestamp);
|
||||
+ putsock("%s " P10_JOIN " %s %lu", who->numeric, what->name, (long)what->timestamp);
|
||||
}
|
||||
}
|
||||
|
|
@ -14,4 +14,3 @@ full list.
|
|||
|
||||
Author: "Entrope" <entrope@users.sourceforge.net>
|
||||
WWW: http://www.srvx.net
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue