运行10.7.4,我运行了以下内容:
mkdir -p /opt/mports
cd /opt/mports
svn checkout https://svn.macports.org/repository/macports/trunk
cd trunk/base
./configure --enable-readline
make
sudo make install
make distclean
Run Code Online (Sandbox Code Playgroud)
然后我跑了nano /opt/local/etc/macports/sources.conf,注释掉rsync://rsync.macports.org/release/tarballs/ports.tar并加入file://opt/mports/trunk/dports [default]
跑完后sudo port -d sync我收到了
DEBUG: Copying /Volumes/Storagestar/Users/themikemasterson/Library/Preferences/com.apple.dt.Xcode.plist to /opt/local/var/macports/home/Library/Preferences
---> Updating the ports tree
Synchronizing local ports tree from file:///opt/mports/trunk/dports
DEBUG: /usr/bin/svn update --non-interactive /opt/mports/trunk/dports
DEBUG: changing euid/egid - current euid: 0 - current egid: 0
svn: OPTIONS of 'https://svn.macports.org/repository/macports/trunk': Server certificate verification failed: issuer is not trusted (https://svn.macports.org)
Command failed: …Run Code Online (Sandbox Code Playgroud)