Version bump/trimming of old ebuilds
authorMike Frysinger <vapier@gentoo.org>
Mon, 4 Nov 2002 01:38:38 +0000 (01:38 +0000)
committerMike Frysinger <vapier@gentoo.org>
Mon, 4 Nov 2002 01:38:38 +0000 (01:38 +0000)
net-p2p/dctc/ChangeLog
net-p2p/dctc/dctc-0.83.1.ebuild [deleted file]
net-p2p/dctc/dctc-0.83.2.ebuild [deleted file]
net-p2p/dctc/dctc-0.83.6.ebuild
net-p2p/dctc/dctc-0.83.7.ebuild [moved from net-p2p/dctc/dctc-0.83.5.ebuild with 67% similarity]
net-p2p/dctc/files/dctc-0.83.7-gcc-2.95.patch [new file with mode: 0644]
net-p2p/dctc/files/digest-dctc-0.83.1 [deleted file]
net-p2p/dctc/files/digest-dctc-0.83.2 [deleted file]
net-p2p/dctc/files/digest-dctc-0.83.5 [deleted file]
net-p2p/dctc/files/digest-dctc-0.83.7 [new file with mode: 0644]

index aa72c93e336d86b4f54e3a5203161d0db5b5bba1..8acdc584c32355ce5e8447c9fe73ab3c5d052a09 100644 (file)
@@ -1,6 +1,11 @@
 # ChangeLog for net-p2p/dctc
 # Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/net-p2p/dctc/ChangeLog,v 1.8 2002/10/29 16:20:03 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/dctc/ChangeLog,v 1.9 2002/11/04 01:37:50 vapier Exp $
+
+*dctc-0.83.7 (03 Nov 2002)
+
+  03 Nov 2002; Mike Frysinger <vapier@gentoo.org> :
+  Version bump via #10157.  Patch added for gcc-2.95.3.
 
 *dctc-0.83.6 (28 Oct 2002)
 
diff --git a/net-p2p/dctc/dctc-0.83.1.ebuild b/net-p2p/dctc/dctc-0.83.1.ebuild
deleted file mode 100644 (file)
index 1a15115..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-# Copyright 1999-2002 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-p2p/dctc/dctc-0.83.1.ebuild,v 1.5 2002/10/04 06:16:59 vapier Exp $
-
-S=${WORKDIR}/${P}
-DESCRIPTION="Direct Connect Text Client, almost famous file share program."
-SRC_URI="http://ac2i.tzo.com/dctc/${P}.tar.gz"
-HOMEPAGE="http://ac2i.tzo.com/dctc"
-SLOT="0"
-LICENSE="GPL-2"
-KEYWORDS="x86 ppc"
-
-
-DEPEND="=dev-libs/glib-1.2*
-       =sys-libs/db-3.2*"
-
-src_compile() {
-       econf || die
-       emake || die
-}
-
-src_install() {
-       einstall || die
-
-       dodoc -r Documentation
-
-       dodoc AUTHORS COPYING ChangeLog INSTALL KNOWN_BUGS NEWS README TODO
-}
diff --git a/net-p2p/dctc/dctc-0.83.2.ebuild b/net-p2p/dctc/dctc-0.83.2.ebuild
deleted file mode 100644 (file)
index 2da1d5c..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-# Copyright 1999-2002 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-p2p/dctc/dctc-0.83.2.ebuild,v 1.2 2002/10/04 06:17:02 vapier Exp $
-
-S=${WORKDIR}/${P}
-DESCRIPTION="Direct Connect Text Client, almost famous file share program."
-SRC_URI="http://ac2i.tzo.com/dctc/${P}.tar.gz"
-HOMEPAGE="http://ac2i.tzo.com/dctc"
-
-SLOT="0"
-LICENSE="GPL-2"
-KEYWORDS="x86 ppc"
-
-DEPEND="=dev-libs/glib-1.2*
-       =sys-libs/db-3.2*"
-
-src_compile() {
-       econf || die
-       emake || die
-}
-
-src_install() {
-       einstall || die
-
-       dodoc -r Documentation
-
-       dodoc AUTHORS COPYING ChangeLog INSTALL KNOWN_BUGS NEWS README TODO
-}
index 7365c5226f77c7baadc8f0462ef6a40d084a4fb4..0c7309dba0d9c79f644423d3a020bc608ecdeae2 100644 (file)
@@ -1,6 +1,6 @@
 # Copyright 1999-2002 Gentoo Technologies, Inc.
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-p2p/dctc/dctc-0.83.6.ebuild,v 1.1 2002/10/29 16:20:03 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/dctc/dctc-0.83.6.ebuild,v 1.2 2002/11/04 01:37:50 vapier Exp $
 
 S=${WORKDIR}/${P}
 DESCRIPTION="Direct Connect Text Client, almost famous file share program"
