summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Schweizer <genstef@gentoo.org>2005-03-29 22:02:35 +0000
committerStefan Schweizer <genstef@gentoo.org>2005-03-29 22:02:35 +0000
commit13bdaff5c36ca55a896440168772a7b219d2b67c (patch)
treea3d2ba44aebc930166b2936fed2a3b432936f0c6 /net-dialup/capisuite
parentUpdated chappa-patch. 4.62-r1 stable on x86. Removed spooldir warning. (diff)
downloadhistorical-13bdaff5c36ca55a896440168772a7b219d2b67c.tar.gz
historical-13bdaff5c36ca55a896440168772a7b219d2b67c.tar.bz2
historical-13bdaff5c36ca55a896440168772a7b219d2b67c.zip
Fix capisuite to enable compilation with capi4k-utils-20050322 thanks to Stefan Briesenick
Package-Manager: portage-1.585-cvs
Diffstat (limited to 'net-dialup/capisuite')
-rw-r--r--net-dialup/capisuite/ChangeLog7
-rw-r--r--net-dialup/capisuite/Manifest15
-rw-r--r--net-dialup/capisuite/capisuite-0.4.5.ebuild13
-rw-r--r--net-dialup/capisuite/files/capisuite-0.4.5-capiv3.patch29
4 files changed, 46 insertions, 18 deletions
diff --git a/net-dialup/capisuite/ChangeLog b/net-dialup/capisuite/ChangeLog
index 6ea37b23c2d3..7d1cde55a4eb 100644
--- a/net-dialup/capisuite/ChangeLog
+++ b/net-dialup/capisuite/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-dialup/capisuite
# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-dialup/capisuite/ChangeLog,v 1.14 2005/02/06 11:11:09 mrness Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dialup/capisuite/ChangeLog,v 1.15 2005/03/29 22:02:35 genstef Exp $
+
+ 29 Mar 2005; Stefan Schweizer <genstef@gentoo.org>
+ +files/capisuite-0.4.5-capiv3.patch, capisuite-0.4.5.ebuild:
+ Fix capisuite to enable compilation with capi4k-utils-20050322 thanks to
+ Stefan Briesenick
06 Feb 2005; Alin Nastac <mrness@gentoo.org> capisuite-0.4.5.ebuild:
Mark stable on x86.
diff --git a/net-dialup/capisuite/Manifest b/net-dialup/capisuite/Manifest
index aac0aa00350a..3d18ba919fb3 100644
--- a/net-dialup/capisuite/Manifest
+++ b/net-dialup/capisuite/Manifest
@@ -1,10 +1,7 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
MD5 91b7ae44b5d045d8970a1e65294941c6 capisuite-0.4.4-r2.ebuild 1122
MD5 152ca0601acc9f4c3bf3fbae7083190b capisuite-0.4.4-r1.ebuild 1073
-MD5 00bbcd03de0f0bf5524791448f510f88 capisuite-0.4.5.ebuild 1210
-MD5 394fc8d7c35b8e9cc73c8071e3e48018 ChangeLog 2327
+MD5 9a1a55d18f62b4adcfa40bcf19eefba2 capisuite-0.4.5.ebuild 1357
+MD5 337013a5b8c0c0dcba6cab0b54876328 ChangeLog 2540
MD5 ec2f84816306825d125d0c01bd86758d metadata.xml 163
MD5 8289b7e8113e0bc63648b0139d49c03f capisuite-0.4.4.ebuild 1002
MD5 63b5890053139f14a3d3baf78812e0bc files/capisuite-fax-compatibility.patch 423
@@ -13,12 +10,6 @@ MD5 d0b0dd46c8f863d3849ee1ce118da842 files/capisuite-0.4.5-gentoo.patch 1979
MD5 3a5b2463d3fa18ad6f1fcf5f800f14c8 files/digest-capisuite-0.4.4 68
MD5 b6dc0c2a3cd0d7fb36b716a0e6514186 files/digest-capisuite-0.4.5 68
MD5 bebbd5c8d5175a594c2764902f77cb3d files/capisuite-0.4.4-gentoo.patch 3668
+MD5 b89c96393c676a2977e9b0b55b553b9f files/capisuite-0.4.5-capiv3.patch 2151
MD5 3a5b2463d3fa18ad6f1fcf5f800f14c8 files/digest-capisuite-0.4.4-r1 68
MD5 3a5b2463d3fa18ad6f1fcf5f800f14c8 files/digest-capisuite-0.4.4-r2 68
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.2.6 (GNU/Linux)
-
-iD8DBQFCBftXjiC39V7gKu0RAu9uAKC/wqdiHs1NVjfNkQP6G7/Atik9nACdEgok
-9V+lN09CvX4u2chxonv13WY=
-=Crug
------END PGP SIGNATURE-----
diff --git a/net-dialup/capisuite/capisuite-0.4.5.ebuild b/net-dialup/capisuite/capisuite-0.4.5.ebuild
index 76f72db07379..7bb602f12d7b 100644
--- a/net-dialup/capisuite/capisuite-0.4.5.ebuild
+++ b/net-dialup/capisuite/capisuite-0.4.5.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-dialup/capisuite/capisuite-0.4.5.ebuild,v 1.2 2005/02/06 11:11:09 mrness Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dialup/capisuite/capisuite-0.4.5.ebuild,v 1.3 2005/03/29 22:02:35 genstef Exp $
inherit eutils
@@ -29,23 +29,26 @@ src_unpack() {
cd ${S}
epatch ${FILESDIR}/${P}-gentoo.patch
epatch ${FILESDIR}/${PN}-fax-compatibility.patch
+ # apply CAPI V3 patch conditionally
+ grep 2>/dev/null -q CAPI_LIBRARY_V2 /usr/include/capiutils.h \
+ && epatch ${FILESDIR}/${P}-capiv3.patch
}
src_compile() {
econf --localstatedir=/var \
- --with-docdir=/usr/share/doc/${P} || die "econf failed."
+ --with-docdir=/usr/share/doc/${PF} || die "econf failed."
emake || die "parallel make failed."
}
src_install() {
emake DESTDIR=${D} install || die "install failed."
- exeinto /etc/init.d
- doexe ${FILESDIR}/capisuite
+ dodir /etc/init.d
+ doinitd ${FILESDIR}/capisuite
keepdir /var/spool/capisuite/{done,failed,sendq,users}
- dodoc AUTHORS COPYING INSTALL NEWS README TODO
+ dodoc AUTHORS ChangeLog INSTALL NEWS README TODO
exeinto /etc/cron.daily
doexe capisuite.cron
diff --git a/net-dialup/capisuite/files/capisuite-0.4.5-capiv3.patch b/net-dialup/capisuite/files/capisuite-0.4.5-capiv3.patch
new file mode 100644
index 000000000000..d319221a6e94
--- /dev/null
+++ b/net-dialup/capisuite/files/capisuite-0.4.5-capiv3.patch
@@ -0,0 +1,29 @@
+--- src/backend/capi.cpp.orig 2004-11-28 14:35:25.000000000 +0100
++++ src/backend/capi.cpp 2005-03-22 00:18:14.000000000 +0100
+@@ -148,7 +148,7 @@
+ << " CIPValue 0x" << CIPValue << ", B1proto 0x" << B1protocol << ", B2proto 0x" << B2protocol <<", B3proto 0x" << B3protocol << endl;
+ }
+ unsigned info=CONNECT_REQ(&CMSG, applId, messageNumber, controller, CIPValue, calledPartyNumber, callingPartyNumber, NULL, NULL,
+- B1protocol, B2protocol, B3protocol, B1configuration, B2configuration, B3configuration, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
++ B1protocol, B2protocol, B3protocol, B1configuration, B2configuration, B3configuration, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
+ if (debug_level >= 2) {
+ debug << prefix() << "info: " << info << endl;
+ }
+@@ -181,7 +181,7 @@
+
+ if (debug_level >= 2) debug << prefix() << ">SELECT_B_PROTOCOL_REQ: ApplId 0x" << hex << applId << ", MsgNr 0x" << messageNumber << ", PLCI 0x" << plci
+ << ", B1protocol " << B1protocol << ", B2protocol " << B2protocol << ", B3protocol " << B3protocol << endl;
+- unsigned info=SELECT_B_PROTOCOL_REQ(&CMSG, applId, messageNumber++, plci, B1protocol, B2protocol, B3protocol, B1configuration, B2configuration, B3configuration);
++ unsigned info=SELECT_B_PROTOCOL_REQ(&CMSG, applId, messageNumber++, plci, B1protocol, B2protocol, B3protocol, B1configuration, B2configuration, B3configuration, NULL);
+ if (debug_level >= 2)
+ debug << prefix() << "info: " << info << endl;
+
+@@ -295,7 +295,7 @@
+ << reject << ", B1proto 0x" << B1protocol << ", B2proto 0x" << B2protocol << ", B3proto 0x" << B3protocol << endl;
+
+ _cmsg new_message;
+- unsigned info=CONNECT_RESP(&new_message, applId, messageNumber, plci, reject, B1protocol, B2protocol, B3protocol, B1configuration, B2configuration, B3configuration, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
++ unsigned info=CONNECT_RESP(&new_message, applId, messageNumber, plci, reject, B1protocol, B2protocol, B3protocol, B1configuration, B2configuration, B3configuration, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
+ if (debug_level >= 2)
+ debug << prefix() << "info: " << info << endl;
+