Trying to create a portfile patch test repository
William H. Magill
magill at mac.com
Thu Jan 1 20:28:49 PST 2015
I've been working the pages of the Howto - https://guide.macports.org/#development.introduction
Working step 4.6 - local portfile repositiory
[/Users/magill] magill
shianbrae> ls -alsd ports
0 drwxr-xr-x 5 magill staff 170 Jan 1 23:00 ports
[/Users/magill/ports] magill
shianbrae> portindex
Creating port index in /Users/magill/ports
Adding port www/mediawiki
Total number of ports parsed: 1
Ports successfully parsed: 1
Ports failed: 0
Up-to-date ports skipped: 0
[/Users/magill/ports] magill
shianbrae> ls -als
total 8
0 drwxr-xr-x 5 magill staff 170 Jan 1 23:00 .
0 drwxr-xr-x+ 100 magill staff 3400 Jan 1 22:42 ..
4 -rw------- 1 magill wheel 655 Jan 1 22:33 PortIndex
4 -rw-r--r-- 1 magill staff 12 Jan 1 23:00 PortIndex.quick
0 drwxr-xr-x 3 magill staff 102 Jan 1 22:42 www
===<failing test>===
[/Users/magill/ports] magill
shianbrae> port search mediawiki
Warning: Can't open index file for source: File:///Users/magill/ports
Warning: Can't open index file for source: File:///Users/magill/ports
Warning: Can't open index file for source: File:///Users/magill/ports
Warning: Can't open index file for source: File:///Users/magill/ports
mediawiki @1.23.2 (www, php)
The wiki engine used by Wikipedia
========
sources.conf contains:
# For proper functionality of various resources (port groups, mirror
# sites, etc.), the primary MacPorts source must always be tagged
# "[default]", even if switched from the default "rsync://" URL.
File:///Users/magill/ports
rsync://rsync.macports.org/release/tarballs/ports.tar [default]
======================= <The patch I'm trying to test>======
more mediawiki.portfile.diff
--- portfile.orig 2015-01-01 18:13:53.000000000 -0500
+++ portfile 2015-01-01 22:33:12.000000000 -0500
@@ -3,7 +3,7 @@
PortSystem 1.0
name mediawiki
-version 1.23.2
+version 1.24.1
set branch [join [lrange [split ${version} .] 0 1] .]
categories www php
license GPL-2+
@@ -19,13 +19,13 @@
platforms darwin freebsd
homepage http://www.mediawiki.org
-master_sites http://download.wikimedia.org/mediawiki/${branch}/
+master_sites http://releases.wikimedia.org/mediawiki/1.24/mediawiki-12.4.1.tar.gz
-checksums rmd160 7d3c986c9b0697f6550e461f2e7291b6270fc6e2 \
- sha256 b99637ec5fdc78307aa745395170e56908a09dd816498736f5007294868344de
+checksums rmd160 2ae8706ec248947a1da78f498f4991e81c55e1fb \
+ sha256 f240749d42dfa830d709be5d2be0503470538e19fd2bf1a7644c74fa8e503eb
-depends_run port:php5-web port:php5-intl port:php5-dba \
- port:php5-mbstring port:ImageMagick
+depends_run port:php56-intl port:php56-dba port:php56-mbstring \
+ port:ImageMagick
use_configure no
T.T.F.N.
William H. Magill
magill at icloud.com
magill at mac.com
whmagill at gmail.com
More information about the macports-users
mailing list