mgorny      15/03/08 14:01:56

  Modified:             ChangeLog
  Added:                freebsd-sbin-10.1.ebuild
  Log:
  Add FreeBSD 10.1 ebuilds, 
https://github.com/gentoo/gentoo-portage-rsync-mirror/pull/46 by nigoro.
  
  (Portage version: 2.2.17/cvs/Linux x86_64, signed Manifest commit with key 
EFB4464E!)

Revision  Changes    Path
1.83                 sys-freebsd/freebsd-sbin/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-freebsd/freebsd-sbin/ChangeLog?rev=1.83&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-freebsd/freebsd-sbin/ChangeLog?rev=1.83&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-freebsd/freebsd-sbin/ChangeLog?r1=1.82&r2=1.83

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-sbin/ChangeLog,v
retrieving revision 1.82
retrieving revision 1.83
diff -u -r1.82 -r1.83
--- ChangeLog   24 Jul 2014 01:58:41 -0000      1.82
+++ ChangeLog   8 Mar 2015 14:01:55 -0000       1.83
@@ -1,6 +1,13 @@
 # ChangeLog for sys-freebsd/freebsd-sbin
-# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-sbin/ChangeLog,v 1.82 
2014/07/24 01:58:41 naota Exp $
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-sbin/ChangeLog,v 1.83 
2015/03/08 14:01:55 mgorny Exp $
+
+*freebsd-sbin-10.1 (08 Mar 2015)
+
+  08 Mar 2015; Michał Górny <[email protected]>
+  +files/freebsd-sbin-10.0-zlib.patch, +freebsd-sbin-10.1.ebuild:
+  Add FreeBSD 10.1 ebuilds, https://github.com/gentoo/gentoo-portage-rsync-
+  mirror/pull/46 by nigoro.
 
   24 Jul 2014; Naohiro Aota <[email protected]> freebsd-sbin-8.2-r1.ebuild,
   freebsd-sbin-9.1.ebuild, freebsd-sbin-9.2.ebuild:



1.1                  sys-freebsd/freebsd-sbin/freebsd-sbin-10.1.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-freebsd/freebsd-sbin/freebsd-sbin-10.1.ebuild?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-freebsd/freebsd-sbin/freebsd-sbin-10.1.ebuild?rev=1.1&content-type=text/plain

Index: freebsd-sbin-10.1.ebuild
===================================================================
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: 
/var/cvsroot/gentoo-x86/sys-freebsd/freebsd-sbin/freebsd-sbin-10.1.ebuild,v 1.1 
2015/03/08 14:01:55 mgorny Exp $

EAPI=3

inherit bsdmk freebsd multilib

DESCRIPTION="FreeBSD sbin utils"
SLOT="0"

if [[ ${PV} != *9999* ]]; then
        KEYWORDS="~amd64-fbsd ~sparc-fbsd ~x86-fbsd"
        SRC_URI="http://dev.gentoo.org/~mgorny/dist/freebsd/${RV}/${SBIN}.tar.xz
                
http://dev.gentoo.org/~mgorny/dist/freebsd/${RV}/${CONTRIB}.tar.xz
                http://dev.gentoo.org/~mgorny/dist/freebsd/${RV}/${LIB}.tar.xz
                
http://dev.gentoo.org/~mgorny/dist/freebsd/${RV}/${LIBEXEC}.tar.xz
                http://dev.gentoo.org/~mgorny/dist/freebsd/${RV}/${USBIN}.tar.xz
                http://dev.gentoo.org/~mgorny/dist/freebsd/${RV}/${ETC}.tar.xz
                build? ( 
http://dev.gentoo.org/~mgorny/dist/freebsd/${RV}/${SYS}.tar.xz )"
fi

RDEPEND="=sys-freebsd/freebsd-lib-${RV}*[ipv6?,atm?,netware?]
        =sys-freebsd/freebsd-libexec-${RV}*
        >=dev-libs/expat-2.0.1
        ssl? ( dev-libs/openssl )
        >=dev-libs/libedit-20120311.3.0-r1
        sys-libs/readline
        || (
                sys-process/cronie
                sys-process/vixie-cron
        )
        atm? ( net-analyzer/bsnmp )"
DEPEND="${RDEPEND}
        !build? ( =sys-freebsd/freebsd-sources-${RV}* )
        =sys-freebsd/freebsd-mk-defs-${RV}*"

S="${WORKDIR}/sbin"

IUSE="atm ipfilter +pf ipv6 build ssl +cxx netware"

pkg_setup() {
        use atm || mymakeopts="${mymakeopts} WITHOUT_ATM= "
        use cxx || mymakeopts="${mymakeopts} WITHOUT_CXX="
        use ipfilter || mymakeopts="${mymakeopts} WITHOUT_IPFILTER= "
        use ipv6 || mymakeopts="${mymakeopts} WITHOUT_INET6= 
WITHOUT_INET6_SUPPORT="
        use netware || mymakeopts="${mymakeopts} WITHOUT_IPX= 
WITHOUT_IPX_SUPPORT= WITHOUT_NCP= "
        use pf || mymakeopts="${mymakeopts} WITHOUT_PF= "
        use ssl || mymakeopts="${mymakeopts} WITHOUT_OPENSSL="
}

REMOVE_SUBDIRS="dhclient pfctl pflogd rcorder resolvconf"

PATCHES=( "${FILESDIR}/${PN}-setXid.patch"
        "${FILESDIR}/${PN}-10.0-zlib.patch"
        "${FILESDIR}/${PN}-6.2-ldconfig.patch"
        "${FILESDIR}/${PN}-6.1-pr102701.patch"
        "${FILESDIR}/${PN}-bsdxml2expat.patch" )

src_prepare() {
        if [[ ! -e "${WORKDIR}/sys" ]]; then
                use build || ln -s "/usr/src/sys" "${WORKDIR}/sys"
        fi
}

src_install() {
        mymakeopts="${mymakeopts} GEOM_CLASS_DIR=/$(get_libdir)/geom "
        freebsd_src_install
        keepdir /var/log
        # Needed by ldconfig:
        keepdir /var/run

        # Maybe ship our own sysctl.conf so things like radvd work out of the 
box.
        # New wireless config method requires regdomain.xml in /etc
        cd "${WORKDIR}/etc/"
        insinto /etc
        doins minfree sysctl.conf regdomain.xml || die

        # Install a crontab for adjkerntz
        insinto /etc/cron.d
        newins "${FILESDIR}/adjkerntz-crontab" adjkerntz

        # Install the periodic stuff (needs probably to be ported in a more
        # gentooish way)
        cd "${WORKDIR}/etc/periodic"

        doperiodic security \
                security/*.ipfwlimit \
                security/*.ipfwdenied || die

        use ipfilter && { doperiodic security \
                security/*.ipfdenied || die ; }

        use pf && { doperiodic security \
                security/*.pfdenied || die ; }
}




Reply via email to