diff options
Diffstat (limited to 'sys-freebsd')
-rw-r--r-- | sys-freebsd/freebsd-ubin/ChangeLog | 9 | ||||
-rw-r--r-- | sys-freebsd/freebsd-ubin/files/digest-freebsd-ubin-6.2_rc2 | 21 | ||||
-rw-r--r-- | sys-freebsd/freebsd-ubin/freebsd-ubin-6.2_rc2.ebuild | 117 |
3 files changed, 146 insertions, 1 deletions
diff --git a/sys-freebsd/freebsd-ubin/ChangeLog b/sys-freebsd/freebsd-ubin/ChangeLog index 6ea12da945c3..1ef2e940ed40 100644 --- a/sys-freebsd/freebsd-ubin/ChangeLog +++ b/sys-freebsd/freebsd-ubin/ChangeLog @@ -1,6 +1,13 @@ # 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.38 2006/11/24 12:51:44 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-ubin/ChangeLog,v 1.39 2006/12/29 15:21:51 flameeyes Exp $ + +*freebsd-ubin-6.2_rc2 (29 Dec 2006) + + 29 Dec 2006; Diego Pettenò <flameeyes@gentoo.org> + -freebsd-ubin-6.2_beta3.ebuild, -freebsd-ubin-6.2_rc1.ebuild, + +freebsd-ubin-6.2_rc2.ebuild: + Bump to rc2 and remove older versions. 24 Nov 2006; Diego Pettenò <flameeyes@gentoo.org> files/freebsd-ubin-setXid.patch: diff --git a/sys-freebsd/freebsd-ubin/files/digest-freebsd-ubin-6.2_rc2 b/sys-freebsd/freebsd-ubin/files/digest-freebsd-ubin-6.2_rc2 new file mode 100644 index 000000000000..7a41e4ed15b8 --- /dev/null +++ b/sys-freebsd/freebsd-ubin/files/digest-freebsd-ubin-6.2_rc2 @@ -0,0 +1,21 @@ +MD5 d42e5143b1e45778f55f398455c106e1 freebsd-bin-6.2_rc2.tar.bz2 406726 +RMD160 49f94f065296854cf9020426db2d35aa2e1273bb freebsd-bin-6.2_rc2.tar.bz2 406726 +SHA256 8bb7d1028e14dc2b967546e5aa4c18bfe1175cd2d380d6c37452f3b1b7ac637f freebsd-bin-6.2_rc2.tar.bz2 406726 +MD5 38128bd86edd415ed1d057d1201e8945 freebsd-contrib-6.2_rc2.tar.bz2 36594463 +RMD160 d957a4054073009fe20cc13353797c2dc1aa0eaa freebsd-contrib-6.2_rc2.tar.bz2 36594463 +SHA256 aeddb53e9dea3da081419be386251c144c63496d769d07b61e9085a3e52c74e0 freebsd-contrib-6.2_rc2.tar.bz2 36594463 +MD5 670878e7e0c1933986380aa65e8babf3 freebsd-etc-6.2_rc2.tar.bz2 189416 +RMD160 e98c8821fc4fbcf2890fcc8155c8fa0f74fd417c freebsd-etc-6.2_rc2.tar.bz2 189416 +SHA256 b4f673da45ca646fae9e457c4a8e3255dbe5365445537d4e6ba39ac9b54ee40e freebsd-etc-6.2_rc2.tar.bz2 189416 +MD5 5fbab2a6ad020b692a37997443daf582 freebsd-include-6.2_rc2.tar.bz2 131650 +RMD160 811494045dd44c953efeb690258a52ec89a169fe freebsd-include-6.2_rc2.tar.bz2 131650 +SHA256 ab4264cf293c5acffb9cfbabce3605841187c900b76eb1cd4a403053ee57220c freebsd-include-6.2_rc2.tar.bz2 131650 +MD5 f2c0ffe3aa4a618e3738a11dda1e3feb freebsd-lib-6.2_rc2.tar.bz2 2670872 +RMD160 bd8b9837acfde404bed998ba3ef5450bb380b779 freebsd-lib-6.2_rc2.tar.bz2 2670872 +SHA256 b805264da9f1826d2edb9f5b946ebaae5371fcce146623e4ed695a187c1a4993 freebsd-lib-6.2_rc2.tar.bz2 2670872 +MD5 692607c3bf8e5645c584fa6dcaad0cc9 freebsd-sys-6.2_rc2.tar.bz2 18339807 +RMD160 ab2e6110b767319a0135130f9ad16d074de61483 freebsd-sys-6.2_rc2.tar.bz2 18339807 +SHA256 392d80c8dae6b7cddc4810f59869a87ec4d0d699c534d8a034b2b273640a7666 freebsd-sys-6.2_rc2.tar.bz2 18339807 +MD5 92379f69fe95688de1a25f2b8a4ccf21 freebsd-ubin-6.2_rc2.tar.bz2 1773409 +RMD160 be5fa09f2b84b77981ba6ae34d2c237b05164776 freebsd-ubin-6.2_rc2.tar.bz2 1773409 +SHA256 391d266053323b96a258a264abec848bd0799ded76dcad098b510bd5d9a75398 freebsd-ubin-6.2_rc2.tar.bz2 1773409 diff --git a/sys-freebsd/freebsd-ubin/freebsd-ubin-6.2_rc2.ebuild b/sys-freebsd/freebsd-ubin/freebsd-ubin-6.2_rc2.ebuild new file mode 100644 index 000000000000..2e7ec2a8f16b --- /dev/null +++ b/sys-freebsd/freebsd-ubin/freebsd-ubin-6.2_rc2.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_rc2.ebuild,v 1.1 2006/12/29 15:21:51 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 +} |