diff options
author | Alexis Ballier <aballier@gentoo.org> | 2013-11-09 09:16:35 +0000 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2013-11-09 09:16:35 +0000 |
commit | bf38a59b5c086bde6c61aa26147216fa5f5e7f0b (patch) | |
tree | c39bb1ccec72d6a8955cc3d2856abec2c208f287 /sys-freebsd/freebsd-libexec | |
parent | bump to 9.2 (diff) | |
download | gentoo-2-bf38a59b5c086bde6c61aa26147216fa5f5e7f0b.tar.gz gentoo-2-bf38a59b5c086bde6c61aa26147216fa5f5e7f0b.tar.bz2 gentoo-2-bf38a59b5c086bde6c61aa26147216fa5f5e7f0b.zip |
bump to 9.2
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key 160F534A)
Diffstat (limited to 'sys-freebsd/freebsd-libexec')
-rw-r--r-- | sys-freebsd/freebsd-libexec/ChangeLog | 8 | ||||
-rw-r--r-- | sys-freebsd/freebsd-libexec/freebsd-libexec-9.2.ebuild | 85 |
2 files changed, 92 insertions, 1 deletions
diff --git a/sys-freebsd/freebsd-libexec/ChangeLog b/sys-freebsd/freebsd-libexec/ChangeLog index c4c1d727f731..8402212e3f75 100644 --- a/sys-freebsd/freebsd-libexec/ChangeLog +++ b/sys-freebsd/freebsd-libexec/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sys-freebsd/freebsd-libexec # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-libexec/ChangeLog,v 1.61 2013/08/26 21:17:04 aballier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-libexec/ChangeLog,v 1.62 2013/11/09 09:16:35 aballier Exp $ + +*freebsd-libexec-9.2 (09 Nov 2013) + + 09 Nov 2013; Alexis Ballier <aballier@gentoo.org> + +freebsd-libexec-9.2.ebuild: + bump to 9.2 26 Aug 2013; Alexis Ballier <aballier@gentoo.org> freebsd-libexec-9.2_rc3.ebuild, +files/freebsd-libexec-9.2-no_ld32.patch: diff --git a/sys-freebsd/freebsd-libexec/freebsd-libexec-9.2.ebuild b/sys-freebsd/freebsd-libexec/freebsd-libexec-9.2.ebuild new file mode 100644 index 000000000000..f94c4b379688 --- /dev/null +++ b/sys-freebsd/freebsd-libexec/freebsd-libexec-9.2.ebuild @@ -0,0 +1,85 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-libexec/freebsd-libexec-9.2.ebuild,v 1.1 2013/11/09 09:16:35 aballier Exp $ + +EAPI=5 + +inherit bsdmk freebsd pam multilib multibuild multilib-build + +DESCRIPTION="FreeBSD libexec things" +SLOT="0" + +if [[ ${PV} != *9999* ]]; then + KEYWORDS="~amd64-fbsd ~sparc-fbsd ~x86-fbsd" + SRC_URI="mirror://gentoo/${LIBEXEC}.tar.bz2 + mirror://gentoo/${UBIN}.tar.bz2 + mirror://gentoo/${BIN}.tar.bz2 + mirror://gentoo/${CONTRIB}.tar.bz2 + mirror://gentoo/${LIB}.tar.bz2 + mirror://gentoo/${ETC}.tar.bz2 + mirror://gentoo/${USBIN}.tar.bz2" +fi + +RDEPEND="=sys-freebsd/freebsd-lib-${RV}* + >=sys-freebsd/freebsd-lib-9.1-r11[${MULTILIB_USEDEP}] + pam? ( virtual/pam )" +DEPEND="${RDEPEND} + =sys-freebsd/freebsd-mk-defs-${RV}* + =sys-freebsd/freebsd-sources-${RV}*" +RDEPEND="${RDEPEND} + xinetd? ( sys-apps/xinetd )" + +S="${WORKDIR}/libexec" + +# Remove sendmail, tcp_wrapper and other useless stuff +REMOVE_SUBDIRS="smrsh mail.local tcpd telnetd rshd rlogind lukemftpd ftpd" + +IUSE="pam ssl kerberos ipv6 nis xinetd" + +PATCHES=( "${FILESDIR}/${PN}-9.2-no_ld32.patch" ) + +pkg_setup() { + use ipv6 || mymakeopts="${mymakeopts} WITHOUT_INET6= WITHOUT_INET6_SUPPORT= " + use kerberos || mymakeopts="${mymakeopts} WITHOUT_KERBEROS_SUPPORT= " + use nis || mymakeopts="${mymakeopts} WITHOUT_NIS= " + use pam || mymakeopts="${mymakeopts} WITHOUT_PAM_SUPPORT= " + use ssl || mymakeopts="${mymakeopts} WITHOUT_OPENSSL= " + + mymakeopts="${mymakeopts} WITHOUT_SENDMAIL= WITHOUT_PF= WITHOUT_RCMDS= " +} + +src_prepare() { + ln -s /usr/include "${WORKDIR}/include" +} + +setup_multilib_vars() { + if ! multilib_is_native_abi ; then + cd "${WORKDIR}/libexec/rtld-elf" || die + export mymakeopts="${mymakeopts} PROG=ld-elf32.so.1" + else + cd "${S}" + fi + "$@" +} + +src_compile() { + local MULTIBUILD_VARIANTS=( $(multilib_get_enabled_abis) ) + multibuild_foreach_variant freebsd_multilib_multibuild_wrapper setup_multilib_vars freebsd_src_compile +} + +src_install() { + local MULTIBUILD_VARIANTS=( $(multilib_get_enabled_abis) ) + multibuild_foreach_variant freebsd_multilib_multibuild_wrapper setup_multilib_vars freebsd_src_install + + insinto /etc + doins "${WORKDIR}/etc/gettytab" + newinitd "${FILESDIR}/bootpd.initd" bootpd + newconfd "${FILESDIR}/bootpd.confd" bootpd + + if use xinetd; then + for rpcd in rstatd rusersd walld rquotad sprayd; do + insinto /etc/xinetd.d + newins "${FILESDIR}/${rpcd}.xinetd" ${rpcd} + done + fi +} |