@@ -9,7 +9,7 @@ HOMEPAGE="http://ac2i.tzo.com/dctc/"
 
 SLOT="0"
 LICENSE="GPL-2"
-KEYWORDS="~x86 ~ppc"
+KEYWORDS="x86 ppc"
 
 DEPEND="=dev-libs/glib-1.2*
        =sys-libs/db-3.2*"
similarity index 67%
rename from net-p2p/dctc/dctc-0.83.5.ebuild
rename to net-p2p/dctc/dctc-0.83.7.ebuild
index 54b0a439da580c727a06044fb8f01d20636ec517..51f25623003de2cd6deee57595f5f7ee132b035d 100644 (file)
@@ -1,6 +1,6 @@
 # Copyright 1999-2002 Gentoo Technologies, Inc.
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-p2p/dctc/dctc-0.83.5.ebuild,v 1.1 2002/10/10 08:12:26 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/dctc/dctc-0.83.7.ebuild,v 1.1 2002/11/04 01:38:38 vapier Exp $
 
 S=${WORKDIR}/${P}
 DESCRIPTION="Direct Connect Text Client, almost famous file share program"
@@ -9,13 +9,16 @@ HOMEPAGE="http://ac2i.tzo.com/dctc/"
 
 SLOT="0"
 LICENSE="GPL-2"
-KEYWORDS="x86 ppc"
+KEYWORDS="~x86 ~ppc"
 
-DEPEND="=dev-libs/glib-2*
+DEPEND="=dev-libs/glib-1.2*
        =sys-libs/db-3.2*"
 
+inherit gcc
+
 src_compile() {
-       econf --enable-glib2 || die
+       econf
+       [ `gcc-major-version` -eq 2 ] && patch -p0 < ${FILESDIR}/${P}-gcc-2.95.patch
        emake || die
 }
 
diff --git a/net-p2p/dctc/files/dctc-0.83.7-gcc-2.95.patch b/net-p2p/dctc/files/dctc-0.83.7-gcc-2.95.patch
new file mode 100644 (file)
index 0000000..a066e3f
--- /dev/null
@@ -0,0 +1,14 @@
+--- src/userinfo.c.orig        2002-11-03 20:29:02.000000000 -0500
++++ src/userinfo.c     2002-11-03 20:28:21.000000000 -0500
+@@ -99,10 +99,10 @@
+ 
+       if(idx!=-1)
+       {
+-              printf("doing: %d\n",idx);
+               /* 1) the entry already exists, just update it */
+               /* 2) the entry does not exist but there is free space to add it */
+               LMP_UINFO *udp=&(((LMP_UINFO*)(local_dctc_user_info_lmp->mapped_addr))[idx]);
++              printf("doing: %d\n",idx);
+               udp->entry_is_busy=1;                                                                                   /* we set it to 1 because it can be an add or an update */
+               strncpy_max(udp->nickname,nickname,UINFO_NICK_SIZE);
+               sscanf(usize,"%lld",&(udp->share_size));
diff --git a/net-p2p/dctc/files/digest-dctc-0.83.1 b/net-p2p/dctc/files/digest-dctc-0.83.1
deleted file mode 100644 (file)
index 2c52aaf..0000000
+++ /dev/null
@@ -1 +0,0 @@
-MD5 c42e2712dab06a3b6a7fd9800215c495 dctc-0.83.1.tar.gz 227166
diff --git a/net-p2p/dctc/files/digest-dctc-0.83.2 b/net-p2p/dctc/files/digest-dctc-0.83.2
deleted file mode 100644 (file)
index 38232c5..0000000
+++ /dev/null
@@ -1 +0,0 @@
-MD5 70d0d6131223b98a34c814ecacd83b5e dctc-0.83.2.tar.gz 247537
diff --git a/net-p2p/dctc/files/digest-dctc-0.83.5 b/net-p2p/dctc/files/digest-dctc-0.83.5
deleted file mode 100644 (file)
index d75497a..0000000
+++ /dev/null
@@ -1 +0,0 @@
-MD5 5e691001fa203e3ca0ae30a9137d56fd dctc-0.83.5.tar.gz 247418
diff --git a/net-p2p/dctc/files/digest-dctc-0.83.7 b/net-p2p/dctc/files/digest-dctc-0.83.7
new file mode 100644 (file)
index 0000000..187a984
--- /dev/null
@@ -0,0 +1 @@
+MD5 ce1d35ffd24d6b0b929ba08f81f7098f dctc-0.83.7.tar.gz 251657