diff options
author | Aaron Bauman <bman@gentoo.org> | 2018-06-02 19:35:52 -0400 |
---|---|---|
committer | Aaron Bauman <bman@gentoo.org> | 2018-06-02 22:58:10 -0400 |
commit | c36f3241fdbf509ef93691c6768695f8f482f801 (patch) | |
tree | 61da941889821f47ef81361660128bd7751d6aac /sys-freebsd | |
parent | sys-fs/diskdev_cmds: drop old EAPI (diff) | |
download | gentoo-c36f3241fdbf509ef93691c6768695f8f482f801.tar.gz gentoo-c36f3241fdbf509ef93691c6768695f8f482f801.tar.bz2 gentoo-c36f3241fdbf509ef93691c6768695f8f482f801.zip |
sys-freebsd/freebsd-sources: drop old EAPI
Package-Manager: Portage-2.3.40, Repoman-2.3.9
Diffstat (limited to 'sys-freebsd')
-rw-r--r-- | sys-freebsd/freebsd-sources/Manifest | 2 | ||||
-rw-r--r-- | sys-freebsd/freebsd-sources/freebsd-sources-9.1-r3.ebuild | 85 | ||||
-rw-r--r-- | sys-freebsd/freebsd-sources/freebsd-sources-9.1-r9.ebuild | 98 |
3 files changed, 0 insertions, 185 deletions
diff --git a/sys-freebsd/freebsd-sources/Manifest b/sys-freebsd/freebsd-sources/Manifest index 8d66cc22f48f..b2eb56420423 100644 --- a/sys-freebsd/freebsd-sources/Manifest +++ b/sys-freebsd/freebsd-sources/Manifest @@ -1,7 +1,5 @@ -DIST freebsd-sources-9.1-en-13-03.patch 32571 BLAKE2B 63b49582f5f7a205edca766bf8552ce951db9189f142b05e5217c3e39df62773095c5afc2e05357f14ce39bb3c5b5761aa0d02bd25b286854b9e29ce1f92eace SHA512 013a21da3618da9098020c85abe42d99e4eeb8d6b9b818cd5c6d27ee2ea2d31b60ad4521e73cb996f2f5c99fd0f34bd4a35458977264c51e79f4f53bfca6e7cc DIST freebsd-sources-EN-1707-vnet.patch 356 BLAKE2B 6e586e8cc767c0f177b6f1175512c4d5bd4fdf9abb94b644348dbe8b681d4838bdba8c83496ae351fb075329fed4e270bdd8768ce63e8c99fc69ba36d3040d8c SHA512 2fdb58388acb98811588beeabaf8a533926f96ac3f594f53dd80dcdb38ede4fe0dd66f0dd7bb32b40a27f756e2b03fed91c4416cbdcd4c16dd8143f5438885d7 DIST freebsd-sources-EN-1708-pf.patch 706 BLAKE2B 7b812c1d696f2a1ab6e648228fe4fce8b8e32f57ed8dc713b24db5dacca70e693ee24001f0db168d79c528e2c20c6011ac423629a807949757e9f468969c3127 SHA512 e9dc61ff10aafb9b92721c599577ce995458b8a1a93b31fc6cc39b910db2b8f965ff0354a45bf82d2d57abba7aa0bf6d2f002044d242e19121d5ee4cd7a1dc15 DIST freebsd-sources-SA-1708-ptrace.patch 696 BLAKE2B d040de29c3aca8fbc5d837c574e5ee81196ba41f1a90720579e854ba4e9786e23545547892d4e6d90c850161a53aaef7de014cbb918c45a261aea56b02cd2d7b SHA512 973bfe4e594fe34340ae723b3451a1b84a9877b51e1e14e8cd0a9944bec5bc4efec6ff39ba61998c1da1f2c2df0fe17272b3dad2e2cc3880cfa0ff6017d2730e DIST freebsd-sources-SA-1710-kldstat.patch 2155 BLAKE2B e2c47d72a4a497283d7def916cdf0991b5ec791f545736474db18301866362b3c96f0a4ac5e7c1c2a91535961ac048e5e1c1e7ad10d10ced3dba954453a04ef5 SHA512 a5cc0acfcac8401fb4066fd5bfbaa1c5718a38f05877b8fb1c5a9cce1df9af4a82bd1c263c80c2b58ad058349753dcec9c4aa13bdb178f3b80493785badc65a4 DIST freebsd-src-11.1.tar.xz 147661560 BLAKE2B a9e6ba9d0e12c8b56ac58575d5f02931edbb6a3545d9dccae78810d2d0470a29b29dd7f724b03b8afafbca23717a71346e4cfbd3530e0f40118a23609c3f414e SHA512 b97707ec7a601ca6bcb682c45f6d94a38484301ac24630d7285eff6f88b027ce6900c93fc62f8ce36e0cf32c91f73a9d1c999db397b7f8782fd74a8551a03aca -DIST freebsd-sys-9.1.tar.bz2 32588103 BLAKE2B 7f94a4735c6a17b39a86fa0fda0682924b18e4b466dc6319a5df889522aaeaffaa87e1b76582c48ae034df8c20169c8cea93bbd3d6e7abd0526716686f88dfe8 SHA512 7dc9d9e00dde8f592bb171f4386d02b655b73cb4f153fe5ec063d010a148ef0639eae0dcdb3eeb09ecd1e3653c69e49a2d261329fa6d0381d2ddabe258ddde6d diff --git a/sys-freebsd/freebsd-sources/freebsd-sources-9.1-r3.ebuild b/sys-freebsd/freebsd-sources/freebsd-sources-9.1-r3.ebuild deleted file mode 100644 index 85d83e233686..000000000000 --- a/sys-freebsd/freebsd-sources/freebsd-sources-9.1-r3.ebuild +++ /dev/null @@ -1,85 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=0 - -inherit bsdmk freebsd flag-o-matic - -DESCRIPTION="FreeBSD kernel sources" -SLOT="${RV}" -KEYWORDS="~amd64-fbsd ~x86-fbsd" - -IUSE="symlink" - -SRC_URI="mirror://gentoo/${SYS}.tar.bz2" - -RDEPEND="=sys-freebsd/freebsd-mk-defs-${RV}*" -DEPEND="" - -RESTRICT="strip binchecks" - -S="${WORKDIR}/sys" - -PATCHES=( "${FILESDIR}/${PN}-9.0-disable-optimization.patch" - "${FILESDIR}/${PN}-9.1-gentoo.patch" - "${FILESDIR}/${PN}-6.0-flex-2.5.31.patch" - "${FILESDIR}/${PN}-6.1-ntfs.patch" - "${FILESDIR}/${PN}-7.1-types.h-fix.patch" - "${FILESDIR}/${PN}-8.0-subnet-route-pr40133.patch" - "${FILESDIR}/${PN}-7.1-includes.patch" - "${FILESDIR}/${PN}-9.0-sysctluint.patch" - "${FILESDIR}/${PN}-7.0-tmpfs_whiteout_stub.patch" - "${FILESDIR}/${PN}-9.1-cve-2013-3266.patch" - "${FILESDIR}/${PN}-9.1-mmap.patch" - "${FILESDIR}/${PN}-9.1-nfsserver.patch" ) - -src_unpack() { - freebsd_src_unpack - - # This replaces the gentoover patch, it doesn't need reapply every time. - sed -i -e 's:^REVISION=.*:REVISION="'${PVR}'":' \ - -e 's:^BRANCH=.*:BRANCH="Gentoo":' \ - -e 's:^VERSION=.*:VERSION="${TYPE} ${BRANCH} ${REVISION}":' \ - "${S}/conf/newvers.sh" - - # __FreeBSD_cc_version comes from FreeBSD's gcc. - # on 9.0-RELEASE it's 900001. - sed -e "s:-D_KERNEL:-D_KERNEL -D__FreeBSD_cc_version=900001:g" \ - -i "${S}/conf/kern.pre.mk" \ - -i "${S}/conf/kmod.mk" || die "Couldn't set __FreeBSD_cc_version" - - # Remove -Werror - sed -e "s:-Werror:-Wno-error:g" \ - -i "${S}/conf/kern.pre.mk" \ - -i "${S}/conf/kmod.mk" || die -} - -src_compile() { - einfo "Nothing to compile.." -} - -src_install() { - insinto "/usr/src/sys-${RV}" - doins -r "${S}/"* -} - -pkg_postinst() { - if [[ ! -L "${ROOT}/usr/src/sys" ]]; then - einfo "/usr/src/sys symlink doesn't exist; creating symlink to sys-${RV}..." - ln -sf "sys-${RV}" "${ROOT}/usr/src/sys" || \ - eerror "Couldn't create ${ROOT}/usr/src/sys symlink." - elif use symlink; then - einfo "Updating /usr/src/sys symlink to sys-${RV}..." - rm "${ROOT}/usr/src/sys" || \ - eerror "Couldn't remove previous symlinks, please fix manually." - ln -sf "sys-${RV}" "${ROOT}/usr/src/sys" || \ - eerror "Couldn't create ${ROOT}/usr/src/sys symlink." - fi - -# if use sparc-fbsd ; then -# ewarn "WARNING: kldload currently causes kernel panics" -# ewarn "on sparc64. This is probably a gcc-4.1 issue, but" -# ewarn "we need gcc-4.1 to compile the kernel correctly :/" -# ewarn "Please compile all modules you need into the kernel" -# fi -} diff --git a/sys-freebsd/freebsd-sources/freebsd-sources-9.1-r9.ebuild b/sys-freebsd/freebsd-sources/freebsd-sources-9.1-r9.ebuild deleted file mode 100644 index 91b31dd95864..000000000000 --- a/sys-freebsd/freebsd-sources/freebsd-sources-9.1-r9.ebuild +++ /dev/null @@ -1,98 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=0 - -inherit bsdmk freebsd flag-o-matic - -DESCRIPTION="FreeBSD kernel sources" -SLOT="${RV}" -KEYWORDS="~amd64-fbsd ~x86-fbsd" - -IUSE="symlink" - -SRC_URI="mirror://gentoo/${SYS}.tar.bz2 - https://dev.gentoo.org/~naota/patch/${P}-en-13-03.patch" - -RDEPEND="=sys-freebsd/freebsd-mk-defs-${RV}*" -DEPEND="" - -RESTRICT="strip binchecks" - -S="${WORKDIR}/sys" - -PATCHES=( "${FILESDIR}/${PN}-9.0-disable-optimization.patch" - "${FILESDIR}/${PN}-9.1-gentoo.patch" - "${FILESDIR}/${PN}-6.0-flex-2.5.31.patch" - "${FILESDIR}/${PN}-6.1-ntfs.patch" - "${FILESDIR}/${PN}-7.1-types.h-fix.patch" - "${FILESDIR}/${PN}-8.0-subnet-route-pr40133.patch" - "${FILESDIR}/${PN}-7.1-includes.patch" - "${FILESDIR}/${PN}-9.0-sysctluint.patch" - "${FILESDIR}/${PN}-7.0-tmpfs_whiteout_stub.patch" - "${FILESDIR}/${PN}-9.1-cve-2013-3266.patch" - "${FILESDIR}/${PN}-9.1-mmap.patch" - "${FILESDIR}/${PN}-9.1-nfsserver.patch" - "${DISTDIR}/${PN}-9.1-en-13-03.patch" - "${FILESDIR}/${PN}-9.1-cve-2013-3077.patch" - "${FILESDIR}/${PN}-9.1-cve-2013-5209.patch" - "${FILESDIR}/${PN}-9.1-cve-2013-5691.patch" - "${FILESDIR}/${PN}-9.1-cve-2013-5710.patch" - "${FILESDIR}/${PN}-9.1-cve-2014-1453.patch" - "${FILESDIR}/${PN}-9.1-random.patch" - "${FILESDIR}/${PN}-9.1-mmap-2014.patch" - "${FILESDIR}/${PN}-9.1-tcp.patch" - "${FILESDIR}/${PN}-9.1-ciss.patch" - "${FILESDIR}/${PN}-9.1-exec.patch" - "${FILESDIR}/${PN}-9.1-ktrace.patch" ) - -src_unpack() { - freebsd_src_unpack - - # This replaces the gentoover patch, it doesn't need reapply every time. - sed -i -e 's:^REVISION=.*:REVISION="'${PVR}'":' \ - -e 's:^BRANCH=.*:BRANCH="Gentoo":' \ - -e 's:^VERSION=.*:VERSION="${TYPE} ${BRANCH} ${REVISION}":' \ - "${S}/conf/newvers.sh" - - # __FreeBSD_cc_version comes from FreeBSD's gcc. - # on 9.0-RELEASE it's 900001. - sed -e "s:-D_KERNEL:-D_KERNEL -D__FreeBSD_cc_version=900001:g" \ - -i "${S}/conf/kern.pre.mk" \ - -i "${S}/conf/kmod.mk" || die "Couldn't set __FreeBSD_cc_version" - - # Remove -Werror - sed -e "s:-Werror:-Wno-error:g" \ - -i "${S}/conf/kern.pre.mk" \ - -i "${S}/conf/kmod.mk" || die -} - -src_compile() { - einfo "Nothing to compile.." -} - -src_install() { - insinto "/usr/src/sys-${RV}" - doins -r "${S}/"* -} - -pkg_postinst() { - if [[ ! -L "${ROOT}/usr/src/sys" ]]; then - einfo "/usr/src/sys symlink doesn't exist; creating symlink to sys-${RV}..." - ln -sf "sys-${RV}" "${ROOT}/usr/src/sys" || \ - eerror "Couldn't create ${ROOT}/usr/src/sys symlink." - elif use symlink; then - einfo "Updating /usr/src/sys symlink to sys-${RV}..." - rm "${ROOT}/usr/src/sys" || \ - eerror "Couldn't remove previous symlinks, please fix manually." - ln -sf "sys-${RV}" "${ROOT}/usr/src/sys" || \ - eerror "Couldn't create ${ROOT}/usr/src/sys symlink." - fi - -# if use sparc-fbsd ; then -# ewarn "WARNING: kldload currently causes kernel panics" -# ewarn "on sparc64. This is probably a gcc-4.1 issue, but" -# ewarn "we need gcc-4.1 to compile the kernel correctly :/" -# ewarn "Please compile all modules you need into the kernel" -# fi -} |