diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-10-13 22:19:36 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-10-14 23:22:23 +0100 |
commit | 4b19be30aa626b327c885dae62c559ec0e9fb935 (patch) | |
tree | 76e74807bc479502e13866b581b6bf86734ec634 /sys-freebsd/freebsd-sources | |
parent | 30d6f67c98d149508509d5e86f176d558793acc0 (diff) |
gentoo resync : 13.10.2019
Diffstat (limited to 'sys-freebsd/freebsd-sources')
13 files changed, 0 insertions, 545 deletions
diff --git a/sys-freebsd/freebsd-sources/Manifest b/sys-freebsd/freebsd-sources/Manifest deleted file mode 100644 index 31cdb3a0f260..000000000000 --- a/sys-freebsd/freebsd-sources/Manifest +++ /dev/null @@ -1,27 +0,0 @@ -AUX config-GENTOO 73 BLAKE2B fbe623f265438162db2f20edd9281752eee65fb3b55412b1427321668bf405f1d04523ba23959c0bf17742ca0128eebe71575827430434418a5724c89d4f8c02 SHA512 436e1e1cb4077488cd1e054a96598c1c6dc2fda5c060d2d6c1bf2986b534016c86ea2afee0dcf883b4bde6946625596ea474a273013b18fdfa5538ebcfe6ea54 -AUX freebsd-sources-10.1-gcc48.patch 452 BLAKE2B d1d9efc7be5bed287bbc2c9b05dc2db5a22671932ec01e436c2cd8fcd4ac6f5ce1584bc0faf64597787291bd9c4c26526bf0f8050de5d748a3a9af8d85c600f9 SHA512 55e5249ec8337d880d96fd9429a0ffe5663c6182996b6b2ab8d19fe9d5168a0042b81222b2bb89de6d90f98d042b593fb40a7f4178ac739f681f84c2d62b5c96 -AUX freebsd-sources-11.0-gentoo-gcc.patch 430 BLAKE2B fadee46d0d675fe69d256d93c287f0cc11cfce7e9c7a5ba0e3bb7e51155ab1b8766df3508fc5672db10b8849fecb0cb1f32e4d2fa64e68ecd50f08b1d58bd9c2 SHA512 9869ba13091cc0975a7fe1a1b18a279835d19f1f57204dd3463798d3695a250ba6c96f2c1f6a2352dfce0022d7365257b0f938032b55e7090f68e58c4455bffe -AUX freebsd-sources-11.0-gentoo.patch 852 BLAKE2B 81306d42748674cf550d5399a1ab02f183f2db82e1247a5d79acae77fee459a8f1a5265bc54a0d94f3310f1758e9bc97855b22c1c58d4f54cb573fcc9a8de6b7 SHA512 11f65627bb5436052b227d884c384e888bb8f44696c36b80a8715c912e41c953b57c1420b37030155c2751c72289470c4f681d14ed149e4f6aa82d8b63766ade -AUX freebsd-sources-6.0-flex-2.5.31.patch 826 BLAKE2B 7644dccfb8ad6242c903fb0d5d81601c9ab395628a1cfdc299a31575db4ea6656ac1d3e6c15c751e96a7ce384909e95a90928b3cd1caa9de7d926a3ad9682092 SHA512 7183b1923019df12849e7d3984c4227d65275077cf95c3b0719b99dc852234eb3813db0e69e9c34bdfca45a59f7340209211d0b7a2a5074c2d1ad8ea0a3a3f64 -AUX freebsd-sources-7.1-includes.patch 318 BLAKE2B e95da1360824b9a5037bf55deda2d92a72a08e0e42f8ecd4080863bed69f10137b2c2637bafbe1088fe6bf2bfed7f83a748cab42a14b41b7243efd524ae15589 SHA512 f73db3fd72bdd2972ae25c3f661e7677bd5877aa623981303a4b0c5e9522fd458e294799a0ebad17ac3c639d588394b10ad5fcab4d88743a6dfcc8a8d60eecd7 -AUX freebsd-sources-8.0-subnet-route-pr40133.patch 548 BLAKE2B 2c783822d71de3633c5b914a38d1a80b9afd4a5e4335ac9a01da605306c8d0f5605970f808d9b7c93e9853a7b741eaec8f0b1701602160761404558eaf93f680 SHA512 9ae65e2775302b664dd4e5f5cbc58fe1ca7db61b6182db10971660207c72ec74e542181f1c2aefcacd2fd4b54e10d371efc619c3c03a977c35d3cf67b99b7de5 -AUX freebsd-sources-9.0-disable-optimization.patch 927 BLAKE2B 42fff42c4d1bc57aed5c4b4dc30328f8ac3317f36cb3b4df60690e5ce9e3ef19d2a1b6a8e35082aad6c43283b47af8df6c94912710d55fc925e2eae08d275459 SHA512 0b74874d42eab95994309b922f37ebbf3706d01db6c447c9f062b03e64b77c7f793bc297150b539acdf39530a8afd91f4bf824a87c674dd625a59056656c614b -AUX freebsd-sources-9.0-sysctluint.patch 403 BLAKE2B 3860821b308a75dcad8fa5910cb6c287ca2013269d21b588d0abbb1a79197366eac7eb733c87136f77ba2556913f36784842ac5f089d5c9bdb59bdb836748049 SHA512 f3a87cb187858bc6fd1bafda3c3bd7bbda52b07239a50a7c1aa201df2c52a58d4809e196b8799b1949c8ca1a556519d454ad1789358540e3a96cd480fc0a504c -DIST freebsd-sources-11.1_p3-patchset.tar.xz 36348 BLAKE2B b88f8a0f0bfde97a0416967c76ffb1d8fcb3f9050d69caa83941ab38e289622a9a5d25887e895d364f333980f7ab21af454d6fbe48157119279b4a0b600856ff SHA512 c981eee806ad93ebc720434789da1ae38f21a131ec8f92c3e55dab4e5fbc61e225c615132bb971e2b9bf4bc6922b2c7bdd9117644e8ba6547c20857deea0bbc1 -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-EN-1804-mem.11.patch 2932 BLAKE2B 41eb2445cbc9a339f21b64ae0aa64b477c6691540236b8b3c378475fa3f451b35f3e9793eae240f15364b39b0a9fda0971c92f4dadb0933c103a933db154a718 SHA512 feb22d2cc614c0fc80eea5410894a9f0c091ec77e01810fe1476a8702624331e3a45d44e1de15945586dfa0a334a12442f46e61ad148fa555e4900d486f79185 -DIST freebsd-sources-EN-1805-mem.11.1.patch 4106 BLAKE2B 598b12547f66e1cb3b915878bb37f73c6a028655f78cb50f8fb113af4c0a31f6ba82f884de4b79151b6512bc67aa8a2cc404c5bce6ffcf07dada37426eb5082c SHA512 ec80584da7ba7f6d0b6039b9a4acb151b18fcf5671a805c52911a97fc53cc5bcc5cfe427d37f91fcb130f437a134eed7d746b652131591fc28986d18d5b3a48c -DIST freebsd-sources-EN-1807-pmap.patch 1639 BLAKE2B 437379a0471f1c36dcebfcce471d1e65426773c96a18ad4f4272c3617cecedce45b6a09a518a45947b36d1e1d47aa485839f24fa24d4b8dea14fd9f7fb5b480f SHA512 f3a482fc573ccee1ed779a3fc4bbd5c54a0a93395ca83e4e5b36293ce3b298545b4f9e1bb91c557d00d89890a2ef3c425e966077de4fccdb670059519bb75b44 -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-sources-SA-1801-ipsec-11.patch 1153 BLAKE2B bc7b0fb85a5d03873cf8dc61c2478b450167f8d0d5f9094c14cf9a3647a9d1ecdee8245ba45e70270aa95e21f112a0c10978a57b41ecbafa0a5392c101bef4b0 SHA512 034777a8f5bacd73ae989747bdb1669747d7af0e1655cb033e95068a2318063301b05a2ddbb3debbfd32f938c77bef1614535b6a667a511bf3f0287fb6e1667c -DIST freebsd-sources-SA-1804-vt.patch 640 BLAKE2B 2cf3dcecfac7b33136c47c5fad23840c98c19ae7690fdd6520eacb4779d3101a615a1416c5337a0fe740cc56d7ea19ed4de9481ccced73a5322610950637fecb SHA512 461ca668363f1b334b626b7256830d1abe249d8c76417e524a366a2643676c8681127cd8c326dfe7cd1b1ee3ad67fb4819f08fd2a2db9b5b7a108171e8777a5b -DIST freebsd-sources-SA-1805-ipsec.patch 3182 BLAKE2B 43c7e5b80a4b552c167efcca392fc1ec5d6aed3c425d081a63b9e221aed92f891674fc6f9b17805e449c806422d4b8624e773e4b463d50b51ec629197a014004 SHA512 116d9a6d67452863e5dc12124ad3bad4a29c472755235e65f97f474e048ba7f9a4711d0f73d1301072aa31281d3f444fded4b6e429e4f28367c713708402d33a -DIST freebsd-sources-SA-1806-debugreg.11.1.patch 10505 BLAKE2B 1071869efe163bcba8b118cde3eb85a5a3cf31f589f270735b63d9f670a12d17fcf4bca297d266c5d8a89e73ee20abaf0ef0193a1d9d5cbce934e34946cee827 SHA512 06386a69b386f05ecb115d8dd511ca2afa6b8fe18290eab92357b111e62277b7180ea116620ce854a12ae6f42f997a0d57db8c7fdeb42584f8711c23ab50db44 -DIST freebsd-sources-SA-1807-lazyfpu-11.patch 10024 BLAKE2B 0dfa6e0a86d6227230a686963f80dbc4c512486471c02577d769110899e74e8064f3cdab45afb29a8283bf9423bd521c085d70174560361529b21fddea1787a6 SHA512 932cead50235a77b8bb0a41b600e7bb1722dd5b5d95601d30041a953b0c1a6a421d794138f1b6adfcb71e5e1904f09288e8ec3a8ce7f9c879ad8d9c77ffdb162 -DIST freebsd-sources-SA-1809-l1tf-11.1.patch 5357 BLAKE2B f7b93d61a63827908afc66fd5f28b15c4e951a7f50038eba92f7d3b824c771fb22fc6ea4e55316c0565ac73e2f27af0f39a189a7ee3f8914ed4d87819208959d SHA512 9920f43f5cf26bc72b7cb704276073a1f44a57dec340cdd369d119465d3f4a6585fa760d164c246c101f629af30d74c249b2892e5b25f17534a1d7caff98263c -DIST freebsd-src-11.1.tar.xz 147661560 BLAKE2B a9e6ba9d0e12c8b56ac58575d5f02931edbb6a3545d9dccae78810d2d0470a29b29dd7f724b03b8afafbca23717a71346e4cfbd3530e0f40118a23609c3f414e SHA512 b97707ec7a601ca6bcb682c45f6d94a38484301ac24630d7285eff6f88b027ce6900c93fc62f8ce36e0cf32c91f73a9d1c999db397b7f8782fd74a8551a03aca -EBUILD freebsd-sources-11.1_p2.ebuild 4594 BLAKE2B b4861bdab72dcfbaaadccacd98efabada77878264140e35428acbe427e17a9d56edda10c5275bb7abcc9107badfe010fa642bcc1bf760e02241b4da6c9644887 SHA512 a700daa8edbfc20f6aa9e82288529f613bc2134ed5dab624d0aba56b4189b78a680ec3a13110d7e4aa15471c4133651ce4472096ae242c772a73faa953df10ab -EBUILD freebsd-sources-11.1_p3.ebuild 5306 BLAKE2B 30bd04cd1b97c778c07cfa8059be9737d1fe05bac0b6f7af7b5182524ffb026f3f1217d755db53cb7d0efe15c6bc487bd145833df4239f86e324d4025065b8c0 SHA512 695422cbf5270ab90aa8c93a8ce4b467746a2132720018c286284b525f02f2b88b89ea8310c508f002b89d5047e93cc351e38cf5da9edc7dc36d3e6115466ae7 -MISC metadata.xml 444 BLAKE2B 26160b0d71ed4eb333357e7d3d5fd131038abfeb50db42107cabab63fe2123cc9d495d53a33bc8fea3622dee7994076c57163ab9904c452c1d3bbdad569481b9 SHA512 9e2abef67d9a4092a62f92a0b32e5d8547a046d26551ef15c577dedf3b56231ba055702a7476104993a8ed15717b5610d1cdbd6c167b0571a84392f41f177cdc diff --git a/sys-freebsd/freebsd-sources/files/config-GENTOO b/sys-freebsd/freebsd-sources/files/config-GENTOO deleted file mode 100644 index 7c7eb26cccc2..000000000000 --- a/sys-freebsd/freebsd-sources/files/config-GENTOO +++ /dev/null @@ -1,4 +0,0 @@ -# Kernel configuration for Gentoo/FreeBSD. -include GENERIC -ident GENTOO - diff --git a/sys-freebsd/freebsd-sources/files/freebsd-sources-10.1-gcc48.patch b/sys-freebsd/freebsd-sources/files/freebsd-sources-10.1-gcc48.patch deleted file mode 100644 index 5cb4cf809b12..000000000000 --- a/sys-freebsd/freebsd-sources/files/freebsd-sources-10.1-gcc48.patch +++ /dev/null @@ -1,18 +0,0 @@ -https://svnweb.freebsd.org/base?view=revision&revision=281606 - -diff --git a/sys/crypto/aesni/aesencdec.h b/sys/crypto/aesni/aesencdec.h -index d4ed8b3..79847ee 100644 ---- a/sys/crypto/aesni/aesencdec.h -+++ b/sys/crypto/aesni/aesencdec.h -@@ -27,6 +27,11 @@ - * - */ - -+#if defined(__GNUC__) && defined(_KERNEL) -+/* Suppress inclusion of gcc's mm_malloc.h header */ -+#define _MM_MALLOC_H_INCLUDED 1 -+#endif -+ - #include <wmmintrin.h> - - static inline void diff --git a/sys-freebsd/freebsd-sources/files/freebsd-sources-11.0-gentoo-gcc.patch b/sys-freebsd/freebsd-sources/files/freebsd-sources-11.0-gentoo-gcc.patch deleted file mode 100644 index 1d3c8d68a2ee..000000000000 --- a/sys-freebsd/freebsd-sources/files/freebsd-sources-11.0-gentoo-gcc.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/sys/conf/newvers.sh b/sys/conf/newvers.sh -index e4b2ad4..411bedf 100644 ---- a/sys/conf/newvers.sh -+++ b/sys/conf/newvers.sh -@@ -110,7 +110,7 @@ else - t=`date` - fi - i=`${MAKE:-make} -V KERN_IDENT` --compiler_v=$($(${MAKE:-make} -V CC) -v 2>&1 | grep -w 'version') -+compiler_v=$($(${MAKE:-make} -V CC) -v 2>&1 | grep 'version' | tail -n 1) - - for dir in /usr/bin /usr/local/bin; do - if [ ! -z "${svnversion}" ] ; then diff --git a/sys-freebsd/freebsd-sources/files/freebsd-sources-11.0-gentoo.patch b/sys-freebsd/freebsd-sources/files/freebsd-sources-11.0-gentoo.patch deleted file mode 100644 index 6acd6aab3608..000000000000 --- a/sys-freebsd/freebsd-sources/files/freebsd-sources-11.0-gentoo.patch +++ /dev/null @@ -1,22 +0,0 @@ -diff --git a/sys/conf/kern.mk b/sys/conf/kern.mk -index e27ea93..615dbac 100644 ---- a/sys/conf/kern.mk -+++ b/sys/conf/kern.mk -@@ -5,7 +5,7 @@ - # - CWARNFLAGS?= -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes \ - -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual \ -- -Wundef -Wno-pointer-sign ${FORMAT_EXTENSIONS} \ -+ -Wundef -Wno-pointer-sign \ - -Wmissing-include-dirs -fdiagnostics-show-option \ - -Wno-unknown-pragmas \ - ${CWARNEXTRA} -@@ -86,7 +86,7 @@ FORMAT_EXTENSIONS= -fformat-extensions - # Setting -mno-sse implies -mno-sse2, -mno-sse3, -mno-ssse3, -mno-sse41 and -mno-sse42 - # - .if ${MACHINE_CPUARCH} == "i386" --CFLAGS.gcc+= -mno-align-long-strings -mpreferred-stack-boundary=2 -+CFLAGS.gcc+= -mpreferred-stack-boundary=2 - CFLAGS.clang+= -mno-aes -mno-avx - CFLAGS+= -mno-mmx -mno-sse -msoft-float - INLINE_LIMIT?= 8000 diff --git a/sys-freebsd/freebsd-sources/files/freebsd-sources-6.0-flex-2.5.31.patch b/sys-freebsd/freebsd-sources/files/freebsd-sources-6.0-flex-2.5.31.patch deleted file mode 100644 index 88710cf69dd8..000000000000 --- a/sys-freebsd/freebsd-sources/files/freebsd-sources-6.0-flex-2.5.31.patch +++ /dev/null @@ -1,22 +0,0 @@ -Index: fbsd-6/sys/dev/aic7xxx/aicasm/aicasm_scan.l -=================================================================== ---- fbsd-6.orig/sys/dev/aic7xxx/aicasm/aicasm_scan.l -+++ fbsd-6/sys/dev/aic7xxx/aicasm/aicasm_scan.l -@@ -528,7 +528,7 @@ expand_macro(struct symbol *macro_symbol - - /* Put back everything up until the replacement. */ - while (body_pos > next_match) -- unput(*--body_pos); -+ yyunput(*--body_pos, body_head); - - /* Perform the replacement. */ - if (match_marg != NULL) { -@@ -537,7 +537,7 @@ expand_macro(struct symbol *macro_symbol - next_match = match_marg->replacement_text; - strp = next_match + strlen(next_match); - while (strp > next_match) -- unput(*--strp); -+ yyunput(*--strp, next_match); - - /* Skip past the unexpanded macro arg. */ - body_pos -= match.rm_eo - match.rm_so; diff --git a/sys-freebsd/freebsd-sources/files/freebsd-sources-7.1-includes.patch b/sys-freebsd/freebsd-sources/files/freebsd-sources-7.1-includes.patch deleted file mode 100644 index 3db46fa1d7e3..000000000000 --- a/sys-freebsd/freebsd-sources/files/freebsd-sources-7.1-includes.patch +++ /dev/null @@ -1,13 +0,0 @@ -Make headers usable alone, include the headers they need. -There are probably much more missing. - ---- sys/net/if.h.old 2009-05-15 10:51:50 +0000 -+++ sys/net/if.h 2009-05-15 10:52:05 +0000 -@@ -34,6 +34,7 @@ - #define _NET_IF_H_ - - #include <sys/cdefs.h> -+#include <sys/socket.h> - - #ifdef _KERNEL - #include <sys/queue.h> diff --git a/sys-freebsd/freebsd-sources/files/freebsd-sources-8.0-subnet-route-pr40133.patch b/sys-freebsd/freebsd-sources/files/freebsd-sources-8.0-subnet-route-pr40133.patch deleted file mode 100644 index a7335f6d427f..000000000000 --- a/sys-freebsd/freebsd-sources/files/freebsd-sources-8.0-subnet-route-pr40133.patch +++ /dev/null @@ -1,21 +0,0 @@ -Fixes changing the default subnet route after removing an ip address. - -See: http://www.netbsd.org/cgi-bin/query-pr-single.pl?number=40133 -and http://mail-index.netbsd.org/tech-net/2008/12/03/msg000896.html - -Thanks to Roy Marples. ---- sys/netinet/in.c.orig -+++ sys/netinet/in.c -@@ -858,6 +858,12 @@ - error = rtinit(&target->ia_ifa, (int)RTM_ADD, flags); - if (!error) - target->ia_flags |= IFA_ROUTE; -+ else if (error == EEXIST) { -+ /* -+ * the fact that the route already exists is not an error. -+ */ -+ error = 0; -+ } - return (error); - } - diff --git a/sys-freebsd/freebsd-sources/files/freebsd-sources-9.0-disable-optimization.patch b/sys-freebsd/freebsd-sources/files/freebsd-sources-9.0-disable-optimization.patch deleted file mode 100644 index 4824ff6e1a09..000000000000 --- a/sys-freebsd/freebsd-sources/files/freebsd-sources-9.0-disable-optimization.patch +++ /dev/null @@ -1,32 +0,0 @@ -Taken from debian GNU/kFreeBSD. - -Regretably, with GCC 4.4 or later this is the only flag combination -I could find that doesn't cause kernel panics CPU triple-faults or -other kind of severe breakage. This is Gentoo Bug #410945. - -Clang can use -O2, so we do not force -O1 on it - ---- a/sys/conf/kern.pre.mk -+++ b/sys/conf/kern.pre.mk -@@ -41,6 +41,9 @@ - .if !empty(COPTFLAGS:M-O[23s]) && empty(COPTFLAGS:M-fno-strict-aliasing) - COPTFLAGS+= -fno-strict-aliasing - .endif -+.if ${CC:T:Mclang} != "clang" && !empty(COPTFLAGS:M-O[23s]) -+COPTFLAGS+= -O1 -+.endif - .if !defined(NO_CPU_COPTFLAGS) - COPTFLAGS+= ${_CPUCFLAGS} - .endif ---- a/sys/conf/kmod.mk -+++ b/sys/conf/kmod.mk -@@ -91,6 +91,9 @@ - .if !empty(CFLAGS:M-O[23s]) && empty(CFLAGS:M-fno-strict-aliasing) - CFLAGS+= -fno-strict-aliasing - .endif -+.if ${CC:T:Mclang} != "clang" && !empty(CFLAGS:M-O[23s]) -+CFLAGS+= -O1 -+.endif - WERROR?= -Werror - CFLAGS+= ${WERROR} - CFLAGS+= -D_KERNEL diff --git a/sys-freebsd/freebsd-sources/files/freebsd-sources-9.0-sysctluint.patch b/sys-freebsd/freebsd-sources/files/freebsd-sources-9.0-sysctluint.patch deleted file mode 100644 index 751a77c843bb..000000000000 --- a/sys-freebsd/freebsd-sources/files/freebsd-sources-9.0-sysctluint.patch +++ /dev/null @@ -1,13 +0,0 @@ -u_int is defined in sys/types.h -makes header usable alone. - ---- sys/sys/sysctl.h.old 2012-05-25 11:08:53.000000000 -0400 -+++ sys/sys/sysctl.h 2012-05-25 11:09:16.000000000 -0400 -@@ -788,6 +788,7 @@ - struct sysctl_req *); - #else /* !_KERNEL */ - #include <sys/cdefs.h> -+#include <sys/types.h> /* for u_int */ - - __BEGIN_DECLS - int sysctl(const int *, u_int, void *, size_t *, const void *, size_t); diff --git a/sys-freebsd/freebsd-sources/freebsd-sources-11.1_p2.ebuild b/sys-freebsd/freebsd-sources/freebsd-sources-11.1_p2.ebuild deleted file mode 100644 index 32b3d46dc935..000000000000 --- a/sys-freebsd/freebsd-sources/freebsd-sources-11.1_p2.ebuild +++ /dev/null @@ -1,159 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -inherit bsdmk freebsd flag-o-matic toolchain-funcs - -DESCRIPTION="FreeBSD kernel sources" -SLOT="0" -LICENSE="BSD dtrace? ( CDDL ) zfs? ( CDDL )" - -IUSE="+build-kernel debug dtrace zfs" - -# Security Advisory and Errata patches. -UPSTREAM_PATCHES=( "SA-17:08/ptrace.patch" - "SA-17:10/kldstat.patch" - "EN-17:07/vnet.patch" - "EN-17:08/pf.patch" ) - -if [[ ${PV} != *9999* ]]; then - KEYWORDS="~amd64-fbsd ~x86-fbsd" - SRC_URI="${SRC_URI} - $(freebsd_upstream_patches)" -fi - -EXTRACTONLY="sys/" - -RDEPEND="dtrace? ( >=sys-freebsd/freebsd-cddl-9.2_rc1 ) - =sys-freebsd/freebsd-mk-defs-${RV}* - !sys-freebsd/virtio-kmod - !sys-fs/fuse4bsd - !<sys-freebsd/freebsd-sources-9.2_beta1" -DEPEND="build-kernel? ( - dtrace? ( >=sys-freebsd/freebsd-cddl-9.2_rc1 ) - >=sys-freebsd/freebsd-usbin-9.1 - =sys-freebsd/freebsd-mk-defs-${RV}* - )" - -RESTRICT="strip binchecks" - -S="${WORKDIR}/sys" - -KERN_BUILD=GENTOO - -PATCHES=( "${FILESDIR}/${PN}-9.0-disable-optimization.patch" - "${FILESDIR}/${PN}-6.0-flex-2.5.31.patch" - "${FILESDIR}/${PN}-8.0-subnet-route-pr40133.patch" - "${FILESDIR}/${PN}-7.1-includes.patch" - "${FILESDIR}/${PN}-9.0-sysctluint.patch" - "${FILESDIR}/${PN}-11.0-gentoo.patch" - "${FILESDIR}/${PN}-11.0-gentoo-gcc.patch" - "${FILESDIR}/${PN}-10.1-gcc48.patch" ) - -pkg_setup() { - # Add the required source files. - use dtrace && EXTRACTONLY+="cddl/ " - - # WITHOUT_SSP= is required to boot kernel that compiled with newer gcc, bug #477914 - [[ $(tc-getCC) == *gcc* ]] && mymakeopts="${mymakeopts} WITHOUT_SSP= WITHOUT_FORMAT_EXTENSIONS=" - use dtrace || mymakeopts="${mymakeopts} WITHOUT_CDDL=" - use zfs || mymakeopts="${mymakeopts} WITHOUT_ZFS=" -} - -src_prepare() { - local conf="${S}/$(tc-arch-kernel)/conf/${KERN_BUILD}" - - # 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 11.0-RELEASE it's 1100001. - # FYI, we can get it from gnu/usr.bin/cc/cc_tools/freebsd-native.h. - sed -e "s:-D_KERNEL:-D_KERNEL -D__FreeBSD_cc_version=1100001: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 - - # Set the kernel configuration using USE flags. - cp -f "${FILESDIR}/config-GENTOO" "${conf}" || die - use debug || echo 'nomakeoptions DEBUG' >> "${conf}" - use dtrace || echo 'nomakeoptions WITH_CTF' >> "${conf}" - - # hyperv fails to compile on x86-fbsd. - if use x86-fbsd && [[ $(tc-getCC) == *gcc* ]] ; then - echo 'nodevice hyperv' >> "${conf}" - dummy_mk modules/hyperv - fi - - # Only used with USE=build-kernel, let the kernel build with its own flags, its safer. - unset LDFLAGS CFLAGS CXXFLAGS ASFLAGS KERNEL -} - -src_configure() { - if use build-kernel ; then - tc-export CC - cd "${S}/$(tc-arch-kernel)/conf" || die - config ${KERN_BUILD} || die - fi -} - -src_compile() { - if use build-kernel ; then - cd "${S}/$(tc-arch-kernel)/compile/${KERN_BUILD}" || die - freebsd_src_compile depend - freebsd_src_compile - else - einfo "Nothing to compile.." - fi -} - -src_install() { - if use build-kernel ; then - cd "${S}/$(tc-arch-kernel)/compile/${KERN_BUILD}" || die - freebsd_src_install - rm -rf "${S}/$(tc-arch-kernel)/compile/${KERN_BUILD}" - cd "${S}" - fi - - insinto "/usr/src/sys" - doins -r "${S}/". - if use dtrace ; then - insinto "/usr/src/cddl" - doins -r "${WORKDIR}/cddl/". - fi -} - -pkg_preinst() { - if [[ -L "${ROOT}/usr/src/sys" ]]; then - einfo "/usr/src/sys is a symlink, removing it..." - rm -f "${ROOT}/usr/src/sys" - 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 - - ewarn "If you want to manually compile (not recommended), please don't forget the following steps." -# if ! use sparc-fbsd ; then -# ewarn "export CC=clang" -# ewarn "export CXX=clang++" -# fi - if ! use zfs ; then - ewarn "export WITHOUT_CDDL=" - ewarn "Note, Please set USE=zfs if you want to enable modules under the CDDL." - fi - if ! use dtrace && ! has_version '>=sys-freebsd/freebsd-cddl-9.2_beta1' ; then - ewarn "The GENERIC config requires sys-freebsd/freebsd-cddl. Please emerge it." - fi -} diff --git a/sys-freebsd/freebsd-sources/freebsd-sources-11.1_p3.ebuild b/sys-freebsd/freebsd-sources/freebsd-sources-11.1_p3.ebuild deleted file mode 100644 index 2fb9e00362f0..000000000000 --- a/sys-freebsd/freebsd-sources/freebsd-sources-11.1_p3.ebuild +++ /dev/null @@ -1,188 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -inherit bsdmk freebsd flag-o-matic toolchain-funcs - -DESCRIPTION="FreeBSD kernel sources" -SRC_URI+=" - https://dev.gentoo.org/~mgorny/dist/${P}-patchset.tar.xz" - -SLOT="0" -LICENSE="BSD dtrace? ( CDDL ) zfs? ( CDDL )" - -IUSE="+build-kernel debug dtrace zfs" - -# Security Advisory and Errata patches. -# (commented out patches go via FILESDIR/PATCHES) -UPSTREAM_PATCHES=( - "SA-17:08/ptrace.patch" - "SA-17:10/kldstat.patch" - "EN-17:07/vnet.patch" - "EN-17:08/pf.patch" - "SA-18:01/ipsec-11.patch" -# "SA-18:03/speculative_execution-amd64-11.patch" - "SA-18:04/vt.patch" - "SA-18:05/ipsec.patch" - "EN-18:04/mem.11.patch" - "EN-18:05/mem.11.1.patch" - "SA-18:06/debugreg.11.1.patch" - "SA-18:07/lazyfpu-11.patch" - "EN-18:07/pmap.patch" -# "SA-18:08/tcp-11.patch" - "SA-18:09/l1tf-11.1.patch" -# "SA-18:10/ip.patch" -) - -if [[ ${PV} != *9999* ]]; then - KEYWORDS="~amd64-fbsd ~x86-fbsd" - SRC_URI="${SRC_URI} - $(freebsd_upstream_patches)" -fi - -EXTRACTONLY="sys/" - -RDEPEND="dtrace? ( >=sys-freebsd/freebsd-cddl-9.2_rc1 ) - =sys-freebsd/freebsd-mk-defs-${RV}* - !sys-freebsd/virtio-kmod - !sys-fs/fuse4bsd - !<sys-freebsd/freebsd-sources-9.2_beta1" -DEPEND="build-kernel? ( - dtrace? ( >=sys-freebsd/freebsd-cddl-9.2_rc1 ) - >=sys-freebsd/freebsd-usbin-9.1 - =sys-freebsd/freebsd-mk-defs-${RV}* - )" - -RESTRICT="strip binchecks" - -S="${WORKDIR}/sys" - -KERN_BUILD=GENTOO - -PATCHES=( - "${FILESDIR}/${PN}-9.0-disable-optimization.patch" - "${FILESDIR}/${PN}-6.0-flex-2.5.31.patch" - "${FILESDIR}/${PN}-8.0-subnet-route-pr40133.patch" - "${FILESDIR}/${PN}-7.1-includes.patch" - "${FILESDIR}/${PN}-9.0-sysctluint.patch" - "${FILESDIR}/${PN}-11.0-gentoo.patch" - "${FILESDIR}/${PN}-11.0-gentoo-gcc.patch" - "${FILESDIR}/${PN}-10.1-gcc48.patch" - - "${WORKDIR}/${P}-patchset/${PN}-SA-1803-speculative_execution-amd64-11.patch" - "${WORKDIR}/${P}-patchset/${PN}-SA-1808-tcp-11.patch" - "${WORKDIR}/${P}-patchset/${PN}-SA-1810-ip.patch" -) - -pkg_setup() { - # Add the required source files. - use dtrace && EXTRACTONLY+="cddl/ " - - # WITHOUT_SSP= is required to boot kernel that compiled with newer gcc, bug #477914 - [[ $(tc-getCC) == *gcc* ]] && mymakeopts="${mymakeopts} WITHOUT_SSP= WITHOUT_FORMAT_EXTENSIONS=" - use dtrace || mymakeopts="${mymakeopts} WITHOUT_CDDL=" - use zfs || mymakeopts="${mymakeopts} WITHOUT_ZFS=" -} - -src_unpack() { - unpack "${P}-patchset.tar.xz" - freebsd_src_unpack -} - -src_prepare() { - local conf="${S}/$(tc-arch-kernel)/conf/${KERN_BUILD}" - - # 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 11.0-RELEASE it's 1100001. - # FYI, we can get it from gnu/usr.bin/cc/cc_tools/freebsd-native.h. - sed -e "s:-D_KERNEL:-D_KERNEL -D__FreeBSD_cc_version=1100001: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 - - # Set the kernel configuration using USE flags. - cp -f "${FILESDIR}/config-GENTOO" "${conf}" || die - use debug || echo 'nomakeoptions DEBUG' >> "${conf}" - use dtrace || echo 'nomakeoptions WITH_CTF' >> "${conf}" - - # hyperv fails to compile on x86-fbsd. - if use x86-fbsd && [[ $(tc-getCC) == *gcc* ]] ; then - echo 'nodevice hyperv' >> "${conf}" - dummy_mk modules/hyperv - fi - - # Only used with USE=build-kernel, let the kernel build with its own flags, its safer. - unset LDFLAGS CFLAGS CXXFLAGS ASFLAGS KERNEL -} - -src_configure() { - if use build-kernel ; then - tc-export CC - cd "${S}/$(tc-arch-kernel)/conf" || die - config ${KERN_BUILD} || die - fi -} - -src_compile() { - if use build-kernel ; then - cd "${S}/$(tc-arch-kernel)/compile/${KERN_BUILD}" || die - freebsd_src_compile depend - freebsd_src_compile - else - einfo "Nothing to compile.." - fi -} - -src_install() { - if use build-kernel ; then - cd "${S}/$(tc-arch-kernel)/compile/${KERN_BUILD}" || die - freebsd_src_install - rm -rf "${S}/$(tc-arch-kernel)/compile/${KERN_BUILD}" - cd "${S}" - fi - - insinto "/usr/src/sys" - doins -r "${S}/". - if use dtrace ; then - insinto "/usr/src/cddl" - doins -r "${WORKDIR}/cddl/". - fi -} - -pkg_preinst() { - if [[ -L "${ROOT}/usr/src/sys" ]]; then - einfo "/usr/src/sys is a symlink, removing it..." - rm -f "${ROOT}/usr/src/sys" - 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 - - ewarn "If you want to manually compile (not recommended), please don't forget the following steps." -# if ! use sparc-fbsd ; then -# ewarn "export CC=clang" -# ewarn "export CXX=clang++" -# fi - if ! use zfs ; then - ewarn "export WITHOUT_CDDL=" - ewarn "Note, Please set USE=zfs if you want to enable modules under the CDDL." - fi - if ! use dtrace && ! has_version '>=sys-freebsd/freebsd-cddl-9.2_beta1' ; then - ewarn "The GENERIC config requires sys-freebsd/freebsd-cddl. Please emerge it." - fi -} diff --git a/sys-freebsd/freebsd-sources/metadata.xml b/sys-freebsd/freebsd-sources/metadata.xml deleted file mode 100644 index 3860e8098ad6..000000000000 --- a/sys-freebsd/freebsd-sources/metadata.xml +++ /dev/null @@ -1,13 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> -<maintainer type="project"> - <email>bsd@gentoo.org</email> - <name>BSD Project</name> - </maintainer> - <use> - <flag name="build-kernel">Build and install a kernel (recommended).</flag> - <flag name="dtrace">Enable DTrace support.</flag> - <flag name="zfs">Enable ZFS support.</flag> - </use> -</pkgmetadata> |