diff options
author | marcus <marcus@FreeBSD.org> | 2004-06-03 01:52:38 +0800 |
---|---|---|
committer | marcus <marcus@FreeBSD.org> | 2004-06-03 01:52:38 +0800 |
commit | c822e65d9c95b2185b983d7e3caa5e16dcc1f4b5 (patch) | |
tree | 2c4ed483c344d7cf74c715facc7fdb1a120f3a63 /net/gaim | |
parent | 0b9a517c1cedb714cf8efe9dd58ae54ff5607b98 (diff) | |
download | freebsd-ports-gnome-c822e65d9c95b2185b983d7e3caa5e16dcc1f4b5.tar.gz freebsd-ports-gnome-c822e65d9c95b2185b983d7e3caa5e16dcc1f4b5.tar.zst freebsd-ports-gnome-c822e65d9c95b2185b983d7e3caa5e16dcc1f4b5.zip |
Add optional SILC (Secure Internet Live Conference) support to Gaim.
PR: 67483
Submitted by: Evgueni V. Gavrilov <aquatique-ports@rambler.ru>
Diffstat (limited to 'net/gaim')
-rw-r--r-- | net/gaim/Makefile | 10 | ||||
-rw-r--r-- | net/gaim/files/patch-src_protocols_silc_chat.c | 11 | ||||
-rw-r--r-- | net/gaim/pkg-plist | 1 |
3 files changed, 22 insertions, 0 deletions
diff --git a/net/gaim/Makefile b/net/gaim/Makefile index 446eb5af5830..9baad7faba59 100644 --- a/net/gaim/Makefile +++ b/net/gaim/Makefile @@ -44,6 +44,14 @@ LIB_DEPENDS+= gnutls:${PORTSDIR}/security/gnutls CONFIGURE_ARGS+= --disable-gnutls .endif +.if defined(WITH_SILC) +LIB_DEPENDS+= silcclient-1.0.3:${PORTSDIR}/devel/silc-toolkit +CONFIGURE_ARGS+= --with-silc-includes=${LOCALBASE}/include/silc +PLIST_SUB+= SILC="" +.else +PLIST_SUB+= SILC="@comment " +.endif + .if !defined(WITHOUT_NSS) LIB_DEPENDS+= nss3:${PORTSDIR}/security/nss CONFIGURE_ARGS+= --with-nspr-includes=${LOCALBASE}/include/nspr \ @@ -93,6 +101,7 @@ CONFIGURE_ARGS+= --disable-audio pre-everything:: @${ECHO_MSG} "" @${ECHO_MSG} "Gaim has the following tunable option(s):" + @${ECHO_MSG} " WITH_SILC Build with Secure Internet Live Conferencing (SILC)" @${ECHO_MSG} " WITHOUT_GTKSPELL Turns off spell checking" @${ECHO_MSG} " WITHOUT_AUDIO Disable audio support" @${ECHO_MSG} " WITH_GNUTLS Enable GNUTLS encryption support" @@ -109,6 +118,7 @@ post-patch: @${REINPLACE_CMD} -e 's|-lpthreads|${PTHREAD_LIBS:S/"//g}|g' \ -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \ -e 's|-lpthread|${PTHREAD_LIBS:S/"//g}|g' \ + -e 's|-lsilc -lsilcclient ${PTHREAD_LIBS} -ldl|-lsilc -lsilcclient ${PTHREAD_LIBS} -liconv|' \ -e 's|TCL_VERSION found but 8.3 required|TCL_VERSION found but ${_TCL_VER} required|g' \ -e 's|TCL_MINOR_VERSION" -ne 3|TCL_MINOR_VERSION" -ne ${_TCL_VER:E}|' \ ${WRKSRC}/configure diff --git a/net/gaim/files/patch-src_protocols_silc_chat.c b/net/gaim/files/patch-src_protocols_silc_chat.c new file mode 100644 index 000000000000..6038346fd5d0 --- /dev/null +++ b/net/gaim/files/patch-src_protocols_silc_chat.c @@ -0,0 +1,11 @@ +--- src/protocols/silc/chat.c.orig Wed Jun 2 14:36:55 2004 ++++ src/protocols/silc/chat.c Wed Jun 2 14:37:03 2004 +@@ -1081,7 +1081,7 @@ + do both 1 and 2 with default keys. */ + + /* Call JOIN */ +- if (passphrase) ++ if (passphrase && strlen(passphrase)) + silc_client_command_call(client, conn, NULL, "JOIN", + channel, passphrase, "-auth", "-founder", NULL); + else diff --git a/net/gaim/pkg-plist b/net/gaim/pkg-plist index 4cbefd032a3d..0009610778ed 100644 --- a/net/gaim/pkg-plist +++ b/net/gaim/pkg-plist @@ -16,6 +16,7 @@ lib/gaim/libmsn.so lib/gaim/libnapster.so lib/gaim/libnovell.so lib/gaim/liboscar.so +%%SILC%%lib/gaim/libsilcgaim.so lib/gaim/libyahoo.so lib/gaim/libzephyr.so lib/gaim/notify.so |