parent
5c7473f72c
commit
9f5c244108
@ -1,23 +1,23 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA512
|
||||
|
||||
MANIFEST Manifest.files.gz 28989 BLAKE2B 36188887d4da9054a71920cdfb4a6a54bd4e11def3654638b8e1e4e2f9fbdedc9245e051e2a7448a908365cacd77dc3a9ea4e50d30fda2f7e5af3749fad39b43 SHA512 0aac2d61b477c6326416b200331886ba53b619abe132c57b3997d0c0da9b807a7e09555e8c01237a89775d26dd978845bf64bf7e09398236d9ec30a5a8c1309d
|
||||
TIMESTAMP 2018-04-17T05:38:36Z
|
||||
MANIFEST Manifest.files.gz 28972 BLAKE2B 37188df3a9e14d5d4930ae002657599bd05aa9384c4f7dcf3e0c5d334ae21be8feb833ed31b7f7db05016b806aaf2cf977bc1a9dface138f0a241c15cd6977a8 SHA512 cfafb5df54e1b8bbeccda256d3e1a712651356f9489539aaafe6b5ed220deed5bb6c9db92ed43f3c074483f1659fbf83e53d47fd425e015c52329ea58fc333f9
|
||||
TIMESTAMP 2018-04-18T05:08:37Z
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
|
||||
iQKTBAEBCgB9FiEE4dartjv8+0ugL98c7FkO6skYklAFAlrViFxfFIAAAAAALgAo
|
||||
iQKTBAEBCgB9FiEE4dartjv8+0ugL98c7FkO6skYklAFAlrW0tVfFIAAAAAALgAo
|
||||
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEUx
|
||||
RDZBQkI2M0JGQ0ZCNEJBMDJGREYxQ0VDNTkwRUVBQzkxODkyNTAACgkQ7FkO6skY
|
||||
klAKfw/+JHoQo9sPb5/pE9lBLOOJ2epr0zKLktM8Dfu7MlGpJR1BjD3a61OWxR6j
|
||||
L2ULITkxZ5S9Rf8DgGGysGpHPn3fIn0gEd9AnoX0oU2UVqE9FAR2KCnigBqZuOV/
|
||||
/VpQGxig/H35GQw2pM6Sr6fy7gCeYvuGda+EftDR07k4fk/iGnyS6+GyYmqnwomw
|
||||
4euQxmDQSpUce6RnmG91YMvjVv90KSnjjG74SVlCYSdHICdAf8Z/6kM02Mi4CBHD
|
||||
lQIB00yh99odTyceMqRViJvqX5lw5uU1+EuEsBV1aZR3MTuQcZnlTvMqDeMDmX8F
|
||||
nqhgVJ1XIi6sAAT09iOKbQC63vo+BJVD3HxsRDtb0o82RT07SnUKELT8vzhhyPGp
|
||||
zjZWRwg40WqhCZVpgKmNZ/3hp8AOOnj9wln53Tx3efN/uzYaJ2dfDKJhwDMSIx9P
|
||||
X7vhK620My6oKedeHd1Y6R4LoaHb4Rg5jFRTG+ojRwwK34FFDXDlb3CPgzEz6AF4
|
||||
HQzD4UycFI/tou2eqkh5kT028cLEW5IHYwfV1unVFnsK4tbbCIC4MPNDsDp2V+oO
|
||||
nJvXSuZULUC6xPQ53w4eYVq2dwMvbgO0ySZr6P5S33Vl44pnNaYKyPZZyeXhEJEQ
|
||||
k9zzpcnBnvGRJsEo9N3pPaGNfIcBr6GI1pmDj933gpxtmS35jW4=
|
||||
=K3Hq
|
||||
klCKlA//ddd62+DHmczBuOBPvR2L5owVUL+yS+eBl/+neAXTlWeR0VePx6OxOq7R
|
||||
SepshYZLaWvvcMQVJzNaaL97+BdMl+wp4ZEf/YHVi1GPfrZ75HRwfiF4aND6WAh1
|
||||
iPzDemF0yR0H3+fleYrKySOP9SGufgVl982Ffvk8xjNeXb6qD7B07L0yjO8DT8Fd
|
||||
fVmRaGQKb7aZ5sOBfU2a2PLnUk+hWx4Xr+05ibXSvr5w51Nxq/+Q1vx2lvQeTxUt
|
||||
udAGpQ+Q1/2RYfL5p7UVsYYJCcmofX772ASNLjCJAZiYhxpuTUmjCrX3LRwSlWT0
|
||||
jgcB+KtqCMCaZ8dRp6oXfmlrVzdaJuJSh7q2Oq/R0zGEV7pzYLmN+pcESEgHFe95
|
||||
1DTiuIEOyTdtEDjx1e5S1P0dDIEUddUs9X5XXCDfp+oyUrshw0SU1fzVecXGvhRU
|
||||
WNdnVW6qzvesH0Bkfv1T1Rki6f67egoww4BVbqQ9Pt8KrPzK4Al8RHfmyb/KopLj
|
||||
h6VO3nb6hYAaFtkdfOP4YYn5NaoUuaPJsuOjKXy45Er2gto4PrZadS8r2m/oPLBJ
|
||||
Zcep716TqB8NpYyza9jerO/z9Tffgn6GxTnYL7RPv5BYgY0kjZbRemN87w2AQFTU
|
||||
7mZlSSYHRQR9+Lqpk2QZxSFcI2o3JmyUqsCT6/iy6TbK/1b8giU=
|
||||
=xNO6
|
||||
-----END PGP SIGNATURE-----
|
||||
|
Binary file not shown.
Binary file not shown.
@ -1,10 +1,10 @@
|
||||
DIST sudo-1.8.20p2.tar.gz 2930769 BLAKE2B 90338e7d436683f94a9e13e9f0da668f2bbbf2184530feb63166186309881b737b783d2be80f935e5d64fd2a4264928423d2b754121be5caf07acbacbe2a6d42 SHA512 8bf67e687f7a84605fdef8d547b5cd661141b6c8fd25820c33c7e37e97ca7f21f564c3bae691f8a8cd08df7d80338e36a8f06bb5086cc104509d71d6ab1bceda
|
||||
DIST sudo-1.8.21p2.tar.gz 2976081 BLAKE2B c0b555879ddb6832c6396b557793f5d4783481fca5d721901c7ef81c1856c1cf7630fddd09bbb42207c27d51892a79c2bf5c653b5b5091ebc84f2d59981207b7 SHA512 f04bbff54ad74ba73c078e15c75d2f41332d4912078ed66157ba7346b7fff914bd0747460cb4cd0c472af2d3b344fa72f5c62c95169df68a9cac74d7245c720c
|
||||
DIST sudo-1.8.22.tar.gz 3029051 BLAKE2B c77e05b6e9cee738902d6289327fb5d34d19833d96597f983d8af01434d224dd698f9257b0965a0e480e8d19eb38eef0c8216942ca5217c3fe7516cdf397f7b7 SHA512 5ce10a9302d25bb726e347499d26a0b3697446cfcdf0fd9094ee35198db7b023d5250a53fdcb4184d1a09f5fd2a78fc645bc8e80f265666b05a91f62f49b0695
|
||||
DIST sudo-1.8.23b2.tar.gz 3078589 BLAKE2B 4d3a003d168ef27382ff77d656c82ff830a53e402f4f717ad5fdde9eb1619b1d4af453d2dc9534b7206665d8a89e710a10b6f1343b5242e6a182737436365ddf SHA512 0fe984db67c3589b501c97cabd3e4a006bf6364f3397c73a46b34a14055226225416c2aee08a5fc60f5ac06e50a8fa1db9ed8ebf3c76989870e84457ea84e356
|
||||
DIST sudo-1.8.23b3.tar.gz 3123480 BLAKE2B 959c013daa34de710e2701d932e0d22162035b380a6cb91a5bab8438916e4ea360a20b388fa4303d82049b1935f942e2aa9e2a8e06ffbcc18f59378b06a8fff2 SHA512 ee1b93f5729e1000c13519ef716b22399884b029f4b1ce79420f8a1fe71b5456c37a475c6217397717d383d8bcb3896637673cc11bf7610d29a2c7cf798c1de4
|
||||
EBUILD sudo-1.8.20_p2.ebuild 5739 BLAKE2B bd58250f5cf45c9a6480152ac0ceb11b628c5c6e05ba663b9c277c8f082b48de4be179a437e43de2f8c81d191a98840757387e655b0c2a04d4aec2827188be0e SHA512 cce6c399221a53baba5ab12c83c833c3a350ded0ca0a7144fb46b34bccaf323368408f6b4c05b3b1d7cf01563d0f53ff241f15fd553f0cb64c3164bdea052ac6
|
||||
EBUILD sudo-1.8.21_p2.ebuild 5809 BLAKE2B 06a01d30fb9642371be1a050d768eb42b011e1eb4f86238a96bfa7187025413badde2d92294411b6622ea55406f3d9aaa1492883706abbd999f42ae8a666ebdf SHA512 2847d70298fae4993128794f4b47dc093f3571f01ba5b1c60d221031b16385ab070b44c7c81dcea862e046bc5f390cda1f9af933c6ec196f7b198a4e7c36fe07
|
||||
EBUILD sudo-1.8.22-r2.ebuild 5996 BLAKE2B c39d0f62b5a35cc83b770b650ed90c6166caf976c1866d5166ab02045e181b6dfb7a5e7d789c8237dc9bb29dd243d0829a3f5b94bb2faaff67b4a0f32443bbf6 SHA512 dba017a242af87b476788104f8fb24bb9a98cdee74cb4220c790d135316500db23caf9bd7ee17312f04d66e359454fd41e85e3a9c2e209b64967000061584954
|
||||
EBUILD sudo-1.8.23_beta2.ebuild 6000 BLAKE2B 0f271466e3199849d365e2136700e3c2570008fa72054d60a27f84e515596359ccda07683c32defd0091fa7f41fcdfd5dde5f345f8b2cc73a418ac217b29bad3 SHA512 9f5b277fcbbbe9921d8e18b45b9935436e47021ee796a0fb65f3afea980b2d8da47e9ee247acd9da4434403c9d1ef2b39ceb678bf6f82c557328381d5d59bc33
|
||||
EBUILD sudo-1.8.23_beta3.ebuild 6000 BLAKE2B 0f271466e3199849d365e2136700e3c2570008fa72054d60a27f84e515596359ccda07683c32defd0091fa7f41fcdfd5dde5f345f8b2cc73a418ac217b29bad3 SHA512 9f5b277fcbbbe9921d8e18b45b9935436e47021ee796a0fb65f3afea980b2d8da47e9ee247acd9da4434403c9d1ef2b39ceb678bf6f82c557328381d5d59bc33
|
||||
EBUILD sudo-9999.ebuild 6141 BLAKE2B 3fde1d106dc229a8bcf8c3231de2fac5695a61c2a87382bb22a5ef3a2959c7777b5c332d79ce22a5e8e82c7a15a71b688c42a08142ad2d564ae0e8654b4b3459 SHA512 4a8c1406ff43a6b32d24d277b4741deeeb075e68fb3ecf93afbf6a8c15d505595780daabef93f01d9b40ea599ac05a846f01e5736208592ee8c7db55398ae2f1
|
||||
MISC metadata.xml 989 BLAKE2B c7f7d49fda7750b172dd4b2e5c3fc5f1f3dd602b6347479834bf6444c9311738bcd10fbbba100cee45c97bb899e53f3c113abc61ee89b3353b50876c30966589 SHA512 bc9addd017e474acbc753d6d2cce5d77281a3c1f0857de538168eb1a7b80e0d0b313ad2b03cc710b483cc9588dcaf0208a5b8aaccea18e2ca51b567020bea9ec
|
||||
|
@ -1,14 +1,3 @@
|
||||
AUX tenshi-create-mandir.patch 400 BLAKE2B 015285518adb8645ffa9a4dcc3bf23d28f45aef86c1c509edc02794be1f76a3f318169df5a3d3b18f91e5557a50b00868134ab4597849830f6cfb6056f183f87 SHA512 62c1a221a4c4c80ad74a1fb7d3204c9e2452f7f70dc690d018a4da9f6d73877ef78c20ae5b934a2251194c7088e7c0f09af045fa4ac1708a7de78004e1208b35
|
||||
AUX tenshi-openrc-init-r1.patch 251 BLAKE2B cc8efd857981d36a8b1588a7753cb3e6906d1e79e36ad895e34ab6c2ed7832d4b4374d540d720ad080eb5a1ddb4d0e3fbc5e34638180fe491192b0c8abaa10e3 SHA512 8f40208c01ad67914e6e81e5c4ee520a26c7f1347a0d17778c0671f6f2edb66b0320dac0add74b910ee9df8e0400837c338c66f0934040bc44195e701e8ac675
|
||||
AUX tenshi-openrc-init.patch 400 BLAKE2B 3ee89e13fdc3aecfde8198cb3cb0f0441d9868d007e07f0e096ba2213c818694ceb362958661a16a912287c1e3b6717ce0f1f8445d3215f18d0135f71ebff2c8 SHA512 f623ddebbc873bc579484a60357aa4480bdff06d032591512765e8e8d947249899a45285d5abfeb78d77567154218f187c1f1f2d84d5a668473d5c03cfc19027
|
||||
DIST tenshi-0.12.tar.gz 28467 BLAKE2B 241acc6893c50b1d0f4e9a423f8c6bf74e71212413c7a2d0f65f3a65566c9bd64691f32047b0ae166080b37aadb7fc0b40578fe0aed673d85abc0045339f9fe9 SHA512 657998e3a8df49ad0aae9c948cdd78dab944153fdacf79ebfc31b3e57fb62d738514b94c61834342669c407a3b09e81ceab38c054153a9fae6337a377fc167db
|
||||
DIST tenshi-0.14.tar.gz 29764 BLAKE2B f1601dae3e71184ac4127e5ce63af51df5c2a1a78de272c40dd177c003436cf5c60044c93ff9cf104626b8eb18419b4dfb33d3ae2edeca75f513825d15c0d57d SHA512 9922e9b7f9f39bc38f2e8844399146a9303d8a622b167b748fd76970820b04dc15df55e4ff87c05662ba9d120876cac9fa6ffa3bf07f2ad7c4f6f58d1ca667d2
|
||||
DIST tenshi-0.15.tar.gz 28405 BLAKE2B 6a5d976e658346421d7744e42e1bc4aa5f77ca4a0da9a2a6a12ee1461a58f0a144b2ff16f8521c50fd53666e90fb24dbc92ae1314618d3e5e328a49a20b99d4d SHA512 7d241d192986d2073d8509cda8b6bd21bc678f05d6e3b830885485d259454c5e5c004b477e63dbef5eb3e5bea8c4af56d6d8ed32c6809de43ed1e144c6b3d04c
|
||||
DIST tenshi-0.16.tar.gz 24460 BLAKE2B aaef47c00a9ab63572f14ca990ee25d7231697d1180a8e8db0fd8ba413ce6f1a362f1b5dac9de30ccc1730d14a36290f0ac8cc0ff12b079650d6f8063dd2463d SHA512 b23adc764ba0bbdde99a273a233cdb5117cd160da56aa19db05f196a4d4934e3a631c9d9effe4a80388c176c3b19b46328edca02af85265d08d6e77b724b044e
|
||||
DIST tenshi-0.17.tar.gz 24597 BLAKE2B 846128e65b1a2d2a3bc5edecc9356069f44d9c13757771ec7fc5c31063d8aeb9403d447dbb088d2aa7d05d3b086ac6c569cd24a05c336225540b3baa10e79bb7 SHA512 2ca93ceaab0843c321fa69d8ba1c7b31eaf809cac4348c98327ddd9ab72df4d5ff00d6b4edeb19a9f02e154161988e0c2284248fd0e84d2b42dd82fdbaac1a78
|
||||
EBUILD tenshi-0.12.ebuild 1342 BLAKE2B c5fb552dbf0ecb866a993cdd2c2fc9fdd80d4d2c7537fdb0f1c4a008c1725df83bf953193e4c919d4388033afa8897dde6b91e7f4360e045629279d89f6bf44c SHA512 281348e573ec93eba92456d13c85d263fd32954f539ebe4cee0c66cb291b579bc034313c5d40cecef74d89dfb570d8b905bdd13fb24dfa30cd1ca10767d950a5
|
||||
EBUILD tenshi-0.14.ebuild 1185 BLAKE2B f17ca46a042bd6f0514135a9cf528854cc6173d1c959929618f50c87075075d6703cae63c16fb0f787af1cfefd9776202a386683c8c137c75f6adcfac60cac26 SHA512 53b7df0fc590a83cd12d8ba0c6c5404941f71ab1e81787b8ce924a0baaee2c8162a7abaf3b1d36e6f634bb16520aec29ab3ff7ea1efeace731b676f167335331
|
||||
EBUILD tenshi-0.15.ebuild 1186 BLAKE2B 20916392433c56dfe9af50ffb4b46a9f112c28c836d18c7cf28c8ed7a0663f65f0daa494e8dc4b21d00735b5ce9b8f2bf8ec39e05e294624bb853d1eb09dfd16 SHA512 eaffd6c1308d4c8111f443008eb7a2ec8bae686460b91509834c68801719d277f334660ae1330b6215959e6be8fa7349229e0ad214af593fb8a22d756120e769
|
||||
EBUILD tenshi-0.16-r1.ebuild 1201 BLAKE2B 39b1532683d3e310c36594ce0843b5ff29f6a3b754a2ed33ddfbbfcc2158667954a748ab5da3f989e4f1caf7ef019b9c99a193190861942f6913a839d8a5159f SHA512 f344b3f8b6d1a3e61d4a5a1f819d2cc787b20a23d310b4c7545bcbc0593d6b14572c0697659f21d083aee2387dad7e1847b5cac0cfe2052fc83f786cb540fd3d
|
||||
EBUILD tenshi-0.17.ebuild 1199 BLAKE2B e7e0499c5659c35fbd2b8662bd543350e06fbf98c4ddbfa6681fe3926949a9ccf4e2a4376ec5390704c95afc95f452481f431516d21ce060cb3d8c59bd7de136 SHA512 c8ebcb56ef759ad01bfe4f9be27b5cdff560e1184b93eac61b6e35f6dbad26dfc942923969a30d00e5b44022955b5eaa74d93aa0ce47b2465d7dbe5b5af972f7
|
||||
MISC metadata.xml 464 BLAKE2B 7a6641b592d206396a955c7aef2ce071335c3b937700f8fc5d9aacb1be093b84570afa4702ecb9d9eaec328d2aebf37f260b176d6b8e75921cdf52eff5980dd9 SHA512 db98f1636bb66ec2f345b93d9c52894032f408ae893135bb776394a5e7a1173629f58d8fce1d3b6a77962517067ca5e3859ecf4efb56bdfb950d2450d100c954
|
||||
|
@ -1,10 +0,0 @@
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -38,5 +38,7 @@
|
||||
install -g root -m 0644 -D tenshi.conf ${DESTDIR}${sysconfdir}/tenshi/tenshi.conf
|
||||
install -d ${DESTDIR}${docdir}
|
||||
install -m 0644 ${DOCS} ${DESTDIR}${docdir}/
|
||||
+ [ -d ${DESTDIR}${mandir}/man8 ] || \
|
||||
+ install -d ${DESTDIR}${mandir}/man8
|
||||
install -g root -m 0644 tenshi.8 ${DESTDIR}${mandir}/man8/
|
||||
install -g root -m 755 -d ${DESTDIR}${libdir}
|
@ -1,11 +0,0 @@
|
||||
--- a/tenshi.gentoo-init
|
||||
+++ b/tenshi.gentoo-init
|
||||
@@ -1,6 +1,7 @@
|
||||
#!/sbin/openrc-run
|
||||
|
||||
-opts="depend start stop reload flush checkconfig"
|
||||
+extra_commands="checkconfig"
|
||||
+extra_started_commands="reload flush"
|
||||
|
||||
depend() {
|
||||
need clock hostname logger
|
@ -1,11 +0,0 @@
|
||||
--- a/tenshi.gentoo-init
|
||||
+++ b/tenshi.gentoo-init
|
||||
@@ -13,7 +13,7 @@
|
||||
|
||||
start() {
|
||||
ebegin "Starting tenshi"
|
||||
- start-stop-daemon --start --quiet --exec /usr/sbin/tenshi -- -c /etc/tenshi/tenshi.conf -P /var/lib/tenshi/tenshi.pid
|
||||
+ start-stop-daemon --start --quiet --pidfile /var/lib/tenshi/tenshi.pid --exec /usr/sbin/tenshi -- -c /etc/tenshi/tenshi.conf -P /var/lib/tenshi/tenshi.pid
|
||||
eend $?
|
||||
}
|
||||
|
@ -1,50 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=4
|
||||
inherit eutils user
|
||||
|
||||
DESCRIPTION="Log parsing and notification program"
|
||||
HOMEPAGE="http://dev.inversepath.com/trac/tenshi"
|
||||
SRC_URI="http://dev.inversepath.com/tenshi/${P}.tar.gz"
|
||||
|
||||
LICENSE="ISC"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ppc x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="dev-lang/perl
|
||||
dev-perl/IO-BufferedSelect
|
||||
sys-apps/coreutils"
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup tenshi
|
||||
enewuser tenshi -1 -1 /var/lib/tenshi tenshi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/${PN}-create-mandir.patch"
|
||||
epatch "${FILESDIR}/${PN}-openrc-init.patch" #218042
|
||||
epatch "${FILESDIR}/${PN}-openrc-init-r1.patch" #398987
|
||||
|
||||
# Fix for bug #241254
|
||||
sed -i 's:^docdir =.*:docdir = /usr/share/doc/${PF}:' \
|
||||
Makefile || die "docdir substitution failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
fowners tenshi:root /etc/tenshi/tenshi.conf
|
||||
dodir /var/lib/tenshi
|
||||
fowners tenshi:root /var/lib/tenshi
|
||||
doman tenshi.8
|
||||
newinitd tenshi.gentoo-init tenshi
|
||||
keepdir /var/lib/tenshi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
ewarn "The sample config installed to ${ROOT}etc/tenshi/tenshi.conf"
|
||||
ewarn "monitors /var/log/messages which, by default, can not be read"
|
||||
ewarn "by the tenshi user. Make sure that the tenshi user has read"
|
||||
ewarn "permission on all the files that you want tenshi to monitor."
|
||||
}
|
@ -1,46 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=4
|
||||
inherit eutils user
|
||||
|
||||
DESCRIPTION="Log parsing and notification program"
|
||||
HOMEPAGE="http://dev.inversepath.com/trac/tenshi"
|
||||
SRC_URI="http://dev.inversepath.com/tenshi/${P}.tar.gz"
|
||||
|
||||
LICENSE="ISC"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="dev-lang/perl
|
||||
dev-perl/IO-BufferedSelect
|
||||
sys-apps/coreutils"
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup tenshi
|
||||
enewuser tenshi -1 -1 /var/lib/tenshi tenshi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Fix for bug #241254
|
||||
sed -i 's:^docdir =.*:docdir = /usr/share/doc/${PF}:' \
|
||||
Makefile || die "docdir substitution failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
fowners tenshi:root /etc/tenshi/tenshi.conf
|
||||
dodir /var/lib/tenshi
|
||||
fowners tenshi:root /var/lib/tenshi
|
||||
doman tenshi.8
|
||||
newinitd tenshi.gentoo-init tenshi
|
||||
keepdir /var/lib/tenshi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
ewarn "The sample config installed to ${ROOT}etc/tenshi/tenshi.conf"
|
||||
ewarn "monitors /var/log/messages which, by default, can not be read"
|
||||
ewarn "by the tenshi user. Make sure that the tenshi user has read"
|
||||
ewarn "permission on all the files that you want tenshi to monitor."
|
||||
}
|
@ -1,46 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
inherit eutils user
|
||||
|
||||
DESCRIPTION="Log parsing and notification program"
|
||||
HOMEPAGE="http://dev.inversepath.com/trac/tenshi"
|
||||
SRC_URI="http://dev.inversepath.com/tenshi/${P}.tar.gz"
|
||||
|
||||
LICENSE="ISC"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="dev-lang/perl
|
||||
dev-perl/IO-BufferedSelect
|
||||
sys-apps/coreutils"
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup tenshi
|
||||
enewuser tenshi -1 -1 /var/lib/tenshi tenshi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Fix for bug #241254
|
||||
sed -i 's:^docdir =.*:docdir = /usr/share/doc/${PF}:' \
|
||||
Makefile || die "docdir substitution failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
fowners tenshi:root /etc/tenshi/tenshi.conf
|
||||
dodir /var/lib/tenshi
|
||||
fowners tenshi:root /var/lib/tenshi
|
||||
doman tenshi.8
|
||||
newinitd tenshi.gentoo-init tenshi
|
||||
keepdir /var/lib/tenshi
|
||||
}
|
||||
|
||||
cpkg_postinst() {
|
||||
ewarn "The sample config installed to ${ROOT}etc/tenshi/tenshi.conf"
|
||||
ewarn "monitors /var/log/messages which, by default, can not be read"
|
||||
ewarn "by the tenshi user. Make sure that the tenshi user has read"
|
||||
ewarn "permission on all the files that you want tenshi to monitor."
|
||||
}
|
@ -1,47 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
inherit user
|
||||
|
||||
DESCRIPTION="Log parsing and notification program"
|
||||
HOMEPAGE="http://dev.inversepath.com/trac/tenshi"
|
||||
SRC_URI="https://github.com/inversepath/${PN}/archive/${PV}.tar.gz
|
||||
-> ${P}.tar.gz"
|
||||
|
||||
LICENSE="ISC"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="dev-lang/perl
|
||||
dev-perl/IO-BufferedSelect
|
||||
sys-apps/coreutils"
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup tenshi
|
||||
enewuser tenshi -1 -1 /var/lib/tenshi tenshi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
# Fix for bug #241254
|
||||
sed -i 's:^docdir =.*:docdir = /usr/share/doc/${PF}:' \
|
||||
Makefile || die "docdir substitution failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
doman tenshi.8
|
||||
newinitd tenshi.openrc-init tenshi
|
||||
|
||||
# We don't need to install LICENSE files.
|
||||
rm "${D}/usr/share/doc/${PF}/LICENSE" || die 'failed to remove LICENSE'
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
ewarn "The sample config installed to ${ROOT}etc/tenshi/tenshi.conf"
|
||||
ewarn "monitors /var/log/messages which, by default, can not be read"
|
||||
ewarn "by the tenshi user. Make sure that the tenshi user has read"
|
||||
ewarn "permission on all the files that you want tenshi to monitor."
|
||||
}
|
Binary file not shown.
@ -1,3 +1,3 @@
|
||||
DIST untangle-https-backup-0.0.7.tar.gz 15846 BLAKE2B b1d26f72c1d7c673da27bbdd02d469820ff83904c3836278abcd83590bb6d884c896779c648dde9159d80e658c747f75cf4dc338cb2c2f37e6aec5e20aec2551 SHA512 0b5cd7962340492ea8dd3d63b4d4bf38906c3b0de73456f80c8fd678708777d159b60cb1d58ef13f0e51b6dc97b16823ddaf8de60d21373160df0e735b54420a
|
||||
EBUILD untangle-https-backup-0.0.7.ebuild 579 BLAKE2B 5c9fdb49b091e36c0f61a19b2edc633910cc6bd43ec15d3dfe7d0a92c8e9c80bbbf90138a5aaabcf1ba4cd2b027c0bb678cab69312fc12327e4e7b22646b70ad SHA512 1605b1593d8fad6a25c8a424a2ef31a1365f7797c18b5d63499b718c198aea4ab38b306596e31f12b8ffcc804f5cd9d065d05982003df6b31debeb619f80b6dc
|
||||
DIST untangle-https-backup-0.0.8.tar.gz 16263 BLAKE2B 3a41b2ee172a14e3a11ac6e1d47adf9bb818facf8e45d16826a0da70e9280c28d09f9d4f670b4efdda487c152ce4ef5350709b70165dc9262ae4e3e0d0a106c9 SHA512 4eb74d4cb939a9ac59fc475b5dbcc2a1fb4b36b59e6335c02b6de44b5fd56c44f1b7a52f6b71b36ed91663aff17556e0c9cfb04f309a191596a7a858ffec4693
|
||||
EBUILD untangle-https-backup-0.0.8.ebuild 579 BLAKE2B 6ed0b3fd74e18f9fba2aafe42d3764be9f9aa6b1f69da507f6a6ada546a7293bb669d3f24a11b3018089d60ced0cb09060f3ed55ff5fc9e9097a9bbcf43bf050 SHA512 c3949b7553c3eced5ef4bf76c8c82b002e59228d31684875279e854a970fa330d44b1e824a0672e4c86ba45fe4483b7896cd85377da772567454f1cd1d0f676c
|
||||
MISC metadata.xml 252 BLAKE2B fa9e1dbdc0de3313b50ecd9de7ac59006074b8b75ecb97a8fc4de5fb14609cb00dc1b24ba95a2e7fb11cbc6f8c8f0c068bd0311713cc2aa7e6016992dbd6e8bd SHA512 92f660063c96ac5b3e24e58733006d4a72a7e2f41605988efb575546a2539a92b1ceb3a37e018fcb5c08264a42af26950d6520ea80ba60130ad25ce6092ce742
|
||||
|
@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
Binary file not shown.
Binary file not shown.
@ -1,5 +1,4 @@
|
||||
AUX xbiso-0.6.1-libs.patch 831 BLAKE2B 3be6bfd500f834d455ed0a8f471276c139871bb6876247ae38ccc4344ccf71b1694df67ece512398128202b025976fe0b751ea934201983cb51b20786627e18a SHA512 abbbd8cbb8ff0a2e3c13a6cac2598b42cc213a087e19c46d0665d95a3b394a513009609118cb661bbc207bb6121e335f2d6e755f3fdcba0cf03864bcd048b51f
|
||||
DIST xbiso-0.6.1.tar.gz 49698 BLAKE2B ac1605df188b0ec84d0798a0c0220405ce5082160025dc7b21405f1a17f8e0439c6f8d5dbbe293db1645ac0ad195fb0791fe765ea9e1b8c199461f97a2525dce SHA512 351b558c591c3a6c633fb07e081d57cf7ac8b15272ae19878f7d33a796567177aa4eb2fad64d71e6fd86ac18e1c25d30b52013a83ce5d44854f37ec893282fcc
|
||||
EBUILD xbiso-0.6.1-r2.ebuild 874 BLAKE2B b3a16c9762bb44c42f4d010014d1d68146bbf9edab3d0016ac4773868daffd3cb64ad34cf49f7d6c27a658ea6d32ff3249711e0b7bdc52fa428f7ba3f78722de SHA512 e1248654a198074e9b7f0d1b9ecfee94623a5d788339b1daf6dc272d62c636adb89a57c40b4388a085629e0ed49cad937b4a62fc7c23523beaae0f021e561d64
|
||||
EBUILD xbiso-0.6.1.ebuild 622 BLAKE2B d6e0ec454d81dd063a60db9d518f6353a6bbc20b783d98196c135f17ae53871ce785cec77cf1cb6d0b26aa6107b816109000768417ed39081e54827591159890 SHA512 c48d49d1fb2a16174d505d70464d90434c1deb45baa86e80e96880b11a55419b5dfcb1ff7f606b595fcd531d4532be288601bb55d68cfd57d28ff7b52e62728a
|
||||
MISC metadata.xml 323 BLAKE2B 6a0770e71ff7ea1d4aec6a1c463ef0e61da6e67d233faabe667fb48d66178810bb5a8cb45089aa9c6e9be72a10e88befa475ce12c2c5c5874276011543a67952 SHA512 688b4299ad48494730835903feb951941c1da2a69705d49dd4c64c7d0b8d9f5e6576e162f735739787063db73ff2dff41d5444375181e8488cff21f31c3d89f6
|
||||
|
@ -1,26 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
inherit flag-o-matic
|
||||
|
||||
DESCRIPTION="Xbox xdvdfs ISO extraction utility"
|
||||
HOMEPAGE="https://sourceforge.net/projects/xbiso/"
|
||||
SRC_URI="mirror://sourceforge/xbiso/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
|
||||
IUSE=""
|
||||
|
||||
src_compile() {
|
||||
# for this package, interix behaves the same as BSD
|
||||
[[ ${CHOST} == *-interix* ]] && append-flags -D_BSD
|
||||
|
||||
econf
|
||||
emake || die "emake failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin xbiso || die "dobin failed."
|
||||
dodoc CHANGELOG README
|
||||
}
|
Binary file not shown.
@ -1,5 +1,5 @@
|
||||
DIST emacs-26.0.91.tar.xz 43988932 BLAKE2B 05e5b9d51f92f2719ea22806f73b17903f5941c82a2e4e762b7664ed1b05f7324c0b020ded311dc4f22b7668684f59eaf3f3c2495f85977f3510698d7e0edd09 SHA512 4e20743299ed419c8ad7bea00c5389fb7c81f4e631165fe2b19c4bbd7c2b401416073282814f30bb96e5c3961724bfbb565781c50ee481a4f4c762ca6f480fba
|
||||
EBUILD emacs-vcs-26.0.91.ebuild 12729 BLAKE2B a4c199947689fa3f0f93c22cf8542ba6faf8dae19f8d087aeeb7149ef531a971f9c9542c45b0e1c89d206bbb42ccf10b1df121e71523536f2db8b040024541ea SHA512 183b51312550aaf65b360929d0736adcc1381e28e3f944de7e68fde0262d5bba597f10fdddd27b1e72db31b7a03cf2b0c2bbdf0e4aee5c65e3ead3554e91e8e6
|
||||
EBUILD emacs-vcs-26.1.9999.ebuild 12783 BLAKE2B ddd7dceaeff16528d04f18501950676c224220d870b93467089692772c1df9ea4d9cfaa35d2d3590335b6c4fb05df05a18680d6f6d307de0c01a1d2e9c985404 SHA512 2a6420f9deb01f8251a6ea96124bd83ac3a65c1d8daf7a02706319fb19ccdeea66282c2cd85d4e0ae332c1ab190d4a3885f72d69e01d0785e60dc697d48ffc35
|
||||
EBUILD emacs-vcs-27.0.9999.ebuild 12727 BLAKE2B 18d435a62a2baac1d519d8c70dea28d77fafedd0a7b6710ffc16bea6d52d3a3c135276ef13fcbaa26fe6201c7e07294715592334cdd0520ef2e9b9d788c8bfd4 SHA512 beaa58a1ca07fabdf9a1c4240e6b9a122e601b180bd04c9fce2671c1d1cef72dc63a08640ada982c1b7463f60c97f5f9317649b01cea5a34e499c552afef6e84
|
||||
MISC metadata.xml 2875 BLAKE2B 0791cae7c67dd1dbd4cceb7da63771252f195dc4c90606e4f7d244ac562f1907325816bd40996edc8becfc1ed55fe9738bfe7e639dbb013a06171de32b8493f2 SHA512 49031fc328278cc6910e5ea566d807c9b5c8cdccd5f3fc9aa60902f566b46c47acf96e6388e2d43aa97ebc7f0a5a98041d936f12dfd06b7816f1720656d4799e
|
||||
EBUILD emacs-vcs-26.0.91.ebuild 12719 BLAKE2B e9cb6729ddf5a5dc39e83809c627ec70a423368705751bfb330ac6a275fe97645413cd9bcc0e66c29b89d66225f03101dd40494adb090a2b6b717b4e5388d913 SHA512 9a661682ef16a2faf92cbe90dda4265b2b55d72d1a8c6145f9876bc9ded3a943e7c8d985f3b19c9d8b0c1f4898eba21f6db969656c05354654813db43298f8e6
|
||||
EBUILD emacs-vcs-26.1.9999.ebuild 12773 BLAKE2B 2fc2d8356806514b478bd61d51a742e11c1d474370c87c31ee2240a9ed0b7b62f451781a65e0f246ceba9b64723c5ec947ae225e116438e2930a296841f7e6b4 SHA512 d0208781658d7b79b97f57db2fa4c7b24a07c1a3cf53dfa0a76a7a1ff37339cf0bbd879a8e8a133b87d3b6885680bce67bb294d83e95376223f74f57219ed578
|
||||
EBUILD emacs-vcs-27.0.9999.ebuild 12717 BLAKE2B 28575bb2bfc91a316bb104bcd39b4537d405fb58555c6e56c07d872af65f9795f66f94942ef1cd323305c52f761f362534ca230c7d18af55a56389b8ac923e3e SHA512 e30eeb7226462a7eaa6f447b18baa552fff74a88cb8e7366ecfdd64fe630f7d510155fb34f0d04651ab6114607e0e160a6e584e8e60f9ac3219e10d102b4dbfb
|
||||
MISC metadata.xml 2799 BLAKE2B 0b1f8190aa0a7884ce80e712caafa063e053e5b100bbf56ca97156e1b99cc32bd22caa20297ca0249b50b3991444b05d33c49051eabad56f20e799fd6c5e7d54 SHA512 cc0a8ac18f7366e0384528b963c9f2de4c6faabca3cfdf4abd92456feb70454c95df125ec0648806614ac0daaabf198acad0bd349295bf7b01b159db96fbece4
|
||||
|
@ -1,5 +1,3 @@
|
||||
DIST yudit-2.9.2.tar.gz 2831966 BLAKE2B a7ac8b3b538820e6101b57f8407fd99e9aaa4baf16fd3b09c4d4322b53b85fd631a3b36b6bfac214cc378fb4fd8b9ac30c2cb77959b680064e5ec625998ec6c0 SHA512 39bbd6f1696a97922a5db83b25b52609660ea77c7651cfde1d7189789e7d9a6298f6dd91acf17ab9d1bef1fabbdeb7bb1f9ab95a14198913c84c30154efd9e07
|
||||
DIST yudit-2.9.6.tar.gz 2797142 BLAKE2B 76fb8e0ade65c84389db71b4100e458f5b70aebba27eea4b604bfcee08974060dcd2bab2d86586b5ba729d8d5090c943e825dfe58d71c609f0ca2f2e0c3900c9 SHA512 a9a0b6f6c44451cf2fefc4fc0bb1bbd9ffccd17c4c622dc35b08113245b3bb9f3ca949f3e7b9d2aa919ebf3840295c5e63c0297576e74a5f2d1fb99cfc97c46b
|
||||
EBUILD yudit-2.9.2.ebuild 774 BLAKE2B 5304e2e5e5f9dcaf5f8847f5709d5457b5d4ba2b15d3b4a555ace0cb9f91edc26e7d2521dc388c8a3f538d01ef92cc7416e8b6f5aa6c59ecbfb29e1e5bfbebf9 SHA512 7964bc24e1309add3b4a1a9368270db946cddab68ca27747f91122124cf9bb64e77e8d9f2ed366e29dee56e9dd174cf97118063585443ffe6e84af4028400744
|
||||
EBUILD yudit-2.9.6.ebuild 604 BLAKE2B 1aa89fd7b8a9aec721fa4b8a411b141ddcd4004b3bbc64b79ef558ebc76dae2ed8f3abf448a33f4647878aa820e1c7f49cc72d7cf810aaf43eab7e0e104f109b SHA512 44d0e87fb7aebb5b50b69d21179b83d3ff46b6ccb7f454f30dd7b8834d15699bd49446cdcbc6ee56e2cfd8de5a397d08069bac6c27247fe091a1283af5c32963
|
||||
MISC metadata.xml 166 BLAKE2B c254f1fb642881aba57637be14fb0a89b10384f91a128feaec3a8c870d76efc2cbacb92caccc0dee2dd19a5ac5eaf8643080dafa05c4e2ac96a68568927e5afd SHA512 a56648c974a1d14dd4c18237532773c72057a13ab90c58b5da04f185e3c12a8bd8d5c21fb06053507f31766291a82dc7d87b34cd65fd94cfe2af7295c813ef84
|
||||
|
@ -1,33 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=4
|
||||
|
||||
DESCRIPTION="Free (Y)unicode text editor for all unices"
|
||||
HOMEPAGE="http://www.yudit.org/"
|
||||
SRC_URI="http://yudit.org/download/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
|
||||
RDEPEND="x11-libs/libX11"
|
||||
DEPEND="${RDEPEND}
|
||||
>=sys-devel/gettext-0.10"
|
||||
|
||||
src_prepare() {
|
||||
#Don't strip binaries, let portage do that.
|
||||
sed -i "/^INSTALL_PROGRAM/s: -s::" Makefile.conf.in || die "sed failed"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
#FIXME:
|
||||
#-j1 because this app builds a tool called 'mytool' and we need to make
|
||||
#sure that it is built before it needs to be used.
|
||||
emake -j1
|
||||
}
|
||||
|
||||
src_install() {
|
||||
make DESTDIR="${D}" install || die
|
||||
dodoc {BUGS,CHANGELOG,NEWS,TODO,XBUGS}.TXT
|
||||
}
|
Binary file not shown.
@ -1,4 +1,6 @@
|
||||
AUX 50ebuild-mode-gentoo-1.39.el 805 BLAKE2B 3cdb41677c5ef11ef6fb44001cc36b58f923c2be4090fe8635fa85d338af3d170b1ad3d6b2f31704cf24e1528d3ce9b6fd3d305c2e3c1b1923e345e011642307 SHA512 8038b7bac0f3322b1149467152790dac7cd133234afe7c362c0e14686e378bc27eaf432a7194e1748dda80b41483943facb44e1a66466ebdcb4e7a0768e8f629
|
||||
DIST ebuild-mode-1.42.tar.xz 34936 BLAKE2B dd94d17dc57e2d32b329ab62ec6eec8ada6a4aeddadb8d978736f5dcb4d613759fd860043cab92d12db11614f8b7fa71fc5537576a2af3f5e6c9d56fc2fdcc05 SHA512 119f954eaf009bd0c9f0a75810b94a54d65ed91c6ffef20dd164c7a5ef095410dd0f3642426817f5efa6623d4f3e120ed3b27076222b02a90e75a83bb80b8703
|
||||
DIST ebuild-mode-1.43.tar.xz 34688 BLAKE2B 577900e2fa7ccb2362ec7f9046affb58e92bdfde44f2ea48274ba61d65f35fa6a1852bda6d9c64bd3f63aba99df244b4cb3378de079259508b149cdacf7caf28 SHA512 91f9a06de6feeeadb27d765a6ca6f2fa17e01938a6c953efe3586646f1bf48da87fe269ee9b07b2e16199d3ba4a76f42b8be9143218b808fac2971fc6f64f36d
|
||||
EBUILD ebuild-mode-1.42.ebuild 732 BLAKE2B d80092df36e90cc356b7b0c3ae66405a08c5aab836f046ab9ddc268abb79766ed011ea390d0356f56555026af132d0b8d9be6f14c0eb82d3c09bd4835168e57f SHA512 fa0f2767f3eb6a4a5c94b9f633f4b3f778cd956f3995e5452b4c7548b6a79d9068f3d89e916aea696b34cf763c8754a193a546f35d7f7c9710b2eecb43853e2c
|
||||
EBUILD ebuild-mode-1.43.ebuild 741 BLAKE2B b6e42cfad3813fb04b76e8c372178e01f8af7e26b2718b8ef99a043466340aaffe7f52e35459fb10740f2b45e0cf2fbb4c917caa6b6d5658c5225e223b4c9502 SHA512 23250c905bdb39036d70c7b4e1f15609077268469b7a370be9ca1d4169f4b9af1db68b010124753fb60ef0560f2e8b58a9cd5dc943bed8d8c61f2018970dc326
|
||||
MISC metadata.xml 403 BLAKE2B b3996463afa7f1471fafe74467cc3b2bfac32c9ed6f8cbab1390ac1b974be057982f8f3ec7d796f7eb45b023d702b668f979e962d6c33c525f1e644de2703007 SHA512 b6c2ed67a0eac9b03f15bc00374f925eb8ba28000f8d1ebbe03f75e26c953ef799fe73c0bc1658089e5ab687cb07e97ff8d74123b6a67cd5dd8246e81051c239
|
||||
|
@ -0,0 +1,22 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit elisp readme.gentoo-r1
|
||||
|
||||
DESCRIPTION="Emacs modes for editing ebuilds and other Gentoo specific files"
|
||||
HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Emacs"
|
||||
SRC_URI="https://dev.gentoo.org/~ulm/emacs/${P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
|
||||
|
||||
DEPEND="sys-apps/texinfo"
|
||||
|
||||
DOCS="ChangeLog keyword-generation.sh"
|
||||
ELISP_TEXINFO="${PN}.texi"
|
||||
SITEFILE="50${PN}-gentoo-1.39.el"
|
||||
DOC_CONTENTS="Some optional features may require installation of additional
|
||||
packages, like dev-python/docutils-glep for glep."
|
Binary file not shown.
Binary file not shown.
@ -1,7 +1,7 @@
|
||||
AUX linux-4.15-timer_setup-fix.patch 1374 BLAKE2B 6d194a47b4b55bf27139d02b978ea99a5d095c20bf326b083134c3c4b0df4d489d03630edec055b92179f897709da6885706f5b33062bb64b1dad627f9a82b59 SHA512 9f4cf02891d051ecb04748f974b90b1d9228b3e9cff2c3c1715075cf7d23a75b5ecab375e80223f9456aede913c25bb88c7a49cac7022cf42141598c0f66b541
|
||||
AUX tp_smapi-0.40-confd 785 BLAKE2B da1e2a5ce6e441eebf1a3dffcce8a863688a525f6ee4c29537b1783e3283c5a0311e4317617cff4be8c35246accf69738778c6c34e4d2af77a18f23a1e84b363 SHA512 a08f0b15ea37f79e1a8b41b3a3a59421dcf26e482d2eaa269e7c3f728c142e68e8c130c8a53f4c14829436a20e1354318464de780d9fbe10777d7929d7944dca
|
||||
AUX tp_smapi-0.40-initd 1851 BLAKE2B 852fc13e2d74a570918c451966214ed8ca3daea9bdb66e856f48554261f4cafc8d8be7b76889a6a639f0dc1310d34036131a9982be0cdcf0e458707e7938b161 SHA512 ebf8ac628e00979f21e266fb6d187f02bfeeafc9482a0c5bed4fd4f092c7a27158747ccf629c802969ad2a8f13124276ef889927b3f1f01a7ce44fdcde103698
|
||||
DIST tp_smapi-0.42.tgz 39867 BLAKE2B 0f7285fe99766437d964780f3c9d88480a19ed07de155e1794b5c48f318846fbde4eb759e825af9f5da89fb20aee5e217f32e873a70c7d85f63e3a44b385b0f7 SHA512 1004b7ef961a9908c2144b26ea60b6dddabd83d60c11421a03e3b810f5b635415ef52656d6980915512d68f809f7bc3d662328f25d111537bd7e175d252cf83b
|
||||
DIST tp_smapi-0.43.tgz 40122 BLAKE2B e14caa05d741d14b03c56c57badc5900a47735bc58966b5195ca34269a6227ecc50518ee5ce8cf47a4aacb314a0ed0332b987098f3be024b6af9024df6efdf9b SHA512 ec2e40a248e7eb5bff2ad9e57087058a8b4706d564bd340daba5a4700ad8a5389d1f9ec29984516a1167827ae55c28240dafb558df29e1f758a4f7af80caa1e7
|
||||
EBUILD tp_smapi-0.42-r1.ebuild 1947 BLAKE2B 8b3ce3e2e96c025ee1236feb410019d9033b8633a476b346e6aae63d4b1a48940edf9a294de5d85c4e6eb2d337f654dfd5379439ed17548502fbec98ae03a872 SHA512 d09fe01652350951baaaf67af7ce32036515a1535cb9f774d2e0e2f92b0f79163babc3c19c554a37a15b5ddde3bf5a4904e95dfaa74274783911d2c5335fbbef
|
||||
EBUILD tp_smapi-0.42-r2.ebuild 2009 BLAKE2B 8ef125cc7f35bc868fed563da9bb880f3cc766c5df12a4d27e85c5e785132a715f02753d6b15882efeb11577b99f742c86831c4cf182e6cf213080cc0708b998 SHA512 9d851aa646bd312f5997e8b3a7d4c23b4d2e9ab4b18086d87fb5e8fbda32b449d6900b93ce4e45483c05ec3f3c40ee8e5b4952daf7d593ca1343172ce5c4f147
|
||||
EBUILD tp_smapi-0.43.ebuild 1949 BLAKE2B fa54b6dfafcb3dc842ca205e21deb68eab8f7f4c7fcc858680ed7742d3ab906e3f140aadbf736f4f92efc413b204a254017ea622e15432e2e3eb01712297ac4f SHA512 f88a84f395b578979f152437904224b5de061584e95fd4d635b014c1d4513b83af312d93914e804c7c96e75448d3649e6f2d41acf55267b23a00ab9cf6c2fff3
|
||||
MISC metadata.xml 473 BLAKE2B 9d19f4112fc0ac3e045c2d92e510bec52bbfbcd9bbca442d856598cc95f546592c4661b317215d35a6540a14e4bf68b3b826baa8c434a170e9841fce3706cc99 SHA512 21ce54c4cd204ddea9f1170f8e1b66e636bb2b541856ff541371bd572403519a09cf2367f5642a596684d66145bc9ab92396b102ef51086f2d22f96fc6c0b7af
|
||||
|
@ -1,43 +0,0 @@
|
||||
From 76c5120f7be4880cf2c6801f872327e4e70c449f Mon Sep 17 00:00:00 2001
|
||||
From: Jan Nordholz <jnordholz@sec.t-labs.tu-berlin.de>
|
||||
Date: Mon, 4 Dec 2017 03:27:11 +0100
|
||||
Subject: [PATCH] Adapt HDAPS driver to use the new timer_setup() interface.
|
||||
|
||||
Linux 4.15 removed the ancient init_timer() API and changed the signature
|
||||
of the timer handler function.
|
||||
|
||||
Signed-off-by: Jan Nordholz <jnordholz@sec.t-labs.tu-berlin.de>
|
||||
Closes: #31
|
||||
---
|
||||
hdaps.c | 8 ++++++++
|
||||
1 file changed, 8 insertions(+)
|
||||
|
||||
diff --git a/hdaps.c b/hdaps.c
|
||||
index 0763c3a..76930a3 100644
|
||||
--- a/hdaps.c
|
||||
+++ b/hdaps.c
|
||||
@@ -469,7 +469,11 @@ static void hdaps_calibrate(void)
|
||||
/* Timer handler for updating the input device. Runs in softirq context,
|
||||
* so avoid lenghty or blocking operations.
|
||||
*/
|
||||
+#if LINUX_VERSION_CODE < KERNEL_VERSION(4,15,0)
|
||||
static void hdaps_mousedev_poll(unsigned long unused)
|
||||
+#else
|
||||
+static void hdaps_mousedev_poll(struct timer_list *unused)
|
||||
+#endif
|
||||
{
|
||||
int ret;
|
||||
|
||||
@@ -779,8 +783,12 @@ static int __init hdaps_init(void)
|
||||
hdaps_invert = 0; /* default */
|
||||
|
||||
/* Init timer before platform_driver_register, in case of suspend */
|
||||
+#if LINUX_VERSION_CODE < KERNEL_VERSION(4,15,0)
|
||||
init_timer(&hdaps_timer);
|
||||
hdaps_timer.function = hdaps_mousedev_poll;
|
||||
+#else
|
||||
+ timer_setup(&hdaps_timer, hdaps_mousedev_poll, 0);
|
||||
+#endif
|
||||
ret = platform_driver_register(&hdaps_driver);
|
||||
if (ret)
|
||||
goto out;
|
Binary file not shown.
@ -0,0 +1,191 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
# The Debian ca-certificates package merely takes the CA database as it exists
|
||||
# in the nss package and repackages it for use by openssl.
|
||||
#
|
||||
# The issue with using the compiled debs directly is two fold:
|
||||
# - they do not update frequently enough for us to rely on them
|
||||
# - they pull the CA database from nss tip of tree rather than the release
|
||||
#
|
||||
# So we take the Debian source tools and combine them with the latest nss
|
||||
# release to produce (largely) the same end result. The difference is that
|
||||
# now we know our cert database is kept in sync with nss and, if need be,
|
||||
# can be sync with nss tip of tree more frequently to respond to bugs.
|
||||
|
||||
# When triaging bugs from users, here's some handy tips:
|
||||
# - To see what cert is hitting errors, use openssl:
|
||||
# openssl s_client -port 443 -CApath /etc/ssl/certs/ -host $HOSTNAME
|
||||
# Focus on the errors written to stderr.
|
||||
#
|
||||
# - Look at the upstream log as to why certs were added/removed:
|
||||
# https://hg.mozilla.org/projects/nss/log/tip/lib/ckfw/builtins/certdata.txt
|
||||
#
|
||||
# - If people want to add/remove certs, tell them to file w/mozilla:
|
||||
# https://bugzilla.mozilla.org/enter_bug.cgi?product=NSS&component=CA%20Certificates&version=trunk
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
|
||||
|
||||
inherit eutils python-any-r1
|
||||
|
||||
if [[ ${PV} == *.* ]] ; then
|
||||
# Compile from source ourselves.
|
||||
PRECOMPILED=false
|
||||
inherit versionator
|
||||
|
||||
DEB_VER=$(get_version_component_range 1)
|
||||
NSS_VER=$(get_version_component_range 2-)
|
||||
RTM_NAME="NSS_${NSS_VER//./_}_RTM"
|
||||
else
|
||||
# Debian precompiled version.
|
||||
PRECOMPILED=true
|
||||
inherit unpacker
|
||||
fi
|
||||
|
||||
DESCRIPTION="Common CA Certificates PEM files"
|
||||
HOMEPAGE="https://packages.debian.org/sid/ca-certificates"
|
||||
NMU_PR=""
|
||||
if ${PRECOMPILED} ; then
|
||||
SRC_URI="mirror://debian/pool/main/c/${PN}/${PN}_${PV}${NMU_PR:++nmu}${NMU_PR}_all.deb"
|
||||
else
|
||||
SRC_URI="mirror://debian/pool/main/c/${PN}/${PN}_${DEB_VER}${NMU_PR:++nmu}${NMU_PR}.tar.xz
|
||||
https://archive.mozilla.org/pub/security/nss/releases/${RTM_NAME}/src/nss-${NSS_VER}.tar.gz
|
||||
cacert? (
|
||||
https://dev.gentoo.org/~axs/distfiles/nss-cacert-class1-class3.patch
|
||||
)"
|
||||
fi
|
||||
|
||||
LICENSE="MPL-1.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
|
||||
IUSE="insecure_certs"
|
||||
${PRECOMPILED} || IUSE+=" cacert"
|
||||
|
||||
DEPEND=""
|
||||
if ${PRECOMPILED} ; then
|
||||
DEPEND+=" !<sys-apps/portage-2.1.10.41"
|
||||
fi
|
||||
# c_rehash: we run `c_rehash`
|
||||
# debianutils: we run `run-parts`
|
||||
RDEPEND="${DEPEND}
|
||||
app-misc/c_rehash
|
||||
sys-apps/debianutils"
|
||||
|
||||
if ! ${PRECOMPILED}; then
|
||||
DEPEND+=" ${PYTHON_DEPS}"
|
||||
fi
|
||||
|
||||
S=${WORKDIR}
|
||||
|
||||
pkg_setup() {
|
||||
# For the conversion to having it in CONFIG_PROTECT_MASK,
|
||||
# we need to tell users about it once manually first.
|
||||
[[ -f "${EPREFIX}"/etc/env.d/98ca-certificates ]] \
|
||||
|| ewarn "You should run update-ca-certificates manually after etc-update"
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
${PRECOMPILED} || default
|
||||
|
||||
# Do all the work in the image subdir to avoid conflicting with source
|
||||
# dirs in $WORKDIR. Need to perform everything in the offset #381937
|
||||
mkdir -p "image/${EPREFIX}"
|
||||
cd "image/${EPREFIX}" || die
|
||||
|
||||
${PRECOMPILED} && unpacker_src_unpack
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
cd "image/${EPREFIX}" || die
|
||||
if ! ${PRECOMPILED} ; then
|
||||
mkdir -p usr/sbin
|
||||
cp -p "${S}"/${PN}/sbin/update-ca-certificates usr/sbin/ || die
|
||||
|
||||
if use cacert ; then
|
||||
pushd "${S}"/nss-${NSS_VER} >/dev/null
|
||||
epatch "${DISTDIR}"/nss-cacert-class1-class3.patch
|
||||
popd >/dev/null
|
||||
fi
|
||||
fi
|
||||
|
||||
default
|
||||
eapply -p2 "${FILESDIR}"/${PN}-20150426-root.patch
|
||||
local relp=$(echo "${EPREFIX}" | sed -e 's:[^/]\+:..:g')
|
||||
sed -i \
|
||||
-e '/="$ROOT/s:ROOT:ROOT'"${EPREFIX}"':' \
|
||||
-e '/RELPATH="\.\./s:"$:'"${relp}"'":' \
|
||||
-e 's/openssl rehash/c_rehash/' \
|
||||
usr/sbin/update-ca-certificates || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cd "image/${EPREFIX}" || die
|
||||
if ! ${PRECOMPILED} ; then
|
||||
python_setup
|
||||
local d="${S}/${PN}/mozilla" c="usr/share/${PN}"
|
||||
# Grab the database from the nss sources.
|
||||
cp "${S}"/nss-${NSS_VER}/nss/lib/ckfw/builtins/{certdata.txt,nssckbi.h} "${d}" || die
|
||||
emake -C "${d}"
|
||||
|
||||
# Now move the files to the same places that the precompiled would.
|
||||
mkdir -p etc/ssl/certs etc/ca-certificates/update.d "${c}"/mozilla
|
||||
if use cacert ; then
|
||||
mkdir -p "${c}"/cacert.org
|
||||
mv "${d}"/CAcert_Inc..crt "${c}"/cacert.org/cacert.org_root.crt || die
|
||||
fi
|
||||
mv "${d}"/*.crt "${c}"/mozilla/ || die
|
||||
else
|
||||
mv usr/share/doc/{ca-certificates,${PF}} || die
|
||||
fi
|
||||
|
||||
if ! use insecure_certs ; then
|
||||
elog "To prevent applications relying on system's trusted root certificate store"
|
||||
elog "from using CAs where at least one major browser vendor Gentoo is following"
|
||||
elog "has decided to apply trust level restrictions, the following"
|
||||
elog "certificate(s) were removed:"
|
||||
# Remove untrusted certs from StartCom and WoSign (bug #598072)
|
||||
elog "$(find "${c}" -type f \( \
|
||||
-iname '*startcom*' \
|
||||
-o -iname '*wosign*' \
|
||||
\) -printf '%P removed; see https://bugs.gentoo.org/598072 for details\n' -delete)"
|
||||
fi
|
||||
|
||||
(
|
||||
echo "# Automatically generated by ${CATEGORY}/${PF}"
|
||||
echo "# $(date -u)"
|
||||
echo "# Do not edit."
|
||||
cd "${c}"
|
||||
find * -name '*.crt' | LC_ALL=C sort
|
||||
) > etc/ca-certificates.conf
|
||||
|
||||
sh usr/sbin/update-ca-certificates --root "${S}/image" || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cp -pPR image/* "${D}"/ || die
|
||||
if ! ${PRECOMPILED} ; then
|
||||
cd ca-certificates
|
||||
doman sbin/*.8
|
||||
dodoc debian/README.* examples/ca-certificates-local/README
|
||||
fi
|
||||
|
||||
echo 'CONFIG_PROTECT_MASK="/etc/ca-certificates.conf"' > 98ca-certificates
|
||||
doenvd 98ca-certificates
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [ -d "${EROOT}/usr/local/share/ca-certificates" ] ; then
|
||||
# if the user has local certs, we need to rebuild again
|
||||
# to include their stuff in the db.
|
||||
# However it's too overzealous when the user has custom certs in place.
|
||||
# --fresh is to clean up dangling symlinks
|
||||
"${EROOT}"/usr/sbin/update-ca-certificates --root "${ROOT}"
|
||||
fi
|
||||
|
||||
if [ -n "$(find -L "${EROOT}"etc/ssl/certs/ -type l)" ] ; then
|
||||
ewarn "Removing the following broken symlinks:"
|
||||
ewarn "$(find -L "${EROOT}"/etc/ssl/certs/ -type l -printf '%p -> %l\n' -delete)"
|
||||
fi
|
||||
}
|
Binary file not shown.
@ -1,5 +1,6 @@
|
||||
AUX skrooge-2.12.0-qt-5.11.patch 1280 BLAKE2B cae8b90183fefa70f062355184f40e8767d357e78e4eed1901a32dae3e1b444251c37917e69201e23873d91ccb47b19268b85906cf45f36b0414751770c0e2fd SHA512 625947c334c06ed9bfd0c7cf0a7a6b0ddcf491572532d9e73e529cd4a1ef2e53939b6570df9442817269db897dc2d3c5155d318e6738ddcd4787470a8ffc85ad
|
||||
DIST skrooge-2.11.0.tar.xz 20677024 BLAKE2B d8995746a64489cf9b6c824c8d6349f2ef10a57fcc086c97db0ce1b65e31f72fa4c41994b4dd4ab85df008e2721bd84a029a9f71ea219d6203856e314895e2ef SHA512 088ef94d2eaa866a1cf3f55ed960bccf27a80e3a1138855b35fa301c799468b0d0594a03310872a9b3ce2513d1ac9a8df3fa039636517f7b2b135fda65a67e00
|
||||
DIST skrooge-2.12.0.tar.xz 20289828 BLAKE2B 999f100fffca3b8fff5e343b1137fc51e337428cdbd89f7e5eb72811e3e5e1522cc257e6be83aad57cf4ec66fefd061b685d94caaadcc27182f32da13d57014f SHA512 348262a7e86f6b3f9fa028fea324eeb73c96e03a77d16774ae9f4b554c1893aca7a002bcf3160d4055cfe8aaceeb76a364e71e7f605382cfe1a801eca1ca874f
|
||||
EBUILD skrooge-2.11.0.ebuild 2365 BLAKE2B aeaf4ffdc815569d4c124bff99bc47acd7b49b576e761e981073a86e0c2e24275696dfcbc4ca2105e3c6fa0b52149130d0a21d9910750ed15e50f9a1b99bb2c6 SHA512 fd9c100ebf80952bb209597e369ca03f88e0a122ec4fb7271ed551c72016e360e49f87f5abff85018eed0a42cf03b39806d1ecb5b973526e95e9443c255b44e8
|
||||
EBUILD skrooge-2.12.0.ebuild 2367 BLAKE2B e4045cba2290bad7f903e9ff81615f7f5f443a0c3dd42ec82a6e1e43e7e9ef421737fa06a799d76c63e1801ea2ce43cfb74fb5b1dc959ae6cf1cc96125ec2773 SHA512 9e2ceacaa2ae8e16864cf3fe4de6dea5d261ad24f42af0e6499b7f1be88afabc3c40ee178de0ff12eb8c70ac1d1d58d73d912d55ea785d2f4739dab35e1bce5c
|
||||
EBUILD skrooge-2.12.0.ebuild 2413 BLAKE2B 0906c4ba93a25911e3241d264d4a8f3b6f2fed747d24f5913a6a4d672cc582eb82df3dfadd78ccd07efe8bbeeead34a74c71ffad68709ea0dc1b71ea77c53398 SHA512 32e82aee3c6b63f2750749be6816da2a57ddcaec1d71f5f3526537aca1117849bb4bba511a0c1b44c273d2db4ce3a425f1577e45a2555140c1b25d23330196f0
|
||||
MISC metadata.xml 400 BLAKE2B b0f7a87e2c2fda05271f731d2c3a6d9a490cf94dd7a742ed60e21aa44964a50bad1218c6ebd9ad16d87a8814f34b70792f7d80bd1e03d80845bd9f1c9292a95c SHA512 50120cec8f5798f6b104c6e1fd05b831f2f280e2f3bab8aa66667a3da1bb351a955b671d16cf4e30b44b0738625424fe4a32bb8a677947d147031964e108dcb0
|
||||
|
@ -0,0 +1,40 @@
|
||||
From 38e61d2cd8a4a4b863801f8a5097b8b51b0c8e93 Mon Sep 17 00:00:00 2001
|
||||
From: Andreas Sturmlechner <asturm@gentoo.org>
|
||||
Date: Tue, 17 Apr 2018 23:49:52 +0200
|
||||
Subject: [PATCH] Fix build with Qt 5.11 (missing QHeaderView)
|
||||
|
||||
Reviewers: #skrooge
|
||||
|
||||
Differential Revision: https://phabricator.kde.org/D12297
|
||||
---
|
||||
plugins/skrooge/skrooge_operation/skgsplittabledelegate.cpp | 1 +
|
||||
skgbasegui/skggraphicsview.cpp | 1 +
|
||||
2 files changed, 2 insertions(+)
|
||||
|
||||
diff --git a/plugins/skrooge/skrooge_operation/skgsplittabledelegate.cpp b/plugins/skrooge/skrooge_operation/skgsplittabledelegate.cpp
|
||||
index aa171913c..930c4ea3e 100644
|
||||
--- a/plugins/skrooge/skrooge_operation/skgsplittabledelegate.cpp
|
||||
+++ b/plugins/skrooge/skrooge_operation/skgsplittabledelegate.cpp
|
||||
@@ -24,6 +24,7 @@
|
||||
#include <ksqueezedtextlabel.h>
|
||||
#include <kformat.h>
|
||||
|
||||
+#include <QHeaderView>
|
||||
#include <qpainter.h>
|
||||
|
||||
#include "skgbasegui_settings.h"
|
||||
diff --git a/skgbasegui/skggraphicsview.cpp b/skgbasegui/skggraphicsview.cpp
|
||||
index 4c4557880..7143ade3b 100644
|
||||
--- a/skgbasegui/skggraphicsview.cpp
|
||||
+++ b/skgbasegui/skggraphicsview.cpp
|
||||
@@ -21,6 +21,7 @@
|
||||
*/
|
||||
#include "skggraphicsview.h"
|
||||
|
||||
+#include <QHeaderView>
|
||||
#include <qmenu.h>
|
||||
#include <qdesktopservices.h>
|
||||
#include <qprinter.h>
|
||||
--
|
||||
2.17.0
|
||||
|
Binary file not shown.
@ -0,0 +1,211 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit flag-o-matic prefix
|
||||
|
||||
if [[ ${PV} == 9999* ]] ; then
|
||||
inherit git-r3 autotools
|
||||
EGIT_REPO_URI="git://git.code.sf.net/p/zsh/code"
|
||||
else
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
SRC_URI="https://www.zsh.org/pub/${P}.tar.gz
|
||||
doc? ( https://www.zsh.org/pub/${P}-doc.tar.xz )"
|
||||
fi
|
||||
|
||||
DESCRIPTION="UNIX Shell similar to the Korn shell"
|
||||
HOMEPAGE="https://www.zsh.org/"
|
||||
|
||||
LICENSE="ZSH gdbm? ( GPL-2 )"
|
||||
SLOT="0"
|
||||
IUSE="caps debug doc examples gdbm maildir pcre static unicode"
|
||||
|
||||
RDEPEND="
|
||||
>=sys-libs/ncurses-5.1:0=
|
||||
static? ( >=sys-libs/ncurses-5.7-r4:0=[static-libs] )
|
||||
caps? ( sys-libs/libcap )
|
||||
pcre? (
|
||||
>=dev-libs/libpcre-3.9
|
||||
static? ( >=dev-libs/libpcre-3.9[static-libs] )
|
||||
)
|
||||
gdbm? ( sys-libs/gdbm:= )
|
||||
!<sys-apps/baselayout-2.4.1
|
||||
"
|
||||
DEPEND="sys-apps/groff
|
||||
${RDEPEND}"
|
||||
PDEPEND="
|
||||
examples? ( app-doc/zsh-lovers )
|
||||
"
|
||||
if [[ ${PV} == 9999* ]] ; then
|
||||
DEPEND+=" app-text/yodl
|
||||
doc? (
|
||||
sys-apps/texinfo
|
||||
app-text/texi2html
|
||||
virtual/latex-base
|
||||
)"
|
||||
fi
|
||||
|
||||
src_prepare() {
|
||||
if [[ ${PV} != 9999* ]]; then
|
||||
# fix zshall problem with soelim
|
||||
ln -s Doc man1 || die
|
||||
mv Doc/zshall.1 Doc/zshall.1.soelim || die
|
||||
soelim Doc/zshall.1.soelim > Doc/zshall.1 || die
|
||||
|
||||
# add openrc specific options for init.d completion
|
||||
eapply "${FILESDIR}"/${PN}-5.3-init.d-gentoo.diff
|
||||
fi
|
||||
|
||||
eapply_user
|
||||
|
||||
if [[ ${PV} == 9999* ]] ; then
|
||||
sed -i "/^VERSION=/s/=.*/=${PV}/" Config/version.mk || die
|
||||
eautoreconf
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf=(
|
||||
--bindir="${EPREFIX}"/bin
|
||||
--libdir="${EPREFIX}"/usr/$(get_libdir)
|
||||
--enable-etcdir="${EPREFIX}"/etc/zsh
|
||||
--enable-runhelpdir="${EPREFIX}"/usr/share/zsh/${PV%_*}/help
|
||||
--enable-fndir="${EPREFIX}"/usr/share/zsh/${PV%_*}/functions
|
||||
--enable-site-fndir="${EPREFIX}"/usr/share/zsh/site-functions
|
||||
--enable-function-subdirs
|
||||
--with-tcsetpgrp
|
||||
$(use_enable maildir maildir-support)
|
||||
$(use_enable pcre)
|
||||
$(use_enable caps cap)
|
||||
$(use_enable unicode multibyte)
|
||||
$(use_enable gdbm )
|
||||
)
|
||||
|
||||
if use static ; then
|
||||
myconf+=( --disable-dynamic )
|
||||
append-ldflags -static
|
||||
fi
|
||||
if use debug ; then
|
||||
myconf+=(
|
||||
--enable-zsh-debug
|
||||
--enable-zsh-mem-debug
|
||||
--enable-zsh-mem-warning
|
||||
--enable-zsh-secure-free
|
||||
--enable-zsh-hash-debug
|
||||
)
|
||||
fi
|
||||
|
||||
if [[ ${CHOST} == *-darwin* ]]; then
|
||||
myconf+=( --enable-libs=-liconv )
|
||||
append-ldflags -Wl,-x
|
||||
fi
|
||||
|
||||
econf "${myconf[@]}"
|
||||
|
||||
if use static ; then
|
||||
# compile all modules statically, see Bug #27392
|
||||
# removed cap and curses because linking failes
|
||||
sed -e "s,link=no,link=static,g" \
|
||||
-e "/^name=zsh\/cap/s,link=static,link=no," \
|
||||
-e "/^name=zsh\/curses/s,link=static,link=no," \
|
||||
-i "${S}"/config.modules || die
|
||||
if ! use gdbm ; then
|
||||
sed -i '/^name=zsh\/db\/gdbm/s,link=static,link=no,' \
|
||||
"${S}"/config.modules || die
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
default
|
||||
|
||||
if [[ ${PV} == 9999* ]] && use doc ; then
|
||||
emake -C Doc everything
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
addpredict /dev/ptmx
|
||||
local i
|
||||
for i in C02cond.ztst V08zpty.ztst X02zlevi.ztst Y01completion.ztst Y02compmatch.ztst Y03arguments.ztst ; do
|
||||
rm "${S}"/Test/${i} || die
|
||||
done
|
||||
emake check
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install $(usex doc "install.info" "")
|
||||
|
||||
insinto /etc/zsh
|
||||
export PREFIX_QUOTE_CHAR='"' PREFIX_EXTRA_REGEX="/EUID/s,0,${EUID},"
|
||||
newins "$(prefixify_ro "${FILESDIR}"/zprofile-3)" zprofile
|
||||
|
||||
keepdir /usr/share/zsh/site-functions
|
||||
insinto /usr/share/zsh/${PV%_*}/functions/Prompts
|
||||
newins "${FILESDIR}"/prompt_gentoo_setup-1 prompt_gentoo_setup
|
||||
|
||||
local i
|
||||
|
||||
# install miscellaneous scripts (bug #54520)
|
||||
sed -e "s:/usr/local/bin/perl:${EPREFIX}/usr/bin/perl:g" \
|
||||
-e "s:/usr/local/bin/zsh:${EPREFIX}/bin/zsh:g" \
|
||||
-i {Util,Misc}/* || die
|
||||
for i in Util Misc ; do
|
||||
insinto /usr/share/zsh/${PV%_*}/${i}
|
||||
doins ${i}/*
|
||||
done
|
||||
|
||||
# install header files (bug #538684)
|
||||
insinto /usr/include/zsh
|
||||
doins config.h Src/*.epro
|
||||
for i in Src/{zsh.mdh,*.h} ; do
|
||||
sed -e 's@\.\./config\.h@config.h@' \
|
||||
-e 's@#\(\s*\)include "\([^"]\+\)"@#\1include <zsh/\2>@' \
|
||||
-i "${i}"
|
||||
doins "${i}"
|
||||
done
|
||||
|
||||
dodoc ChangeLog* META-FAQ NEWS README config.modules
|
||||
|
||||
if use doc ; then
|
||||
pushd "${WORKDIR}/${PN}-${PV%_*}" >/dev/null
|
||||
docinto html
|
||||
dodoc Doc/*.html
|
||||
insinto /usr/share/doc/${PF}
|
||||
doins Doc/zsh.{dvi,pdf}
|
||||
popd >/dev/null
|
||||
fi
|
||||
|
||||
docinto StartupFiles
|
||||
dodoc StartupFiles/z*
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [[ -z ${REPLACING_VERSIONS} ]] ; then
|
||||
echo
|
||||
elog "If you want to enable Portage completions and Gentoo prompt,"
|
||||
elog "emerge app-shells/gentoo-zsh-completions and add"
|
||||
elog " autoload -U compinit promptinit"
|
||||
elog " compinit"
|
||||
elog " promptinit; prompt gentoo"
|
||||
elog "to your ~/.zshrc"
|
||||
echo
|
||||
elog "Also, if you want to enable cache for the completions, add"
|
||||
elog " zstyle ':completion::complete:*' use-cache 1"
|
||||
elog "to your ~/.zshrc"
|
||||
echo
|
||||
elog "Note that a system zprofile startup file is installed. This will override"
|
||||
elog "PATH and possibly other variables that a user may set in ~/.zshenv."
|
||||
elog "Custom PATH settings and similar overridden variables can be moved to ~/.zprofile"
|
||||
elog "or other user startup files that are sourced after the system zprofile."
|
||||
echo
|
||||
elog "If PATH must be set in ~/.zshenv to affect things like non-login ssh shells,"
|
||||
elog "one method is to use a separate path-setting file that is conditionally sourced"
|
||||
elog "in ~/.zshenv and also sourced from ~/.zprofile. For more information, see the"
|
||||
elog "zshenv example in ${EROOT}/usr/share/doc/${PF}/StartupFiles/."
|
||||
echo
|
||||
elog "See https://wiki.gentoo.org/wiki/Zsh/HOWTO for more introduction documentation."
|
||||
echo
|
||||
fi
|
||||
}
|
Binary file not shown.
@ -1,5 +1,4 @@
|
||||
AUX 3.24.2-CVE-2017-1000159.patch 1644 BLAKE2B dfb16a3fd8403d69212d0d20fa97dc06ad2b43d1c71894a0a2b366002b945110a73942446543276058ad5bb8ed867b68b3750eb9eed5bb23d2b130c14239f98e SHA512 a09d1e4a6f22c1b93ab322c1b7201bf4665bbc12b29dd9222db22b7d1b73f9ebc745c7e9b77e2bb54656916360757fd8007b6c38c004983b42f506bbaf4369ff
|
||||
DIST evince-3.24.2.tar.xz 3509216 BLAKE2B 3bcb9e15a6576650d17d6ea1df638c4b16759ddd2353ca47b425c1fec04f90b85ff7f338472e5e18defc01ab066ef241eff40e8f493fa2238814933703636e7b SHA512 77e099ff60188f982a49f5c8287eb2ed8d42402a15a54ccf8367b3814e7e16ba31354363d3f101117153792daa96f653f24bb06193b5e749d0ebfaac7d7c1e0f
|
||||
EBUILD evince-3.24.2-r1.ebuild 2874 BLAKE2B dba10da7fdf7adfc96c52ed4cde40c9793bec028e3c56043f9bd6a1acec62f1b9d3dd900bfee8281c19fbf7eb43bab8a6895ca3bad21fd49669f0ec106459612 SHA512 92527495b1f50a477458599f01c00c652bfd572d179130920c49ecde92878adb3a8bea317645a10ead7f04c963ee46a082629dc05e153aaa0ea47bd91ed92b0e
|
||||
EBUILD evince-3.24.2.ebuild 2817 BLAKE2B de7e0a0d79c45ec1c49c81c3c2a15dc3f26c3e2bcdc8d5d9c50112ed5ae6ef97140f846ce417d493c3249bcab11772cc3b702512f4a2efd0cecc1ef352d8912c SHA512 fc749377496ba1e0a22cd50960ddd15f111db660ccdf7ae06893a437c3b6b128321dd465846f47ca92811160e88e8f9b3fa9cae83da2adba101ee22e166d435b
|
||||
MISC metadata.xml 612 BLAKE2B 2736a02dc43835f7db7b02a3ffcd2c2e25a81971a61a008f67497612ce8f9c78b6641e110a00dacf5f158cf5a87104171c5aea7f82be241ee0b966bb802e78eb SHA512 a9ce7d786d979e14c852b0fe3f722b346dce2f1f52b8f9ab272a1f2291ce88adba78c5d347e3e33a3bb0a58f46d77d20febc92516a4c12bc9f987cccd7aa977c
|
||||
|
@ -1,98 +0,0 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
GNOME2_LA_PUNT="yes"
|
||||
|
||||
inherit gnome2 systemd
|
||||
|
||||
DESCRIPTION="Simple document viewer for GNOME"
|
||||
HOMEPAGE="https://wiki.gnome.org/Apps/Evince"
|
||||
|
||||
LICENSE="GPL-2+ CC-BY-SA-3.0"
|
||||
# subslot = evd3.(suffix of libevdocument3)-evv3.(suffix of libevview3)
|
||||
SLOT="0/evd3.4-evv3.3"
|
||||
IUSE="djvu dvi gstreamer gnome gnome-keyring +introspection nautilus nsplugin +postscript t1lib tiff xps"
|
||||
KEYWORDS="~alpha amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~ppc64 ~sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~x64-solaris"
|
||||
|
||||
# atk used in libview
|
||||
# gdk-pixbuf used all over the place
|
||||
COMMON_DEPEND="
|
||||
dev-libs/atk
|
||||
>=dev-libs/glib-2.36:2[dbus]
|
||||
>=dev-libs/libxml2-2.5:2
|
||||
sys-libs/zlib:=
|
||||
x11-libs/gdk-pixbuf:2
|
||||
>=x11-libs/gtk+-3.16.0:3[introspection?]
|
||||
gnome-base/gsettings-desktop-schemas
|
||||
>=x11-libs/cairo-1.10:=
|
||||
>=app-text/poppler-0.33[cairo]
|
||||
djvu? ( >=app-text/djvu-3.5.22:= )
|
||||
dvi? (
|
||||
virtual/tex-base
|
||||
dev-libs/kpathsea:=
|
||||
t1lib? ( >=media-libs/t1lib-5:= ) )
|
||||
gstreamer? (
|
||||
media-libs/gstreamer:1.0
|
||||
media-libs/gst-plugins-base:1.0
|
||||
media-libs/gst-plugins-good:1.0 )
|
||||
gnome? ( gnome-base/gnome-desktop:3= )
|
||||
gnome-keyring? ( >=app-crypt/libsecret-0.5 )
|
||||
introspection? ( >=dev-libs/gobject-introspection-1:= )
|
||||
nautilus? ( >=gnome-base/nautilus-2.91.4[introspection?] )
|
||||
postscript? ( >=app-text/libspectre-0.2:= )
|
||||
tiff? ( >=media-libs/tiff-3.6:0= )
|
||||
xps? ( >=app-text/libgxps-0.2.1:= )
|
||||
"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
gnome-base/gvfs
|
||||
gnome-base/librsvg
|
||||
|| (
|
||||
>=x11-themes/adwaita-icon-theme-2.17.1
|
||||
>=x11-themes/hicolor-icon-theme-0.10 )
|
||||
"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
app-text/docbook-xml-dtd:4.3
|
||||
app-text/yelp-tools
|
||||
dev-util/gdbus-codegen
|
||||
>=dev-util/gtk-doc-am-1.13
|
||||
>=dev-util/intltool-0.35
|
||||
dev-util/itstool
|
||||
sys-devel/gettext
|
||||
virtual/pkgconfig
|
||||
"
|
||||
# eautoreconf needs:
|
||||
# app-text/yelp-tools
|
||||
|
||||
src_prepare() {
|
||||
gnome2_src_prepare
|
||||
|
||||
# Do not depend on adwaita-icon-theme, bug #326855, #391859
|
||||
# https://bugs.freedesktop.org/show_bug.cgi?id=29942
|
||||
sed -e 's/adwaita-icon-theme >= $ADWAITA_ICON_THEME_REQUIRED//g' \
|
||||
-i configure || die "sed failed"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
gnome2_src_configure \
|
||||
--disable-static \
|
||||
--enable-pdf \
|
||||
--enable-comics \
|
||||
--enable-thumbnailer \
|
||||
--with-platform=gnome \
|
||||
--enable-dbus \
|
||||
$(use_enable djvu) \
|
||||
$(use_enable dvi) \
|
||||
$(use_enable gstreamer multimedia) \
|
||||
$(use_enable gnome libgnome-desktop) \
|
||||
$(use_with gnome-keyring keyring) \
|
||||
$(use_enable introspection) \
|
||||
$(use_enable nautilus) \
|
||||
$(use_enable nsplugin browser-plugin) \
|
||||
$(use_enable postscript ps) \
|
||||
$(use_enable t1lib) \
|
||||
$(use_enable tiff) \
|
||||
$(use_enable xps) \
|
||||
BROWSER_PLUGIN_DIR="${EPREFIX}"/usr/$(get_libdir)/nsbrowser/plugins \
|
||||
--with-systemduserunitdir="$(systemd_get_userunitdir)"
|
||||
}
|
Binary file not shown.
@ -1,4 +1,4 @@
|
||||
DIST youcompleteme-20130910.tar.xz 2340104 BLAKE2B 1d50eae1e53d1acc3e9599ade6c5686602cf28997574dcf128b1ed1f812548c51e0c5ad45547ec12fc44d7391ce539c7cd8785ae823978ce18b870dd794f07a2 SHA512 c1022a27ced00e8ba8e9aa25029a0032805331cf0f80342aaaf9d7d4ec7780a098ffbd315068f19f6c98b00c4b4b43e59c7fa40070057e097ca40f6398b53b6b
|
||||
EBUILD youcompleteme-20130910.ebuild 1874 BLAKE2B da7bff5e1747bcc76e13f616790c2054b142e9a3854525c5fe9369d9926442e92cdc981de69bada42e200bbfd64a221587140fd08977762f9e8998f6479868fb SHA512 01415a479a88c945f7e97d62afa5dfb86154cef797245da312b65f3b355944f211367ffc8f64a02f440698d4d46b8dae996554c27463ca1f8d39e8d4209de7a1
|
||||
EBUILD youcompleteme-99999999.ebuild 2871 BLAKE2B 35f6e8639d798371243410c535724822d96507ff51b602c3d22c0622816659b48b0142bbefc1b0e6881cc3910e2fcb04d263d6097f8e967ea536cd040dc61635 SHA512 35fed301a4eb8530d55436b7fabfeda574a54cfae1ff4842c61bf497bf911ed03400e9e03397e009a084c5ae73bba463841c28d8ff5e88281c0baebdad416359
|
||||
EBUILD youcompleteme-99999999.ebuild 2872 BLAKE2B 0671b442ae0b4b1c8379b89dc384c83196d8f683d370a957f6bdd076f40dcdba9175177fcec9733ada197f4479fe722e112c2e29fe3dee6090b8dc82684858ab SHA512 7eafb0cd1a7d2e8bf51ea6e1465b1f0d51ff422e418ca399a970d8baad2f7651b6cadd2c4655f9c4b65088375feb6ec7f431e2c5410536433e46e993a7203039
|
||||
MISC metadata.xml 372 BLAKE2B b057ef7819a6a3018c88a692b3f94befe2b3055d3d014790bfdf4de690cdd9e589e12b1d802e5487af104b5cb7d87395e7c0a4130dde622a3a48d7c2f3c507a2 SHA512 3afacd989d495928012e5a1b1c2bb6d14209cbcb1e347a24c1c0881c758642cc8457ee7b6202b8d129e3f08dc21492792715fc5452f8ffc33f719da9a447fdac
|
||||
|
Binary file not shown.
@ -1,3 +1,5 @@
|
||||
DIST ebuild-mode-1.42.tar.xz 34936 BLAKE2B dd94d17dc57e2d32b329ab62ec6eec8ada6a4aeddadb8d978736f5dcb4d613759fd860043cab92d12db11614f8b7fa71fc5537576a2af3f5e6c9d56fc2fdcc05 SHA512 119f954eaf009bd0c9f0a75810b94a54d65ed91c6ffef20dd164c7a5ef095410dd0f3642426817f5efa6623d4f3e120ed3b27076222b02a90e75a83bb80b8703
|
||||
DIST ebuild-mode-1.43.tar.xz 34688 BLAKE2B 577900e2fa7ccb2362ec7f9046affb58e92bdfde44f2ea48274ba61d65f35fa6a1852bda6d9c64bd3f63aba99df244b4cb3378de079259508b149cdacf7caf28 SHA512 91f9a06de6feeeadb27d765a6ca6f2fa17e01938a6c953efe3586646f1bf48da87fe269ee9b07b2e16199d3ba4a76f42b8be9143218b808fac2971fc6f64f36d
|
||||
EBUILD ebuild-mode-1.42.ebuild 700 BLAKE2B c7232955da39b7675addbf75055b2fa6c7ff98e209a574816f1fc6d6af3e49d4b4975e781d39eec1c64f46c57a326eab35183458498c5958a2505c350334b9c4 SHA512 279fe95a7672377e24e592db0bcc6678984cdb310da298b60168bd63a1881ff1730a51ed5e43d35a2c32a0ebef3401764622e6b81750f13adde24b7942aef354
|
||||
EBUILD ebuild-mode-1.43.ebuild 703 BLAKE2B 4fb8321a4f2708171c344e79fc313c45ddf1cf258d3bbdcff51b725537419560b2c02a203b73315b4fa80c47ebe468af93fbfef557e1e09347cc676b67db1298 SHA512 f93821aa3a2d511cbf90400ae2f9688f03ac712b08f22a7aef5dbfac475c5f1d11d63b8fd48b767086d826fd4baba20591dc597d7cc5e05d2a3feb12583651b8
|
||||
MISC metadata.xml 417 BLAKE2B d442b7726c175c95922475904d9dbb6260ecf53140bf041121fed80c3183142bdf7bcc88f7f87eeeab0dd91a81eacf507e2c4ea8cc8f86dbf6b60c52fcec868d SHA512 459969f9a78209b1058fb5fed220192bddd532c9dabc8e5d340c040bef0e454f08fe3896b33bcddaa011fd4639351f6f6a33ba6669895e99e001810324c101ad
|
||||
|
@ -0,0 +1,25 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit xemacs-elisp
|
||||
|
||||
DESCRIPTION="Emacs modes for editing ebuilds and other Gentoo specific files"
|
||||
HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Emacs"
|
||||
SRC_URI="https://dev.gentoo.org/~ulm/emacs/${P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~hppa ~x86"
|
||||
|
||||
RDEPEND=">=app-editors/xemacs-21.4.20-r5
|
||||
app-xemacs/sh-script"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
src_compile() {
|
||||
${XEMACS_BATCH_CLEAN} -eval "(add-to-list 'load-path \".\")" \
|
||||
-f batch-byte-compile ebuild-mode.el gentoo-newsitem-mode.el || die
|
||||
xemacs-elisp-make-autoload-file \
|
||||
ebuild-mode.el gentoo-newsitem-mode.el || die
|
||||
}
|
Binary file not shown.
@ -0,0 +1,112 @@
|
||||
Do not use -isystem to add headers, as they break GCC 6's header wrapping.
|
||||
See also: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70129
|
||||
|
||||
--- a/client/CMakeLists.txt
|
||||
+++ b/client/CMakeLists.txt
|
||||
@@ -52,7 +52,7 @@ IF(NOT WITHOUT_SERVER)
|
||||
upgrade/program.cc
|
||||
)
|
||||
ADD_COMPILE_FLAGS(
|
||||
- upgrade/program.cc COMPILE_FLAGS -I${BOOST_PATCHES_DIR} -isystem ${BOOST_INCLUDE_DIR}
|
||||
+ upgrade/program.cc COMPILE_FLAGS -I${BOOST_PATCHES_DIR} -I${BOOST_INCLUDE_DIR}
|
||||
)
|
||||
TARGET_LINK_LIBRARIES(mysql_upgrade mysqlclient client_base mysqlcheck_core)
|
||||
ADD_DEPENDENCIES(mysql_upgrade GenFixPrivs GenSysSchema)
|
||||
--- a/client/base/CMakeLists.txt
|
||||
+++ b/client/base/CMakeLists.txt
|
||||
@@ -49,7 +49,7 @@ ADD_COMPILE_FLAGS(
|
||||
mutex.cc
|
||||
mysql_query_runner.cc
|
||||
show_variable_query_extractor.cc
|
||||
- COMPILE_FLAGS -I${BOOST_PATCHES_DIR} -isystem ${BOOST_INCLUDE_DIR}
|
||||
+ COMPILE_FLAGS -I${BOOST_PATCHES_DIR} -I${BOOST_INCLUDE_DIR}
|
||||
)
|
||||
|
||||
TARGET_LINK_LIBRARIES(client_base mysqlclient)
|
||||
--- a/client/dump/CMakeLists.txt
|
||||
+++ b/client/dump/CMakeLists.txt
|
||||
@@ -50,7 +50,7 @@ IF(USING_LOCAL_BOOST)
|
||||
|
||||
ADD_COMPILE_FLAGS(
|
||||
${BOOST_LIB_SOURCES}
|
||||
- COMPILE_FLAGS -I${BOOST_PATCHES_DIR} -isystem ${BOOST_INCLUDE_DIR}
|
||||
+ COMPILE_FLAGS -I${BOOST_PATCHES_DIR} -I${BOOST_INCLUDE_DIR}
|
||||
)
|
||||
|
||||
IF(HAVE_clock_gettime_IN_rt)
|
||||
@@ -145,7 +145,7 @@ TARGET_LINK_LIBRARIES(mysqlpump_lib
|
||||
|
||||
ADD_COMPILE_FLAGS(
|
||||
${MYSQLPUMP_LIB_SOURCES}
|
||||
- COMPILE_FLAGS -I${BOOST_PATCHES_DIR} -isystem ${BOOST_INCLUDE_DIR}
|
||||
+ COMPILE_FLAGS -I${BOOST_PATCHES_DIR} -I${BOOST_INCLUDE_DIR}
|
||||
)
|
||||
|
||||
# Files that use Boost sources that trigger compilation warnings
|
||||
@@ -179,7 +179,7 @@ ADD_COMPILE_FLAGS(
|
||||
)
|
||||
MYSQL_ADD_EXECUTABLE(mysqlpump program.cc)
|
||||
ADD_COMPILE_FLAGS(
|
||||
- program.cc COMPILE_FLAGS -I${BOOST_PATCHES_DIR} -isystem ${BOOST_INCLUDE_DIR}
|
||||
+ program.cc COMPILE_FLAGS -I${BOOST_PATCHES_DIR} -I${BOOST_INCLUDE_DIR}
|
||||
)
|
||||
|
||||
TARGET_LINK_LIBRARIES(mysqlpump mysqlpump_lib ${LOCAL_BOOST_LIB})
|
||||
--- a/libmysqld/CMakeLists.txt
|
||||
+++ b/libmysqld/CMakeLists.txt
|
||||
@@ -123,7 +123,7 @@ ADD_COMPILE_FLAGS(
|
||||
../sql/item_geofunc_setops.cc
|
||||
../sql/item_json_func.cc
|
||||
../sql/spatial.cc
|
||||
- COMPILE_FLAGS -I${BOOST_PATCHES_DIR} -isystem ${BOOST_INCLUDE_DIR}
|
||||
+ COMPILE_FLAGS -I${BOOST_PATCHES_DIR} -I${BOOST_INCLUDE_DIR}
|
||||
)
|
||||
|
||||
ADD_COMPILE_FLAGS(
|
||||
--- a/sql/CMakeLists.txt
|
||||
+++ b/sql/CMakeLists.txt
|
||||
@@ -311,7 +311,7 @@ ADD_COMPILE_FLAGS(
|
||||
item_geofunc_setops.cc
|
||||
item_json_func.cc
|
||||
spatial.cc
|
||||
- COMPILE_FLAGS -I${BOOST_PATCHES_DIR} -isystem ${BOOST_INCLUDE_DIR}
|
||||
+ COMPILE_FLAGS -I${BOOST_PATCHES_DIR} -I${BOOST_INCLUDE_DIR}
|
||||
)
|
||||
|
||||
ADD_COMPILE_FLAGS(
|
||||
--- a/storage/innobase/xtrabackup/src/CMakeLists.txt
|
||||
+++ b/storage/innobase/xtrabackup/src/CMakeLists.txt
|
||||
@@ -79,7 +79,7 @@ SET(keyring_source_files
|
||||
|
||||
ADD_COMPILE_FLAGS(
|
||||
${keyring_source_files}
|
||||
- COMPILE_FLAGS -I${BOOST_PATCHES_DIR} -isystem ${BOOST_INCLUDE_DIR}
|
||||
+ COMPILE_FLAGS -I${BOOST_PATCHES_DIR} -I${BOOST_INCLUDE_DIR}
|
||||
-DEMBEDDED_LIBRARY
|
||||
)
|
||||
|
||||
--- a/unittest/gunit/CMakeLists.txt
|
||||
+++ b/unittest/gunit/CMakeLists.txt
|
||||
@@ -385,7 +385,7 @@ IF (MERGE_UNITTESTS)
|
||||
ENDIF()
|
||||
ADD_COMPILE_FLAGS(
|
||||
${MERGE_SMALL_TESTS}
|
||||
- COMPILE_FLAGS -I${BOOST_PATCHES_DIR} -isystem ${BOOST_INCLUDE_DIR}
|
||||
+ COMPILE_FLAGS -I${BOOST_PATCHES_DIR} -I${BOOST_INCLUDE_DIR}
|
||||
)
|
||||
# Fixes "C1128: number of sections exceeded object file format limit" in MSVC
|
||||
IF(WIN32)
|
||||
@@ -467,11 +467,11 @@ ENDIF(MERGE_UNITTESTS)
|
||||
ENDIF()
|
||||
ADD_COMPILE_FLAGS(
|
||||
bounded_queue-t.cc
|
||||
- COMPILE_FLAGS -I${BOOST_PATCHES_DIR} -isystem ${BOOST_INCLUDE_DIR}
|
||||
+ COMPILE_FLAGS -I${BOOST_PATCHES_DIR} -I${BOOST_INCLUDE_DIR}
|
||||
)
|
||||
ADD_COMPILE_FLAGS(
|
||||
pump_object_filter-t.cc
|
||||
- COMPILE_FLAGS -I${BOOST_PATCHES_DIR} -isystem ${BOOST_INCLUDE_DIR}
|
||||
+ COMPILE_FLAGS -I${BOOST_PATCHES_DIR} -I${BOOST_INCLUDE_DIR}
|
||||
)
|
||||
|
||||
FOREACH(test ${SERVER_TESTS})
|
Binary file not shown.
@ -1,4 +1,5 @@
|
||||
AUX openscenegraph-qt-3.5.5-cmake.patch 3190 BLAKE2B c8a52a2d0b626e7a12b3f683380d6d3f20973330220f53be288413616d0ccf063cd40b864b1fb77ff2762313d24624533380d20a37538b92664647fc2f42c7c0 SHA512 b5350082a9755f73274103b1bc6d5b08954cd6b23e22d15e26e617bd55016ab3df29c0712af775e4e357213456fd8daa4d443f28b06979e76e32ce0df60393a1
|
||||
AUX openscenegraph-qt-3.5.5-qt-5.11b3.patch 1115 BLAKE2B 0a90b65caf3209d51ec699490dd6b1863fc965c54cb5fac5dcfa2efc4997225563d44842c9fffa07b6b2c75d62fe9577f56fcb067966bbf1cd9031c8677f41be SHA512 9223a53ae700fc25aaa02a0feef5f69313c94d05415c0372d55f56a9996ab3edb6712ea19b07bc507d7b1c8db21e4c9dda177eeaad094d94fc04133cdeb7ac10
|
||||
DIST osgQt-3.5.5.tar.gz 1003973 BLAKE2B 4646fc0d01a5fc3023acb4be9d8b9e9982faf3849b9c7dbe775ff06642b9540559ef67189f31ebcf6a2fe49d24066d744ce9cfd409e76c9143ac16867648a620 SHA512 50faee9a1539c1e29bb1c244fa32194b22cbe43f43980b7c270aa45cd225ac5e3fe9445d63b1efb767c8a2ce8e5ffa417783d1a446ed965b23a06100a241d498
|
||||
EBUILD openscenegraph-qt-3.5.5.ebuild 927 BLAKE2B 7390ab0635110dc1d24afb2b82a50356237b4fb8f079113f11ebf6d8e73402d03137e9ed8bcef94e699c1f194ec2118072449c6c2f30e10b04fe9ce7eacfb83d SHA512 668221d703c1c2748fc00758c60f0a3adf77153d8b4924e8aafc48b0fc5b2b7adb31a06ccd487d01c3804cf65bea232bbed3f304015dbec1cef0418dbc086a02
|
||||
EBUILD openscenegraph-qt-3.5.5.ebuild 970 BLAKE2B ad265f5b646fd029a3a40038fdf39262a93a3e7da58b44a09bc2a183327cd2f4e71e2c201dcb12891c141b25197616a4ff6b1f870acdc0673b76e144123ace04 SHA512 88d9a8a78277e6335dc8a064fb6f05e7f63c687cd1436c68bba56c03e9005bd42cfecdb418d87d9c82b35440d4cfcaec84c67178c02afeb8ce29b5937c3d411a
|
||||
MISC metadata.xml 997 BLAKE2B fbb3c9765491c15ebd269fde3aa01ef177d038f1a0f1d1f189adfb457aab8dfd69774c074235a7f95d6d02c53dfa6ba5872d50cdcbafc03141a8b5ba44d823dd SHA512 3b5f9b2f408f6f68a28f3427d463d0036d1b6286df549d189ed4d88ebe0a607a3d570f98fa11035f440e684f55f6d7d3f1383b281c37a1be3f611cfb8d530169
|
||||
|
@ -0,0 +1,36 @@
|
||||
From 91ba61ff69dc02a412eebae6222793e803b13ec2 Mon Sep 17 00:00:00 2001
|
||||
From: Andreas Sturmlechner <asturm@gentoo.org>
|
||||
Date: Tue, 17 Apr 2018 13:47:27 +0200
|
||||
Subject: [PATCH] Fix build with Qt 5.11_beta3 (dropping qt5_use_modules)
|
||||
|
||||
---
|
||||
CMakeLists.txt | 1 +
|
||||
src/osgQt/CMakeLists.txt | 2 +-
|
||||
2 files changed, 2 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index aaea748..4345ea2 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -487,6 +487,7 @@ ENDIF()
|
||||
|
||||
#If we have found Qt5, let's try to top off by getting the webkit as well
|
||||
IF ( Qt5Widgets_FOUND )
|
||||
+ FIND_PACKAGE(Qt5OpenGL REQUIRED)
|
||||
FIND_PACKAGE(Qt5WebKitWidgets QUIET)
|
||||
|
||||
IF(COMMAND cmake_policy)
|
||||
diff --git a/src/osgQt/CMakeLists.txt b/src/osgQt/CMakeLists.txt
|
||||
index 60f3250..e4523e0 100644
|
||||
--- a/src/osgQt/CMakeLists.txt
|
||||
+++ b/src/osgQt/CMakeLists.txt
|
||||
@@ -85,5 +85,5 @@ ENDIF( QT4_FOUND )
|
||||
SETUP_LIBRARY(${LIB_NAME})
|
||||
|
||||
IF ( Qt5Widgets_FOUND )
|
||||
- qt5_use_modules( ${LIB_NAME} Widgets OpenGL )
|
||||
+ TARGET_LINK_LIBRARIES( ${LIB_NAME} Qt5::Widgets Qt5::OpenGL )
|
||||
ENDIF ( Qt5Widgets_FOUND )
|
||||
--
|
||||
2.17.0
|
||||
|
Binary file not shown.
@ -1,228 +0,0 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
export CBUILD=${CBUILD:-${CHOST}}
|
||||
export CTARGET=${CTARGET:-${CHOST}}
|
||||
|
||||
MY_PV=${PV/_/}
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
BOOTSTRAP_DIST="https://dev.gentoo.org/~williamh/dist"
|
||||
BOOTSTRAP_VERSION="bootstrap-1.8"
|
||||
BOOTSTRAP_URI="
|
||||
amd64? ( ${BOOTSTRAP_DIST}/go-linux-amd64-${BOOTSTRAP_VERSION}.tbz )
|
||||
arm? ( ${BOOTSTRAP_DIST}/go-linux-arm-${BOOTSTRAP_VERSION}.tbz )
|
||||
arm64? ( ${BOOTSTRAP_DIST}/go-linux-arm64-${BOOTSTRAP_VERSION}.tbz )
|
||||
ppc64? (
|
||||
${BOOTSTRAP_DIST}/go-linux-ppc64-${BOOTSTRAP_VERSION}.tbz
|
||||
${BOOTSTRAP_DIST}/go-linux-ppc64le-${BOOTSTRAP_VERSION}.tbz
|
||||
)
|
||||
s390? ( ${BOOTSTRAP_DIST}/go-linux-s390x-${BOOTSTRAP_VERSION}.tbz )
|
||||
x86? ( ${BOOTSTRAP_DIST}/go-linux-386-${BOOTSTRAP_VERSION}.tbz )
|
||||
amd64-fbsd? ( ${BOOTSTRAP_DIST}/go-freebsd-amd64-${BOOTSTRAP_VERSION}.tbz )
|
||||
x86-fbsd? ( ${BOOTSTRAP_DIST}/go-freebsd-386-${BOOTSTRAP_VERSION}.tbz )
|
||||
x64-macos? ( ${BOOTSTRAP_DIST}/go-darwin-amd64-${BOOTSTRAP_VERSION}.tbz )
|
||||
x64-solaris? ( ${BOOTSTRAP_DIST}/go-solaris-amd64-${BOOTSTRAP_VERSION}.tbz )
|
||||
"
|
||||
|
||||
case ${PV} in
|
||||
*9999*)
|
||||
EGIT_REPO_URI="https://github.com/golang/go.git"
|
||||
inherit git-r3
|
||||
;;
|
||||
*)
|
||||
SRC_URI="https://storage.googleapis.com/golang/go${MY_PV}.src.tar.gz "
|
||||
S="${WORKDIR}"/go
|
||||
case ${PV} in
|
||||
*_beta*|*_rc*) ;;
|
||||
*)
|
||||
KEYWORDS="-* amd64 ~arm ~arm64 ~ppc64 x86 ~amd64-fbsd ~x86-fbsd ~x64-macos ~x64-solaris"
|
||||
# The upstream tests fail under portage but pass if the build is
|
||||
# run according to their documentation [1].
|
||||
# I am restricting the tests on released versions until this is
|
||||
# solved.
|
||||
# [1] https://golang.org/issues/18442
|
||||
RESTRICT="test"
|
||||
;;
|
||||
esac
|
||||
esac
|
||||
SRC_URI+="!gccgo? ( ${BOOTSTRAP_URI} )"
|
||||
|
||||
DESCRIPTION="A concurrent garbage collected and typesafe programming language"
|
||||
HOMEPAGE="https://golang.org"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0/${PV}"
|
||||
IUSE="gccgo"
|
||||
|
||||
DEPEND="gccgo? ( >=sys-devel/gcc-5[go] )"
|
||||
RDEPEND="!<dev-go/go-tools-0_pre20150902"
|
||||
|
||||
# These test data objects have writable/executable stacks.
|
||||
QA_EXECSTACK="
|
||||
usr/lib/go/src/debug/elf/testdata/*.obj
|
||||
usr/lib/go/src/go/internal/gccgoimporter/testdata/escapeinfo.gox
|
||||
usr/lib/go/src/go/internal/gccgoimporter/testdata/unicode.gox
|
||||
usr/lib/go/src/go/internal/gccgoimporter/testdata/time.gox
|
||||
"
|
||||
|
||||
# Do not complain about CFLAGS, etc, since Go doesn't use them.
|
||||
QA_FLAGS_IGNORED='.*'
|
||||
|
||||
REQUIRES_EXCLUDE="/usr/lib/go/src/debug/elf/testdata/*"
|
||||
|
||||
# The tools in /usr/lib/go should not cause the multilib-strict check to fail.
|
||||
QA_MULTILIB_PATHS="usr/lib/go/pkg/tool/.*/.*"
|
||||
|
||||
# Do not strip this package. Stripping is unsupported upstream and may
|
||||
# fail.
|
||||
RESTRICT+=" strip"
|
||||
|
||||
DOCS=(
|
||||
AUTHORS
|
||||
CONTRIBUTING.md
|
||||
CONTRIBUTORS
|
||||
PATENTS
|
||||
README.md
|
||||
)
|
||||
|
||||
go_arch()
|
||||
{
|
||||
# By chance most portage arch names match Go
|
||||
local portage_arch=$(tc-arch $@)
|
||||
case "${portage_arch}" in
|
||||
x86) echo 386;;
|
||||
x64-*) echo amd64;;
|
||||
ppc64) [[ $(tc-endian $@) = big ]] && echo ppc64 || echo ppc64le ;;
|
||||
s390) echo s390x ;;
|
||||
*) echo "${portage_arch}";;
|
||||
esac
|
||||
}
|
||||
|
||||
go_arm()
|
||||
{
|
||||
case "${1:-${CHOST}}" in
|
||||
armv5*) echo 5;;
|
||||
armv6*) echo 6;;
|
||||
armv7*) echo 7;;
|
||||
*)
|
||||
die "unknown GOARM for ${1:-${CHOST}}"
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
go_os()
|
||||
{
|
||||
case "${1:-${CHOST}}" in
|
||||
*-linux*) echo linux;;
|
||||
*-darwin*) echo darwin;;
|
||||
*-freebsd*) echo freebsd;;
|
||||
*-netbsd*) echo netbsd;;
|
||||
*-openbsd*) echo openbsd;;
|
||||
*-solaris*) echo solaris;;
|
||||
*-cygwin*|*-interix*|*-winnt*)
|
||||
echo windows
|
||||
;;
|
||||
*)
|
||||
die "unknown GOOS for ${1:-${CHOST}}"
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
go_tuple()
|
||||
{
|
||||
echo "$(go_os $@)_$(go_arch $@)"
|
||||
}
|
||||
|
||||
go_cross_compile()
|
||||
{
|
||||
[[ $(go_tuple ${CBUILD}) != $(go_tuple) ]]
|
||||
}
|
||||
|
||||
pkg_pretend()
|
||||
{
|
||||
# make.bash does not understand cross-compiling a cross-compiler
|
||||
if [[ $(go_tuple) != $(go_tuple ${CTARGET}) ]]; then
|
||||
die "CHOST CTARGET pair unsupported: CHOST=${CHOST} CTARGET=${CTARGET}"
|
||||
fi
|
||||
}
|
||||
|
||||
src_unpack()
|
||||
{
|
||||
if [[ ${PV} = 9999 ]]; then
|
||||
git-r3_src_unpack
|
||||
fi
|
||||
default
|
||||
}
|
||||
|
||||
src_compile()
|
||||
{
|
||||
export GOROOT_BOOTSTRAP="${WORKDIR}"/go-$(go_os)-$(go_arch)-bootstrap
|
||||
if use gccgo; then
|
||||
mkdir -p "${GOROOT_BOOTSTRAP}/bin" || die
|
||||
local go_binary=$(gcc-config --get-bin-path)/go-$(gcc-major-version)
|
||||
[[ -x ${go_binary} ]] || go_binary=$(
|
||||
find "${EPREFIX}"/usr/${CHOST}/gcc-bin/*/go-$(gcc-major-version) |
|
||||
sort -V | tail -n1)
|
||||
[[ -x ${go_binary} ]] ||
|
||||
die "go-$(gcc-major-version): command not found"
|
||||
ln -s "${go_binary}" "${GOROOT_BOOTSTRAP}/bin/go" || die
|
||||
fi
|
||||
export GOROOT_FINAL="${EPREFIX}"/usr/lib/go
|
||||
export GOROOT="$(pwd)"
|
||||
export GOBIN="${GOROOT}/bin"
|
||||
|
||||
# Go's build script does not use BUILD/HOST/TARGET consistently. :(
|
||||
export GOHOSTARCH=$(go_arch ${CBUILD})
|
||||
export GOHOSTOS=$(go_os ${CBUILD})
|
||||
export CC=$(tc-getBUILD_CC)
|
||||
|
||||
export GOARCH=$(go_arch)
|
||||
export GOOS=$(go_os)
|
||||
export CC_FOR_TARGET=$(tc-getCC)
|
||||
export CXX_FOR_TARGET=$(tc-getCXX)
|
||||
if [[ ${ARCH} == arm ]]; then
|
||||
export GOARM=$(go_arm)
|
||||
fi
|
||||
einfo "GOROOT_BOOTSTRAP is ${GOROOT_BOOTSTRAP}"
|
||||
|
||||
cd src
|
||||
./make.bash || die "build failed"
|
||||
}
|
||||
|
||||
src_test()
|
||||
{
|
||||
go_cross_compile && return 0
|
||||
|
||||
cd src
|
||||
PATH="${GOBIN}:${PATH}" \
|
||||
./run.bash -no-rebuild || die "tests failed"
|
||||
}
|
||||
|
||||
src_install()
|
||||
{
|
||||
local bin_path f x
|
||||
|
||||
dodir /usr/lib/go
|
||||
|
||||
# There is a known issue which requires the source tree to be installed [1].
|
||||
# Once this is fixed, we can consider using the doc use flag to control
|
||||
# installing the doc and src directories.
|
||||
# [1] https://golang.org/issue/2775
|
||||
#
|
||||
# deliberately use cp to retain permissions
|
||||
cp -R api bin doc lib pkg misc src test "${ED}"/usr/lib/go
|
||||
if go_cross_compile; then
|
||||
bin_path="bin/$(go_tuple)"
|
||||
else
|
||||
bin_path=bin
|
||||
fi
|
||||
for x in ${bin_path}/*; do
|
||||
f=${x##*/}
|
||||
dosym ../lib/go/${bin_path}/${f} /usr/bin/${f}
|
||||
done
|
||||
einstalldocs
|
||||
}
|
@ -1,227 +0,0 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
export CBUILD=${CBUILD:-${CHOST}}
|
||||
export CTARGET=${CTARGET:-${CHOST}}
|
||||
|
||||
MY_PV=${PV/_/}
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
BOOTSTRAP_DIST="https://dev.gentoo.org/~williamh/dist"
|
||||
BOOTSTRAP_VERSION="bootstrap-1.8"
|
||||
BOOTSTRAP_URI="
|
||||
amd64? ( ${BOOTSTRAP_DIST}/go-linux-amd64-${BOOTSTRAP_VERSION}.tbz )
|
||||
arm? ( ${BOOTSTRAP_DIST}/go-linux-arm-${BOOTSTRAP_VERSION}.tbz )
|
||||
arm64? ( ${BOOTSTRAP_DIST}/go-linux-arm64-${BOOTSTRAP_VERSION}.tbz )
|
||||
ppc64? (
|
||||
${BOOTSTRAP_DIST}/go-linux-ppc64-${BOOTSTRAP_VERSION}.tbz
|
||||
${BOOTSTRAP_DIST}/go-linux-ppc64le-${BOOTSTRAP_VERSION}.tbz
|
||||
)
|
||||
s390? ( ${BOOTSTRAP_DIST}/go-linux-s390x-${BOOTSTRAP_VERSION}.tbz )
|
||||
x86? ( ${BOOTSTRAP_DIST}/go-linux-386-${BOOTSTRAP_VERSION}.tbz )
|
||||
amd64-fbsd? ( ${BOOTSTRAP_DIST}/go-freebsd-amd64-${BOOTSTRAP_VERSION}.tbz )
|
||||
x86-fbsd? ( ${BOOTSTRAP_DIST}/go-freebsd-386-${BOOTSTRAP_VERSION}.tbz )
|
||||
x64-macos? ( ${BOOTSTRAP_DIST}/go-darwin-amd64-${BOOTSTRAP_VERSION}.tbz )
|
||||
x64-solaris? ( ${BOOTSTRAP_DIST}/go-solaris-amd64-${BOOTSTRAP_VERSION}.tbz )
|
||||
"
|
||||
|
||||
case ${PV} in
|
||||
*9999*)
|
||||
EGIT_REPO_URI="https://github.com/golang/go.git"
|
||||
inherit git-r3
|
||||
;;
|
||||
*)
|
||||
SRC_URI="https://storage.googleapis.com/golang/go${MY_PV}.src.tar.gz "
|
||||
S="${WORKDIR}"/go
|
||||
case ${PV} in
|
||||
*_beta*|*_rc*) ;;
|
||||
*)
|
||||
KEYWORDS="-* amd64 arm ~arm64 ~ppc64 x86 ~amd64-fbsd ~x86-fbsd ~x64-macos ~x64-solaris"
|
||||
# The upstream tests fail under portage but pass if the build is
|
||||
# run according to their documentation [1].
|
||||
# I am restricting the tests on released versions until this is
|
||||
# solved.
|
||||
# [1] https://golang.org/issues/18442
|
||||
RESTRICT="test"
|
||||
;;
|
||||
esac
|
||||
esac
|
||||
SRC_URI+="!gccgo? ( ${BOOTSTRAP_URI} )"
|
||||
|
||||
DESCRIPTION="A concurrent garbage collected and typesafe programming language"
|
||||
HOMEPAGE="https://golang.org"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0/${PV}"
|
||||
IUSE="gccgo"
|
||||
|
||||
DEPEND="gccgo? ( >=sys-devel/gcc-5[go] )"
|
||||
RDEPEND="!<dev-go/go-tools-0_pre20150902"
|
||||
|
||||
# These test data objects have writable/executable stacks.
|
||||
QA_EXECSTACK="
|
||||
usr/lib/go/src/debug/elf/testdata/*.obj
|
||||
usr/lib/go/src/go/internal/gccgoimporter/testdata/unicode.gox
|
||||
usr/lib/go/src/go/internal/gccgoimporter/testdata/time.gox
|
||||
"
|
||||
|
||||
# Do not complain about CFLAGS, etc, since Go doesn't use them.
|
||||
QA_FLAGS_IGNORED='.*'
|
||||
|
||||
REQUIRES_EXCLUDE="/usr/lib/go/src/debug/elf/testdata/*"
|
||||
|
||||
# The tools in /usr/lib/go should not cause the multilib-strict check to fail.
|
||||
QA_MULTILIB_PATHS="usr/lib/go/pkg/tool/.*/.*"
|
||||
|
||||
# Do not strip this package. Stripping is unsupported upstream and may
|
||||
# fail.
|
||||
RESTRICT+=" strip"
|
||||
|
||||
DOCS=(
|
||||
AUTHORS
|
||||
CONTRIBUTING.md
|
||||
CONTRIBUTORS
|
||||
PATENTS
|
||||
README.md
|
||||
)
|
||||
|
||||
go_arch()
|
||||
{
|
||||
# By chance most portage arch names match Go
|
||||
local portage_arch=$(tc-arch $@)
|
||||
case "${portage_arch}" in
|
||||
x86) echo 386;;
|
||||
x64-*) echo amd64;;
|
||||
ppc64) [[ $(tc-endian $@) = big ]] && echo ppc64 || echo ppc64le ;;
|
||||
s390) echo s390x ;;
|
||||
*) echo "${portage_arch}";;
|
||||
esac
|
||||
}
|
||||
|
||||
go_arm()
|
||||
{
|
||||
case "${1:-${CHOST}}" in
|
||||
armv5*) echo 5;;
|
||||
armv6*) echo 6;;
|
||||
armv7*) echo 7;;
|
||||
*)
|
||||
die "unknown GOARM for ${1:-${CHOST}}"
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
go_os()
|
||||
{
|
||||
case "${1:-${CHOST}}" in
|
||||
*-linux*) echo linux;;
|
||||
*-darwin*) echo darwin;;
|
||||
*-freebsd*) echo freebsd;;
|
||||
*-netbsd*) echo netbsd;;
|
||||
*-openbsd*) echo openbsd;;
|
||||
*-solaris*) echo solaris;;
|
||||
*-cygwin*|*-interix*|*-winnt*)
|
||||
echo windows
|
||||
;;
|
||||
*)
|
||||
die "unknown GOOS for ${1:-${CHOST}}"
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
go_tuple()
|
||||
{
|
||||
echo "$(go_os $@)_$(go_arch $@)"
|
||||
}
|
||||
|
||||
go_cross_compile()
|
||||
{
|
||||
[[ $(go_tuple ${CBUILD}) != $(go_tuple) ]]
|
||||
}
|
||||
|
||||
pkg_pretend()
|
||||
{
|
||||
# make.bash does not understand cross-compiling a cross-compiler
|
||||
if [[ $(go_tuple) != $(go_tuple ${CTARGET}) ]]; then
|
||||
die "CHOST CTARGET pair unsupported: CHOST=${CHOST} CTARGET=${CTARGET}"
|
||||
fi
|
||||
}
|
||||
|
||||
src_unpack()
|
||||
{
|
||||
if [[ ${PV} = 9999 ]]; then
|
||||
git-r3_src_unpack
|
||||
fi
|
||||
default
|
||||
}
|
||||
|
||||
src_compile()
|
||||
{
|
||||
export GOROOT_BOOTSTRAP="${WORKDIR}"/go-$(go_os)-$(go_arch)-bootstrap
|
||||
if use gccgo; then
|
||||
mkdir -p "${GOROOT_BOOTSTRAP}/bin" || die
|
||||
local go_binary=$(gcc-config --get-bin-path)/go-$(gcc-major-version)
|
||||
[[ -x ${go_binary} ]] || go_binary=$(
|
||||
find "${EPREFIX}"/usr/${CHOST}/gcc-bin/*/go-$(gcc-major-version) |
|
||||
sort -V | tail -n1)
|
||||
[[ -x ${go_binary} ]] ||
|
||||
die "go-$(gcc-major-version): command not found"
|
||||
ln -s "${go_binary}" "${GOROOT_BOOTSTRAP}/bin/go" || die
|
||||
fi
|
||||
export GOROOT_FINAL="${EPREFIX}"/usr/lib/go
|
||||
export GOROOT="$(pwd)"
|
||||
export GOBIN="${GOROOT}/bin"
|
||||
|
||||
# Go's build script does not use BUILD/HOST/TARGET consistently. :(
|
||||
export GOHOSTARCH=$(go_arch ${CBUILD})
|
||||
export GOHOSTOS=$(go_os ${CBUILD})
|
||||
export CC=$(tc-getBUILD_CC)
|
||||
|
||||
export GOARCH=$(go_arch)
|
||||
export GOOS=$(go_os)
|
||||
export CC_FOR_TARGET=$(tc-getCC)
|
||||
export CXX_FOR_TARGET=$(tc-getCXX)
|
||||
if [[ ${ARCH} == arm ]]; then
|
||||
export GOARM=$(go_arm)
|
||||
fi
|
||||
einfo "GOROOT_BOOTSTRAP is ${GOROOT_BOOTSTRAP}"
|
||||
|
||||
cd src
|
||||
./make.bash || die "build failed"
|
||||
}
|
||||
|
||||
src_test()
|
||||
{
|
||||
go_cross_compile && return 0
|
||||
|
||||
cd src
|
||||
PATH="${GOBIN}:${PATH}" \
|
||||
./run.bash -no-rebuild || die "tests failed"
|
||||
}
|
||||
|
||||
src_install()
|
||||
{
|
||||
local bin_path f x
|
||||
|
||||
dodir /usr/lib/go
|
||||
|
||||
# There is a known issue which requires the source tree to be installed [1].
|
||||
# Once this is fixed, we can consider using the doc use flag to control
|
||||
# installing the doc and src directories.
|
||||
# [1] https://golang.org/issue/2775
|
||||
#
|
||||
# deliberately use cp to retain permissions
|
||||
cp -R api bin doc lib pkg misc src test "${ED}"/usr/lib/go
|
||||
if go_cross_compile; then
|
||||
bin_path="bin/$(go_tuple)"
|
||||
else
|
||||
bin_path=bin
|
||||
fi
|
||||
for x in ${bin_path}/*; do
|
||||
f=${x##*/}
|
||||
dosym ../lib/go/${bin_path}/${f} /usr/bin/${f}
|
||||
done
|
||||
einstalldocs
|
||||
}
|
@ -1,3 +1,5 @@
|
||||
DIST mono-basic-4.6.tar.bz2 2051520 BLAKE2B 0fc4961e9beb0894dcc081ecd06abf8a2e1c3d1aa6bb129b72d2c87ab15e9e779c0305f030515b18bd218ac595cd03ebad2fef5403dfc5aeb7a58b8886d085a0 SHA512 a8b50f9fa0d2e7533429722e584f42ee3e3794e1e013a2ca75b616b2b7b8c755dbe0722187b5e0982b9ebb8b5d22310a21fcfd55a6c027ee6eadcc7887e106d9
|
||||
DIST mono-basic-4.7.tar.bz2 2051806 BLAKE2B 8d8beb26bfc79c5ff648d671fc92d0f15204694ac735d1ab0c375547f7f4a89519f24bc512ecc16ae93455c7c28978ef2112804335a02b9ccb63e537298e11d5 SHA512 c690f81d7af64d1592bc480be230abc93480728288291fe85de5c8b273eb6127d619c3bd02f2acd285b9b055ef4f2970a764b34f49f15e59ed238d01c151c99a
|
||||
EBUILD mono-basic-4.6-r1.ebuild 363 BLAKE2B c39d83399005bb9bf84d6a037c4ea51c496632e0746667a68329d6d8bae281d80f9e368d3376e8f11a4485d861fa17800ca531a2beda7763dee0e9f801a83693 SHA512 2bc866578da343d34f631bcef0ac993c49761ce8a5ee9259af9d619e8ba79c590845063239893984e148fc8463ef39b90f2b37a204eaf338f5c14a969216a9b0
|
||||
EBUILD mono-basic-4.7.ebuild 360 BLAKE2B 46c2cc0d9f60948231b3242130f042a2a90517d87ebd27630281a0b239ff0ba316c5ae481f0e3226c2c03516ba1f3ee7230d3a2c00eb73eeeec4d2746a82a3b7 SHA512 8c7955d9e62c3f065dabe59c0a4fa3be3f52fa238f3c8033abd8ff45d882b70dc8f326af304bb44b06996e42bc5127a2c40f809853df743f2d48e51e01fac6d3
|
||||
MISC metadata.xml 369 BLAKE2B 99bc89ce5469bce6e867ce73fa66fee3fa41bf2166453c3606b03b1f3879f837c46d41068430e217a7ab4b0d0096650762095ffe5f13382ab055e5815f90ebb1 SHA512 5d49b66d13a6055421fc9e9a180d6d5657e367cfdc6e74a13c16955cc1bfda765605f0ab7c0d7d5f67ce847e09306fef52a2fb621eccdf358e5d21e82129a2b3
|
||||
|
@ -0,0 +1,16 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit mono-env
|
||||
|
||||
DESCRIPTION="Visual Basic Compiler and Runtime"
|
||||
HOMEPAGE="https://www.mono-project.com/docs/about-mono/languages/visualbasic/"
|
||||
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
LICENSE="LGPL-2 MIT"
|
||||
SLOT="0"
|
||||
|
||||
RDEPEND="dev-lang/mono"
|
||||
DEPEND="${RDEPEND}"
|
Binary file not shown.
@ -0,0 +1,31 @@
|
||||
From 349a41da1ad88ad87825414752a8ff5fdd6a6c3f Mon Sep 17 00:00:00 2001
|
||||
From: Billy Brumley <bbrumley@gmail.com>
|
||||
Date: Wed, 11 Apr 2018 10:10:58 +0300
|
||||
Subject: [PATCH] RSA key generation: ensure BN_mod_inverse and BN_mod_exp_mont
|
||||
both get called with BN_FLG_CONSTTIME flag set.
|
||||
|
||||
CVE-2018-0737
|
||||
|
||||
Reviewed-by: Rich Salz <rsalz@openssl.org>
|
||||
Reviewed-by: Matt Caswell <matt@openssl.org>
|
||||
(cherry picked from commit 6939eab03a6e23d2bd2c3f5e34fe1d48e542e787)
|
||||
---
|
||||
crypto/rsa/rsa_gen.c | 2 ++
|
||||
1 file changed, 2 insertions(+)
|
||||
|
||||
diff --git a/crypto/rsa/rsa_gen.c b/crypto/rsa/rsa_gen.c
|
||||
index 9ca5dfe..42b89a8 100644
|
||||
--- a/crypto/rsa/rsa_gen.c
|
||||
+++ b/crypto/rsa/rsa_gen.c
|
||||
@@ -156,6 +156,8 @@ static int rsa_builtin_keygen(RSA *rsa, int bits, BIGNUM *e_value,
|
||||
if (BN_copy(rsa->e, e_value) == NULL)
|
||||
goto err;
|
||||
|
||||
+ BN_set_flags(rsa->p, BN_FLG_CONSTTIME);
|
||||
+ BN_set_flags(rsa->q, BN_FLG_CONSTTIME);
|
||||
BN_set_flags(r2, BN_FLG_CONSTTIME);
|
||||
/* generate p and q */
|
||||
for (;;) {
|
||||
--
|
||||
2.7.4
|
||||
|
@ -0,0 +1,251 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="6"
|
||||
|
||||
inherit eutils flag-o-matic toolchain-funcs multilib multilib-minimal
|
||||
|
||||
PATCH_SET="openssl-1.0.2-patches-1.3"
|
||||
MY_P=${P/_/-}
|
||||
DESCRIPTION="full-strength general purpose cryptography library (including SSL and TLS)"
|
||||
HOMEPAGE="https://www.openssl.org/"
|
||||
SRC_URI="mirror://openssl/source/${MY_P}.tar.gz
|
||||
mirror://gentoo/${PATCH_SET}.tar.xz
|
||||
https://dev.gentoo.org/~whissi/dist/${PN}/${PATCH_SET}.tar.xz"
|
||||
|
||||
LICENSE="openssl"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~arm-linux ~x86-linux"
|
||||
IUSE="+asm bindist gmp kerberos rfc3779 sctp cpu_flags_x86_sse2 sslv2 +sslv3 static-libs test +tls-heartbeat vanilla zlib"
|
||||
RESTRICT="!bindist? ( bindist )"
|
||||
|
||||
RDEPEND=">=app-misc/c_rehash-1.7-r1
|
||||
gmp? ( >=dev-libs/gmp-5.1.3-r1[static-libs(+)?,${MULTILIB_USEDEP}] )
|
||||
zlib? ( >=sys-libs/zlib-1.2.8-r1[static-libs(+)?,${MULTILIB_USEDEP}] )
|
||||
kerberos? ( >=app-crypt/mit-krb5-1.11.4[${MULTILIB_USEDEP}] )"
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-lang/perl-5
|
||||
sctp? ( >=net-misc/lksctp-tools-1.0.12 )
|
||||
test? (
|
||||
sys-apps/diffutils
|
||||
sys-devel/bc
|
||||
)"
|
||||
PDEPEND="app-misc/ca-certificates"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
MULTILIB_WRAPPED_HEADERS=(
|
||||
usr/include/openssl/opensslconf.h
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
# keep this in sync with app-misc/c_rehash
|
||||
SSL_CNF_DIR="/etc/ssl"
|
||||
|
||||
# Make sure we only ever touch Makefile.org and avoid patching a file
|
||||
# that gets blown away anyways by the Configure script in src_configure
|
||||
rm -f Makefile
|
||||
|
||||
if ! use vanilla ; then
|
||||
eapply "${WORKDIR}"/patch/*.patch
|
||||
fi
|
||||
|
||||
eapply_user
|
||||
|
||||
# disable fips in the build
|
||||
# make sure the man pages are suffixed #302165
|
||||
# don't bother building man pages if they're disabled
|
||||
sed -i \
|
||||
-e '/DIRS/s: fips : :g' \
|
||||
-e '/^MANSUFFIX/s:=.*:=ssl:' \
|
||||
-e '/^MAKEDEPPROG/s:=.*:=$(CC):' \
|
||||
-e $(has noman FEATURES \
|
||||
&& echo '/^install:/s:install_docs::' \
|
||||
|| echo '/^MANDIR=/s:=.*:='${EPREFIX}'/usr/share/man:') \
|
||||
Makefile.org \
|
||||
|| die
|
||||
# show the actual commands in the log
|
||||
sed -i '/^SET_X/s:=.*:=set -x:' Makefile.shared
|
||||
|
||||
# since we're forcing $(CC) as makedep anyway, just fix
|
||||
# the conditional as always-on
|
||||
# helps clang (#417795), and versioned gcc (#499818)
|
||||
sed -i 's/expr.*MAKEDEPEND.*;/true;/' util/domd || die
|
||||
|
||||
# quiet out unknown driver argument warnings since openssl
|
||||
# doesn't have well-split CFLAGS and we're making it even worse
|
||||
# and 'make depend' uses -Werror for added fun (#417795 again)
|
||||
[[ ${CC} == *clang* ]] && append-flags -Qunused-arguments
|
||||
|
||||
# allow openssl to be cross-compiled
|
||||
cp "${FILESDIR}"/gentoo.config-1.0.2 gentoo.config || die
|
||||
chmod a+rx gentoo.config || die
|
||||
|
||||
append-flags -fno-strict-aliasing
|
||||
append-flags $(test-flags-CC -Wa,--noexecstack)
|
||||
append-cppflags -DOPENSSL_NO_BUF_FREELISTS
|
||||
|
||||
sed -i '1s,^:$,#!'${EPREFIX}'/usr/bin/perl,' Configure #141906
|
||||
# The config script does stupid stuff to prompt the user. Kill it.
|
||||
sed -i '/stty -icanon min 0 time 50; read waste/d' config || die
|
||||
./config --test-sanity || die "I AM NOT SANE"
|
||||
|
||||
multilib_copy_sources
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
unset APPS #197996
|
||||
unset SCRIPTS #312551
|
||||
unset CROSS_COMPILE #311473
|
||||
|
||||
tc-export CC AR RANLIB RC
|
||||
|
||||
# Clean out patent-or-otherwise-encumbered code
|
||||
# Camellia: Royalty Free https://en.wikipedia.org/wiki/Camellia_(cipher)
|
||||
# IDEA: Expired https://en.wikipedia.org/wiki/International_Data_Encryption_Algorithm
|
||||
# EC: ????????? ??/??/2015 https://en.wikipedia.org/wiki/Elliptic_Curve_Cryptography
|
||||
# MDC2: Expired https://en.wikipedia.org/wiki/MDC-2
|
||||
# RC5: Expired https://en.wikipedia.org/wiki/RC5
|
||||
|
||||
use_ssl() { usex $1 "enable-${2:-$1}" "no-${2:-$1}" " ${*:3}" ; }
|
||||
echoit() { echo "$@" ; "$@" ; }
|
||||
|
||||
local krb5=$(has_version app-crypt/mit-krb5 && echo "MIT" || echo "Heimdal")
|
||||
|
||||
# See if our toolchain supports __uint128_t. If so, it's 64bit
|
||||
# friendly and can use the nicely optimized code paths. #460790
|
||||
local ec_nistp_64_gcc_128
|
||||
# Disable it for now though #469976
|
||||
#if ! use bindist ; then
|
||||
# echo "__uint128_t i;" > "${T}"/128.c
|
||||
# if ${CC} ${CFLAGS} -c "${T}"/128.c -o /dev/null >&/dev/null ; then
|
||||
# ec_nistp_64_gcc_128="enable-ec_nistp_64_gcc_128"
|
||||
# fi
|
||||
#fi
|
||||
|
||||
# https://github.com/openssl/openssl/issues/2286
|
||||
if use ia64 ; then
|
||||
replace-flags -g3 -g2
|
||||
replace-flags -ggdb3 -ggdb2
|
||||
fi
|
||||
|
||||
local sslout=$(./gentoo.config)
|
||||
einfo "Use configuration ${sslout:-(openssl knows best)}"
|
||||
local config="Configure"
|
||||
[[ -z ${sslout} ]] && config="config"
|
||||
|
||||
echoit \
|
||||
./${config} \
|
||||
${sslout} \
|
||||
$(use cpu_flags_x86_sse2 || echo "no-sse2") \
|
||||
enable-camellia \
|
||||
$(use_ssl !bindist ec) \
|
||||
${ec_nistp_64_gcc_128} \
|
||||
enable-idea \
|
||||
enable-mdc2 \
|
||||
enable-rc5 \
|
||||
enable-tlsext \
|
||||
$(use_ssl asm) \
|
||||
$(use_ssl gmp gmp -lgmp) \
|
||||
$(use_ssl kerberos krb5 --with-krb5-flavor=${krb5}) \
|
||||
$(use_ssl rfc3779) \
|
||||
$(use_ssl sctp) \
|
||||
$(use_ssl sslv2 ssl2) \
|
||||
$(use_ssl sslv3 ssl3) \
|
||||
$(use_ssl tls-heartbeat heartbeats) \
|
||||
$(use_ssl zlib) \
|
||||
--prefix="${EPREFIX}"/usr \
|
||||
--openssldir="${EPREFIX}"${SSL_CNF_DIR} \
|
||||
--libdir=$(get_libdir) \
|
||||
shared threads \
|
||||
|| die
|
||||
|
||||
# Clean out hardcoded flags that openssl uses
|
||||
local CFLAG=$(grep ^CFLAG= Makefile | LC_ALL=C sed \
|
||||
-e 's:^CFLAG=::' \
|
||||
-e 's:-fomit-frame-pointer ::g' \
|
||||
-e 's:-O[0-9] ::g' \
|
||||
-e 's:-march=[-a-z0-9]* ::g' \
|
||||
-e 's:-mcpu=[-a-z0-9]* ::g' \
|
||||
-e 's:-m[a-z0-9]* ::g' \
|
||||
)
|
||||
sed -i \
|
||||
-e "/^CFLAG/s|=.*|=${CFLAG} ${CFLAGS}|" \
|
||||
-e "/^SHARED_LDFLAGS=/s|$| ${LDFLAGS}|" \
|
||||
Makefile || die
|
||||
}
|
||||
|
||||
multilib_src_compile() {
|
||||
# depend is needed to use $confopts; it also doesn't matter
|
||||
# that it's -j1 as the code itself serializes subdirs
|
||||
emake -j1 depend
|
||||
emake all
|
||||
# rehash is needed to prep the certs/ dir; do this
|
||||
# separately to avoid parallel build issues.
|
||||
emake rehash
|
||||
}
|
||||
|
||||
multilib_src_test() {
|
||||
emake -j1 test
|
||||
}
|
||||
|
||||
multilib_src_install() {
|
||||
emake INSTALL_PREFIX="${D}" install
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
# openssl installs perl version of c_rehash by default, but
|
||||
# we provide a shell version via app-misc/c_rehash
|
||||
rm "${ED}"/usr/bin/c_rehash || die
|
||||
|
||||
local -a DOCS=( CHANGES* FAQ NEWS README doc/*.txt doc/c-indentation.el )
|
||||
einstalldocs
|
||||
|
||||
use rfc3779 && dodoc engines/ccgost/README.gost
|
||||
|
||||
# This is crappy in that the static archives are still built even
|
||||
# when USE=static-libs. But this is due to a failing in the openssl
|
||||
# build system: the static archives are built as PIC all the time.
|
||||
# Only way around this would be to manually configure+compile openssl
|
||||
# twice; once with shared lib support enabled and once without.
|
||||
use static-libs || rm -f "${ED}"/usr/lib*/lib*.a
|
||||
|
||||
# create the certs directory
|
||||
dodir ${SSL_CNF_DIR}/certs
|
||||
cp -RP certs/* "${ED}"${SSL_CNF_DIR}/certs/ || die
|
||||
rm -r "${ED}"${SSL_CNF_DIR}/certs/{demo,expired}
|
||||
|
||||
# Namespace openssl programs to prevent conflicts with other man pages
|
||||
cd "${ED}"/usr/share/man
|
||||
local m d s
|
||||
for m in $(find . -type f | xargs grep -L '#include') ; do
|
||||
d=${m%/*} ; d=${d#./} ; m=${m##*/}
|
||||
[[ ${m} == openssl.1* ]] && continue
|
||||
[[ -n $(find -L ${d} -type l) ]] && die "erp, broken links already!"
|
||||
mv ${d}/{,ssl-}${m}
|
||||
# fix up references to renamed man pages
|
||||
sed -i '/^[.]SH "SEE ALSO"/,/^[.]/s:\([^(, ]*(1)\):ssl-\1:g' ${d}/ssl-${m}
|
||||
ln -s ssl-${m} ${d}/openssl-${m}
|
||||
# locate any symlinks that point to this man page ... we assume
|
||||
# that any broken links are due to the above renaming
|
||||
for s in $(find -L ${d} -type l) ; do
|
||||
s=${s##*/}
|
||||
rm -f ${d}/${s}
|
||||
ln -s ssl-${m} ${d}/ssl-${s}
|
||||
ln -s ssl-${s} ${d}/openssl-${s}
|
||||
done
|
||||
done
|
||||
[[ -n $(find -L ${d} -type l) ]] && die "broken manpage links found :("
|
||||
|
||||
dodir /etc/sandbox.d #254521
|
||||
echo 'SANDBOX_PREDICT="/dev/crypto"' > "${ED}"/etc/sandbox.d/10openssl
|
||||
|
||||
diropts -m0700
|
||||
keepdir ${SSL_CNF_DIR}/private
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
ebegin "Running 'c_rehash ${EROOT%/}${SSL_CNF_DIR}/certs/' to rebuild hashes #333069"
|
||||
c_rehash "${EROOT%/}${SSL_CNF_DIR}/certs" >/dev/null
|
||||
eend $?
|
||||
}
|
@ -0,0 +1,284 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="6"
|
||||
|
||||
inherit eutils flag-o-matic toolchain-funcs multilib multilib-minimal
|
||||
|
||||
MY_P=${P/_/-}
|
||||
DESCRIPTION="full-strength general purpose cryptography library (including SSL and TLS)"
|
||||
HOMEPAGE="https://www.openssl.org/"
|
||||
SRC_URI="mirror://openssl/source/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="openssl"
|
||||
SLOT="0/1.1" # .so version of libssl/libcrypto
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~arm-linux ~x86-linux"
|
||||
IUSE="+asm bindist elibc_musl rfc3779 sctp cpu_flags_x86_sse2 static-libs test tls-heartbeat vanilla zlib"
|
||||
RESTRICT="!bindist? ( bindist )"
|
||||
|
||||
RDEPEND=">=app-misc/c_rehash-1.7-r1
|
||||
zlib? ( >=sys-libs/zlib-1.2.8-r1[static-libs(+)?,${MULTILIB_USEDEP}] )"
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-lang/perl-5
|
||||
sctp? ( >=net-misc/lksctp-tools-1.0.12 )
|
||||
test? (
|
||||
sys-apps/diffutils
|
||||
sys-devel/bc
|
||||
)"
|
||||
PDEPEND="app-misc/ca-certificates"
|
||||
|
||||
# This does not copy the entire Fedora patchset, but JUST the parts that
|
||||
# are needed to make it safe to use EC with RESTRICT=bindist.
|
||||
# See openssl.spec for the matching numbering of SourceNNN, PatchNNN
|
||||
SOURCE1=hobble-openssl
|
||||
SOURCE12=ec_curve.c
|
||||
SOURCE13=ectest.c
|
||||
PATCH1=openssl-1.1.0-build.patch # Fixes EVP testcase for EC
|
||||
PATCH37=openssl-1.1.0-ec-curves.patch
|
||||
FEDORA_GIT_BASE='https://src.fedoraproject.org/cgit/rpms/openssl.git/plain/'
|
||||
FEDORA_GIT_BRANCH='f27'
|
||||
FEDORA_SRC_URI=()
|
||||
FEDORA_SOURCE=( $SOURCE1 $SOURCE12 $SOURCE13 )
|
||||
FEDORA_PATCH=( $PATCH1 $PATCH37 )
|
||||
for i in "${FEDORA_SOURCE[@]}" ; do
|
||||
FEDORA_SRC_URI+=( "${FEDORA_GIT_BASE}/${i}?h=${FEDORA_GIT_BRANCH} -> ${P}_${i}" )
|
||||
done
|
||||
for i in "${FEDORA_PATCH[@]}" ; do # Already have a version prefix
|
||||
FEDORA_SRC_URI+=( "${FEDORA_GIT_BASE}/${i}?h=${FEDORA_GIT_BRANCH} -> ${i}" )
|
||||
done
|
||||
SRC_URI+=" bindist? ( ${FEDORA_SRC_URI[@]} )"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
MULTILIB_WRAPPED_HEADERS=(
|
||||
usr/include/openssl/opensslconf.h
|
||||
)
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-1.0.2a-x32-asm.patch #542618
|
||||
"${FILESDIR}"/${P}-CVE-2018-0737.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
if use bindist; then
|
||||
# This just removes the prefix, and puts it into WORKDIR like the RPM.
|
||||
for i in "${FEDORA_SOURCE[@]}" ; do
|
||||
cp -f "${DISTDIR}"/"${P}_${i}" "${WORKDIR}"/"${i}" || die
|
||||
done
|
||||
# .spec %prep
|
||||
bash "${WORKDIR}"/"${SOURCE1}" || die
|
||||
cp -f "${WORKDIR}"/"${SOURCE12}" "${S}"/crypto/ec/ || die
|
||||
cp -f "${WORKDIR}"/"${SOURCE13}" "${S}"/test/ || die
|
||||
for i in "${FEDORA_PATCH[@]}" ; do
|
||||
epatch "${DISTDIR}"/"${i}"
|
||||
done
|
||||
# Also see the configure parts below:
|
||||
# enable-ec \
|
||||
# $(use_ssl !bindist ec2m) \
|
||||
|
||||
fi
|
||||
# keep this in sync with app-misc/c_rehash
|
||||
SSL_CNF_DIR="/etc/ssl"
|
||||
|
||||
# Make sure we only ever touch Makefile.org and avoid patching a file
|
||||
# that gets blown away anyways by the Configure script in src_configure
|
||||
rm -f Makefile
|
||||
|
||||
if ! use vanilla ; then
|
||||
epatch "${PATCHES[@]}"
|
||||
fi
|
||||
|
||||
eapply_user #332661
|
||||
|
||||
# make sure the man pages are suffixed #302165
|
||||
# don't bother building man pages if they're disabled
|
||||
# Make DOCDIR Gentoo compliant
|
||||
sed -i \
|
||||
-e '/^MANSUFFIX/s:=.*:=ssl:' \
|
||||
-e '/^MAKEDEPPROG/s:=.*:=$(CC):' \
|
||||
-e $(has noman FEATURES \
|
||||
&& echo '/^install:/s:install_docs::' \
|
||||
|| echo '/^MANDIR=/s:=.*:='${EPREFIX}'/usr/share/man:') \
|
||||
-e "/^DOCDIR/s@\$(BASENAME)@&-${PF}@" \
|
||||
Configurations/unix-Makefile.tmpl \
|
||||
|| die
|
||||
|
||||
# show the actual commands in the log
|
||||
sed -i '/^SET_X/s@=.*@=set -x@' Makefile.shared
|
||||
|
||||
# quiet out unknown driver argument warnings since openssl
|
||||
# doesn't have well-split CFLAGS and we're making it even worse
|
||||
# and 'make depend' uses -Werror for added fun (#417795 again)
|
||||
[[ ${CC} == *clang* ]] && append-flags -Qunused-arguments
|
||||
|
||||
# allow openssl to be cross-compiled
|
||||
cp "${FILESDIR}"/gentoo.config-1.0.2 gentoo.config || die
|
||||
chmod a+rx gentoo.config
|
||||
|
||||
append-flags -fno-strict-aliasing
|
||||
append-flags $(test-flags-CC -Wa,--noexecstack)
|
||||
append-cppflags -DOPENSSL_NO_BUF_FREELISTS
|
||||
|
||||
# Prefixify Configure shebang (#141906)
|
||||
sed \
|
||||
-e "1s,/usr/bin/env,${EPREFIX}&," \
|
||||
-i Configure || die
|
||||
# Remove test target when FEATURES=test isn't set
|
||||
if ! use test ; then
|
||||
sed \
|
||||
-e '/^$config{dirs}/s@ "test",@@' \
|
||||
-i Configure || die
|
||||
fi
|
||||
# The config script does stupid stuff to prompt the user. Kill it.
|
||||
sed -i '/stty -icanon min 0 time 50; read waste/d' config || die
|
||||
./config --test-sanity || die "I AM NOT SANE"
|
||||
|
||||
multilib_copy_sources
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
unset APPS #197996
|
||||
unset SCRIPTS #312551
|
||||
unset CROSS_COMPILE #311473
|
||||
|
||||
tc-export CC AR RANLIB RC
|
||||
|
||||
# Clean out patent-or-otherwise-encumbered code
|
||||
# Camellia: Royalty Free https://en.wikipedia.org/wiki/Camellia_(cipher)
|
||||
# IDEA: Expired https://en.wikipedia.org/wiki/International_Data_Encryption_Algorithm
|
||||
# EC: ????????? ??/??/2015 https://en.wikipedia.org/wiki/Elliptic_Curve_Cryptography
|
||||
# MDC2: Expired https://en.wikipedia.org/wiki/MDC-2
|
||||
# RC5: Expired https://en.wikipedia.org/wiki/RC5
|
||||
|
||||
use_ssl() { usex $1 "enable-${2:-$1}" "no-${2:-$1}" " ${*:3}" ; }
|
||||
echoit() { echo "$@" ; "$@" ; }
|
||||
|
||||
local krb5=$(has_version app-crypt/mit-krb5 && echo "MIT" || echo "Heimdal")
|
||||
|
||||
# See if our toolchain supports __uint128_t. If so, it's 64bit
|
||||
# friendly and can use the nicely optimized code paths. #460790
|
||||
local ec_nistp_64_gcc_128
|
||||
# Disable it for now though #469976
|
||||
#if ! use bindist ; then
|
||||
# echo "__uint128_t i;" > "${T}"/128.c
|
||||
# if ${CC} ${CFLAGS} -c "${T}"/128.c -o /dev/null >&/dev/null ; then
|
||||
# ec_nistp_64_gcc_128="enable-ec_nistp_64_gcc_128"
|
||||
# fi
|
||||
#fi
|
||||
|
||||
local sslout=$(./gentoo.config)
|
||||
einfo "Use configuration ${sslout:-(openssl knows best)}"
|
||||
local config="Configure"
|
||||
[[ -z ${sslout} ]] && config="config"
|
||||
|
||||
# Fedora hobbled-EC needs 'no-ec2m'
|
||||
# 'srp' was restricted until early 2017 as well.
|
||||
# "disable-deprecated" option breaks too many consumers.
|
||||
# Don't set it without thorough revdeps testing.
|
||||
echoit \
|
||||
./${config} \
|
||||
${sslout} \
|
||||
$(use cpu_flags_x86_sse2 || echo "no-sse2") \
|
||||
enable-camellia \
|
||||
enable-ec \
|
||||
$(use_ssl !bindist ec2m) \
|
||||
enable-srp \
|
||||
$(use elibc_musl && echo "no-async") \
|
||||
${ec_nistp_64_gcc_128} \
|
||||
enable-idea \
|
||||
enable-mdc2 \
|
||||
enable-rc5 \
|
||||
$(use_ssl asm) \
|
||||
$(use_ssl rfc3779) \
|
||||
$(use_ssl sctp) \
|
||||
$(use_ssl tls-heartbeat heartbeats) \
|
||||
$(use_ssl zlib) \
|
||||
--prefix="${EPREFIX}"/usr \
|
||||
--openssldir="${EPREFIX}"${SSL_CNF_DIR} \
|
||||
--libdir=$(get_libdir) \
|
||||
shared threads \
|
||||
|| die
|
||||
|
||||
# Clean out hardcoded flags that openssl uses
|
||||
# Fix quoting for sed
|
||||
local DEFAULT_CFLAGS=$(grep ^CFLAGS= Makefile | LC_ALL=C sed \
|
||||
-e 's:^CFLAGS=::' \
|
||||
-e 's:-fomit-frame-pointer ::g' \
|
||||
-e 's:-O[0-9] ::g' \
|
||||
-e 's:-march=[-a-z0-9]* ::g' \
|
||||
-e 's:-mcpu=[-a-z0-9]* ::g' \
|
||||
-e 's:-m[a-z0-9]* ::g' \
|
||||
-e 's:\\:\\\\:g' \
|
||||
)
|
||||
sed -i \
|
||||
-e "/^CFLAGS=/s|=.*|=${DEFAULT_CFLAGS} ${CFLAGS}|" \
|
||||
-e "/^LDFLAGS=/s|=[[:space:]]*$|=${LDFLAGS}|" \
|
||||
Makefile || die
|
||||
}
|
||||
|
||||
multilib_src_compile() {
|
||||
# depend is needed to use $confopts; it also doesn't matter
|
||||
# that it's -j1 as the code itself serializes subdirs
|
||||
emake -j1 depend
|
||||
emake all
|
||||
}
|
||||
|
||||
multilib_src_test() {
|
||||
emake -j1 test
|
||||
}
|
||||
|
||||
multilib_src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
# openssl installs perl version of c_rehash by default, but
|
||||
# we provide a shell version via app-misc/c_rehash
|
||||
rm "${ED}"/usr/bin/c_rehash || die
|
||||
|
||||
dodoc CHANGES* FAQ NEWS README doc/*.txt doc/${PN}-c-indent.el
|
||||
|
||||
# This is crappy in that the static archives are still built even
|
||||
# when USE=static-libs. But this is due to a failing in the openssl
|
||||
# build system: the static archives are built as PIC all the time.
|
||||
# Only way around this would be to manually configure+compile openssl
|
||||
# twice; once with shared lib support enabled and once without.
|
||||
use static-libs || rm -f "${ED}"/usr/lib*/lib*.a
|
||||
|
||||
# create the certs directory
|
||||
keepdir ${SSL_CNF_DIR}/certs
|
||||
|
||||
# Namespace openssl programs to prevent conflicts with other man pages
|
||||
cd "${ED}"/usr/share/man
|
||||
local m d s
|
||||
for m in $(find . -type f | xargs grep -L '#include') ; do
|
||||
d=${m%/*} ; d=${d#./} ; m=${m##*/}
|
||||
[[ ${m} == openssl.1* ]] && continue
|
||||
[[ -n $(find -L ${d} -type l) ]] && die "erp, broken links already!"
|
||||
mv ${d}/{,ssl-}${m}
|
||||
# fix up references to renamed man pages
|
||||
sed -i '/^[.]SH "SEE ALSO"/,/^[.]/s:\([^(, ]*(1)\):ssl-\1:g' ${d}/ssl-${m}
|
||||
ln -s ssl-${m} ${d}/openssl-${m}
|
||||
# locate any symlinks that point to this man page ... we assume
|
||||
# that any broken links are due to the above renaming
|
||||
for s in $(find -L ${d} -type l) ; do
|
||||
s=${s##*/}
|
||||
rm -f ${d}/${s}
|
||||
ln -s ssl-${m} ${d}/ssl-${s}
|
||||
ln -s ssl-${s} ${d}/openssl-${s}
|
||||
done
|
||||
done
|
||||
[[ -n $(find -L ${d} -type l) ]] && die "broken manpage links found :("
|
||||
|
||||
dodir /etc/sandbox.d #254521
|
||||
echo 'SANDBOX_PREDICT="/dev/crypto"' > "${ED}"/etc/sandbox.d/10openssl
|
||||
|
||||
diropts -m0700
|
||||
keepdir ${SSL_CNF_DIR}/private
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
ebegin "Running 'c_rehash ${EROOT%/}${SSL_CNF_DIR}/certs/' to rebuild hashes #333069"
|
||||
c_rehash "${EROOT%/}${SSL_CNF_DIR}/certs" >/dev/null
|
||||
eend $?
|
||||
}
|
@ -1,5 +1,4 @@
|
||||
AUX Acme-Damn-0.08-respect-cflags.patch 646 BLAKE2B 07d2f39ec64a5317aad8a9beb309bf2e3483ad150ae29558b2d3d23c5cf53ddb0b627a9acd26fd16755d19710dfd632b3e9b72d6c85ff258a284032c8ec61b5c SHA512 fb7bac74243a3f56def04c6e2396faa3b730ce92d16a389afd44832865e26b22b658a6f2cb23c87604f2f134f4daefc50584ef00f379bf90e06d1f84971aa2d9
|
||||
AUX Acme-Damn-respect-cflags.patch 455 BLAKE2B 8cb3b3a4914b9b74a3aa9b8650908ff3a1b5b79e71613f62daa833f168fce9604a0f4fd7eac9a7d14ed63ef20497f21f87fad317648be14cfc7e3f90dcb38f41 SHA512 95e0888aaf564d06f7e20184002fb5f5ef46b7c2bbb58aea7e3bb69f696dbb817baf75a3e6c7b31ebde754a485f48f50a48c6b00d7c8b1a70e15b04533818a97
|
||||
DIST Acme-Damn-0.08.tar.gz 9241 BLAKE2B 393a85c5b6d3eb9306d8901a30bf9091121a7016e0a94681664acf8ffccea535624b5c314620822c1a5815610de61d3b4fe6557177076d8c52cea16901294a1d SHA512 aaded3d7e3a3cdb69f4640623970c62e9491a389eedc0f91c3473764626c45baf89f87695caf1c703a05ce414a0b51e5deac3552b1d3e17f674d3c757f2fb52e
|
||||
EBUILD Acme-Damn-0.80.0.ebuild 466 BLAKE2B 2e7364ac4fd878b24f64e5708ed5d64fdaa197324a825da3c66eb96061a8516a4c979c621406dcea9105c7f12f4b9d789617367eae8a7b2632f2e2efcf62c722 SHA512 e58fa2d116517d8ae9a0fe270f4a0b3e8a3301ac318a0d63f28424a24f65d6b041e925a57f835ec89affa6ec93c44b2ac10434e442f65d8dd1d68882d25f5008
|
||||
MISC metadata.xml 378 BLAKE2B c0fb6f52492cca405d1347d8f7f471caa15fdc5203f62560b199e2bab8a643211341d95428e71524e272a584cb98ec3c024125ac198777247d5ffecca9e94b2c SHA512 534609e5d0c3057854974f956c56d2c1616637a5fd4396b26413bf505b5c28761b5522474eb02cf535b7b2082ce2f93051c3820210e6f1de5fa64a87a7a3124b
|
||||
|
@ -1,10 +0,0 @@
|
||||
--- Makefile.PL.orig 2013-07-13 15:39:13.091479998 +0400
|
||||
+++ Makefile.PL 2013-07-13 15:39:45.418479431 +0400
|
||||
@@ -18,5 +18,6 @@
|
||||
( AUTHOR => 'Ian Brayshaw <ian@onemore.org>') : ()) ,
|
||||
'LIBS' => [''] ,
|
||||
'DEFINE' => '' ,
|
||||
- 'INC' => '-I.'
|
||||
+ 'INC' => '-I.' ,
|
||||
+ 'OPTIMIZE' => '$(CFLAGS)'
|
||||
);
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue