OS X 10.3 (Panther) comes with rsync 2.5.7, but I wanted a more recent version, so I added the "macos" keyword to the net-misc/rsync-2.6.0-r3 package, making no other changes. It appears to work: it compiles and runs, and "emerge sync" works correctly with the new version. The one caveat: since OS X 10.3 (Panther) comes with rsync 2.5.7, there's already a /usr/bin/rsync, and so collision-protect refuses to merge. I simply renamed /usr/bin/rsync to /usr/bin/rsync-orig-2.5.7 and then portage allowed the rest to merge. This may be a reason not to add the macos keyword to the ebuild, but I wanted to at least file the bug so that there'd be a record that rsync-2.6.0-r3 works on macos. Reproducible: Always Steps to Reproduce: 1. mkdir -p /usr/local/portage/net-misc 2. cp -r /usr/portage/net-misc/rsync /usr/local/portage 3. ekeyword macos /usr/local/portage/net-misc/rsync/rsync-2.6.0-r3 4. mv /usr/bin/rsync /usr/bin/rsync-orig-2.5.7 5. emerge -av net-misc/rsync Actual Results: rsync compiled and installed successfully. Portage 20040726 (default-macos-10.3, gcc-3.3, unavailable, 7.5.0 Power Macintosh powerpc) ================================================================= System uname: 7.5.0 Power Macintosh powerpc macos-20040726 distcc 2.0.1-zeroconf powerpc-apple-darwin7.0 (protocol 1) (default port 3632) [disabled] Autoconf: Automake: Binutils: ACCEPT_KEYWORDS="macos" AUTOCLEAN="yes" CFLAGS="-O2 -pipe" CHOST="powerpc-apple-darwin" COMPILER="" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="collision-protect cvs keepwork" GENTOO_MIRRORS="http://gentoo.osuosl.org/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="macos gdbm ncurses python slang ssl"
Due to policy we cannot overwrite Apple provided files on ppc-macos. Please test for ppc-darwin.
This depends on bug 67162. Will take a look at it when 67162 has gotten somewhere. Until then, this bug should remain frozen.