[41568] trunk/dports/sysutils/yum-utils
afb at macports.org
afb at macports.org
Thu Nov 6 02:21:30 PST 2008
Revision: 41568
http://trac.macports.org/changeset/41568
Author: afb at macports.org
Date: 2008-11-06 02:21:29 -0800 (Thu, 06 Nov 2008)
Log Message:
-----------
port upgrade: yum-utils 1.1.17
Modified Paths:
--------------
trunk/dports/sysutils/yum-utils/Portfile
trunk/dports/sysutils/yum-utils/files/patch-prefix.diff
Added Paths:
-----------
trunk/dports/sysutils/yum-utils/files/patch-Makefile
Modified: trunk/dports/sysutils/yum-utils/Portfile
===================================================================
--- trunk/dports/sysutils/yum-utils/Portfile 2008-11-06 10:15:20 UTC (rev 41567)
+++ trunk/dports/sysutils/yum-utils/Portfile 2008-11-06 10:21:29 UTC (rev 41568)
@@ -3,7 +3,7 @@
PortSystem 1.0
name yum-utils
-version 1.1.9
+version 1.1.17
platforms darwin
categories sysutils
maintainers afb at macports.org
@@ -12,9 +12,11 @@
manager. It includes utilities by different authors that make yum easier and \
more powerful to use.
-homepage http://linux.duke.edu/projects/yum/
+homepage http://yum.baseurl.org/
master_sites ${homepage}download/${name}/
-checksums md5 4325e5aec2ae73e099d4ebe04238598c
+checksums md5 c9bb92a87a01e39d2d928ac3ae12e10a \
+ sha1 343a8eb894aadf4f91ca833d6672ca028eefe3ba \
+ rmd160 bbf90d0299bc0665ea78bad9ee892bf3cb2791a9
patchfiles patch-prefix.diff
@@ -30,6 +32,11 @@
use_configure no
build {}
+platform darwin {
+ # exclude NetworkManager program
+ patchfiles-append patch-Makefile
+}
+
variant plugins description "include yum plugins" {
post-destroot {
Added: trunk/dports/sysutils/yum-utils/files/patch-Makefile
===================================================================
--- trunk/dports/sysutils/yum-utils/files/patch-Makefile (rev 0)
+++ trunk/dports/sysutils/yum-utils/files/patch-Makefile 2008-11-06 10:21:29 UTC (rev 41568)
@@ -0,0 +1,13 @@
+--- Makefile.orig 2008-11-06 11:15:45.000000000 +0100
++++ Makefile 2008-11-06 11:17:45.000000000 +0100
+@@ -29,8 +29,8 @@
+ done
+
+ for d in $(SUBDIRS); do make DESTDIR=`cd $(DESTDIR); pwd` -C $$d install; [ $$? = 0 ] || exit 1; done
+- mkdir -p $(NMPATH)
+- install -m 755 $(NMPROG) $(NMPATH)
++ #mkdir -p $(NMPATH)
++ #install -m 755 $(NMPROG) $(NMPATH)
+
+ archive:
+ @rm -rf ${PKGNAME}-${VERSION}.tar.gz
Modified: trunk/dports/sysutils/yum-utils/files/patch-prefix.diff
===================================================================
--- trunk/dports/sysutils/yum-utils/files/patch-prefix.diff 2008-11-06 10:15:20 UTC (rev 41567)
+++ trunk/dports/sysutils/yum-utils/files/patch-prefix.diff 2008-11-06 10:21:29 UTC (rev 41568)
@@ -1,17 +1,23 @@
---- ./Makefile.orig 2007-07-24 11:57:31.000000000 +0200
-+++ ./Makefile 2007-08-28 15:15:43.000000000 +0200
-@@ -12,10 +12,10 @@ clean:
+--- Makefile.orig 2008-09-17 20:58:11.000000000 +0200
++++ Makefile 2008-11-06 11:04:56.000000000 +0100
+@@ -18,14 +18,14 @@
rm -f *.tar.gz
install:
- mkdir -p $(DESTDIR)/usr/bin/
+- mkdir -p $(DESTDIR)/usr/sbin/
- mkdir -p $(DESTDIR)/usr/share/man/man1
+ mkdir -p $(DESTDIR)@@PREFIX@@/bin/
++ mkdir -p $(DESTDIR)@@PREFIX@@/sbin/
+ mkdir -p $(DESTDIR)@@PREFIX@@/share/man/man1
for util in $(UTILS); do \
- install -m 755 $$util.py $(DESTDIR)/usr/bin/$$util; \
+ install -m 755 $$util.py $(DESTDIR)@@PREFIX@@/bin/$$util; \
done
+ for util in $(UTILSROOT); do \
+- install -m 755 $$util.py $(DESTDIR)/usr/sbin/$$util; \
++ install -m 755 $$util.py $(DESTDIR)@@PREFIX@@/sbin/$$util; \
+ done
for d in $(SUBDIRS); do make DESTDIR=`cd $(DESTDIR); pwd` -C $$d install; [ $$? = 0 ] || exit 1; done
--- docs/Makefile.orig 2007-07-24 09:55:07.000000000 +0200
@@ -40,18 +46,18 @@
done
\ No newline at end of file
---- ./debuginfo-install.py.orig 2007-07-24 09:55:07.000000000 +0200
-+++ ./debuginfo-install.py 2007-08-28 15:15:13.000000000 +0200
+--- debuginfo-install.py.orig 2008-09-17 20:58:11.000000000 +0200
++++ debuginfo-install.py 2008-11-06 11:05:40.000000000 +0100
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!@@PYTHON@@
# 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
-@@ -15,7 +15,7 @@
- # Copyright 2007 Seth Vidal
+@@ -16,7 +16,7 @@
import sys
+ import os
-sys.path.insert(0,'/usr/share/yum-cli/')
+sys.path.insert(0,'@@PREFIX@@/share/yum-cli/')
@@ -89,6 +95,14 @@
# 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
+--- ./repodiff.py.orig 2008-09-17 20:58:11.000000000 +0200
++++ ./repodiff.py 2008-11-06 11:09:50.000000000 +0100
+@@ -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
--- ./repomanage.py.orig 2007-07-24 09:55:07.000000000 +0200
+++ ./repomanage.py 2007-08-28 15:15:13.000000000 +0200
@@ -1,4 +1,4 @@
@@ -130,6 +144,14 @@
# 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
+--- ./verifytree.py.orig 2008-09-17 20:58:11.000000000 +0200
++++ ./verifytree.py 2008-11-06 11:10:47.000000000 +0100
+@@ -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,
--- ./yum-builddep.py.orig 2007-07-24 09:55:07.000000000 +0200
+++ ./yum-builddep.py 2007-08-28 15:15:13.000000000 +0200
@@ -1,4 +1,4 @@
@@ -164,3 +186,45 @@
import yum
from yum.misc import getCacheDir
+--- ./yum-complete-transaction.py.orig 2008-09-17 20:58:11.000000000 +0200
++++ ./yum-complete-transaction.py 2008-11-06 11:14:51.000000000 +0100
+@@ -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
+@@ -15,7 +15,7 @@
+ # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+
+ import sys
+-sys.path.insert(0,'/usr/share/yum-cli')
++sys.path.insert(0,'@@PREFIX@@/share/yum-cli')
+
+ import yum
+ from yum.misc import getCacheDir, setup_locale
+--- ./yum-debug-dump.py.orig 2008-09-17 20:58:11.000000000 +0200
++++ ./yum-debug-dump.py 2008-11-06 11:13:52.000000000 +0100
+@@ -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
+--- ./yum-groups-manager.py.orig 2008-09-17 20:58:11.000000000 +0200
++++ ./yum-groups-manager.py 2008-11-06 11:14:29.000000000 +0100
+@@ -1,4 +1,4 @@
+-#!/usr/bin/python -tt
++#!@@PYTHON@@ -tt
+
+ import os
+ import sys
+@@ -10,7 +10,7 @@ import gzip
+ import yum
+ import yum.comps
+
+-sys.path.insert(0, '/usr/share/yum-cli')
++sys.path.insert(0, '@@PREFIX@@/share/yum-cli')
+ import output
+ from urlgrabber.progress import TextMeter
+
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20081106/0a3a49d2/attachment-0001.html>
More information about the macports-changes
mailing list