diff options
author | Alexis Ballier <aballier@gentoo.org> | 2009-05-22 13:36:09 +0000 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2009-05-22 13:36:09 +0000 |
commit | f6c75b5a21d01aa12ce06d995b974ba26aaf23db (patch) | |
tree | e7f6700d51deb6495ae29a1d8c4939e200189734 /sys-freebsd/freebsd-libexec | |
parent | Add a fix for getline conflicts, glibc 2.10, by Constantin Baranov, bug #270430 (diff) | |
download | gentoo-2-f6c75b5a21d01aa12ce06d995b974ba26aaf23db.tar.gz gentoo-2-f6c75b5a21d01aa12ce06d995b974ba26aaf23db.tar.bz2 gentoo-2-f6c75b5a21d01aa12ce06d995b974ba26aaf23db.zip |
bump to 7.2
(Portage version: 2.2_rc33/cvs/Linux x86_64)
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-7.2.ebuild | 74 |
2 files changed, 81 insertions, 1 deletions
diff --git a/sys-freebsd/freebsd-libexec/ChangeLog b/sys-freebsd/freebsd-libexec/ChangeLog index 6e106d00db07..851e535146f6 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-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-libexec/ChangeLog,v 1.29 2009/05/18 17:01:47 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-libexec/ChangeLog,v 1.30 2009/05/22 13:36:09 aballier Exp $ + +*freebsd-libexec-7.2 (22 May 2009) + + 22 May 2009; Alexis Ballier <aballier@gentoo.org> + +freebsd-libexec-7.2.ebuild: + bump to 7.2 *freebsd-libexec-7.1-r1 (18 May 2009) diff --git a/sys-freebsd/freebsd-libexec/freebsd-libexec-7.2.ebuild b/sys-freebsd/freebsd-libexec/freebsd-libexec-7.2.ebuild new file mode 100644 index 000000000000..19e87f97a2a1 --- /dev/null +++ b/sys-freebsd/freebsd-libexec/freebsd-libexec-7.2.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-libexec/freebsd-libexec-7.2.ebuild,v 1.1 2009/05/22 13:36:09 aballier Exp $ + +EAPI=2 + +inherit bsdmk freebsd pam + +DESCRIPTION="FreeBSD libexec things" +SLOT="0" +KEYWORDS="~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" + +RDEPEND="=sys-freebsd/freebsd-lib-${RV}*[nis?] + 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" + +PATCHES="${FILESDIR}/${PN}-setXid.patch + ${FILESDIR}/${PN}-nossp.patch + ${FILESDIR}/${PN}-7.0-libfallback.patch" + +# 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" + +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" +} + +src_compile() { + NOSSP_FLAGS="$(test-flags -fno-stack-protector -fno-stack-protector-all)" + export NOSSP_FLAGS + freebsd_src_compile +} + +src_install() { + 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 +} |