summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Cummings <mcummings@gentoo.org>2005-06-05 23:01:49 +0000
committerMichael Cummings <mcummings@gentoo.org>2005-06-05 23:01:49 +0000
commitb994574df36663f018a6a260f7777454dcc88d31 (patch)
tree8b7df269965f2242aa3041e07d38f505f565a5ef /net-misc/ebayagent
parentBug 95144 - optional dep on perl-tk (diff)
downloadgentoo-2-b994574df36663f018a6a260f7777454dcc88d31.tar.gz
gentoo-2-b994574df36663f018a6a260f7777454dcc88d31.tar.bz2
gentoo-2-b994574df36663f018a6a260f7777454dcc88d31.zip
Bug 95144 - with patch
(Portage version: 2.0.51.22-r1)
Diffstat (limited to 'net-misc/ebayagent')
-rw-r--r--net-misc/ebayagent/ChangeLog6
-rw-r--r--net-misc/ebayagent/Manifest13
-rw-r--r--net-misc/ebayagent/ebayagent-0.9.11-r1.ebuild6
-rw-r--r--net-misc/ebayagent/files/ebayagent.patch38
4 files changed, 50 insertions, 13 deletions
diff --git a/net-misc/ebayagent/ChangeLog b/net-misc/ebayagent/ChangeLog
index c8410568ca1a..5bb00efed330 100644
--- a/net-misc/ebayagent/ChangeLog
+++ b/net-misc/ebayagent/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-misc/ebayagent
# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/ebayagent/ChangeLog,v 1.3 2005/06/05 22:51:15 mcummings Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/ebayagent/ChangeLog,v 1.4 2005/06/05 23:01:49 mcummings Exp $
+
+ 05 Jun 2005; Michael Cummings <mcummings@gentoo.org>
+ +files/ebayagent.patch, ebayagent-0.9.11-r1.ebuild:
+ Bug 95144 - with patch
*ebayagent-0.9.11-r1 (05 Jun 2005)
diff --git a/net-misc/ebayagent/Manifest b/net-misc/ebayagent/Manifest
index 11deac01b7cb..30aedc5a994e 100644
--- a/net-misc/ebayagent/Manifest
+++ b/net-misc/ebayagent/Manifest
@@ -1,16 +1,7 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
MD5 7f7082182da1a611874c36d7a563c024 ChangeLog 580
MD5 e2d8f1bf77722def1dd432e26455c818 metadata.xml 305
MD5 f3d708258febb8f86c8245c11af5ca65 ebayagent-0.9.11.ebuild 1942
-MD5 e6db2fe5bc599d318b026bf45002a291 ebayagent-0.9.11-r1.ebuild 1140
+MD5 cf31fefe58d1f634168b2dac99dbe605 ebayagent-0.9.11-r1.ebuild 1193
MD5 d91da69fc3c98bcf2692e807f7a3f071 files/digest-ebayagent-0.9.11-r1 68
MD5 d91da69fc3c98bcf2692e807f7a3f071 files/digest-ebayagent-0.9.11 68
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.1 (GNU/Linux)
-
-iD8DBQFCo4FVtG5z4I8BtQoRAk9dAKCD7x+4/1Ah+GdZD7EiBuu/+Qh8+gCfUGX4
-cdkKIlB4LpFnBZuf1u28u7A=
-=7sBQ
------END PGP SIGNATURE-----
+MD5 71fb94b74761b7cd64ab6e3b8979e80c files/ebayagent.patch 1864
diff --git a/net-misc/ebayagent/ebayagent-0.9.11-r1.ebuild b/net-misc/ebayagent/ebayagent-0.9.11-r1.ebuild
index 5f9ff2af1d69..995d7a897bda 100644
--- a/net-misc/ebayagent/ebayagent-0.9.11-r1.ebuild
+++ b/net-misc/ebayagent/ebayagent-0.9.11-r1.ebuild
@@ -1,6 +1,8 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/ebayagent/ebayagent-0.9.11-r1.ebuild,v 1.1 2005/06/05 22:51:15 mcummings Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/ebayagent/ebayagent-0.9.11-r1.ebuild,v 1.2 2005/06/05 23:01:49 mcummings Exp $
+
+inherit eutils
DESCRIPTION="ebay bidding Perl-Script"
HOMEPAGE="http://ebayagent.sf.net"
@@ -22,6 +24,8 @@ DEPEND="dev-lang/perl
S=${WORKDIR}/eBayAgent-${PV}
src_compile() {
+ epatch ${FILESDIR}/ebayagent.patch
+
sed -i -e "s|PREFIX=/usr|PREFIX=${D}${DESTTREE}|" ${S}/Makefile
emake || die "emake failed"
}
diff --git a/net-misc/ebayagent/files/ebayagent.patch b/net-misc/ebayagent/files/ebayagent.patch
new file mode 100644
index 000000000000..38862b0c8e6a
--- /dev/null
+++ b/net-misc/ebayagent/files/ebayagent.patch
@@ -0,0 +1,38 @@
+--- XeBayAgent.pl.old 2005-06-05 18:50:42.000000000 -0400
++++ XeBayAgent.pl 2005-06-05 18:49:22.000000000 -0400
+@@ -240,7 +240,7 @@ my %user_conf = (
+ X_terminal => "",
+ X_inanotherterm => 0,
+ X_indialogbox => 0,
+- X_eBayAgentLocation => "",
++ X_eBayAgentLocation => "/usr/bin/eBayAgent",
+ );
+
+ my %tconf = %user_conf;
+--- Tools/eBayAgent_Skript.old 2005-04-28 01:55:48.000000000 -0400
++++ Tools/eBayAgent_Skript 2005-06-05 18:07:09.000000000 -0400
+@@ -35,12 +35,13 @@ ITEMS="2534478656 2533973254 2534483715
+ # along with this program; if not, write to the Free Software Foundation,
+ # Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+
++# Patched to read the settings from $HOME/.eBayAgent_Skript.confign# This will check if a config file exists. If not -> createnif [ ! -e $HOME/.eBayAgent_Skript.config ];thenntsed -n '/^# This is a simple/,/^ITEMS=/p' /bin/eBayAgent_Skript > $HOME/.eBayAgent_Skript.confignecho "Please adjust $HOME/.eBayAgent_Skript.config to your needs first!"nexitnfinsource $HOME/.eBayAgent_Skript.confign
+ # fetching the data and sorting takes about 2-3 secs per article
+ (
+ for ITEM in $ITEMS ; do
+ # fetch article data, cut out end time
+- # date is gmtime(); "(GMT)" is hard coded in eBayAgent.pl
+- DATE=$(eBayAgent.pl -c $ITEM |
++ # date is gmtime(); "(GMT)" is hard coded in eBayAgent
++ DATE=$(eBayAgent -c $ITEM |
+ sed -n 's/Bid End time.*: \(.*\) (GMT)$/\1/p')
+ # convert to seconds since 1.1.1970
+ SECS=$(date +%s --date "$DATE")
+@@ -53,7 +54,7 @@ sort -n -k1 |
+ # and then bid one after the other.
+ while read SECS ITEM ; do
+ echo
+- eBayAgent.pl -i $ITEM -b $MAX -E
++ eBayAgent -i $ITEM -b $MAX -E
+ # if not successful, continue
+ test $? -ne 99 && continue
+ # ok, it's 99, so we won. so exit.