Various [Gentoo Linux](http://www.gentoo.org/) ebuilds, to provide out-of-tree packages and miscellaneous fixes. # Fixes for compiling prefix packages under Mac OS using LLVM/clang Some packages will fail with `illegal instruction: 4` if compiled with compiler-optimisations enabled. To work around this on a per-package basis: ``` mkdir ${EPREFIX}/etc/portage/env cat > ${EPREFIX}/etc/portage/env/debug <> ${EPREFIX}/etc/portage/package.env <` header is included on Darwin # iOS7-compatible ebuilds * app-pda/ipheth-pair * Tether an Apple iOS device to provide a network-link * app-pda/libimobiledevice * git live ebuild for updated libimobiledevice tools * app-pda/libplist * git live ebuild for updated plist library * app-pda/libusbmuxd * git live ebuild for split libusbmuxd/usbmuxd library * app-pda/usbmuxd * git live ebuild for usbmuxd binaries # nftables ebuilds * net-libs/libnftnl * Updated library version required by latest net-firewall/nftables * net-firewall/iptables-nftables * git live ebuild for nftables' iptables compatibility libraries * ~~net-firewall/nftables~~ * ~~git live ebuild for nftables `nft` binary~~ (obsolete due to in-tree nftables build) * app-emulation/docker * Allow net-firewall/iptables-nftables as an alternative to net-firewall/iptables * sys-apps/iproute2 * Allow net-firewall/iptables-nftables as an alternative to net-firewall/iptables # Out-of-tree ebuilds * dev-perl/Email-Outlook-Message * dev-perl/Locale-Hebrew * dev-perl/IO-Interface * dev-perl/IO-Socket-Multicast * dev-perl/Mojolicious * dev-perl/Mojo-Server-FastCGI * dev-perl/Net-Interface * dev-perl/Net-Subnet * dev-perl/Net-Twitter-Lite * dev-perl/POE-Component-Client-Ping * dev-perl/Proc-PID-File * dev-php/PEAR-Crypt_GPG * To replace the bundled libraries which are supplied with mail-client/roundcube-1.0.0 * dev-python/noxspellserver * dev-ruby/CFPropertyList * dev-ruby/cora * dev-ruby/geocoder * dev-ruby/guard * dev-ruby/guard-rspec * dev-ruby/pry * dev-ruby/rake * mail-client/roundcube * Roundcube 1.0.0 and Roundcube 1.01 have been released, but are not yet in-tree... * net-mail/davmail-bin * Java Microsoft Exchange <-> IMAP connector * net-misc/minissdpd * Temporarily retain old build, which doesn't require `USE="old-output"` for sys-apps/net-tools * sys-apps/tmpfs * Mirror segments of a filesystem to a memory-based backing store * sys-auth/opie * OPIE One-time password system * sys-auth/pam_mobile_otp * PAM component of mOTP * www-apps/heatmiser * Data acquisition and web-interface for Heatmiser Wifi Thermostats * www-apps/nabaztaglives * Nabaztag Lives server software, re-factored into a webapp * www-apps/opennab * OpenNAB Nabaztag server software * www-apps/rpi-monitor * Raspberry Pi monitoring web-interface from [rpi-experiences.blogspot.fr](http://rpi-experiences.blogspot.fr/) * www-apps/siriproxy * Web interface for 'Three Little Pigs' fork of SiriProxy * www-misc/observium * Observium is an autodiscovering SNMP based network monitoring platform # Modified ebuilds * app-emulation/lxc * Don't require an upgrade to Python 3.x unless building against Python * app-misc/ca-certificates * Don't install files for creating .deb archives to `/usr/share/doc/${PF}/examples/` * app-misc/colordiff * Install example configuration file to `/usr/share/doc/${PF}/` rather than `/etc/` * dev-libs/libcgroup * Improve output with `USE="DEBUG"` * mail-filter/spampd * Fix `status` reporting, revise installed documentation, add optional systemd service support * media-libs/opengl-apple * Check for missing files before installing the Apple X11/Xquartz compatibility symlinks * media-sound/teamspeak-server-bin * A more FHS/Gentoo-like installation structure * net-analyzer/munin * Re-factor munin to operate as a webapp, and remove configuration from `/etc` * net-dialup/ppp * Incorporate patches to allow interface discovery (rather than assuming the `eth0` is the primary interface -the appropriate interface with a prefix of `eth`, `em`, `ef`, or `eg` will be auto-discovered), and to enable the use of Baby Jumbo Frames whereby the host interface is given an MTU of 1508 so that the PPPoE link can retain a full 1500-byte MTU * net-libs/neon * Patch trivial typo which prevents `writev` from being defined * net-misc/tor * Prevent GCC infinite loop, rather than simply warning about it * sys-apps/busybox * Updates to make mdev more functional - see [here](http://blog.stuart.shelton.me/archives/891)... * sys-power/apcupsd * Incorporate patch to allow apcupsd to be bulit against recent SNMP headers; * Correct SNMP patch failure of version 3.14.12, make exposed configuration options more flexible; * Provide more flexibility with finer-grained USE flags # Fixes for ebuilds using /run (... rather than /var/run) * app-admin/eselect-php * app-admin/ulogd * app-misc/screen * dev-libs/cyrus-sasl * mail-filter/spamassassin * net-analyzer/darkstat * net-analyzer/iptraf-ng * net-analyzer/ntop * net-analyzer/rrdtool * ~~net-analyzer/wireshark~~ * net-analyzer/zabbix * net-dns/bind * net-firewall/conntrack-tools * net-misc/dhcpcd * net-misc/memcached * net-misc/minidlna * net-misc/openntpd * net-p2p/bitcoind * sys-apps/kmod * sys-apps/lm_sensors * sys-apps/smartmontools * sys-libs/pam * sys-power/acpid * www-servers/lighttpd # Fixes for MIPS n32 and x86_64 x32 ABIs Included is a modified `eclass/multilib.eclass` that no longer overrides any amd64 `LIBDIR_*` environment variables, which may now usefully be set in `/etc/portage/make.conf`. For this to work universally, you may need to edit `/etc/portage/repos.conf` and add: ``` [DEFAULT] eclass-overrides = srcshelton ``` ... to ensure that main-repo ebuilds benefit from the change. The `LIBDIR` variables, and their default values, are: ``` LIBDIR_amd64="lib64" LIBDIR_x32="libx32" LIBDIR_x86="lib" SYMLINK_LIB="yes" ``` ... noting that `SYMLINK_LIB` defaults to `"no"` (e.g. do not try to symlink `/lib` and `/usr/lib` to the library directory which the ABI actually uses) for x32 profiles, and that these variables only affect multilib systems. * app-admin/monit * Add required `--with-ssl-lib-dir` option * app-crypt/mit-krb5 * Ensure that AES assembly is built for x32 rather than amd64 * app-antivirus/clamav * Don't use (64-bit) assembly if `__ILP32__` is defined * dev-db/libdbi-drivers * Add required `--with-dbi-libdir` option * dev-lang/ruby * Avoid inline assembly with x32 ABI * net-analyzer/arp-sk * Look for libnet in the appropriate "libdir" rather than `lib` * net-dns/bind-tools * Correct many instances of hard-coded references to `lib` * net-misc/miniupnpd * Prevent use of 'sysctl' syscall (which specifically errors on x32, but is deprecated for all ABIs) * sys-apps/baselayout * Don't error-out if using `lib32` for x32 libraries * sys-apps/cpuid * Don't use 64-bit assembly if `__ILP32__` is defined * sys-devel/binutils * Allow `LIBDIR_*` variables to override hard-coded default directory locations * sys-devel/gcc * Allow `LIBDIR_*` variables to override hard-coded default directory locations * sys-libs/glibc * Allow `LIBDIR_*` variables to override hard-coded default directory locations (for x86 only) # Fixes for `udev` and to allow separate `/usr` (... and/or operation without a `/run` directory) * net-wireless/bluez * Make 'udev' an optional dependency, controlled by `USE="udev"` * sys-apps/openrc * Add optional `USE="varrun"` flag to allow 'run' directory to remain as '/var/run' * sys-fs/cryptsetup * Make 'udev' an optional dependency, controlled by `USE="udev"` * sys-fs/fuse * Avoid installing udev rules unless `USE="udev"` is specified * sys-fs/lvm2 * Make 'udev' an optional dependency, controlled by `USE="udev"` * sys-fs/mdadm * Restore previous boot-time functionality, add support for module-loading from `/etc/mdadm/mdmod.conf`