From a4948ab8f8aef8ab7283538b0a92ec394db23cd5 Mon Sep 17 00:00:00 2001 From: "Santiago M. Mola" Date: Fri, 4 Jul 2008 15:20:01 +0000 Subject: Fix security bug #219708, gcc-4.3 and glibc-2.8 fixes (bugs #218814 and #228373) and ICQ protocol upgrade (bug #230387). Package-Manager: portage-2.2_rc1/cvs/Linux 2.6.25-gentoo-r6 x86_64 --- net-im/licq/ChangeLog | 10 +- net-im/licq/Manifest | 6 +- net-im/licq/files/licq-1.3.5-gcc43.patch | 111 ++++++++++++++ net-im/licq/files/licq-1.3.5-logonfix.patch | 13 ++ net-im/licq/files/licq-1.3.5-prevent-dos.patch | 111 ++++++++++++++ net-im/licq/licq-1.3.5-r1.ebuild | 191 +++++++++++++++++++++++++ 6 files changed, 440 insertions(+), 2 deletions(-) create mode 100644 net-im/licq/files/licq-1.3.5-gcc43.patch create mode 100644 net-im/licq/files/licq-1.3.5-logonfix.patch create mode 100644 net-im/licq/files/licq-1.3.5-prevent-dos.patch create mode 100644 net-im/licq/licq-1.3.5-r1.ebuild (limited to 'net-im/licq') diff --git a/net-im/licq/ChangeLog b/net-im/licq/ChangeLog index 2ea9934b3fba..746faba7bc5c 100644 --- a/net-im/licq/ChangeLog +++ b/net-im/licq/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for net-im/licq # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-im/licq/ChangeLog,v 1.92 2008/03/27 15:03:11 coldwind Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-im/licq/ChangeLog,v 1.93 2008/07/04 15:20:01 coldwind Exp $ + +*licq-1.3.5-r1 (04 Jul 2008) + + 04 Jul 2008; Santiago M. Mola + +files/licq-1.3.5-gcc43.patch, +files/licq-1.3.5-logonfix.patch, + +files/licq-1.3.5-prevent-dos.patch, +licq-1.3.5-r1.ebuild: + Fix security bug #219708, gcc-4.3 and glibc-2.8 fixes (bugs #218814 and + #228373) and ICQ protocol upgrade (bug #230387). 27 Mar 2008; Santiago M. Mola -licq-1.2.7.ebuild, -licq-1.3.0.ebuild: diff --git a/net-im/licq/Manifest b/net-im/licq/Manifest index d290ce1ad9e6..a7d691527b4e 100644 --- a/net-im/licq/Manifest +++ b/net-im/licq/Manifest @@ -5,12 +5,16 @@ AUX 1.3.0-no_stupid_koloboks.patch 3160 RMD160 242a92a26fcaa1e86efdadfe330ae780a AUX 1.3.0-suse_bool.patch 191 RMD160 0b8b913f192328485f213c9d7cf12575158c4584 SHA1 4112dd355aea01b9c5c8f89d9ed2681eb616c4d7 SHA256 e061f929c965d28724cc2ff5ad7a859035331e24c52f8fd9cd2c73a07d32898a AUX 1.3.2-email_typo.patch 620 RMD160 7b8b9edb0f88e2d1a1372d86e8d174ffee910cd2 SHA1 73152f8161cb54897d978783dab536b9abffebad SHA256 18a9a5b10d25ee4f017b78183257950a71af20a7927e071f5f05191c078d3eb3 AUX licq-1.3.2-gcc41.patch 1238 RMD160 99a4628325ee2818a215dd2af870b0fdd7a76659 SHA1 638b3e985efbbc5f9099e229b08da4bed875d81a SHA256 eca8a5920942d8ce938e3bf907daf4f5353721a95af4447db9e65874b58e745e +AUX licq-1.3.5-gcc43.patch 3640 RMD160 9ab77b228e9426082d8015f452c9f25e46548b4c SHA1 ea20203897d26f9c842fa6fc648b9ce5db5c4b8b SHA256 4acd8891b02ce496176a4724d193fbf07330bc6ca40834a00ccfd0f2ea3b70dc +AUX licq-1.3.5-logonfix.patch 451 RMD160 c951b408e545e0aac009830061a93c614d19aeb7 SHA1 0a1d2ecab14d8f453727dbe47ad01b1c6021c9b9 SHA256 7b64b67852392278efa6ff081033fe16efe261da9093606e69799bfdfe249b5a +AUX licq-1.3.5-prevent-dos.patch 3866 RMD160 55a44ea3cbcdbac57c839f56fce5f90231d846bb SHA1 ff3c92832827ad2a132ce2946b42e5f912b59025 SHA256 9f9ddcd1469445b1c3aa08b39956d040ccb583b747e3bbf6d79504f0aba8806e DIST licq-1.3.2.tar.bz2 3980117 RMD160 19242437cce5ec3fd9bde6be50a4e29a8654950b SHA1 c31dc3e995be13b4d7957715b77f2d3338d14eab SHA256 3c6ec77d42973c93a9d1926a3aa444ff0388263f38a19c9b51e1337cde60f8bc DIST licq-1.3.4.tar.bz2 3088438 RMD160 2251da50f5a37903b57cf74d331b4ead693f4e23 SHA1 08485a4a445aae64f6065724527d28a4cb074038 SHA256 eed39b1fa78d6c03655babc6cb03155ed71391ec1422752d0611bd2583c2f608 DIST licq-1.3.5.tar.bz2 3260471 RMD160 4442f6cb3630d8300e5f128617a522bd2cb863dc SHA1 a1059173f36694e6e5ec9ba62ced6e9738807916 SHA256 ca6692026e87459082b33ebb6480cc5c600001c93e1d9e2bbde65f3cf2238d3e EBUILD licq-1.3.2-r1.ebuild 5062 RMD160 143bd539f2c07c94634e1113aa013200acd0e573 SHA1 30200a65a08d185b95359b63599973b17ce3f6b5 SHA256 330d054e518c3a843af5982cacf2e619599a0585806f51fbf3faaddb7269c08a EBUILD licq-1.3.2.ebuild 4895 RMD160 bdec2a191ad39da76c807576e7a8b2addb542e9f SHA1 d0287ef7d46897520a821f1941e096066b68e3d4 SHA256 e1cc635403af5e2959929cd3b26f53f21aff7ce9d276cf0a57f83b512ad435b0 EBUILD licq-1.3.4-r1.ebuild 4635 RMD160 186a512cd96cdf2515ac0af3e0b7cb74d0987d0f SHA1 457a031f2ee4c69b48ea579906795682d24b5177 SHA256 6216f4e5d56d4008cddd56042a55b54bf7a6bf98905e46240ec16d38975dfeb9 +EBUILD licq-1.3.5-r1.ebuild 4721 RMD160 15635439bf65d800a8b2651823e1bb19a7029ef5 SHA1 d1324a41477d64f25b999c9eaf8cd4b1b8aa8690 SHA256 90ec94430120e40830df22929fc01181bf3e312d5a85b6c8cd1abb52ea4f32ad EBUILD licq-1.3.5.ebuild 4690 RMD160 c0ea1b97aad000fa0dd90b5ca1ca48021ae29782 SHA1 487e2b2e4a16271292485db425a2e8eb403d6cb0 SHA256 5914bb274378c6801251c800b0bdd7a954c9102446c2f1ba761c318fe10fefa3 -MISC ChangeLog 14073 RMD160 2ebe6ef0535862f3891293fc254a770a9383f3ec SHA1 585eb6ac143c19bfac1a126626019634d20b1b18 SHA256 dbc1d9bc456637809045162c2c861dcd400ddae332455f91df1ebdd4273b3151 +MISC ChangeLog 14412 RMD160 aff84a9071822ddfffb7da50f900447c48bb70c0 SHA1 5ab7f76ca6c683c5d39bb31ebef2adab90ccd5ee SHA256 85dec6235d7bf6ce69ae3ea045bc24157a4d0addfa3905fbe47c36719b1e2b01 MISC metadata.xml 249 RMD160 09f64f681d0dd11fd8a5784ae17b7eaaa87cc12f SHA1 936e8c76314d77517317065331498434f2c59674 SHA256 bfa15ab9faf7742a9f33d2ba72410a089690beb639884f357b135951cd663230 diff --git a/net-im/licq/files/licq-1.3.5-gcc43.patch b/net-im/licq/files/licq-1.3.5-gcc43.patch new file mode 100644 index 000000000000..fa064cf5c4a3 --- /dev/null +++ b/net-im/licq/files/licq-1.3.5-gcc43.patch @@ -0,0 +1,111 @@ +Source: Anders Olofsson, zimous, Peter Alfredsen, maybe others too. +Upstream: Probably fixed in next release. +Reason: gcc-4.3 and glibc-2.8 errors, bugs #218814 and #228373 +diff -NrU5 licq-1.3.5.orig/plugins/auto-reply/configure.ac licq-1.3.5/plugins/auto-reply/configure.ac +--- licq-1.3.5.orig/plugins/auto-reply/configure.ac 2008-06-21 14:49:20.000000000 +0200 ++++ licq-1.3.5/plugins/auto-reply/configure.ac 2008-06-21 14:52:18.000000000 +0200 +@@ -44,11 +44,11 @@ + + dnl Switch to C++ mode and check for needed C++ headers + AC_LANG_SAVE + AC_LANG_CPLUSPLUS + +-AC_CHECK_HEADER(vector.h,, ++AC_CHECK_HEADER(vector,, + AC_MSG_ERROR(You need to have the libstdc++ headers installed)) + + AC_LANG_RESTORE + + AC_OUTPUT( +diff -NrU5 licq-1.3.5.orig/plugins/auto-reply/src/autoreply.cpp licq-1.3.5/plugins/auto-reply/src/autoreply.cpp +--- licq-1.3.5.orig/plugins/auto-reply/src/autoreply.cpp 2008-06-21 14:49:20.000000000 +0200 ++++ licq-1.3.5/plugins/auto-reply/src/autoreply.cpp 2008-06-21 14:52:18.000000000 +0200 +@@ -10,10 +10,11 @@ + #include + #include + #include + #include + #include ++#include + #ifdef HAVE_ERRNO_H + #include + #else + extern int errno; + #endif +diff -NrU5 licq-1.3.5.orig/plugins/email/configure.ac licq-1.3.5/plugins/email/configure.ac +--- licq-1.3.5.orig/plugins/email/configure.ac 2008-06-21 14:49:20.000000000 +0200 ++++ licq-1.3.5/plugins/email/configure.ac 2008-06-21 14:52:18.000000000 +0200 +@@ -46,11 +46,11 @@ + + dnl Switch to C++ mode and check for needed C++ headers + AC_LANG_SAVE + AC_LANG_CPLUSPLUS + +-AC_CHECK_HEADER(vector.h,, ++AC_CHECK_HEADER(vector,, + AC_MSG_ERROR(You need to have the libstdc++ headers installed)) + + AC_LANG_RESTORE + + AC_OUTPUT( +diff -NrU5 licq-1.3.5.orig/plugins/email/src/forwarder.cpp licq-1.3.5/plugins/email/src/forwarder.cpp +--- licq-1.3.5.orig/plugins/email/src/forwarder.cpp 2008-06-21 14:49:20.000000000 +0200 ++++ licq-1.3.5/plugins/email/src/forwarder.cpp 2008-06-21 15:17:53.000000000 +0200 +@@ -7,10 +7,11 @@ + #include + #include + #include + #include + #include ++#include + #ifdef HAVE_ERRNO_H + #include + #else + extern int errno; + #endif +diff -NrU5 licq-1.3.5.orig/plugins/msn/configure.ac licq-1.3.5/plugins/msn/configure.ac +--- licq-1.3.5.orig/plugins/msn/configure.ac 2008-06-21 14:49:20.000000000 +0200 ++++ licq-1.3.5/plugins/msn/configure.ac 2008-06-21 14:52:18.000000000 +0200 +@@ -51,11 +51,11 @@ + + dnl Switch to C++ mode and check for needed C++ headers + AC_LANG_SAVE + AC_LANG_CPLUSPLUS + +-AC_CHECK_HEADER(vector.h,, ++AC_CHECK_HEADER(vector,, + AC_MSG_ERROR(You need to have the libstdc++ headers installed)) + + AC_LANG_RESTORE + + msn_gcc_major_version=0 +diff -NrU5 licq-1.3.5.orig/plugins/rms/src/rms.cpp licq-1.3.5/plugins/rms/src/rms.cpp +--- licq-1.3.5.orig/plugins/rms/src/rms.cpp 2008-06-21 14:49:20.000000000 +0200 ++++ licq-1.3.5/plugins/rms/src/rms.cpp 2008-06-21 15:08:27.000000000 +0200 +@@ -7,10 +7,11 @@ + #include + #include + #include + #include + #include ++#include + #ifdef HAVE_ERRNO_H + #include + #else + extern int errno; + #endif +diff -NrU5 licq-1.3.5.orig/src/fifo.cpp licq-1.3.5/src/fifo.cpp +--- licq-1.3.5.orig/src/fifo.cpp 2008-06-21 14:49:20.000000000 +0200 ++++ licq-1.3.5/src/fifo.cpp 2008-06-21 14:52:18.000000000 +0200 +@@ -28,10 +28,11 @@ + #include + #include + #include + #include + #include ++#include + #include "time-fix.h" + + #ifdef HAVE_ERRNO_H + #include + #else diff --git a/net-im/licq/files/licq-1.3.5-logonfix.patch b/net-im/licq/files/licq-1.3.5-logonfix.patch new file mode 100644 index 000000000000..bf8cbaa95eb0 --- /dev/null +++ b/net-im/licq/files/licq-1.3.5-logonfix.patch @@ -0,0 +1,13 @@ +Source: Upstream homepage, already applied. +Reason: Can't login after protocol change, bug #230387 +--- src/icqpacket.cpp ++++ src/icqpacket.cpp +@@ -821,7 +821,7 @@ + + // Static versioning + buffer->PackUnsignedLongBE(0x00160002); +- buffer->PackUnsignedShortBE(0x010A); ++ buffer->PackUnsignedShortBE(0x010B); + // Client version major (4 == ICQ2000, 5 == ICQ2001) + buffer->PackUnsignedLongBE(0x00170002); + buffer->PackUnsignedShortBE(0x0014); diff --git a/net-im/licq/files/licq-1.3.5-prevent-dos.patch b/net-im/licq/files/licq-1.3.5-prevent-dos.patch new file mode 100644 index 000000000000..3aaa2bc56e02 --- /dev/null +++ b/net-im/licq/files/licq-1.3.5-prevent-dos.patch @@ -0,0 +1,111 @@ +Source: http://www.licq.org/changeset/6146 +Reason: DoS via large number of connections, bug #219708 +--- /trunk/licq/include/licq_socket.h ++++ /trunk/licq/include/licq_socket.h +@@ -251,4 +251,5 @@ + fd_set SocketSet() { return m_sSockets.SocketSet(); } + int LargestSocket() { return m_sSockets.Largest(); } ++ unsigned short Num() { return m_sSockets.Num(); } + + protected: +--- /trunk/licq/src/socket.cpp ++++ /trunk/licq/src/socket.cpp +@@ -818,6 +818,24 @@ + socklen_t sizeofSockaddr = sizeof(struct sockaddr_in); + +- newSocket.m_nDescriptor = accept(m_nDescriptor, (struct sockaddr *)&newSocket.m_sRemoteAddr, &sizeofSockaddr); +- newSocket.SetLocalAddress(); ++ // Make sure we stay under FD_SETSIZE ++ // See: ++ // * http://www.securityfocus.com/archive/1/490711 ++ // * http://securityvulns.com/docs7669.html ++ // for more details ++ // This probably has no affect, since we are using multiple threads, but keep it here ++ // to be used as a sanity check. ++ int newDesc = accept(m_nDescriptor, (struct sockaddr *)&newSocket.m_sRemoteAddr, &sizeofSockaddr); ++ if (newDesc < FD_SETSIZE) ++ { ++ newSocket.m_nDescriptor = newDesc; ++ newSocket.SetLocalAddress(); ++ } ++ else ++ { ++ gLog.Error(tr("%sCannot accept new connection, too many descriptors in use.\n"), L_ERRORxSTR); ++ close(newDesc); ++ ++ // TODO throw an exception, or do something to tell the caller it failed ++ } + } + +--- /trunk/licq/src/icqd-threads.cpp ++++ /trunk/licq/src/icqd-threads.cpp +@@ -24,4 +24,5 @@ + #include "gettext.h" + ++#define MAX_CONNECTS 256 + #define DEBUG_THREADS(x) + //#define DEBUG_THREADS(x) gLog.Info(x) +@@ -781,6 +782,19 @@ + tcp->RecvConnection(*newSocket); + gSocketManager.DropSocket(tcp); +- gSocketManager.AddSocket(newSocket); +- gSocketManager.DropSocket(newSocket); ++ ++ // Make sure we can handle another socket before accepting it ++ if (gSocketManager.Num() > MAX_CONNECTS) ++ { ++ // Too many sockets, drop this one ++ char remoteIp[32]; ++ gLog.Warn(tr("%sToo many connected sockets, rejecting connection from %s.\n"), ++ L_WARNxSTR, newSocket->RemoteIpStr(remoteIp)); ++ delete newSocket; ++ } ++ else ++ { ++ gSocketManager.AddSocket(newSocket); ++ gSocketManager.DropSocket(newSocket); ++ } + } + } +--- /trunk/licq/src/icqd-chat.cpp ++++ /trunk/licq/src/icqd-chat.cpp +@@ -24,4 +24,5 @@ + #include "gettext.h" + ++#define MAX_CONNECTS 256 + #define DEBUG_THREADS(x) + +@@ -2384,14 +2385,22 @@ + else if (nCurrentSocket == chatman->chatServer.Descriptor()) + { +- CChatUser *u = new CChatUser; +- u->m_pClient = new CChatClient; +- +- chatman->chatServer.RecvConnection(u->sock); +- chatman->sockman.AddSocket(&u->sock); +- chatman->sockman.DropSocket(&u->sock); +- +- u->state = CHAT_STATE_HANDSHAKE; +- chatman->chatUsers.push_back(u); +- gLog.Info(tr("%sChat: Received connection.\n"), L_TCPxSTR); ++ if (chatman->sockman.Num() >= MAX_CONNECTS) ++ { ++ // Too many sockets, drop this one ++ gLog.Warn(tr("%sToo many connected clients, rejecting new connection.\n"), L_WARNxSTR); ++ } ++ else ++ { ++ CChatUser *u = new CChatUser; ++ u->m_pClient = new CChatClient; ++ ++ chatman->chatServer.RecvConnection(u->sock); ++ chatman->sockman.AddSocket(&u->sock); ++ chatman->sockman.DropSocket(&u->sock); ++ ++ u->state = CHAT_STATE_HANDSHAKE; ++ chatman->chatUsers.push_back(u); ++ gLog.Info(tr("%sChat: Received connection.\n"), L_TCPxSTR); ++ } + } + + diff --git a/net-im/licq/licq-1.3.5-r1.ebuild b/net-im/licq/licq-1.3.5-r1.ebuild new file mode 100644 index 000000000000..2987b9d09e9d --- /dev/null +++ b/net-im/licq/licq-1.3.5-r1.ebuild @@ -0,0 +1,191 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-im/licq/licq-1.3.5-r1.ebuild,v 1.1 2008/07/04 15:20:01 coldwind Exp $ + +inherit autotools eutils kde-functions multilib + +DESCRIPTION="ICQ Client with v8 support" +HOMEPAGE="http://www.licq.org/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="2" +KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~sparc ~x86 ~x86-fbsd" +IUSE="ssl socks5 qt3 kde ncurses crypt msn debug" + +# we can't have conditional dependencies so "use kde && inherit kde" +# won't work -- messes up dep caching. + +# need-kde and their eclass friends inject things into DEPEND. But we only +# want them enabled if the kde USE flag is set. We get around this in the +# following dep lines: +RDEPEND="kde? ( >=kde-base/kdelibs-3.0 )" +DEPEND="kde? ( >=kde-base/kdelibs-3.0 ) + ssl? ( >=dev-libs/openssl-0.9.6 ) + qt3? ( =x11-libs/qt-3* ) + ncurses? ( sys-libs/ncurses >=dev-libs/cdk-4.9.11.20031210-r1 ) + crypt? ( >=app-crypt/gpgme-1.0.0 )" + +src_unpack() { + unpack ${A} + cd "${S}" + + epatch "${FILESDIR}"/${P}-logonfix.patch + epatch "${FILESDIR}"/${P}-prevent-dos.patch + epatch "${FILESDIR}"/${P}-gcc43.patch + + use ncurses && epatch "${FILESDIR}"/1.3.0-suse_bool.patch + + if use kde + then + # fix for #12436 + ebegin "Setting kde plugin as default" + cp "${S}"/src/licq.conf.h "${T}" + sed "s:Plugin1 = qt-gui:Plugin1 = kde-gui:" \ + "${T}"/licq.conf.h > "${S}"/src/licq.conf.h + eend $? + else + if ! use qt3 + then + ebegin "Setting console plugin as default..." + cp "${S}"/src/licq.conf.h "${T}" + sed "s:Plugin1 = qt-gui:Plugin1 = console:" \ + "${T}"/licq.conf.h > "${S}"/src/licq.conf.h + eend $? + fi + fi + + # Install plugins in the correct libdir + sed -i -e "s:lib/licq/:$(get_libdir)/licq/:" \ + "${S}"/include/licq_constants.h || die "sed failed" + sed -i -e 's:$(prefix)/lib:@libdir@:' \ + "${S}"/plugins/*/src/Makefile.{in,am} || die "sed failed" + + for plugin in msn auto-reply email ; do + cd "${S}"/plugins/${plugin} + eautoreconf + done +} + +src_compile() { + local myconf + use ssl || myconf="${myconf} --disable-openssl" + use socks5 && myconf="${myconf} --enable-socks5" + use debug && myconf="${myconf} --enable-debug" + + myconf="${myconf} $(use_enable crypt gpgme)" + + cd "${S}" + + # bug #21009 + find . -name 'configure' -exec sed -e "s:sed 's/-g:sed 's/^-g:" -i {} \; + + econf ${myconf} || die "econf failed" + + use crypt && { + # workaround for gpgme's headers inclusion path + sed \ + -e "s:FAULT_INCLUDES =:FAULT_INCLUDES = -I/usr/include/gpgme:" \ + -i "${S}"/src/Makefile + } + + emake || die "emake failed" + + # Create the various plug-ins + + # First, the Qt plug-in + if use qt3 + then + set-qtdir 3 + set-kdedir 3 + + use kde && myconf="${myconf} --with-kde" + + # Problems finding qt on multilib systems + myconf="${myconf} --with-qt-libraries=${QTDIR}/$(get_libdir)" + + # note! watch the --prefix=/usr placement; + # licq itself installs into /usr, but the + # optional kde/qt interface (to which second_conf belogns) + # installs its files in $KDE3DIR/{lib,share}/licq + + cd "${S}"/plugins/qt-gui + einfo "Compiling Qt GUI plug-in" + econf ${myconf} || die + emake || die + fi + + # Now the console plug-in + if use ncurses + then + cd "${S}"/plugins/console + einfo "Compiling the Console plug-in" + econf || die + emake || die + fi + + for plugin in auto-reply rms msn email ; do + cd "${S}"/plugins/${plugin} + einfo "Compiling '${plugin}' plug-in" + econf || die "econf failed for ${plugin} plugin" + emake || die "emake failed for ${plugin} plugin" + done +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + + dodoc ChangeLog INSTALL README* doc/* + + # Install the plug-ins + if use qt3 + then + cd "${S}"/plugins/qt-gui + emake DESTDIR="${D}" install || die + docinto plugins/qt-gui + dodoc README* + + fi + + if use ncurses + then + cd "${S}"/plugins/console + emake DESTDIR="${D}" install || die + docinto plugins/console + dodoc README + fi + + if use msn + then + cd "${S}"/plugins/msn + make DESTDIR="${D}" install || die + docinto plugins/msn + dodoc README + fi + + cd "${S}"/plugins/auto-reply + emake DESTDIR="${D}" install || die + docinto plugins/auto-reply + dodoc README licq_autoreply.conf + + cd "${S}"/plugins/rms + make DESTDIR="${D}" install || die + docinto plugins/rms + dodoc README licq_rms.conf + + exeinto /usr/share/${PN}/upgrade + doexe "${S}"/upgrade/* + + # fixes bug #22136 and #149464 + rm -fR "${D}"/var +} + +pkg_postinst() { + echo + ewarn + ewarn "If you're upgrading from <=licq-1.3.0 - you have to manually " + ewarn "upgrade your existing licq installation. Please backup your " + ewarn "settings and look into: /usr/share/licq/upgrade for scripts." + ewarn + echo +} -- cgit v1.2.3-65-gdbad