diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2006-11-19 01:46:50 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2006-11-19 01:46:50 +0000 |
commit | 30cfa192047acc20974bfb191f908ad98e59ee6c (patch) | |
tree | 6d6eb0032662c44b7968ecf4426903fac703fec2 /sys-freebsd | |
parent | Version bump to 6.2-RC1. (diff) | |
download | gentoo-2-30cfa192047acc20974bfb191f908ad98e59ee6c.tar.gz gentoo-2-30cfa192047acc20974bfb191f908ad98e59ee6c.tar.bz2 gentoo-2-30cfa192047acc20974bfb191f908ad98e59ee6c.zip |
Version bump to 6.2-RC1.
(Portage version: 2.1.2_rc2)
Diffstat (limited to 'sys-freebsd')
-rw-r--r-- | sys-freebsd/freebsd-ubin/ChangeLog | 8 | ||||
-rw-r--r-- | sys-freebsd/freebsd-ubin/files/digest-freebsd-ubin-6.2_rc1 | 21 | ||||
-rw-r--r-- | sys-freebsd/freebsd-ubin/freebsd-ubin-6.2_rc1.ebuild | 117 |
3 files changed, 145 insertions, 1 deletions
diff --git a/sys-freebsd/freebsd-ubin/ChangeLog b/sys-freebsd/freebsd-ubin/ChangeLog index 0b442f2ffe11..de624aab1613 100644 --- a/sys-freebsd/freebsd-ubin/ChangeLog +++ b/sys-freebsd/freebsd-ubin/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sys-freebsd/freebsd-ubin # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-ubin/ChangeLog,v 1.36 2006/11/18 15:09:28 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-ubin/ChangeLog,v 1.37 2006/11/19 01:46:50 flameeyes Exp $ + +*freebsd-ubin-6.2_rc1 (19 Nov 2006) + + 19 Nov 2006; Diego Pettenò <flameeyes@gentoo.org> + +freebsd-ubin-6.2_rc1.ebuild: + Version bump to 6.2-RC1. 18 Nov 2006; Diego Pettenò <flameeyes@gentoo.org> -freebsd-ubin-6.2_beta2.ebuild, -freebsd-ubin-6.2_beta2-r1.ebuild: diff --git a/sys-freebsd/freebsd-ubin/files/digest-freebsd-ubin-6.2_rc1 b/sys-freebsd/freebsd-ubin/files/digest-freebsd-ubin-6.2_rc1 new file mode 100644 index 000000000000..9bdde72a6846 --- /dev/null +++ b/sys-freebsd/freebsd-ubin/files/digest-freebsd-ubin-6.2_rc1 @@ -0,0 +1,21 @@ +MD5 418987207dc01210dea850715e0975e4 freebsd-bin-6.2_rc1.tar.bz2 406705 +RMD160 e7fb93424dc7c4f53a15420ec141c75d2c1cdd91 freebsd-bin-6.2_rc1.tar.bz2 406705 +SHA256 1249dbf645dbe89e3d5d9fc9c2bc556becf61c66d605c5df1783e46961318b09 freebsd-bin-6.2_rc1.tar.bz2 406705 +MD5 f92c93808d6d9c597483355b7866ad6a freebsd-contrib-6.2_rc1.tar.bz2 36554713 +RMD160 e8a915fff9a2210bba5bfa33f1618b74f8f4317d freebsd-contrib-6.2_rc1.tar.bz2 36554713 +SHA256 93748e95efc4d09f70225b58855e167ec21cae610c4ba2a1d7b2c5f84aa4f661 freebsd-contrib-6.2_rc1.tar.bz2 36554713 +MD5 5fabc595641b5c79039bdb84450441a3 freebsd-etc-6.2_rc1.tar.bz2 189434 +RMD160 e85ff64ac4e8be8a324f5c9cf101b4e1e92cba86 freebsd-etc-6.2_rc1.tar.bz2 189434 +SHA256 1b46600bdc65fb58f406bdd95145a66e1412c17fa9e2d082a8d29f578a62ea32 freebsd-etc-6.2_rc1.tar.bz2 189434 +MD5 bffff6b57f766241eb42463a023b70b3 freebsd-include-6.2_rc1.tar.bz2 131628 +RMD160 febc259c9865a0ac80bfab6d9752ba93f76dc728 freebsd-include-6.2_rc1.tar.bz2 131628 +SHA256 79b364be23e63f2427db15e240d35cd023299f8ac89b3c4b4f2b85ffb2ef994e freebsd-include-6.2_rc1.tar.bz2 131628 +MD5 da12553353b5d1c57b7e9e4ad879bdcd freebsd-lib-6.2_rc1.tar.bz2 2669033 +RMD160 4faa7e29fbc0ee9b1e086a4bbafc42ecd6de597a freebsd-lib-6.2_rc1.tar.bz2 2669033 +SHA256 518154f455e0edf665796fde2801d35f50af24ca525d0dd9d4a78a79471fd1dc freebsd-lib-6.2_rc1.tar.bz2 2669033 +MD5 636d5f883c2937a4674d9251aae46fc3 freebsd-sys-6.2_rc1.tar.bz2 18345039 +RMD160 15e70cb9169bf813fdd862389f8cafc45327d41e freebsd-sys-6.2_rc1.tar.bz2 18345039 +SHA256 209c27b25d72f59f93819a38b57aa7f1153c6c9abab62402e0935f2521dae99c freebsd-sys-6.2_rc1.tar.bz2 18345039 +MD5 188cfbadab63151a35fa9c9a78f7fcd8 freebsd-ubin-6.2_rc1.tar.bz2 1774620 +RMD160 447bba637c130ec53590d535c52237d415777a58 freebsd-ubin-6.2_rc1.tar.bz2 1774620 +SHA256 7a6d0eea437a34380b5587be27fe4f1ac84324903e4517aebc353cbfc6256706 freebsd-ubin-6.2_rc1.tar.bz2 1774620 diff --git a/sys-freebsd/freebsd-ubin/freebsd-ubin-6.2_rc1.ebuild b/sys-freebsd/freebsd-ubin/freebsd-ubin-6.2_rc1.ebuild new file mode 100644 index 000000000000..39e5df884ace --- /dev/null +++ b/sys-freebsd/freebsd-ubin/freebsd-ubin-6.2_rc1.ebuild @@ -0,0 +1,117 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-ubin/freebsd-ubin-6.2_rc1.ebuild,v 1.1 2006/11/19 01:46:50 flameeyes Exp $ + +inherit bsdmk freebsd flag-o-matic pam + +DESCRIPTION="FreeBSD's base system source for /usr/bin" +SLOT="0" +KEYWORDS="~sparc-fbsd ~x86-fbsd" + +IUSE="atm bluetooth ssl usb nls ipv6 kerberos nis build" + +SRC_URI="mirror://gentoo/${UBIN}.tar.bz2 + mirror://gentoo/${CONTRIB}.tar.bz2 + mirror://gentoo/${LIB}.tar.bz2 + mirror://gentoo/${ETC}.tar.bz2 + mirror://gentoo/${BIN}.tar.bz2 + mirror://gentoo/${INCLUDE}.tar.bz2 + build? ( mirror://gentoo/${SYS}.tar.bz2 )" + +RDEPEND="=sys-freebsd/freebsd-lib-${RV}* + ssl? ( dev-libs/openssl ) + kerberos? ( virtual/krb5 ) + sys-libs/zlib + virtual/pam + !dev-util/csup" + +DEPEND="${RDEPEND} + sys-devel/flex + !build? ( =sys-freebsd/freebsd-sources-${RV}* ) + =sys-freebsd/freebsd-mk-defs-${RV}*" + +RDEPEND="${RDEPEND} + sys-process/cronbase" + +S="${WORKDIR}/usr.bin" + +pkg_setup() { + use nls || mymakeopts="${mymakeopts} NO_NLS= " + use atm || mymakeopts="${mymakeopts} NO_ATM= " + use bluetooth || mymakeopts="${mymakeopts} NO_BLUETOOTH= " + use ssl || mymakeopts="${mymakeopts} NO_OPENSSL= NO_CRYPT= " + use usb || mymakeopts="${mymakeopts} NO_USB= " + use ipv6 || mymakeopts="${mymakeopts} NO_INET6= " + use kerberos || mymakeopts="${mymakeopts} NO_KERBEROS= " + use nis || mymakeopts="${mymakeopts} NO_NIS= " + + mymakeopts="${mymakeopts} NO_SENDMAIL= " +} + +# List of patches to apply +PATCHES="${FILESDIR}/${PN}-6.0-bsdcmp.patch + ${FILESDIR}/${PN}-6.0-fixmakefiles.patch + ${FILESDIR}/${PN}-setXid.patch + ${FILESDIR}/${PN}-lint-stdarg.patch + ${FILESDIR}/${PN}-6.0-kdump-ioctl.patch + ${FILESDIR}/${PN}-6.1-gcc41.patch + ${FILESDIR}/${PN}-6.2-rpcgen-gcc4.1.patch + ${FILESDIR}/${PN}-6.2-sparc64.patch" + +# Here we remove some sources we don't need because they are already +# provided by portage's packages or similar. In order: +# - Archiving tools, provided by their own ebuilds +# - ncurses stuff +# - less stuff +# - bind utils +# - rsh stuff +# and the rest are misc utils we already provide somewhere else. +REMOVE_SUBDIRS="bzip2 bzip2recover tar + tput tset + less lessecho lesskey + dig nslookup nsupdate host + rsh rlogin rusers rwho ruptime + compile_et lex vi smbutil file vacation nc ftp telnet + c99 c89 + whois" + +src_unpack() { + freebsd_src_unpack + + use build || ln -s "/usr/src/sys-${RV}" "${WORKDIR}/sys" + + # Rename manpage for renamed cmp + mv ${S}/cmp/cmp.1 ${S}/cmp/bsdcmp.1 + # Fix whereis(1) manpath search. + sed -i -e 's:"manpath -q":"manpath":' "${S}/whereis/pathnames.h" +} + +src_install() { + freebsd_src_install + + dodir /bin + for bin in awk sed mkfifo uname true false touch tty; do + mv "${D}/usr/bin/${bin}" "${D}/bin/" || die "mv ${bin} failed" + dosym /bin/${bin} /usr/bin/${bin} || die "dosym ${bin} failed" + done + + for pamdfile in login passwd su; do + newpamd "${FILESDIR}/${pamdfile}.pamd" ${pamdfile} + done + + cd "${WORKDIR}/etc" + insinto /etc + doins remote phones opieaccess fbtab + + exeinto /etc/cron.daily + newexe "${FILESDIR}/locate-updatedb-cron" locate.updatedb +} + +pkg_postinst() { + # We need to ensure that login.conf.db is up-to-date. + if [[ -e ${ROOT}etc/login.conf ]] ; then + einfo "Updating ${ROOT}etc/login.conf.db" + ${ROOT}usr/bin/cap_mkdb -f ${ROOT}etc/login.conf ${ROOT}etc/login.conf + einfo "Remember to run cap_mkdb /etc/login.conf after making changes to it" + fi +} |