parent
3f0c653c93
commit
6e0b5545d1
@ -1,23 +1,23 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA512
|
||||
|
||||
MANIFEST Manifest.files.gz 29319 BLAKE2B 0ef3f9eaa9a79ac877b3df5027e8116926248d4ac26fa2bf2c43d1003b3c7aff204e6af2110bf292a2edf3c2c002572409e069dfc6778ed9ebe74db2e581fbbb SHA512 11ffe89585e6495e8cbfd348969ac54fc40d869f8efb54d516cac170502e091e594314426ce42fecdf0428592679740496077c473721f57a10ea721174cca7b3
|
||||
TIMESTAMP 2023-10-01T08:10:18Z
|
||||
MANIFEST Manifest.files.gz 29287 BLAKE2B 0ffd926679bcdfe20fa56fd6f39e4fd435774825cdfe4a9e5382572aa46d05af3c67f0a9ab55ca0e0475f9f8b7398b175d41bfbd42cc6e438bf141e493fa3e5a SHA512 a42faf59a52cc31fd198809f6337b9ba955abc2526c899492a45e72776d0c9889e38353d8b172ad0167810f1075dfcee4de3017c7ce446b469dcf19377e0da59
|
||||
TIMESTAMP 2023-10-02T21:40:07Z
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
|
||||
iQKTBAEBCgB9FiEE4dartjv8+0ugL98c7FkO6skYklAFAmUZKWpfFIAAAAAALgAo
|
||||
iQKTBAEBCgB9FiEE4dartjv8+0ugL98c7FkO6skYklAFAmUbOLdfFIAAAAAALgAo
|
||||
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEUx
|
||||
RDZBQkI2M0JGQ0ZCNEJBMDJGREYxQ0VDNTkwRUVBQzkxODkyNTAACgkQ7FkO6skY
|
||||
klCtXw/+NSx1sTgiIIuez0pmy0lHKOqhx9PbLbCVXwMdsk7lLBkRmJ01wRq35WsL
|
||||
yuyptJouYesZ7HEUFAPejlNKqlBwCtlLDxz1qXy8q2TlaqtCH7f5Opze4CY1jP5G
|
||||
GxjZGGvXsENqIEM2ZGnsDByqUPO0j1P/OdGaJNpTp6+NO1sKKDSBFT1b+YiwS/Ac
|
||||
rPToNuTrZTLoAMBqc3SWALi0C2eqIDyZKsJwGdWPrGbq90zUHW594g+m1DlENwcO
|
||||
Zed/k3CT3zpepa6OW85FEBlLegPG15azHnm/vvjNzIdOpkfsnvXbecBmvpnGSKqD
|
||||
S4byC/PsYRagQEtFJyo6PBf4SgQchxyjf8Luvcibs1POzCpMiX/63FfH7X35zDOg
|
||||
W1pKyeA9bC2BGaO+i5jwEqnmmGA8iyb/beyFuNnc4MZRGG0Y4A0dQAd4rcMKhmVO
|
||||
/vJXZ+fyV3lfmguf0St253DydsJyUKNxlphng8TQBCQJIAKHFKSmKzhtqbRgdqLG
|
||||
wGKiResR4XYPzWE+RCQWGmW44IpZDkCOSzwlmfIq+dEA5g6zOhtVzPWVrQN1bXs7
|
||||
teal9U3Uo1utJT/Nwa8QgKXmbNUKAQfvM7zgGxVJf8bknzq4DGovlWUv0e85vxDx
|
||||
vqKYxVGjq4wj3zsA3F1st0N6CvHH6aPKVMV98MVMlBRT5qS8X9c=
|
||||
=EQSZ
|
||||
klB0ZRAAkO3AdYKeiJYj/DjQTojW5KXAss/drtbsn+O+v1CPBmGzfy2J7W+FG4Wh
|
||||
a6lI4B3XGj/QTwwU61XcYhxQgJ5D1o5AaeQGLyEUsbbG8/6BB9j+xpJS8/pPxloP
|
||||
pCAljvE6FA4bwItC0DM3RYpMhQcS1PycNqt1VLHN9oVUdO2N0LQjAGg5iSJwCcxN
|
||||
NCMQNcdTNtOrTthMhBN6oumVMR6UOb/7sfCnbmOWUfcL6UQQdsTclEEudGQCd8+X
|
||||
buO0T7yfOAsTrm1xVoKjB8zKaotZZCz+I3tSXeMl8EKncTYPWiqPxZSF1CMIkr/c
|
||||
xXO7klzCcnvnQ8V67FZEi81+QR9DJFIMaz6XHdU+EDbga+UNFsoSs5q2l80zVX3F
|
||||
2MvppOZH5T7srKvzlX+Knco05F9h5Bmpz8odCHzv1QL04fDdNArEE2KQA9lPutrC
|
||||
lCiXBK1QE+6BKrqwhDzHNGzDpsSsiNCftU3IfiyT7+oWFu0xQIZMNiDOhM6uMRfX
|
||||
7ZvsyunJnmocgDrae3zCnepIw1pwBauopdjRWSVG+x2qLshyDAbnD8QXTyPOfAES
|
||||
Ca0V7j9DAS5ggMsJsDR2fksuw2imRy9voAWdUBNR2EG21XsuOlarbQSLdB6CjE40
|
||||
PchIG9F5uYwRQH9gnp3jJL+CCEaV/bsb7dkusf0mVF0Sm5ooh24=
|
||||
=AtbG
|
||||
-----END PGP SIGNATURE-----
|
||||
|
Binary file not shown.
Binary file not shown.
@ -1,5 +1,5 @@
|
||||
AUX gentoo-apollo-fix.patch 633 BLAKE2B 79b528111af975c2b1c226d4df21f4982705546e025c0a85b7f720c0d15bf2592d9b12ddbee8238ec0ab891cc8096b57570f19826b03139f5c5f35bbf0238c45 SHA512 08c0ec7e0755efefbbecfc7efd376102b9333e4b2589bf9b97649481e0bf16d6b32caf917b229de15938d73beeae4d882fbe9d8bef7038f039b8924eba1af592
|
||||
DIST emacspeak-ss-1.9.1.tar.gz 49077 BLAKE2B 601e46d1d9160dfed6c90523dbf6bdd8ba8254de4246ba33c34d8afef842624c0c57886655e2ebf70dbc9a768e5eebdaccfd75fe11316742a0f3b506dce3aef0 SHA512 a95505a1eaa0b45732d6d8e7322fb75bebc59b876233ae07c5912f1582f0be29d3258dfd5659993ce4b03f72eb316469de95688dcefb7ec61b4ef328f2f50335
|
||||
EBUILD emacspeak-ss-1.9.1-r1.ebuild 673 BLAKE2B 255baf62f03520f51081b4b5265299186704a58d03dc610a8f7b31db7c4a68d927cdf033b7c3ee1478ed4ec8c1e6e6e9bc86a6bedf74089eaec24f781cc26dd7 SHA512 64cace336301c5fb25274a1703596ab84cb5ed4212702562aefd6e1ea6703cb4567d6eb55a11ae025487932faa81951e9f8f5ac66f032c9ffa175c26682d93ea
|
||||
EBUILD emacspeak-ss-1.9.1-r1.ebuild 670 BLAKE2B a5d1d163f215112e87242f8a60c29941b936fbd809777e61fecf7d54ec975bbd433b52c85a373f742af6c55d9859f48f6b65f10feef9af4a93af9e56012c23ed SHA512 1bfac679d435d6b75946fdbc727529fdd05f28395081ef5baf8a2a1a4650674fa2d9c9ad3eb14a2940996427836ae000de71d68b5320a80e2b226c36f2dbca2a
|
||||
EBUILD emacspeak-ss-1.9.1.ebuild 689 BLAKE2B 06da9cd61a4331f4259dd9ba18b0fec33119b44cfe9bc5de58ca60093b2cf5927e5cdb3aacd02456b9abd3c2eea73dca0b6270299860ea56e159582669f4c43a SHA512 2c0577d4a69c38f0c7cfeb1107b64c2d3eaa6dd72565c91cd392b48fa29bf3270562701ff10e77932e55d6f241dfa6e5df64b11cec0442549e8cede8c77f3086
|
||||
MISC metadata.xml 936 BLAKE2B d308185cc63e3d09003c83e3ed8845e8d9249ae1d90a3270c15040c0477194cce09d1e2ab3160b9517c3e04f9ff72c0c4218a668e1e1286d9f3221a96d66fac1 SHA512 f945f30015946029f7161c4f10e09e5395f00d48f80134af7212577869411929be7f094b8b09cfa9dccc6eccbf6993419eb72316a7418dee9d59f11a0e21f557
|
||||
|
@ -1,5 +1,5 @@
|
||||
AUX sphinx2-0.6-as-needed.patch 776 BLAKE2B 831ae9cc8e1ed018eecb03f29c6dbe349b09d2ecaa6cdcd879613d372f437629d8e352b140c934a9f42c0192f34d29ebb81a2d74eb9b61948f926d510c9410f0 SHA512 2e4e48041e7eb79acd84a384943ebfbb0be17faab404b7d05b09d95ee5313730e6bd3026443ebe01bb79edb0c3bbcee3ec0b207978a1f0a30df4e0af54c11187
|
||||
DIST sphinx2-0.6.tar.gz 6883359 BLAKE2B 7e5da2f05d2ff92fd2c21a64c76954ff00104adcb81548ccfc19da4fc4995c59a494461f4343ae3b6799526d3f3f3a3c0051a6030af4cc9873d5cd5258fe30a6 SHA512 98e66cedf8a147aee7871df85ee45f58ab76637d26163cbb30ee9554638b503f52c9b14f4f3b64bbb49bb84282e399451a0f9a8622b6e7e545889773d72ba5d4
|
||||
EBUILD sphinx2-0.6-r1.ebuild 743 BLAKE2B 9067c5e6a498756c84e67efba57de4d0dd15bfb273d00e158c44449cc76b5ed541590f3572ffbabd8b9e16ea7633459048494d6b06dade3bfe1214e40575e840 SHA512 b0b107f431a4187b566af899099ab0e59e702325534404e8ce6c38b31f80c81b96b034293dd36b0dc1ae2115d0cbfc56ed67b2539c2c758889a97fa3191e7231
|
||||
EBUILD sphinx2-0.6-r1.ebuild 740 BLAKE2B c6f0dc00a6cb5c0c1fb377188a32c0f8e53f16688702b6bd931336ceef50a56dab9ce178e3836aaace47a251d62d573bcda5bc5c54f6eba17ae88da9d1d72f6f SHA512 46046038479917d1395c2eef2cf423fd69918538d3076b7e62387ce812f990b418e849b1cf2d0a98cd23a36b7c2f43cdbeeb7e5793ad4cf1499928ab0e211a79
|
||||
EBUILD sphinx2-0.6.ebuild 775 BLAKE2B 9877f763dd9faa02c50b6fd99227659ec784fa172eef252fc2617cf38e8ed358e81c4e2a91bea5b5cf3b4bff72c35e7cd5c9673945c48f9a178caab16adb9ad2 SHA512 f441017d91441a1b6225cb18c1127614e4b8351de95981b201398fb8ee7ccf777d492e3003759d901ad7b0089dd24975f9616c346ca844b39252febed6709afb
|
||||
MISC metadata.xml 463 BLAKE2B 609aa2916fccaea3a342fdd48ccb1f98b263100501a9b6be3202118f0f2b08e171588d0f943be6b4debc1673e5b2014c0be5aa6f1bc7537b8b53518700679e90 SHA512 f7e5925996715ddc26a8918c2bf1e48f125162f8a7ce606525e7b5e25e19cb12ecfbe9f9554129bfea5f55fa7bb67e7d5a56d0087f7e3d86a37dde532c76ab9b
|
||||
|
Binary file not shown.
@ -1,45 +0,0 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit autotools fixheadtails toolchain-funcs
|
||||
|
||||
DESCRIPTION="A flexible and fast logfile colorizer"
|
||||
HOMEPAGE="https://git.madhouse-project.org/archive/ccze"
|
||||
SRC_URI="mirror://gentoo/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm ppc x86"
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
DEPEND="dev-libs/libpcre
|
||||
sys-libs/ncurses:0="
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
DOCS=( AUTHORS ChangeLog ChangeLog-0.1 NEWS THANKS README FAQ )
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/ccze-fbsd.patch
|
||||
"${FILESDIR}"/ccze-segfault.patch
|
||||
"${FILESDIR}"/ccze-ldflags.patch
|
||||
"${FILESDIR}"/${P}-tinfo.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# GCC 4.x fixes
|
||||
sed -e 's/-Wswitch -Wmulticharacter/-Wswitch/' \
|
||||
-i src/Makefile.in || die
|
||||
sed -e '/AC_CHECK_TYPE(error_t, int)/d' \
|
||||
-i configure.ac || die
|
||||
|
||||
eautoreconf
|
||||
|
||||
ht_fix_file Rules.mk.in
|
||||
|
||||
tc-export CC
|
||||
}
|
@ -1,26 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit autotools
|
||||
|
||||
DESCRIPTION="Log rotation software"
|
||||
HOMEPAGE="https://github.com/fordmason/cronolog"
|
||||
SRC_URI="http://cronolog.org/download/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2+ Apache-1.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm ppc x86"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PV}-patches
|
||||
# rename and move into ${PV}-patches after -r3 removal
|
||||
"${FILESDIR}"/${P}-umask.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
mv configure.{in,ac} || die
|
||||
eautoreconf
|
||||
}
|
@ -1,4 +1,3 @@
|
||||
DIST ide-smart-1.4.tar.gz 19739 BLAKE2B d9c94b53855628ea10ea563f709754e7f79e50d43e24f76ac3c6dc9b5bdee81a547e63c4583c3506cc899c7e761b59dfbea6bb121f39053cefcac20a984b8d3b SHA512 9ac5cd03b67731aba5371ec9edb3aabb7d3e3b3680552b14741106d8d5ffe5a1705ad379dd8df60b972f3e23f66ed35b98341544feb4b856912138ccac109660
|
||||
EBUILD ide-smart-1.4-r2.ebuild 564 BLAKE2B 64cebd0eccd111e75441b2fca3704c9750fa1dacf6306174f13ced1531a3f98102edb83e1791350f734f17d0b747aa7e70344c6e59c4528d94cb7a2d94cb01b2 SHA512 49f08361338af6f339894529ac9b5371d55b24bf20b5a5567074bce10b65d0cd53848fa718391e715d0279fca276974372b37f46345c1584e78b26a89aacd3ae
|
||||
EBUILD ide-smart-1.4-r3.ebuild 560 BLAKE2B eec41a3a777ab8b80c2c9573872070a3f854fe6f5481dd2a3eebf3f885abea028a2ee81d6a671462e76e6245ff7cc9f1b4ff5d7fa8b86312bb7ceba015d4ec51 SHA512 7480d0d82ca1e037ced83144dff57b08111df9ae58f0311d95692f7a6cbdb4de9bca026a2f96b2349b461317af51b8ba3a5ce335d3f0375adf4e84938e6e9360
|
||||
EBUILD ide-smart-1.4-r3.ebuild 559 BLAKE2B 57c9410c2a6cbfd636ed1f90a7ddf18b8a5aaf9332fc3ba4d35680b63f76cf52f0f5e22616eaba6868076ebb21feb8b4e32037f6ed64853af369a00e97280b51 SHA512 4f5abca839985fd8b3181a11c697d33a9636d08a7100b3b229ddc49193f2cc0e96593418acfe9766aea72f5d03f4f4373a113d9c6f04414319a37df500b8b572
|
||||
MISC metadata.xml 167 BLAKE2B 868e3b584722eaacf68273db062bb773d8c7e5d7ab2b81ca7e8397643bf7cc106c3a1033594401c99c54f667bb45d6b73f9048fc335580bbd44b4589ad26a832 SHA512 30caadd1496c3b9969136038239a1d8e01f236726b4022c2d7e19ca7575f25f735e556835e581afbf44fbd3e4104c40f2b5ef5fa70118d75c881fdf871962d0a
|
||||
|
@ -1,25 +0,0 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
DESCRIPTION="A tool to read SMART information from harddiscs"
|
||||
HOMEPAGE="http://www.linalco.com/comunidad.html http://www.linux-ide.org/smart.html"
|
||||
SRC_URI="http://www.linalco.com/ragnar/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ppc sparc x86"
|
||||
IUSE=""
|
||||
|
||||
src_compile() {
|
||||
$(tc-getCC) ${CFLAGS} -Wall ${LDFLAGS} -o ${PN} ${PN}.c || die "compile"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin ide-smart
|
||||
doman ide-smart.8
|
||||
dodoc README
|
||||
}
|
@ -1,4 +1,3 @@
|
||||
DIST logsentry-1.1.1.tar.gz 30267 BLAKE2B e81fb68484fb05f40d61e2d34bc6e0953e99a46b299f4384592bb4a5a1b53874ca382dfaf68f60ee232d56a9c23ec4840ddc71033fb20b88f653d2fc00384869 SHA512 4be045289259655e7b4da05dd1a07c649b2289fbc6f15dd424dc48ab980478f3ae49501f0e9e2035fddb9a40acaf2f4ab310ff8d95355196d82d41d6fc860143
|
||||
EBUILD logsentry-1.1.1-r2.ebuild 1688 BLAKE2B fed818af317300bda7b100943a0a78681545aa889efe5b6f648c2327b7e50594e44d9ce95c841c0e9dd909b68bb0c887b3de16a48e47da77e70ac109f6e125e8 SHA512 53dd2f713c984957deff570ce5a185cda052e421b143f0d6976a334b645d1b5268de11df09b5e66a275742472a57991846fc419d655f38f435b31539d6130c07
|
||||
EBUILD logsentry-1.1.1-r3.ebuild 1697 BLAKE2B 8c6c00a81b5925b64ea06e3d366df3338afa7ad16ac54b076dea312603478a54da3549de73aa63f3e2920e05e3f9327fce928ddc568be1c7a507b8441836dad6 SHA512 f884215397f5ac9472cbb22cc8a8d349eb9155c90ddbe077a354a731bb8d7e099b4cce3462424dbc375cfe14f72879112888b78393ffd1fa7a154f2b6edad9a0
|
||||
EBUILD logsentry-1.1.1-r3.ebuild 1696 BLAKE2B ef5c25907228bb9d678d9f1ce77b6523b4fedec76528ca5ce0ec0566bfc46cf66bc88f25f6dedb0775c0640a4801fac2955dedc926adae6e6f17b2ff1efa48e7 SHA512 e0a4ddb0243adced6bec7a93acecddfffea6c6a71381565a3bdca4a68d187df4ece313d394f27732ac01ccc60687f8f258b28bc6aa0b04de623a5e4af807ec1d
|
||||
MISC metadata.xml 249 BLAKE2B c2d4f9860e1a735ee3640357ab6d319cfc6e0211d0b4a8bd69ed80becd0e4f181b9573746a8d625682feb4a8958f54aaa24c982ea5e719dd712090c223a23657 SHA512 ccb92e44ca5070b560c6add1dd03d91aeff56986d8f6e86a980928f69fe1417b49beb2ddf50d7ae73bafa5034fc9f09f907b78f05a59c2ecd59f71b36909ac50
|
||||
|
@ -1,73 +0,0 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
DESCRIPTION="Automatically monitor system logs and mail security violations"
|
||||
# Seems that the project has been discontinued by CISCO?
|
||||
HOMEPAGE="https://sourceforge.net/projects/sentrytools/"
|
||||
SRC_URI="mirror://gentoo/${P}.tar.gz"
|
||||
S="${WORKDIR}"/logcheck-${PV}
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 arm ~mips ppc ~s390 sparc x86"
|
||||
IUSE="selinux"
|
||||
|
||||
RDEPEND="
|
||||
virtual/mailx
|
||||
selinux? ( sec-policy/selinux-logsentry )
|
||||
"
|
||||
|
||||
src_compile() {
|
||||
einfo "compile and install mixed in the package makefile"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dodir /usr/bin /var/tmp/logcheck /etc/logcheck
|
||||
|
||||
cp systems/linux/logcheck.sh{,.orig} || die
|
||||
|
||||
sed -i \
|
||||
-e 's:/usr/local/bin:/usr/bin:' \
|
||||
-e 's:/usr/local/etc:/etc/logcheck:' \
|
||||
-e 's:/etc/logcheck/tmp:/var/tmp/logcheck:' \
|
||||
systems/linux/logcheck.sh || \
|
||||
die "sed logcheck.sh failed"
|
||||
sed -i \
|
||||
-e "s:/usr/local/bin:${D}/usr/bin:" \
|
||||
-e "s:/usr/local/etc:${D}/etc/logcheck:" \
|
||||
-e "s:/etc/logcheck/tmp:/var/tmp/logcheck:" \
|
||||
-e "s:\$(CC):& \$(LDFLAGS):" \
|
||||
Makefile || die "sed Makefile failed"
|
||||
|
||||
emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" linux
|
||||
|
||||
dodoc README* CHANGES CREDITS
|
||||
dodoc systems/linux/README.*
|
||||
|
||||
cat << EOF > "${S}"/logsentry.cron || die
|
||||
#!/bin/sh
|
||||
#
|
||||
# Uncomment the following if you want
|
||||
# logsentry (logcheck) to run hourly
|
||||
#
|
||||
# this is part of the logsentry package
|
||||
#
|
||||
#
|
||||
|
||||
#/bin/sh /etc/logcheck/logcheck.sh
|
||||
EOF
|
||||
|
||||
exeinto /etc/cron.hourly
|
||||
doexe logsentry.cron
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog
|
||||
elog "Uncomment the logcheck line in /etc/cron.hourly/logsentry.cron,"
|
||||
elog "or add directly to root's crontab"
|
||||
elog
|
||||
}
|
@ -1,3 +1,5 @@
|
||||
DIST mkosi-15.1.tar.gz 120606 BLAKE2B 36171c08c18dd3ba3c2e54c8a3374fad2a9b008f8253e6cd57cedf7b7e8216b6610b30f9f46aa634de62ebf257d1e8eff94a83b07c027708e4875e24bc0a8305 SHA512 3b65c6b964aa2bde12117b7b2c3e4be0ac72036a92a115f1e93e7be0b3b0aa0bd3adb753ee49865723a9bc677bc4492416caafff4fec3ffd942de78357c11608
|
||||
DIST mkosi-17.1.tar.gz 133505 BLAKE2B 96824568dd53cd83a1f8b95072c750e1a0bbd06356df19c62ea9799a5d8f1b2e55f108a3ec3cf171f5dfdefcc1ac5bc86785a60d80def38a5e1817b91f1d9486 SHA512 59988a6a81c0456df6fa9673032d1e25c5cc382b45fd0299c974559d573279c4c38f5600b4e14a71ecdaa013d9b97b90cc815b3b601a7dd061924519cd8b76bf
|
||||
EBUILD mkosi-15.1.ebuild 812 BLAKE2B fefc2c83f3d08049c09662b065768b0cb425593710e10a5a0bdd8cafa63f542481c4ea9d9b290036276ca3f0bc9ff9326dc5d11cc576ecac9729558f293fc641 SHA512 c1b6fadb5fd335d3b8525034dc5f417cb86cadbb9421d25961765f6ab9e922b18b9f851bf41b38cb3bad4cfd1069a2f880cecc63acc1b37f5ac2df4f527f3478
|
||||
EBUILD mkosi-17.1-r1.ebuild 818 BLAKE2B 54acb5f1829076770e02c46232bd80bd6a8f9d9d8ca22aec06018282a613eb2c643b029c4abe1a1d8748efbe52704ed5136c0b2129717caed540966456b02a4b SHA512 cfa1835e40a9fce04c251cb043c1f1a5ff1bc201b9266b7ca116df9d812c14c18d9286dcea01484f875670184afbecbf2384000d307a2ef810b0fea1861d6355
|
||||
MISC metadata.xml 479 BLAKE2B 3921ab722bcee7cc126528e3b204251ef5fddb5abb333ef3317e8e5fb0a596eced1619ce8bb3670aa8c78f60987d59fc7f6992dc5b14c407f2be3b16581389de SHA512 d02e7a8f4e9295ea13e9bd8a451f1b87463c7d15cb49529e348aa483350fb0553b5a4485999abd876d40a658b457b4de46d3e7561ff3b512f9c1865b1b901e35
|
||||
|
@ -0,0 +1,41 @@
|
||||
# Copyright 2021-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{9..11} )
|
||||
|
||||
inherit distutils-r1 optfeature
|
||||
|
||||
DESCRIPTION="Build Bespoke OS Images"
|
||||
HOMEPAGE="https://github.com/systemd/mkosi"
|
||||
SRC_URI="https://github.com/systemd/mkosi/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
RDEPEND="
|
||||
app-emulation/qemu
|
||||
sys-apps/bubblewrap
|
||||
>=sys-apps/systemd-254
|
||||
sys-firmware/edk2-ovmf"
|
||||
BDEPEND="virtual/pandoc"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
src_compile() {
|
||||
distutils-r1_src_compile
|
||||
|
||||
./tools/make-man-page.sh || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
distutils-r1_src_install
|
||||
|
||||
doman mkosi/resources/mkosi.1
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
optfeature "For debian support: " dev-util/debootstrap
|
||||
}
|
@ -1,13 +1,6 @@
|
||||
AUX 0001-__init__.py-Make-NetworkX-dep-optional.patch 2242 BLAKE2B 63815b66a6b5051ca084fcb265a6eb573f4738288376dada16c86c04ae3dbf4d58ff33583ff323d1096b321f0d410ae3b956b9e82caf710f78baf82db1a769fb SHA512 eac87e9335643b5e2f0de05b6e03c03d250c799e994edd52368b3a50e201beeebfbf40b7bf016200648fadf9c3d5c3708ac94ff158ea327cf2ea73f773ac8653
|
||||
AUX setools-4.4.0-remove-gui.patch 1015 BLAKE2B f81872b140107337466e1d57bfd3c1935adca838756a0c1a2c4f2d0f42b7ae0ecb60d5c6db0889998bca96d46c08979d03e989a79461bb6ceb3c7bd4ee6fa56f SHA512 6e2b3d0dafbb4b0966f04cd592fc14800755ea4f585ab4d1bf0516cd25f16185b0923045762ce88df47f7264481fb9dd6588efc38d7280e14b5f015192f12924
|
||||
AUX setools-4.4.1-cython3.patch 1853 BLAKE2B 7a7d5ae303d135cf69be3dfac99cace7afdb345835338f47570629c0cb31be8878abe042e010a18d73313b71035b7b2c77a9b57921a4a5600f1fd1c41a141ad1 SHA512 4892b69a14e0f45c89c397f1840af88b79903ccf50aa7e51c4d6dda9be0a2572e21de40f5f44071ab2a61cf0bba9bc8f5a0a8fba9e84c013db4812bab5257df3
|
||||
AUX setools-4.4.2-remove-gui.patch 1131 BLAKE2B 54f1258b4b8318f02fd8ef14c4377eacb42254a406b4b9f339b94b0958da352bda028b4b49871ebcdaf1dfc4e37e51f5a0dd346c288270c149d828981c2b5413 SHA512 a827c435072f4a35c165a2492f18c4689144f352ff8fa84ca840dd4b31c59dbd4d4e7c249ad54fb60616e00daad5bc245604041c710141650f80cba01c9cecb0
|
||||
DIST setools-4.4.0.tar.bz2 275218 BLAKE2B f716a78dd628e0309d3802f2155ef3a045dd8ebee7dec42be9f8b5fc0069b0df4e3d827b0a0cc03f7f02f5a3dff1d7ab7e4eee0d83d6cf4c87af82fe756a9321 SHA512 2ec92d7a6e30261549b6a8d2f17175d4a7d8313ef0cd81f4a19a91c53fe0107bac9a89c19dd67a4c534ee51ec520590795b4312f9e03e69fdf1763b0c35291f8
|
||||
DIST setools-4.4.1.tar.bz2 262328 BLAKE2B 328a54b8efd570fad03b27a9e52b7c573e0afb6fe23a245ad248fe8931dd737729aac5d9b6371c163d1939043a777b69cf78091cde8c33e5ef7670110615285e SHA512 af1844f7f7232729eb7e93f6680775818cda93532c62524c5385a4ac7437c51bdb58ebd970a9f61f6e1b018367853d35303d3c5ee1cc087e0e26e893be42d559
|
||||
DIST setools-4.4.2.tar.bz2 261962 BLAKE2B 7c8e47d8c15f1eb72d93da5d3ae1a64e857ed0a75e1a47bbad9e4b0d11180581d9e4705ebe942e460acbc4d68261f06f9b03a8c4af1516cc388c201e30dca75e SHA512 4e8cba61ca28459387d862136a2d8ee0914c4bcd254a6d39792cbfcbbf7e58cb82223c05d66c114b08aebbd75c11cef11517c51f674ddb3c1913dc85414546c1
|
||||
EBUILD setools-4.4.0-r3.ebuild 1531 BLAKE2B ebccb7eb8569d94c4d8ae698187b9aee2d408dd46c6567660b1bee18413f0facb189a6570eaed3648635da8c8f618717c6fd3f2971b003c6cde8e609a67ff527 SHA512 08644fdd5cb3b58c3851ea8a768a72999dc52bed1fdc2dafd5405f2c20c82f7af94395dba526b5dbdf2d4151d37050ec2c3924ec9833d19feb4238f521046131
|
||||
EBUILD setools-4.4.1-r1.ebuild 1606 BLAKE2B f424a9dcd2a6f81c20fbcbcf8cf9ed0952bed261aec4e181a36a4e5b745cf495e6715dfe0b8d20a5acd42ef8d9169fef8cb4035a5b8c4029b0ff314446985884 SHA512 01784528d02358e203ceb84cd933d785d72da993b5417f59fef876d62a718c34a2168c1e027c8b963b83821b23484f190d69e14ff22a5efcbd2358d7e5471d1d
|
||||
EBUILD setools-4.4.1.ebuild 1556 BLAKE2B dc1b91a3b87d1c87b723c406e08019c9c81332dfec3ab33aac3d0c337955b5d0152cca4c1dceb9dfa2a1832314b3f17bc2600473b796d71477625a317e93df6d SHA512 cf77f52a1530aea3f2fd771c9eb0c6ecfc7814bf8296fe81ac5cfd9fdee48571d877d672559529a52bbe8392bc0b8e4498ffcc429c570251ab7b7aca5cdfb4c0
|
||||
EBUILD setools-4.4.2.ebuild 1408 BLAKE2B 14733f327fc1e9c6d7b9c351b4575b7965a8d4d64d3852ba013b6c3b78a62f017bb90c3153c6d3460961f6ba93444f323bf78d5ef70d3adcea78ec648683d22d SHA512 8820db660d9ebda0aaa7290c4ce65768c9635237433e9a2741a0f21e0f5598960903442b39fb064d3e13783c840601973df33f86e95591228d8f32591e75cb17
|
||||
EBUILD setools-9999.ebuild 1358 BLAKE2B 4a31ac9f1ef8527c1758f48785d69e871deb6ee44090fbdbd6328b9c1e6311eb841adb834ecc999de599a4a99750216c010be8d455b6da8833232ea10bab54bb SHA512 2eb6d7d003bf9522aab274bcf32043c4459e1d3c97e0cc3f85ea2bb9cc11e8bd6946b6b1879f8dbb26337ba8abf83cdec42041fe60085b5a21725ba9912d6ecf
|
||||
MISC metadata.xml 440 BLAKE2B 5ff05dac3cb6a27d99c7ebb2e4425afaef2275aaff5e109feff6870e2e51c55c27dd8baa3d6ad3a2a9a292a20ece18dfb2f0ad61e30cd1dc7b74afaf20d0104c SHA512 f61bdc193e411a635c35e7244fad44b68061c56fa26a1b995f79fb46784d09f52bd85bcbc8caec5043390a72d8548fb4ac0dd84cd4a613dbbdb5fd49e3efa71f
|
||||
MISC metadata.xml 335 BLAKE2B 81a7604472415bdf249d90f69e80a7a7c66f23597cba3005fc1fc825012ffdeb29bcb3f8f8b028ee35e0a076fe4863c25d79077718b28d5f658e68df2a703c5b SHA512 9115e12f13e78b8f63ec90a2ed71c5c731781415a77c2fd06bba358240261bf83183f14f2d38e5e9ffcafaee56de4df224b517afceb536d8e1e6af6f1eaa0938
|
||||
|
@ -1,62 +0,0 @@
|
||||
From 32eed2ae8fcd868179a317d48cfd61d828c834df Mon Sep 17 00:00:00 2001
|
||||
From: Jason Zaman <jason@perfinion.com>
|
||||
Date: Sun, 19 Sep 2021 14:12:44 +0200
|
||||
Subject: [PATCH] __init__.py: Make NetworkX dep optional
|
||||
|
||||
selinux commit ba23ba068364ab11ff51f52bd1e20e3c63798a62
|
||||
"python: Import specific modules from setools for less deps"
|
||||
Makes userspace tools only need specific parts of setools so that the
|
||||
NetworkX dep can be dropped for minimal installations.
|
||||
Unfortunately the __init__ still imports the parts which require
|
||||
NetworkX. Wrap them in try except to guard for missing NetworkX.
|
||||
|
||||
$ semanage export
|
||||
Traceback (most recent call last):
|
||||
File "/usr/lib/python-exec/python3.9/semanage", line 29, in <module>
|
||||
import seobject
|
||||
File "/usr/lib/python3.9/site-packages/seobject.py", line 33, in <module>
|
||||
import sepolicy
|
||||
File "/usr/lib/python3.9/site-packages/sepolicy/__init__.py", line 15, in <module>
|
||||
from setools.boolquery import BoolQuery
|
||||
File "/usr/lib/python3.9/site-packages/setools/__init__.py", line 94, in <module>
|
||||
from .infoflow import InfoFlowAnalysis
|
||||
File "/usr/lib/python3.9/site-packages/setools/infoflow.py", line 24, in <module>
|
||||
import networkx as nx
|
||||
ModuleNotFoundError: No module named 'networkx'
|
||||
|
||||
Bug: https://bugs.gentoo.org/809038
|
||||
Signed-off-by: Jason Zaman <jason@perfinion.com>
|
||||
---
|
||||
setools/__init__.py | 13 +++++++++++--
|
||||
1 file changed, 11 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/setools/__init__.py b/setools/__init__.py
|
||||
index d72d343..e583737 100644
|
||||
--- a/setools/__init__.py
|
||||
+++ b/setools/__init__.py
|
||||
@@ -91,11 +91,20 @@ from .pcideviceconquery import PcideviceconQuery
|
||||
from .devicetreeconquery import DevicetreeconQuery
|
||||
|
||||
# Information Flow Analysis
|
||||
-from .infoflow import InfoFlowAnalysis
|
||||
+try:
|
||||
+ from .infoflow import InfoFlowAnalysis
|
||||
+except ImportError:
|
||||
+ # NetworkX is optional
|
||||
+ pass
|
||||
+
|
||||
from .permmap import PermissionMap, RuleWeight, Mapping
|
||||
|
||||
# Domain Transition Analysis
|
||||
-from .dta import DomainTransitionAnalysis, DomainEntrypoint, DomainTransition
|
||||
+try:
|
||||
+ from .dta import DomainTransitionAnalysis, DomainEntrypoint, DomainTransition
|
||||
+except ImportError:
|
||||
+ # NetworkX is optional
|
||||
+ pass
|
||||
|
||||
# Policy difference
|
||||
from .diff import PolicyDifference
|
||||
--
|
||||
2.32.0
|
||||
|
@ -1,16 +0,0 @@
|
||||
--- a/setup.py 2021-03-17 22:56:42.016632635 +0000
|
||||
+++ b/setup.py 2021-03-17 23:02:33.625713629 +0000
|
||||
@@ -139,10 +139,10 @@ setup(name='setools',
|
||||
author_email='pebenito@ieee.org',
|
||||
url='https://github.com/SELinuxProject/setools',
|
||||
cmdclass={'build_qhc': QtHelpCommand, 'clean': CleanCommand},
|
||||
- packages=['setools', 'setools.checker', 'setools.diff', 'setoolsgui', 'setoolsgui.apol'],
|
||||
- scripts=['apol', 'sediff', 'seinfo', 'seinfoflow', 'sesearch', 'sedta', 'sechecker'],
|
||||
+ packages=['setools', 'setools.checker', 'setools.diff'],
|
||||
+ scripts=['sediff', 'seinfo', 'seinfoflow', 'sesearch', 'sedta', 'sechecker'],
|
||||
data_files=installed_data,
|
||||
- package_data={'': ['*.ui', '*.qhc', '*.qch'], 'setools': ['perm_map']},
|
||||
+ package_data={'setools': ['perm_map']},
|
||||
ext_modules=cythonize(ext_py_mods, include_path=['setools/policyrep'],
|
||||
annotate=cython_annotate,
|
||||
compiler_directives={"language_level": 3,
|
@ -1,55 +0,0 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="7"
|
||||
PYTHON_COMPAT=( python3_{9..11} )
|
||||
DISTUTILS_USE_SETUPTOOLS=rdepend
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Policy Analysis Tools for SELinux"
|
||||
HOMEPAGE="https://github.com/SELinuxProject/setools/wiki"
|
||||
|
||||
if [[ ${PV} == 9999 ]] ; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/SELinuxProject/setools.git"
|
||||
else
|
||||
SRC_URI="https://github.com/SELinuxProject/setools/releases/download/${PV}/${P}.tar.bz2"
|
||||
KEYWORDS="amd64 arm arm64 x86"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-2 LGPL-2.1"
|
||||
SLOT="0"
|
||||
IUSE="test infoflow X"
|
||||
RESTRICT="!test? ( test )"
|
||||
S="${WORKDIR}/${PN}"
|
||||
|
||||
RDEPEND="${PYTHON_DEPS}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
>=sys-libs/libsepol-3.2:=
|
||||
>=sys-libs/libselinux-3.2:=
|
||||
infoflow? ( >=dev-python/networkx-2.0[${PYTHON_USEDEP}] )
|
||||
X? (
|
||||
dev-python/PyQt5[gui,widgets,${PYTHON_USEDEP}]
|
||||
)"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="<dev-python/cython-3[${PYTHON_USEDEP}]
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
>=dev-python/networkx-2.0[${PYTHON_USEDEP}]
|
||||
sys-apps/checkpolicy
|
||||
)"
|
||||
|
||||
python_prepare_all() {
|
||||
sed -i "s/'-Werror', //" "${S}"/setup.py || die "failed to remove Werror"
|
||||
sed -i "s@^lib_dirs = .*@lib_dirs = ['${ROOT:-/}usr/$(get_libdir)']@" "${S}"/setup.py || \
|
||||
die "failed to set lib_dirs"
|
||||
|
||||
local PATCHES=( "${FILESDIR}"/0001-__init__.py-Make-NetworkX-dep-optional.patch )
|
||||
use X || PATCHES+=( "${FILESDIR}"/setools-4.4.0-remove-gui.patch )
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_test() {
|
||||
esetup.py test
|
||||
}
|
@ -1,60 +0,0 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="7"
|
||||
|
||||
PYTHON_COMPAT=( python3_{10..11} )
|
||||
DISTUTILS_EXT=1
|
||||
DISTUTILS_USE_SETUPTOOLS=rdepend
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Policy Analysis Tools for SELinux"
|
||||
HOMEPAGE="https://github.com/SELinuxProject/setools/wiki"
|
||||
|
||||
if [[ ${PV} == 9999 ]] ; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/SELinuxProject/setools.git"
|
||||
S="${WORKDIR}/${P}"
|
||||
else
|
||||
SRC_URI="https://github.com/SELinuxProject/setools/releases/download/${PV}/${P}.tar.bz2"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
|
||||
S="${WORKDIR}/${PN}"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-2 LGPL-2.1"
|
||||
SLOT="0"
|
||||
IUSE="test infoflow X"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="${PYTHON_DEPS}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
>=sys-libs/libsepol-3.2:=
|
||||
>=sys-libs/libselinux-3.2:=
|
||||
infoflow? ( >=dev-python/networkx-2.0[${PYTHON_USEDEP}] )
|
||||
X? (
|
||||
dev-python/PyQt5[gui,widgets,${PYTHON_USEDEP}]
|
||||
)"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND=">=dev-python/cython-0.27[${PYTHON_USEDEP}]
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
>=dev-python/networkx-2.0[${PYTHON_USEDEP}]
|
||||
sys-apps/checkpolicy
|
||||
)"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/0001-__init__.py-Make-NetworkX-dep-optional.patch
|
||||
"${FILESDIR}"/${P}-cython3.patch
|
||||
)
|
||||
|
||||
distutils_enable_tests setup.py
|
||||
|
||||
python_prepare_all() {
|
||||
sed -i "s/'-Werror', //" "${S}"/setup.py || die "failed to remove Werror"
|
||||
sed -i "s@^lib_dirs = .*@lib_dirs = ['${ROOT:-/}usr/$(get_libdir)']@" "${S}"/setup.py || \
|
||||
die "failed to set lib_dirs"
|
||||
|
||||
use X || PATCHES+=( "${FILESDIR}"/setools-4.4.0-remove-gui.patch )
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
@ -1,56 +0,0 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="7"
|
||||
PYTHON_COMPAT=( python3_{10..11} )
|
||||
DISTUTILS_USE_SETUPTOOLS=rdepend
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Policy Analysis Tools for SELinux"
|
||||
HOMEPAGE="https://github.com/SELinuxProject/setools/wiki"
|
||||
|
||||
if [[ ${PV} == 9999 ]] ; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/SELinuxProject/setools.git"
|
||||
S="${WORKDIR}/${P}"
|
||||
else
|
||||
SRC_URI="https://github.com/SELinuxProject/setools/releases/download/${PV}/${P}.tar.bz2"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
|
||||
S="${WORKDIR}/${PN}"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-2 LGPL-2.1"
|
||||
SLOT="0"
|
||||
IUSE="test infoflow X"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="${PYTHON_DEPS}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
>=sys-libs/libsepol-3.2:=
|
||||
>=sys-libs/libselinux-3.2:=
|
||||
infoflow? ( >=dev-python/networkx-2.0[${PYTHON_USEDEP}] )
|
||||
X? (
|
||||
dev-python/PyQt5[gui,widgets,${PYTHON_USEDEP}]
|
||||
)"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND=">=dev-python/cython-0.27[${PYTHON_USEDEP}]
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
>=dev-python/networkx-2.0[${PYTHON_USEDEP}]
|
||||
sys-apps/checkpolicy
|
||||
)"
|
||||
|
||||
python_prepare_all() {
|
||||
sed -i "s/'-Werror', //" "${S}"/setup.py || die "failed to remove Werror"
|
||||
sed -i "s@^lib_dirs = .*@lib_dirs = ['${ROOT:-/}usr/$(get_libdir)']@" "${S}"/setup.py || \
|
||||
die "failed to set lib_dirs"
|
||||
|
||||
PATCHES=( "${FILESDIR}"/0001-__init__.py-Make-NetworkX-dep-optional.patch )
|
||||
use X || PATCHES+=( "${FILESDIR}"/setools-4.4.0-remove-gui.patch )
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_test() {
|
||||
esetup.py test
|
||||
}
|
@ -1,4 +1,3 @@
|
||||
DIST sxid-4.2.tar.gz 41827 BLAKE2B c436ffd1b05306508c0ab0e4236cb3968d4456ae0686357a3a2c2a587fdbdaf8e760d5ff8198188c23854b080a91a35fc27a9717ab28f6907deb887a7b455cea SHA512 ed2832a0ffa89a41eba39e116122878b830c46ee7bfb906652606cff61fe16bc28ab6e6b4a802cc2436d9b3a7bdd734a827f007e6f1ce14ca84a9015d3a37a69
|
||||
EBUILD sxid-4.2-r2.ebuild 818 BLAKE2B a4d7c7526543af0f2b4412a5fbd8d48df1f622d11ce45b7f773832918ec818c9bc3816d1a34dc608fb7f6d102cd22b3b8866b60b2bd98570fdff19d7c00e5c73 SHA512 97692d6ea1a14679557791fb94679e3b72fc64ca41dbffbe43241e40557f5187896b65ecbf6b9598a5bd23890ca4fdfc09c9c9c44f9569c1d91f98a8d00b2865
|
||||
EBUILD sxid-4.2-r3.ebuild 882 BLAKE2B f53afd36efbc94f96e4dfc96efef9378ba591af080acfccaecf3c2b5eb55db57904b98a455856d100ee80218437422c1cac92481db04f3992266f2e5de8be1ba SHA512 8ed148556e36ab19cb31da79d0e1f7cd7e17991345303d61a5d0f70f05e21575b212d1e621df6e700810510dc86b9dae3fa40b25752b0a21532bfd47ad9cb365
|
||||
EBUILD sxid-4.2-r3.ebuild 881 BLAKE2B 7bae6572f2beae076ab7775ecc7fa77002e5aad43d520c4b92675eac466a59cc62403d6fda3728aebd98c006f035683f4a89e5017f420d761996a7541a4c7a37 SHA512 edf8555ab747fe13ab8665b1a6f139c7b2f6a4648a540e99f30319c6b1b0ff9b14b7e4c5894008b077bfca352d3242d4eaef379c4c974e8fbccec2d48040630a
|
||||
MISC metadata.xml 242 BLAKE2B 28b070032e8f2246f59bd293e4532f476be22498928b7cff399446ac31594f29432e4578cbc86750fc92b1c7bdffc040086e60aea5791456cc3a0d41f15cfb51 SHA512 9d92e613111f8de98ea05cc6e64fe1bc2078ddb8838200d4b8068ffd35811dba14125be3023503601539b84ddf3fd41d247a551df7e945da35a26ff33a1d07b9
|
||||
|
@ -1,36 +0,0 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit autotools
|
||||
|
||||
DESCRIPTION="suid, sgid file and directory checking"
|
||||
HOMEPAGE="http://linukz.org/sxid.shtml https://github.com/taem/sxid"
|
||||
SRC_URI="http://linukz.org/download/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ppc x86"
|
||||
IUSE="selinux"
|
||||
|
||||
RDEPEND="
|
||||
virtual/mailx
|
||||
selinux? ( sec-policy/selinux-sxid )
|
||||
"
|
||||
|
||||
DOCS=( docs/sxid.{conf,cron}.example )
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
# this is an admin application and really requires root to run correctly
|
||||
# we need to move the binary to the sbin directory
|
||||
sed -i s/bindir/sbindir/g source/Makefile.in || die
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog
|
||||
elog "You will need to configure sxid.conf for your system using the manpage and example"
|
||||
elog
|
||||
}
|
Binary file not shown.
@ -1,5 +1,5 @@
|
||||
DIST dar-2.7.10.tar.gz 2418752 BLAKE2B 31365e900cdcd89c297f78953e82d7288cec524cc3f01a71f659a4e0238797d72c0c629d6fcfad00fa7bdaae1b846d86daa50c7857b13cac0ffac9e98bc398ef SHA512 3b75f06013d13f315280625b3ebf147e833b91164646f271ff81aa0961b788eb12a4dc6a743bbd8de4c7347bad03f2372fd8f5c038d0a83d45f3479cdba4cece
|
||||
DIST dar-2.7.12.tar.gz 2421683 BLAKE2B 3dc5fc362dbdc47acef33a57c07b21bb2e1cd197bb3475ecf27cf2cb8b54f13a962a386a8e472fc53e3069bbc6acc549e66fadafd1572cbba93eb41f1d493661 SHA512 55b4215da23ca63de479ab34f0d50e4eeb13548891e537702971ec6fc6e6a19e44282a6a711549f468abd507bc1d67f9df08fb76b4b5208c6e8843b3042d5ad2
|
||||
DIST dar-2.7.13.tar.gz 2425559 BLAKE2B 321a43b04553505279de6f6b27e332883f4209bbe81e24c418188f028b7ba7a794d4e0f510f2c6a22a57fbdbc0501d4fcf7201aadb8cca3e65c6649bff7cfedf SHA512 e7a4bd89ccefaca1d9251d05c39e80f9861b8154f414cd578ba98c3cf3a9f945738c6225fd007b5e73c2d7c2e4abe547e9a2e2deec2cb7e0ec5860603add64fb
|
||||
EBUILD dar-2.7.10.ebuild 2288 BLAKE2B a2116d8ec41d1dc7ea15e57509cb5b02e1f597c4b3e94298b9ce089043574fbf6f5afe0ea518b654f491ab33e59f2ceb4e226e1db975c411ff51c5fab2bb2058 SHA512 f36966ab6bb6c9dca8b1576733acc0c8232725dc87a94a28364f33abd792e50be11e7bea8c8d783c9f648fab7398016796d6571ab600265b3985f1d199e3949d
|
||||
EBUILD dar-2.7.12.ebuild 2292 BLAKE2B fad7a901244d5c64b8cc3fbb2f9c48906ca72f155b0679d5666dfdcf644b52d5991ce79410aaece620b5951f10f2af9a2a5de95d24052bada11fa6f9baa93b01 SHA512 c3cf9615ad174363cf81bb32f8331c4014c0d05b02d8eeb1b6a30d6423d5bab6af96672ebd20a36f8dc3940a598340d132a0a264713ac9c17a257a904cf522cb
|
||||
EBUILD dar-2.7.13.ebuild 2316 BLAKE2B 31f0ed243e57adf1601f5f8f081d358a31d68856fa7c6b37801d939c7cddd96c1b095e1d63b07304ac4aa9657b024d0350a5e7b5726901ba1eddf7634a7fec6e SHA512 19307683d3a2ed156cfc83ebe3d42c4f2704310fe913cf7752ac5d63eb800ed2a5b77ce343db9f635d92417d26588a448af4eeb48bb55e9046c0db3499b35832
|
||||
MISC metadata.xml 1180 BLAKE2B d978c1b969e7aeb013862c6b76ceb7b466af7b0a16d334bfbaafcdb49e13b4f07727073ff8a24da0f0422161f48805310b8ed7c0cc97b07190b241ad77cec254 SHA512 f8107b5f81d0d00a1873089b084250c98094625274b9c01f8ca11f6dcfa890278ec89d039849c203ccccc8115d54ee3f9365d9f6afc38cb3411f6292c62c11c0
|
||||
|
Binary file not shown.
Binary file not shown.
@ -1,3 +0,0 @@
|
||||
DIST edict-2.6.tar.gz 51300 BLAKE2B dd074c4b4d771921c21cc63e3960951ff6e62e8485ee2a9e967751670562e29ae434d7a2a79886797093f315bdba2134f7d45c024a0657c4a53314d96c66fbce SHA512 03a9977df6d150e7e99805f8dc5f62e1f6d84360d79684210a4cbd8105ccf541777513c99bf77934a9b8e26e4aad8d88b84146b165d9e1a21dff80587f900677
|
||||
EBUILD edictionary-2.6-r1.ebuild 581 BLAKE2B f682e7210f93213f9cf4cbd33825f12fbe6a5d51f0d05d766d47ebca6e44af725b494f3d4e3f2581e3fe9fa4c6fa770531aac644e382664385bce860930d8aa6 SHA512 2a1ae74d9f5317a9a11de43e28cd2ee1b4822ff8078aecf4b4cb4fe48948252255b8d89647340e3356046c42b98b92fdf7ea2be69195df2c63ff4d1677af74ba
|
||||
MISC metadata.xml 249 BLAKE2B 5b0c697072100648e906ad3a8545f94137d387e91fa2ab9072ffbff36055a368d5927598cfddfd430154d2d32b6b22a4aab3a4f240789b486256e21f9bc1828c SHA512 66dfe865fd98f80414f9b0dd81be31f6896083f0df7af08d04d33f9a62f5ba484aa97bc76eef483ee06c3b77dd418fc8420f11ef6ff4fbd792a0e0a0ffe142ae
|
@ -1,26 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
MY_PN="edict"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
|
||||
DESCRIPTION="Command line dictionary and thesaurus"
|
||||
HOMEPAGE="http://edictionary.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~riscv ~s390 ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=""
|
||||
DEPEND="dev-lang/perl"
|
||||
|
||||
S="${WORKDIR}/${MY_PN}"
|
||||
|
||||
src_install() {
|
||||
make prefix="${ED}/usr/bin" install
|
||||
dodoc Changelog ReleaseNotes README TODO
|
||||
}
|
@ -1,8 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<!-- maintainer-needed -->
|
||||
<upstream>
|
||||
<remote-id type="sourceforge">edictionary</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
Binary file not shown.
@ -1,11 +1,15 @@
|
||||
DIST python-2.7.18-docs-html.tar.bz2 4634932 BLAKE2B c48e2dede15d8186231acf65709641e0844c42e924262d6ee21a55e515aaf4d023bf394681bab780ab83998de9f409685e2d5870506810432145acc6422eff9d SHA512 db39390577ec86f13c9b6b57c01cba36fe9fd89092a773dc94f1a6a19d912759d097c4d80e765d3657b572abc731c1da9e7b4cd4c38065cd444606b906744abe
|
||||
DIST python-3.10.13-docs-html.tar.bz2 7429989 BLAKE2B 7ddd11dbc4012cebf2f5980653b761ee35b986b75d96d582800f84e4c371aee4b82fcc2001c744e7f14991e766b0930a9ef4cb46869544e0aa403e513c4bd418 SHA512 be2cb6a2ece7849b1c259e9d86b7cf5e2a91c30a976b155c4055fc229d35a1762a90321a6227e890b6d5be51ab3377b9059b9662eed683933ec676fc2dc5f9a9
|
||||
DIST python-3.11.5-docs-html.tar.bz2 7861520 BLAKE2B ed43fba98f8446b758c1d81ccd4af297232499b666045d6b9b4190d33871e0fbb4e6e166783d54e923b02694a49bdfd791664c7bcab1392ab86254c45d9fe81d SHA512 911a70145aa919687982b9fb34fc0cedafcf654cf3f1e6908a6077d27718aedabc923ea49648d453584f7a7171138e19c1a99f32cb8d41731e5d9c50dc30df2d
|
||||
DIST python-3.11.6-docs-html.tar.bz2 7881012 BLAKE2B b20cb04dc32d6eacc904aaf3505a919c6a17dce9105899632571574e734c42693ce5f469bb5f2194bcc16eb4458b6df382c5b4fd24b398f21660c6388b87702a SHA512 a0b118ea3d8f17e5c0a4abec353bc8fd04603db2da51375272e164f8c93be7e3a992eaac3d256a9d05c2db26f830e4b4add40cdb2e1108b936ff4d358cbbb40c
|
||||
DIST python-3.12.0-docs-html.tar.bz2 8200382 BLAKE2B e322d9c18a5a0af4b17ab7a670def1e6aa8f3022d37bd190d49bef1780a71371c6abcf5d9cf81b22a08d4115857e3caa6e8200bbf9b2f5f486f13cbef7366eac SHA512 4fa12af1d1280455063e7c37b479136483478296bcc99302b0bdd4696a84cee82456d1de37cc378fede97f3681bc75ffa535034da5bb76e86d01cb283c425733
|
||||
DIST python-3.8.18-docs-html.tar.bz2 6729312 BLAKE2B 431b8d5029d09fc2f54fdc998799298ccb6571a68c735320c95469a81e62bc7c2a9ec0ec11caa9886ad6a2d643b8d715e6866c398ec153d101b16efb85cda656 SHA512 80bdbec04355644f4b114e74da3334b4980d783a52ac8c999ede72f39b6137d94f1aaca248a386cfa02d778a10bdd7919ad82932f0aa000b16c102c8cee67e52
|
||||
DIST python-3.9.18-docs-html.tar.bz2 7023072 BLAKE2B 92273a711cc8c2a35104f7c35bdca50ee0e9794c72aa14e9c4e613298dd6f2ecebbe977a35f1520a8585f1ea3112e8ea8e477c0e3503b025b6cec875fe40033e SHA512 d123266c72db81703c386dc0d436243a36996c39cde382939cebea31ff7a0c049470daa27efc34a3a0d55310bc6fe489ba01572ca961f67ba7a098038f2cb5af
|
||||
EBUILD python-docs-2.7.18.ebuild 627 BLAKE2B 5e44a7966eb23113adf482d53f128930255316f9e9ae7d9e9e6fad37cdcbab6fdc105a98cc3f6eb82647e8022fd0a074f9b207823d3616c9e08602f1cc524692 SHA512 6af9153b2d6a7a1573a114c9ce2e8fc2afd801405a38d60cb70312f0adfe50684c5e05c1382ab4215ae99ae94c21ababcd6d40e16e0fb1e6819282100d1fb0da
|
||||
EBUILD python-docs-3.10.13.ebuild 627 BLAKE2B 5e44a7966eb23113adf482d53f128930255316f9e9ae7d9e9e6fad37cdcbab6fdc105a98cc3f6eb82647e8022fd0a074f9b207823d3616c9e08602f1cc524692 SHA512 6af9153b2d6a7a1573a114c9ce2e8fc2afd801405a38d60cb70312f0adfe50684c5e05c1382ab4215ae99ae94c21ababcd6d40e16e0fb1e6819282100d1fb0da
|
||||
EBUILD python-docs-3.11.5.ebuild 627 BLAKE2B 5e44a7966eb23113adf482d53f128930255316f9e9ae7d9e9e6fad37cdcbab6fdc105a98cc3f6eb82647e8022fd0a074f9b207823d3616c9e08602f1cc524692 SHA512 6af9153b2d6a7a1573a114c9ce2e8fc2afd801405a38d60cb70312f0adfe50684c5e05c1382ab4215ae99ae94c21ababcd6d40e16e0fb1e6819282100d1fb0da
|
||||
EBUILD python-docs-3.11.6.ebuild 635 BLAKE2B 1fc0f16e350547451331c1e6c22c98b14d844191e6f673f3e5f76201b5ab2bb4969201b0903459e5af2fba6ddf81f6e9b63d19d98a7d1a801bb29db6e988994e SHA512 a00c6816470eaa17405cbfec2fc0582490c4945d14753ec99fcfafc152e96a04f6b7955201630cedc8f9221ae0bbcf938ec79c63c015ae152da04ed015a3d670
|
||||
EBUILD python-docs-3.12.0.ebuild 635 BLAKE2B 1fc0f16e350547451331c1e6c22c98b14d844191e6f673f3e5f76201b5ab2bb4969201b0903459e5af2fba6ddf81f6e9b63d19d98a7d1a801bb29db6e988994e SHA512 a00c6816470eaa17405cbfec2fc0582490c4945d14753ec99fcfafc152e96a04f6b7955201630cedc8f9221ae0bbcf938ec79c63c015ae152da04ed015a3d670
|
||||
EBUILD python-docs-3.8.18.ebuild 627 BLAKE2B 5e44a7966eb23113adf482d53f128930255316f9e9ae7d9e9e6fad37cdcbab6fdc105a98cc3f6eb82647e8022fd0a074f9b207823d3616c9e08602f1cc524692 SHA512 6af9153b2d6a7a1573a114c9ce2e8fc2afd801405a38d60cb70312f0adfe50684c5e05c1382ab4215ae99ae94c21ababcd6d40e16e0fb1e6819282100d1fb0da
|
||||
EBUILD python-docs-3.9.18.ebuild 627 BLAKE2B 5e44a7966eb23113adf482d53f128930255316f9e9ae7d9e9e6fad37cdcbab6fdc105a98cc3f6eb82647e8022fd0a074f9b207823d3616c9e08602f1cc524692 SHA512 6af9153b2d6a7a1573a114c9ce2e8fc2afd801405a38d60cb70312f0adfe50684c5e05c1382ab4215ae99ae94c21ababcd6d40e16e0fb1e6819282100d1fb0da
|
||||
MISC metadata.xml 265 BLAKE2B 369a57fab1283b596588a82815bfe567fe7617b5c0cb17e97f6694beefdd1e932b0d9ffc1fcb23c6ef05b33d97b3c1d1bb3960618ffdf4924c4ebad262794282 SHA512 a682dac348f2d95b986749f4d33e5702c1e8f66cf2ff7a32a5c2a8d388ddbfde2919d97345028c2007415368d395c7cf657184be89f7def27c949f1af5c30170
|
||||
|
@ -0,0 +1,23 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
DESCRIPTION="HTML documentation for Python"
|
||||
HOMEPAGE="https://www.python.org/doc/"
|
||||
SRC_URI="https://www.python.org/ftp/python/doc/${PV}/python-${PV}-docs-html.tar.bz2"
|
||||
S="${WORKDIR}/python-${PV}-docs-html"
|
||||
|
||||
LICENSE="PSF-2"
|
||||
SLOT="$(ver_cut 1-2)"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
|
||||
|
||||
src_install() {
|
||||
rm -r _sources || die
|
||||
docinto html
|
||||
dodoc -r .
|
||||
|
||||
newenvd - 60python-docs-${SLOT} <<-EOF
|
||||
PYTHONDOCS_${SLOT//./_}="${EPREFIX}/usr/share/doc/${PF}/html/library"
|
||||
EOF
|
||||
}
|
@ -0,0 +1,23 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
DESCRIPTION="HTML documentation for Python"
|
||||
HOMEPAGE="https://www.python.org/doc/"
|
||||
SRC_URI="https://www.python.org/ftp/python/doc/${PV}/python-${PV}-docs-html.tar.bz2"
|
||||
S="${WORKDIR}/python-${PV}-docs-html"
|
||||
|
||||
LICENSE="PSF-2"
|
||||
SLOT="$(ver_cut 1-2)"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
|
||||
|
||||
src_install() {
|
||||
rm -r _sources || die
|
||||
docinto html
|
||||
dodoc -r .
|
||||
|
||||
newenvd - 60python-docs-${SLOT} <<-EOF
|
||||
PYTHONDOCS_${SLOT//./_}="${EPREFIX}/usr/share/doc/${PF}/html/library"
|
||||
EOF
|
||||
}
|
Binary file not shown.
@ -0,0 +1,112 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit desktop pax-utils xdg optfeature
|
||||
|
||||
DESCRIPTION="Multiplatform Visual Studio Code from Microsoft"
|
||||
HOMEPAGE="https://code.visualstudio.com"
|
||||
SRC_URI="
|
||||
amd64? ( https://update.code.visualstudio.com/${PV}/linux-x64/stable -> ${P}-amd64.tar.gz )
|
||||
arm? ( https://update.code.visualstudio.com/${PV}/linux-armhf/stable -> ${P}-arm.tar.gz )
|
||||
arm64? ( https://update.code.visualstudio.com/${PV}/linux-arm64/stable -> ${P}-arm64.tar.gz )
|
||||
"
|
||||
S="${WORKDIR}"
|
||||
|
||||
RESTRICT="mirror strip bindist"
|
||||
|
||||
LICENSE="
|
||||
Apache-2.0
|
||||
BSD
|
||||
BSD-1
|
||||
BSD-2
|
||||
BSD-4
|
||||
CC-BY-4.0
|
||||
ISC
|
||||
LGPL-2.1+
|
||||
Microsoft-vscode
|
||||
MIT
|
||||
MPL-2.0
|
||||
openssl
|
||||
PYTHON
|
||||
TextMate-bundle
|
||||
Unlicense
|
||||
UoI-NCSA
|
||||
W3C
|
||||
"
|
||||
SLOT="0"
|
||||
KEYWORDS="-* ~amd64 ~arm ~arm64"
|
||||
IUSE="kerberos"
|
||||
|
||||
RDEPEND="
|
||||
>=app-accessibility/at-spi2-core-2.46.0:2
|
||||
app-crypt/libsecret[crypt]
|
||||
dev-libs/expat
|
||||
dev-libs/glib:2
|
||||
dev-libs/nspr
|
||||
dev-libs/nss
|
||||
media-libs/alsa-lib
|
||||
media-libs/mesa
|
||||
sys-apps/util-linux
|
||||
sys-apps/dbus
|
||||
x11-libs/cairo
|
||||
x11-libs/gdk-pixbuf:2
|
||||
x11-libs/gtk+:3
|
||||
x11-libs/libdrm
|
||||
x11-libs/libX11
|
||||
x11-libs/libxcb
|
||||
x11-libs/libXcomposite
|
||||
x11-libs/libXdamage
|
||||
x11-libs/libXext
|
||||
x11-libs/libXfixes
|
||||
x11-libs/libxkbcommon
|
||||
x11-libs/libxkbfile
|
||||
x11-libs/libXrandr
|
||||
x11-libs/libxshmfence
|
||||
x11-libs/pango
|
||||
kerberos? ( app-crypt/mit-krb5 )
|
||||
"
|
||||
|
||||
QA_PREBUILT="*"
|
||||
|
||||
src_install() {
|
||||
if use amd64; then
|
||||
cd "${WORKDIR}/VSCode-linux-x64" || die
|
||||
elif use arm; then
|
||||
cd "${WORKDIR}/VSCode-linux-armhf" || die
|
||||
elif use arm64; then
|
||||
cd "${WORKDIR}/VSCode-linux-arm64" || die
|
||||
else
|
||||
die "Visual Studio Code only supports amd64, arm and arm64"
|
||||
fi
|
||||
|
||||
# Cleanup
|
||||
rm -r ./resources/app/ThirdPartyNotices.txt || die
|
||||
|
||||
# Disable update server
|
||||
sed -e "/updateUrl/d" -i ./resources/app/product.json || die
|
||||
|
||||
if ! use kerberos; then
|
||||
rm -r ./resources/app/node_modules.asar.unpacked/kerberos || die
|
||||
fi
|
||||
|
||||
# Install
|
||||
pax-mark m code
|
||||
mkdir -p "${ED}/opt/${PN}" || die
|
||||
cp -r . "${ED}/opt/${PN}" || die
|
||||
fperms 4711 /opt/${PN}/chrome-sandbox
|
||||
|
||||
dosym -r "/opt/${PN}/bin/code" "usr/bin/vscode"
|
||||
dosym -r "/opt/${PN}/bin/code" "usr/bin/code"
|
||||
domenu "${FILESDIR}/vscode.desktop"
|
||||
domenu "${FILESDIR}/vscode-url-handler.desktop"
|
||||
domenu "${FILESDIR}/vscode-wayland.desktop"
|
||||
domenu "${FILESDIR}/vscode-url-handler-wayland.desktop"
|
||||
newicon "resources/app/resources/linux/code.png" "vscode.png"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_pkg_postinst
|
||||
optfeature "keyring support inside vscode" "virtual/secret-service"
|
||||
}
|
Binary file not shown.
@ -1,5 +1,5 @@
|
||||
DIST apel-10.8_p20201106.tar.gz 69188 BLAKE2B e0107968349fe73325503a61fbc9ada83d657f2ca66a39ae2ea833543277f536d22371e371e17dc4307380e738491e20ec0b7b52a35207f49e37fa65c66f3ab1 SHA512 fb14570d6d4f2346d386ae0012cfb9149ddf9ade8b4dc75507e6cef848d12ef65f80bd7d1dc26815031aee00461d67d4a86fe29e30d5d542756e725425634c77
|
||||
DIST apel-10.8_p20220721.tar.gz 69181 BLAKE2B b7c36d4bec2f1a544cbf2e15c5ceb8968912e63dc7c4d68cf14d3f0a2646d7031c1595f8dd3f1e7622f8816a1c1b934b0987275ca4e05bcc3c770443f5db88ad SHA512 4d384cbc7989e1d1db4e4b735474d610e241ec4f551bcde73fa3a9771d1d1094f489bd5de328a9b5b66468bd64b52b3220a261735a646b4ea8818a29b3837be5
|
||||
EBUILD apel-10.8_p20201106.ebuild 954 BLAKE2B 50012ee3709907f330343f8d998d8bc632334ed56fcdae0795e1818bb1621593783cc2780e2ddb629e14c518ef4214dd840acd8fc0935ab42d67212a618de34d SHA512 7db689a9dfb7fa0846c660fb04f7efa9e91f83e8d154cd3edfeebff5c9ab401b7649838e162267a01728dd2995264ffa134b37156f342c0369838933118cc3b2
|
||||
EBUILD apel-10.8_p20220721.ebuild 959 BLAKE2B 85a8cd9dd91b9e231a2df081dd364159e77d1d1fbbff268eb87794cd5b0888a61fd5eb977bb0c7c4a68e53ee7875d415487adbe13dea71afb1ac75c3bc364c4b SHA512 31197e2381bf4f6eccad47b5558a26d7f8635c341f5ede900c4b139b1e9626791a2a4c48e93d44b239398eca8dd790ad075c0de620767333a95d3632921d3dd5
|
||||
EBUILD apel-10.8_p20220721.ebuild 954 BLAKE2B 7351197213b20ebcaaa2043a24f4b3d3f4f50e6cf5eea053b4da236988e0c8720bbd5da26258e82431022cb0d40e5ebaac61636987e5ac58f811d36c8f4fcd00 SHA512 07c583500f9eb8550c5d443632cab449dc3acb50e992408faa25e43864d611ef9d3c76d1325777e4d2ed3d0a3e07d53fb762683f7a58245ca41bdc9a527da3ad
|
||||
MISC metadata.xml 361 BLAKE2B 3e4c9a8de61a82c7cd446a5cb14a195fc66eabf8e8736f93c89dba313f414530c46bb0e780228659a482b374341ce8f6e720386d409b6c9cb1fa7fe56f37d5c6 SHA512 c8ca0ac2424e63f4177a6909d5dcfa6d854df28fddea2942c7221c887c83cf28062536d774a627aa99a97ab89ab4f9fd677ddf830fb633078e1b12bdbbd850d1
|
||||
|
@ -1,6 +1,6 @@
|
||||
DIST transient-0.4.1.tar.gz 128614 BLAKE2B 407ae76f113e850dfc8235764a6b020c7cd94d6361bda3446024ec0bcc2f190f5b90e6d773350e7d84e5574a592503d097bf8e9cc3209c5993a1c2b37f9a442d SHA512 13e258818db5527f86ff02765e9b288a1944026255c660cfc151ba0c1ead22c6d36c6ec3d3129cff8ef62c2953288a6d588d595fa61d5972cfa465cc8248c64f
|
||||
DIST transient-0.4.3.tar.gz 129365 BLAKE2B d07fb5cb6586950bd3561b2a7f77b6458db58531e7735d203dabbfd292facaf44af850de4f4824f6335f41afcf79d03c0291d31af31b84b4118ffb8cae996f2a SHA512 afa2f75a0d4d6d45af1e36f155371dad6a966073cbab9a3858eec020458530d21a34860b88ec4d1e1e93570675b9df6d5692ed8f8a1903478ee5085c9d2d039a
|
||||
EBUILD transient-0.4.1.ebuild 799 BLAKE2B cc94003c4faef2605ef69825a6b40255949b6cfc1b0ee388cd8d1ed46016e660f804fe924f03c6cf1ecbc73f89b12e52f826cbf584a7424056a8c0d7881998ca SHA512 f736992c286f02b37066b72f1c2bfedecf41d66734eed2914a89da4439c1e010f0848218b545eb403d40e52756b3cc0cd23c3b62d18bad6a0e46ef1735b9a7ea
|
||||
EBUILD transient-0.4.3.ebuild 801 BLAKE2B 867d8669827501e75bc635a20753c0333474f48aa966cacbae169c958ff461bcb6561ac02c5a7d257196bcfae535674aaae11e3ed6f5d2f364016246c2099cc7 SHA512 21e6ca1341c0f3f80254dd38281e1d389e358c49b56677f16b6c96dde6209fa64738385d243eee48129e628a121e573e07013830f0e5d79b176c620d0c1d87e3
|
||||
EBUILD transient-0.4.3.ebuild 799 BLAKE2B cc94003c4faef2605ef69825a6b40255949b6cfc1b0ee388cd8d1ed46016e660f804fe924f03c6cf1ecbc73f89b12e52f826cbf584a7424056a8c0d7881998ca SHA512 f736992c286f02b37066b72f1c2bfedecf41d66734eed2914a89da4439c1e010f0848218b545eb403d40e52756b3cc0cd23c3b62d18bad6a0e46ef1735b9a7ea
|
||||
EBUILD transient-9999.ebuild 794 BLAKE2B 562b327a7f3755266b154a947ed356dfc53e6cec857829e560028c594aefe8bce170062756eabe9ae3406a0b40a0cc8ef8e41fc5f77074cf9e7e7f37fc6c0c01 SHA512 52c14825987d0aa2d3e651fa0e0401f4bc3e4d05037ea20c3715e8846e579d30c8ed12ff018228326b614d244fcca04eb4e9b58784851b1025b6c14a5e81933a
|
||||
MISC metadata.xml 1434 BLAKE2B 6f7f91e2cd8c87559f15552d6fbe920e5262a50f21919a096af55df037726eb380a774cfba8be73b588ba9aa2c39da5caf6ad64a31106b843c6bd308fe7aa40e SHA512 3316d9ac21d2a2aa0a5824f2c8ded736ad1bfcd7319a9c4cb8b02f0ffec5f440820bfe48e4f4d4264fbc3864bd7959875f1396285b6a7eb2ad3333a6a062a14f
|
||||
|
Binary file not shown.
@ -0,0 +1,457 @@
|
||||
# Copyright 2022-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
MULTILIB_COMPAT=( abi_x86_{32,64} )
|
||||
PYTHON_COMPAT=( python3_{10..12} )
|
||||
inherit autotools edo flag-o-matic multilib multilib-build
|
||||
inherit prefix python-any-r1 toolchain-funcs wrapper
|
||||
|
||||
WINE_GECKO=2.47.4
|
||||
WINE_MONO=8.0.0
|
||||
WINE_P=wine-$(ver_cut 1-2)
|
||||
|
||||
if [[ ${PV} == *9999 ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://gitlab.winehq.org/wine/wine-staging.git"
|
||||
WINE_EGIT_REPO_URI="https://gitlab.winehq.org/wine/wine.git"
|
||||
else
|
||||
(( $(ver_cut 2) )) && WINE_SDIR=$(ver_cut 1).x || WINE_SDIR=$(ver_cut 1).0
|
||||
SRC_URI="
|
||||
https://dl.winehq.org/wine/source/${WINE_SDIR}/${WINE_P}.tar.xz
|
||||
https://github.com/wine-staging/wine-staging/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="-* ~amd64 ~x86"
|
||||
fi
|
||||
S="${WORKDIR}/${WINE_P}"
|
||||
|
||||
DESCRIPTION="Free implementation of Windows(tm) on Unix, with Wine-Staging patchset"
|
||||
HOMEPAGE="
|
||||
https://wiki.winehq.org/Wine-Staging
|
||||
https://gitlab.winehq.org/wine/wine-staging/"
|
||||
|
||||
LICENSE="LGPL-2.1+ BSD-2 IJG MIT OPENLDAP ZLIB gsm libpng2 libtiff"
|
||||
SLOT="${PV}"
|
||||
IUSE="
|
||||
+X +abi_x86_32 +abi_x86_64 +alsa capi crossdev-mingw cups dos
|
||||
llvm-libunwind custom-cflags +fontconfig +gecko gphoto2 +gstreamer
|
||||
kerberos +mingw +mono netapi nls opencl +opengl osmesa pcap perl
|
||||
pulseaudio samba scanner +sdl selinux smartcard +ssl +strip
|
||||
+truetype udev udisks +unwind usb v4l +vulkan wayland wow64
|
||||
+xcomposite xinerama"
|
||||
# bug #551124 for truetype
|
||||
# TODO: wow64 can be done without mingw if using clang (needs bug #912237)
|
||||
REQUIRED_USE="
|
||||
X? ( truetype )
|
||||
crossdev-mingw? ( mingw )
|
||||
wow64? ( abi_x86_64 !abi_x86_32 mingw )"
|
||||
|
||||
# tests are non-trivial to run, can hang easily, don't play well with
|
||||
# sandbox, and several need real opengl/vulkan or network access
|
||||
RESTRICT="test"
|
||||
|
||||
# `grep WINE_CHECK_SONAME configure.ac` + if not directly linked
|
||||
WINE_DLOPEN_DEPEND="
|
||||
X? (
|
||||
x11-libs/libXcursor[${MULTILIB_USEDEP}]
|
||||
x11-libs/libXfixes[${MULTILIB_USEDEP}]
|
||||
x11-libs/libXi[${MULTILIB_USEDEP}]
|
||||
x11-libs/libXrandr[${MULTILIB_USEDEP}]
|
||||
x11-libs/libXrender[${MULTILIB_USEDEP}]
|
||||
x11-libs/libXxf86vm[${MULTILIB_USEDEP}]
|
||||
opengl? (
|
||||
media-libs/libglvnd[X,${MULTILIB_USEDEP}]
|
||||
osmesa? ( media-libs/mesa[osmesa,${MULTILIB_USEDEP}] )
|
||||
)
|
||||
xcomposite? ( x11-libs/libXcomposite[${MULTILIB_USEDEP}] )
|
||||
xinerama? ( x11-libs/libXinerama[${MULTILIB_USEDEP}] )
|
||||
)
|
||||
cups? ( net-print/cups[${MULTILIB_USEDEP}] )
|
||||
fontconfig? ( media-libs/fontconfig[${MULTILIB_USEDEP}] )
|
||||
kerberos? ( virtual/krb5[${MULTILIB_USEDEP}] )
|
||||
netapi? ( net-fs/samba[${MULTILIB_USEDEP}] )
|
||||
sdl? ( media-libs/libsdl2[haptic,joystick,${MULTILIB_USEDEP}] )
|
||||
ssl? ( net-libs/gnutls:=[${MULTILIB_USEDEP}] )
|
||||
truetype? ( media-libs/freetype[${MULTILIB_USEDEP}] )
|
||||
udisks? ( sys-apps/dbus[${MULTILIB_USEDEP}] )
|
||||
v4l? ( media-libs/libv4l[${MULTILIB_USEDEP}] )
|
||||
vulkan? ( media-libs/vulkan-loader[${MULTILIB_USEDEP}] )"
|
||||
WINE_COMMON_DEPEND="
|
||||
${WINE_DLOPEN_DEPEND}
|
||||
X? (
|
||||
x11-libs/libX11[${MULTILIB_USEDEP}]
|
||||
x11-libs/libXext[${MULTILIB_USEDEP}]
|
||||
)
|
||||
alsa? ( media-libs/alsa-lib[${MULTILIB_USEDEP}] )
|
||||
capi? ( net-libs/libcapi:=[${MULTILIB_USEDEP}] )
|
||||
gphoto2? ( media-libs/libgphoto2:=[${MULTILIB_USEDEP}] )
|
||||
gstreamer? (
|
||||
dev-libs/glib:2[${MULTILIB_USEDEP}]
|
||||
media-libs/gst-plugins-base:1.0[${MULTILIB_USEDEP}]
|
||||
media-libs/gstreamer:1.0[${MULTILIB_USEDEP}]
|
||||
)
|
||||
opencl? ( virtual/opencl[${MULTILIB_USEDEP}] )
|
||||
pcap? ( net-libs/libpcap[${MULTILIB_USEDEP}] )
|
||||
pulseaudio? ( media-libs/libpulse[${MULTILIB_USEDEP}] )
|
||||
scanner? ( media-gfx/sane-backends[${MULTILIB_USEDEP}] )
|
||||
smartcard? ( sys-apps/pcsc-lite[${MULTILIB_USEDEP}] )
|
||||
udev? ( virtual/libudev:=[${MULTILIB_USEDEP}] )
|
||||
unwind? (
|
||||
llvm-libunwind? ( sys-libs/llvm-libunwind[${MULTILIB_USEDEP}] )
|
||||
!llvm-libunwind? ( sys-libs/libunwind:=[${MULTILIB_USEDEP}] )
|
||||
)
|
||||
usb? ( dev-libs/libusb:1[${MULTILIB_USEDEP}] )
|
||||
wayland? ( dev-libs/wayland[${MULTILIB_USEDEP}] )"
|
||||
RDEPEND="
|
||||
${WINE_COMMON_DEPEND}
|
||||
app-emulation/wine-desktop-common
|
||||
dos? (
|
||||
|| (
|
||||
games-emulation/dosbox
|
||||
games-emulation/dosbox-staging
|
||||
)
|
||||
)
|
||||
gecko? (
|
||||
app-emulation/wine-gecko:${WINE_GECKO}[${MULTILIB_USEDEP}]
|
||||
wow64? ( app-emulation/wine-gecko[abi_x86_32] )
|
||||
)
|
||||
gstreamer? ( media-plugins/gst-plugins-meta:1.0[${MULTILIB_USEDEP}] )
|
||||
mono? ( app-emulation/wine-mono:${WINE_MONO} )
|
||||
perl? (
|
||||
dev-lang/perl
|
||||
dev-perl/XML-LibXML
|
||||
)
|
||||
samba? ( net-fs/samba[winbind] )
|
||||
selinux? ( sec-policy/selinux-wine )
|
||||
udisks? ( sys-fs/udisks:2 )"
|
||||
DEPEND="
|
||||
${WINE_COMMON_DEPEND}
|
||||
sys-kernel/linux-headers
|
||||
X? ( x11-base/xorg-proto )"
|
||||
# gitapply.sh prefers git but can fallback to patch+extras
|
||||
BDEPEND="
|
||||
${PYTHON_DEPS}
|
||||
|| (
|
||||
dev-vcs/git
|
||||
(
|
||||
sys-apps/gawk
|
||||
sys-apps/util-linux
|
||||
)
|
||||
)
|
||||
|| (
|
||||
sys-devel/binutils
|
||||
sys-devel/lld
|
||||
)
|
||||
dev-lang/perl
|
||||
sys-devel/bison
|
||||
sys-devel/flex
|
||||
virtual/pkgconfig
|
||||
mingw? ( !crossdev-mingw? (
|
||||
>=dev-util/mingw64-toolchain-10.0.0_p1-r2[${MULTILIB_USEDEP}]
|
||||
wow64? ( dev-util/mingw64-toolchain[abi_x86_32] )
|
||||
) )
|
||||
nls? ( sys-devel/gettext )
|
||||
wayland? ( dev-util/wayland-scanner )"
|
||||
IDEPEND=">=app-eselect/eselect-wine-2"
|
||||
|
||||
QA_CONFIG_IMPL_DECL_SKIP=(
|
||||
__clear_cache # unused on amd64+x86 (bug #900334)
|
||||
res_getservers # false positive
|
||||
)
|
||||
QA_FLAGS_IGNORED="usr/lib/.*/wine/.*-unix/odbc32.so" # has no compiled objects
|
||||
QA_TEXTRELS="usr/lib/*/wine/i386-unix/*.so" # uses -fno-PIC -Wl,-z,notext
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-7.17-noexecstack.patch
|
||||
"${FILESDIR}"/${PN}-7.20-unwind.patch
|
||||
"${FILESDIR}"/${PN}-8.13-rpath.patch
|
||||
)
|
||||
|
||||
pkg_pretend() {
|
||||
[[ ${MERGE_TYPE} == binary ]] && return
|
||||
|
||||
if use crossdev-mingw && [[ ! -v MINGW_BYPASS ]]; then
|
||||
local mingw=-w64-mingw32
|
||||
for mingw in $(usev abi_x86_64 x86_64${mingw}) \
|
||||
$(use abi_x86_32 || use wow64 && echo i686${mingw}); do
|
||||
if ! type -P ${mingw}-gcc >/dev/null; then
|
||||
eerror "With USE=crossdev-mingw, you must prepare the MinGW toolchain"
|
||||
eerror "yourself by installing sys-devel/crossdev then running:"
|
||||
eerror
|
||||
eerror " crossdev --target ${mingw}"
|
||||
eerror
|
||||
eerror "For more information, please see: https://wiki.gentoo.org/wiki/Mingw"
|
||||
die "USE=crossdev-mingw is enabled, but ${mingw}-gcc was not found"
|
||||
fi
|
||||
done
|
||||
fi
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
if [[ ${PV} == *9999 ]]; then
|
||||
EGIT_CHECKOUT_DIR=${WORKDIR}/${P}
|
||||
git-r3_src_unpack
|
||||
|
||||
# hack: use subshell to preserve state (including what git-r3 unpack
|
||||
# sets) for smart-live-rebuild as this is not the repo to look at
|
||||
(
|
||||
EGIT_COMMIT=$(<"${EGIT_CHECKOUT_DIR}"/staging/upstream-commit) || die
|
||||
EGIT_REPO_URI=${WINE_EGIT_REPO_URI}
|
||||
EGIT_CHECKOUT_DIR=${S}
|
||||
einfo "Fetching Wine commit matching the current patchset by default (${EGIT_COMMIT})"
|
||||
git-r3_src_unpack
|
||||
)
|
||||
else
|
||||
default
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
local patchinstallargs=(
|
||||
--all
|
||||
--no-autoconf
|
||||
${MY_WINE_STAGING_CONF}
|
||||
)
|
||||
|
||||
edo "${PYTHON}" ../${P}/staging/patchinstall.py "${patchinstallargs[@]}"
|
||||
|
||||
# sanity check, bumping these has a history of oversights
|
||||
local geckomono=$(sed -En '/^#define (GECKO|MONO)_VER/{s/[^0-9.]//gp}' \
|
||||
dlls/appwiz.cpl/addons.c || die)
|
||||
if [[ ${WINE_GECKO}$'\n'${WINE_MONO} != "${geckomono}" ]]; then
|
||||
local gmfatal=
|
||||
[[ ${PV} == *9999 ]] && gmfatal=nonfatal
|
||||
${gmfatal} die -n "gecko/mono mismatch in ebuild, has: " ${geckomono} " (please file a bug)"
|
||||
fi
|
||||
|
||||
default
|
||||
|
||||
if tc-is-clang; then
|
||||
if use mingw; then
|
||||
# -mabi=ms was ignored by <clang:16 then turned error in :17
|
||||
# if used without --target *-windows, then gets used in install
|
||||
# phase despite USE=mingw, drop as a quick fix for now
|
||||
sed -i '/MSVCRTFLAGS=/s/-mabi=ms//' configure.ac || die
|
||||
else
|
||||
# fails in ./configure unless --enable-archs is passed, allow to
|
||||
# bypass with EXTRA_ECONF but is currently considered unsupported
|
||||
# (by Gentoo) as additional work is needed for (proper) support
|
||||
# note: also fails w/ :17, but unsure if safe to drop w/o mingw
|
||||
[[ ${EXTRA_ECONF} == *--enable-archs* ]] ||
|
||||
die "building ${PN} with clang is only supported with USE=mingw"
|
||||
fi
|
||||
fi
|
||||
|
||||
# ensure .desktop calls this variant + slot
|
||||
sed -i "/^Exec=/s/wine /${P} /" loader/wine.desktop || die
|
||||
|
||||
# datadir is not where wine-mono is installed, so prefixy alternate paths
|
||||
hprefixify -w /get_mono_path/ dlls/mscoree/metahost.c
|
||||
|
||||
# always update for patches (including user's wrt #432348)
|
||||
eautoreconf
|
||||
tools/make_requests || die # perl
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
WINE_PREFIX=/usr/lib/${P}
|
||||
WINE_DATADIR=/usr/share/${P}
|
||||
|
||||
local conf=(
|
||||
--prefix="${EPREFIX}"${WINE_PREFIX}
|
||||
--datadir="${EPREFIX}"${WINE_DATADIR}
|
||||
--includedir="${EPREFIX}"/usr/include/${P}
|
||||
--libdir="${EPREFIX}"${WINE_PREFIX}
|
||||
--mandir="${EPREFIX}"${WINE_DATADIR}/man
|
||||
|
||||
$(usev wow64 --enable-archs=x86_64,i386)
|
||||
|
||||
$(use_enable gecko mshtml)
|
||||
$(use_enable mono mscoree)
|
||||
--disable-tests
|
||||
|
||||
$(use_with X x)
|
||||
$(use_with alsa)
|
||||
$(use_with capi)
|
||||
$(use_with cups)
|
||||
$(use_with fontconfig)
|
||||
$(use_with gphoto2 gphoto)
|
||||
$(use_with gstreamer)
|
||||
$(use_with kerberos gssapi)
|
||||
$(use_with kerberos krb5)
|
||||
$(use_with mingw)
|
||||
$(use_with netapi)
|
||||
$(use_with nls gettext)
|
||||
$(use_with opencl)
|
||||
$(use_with opengl)
|
||||
$(use_with osmesa)
|
||||
--without-oss # media-sound/oss is not packaged (OSSv4)
|
||||
$(use_with pcap)
|
||||
$(use_with pulseaudio pulse)
|
||||
$(use_with scanner sane)
|
||||
$(use_with sdl)
|
||||
$(use_with smartcard pcsclite)
|
||||
$(use_with ssl gnutls)
|
||||
$(use_with truetype freetype)
|
||||
$(use_with udev)
|
||||
$(use_with udisks dbus) # dbus is only used for udisks
|
||||
$(use_with unwind)
|
||||
$(use_with usb)
|
||||
$(use_with v4l v4l2)
|
||||
$(use_with vulkan)
|
||||
$(use_with wayland)
|
||||
$(use_with xcomposite)
|
||||
$(use_with xinerama)
|
||||
)
|
||||
|
||||
filter-lto # build failure
|
||||
use custom-cflags || strip-flags # can break in obscure ways at runtime
|
||||
|
||||
# wine uses linker tricks unlikely to work with non-bfd/lld (bug #867097)
|
||||
# (do self test until https://github.com/gentoo/gentoo/pull/28355)
|
||||
if [[ $(LC_ALL=C $(tc-getCC) ${LDFLAGS} -Wl,--version 2>/dev/null) != @(LLD|GNU\ ld)* ]]
|
||||
then
|
||||
has_version -b sys-devel/binutils &&
|
||||
append-ldflags -fuse-ld=bfd ||
|
||||
append-ldflags -fuse-ld=lld
|
||||
strip-unsupported-flags
|
||||
fi
|
||||
|
||||
if use mingw; then
|
||||
use crossdev-mingw || PATH=${BROOT}/usr/lib/mingw64-toolchain/bin:${PATH}
|
||||
|
||||
filter-flags -fno-plt # build failure
|
||||
|
||||
# CROSSCC was formerly recognized by wine, thus been using similar
|
||||
# variables (subject to change, esp. if ever make a mingw.eclass).
|
||||
local mingwcc_amd64=${CROSSCC:-${CROSSCC_amd64:-x86_64-w64-mingw32-gcc}}
|
||||
local mingwcc_x86=${CROSSCC:-${CROSSCC_x86:-i686-w64-mingw32-gcc}}
|
||||
local -n mingwcc=mingwcc_$(usex abi_x86_64 amd64 x86)
|
||||
|
||||
conf+=(
|
||||
ac_cv_prog_x86_64_CC="${mingwcc_amd64}"
|
||||
ac_cv_prog_i386_CC="${mingwcc_x86}"
|
||||
|
||||
CROSSCFLAGS="${CROSSCFLAGS:-$(
|
||||
filter-flags '-fstack-protector*' #870136
|
||||
filter-flags '-mfunction-return=thunk*' #878849
|
||||
|
||||
# -mavx with mingw-gcc has a history of obscure issues and
|
||||
# disabling is seen as safer, e.g. `WINEARCH=win32 winecfg`
|
||||
# crashes with -march=skylake >=wine-8.10, similar issues with
|
||||
# znver4: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110273
|
||||
append-cflags -mno-avx #912268
|
||||
|
||||
CC=${mingwcc} test-flags-CC ${CFLAGS:--O2}
|
||||
)}"
|
||||
|
||||
CROSSLDFLAGS="${CROSSLDFLAGS:-$(
|
||||
filter-flags '-fuse-ld=*'
|
||||
|
||||
CC=${mingwcc} test-flags-CCLD ${LDFLAGS}
|
||||
)}"
|
||||
)
|
||||
fi
|
||||
|
||||
# order matters with multilib: configure+compile 64->32, install 32->64
|
||||
local -i bits
|
||||
for bits in $(usev abi_x86_64 64) $(usev abi_x86_32 32); do
|
||||
(
|
||||
einfo "Configuring ${PN} for ${bits}bits in ${WORKDIR}/build${bits} ..."
|
||||
|
||||
mkdir ../build${bits} || die
|
||||
cd ../build${bits} || die
|
||||
|
||||
if (( bits == 64 )); then
|
||||
conf+=( --enable-win64 )
|
||||
elif use amd64; then
|
||||
conf+=(
|
||||
$(usev abi_x86_64 --with-wine64=../build64)
|
||||
TARGETFLAGS=-m32 # for widl
|
||||
)
|
||||
# _setup is optional, but use over Wine's auto-detect (+#472038)
|
||||
multilib_toolchain_setup x86
|
||||
fi
|
||||
|
||||
ECONF_SOURCE=${S} econf "${conf[@]}"
|
||||
)
|
||||
done
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
use abi_x86_64 && emake -C ../build64 # do first
|
||||
use abi_x86_32 && emake -C ../build32
|
||||
}
|
||||
|
||||
src_install() {
|
||||
use abi_x86_32 && emake DESTDIR="${D}" -C ../build32 install
|
||||
use abi_x86_64 && emake DESTDIR="${D}" -C ../build64 install # do last
|
||||
|
||||
# Ensure both wine64 and wine are available if USE=abi_x86_64 (wow64,
|
||||
# -abi_x86_32, and/or EXTRA_ECONF could cause varying scenarios where
|
||||
# one or the other could be missing and that is unexpected for users
|
||||
# and some tools like winetricks)
|
||||
if use abi_x86_64; then
|
||||
if [[ -e ${ED}${WINE_PREFIX}/bin/wine64 && ! -e ${ED}${WINE_PREFIX}/bin/wine ]]; then
|
||||
dosym wine64 ${WINE_PREFIX}/bin/wine
|
||||
dosym wine64-preloader ${WINE_PREFIX}/bin/wine-preloader
|
||||
|
||||
# also install wine(1) man pages (incl. translations)
|
||||
local man
|
||||
for man in ../build64/loader/wine.*man; do
|
||||
: "${man##*/wine}"
|
||||
: "${_%.*}"
|
||||
insinto ${WINE_DATADIR}/man/${_:+${_#.}/}man1
|
||||
newins ${man} wine.1
|
||||
done
|
||||
elif [[ ! -e ${ED}${WINE_PREFIX}/bin/wine64 && -e ${ED}${WINE_PREFIX}/bin/wine ]]; then
|
||||
dosym wine ${WINE_PREFIX}/bin/wine64
|
||||
dosym wine-preloader ${WINE_PREFIX}/bin/wine64-preloader
|
||||
fi
|
||||
fi
|
||||
|
||||
use perl || rm "${ED}"${WINE_DATADIR}/man/man1/wine{dump,maker}.1 \
|
||||
"${ED}"${WINE_PREFIX}/bin/{function_grep.pl,wine{dump,maker}} || die
|
||||
|
||||
# create variant wrappers for eselect-wine
|
||||
local bin
|
||||
for bin in "${ED}"${WINE_PREFIX}/bin/*; do
|
||||
make_wrapper "${bin##*/}-${P#wine-}" "${bin#"${ED}"}"
|
||||
done
|
||||
|
||||
if use mingw; then
|
||||
# don't let portage try to strip PE files with the wrong
|
||||
# strip executable and instead handle it here (saves ~120MB)
|
||||
dostrip -x ${WINE_PREFIX}/wine/{i386,x86_64}-windows
|
||||
|
||||
if use strip; then
|
||||
ebegin "Stripping Windows (PE) binaries"
|
||||
find "${ED}"${WINE_PREFIX}/wine/*-windows -regex '.*\.\(a\|dll\|exe\)' \
|
||||
-exec $(usex abi_x86_64 x86_64 i686)-w64-mingw32-strip --strip-unneeded {} +
|
||||
eend ${?} || die
|
||||
fi
|
||||
fi
|
||||
|
||||
dodoc ANNOUNCE AUTHORS README* documentation/README*
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if use !abi_x86_32 && use !wow64; then
|
||||
ewarn "32bit support is disabled. While 64bit applications themselves will"
|
||||
ewarn "work, be warned that it is not unusual that installers or other helpers"
|
||||
ewarn "will attempt to use 32bit and fail. If do not want full USE=abi_x86_32,"
|
||||
ewarn "note the experimental/WIP USE=wow64 can allow 32bit without multilib."
|
||||
elif use abi_x86_32 && { use opengl || use vulkan; } &&
|
||||
has_version 'x11-drivers/nvidia-drivers[-abi_x86_32]'
|
||||
then
|
||||
ewarn "x11-drivers/nvidia-drivers is installed but is built without"
|
||||
ewarn "USE=abi_x86_32 (ABI_X86=32), hardware acceleration with 32bit"
|
||||
ewarn "applications under ${PN} will likely not be usable."
|
||||
fi
|
||||
|
||||
eselect wine update --if-unset || die
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
eselect wine update --if-unset || die
|
||||
}
|
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue