diff options
author | Alexis Ballier <aballier@gentoo.org> | 2011-07-06 06:01:18 +0000 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2011-07-06 06:01:18 +0000 |
commit | da373af8cf3f0362dd26174f52a4e94d9822052f (patch) | |
tree | a24864293f7fac4580c43e2cde7327653adbc4da /sys-freebsd/freebsd-libexec | |
parent | Version bump. (diff) | |
download | gentoo-2-da373af8cf3f0362dd26174f52a4e94d9822052f.tar.gz gentoo-2-da373af8cf3f0362dd26174f52a4e94d9822052f.tar.bz2 gentoo-2-da373af8cf3f0362dd26174f52a4e94d9822052f.zip |
bump to 8.2
(Portage version: 2.2.0_alpha43/cvs/Linux x86_64)
Diffstat (limited to 'sys-freebsd/freebsd-libexec')
-rw-r--r-- | sys-freebsd/freebsd-libexec/ChangeLog | 10 | ||||
-rw-r--r-- | sys-freebsd/freebsd-libexec/freebsd-libexec-8.2.ebuild | 65 |
2 files changed, 73 insertions, 2 deletions
diff --git a/sys-freebsd/freebsd-libexec/ChangeLog b/sys-freebsd/freebsd-libexec/ChangeLog index c981f29e2a87..708bf89a4f05 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-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-libexec/ChangeLog,v 1.40 2010/05/01 11:07:45 aballier Exp $ +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-libexec/ChangeLog,v 1.41 2011/07/06 06:01:18 aballier Exp $ + +*freebsd-libexec-8.2 (06 Jul 2011) + + 06 Jul 2011; Alexis Ballier <aballier@gentoo.org> + +freebsd-libexec-8.2.ebuild: + bump to 8.2 01 May 2010; Alexis Ballier <aballier@gentoo.org> freebsd-libexec-8.0.ebuild: diff --git a/sys-freebsd/freebsd-libexec/freebsd-libexec-8.2.ebuild b/sys-freebsd/freebsd-libexec/freebsd-libexec-8.2.ebuild new file mode 100644 index 000000000000..16393d932e28 --- /dev/null +++ b/sys-freebsd/freebsd-libexec/freebsd-libexec-8.2.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-libexec/freebsd-libexec-8.2.ebuild,v 1.1 2011/07/06 06:01:18 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}* + 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}-7.2-pic.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_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 +} |