aboutsummaryrefslogtreecommitdiffstats
path: root/irc/bitlbee-otr/files
diff options
context:
space:
mode:
authortobez <tobez@FreeBSD.org>2005-11-11 18:37:35 +0800
committertobez <tobez@FreeBSD.org>2005-11-11 18:37:35 +0800
commit759123b2be21b0c8c57889cdf922db630b10941a (patch)
tree77e3d1c78bdc4ab5cda4bd7262e20fbcbbe67aaf /irc/bitlbee-otr/files
parentb9533c9c6d474932ac0a2c769519dba5aa4e8905 (diff)
downloadfreebsd-ports-gnome-759123b2be21b0c8c57889cdf922db630b10941a.tar.gz
freebsd-ports-gnome-759123b2be21b0c8c57889cdf922db630b10941a.tar.zst
freebsd-ports-gnome-759123b2be21b0c8c57889cdf922db630b10941a.zip
Update to 0.99.
PR: 88814 Submitted by: maintainer
Diffstat (limited to 'irc/bitlbee-otr/files')
-rw-r--r--irc/bitlbee-otr/files/patch-Makefile8
-rw-r--r--irc/bitlbee-otr/files/patch-configure8
-rw-r--r--irc/bitlbee-otr/files/patch-xmpp-google62
3 files changed, 8 insertions, 70 deletions
diff --git a/irc/bitlbee-otr/files/patch-Makefile b/irc/bitlbee-otr/files/patch-Makefile
index c84bb4fa96a5..5a6f01f184b6 100644
--- a/irc/bitlbee-otr/files/patch-Makefile
+++ b/irc/bitlbee-otr/files/patch-Makefile
@@ -3,9 +3,9 @@
@@ -23,7 +23,7 @@
install: install-bin install-doc
- @if ! [ -d $(DESTDIR)$(CONFIG) ]; then echo -e '\n\nThe configuration directory $(DESTDIR)$(CONFIG) does not exist yet, don'\''t forget to create it!'; fi
-- @if ! [ -e $(DESTDIR)$(ETCDIR)/bitlbee.conf ]; then echo -e '\n\nNo files are installed in '$(DESTDIR)$(ETCDIR)' by make install. Run make install-etc to do that.'; fi
-+# @if ! [ -e $(DESTDIR)$(ETCDIR)/bitlbee.conf ]; then echo -e '\n\nNo files are installed in '$(DESTDIR)$(ETCDIR)' by make install. Run make install-etc to do that.'; fi
- @echo -e '\n'
+ @if ! [ -d $(DESTDIR)$(CONFIG) ]; then echo -e '\nThe configuration directory $(DESTDIR)$(CONFIG) does not exist yet, don'\''t forget to create it!'; fi
+- @if ! [ -e $(DESTDIR)$(ETCDIR)/bitlbee.conf ]; then echo -e '\nNo files are installed in '$(DESTDIR)$(ETCDIR)' by make install. Run make install-etc to do that.'; fi
++# @if ! [ -e $(DESTDIR)$(ETCDIR)/bitlbee.conf ]; then echo -e '\nNo files are installed in '$(DESTDIR)$(ETCDIR)' by make install. Run make install-etc to do that.'; fi
+ @echo
.PHONY: install install-bin install-etc install-doc \
diff --git a/irc/bitlbee-otr/files/patch-configure b/irc/bitlbee-otr/files/patch-configure
index b0aad763e611..d0eac2f2bfd8 100644
--- a/irc/bitlbee-otr/files/patch-configure
+++ b/irc/bitlbee-otr/files/patch-configure
@@ -1,6 +1,6 @@
--- configure.orig Tue Jun 8 09:55:00 2004
+++ configure Tue Jun 8 09:54:50 2004
-@@ -86,7 +86,7 @@
+@@ -88,7 +88,7 @@
DESTDIR=
LFLAGS=
@@ -9,12 +9,12 @@
EOF
cat<<EOF>config.h
-@@ -108,7 +108,7 @@
+@@ -113,7 +113,7 @@
echo 'DEBUG=1' >> Makefile.settings
echo '#define DEBUG' >> config.h
else
-- echo 'CFLAGS=-O3' >> Makefile.settings;
-+ echo "CFLAGS=$CPPFLAGS" >> Makefile.settings;
+- echo 'CFLAGS=-O3' >> Makefile.settings
++ echo "CFLAGS=$CPPFLAGS" >> Makefile.settings
fi
echo CFLAGS+=-I`pwd` -I`pwd`/protocols -I. >> Makefile.settings
diff --git a/irc/bitlbee-otr/files/patch-xmpp-google b/irc/bitlbee-otr/files/patch-xmpp-google
deleted file mode 100644
index a9647e34df03..000000000000
--- a/irc/bitlbee-otr/files/patch-xmpp-google
+++ /dev/null
@@ -1,62 +0,0 @@
---- protocols/jabber/jabber.c 2004-11-14 22:37:47.000000000 +0100
-+++ protocols/jabber/jabber.c 2005-08-24 09:47:25.000000000 +0200
-@@ -565,16 +565,27 @@
- {
- struct aim_user *user;
- int port = -1, ssl = 0;
-+ char *server = NULL, *s;
-
- if (!gjc || gjc->state != JCONN_STATE_OFF)
- return;
-
- user = GJ_GC(gjc)->user;
- if (*user->proto_opt[0]) {
-- if (isdigit(user->proto_opt[0][0]))
-- sscanf(user->proto_opt[0], "%d", &port);
-+ /* If there's a dot, assume there's a hostname in the beginning */
-+ if (strchr(user->proto_opt[0], '.')) {
-+ server = g_strdup(user->proto_opt[0]);
-+ if ((s = strchr(server, ':')))
-+ *s = 0;
-+ }
-+
-+ /* After the hostname, there can be a port number */
-+ s = strchr(user->proto_opt[0], ':');
-+ if (s && isdigit(s[1]))
-+ sscanf(s + 1, "%d", &port);
-
-- if (strstr(user->proto_opt[0], "ssl"))
-+ /* And if there's the string ssl, the user wants an SSL-connection */
-+ if (strstr(user->proto_opt[0], ":ssl") || g_strcasecmp(user->proto_opt[0], "ssl") == 0)
- ssl = 1;
- }
-
-@@ -582,6 +593,9 @@
- port = DEFAULT_PORT;
- else if (port == -1 && ssl)
- port = DEFAULT_PORT_SSL;
-+
-+ if (server == NULL)
-+ server = g_strdup(gjc->user->server);
-
- gjc->parser = XML_ParserCreate(NULL);
- XML_SetUserData(gjc->parser, (void *)gjc);
-@@ -589,14 +603,16 @@
- XML_SetCharacterDataHandler(gjc->parser, charData);
-
- if (ssl) {
-- if ((gjc->ssl = ssl_connect(gjc->user->server, port, gjab_connected_ssl, GJ_GC(gjc))))
-+ if ((gjc->ssl = ssl_connect(server, port, gjab_connected_ssl, GJ_GC(gjc))))
- gjc->fd = ssl_getfd(gjc->ssl);
- else
- gjc->fd = -1;
- } else {
-- gjc->fd = proxy_connect(gjc->user->server, port, gjab_connected, GJ_GC(gjc));
-+ gjc->fd = proxy_connect(server, port, gjab_connected, GJ_GC(gjc));
- }
-
-+ g_free(server);
-+
- if (!user->gc || (gjc->fd < 0)) {
- STATE_EVT(JCONN_STATE_OFF)
- return;