[28336] trunk/dports/sysutils/yum
source_changes at macosforge.org
source_changes at macosforge.org
Tue Aug 28 08:24:06 PDT 2007
Revision: 28336
http://trac.macosforge.org/projects/macports/changeset/28336
Author: afb at macports.org
Date: 2007-08-28 08:24:06 -0700 (Tue, 28 Aug 2007)
Log Message:
-----------
version upgrade (patch hell), added livecheck
Modified Paths:
--------------
trunk/dports/sysutils/yum/Portfile
trunk/dports/sysutils/yum/files/patch-prefix.diff
Modified: trunk/dports/sysutils/yum/Portfile
===================================================================
--- trunk/dports/sysutils/yum/Portfile 2007-08-28 14:58:38 UTC (rev 28335)
+++ trunk/dports/sysutils/yum/Portfile 2007-08-28 15:24:06 UTC (rev 28336)
@@ -3,7 +3,7 @@
PortSystem 1.0
name yum
-version 3.2.2
+version 3.2.3
platforms darwin
categories sysutils archivers
maintainers n3npq at mac.com afb at macports.org
@@ -16,7 +16,7 @@
homepage http://linux.duke.edu/projects/yum/
master_sites ${homepage}download/3.2/
-checksums md5 c6a9e8cc846fe9d080d61bd1b2146cfc
+checksums md5 89cf296107d580655aaf83fb7206edfc
patchfiles patch-prefix.diff patch-translate.py
@@ -52,3 +52,8 @@
${destroot}${prefix}/var/log \
${destroot}${prefix}/var/run
}
+
+livecheck.check regex
+# get the last modified tarball
+livecheck.url ${master_sites}?C=M\;O=D
+livecheck.regex ${name}-(\[0-9\\.\]+)${extract.suffix}
Modified: trunk/dports/sysutils/yum/files/patch-prefix.diff
===================================================================
--- trunk/dports/sysutils/yum/files/patch-prefix.diff 2007-08-28 14:58:38 UTC (rev 28335)
+++ trunk/dports/sysutils/yum/files/patch-prefix.diff 2007-08-28 15:24:06 UTC (rev 28336)
@@ -15,6 +15,23 @@
try:
import yummain
yummain.main(sys.argv[1:])
+--- bin/yum-updatesd.py.orig 2007-07-25 17:05:44.000000000 +0200
++++ bin/yum-updatesd.py 2007-08-28 17:16:06.000000000 +0200
+@@ -1,4 +1,4 @@
+-#!/usr/bin/python
++#!@@PYTHON@@
+ import sys, os
+ import optparse
+
+@@ -16,7 +16,7 @@
+ os.dup2(fd, 2)
+ os.close(fd)
+
+-sys.path.insert(0, '/usr/share/yum-cli')
++sys.path.insert(0, '@@PREFIX@@/share/yum-cli')
+ try:
+ import yumupd
+ yumupd.main(options)
--- ./callback.py.orig 2007-02-03 20:49:32.000000000 +0100
+++ ./callback.py 2007-06-19 18:17:13.000000000 +0200
@@ -1,4 +1,4 @@
@@ -24,15 +41,15 @@
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
yumupd.main(options)
---- cli.py.orig 2007-06-05 21:53:46.000000000 +0200
-+++ cli.py 2007-06-29 12:57:52.000000000 +0200
+--- cli.py.orig 2007-08-15 17:48:03.000000000 +0200
++++ cli.py 2007-08-28 17:08:57.000000000 +0200
@@ -1,4 +1,4 @@
-#!/usr/bin/python -t
+#!@@PYTHON@@ -t
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
-@@ -1171,10 +1171,10 @@
+@@ -1207,10 +1207,10 @@
if opts.installroot:
if os.access(opts.installroot+'/'+opts.conffile, os.R_OK):
opts.conffile = opts.installroot+'/'+opts.conffile
@@ -47,7 +64,7 @@
root=opts.installroot
else:
root = '/'
-@@ -1195,7 +1195,7 @@
+@@ -1231,7 +1231,7 @@
help="be tolerant of errors")
self.add_option("-C", dest="cacheonly", action="store_true",
help="run entirely from cache, don't update cache")
@@ -125,6 +142,12 @@
size 30k
--- ./i18n.py.orig 2004-01-28 08:31:02.000000000 +0100
+++ ./i18n.py 2007-06-20 16:27:22.000000000 +0200
+@@ -1,4 +1,4 @@
+-#!/usr/bin/env python
++#!/@@PYTHON@@
+ """i18n abstraction
+
+ License: GPL
@@ -17,7 +17,7 @@
t = gettext.translation('yum')
_ = t.gettext
@@ -134,9 +157,9 @@
gettext.textdomain('yum')
_ = gettext.gettext
---- ./Makefile.orig 2007-02-16 03:01:51.000000000 +0100
-+++ ./Makefile 2007-06-20 16:25:49.000000000 +0200
-@@ -17,18 +17,18 @@
+--- Makefile.orig 2007-08-22 06:10:48.000000000 +0200
++++ Makefile 2007-08-28 16:58:56.000000000 +0200
+@@ -17,19 +17,19 @@
for d in $(SUBDIRS); do make PYTHON=$(PYTHON) -C $$d; [ $$? = 0 ] || exit 1 ; done
install:
@@ -159,7 +182,9 @@
+ install -m 755 bin/yum-updatesd.py $(DESTDIR)@@PREFIX@@/sbin/yum-updatesd
- mkdir -p $(DESTDIR)/var/cache/yum
+- mkdir -p $(DESTDIR)/var/lib/yum
+ mkdir -p $(DESTDIR)@@PREFIX@@/var/cache/yum
++ mkdir -p $(DESTDIR)@@PREFIX@@/var/lib/yum
for d in $(SUBDIRS); do make PYTHON=$(PYTHON) DESTDIR=`cd $(DESTDIR); pwd` -C $$d install; [ $$? = 0 ] || exit 1; done
@@ -340,8 +365,8 @@
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
---- ./yum/config.py.orig 2007-04-26 16:12:30.000000000 +0200
-+++ ./yum/config.py 2007-06-20 16:39:03.000000000 +0200
+--- yum/config.py.orig 2007-08-17 07:46:51.000000000 +0200
++++ yum/config.py 2007-08-28 17:01:05.000000000 +0200
@@ -1,4 +1,4 @@
-#!/usr/bin/python -t
+#!@@PYTHON@@ -t
@@ -350,7 +375,7 @@
# it under the terms of the GNU General Public License as published by
@@ -461,8 +461,8 @@
installroot = Option('/')
-
+ config_file_path = Option('/etc/yum/yum.conf')
plugins = BoolOption(False)
- pluginpath = ListOption(['/usr/share/yum-plugins', '/usr/lib/yum-plugins'])
- pluginconfpath = ListOption(['/etc/yum/pluginconf.d'])
@@ -359,12 +384,14 @@
class YumConf(StartupConf):
'''
-@@ -473,10 +473,10 @@
+@@ -473,11 +473,11 @@
retries = IntOption(10)
recent = IntOption(7)
- cachedir = Option('/var/cache/yum')
+- persistdir = Option('/var/lib/yum')
+ cachedir = Option('@@PREFIX@@/var/cache/yum')
++ persistdir = Option('@@PREFIX@@/var/lib/yum')
keepcache = BoolOption(True)
- logfile = Option('/var/log/yum.log')
- reposdir = ListOption(['/etc/yum/repos.d', '/etc/yum.repos.d'])
@@ -384,15 +411,15 @@
#transaction set states
TS_UPDATE = 10
---- ./yum/depsolve.py.orig 2007-04-25 20:55:36.000000000 +0200
-+++ ./yum/depsolve.py 2007-06-20 16:47:02.000000000 +0200
+--- yum/depsolve.py.orig 2007-08-21 19:30:05.000000000 +0200
++++ yum/depsolve.py 2007-08-28 17:03:37.000000000 +0200
@@ -1,4 +1,4 @@
-#!/usr/bin/python -t
+#!@@PYTHON@@ -t
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
-@@ -119,7 +119,7 @@
+@@ -130,7 +130,7 @@
# filelists.xml for all repos to make the searchProvides more complete.
if name[0] == '/':
matched = 0
@@ -456,30 +483,30 @@
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
---- ./yum/repos.py.orig 2007-04-25 20:55:36.000000000 +0200
-+++ ./yum/repos.py 2007-06-19 18:17:13.000000000 +0200
+--- ./yum/rpmsack.py.orig 2007-04-27 15:16:12.000000000 +0200
++++ ./yum/rpmsack.py 2007-06-19 18:17:13.000000000 +0200
@@ -1,4 +1,4 @@
-#!/usr/bin/python -tt
+#!@@PYTHON@@ -tt
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
---- ./yum/rpmsack.py.orig 2007-04-27 15:16:12.000000000 +0200
-+++ ./yum/rpmsack.py 2007-06-19 18:17:13.000000000 +0200
+--- yum/rpmtrans.py.orig 2007-08-15 19:27:19.000000000 +0200
++++ yum/rpmtrans.py 2007-08-28 17:12:01.000000000 +0200
@@ -1,4 +1,4 @@
--#!/usr/bin/python -tt
-+#!@@PYTHON@@ -tt
+-#!/usr/bin/python -t
++#!@@PYTHON@@ -t
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
---- ./yum/sqlitecache.py.orig 2007-04-04 01:03:50.000000000 +0200
-+++ ./yum/sqlitecache.py 2007-06-19 18:17:13.000000000 +0200
+--- ./yum/repos.py.orig 2007-04-25 20:55:36.000000000 +0200
++++ ./yum/repos.py 2007-06-19 18:17:13.000000000 +0200
@@ -1,4 +1,4 @@
-#!/usr/bin/python -tt
+#!@@PYTHON@@ -tt
-
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
+ # the Free Software Foundation; either version 2 of the License, or
--- ./yum/sqlitesack.py.orig 2007-04-25 20:55:36.000000000 +0200
+++ ./yum/sqlitesack.py 2007-06-19 18:17:13.000000000 +0200
@@ -1,4 +1,4 @@
@@ -496,14 +523,6 @@
#
# utility functions to handle differences in pysqlite versions
# These are from Wichert Akkerman <wichert at deephackmode.org>'s python-dhm
---- ./yum/storagefactory.py.orig 2006-12-02 05:20:03.000000000 +0100
-+++ ./yum/storagefactory.py 2007-06-19 18:17:13.000000000 +0200
-@@ -1,4 +1,4 @@
--#!/usr/bin/python -tt
-+#!@@PYTHON@@ -tt
- # This program is free software; you can redistribute it and/or modify
- # it under the terms of the GNU General Public License as published by
- # the Free Software Foundation; either version 2 of the License, or
--- ./yum/update_md.py.orig 2007-05-15 14:18:08.000000000 +0200
+++ ./yum/update_md.py 2007-06-19 18:17:13.000000000 +0200
@@ -1,4 +1,4 @@
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070828/2518a1c3/attachment.html
More information about the macports-changes
mailing list