# Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/sys-kernel/gentoo-dev-sources/gentoo-dev-sources-2.6.1-r2.ebuild,v 1.5 2004/06/24 22:56:39 agriffis Exp $ # As this is the example source to use kernel-2.eclass then a very brief explanation is to go here # # any logic required for K_NOSETEXTRAVERSION, K_NOUSENAME UNIPATCH_LIST, or UNIPATCH_DOCS should # go BEFORE the inherit. # if you choose to not use detect_version then you should set EXTRAVERSION, KV, OKV and possibly S # BEFORE the inherit also. # If you wish to display additional postinst messages it is desired to pass it within K_EXTRAEINFO # This isnt always suitable if you required it to keep original formatting. # # patches should be passed as a list in UNIPATCH_LIST, this can contain tarballs, individual files or # patch numbers which you wish to be excluded from patching. # # any documentation which comes distributed with the patches should be added into UNIPATCH_DOCS and will # therefore be merged into /usr/share/doc # all patches passed are extracted or moved to ${WORKDIR}/patches #version of gentoo patchset GPV=1.16 GPV_SRC="mirror://gentoo/genpatches-2.6-${GPV}.tar.bz2" UNIPATCH_LIST="${DISTDIR}/genpatches-2.6-${GPV}.tar.bz2 ${FILESDIR}/2.6-do_munmap.patch" UNIPATCH_DOCS="${WORKDIR}/patches/genpatches-${GPV}/README" ETYPE="sources" inherit kernel-2 detect_version IUSE="" DESCRIPTION="Full sources including the gentoo patchset for the 2.6 kernel tree" SRC_URI="${KERNEL_URI} ${GPV_SRC}" KEYWORDS="x86 amd64 ~hppa ~sparc ~alpha -ppc" pkg_postinst() { postinst_sources ewarn "IMPORTANT:" ewarn "ptyfs support has now been dropped from devfs and as a" ewarn "result you are now required to compile this support into" ewarn "the kernel. You can do so by enabling the following options" ewarn " Device Drivers -> Character devices -> Unix98 PTY Support" ewarn " File systems -> Pseudo filesystems -> /dev/pts filesystem." echo ewarn "If you choose to use UCL/gcloop please ensure you also" ewarn "emerge ucl as well as it currently depends on this library." ewarn "Also please ensure that you compile gcloop without -fstack-protector." echo }