parent
35b3a3ef01
commit
02598853d3
@ -1,23 +1,23 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA512
|
||||
|
||||
MANIFEST Manifest.files.gz 29456 BLAKE2B 1a2269609cb2df8a6b19d535d6b22349493c98a9d1682df24f6d52913f7fd3eb1f0e8f80898a093cefaf9eb25859842fdd8de8725bc98cab9a305fd9ffafc8de SHA512 b73a5c13f3b0d5eac3ceaaf396a3a38551c2c608d980b3136594c80eeb06b713a887dba15330fe8c47b271b76f68212a6fc350a889054d100d8ff09fc8638565
|
||||
TIMESTAMP 2020-05-24T18:09:16Z
|
||||
MANIFEST Manifest.files.gz 29438 BLAKE2B 6dddf5d9ac0311030eb8f6a945670c6cadd81e855f9935dd42b19596a1d3360e6a109860c7ca7c1364912cb692b39d79e3bb270d675b1601be3e5219c095b116 SHA512 d696b2d1fa39204f41c8045e2a5369a5674ad66d0023f943eb508e6a8fd718b08287d9a28359553b3f47e5adb0687acc38292a9622938eec1afecdb1463ec922
|
||||
TIMESTAMP 2020-05-27T06:08:23Z
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
|
||||
iQKTBAEBCgB9FiEE4dartjv8+0ugL98c7FkO6skYklAFAl7KuExfFIAAAAAALgAo
|
||||
iQKTBAEBCgB9FiEE4dartjv8+0ugL98c7FkO6skYklAFAl7OA9dfFIAAAAAALgAo
|
||||
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEUx
|
||||
RDZBQkI2M0JGQ0ZCNEJBMDJGREYxQ0VDNTkwRUVBQzkxODkyNTAACgkQ7FkO6skY
|
||||
klAOOw//QPfINjZzWqli607fxV3QxrNAFkafvfMCvvbuvPbQheSbWqtONpAROLj7
|
||||
k1F7wJW3luYXEq11kv+4/CjT2kQ4FOBTO76k27l6CBX30m5/mCb/jrDAYBz6sPWU
|
||||
++cgdDRPdN/MYLqNeoTTn+CbtkuA43V5Hf40jOp0z7ZMH7oBm74u2N3gjg5OGj6p
|
||||
DO05peNTidbVM1NxehuvyZJbfV119X6S3wVheIAtaufTbvPGtGWbTdC2BkjsB8kD
|
||||
rGByLOMPb9+pfLOiPWg0zEknAUg1iqISfQsgFnSqkUY8IDIC5uYMeWb7dXUDsjHW
|
||||
NOGLwJ3wkoHWP0SPxDNCsC0K2HwSpsr89PR9q+wBDQJ17b6Sf/cgSgTefrvDPGWx
|
||||
RUPGGgre5pbCmp6mquwPefw0eU9GEYiTLktlapQutPka4j+6hBmfXOiUI0ZWQZjv
|
||||
nabhzXb6P9LEtJpj+sGA8hL1vnFlIfpnkhzj5hIxr+pWSx6AyrEMOwd/NVA6+Yes
|
||||
26tTeJ8XquuhoYBb8sjIt4AGmbvJtuj5OUgILAIJLzCnz40UsvD6zAUs1uGomm/L
|
||||
/0Yc7xSbE+8K3OB74cWi7YpEuWmah8yHW6qSlDsRSwGFCFvbXGyIh2zokxHOJvFf
|
||||
xHCKrmh1YxJNJ3Rs042DzgdsL7RtA8HzZpj1q1emzsD8okgIl1k=
|
||||
=tLVe
|
||||
klA6MhAAjm5eApdCQz1YOjil5BLJEUA2FcV5M1cGNC/K3Ugt0+j718/NPC1exDO7
|
||||
ljV5U035BXj5xxXi4nY0CoTcgNtEQh+RPAQszm8UPLD9L+V1Zey5PBK6ViCOt4L0
|
||||
YiOsnFMcIhWI3LCzzP5Ha126M+iyRo3OkekoA8UhBE4SnoQUmIS8Me65VMF+6hoS
|
||||
T6zntUUl5DYFXmstFfBfZyKjMNKUr/4QhBzOV9qkKdMZRkH4vGsnCOSKePf05VvS
|
||||
R/FvG7Bws06ZEUjqe+iPLDsFmD1o/WaQmUN/OvCdnZ7zbpbZ2u4sb+ZszLyGijV4
|
||||
hRqAxSZjQ8GFZ0pDN4HhlYxvto/cZTFVlOwy0SbTQtfMGXSUHNM+zrRf/ZLld2oX
|
||||
cdLCccfmvHt0uP46MGCIj9oZ6PsmLnKlYYS/qmPKRiHT6w4sTAmn82N5bS1M63hB
|
||||
ajHUXuxGc9uIVst8n5izsqqSSrrjSf/7d6SkzUZwit9mATyrVdYiRAqTaZ4hK1dN
|
||||
lef+7lCrptCgqHVth8J7tJY0MYGQPJd01PS5uPUdP6YoELi+MnX97aMFUCuKr4wd
|
||||
oU/pJ/4zwWWaDcbGbFymfr7NivuByzypZ5zEGB5e4AhG7Cg7jIw25VBzHwGYd4J2
|
||||
OgCzsx03Z9tp3QrTiKT4dJ75QVJ5kx6ArYBaNWPCobDMM7cOVsE=
|
||||
=ZehH
|
||||
-----END PGP SIGNATURE-----
|
||||
|
Binary file not shown.
Binary file not shown.
@ -1,74 +0,0 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit golang-vcs-snapshot systemd user
|
||||
GIT_COMMIT="1200f25"
|
||||
KEYWORDS="~amd64"
|
||||
EGO_PN="github.com/hashicorp/consul"
|
||||
DESCRIPTION="A tool for service discovery, monitoring and configuration"
|
||||
HOMEPAGE="https://www.consul.io"
|
||||
SRC_URI="https://github.com/hashicorp/consul/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="MPL-2.0 Apache-2.0 BSD BSD-2 CC0-1.0 ISC MIT"
|
||||
IUSE=""
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
DEPEND="dev-go/gox
|
||||
>=dev-lang/go-1.11:=
|
||||
>=dev-go/go-tools-0_pre20160121"
|
||||
RDEPEND=""
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup consul
|
||||
enewuser consul -1 -1 /var/lib/${PN} consul
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# avoid network-sandbox violations since go-1.13
|
||||
rm src/${EGO_PN}/go.mod || die
|
||||
grep -rlZ '_ "github.com/envoyproxy/protoc-gen-validate/validate"' . | \
|
||||
xargs -0 sed -i '/_ "github.com\/envoyproxy\/protoc-gen-validate\/validate"/d' || die
|
||||
|
||||
sed -e 's:go get -u -v $(GOTOOLS)::' \
|
||||
-e 's:vendorfmt dev-build:dev-build:' \
|
||||
-i "src/${EGO_PN}/GNUmakefile" || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# The dev target sets causes build.sh to set appropriate XC_OS
|
||||
# and XC_ARCH, and skips generation of an unused zip file,
|
||||
# avoiding a dependency on app-arch/zip.
|
||||
GOPATH="${S}" \
|
||||
GOBIN="${S}/bin" \
|
||||
GIT_DESCRIBE="v${PV}" \
|
||||
GIT_DIRTY="" \
|
||||
GIT_COMMIT="${GIT_COMMIT}" \
|
||||
emake -C "src/${EGO_PN}" dev-build
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local x
|
||||
|
||||
dobin bin/consul
|
||||
|
||||
keepdir /etc/consul.d
|
||||
insinto /etc/consul.d
|
||||
doins "${FILESDIR}/"*.json.example
|
||||
|
||||
for x in /var/{lib,log}/${PN}; do
|
||||
keepdir "${x}"
|
||||
fowners consul:consul "${x}"
|
||||
done
|
||||
|
||||
newinitd "${FILESDIR}/consul.initd" "${PN}"
|
||||
newconfd "${FILESDIR}/consul.confd" "${PN}"
|
||||
insinto /etc/logrotate.d
|
||||
newins "${FILESDIR}/${PN}.logrotated" "${PN}"
|
||||
systemd_dounit "${FILESDIR}/consul.service"
|
||||
}
|
@ -1,74 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit golang-vcs-snapshot systemd user
|
||||
GIT_COMMIT="7f3b5f3"
|
||||
KEYWORDS="~amd64"
|
||||
EGO_PN="github.com/hashicorp/consul"
|
||||
DESCRIPTION="A tool for service discovery, monitoring and configuration"
|
||||
HOMEPAGE="https://www.consul.io"
|
||||
SRC_URI="https://github.com/hashicorp/consul/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="MPL-2.0 Apache-2.0 BSD BSD-2 CC0-1.0 ISC MIT"
|
||||
IUSE=""
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
DEPEND="dev-go/gox
|
||||
>=dev-lang/go-1.11:=
|
||||
>=dev-go/go-tools-0_pre20160121"
|
||||
RDEPEND=""
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup consul
|
||||
enewuser consul -1 -1 /var/lib/${PN} consul
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# avoid network-sandbox violations since go-1.13
|
||||
rm src/${EGO_PN}/go.mod || die
|
||||
grep -rlZ '_ "github.com/envoyproxy/protoc-gen-validate/validate"' . | \
|
||||
xargs -0 sed -i '/_ "github.com\/envoyproxy\/protoc-gen-validate\/validate"/d' || die
|
||||
|
||||
sed -e 's:go get -u -v $(GOTOOLS)::' \
|
||||
-e 's:vendorfmt dev-build:dev-build:' \
|
||||
-i "src/${EGO_PN}/GNUmakefile" || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# The dev target sets causes build.sh to set appropriate XC_OS
|
||||
# and XC_ARCH, and skips generation of an unused zip file,
|
||||
# avoiding a dependency on app-arch/zip.
|
||||
GOPATH="${S}" \
|
||||
GOBIN="${S}/bin" \
|
||||
GIT_DESCRIBE="v${PV}" \
|
||||
GIT_DIRTY="" \
|
||||
GIT_COMMIT="${GIT_COMMIT}" \
|
||||
emake -C "src/${EGO_PN}" dev-build
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local x
|
||||
|
||||
dobin bin/consul
|
||||
|
||||
keepdir /etc/consul.d
|
||||
insinto /etc/consul.d
|
||||
doins "${FILESDIR}/"*.json.example
|
||||
|
||||
for x in /var/{lib,log}/${PN}; do
|
||||
keepdir "${x}"
|
||||
fowners consul:consul "${x}"
|
||||
done
|
||||
|
||||
newinitd "${FILESDIR}/consul.initd" "${PN}"
|
||||
newconfd "${FILESDIR}/consul.confd" "${PN}"
|
||||
insinto /etc/logrotate.d
|
||||
newins "${FILESDIR}/${PN}.logrotated" "${PN}"
|
||||
systemd_dounit "${FILESDIR}/consul.service"
|
||||
}
|
@ -1,75 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit golang-vcs-snapshot systemd user
|
||||
GIT_COMMIT="95fb95b"
|
||||
KEYWORDS="~amd64"
|
||||
EGO_PN="github.com/hashicorp/consul"
|
||||
DESCRIPTION="A tool for service discovery, monitoring and configuration"
|
||||
HOMEPAGE="https://www.consul.io"
|
||||
SRC_URI="https://github.com/hashicorp/consul/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="MPL-2.0 Apache-2.0 BSD BSD-2 CC0-1.0 ISC MIT"
|
||||
IUSE=""
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
DEPEND="dev-go/gox
|
||||
>=dev-lang/go-1.11:=
|
||||
>=dev-go/go-tools-0_pre20160121"
|
||||
RDEPEND=""
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup consul
|
||||
enewuser consul -1 -1 /var/lib/${PN} consul
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# avoid network-sandbox violations since go-1.13
|
||||
rm src/${EGO_PN}/go.mod || die
|
||||
grep -rlZ '_ "github.com/envoyproxy/protoc-gen-validate/validate"' . | \
|
||||
xargs -0 sed -i '/_ "github.com\/envoyproxy\/protoc-gen-validate\/validate"/d' || die
|
||||
|
||||
sed -e 's:go get -u -v $(GOTOOLS)::' \
|
||||
-e 's:vendorfmt dev-build:dev-build:' \
|
||||
-e '/^GIT.*?=/d' \
|
||||
-i "src/${EGO_PN}/GNUmakefile" || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# The dev target sets causes build.sh to set appropriate XC_OS
|
||||
# and XC_ARCH, and skips generation of an unused zip file,
|
||||
# avoiding a dependency on app-arch/zip.
|
||||
GOPATH="${S}" \
|
||||
GOBIN="${S}/bin" \
|
||||
GIT_DESCRIBE="v${PV}" \
|
||||
GIT_DIRTY="" \
|
||||
GIT_COMMIT="${GIT_COMMIT}" \
|
||||
emake -C "src/${EGO_PN}" dev-build
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local x
|
||||
|
||||
dobin bin/consul
|
||||
|
||||
keepdir /etc/consul.d
|
||||
insinto /etc/consul.d
|
||||
doins "${FILESDIR}/"*.json.example
|
||||
|
||||
for x in /var/{lib,log}/${PN}; do
|
||||
keepdir "${x}"
|
||||
fowners consul:consul "${x}"
|
||||
done
|
||||
|
||||
newinitd "${FILESDIR}/consul.initd" "${PN}"
|
||||
newconfd "${FILESDIR}/consul.confd" "${PN}"
|
||||
insinto /etc/logrotate.d
|
||||
newins "${FILESDIR}/${PN}.logrotated" "${PN}"
|
||||
systemd_dounit "${FILESDIR}/consul.service"
|
||||
}
|
@ -1,5 +1,3 @@
|
||||
DIST kpcli-3.3.pl 199249 BLAKE2B 6db8dff530c709600ac90ca77c8171bedb98dc0ff3822963cdd177000a0b23c46387613639205b85dfdcb710b5a9804fc5b2e205c1937952e8439f5bebae4900 SHA512 5a837891a29dc65f0900015124fe3fdd1b7b9878ed2094d7c299c24590feee8e704212bcabf45c63064f97deca1dd2da96aa80c5be4305692f181db45b7e241a
|
||||
DIST kpcli-3.4.pl 211243 BLAKE2B 4880d832554de1956e033bba2e2021b9dc0b77202585663b0f4ad2acca520bcb430ac974bbea00c21aa37c2c8e8fa8c5cf2e8131542c20ecc3c6b0ac6dd85d9a SHA512 1ec9ea46f769a6891700565a51c592fd4809a0f3bc1d2088ca694233b276652506b470328b8b840cd0876b945faad27a16a5685d8655868cd20760f24619ffaf
|
||||
EBUILD kpcli-3.3.ebuild 928 BLAKE2B 043d69d425d680d84d1f7029edc32bc577b1583b85981f47b41c00493baaab8382fa3ad4b745546e596baea733fca61510da88db51bacc5ef75b62de90e1b904 SHA512 5038f0521e53f7483f25716373d6ee608874dab26ae37a7e3061e1bbb7201033b4699e80eff9e95167e4cf90577414c89771b0aedceac781662b003778062503
|
||||
EBUILD kpcli-3.4.ebuild 959 BLAKE2B ffa08a521d01ffb15484f2aa041c4ab2991d30998563587dbc45c61fea232c86ad9f2641c24cf4091207acc5f6ecc41053375f1f16e677a834328ceba8b68b6b SHA512 8b827612cde96b35dd458f759aa325148d82b1b7ae4166b5b139ca18e24f32ae602a0b4664e46fe7dc9c4dd38bfb2e91ae4771e57f29c2384b1601e0b58cd3f4
|
||||
EBUILD kpcli-3.4.ebuild 957 BLAKE2B 60392f3561eb813c97bc62fbf607150e8b1a7e0a3f70d41e72d50116ba07c8414eeb1f9f0bb6c65b1a652fa804acce6ff8278f023481e1abfc5253759bc50c90 SHA512 a0b930fadb59485bda66e0d200e7ddf7f5fddadb457d31fc80028997afbcb8e44dd5bd323bcd9a2e3c6a06974c4f57a47a0fe9f221c42548a860de61e63b203f
|
||||
MISC metadata.xml 476 BLAKE2B 49c33b8c9713bf01f667d60e72900e99139ff425e1c10e74736bdeff840e66d7a507aa079ca334639abb9e8ef1899aa3ed37114cbf196f9309124d54ea13b774 SHA512 35280ba9f2eafc0e28b098ce0af3ec9fec17fbb956068b873516c0a28539c4d05cfecfdf71477a9fb78cf3238ad7363dc128ad149e91619485624959b780805b
|
||||
|
@ -1,47 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
DESCRIPTION="A command line interface to KeePass database files"
|
||||
HOMEPAGE="http://kpcli.sourceforge.net"
|
||||
SRC_URI="http://downloads.sourceforge.net/project/kpcli/${P}.pl"
|
||||
|
||||
LICENSE="|| ( Artistic GPL-1+ )"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE="X"
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="
|
||||
dev-lang/perl
|
||||
dev-perl/Clone
|
||||
dev-perl/Crypt-Rijndael
|
||||
dev-perl/TermReadKey
|
||||
dev-perl/Sort-Naturally
|
||||
dev-perl/Term-ShellUI
|
||||
>=dev-perl/File-KeePass-0.30.0
|
||||
virtual/perl-File-Spec
|
||||
virtual/perl-Getopt-Long
|
||||
virtual/perl-Digest-MD5
|
||||
virtual/perl-Digest-SHA
|
||||
virtual/perl-Data-Dumper
|
||||
virtual/perl-Term-ANSIColor
|
||||
virtual/perl-Time-Piece
|
||||
virtual/perl-Carp
|
||||
X? (
|
||||
dev-perl/Capture-Tiny
|
||||
dev-perl/Clipboard
|
||||
)
|
||||
"
|
||||
|
||||
src_unpack() {
|
||||
mkdir "${S}" || die
|
||||
cp "${DISTDIR}/${P}.pl" "${S}/${PN}" || die
|
||||
}
|
||||
|
||||
src_compile() { :; }
|
||||
|
||||
src_install() {
|
||||
dobin kpcli
|
||||
}
|
@ -1,5 +1,5 @@
|
||||
DIST stow-2.2.2.tar.gz 579324 BLAKE2B fc4ab7f386e8245b361cee5fc0decd91caec543ec6178c82720866c33a974ba9d68e999a68c3b7357d873ab1b58bb8b022bf02dad029972f42c317ffc288bd04 SHA512 8a3e5da6b5cb4c1ee1b512bae5a9859f83659d5de05f7a9af1dd09df2a32f6b8c6d43b79736db91232c43621d542041d4ef92eb088925796adad0676f200a9b5
|
||||
DIST stow-2.3.1.tar.gz 654191 BLAKE2B 9fd54fd3ff76aa7b72ed973cd6d70b8dc747fa3bb1ecc6bedd221b308d7d141a21a2f077c67efb432f2c7c4fb6bd126639038b196946206bf4a7f95040477ab2 SHA512 e9a7de1a6f10eaf7cdbe6737e0a8be1498e2eac46b6c57e65b83759b061efd1c0db45f7cba123e35428307e3aebe5baef9ea8bd4b5eb6ec5e1b159117a760441
|
||||
EBUILD stow-2.2.2-r1.ebuild 644 BLAKE2B 5df5695a345d135207741d67bea7c80b79de23b42297b93573ca587955307507ad91d6fd66c84d6554dd4395dd16e8f7c4088f9ba77e9e1eb17e02cc3deea07b SHA512 5767ac1057a4a7c9d897e500f78b3e2e355bedf758fbadb41f1864574e448f89abb24b976c2c4fd70024537a52c46906bff93c3cc03109e6e6e12f0dadc385e1
|
||||
EBUILD stow-2.3.1.ebuild 646 BLAKE2B e66805d8e0e6a73624c92ad211f961323fcd4603f6bb433d2744691a6a4eb7c07a6cec53e7a94ca8a5878a16b756a1a39be3d37fcb11a539c76d1ec49bc65edd SHA512 1d3d397826fc97f67b4d1ea81432db89ce7537fb84f709c2d842db7613b6d49543dfc2e56daa3a58e4ba9946d7d5539287bdad516f8c393b8e9893325b004b32
|
||||
EBUILD stow-2.3.1.ebuild 645 BLAKE2B 19c457736052ee0e5230039f16ea1584a3558ddbf90f23f5cd6d32f688dba733d9d1a9660ba7be2128783982cccdb2cae8c9ef8007820622f94539eb9d65ffd6 SHA512 5375a6be59b865cb00d7ed757781393aa521038bb944a10cc20f1fdb2b049218bf06a0fd966ab60df11dfeb6770b7d14765834eea0532ccfd246578443fdf29b
|
||||
MISC metadata.xml 249 BLAKE2B 210caabfc49730fad6228e8c34b09d11554fece8f3f754a26c6239b3b0de845ea128507b2c17d6e97343f9e6e2ae01272eb024992c3c64d3903794fbf73a66ed SHA512 c13d64a0d3034eeb4c9567f5e1236ecd6f3c3cbdec69b805627298cdb7050ae01a19a3cb075ec905de9497079a3e855bdccef2f37f65540b6ae184439f01cdae
|
||||
|
Binary file not shown.
Binary file not shown.
@ -1,3 +1,3 @@
|
||||
DIST glep63-check-9.tar.gz 73445 BLAKE2B cd229065da9a4663491a891787d2a9e719cd9d61ea5974393199ca418413e7e1c6b73a3146577b26029ceb3302f430ed1051c9d050278b098b18407e95c1cac3 SHA512 86c49ffe2b8dde3735b85ff4808862c460b1e832fa9c3fca4fc2ea776d314c29ed2442adef2e1dbca1cec81b6ea29bbb417b123306602dfaa611b5153dddb7ac
|
||||
EBUILD glep63-check-9.ebuild 684 BLAKE2B 4a1ef24181f792a75e48a22301cc8d4d56ceec40175c7952b776324ddf72d2e9592c87537cbbc30bbf8e184965a0a742fc1bcc5652d85bf2c8db1b5cb8087617 SHA512 09858c4dba91d8d219fbb214b504d00b62a6a354862f710c8d93b30656b62b4c1bc9ad18f2a588a4303fa844d6471a51d1300feb5035f918fbb540544ad01c5e
|
||||
EBUILD glep63-check-9.ebuild 686 BLAKE2B 6a9f562dd9ae2719fccd88b93d1e462c983f5fd89b5dae041784187108585056e11271eb9edb10e3cc12257325675175306f1cdc3b55b1a187bdd4bc32a581ec SHA512 ade831ede4af178832a7b7105fd5b983878ae52cbe4d93a6493690b135f188a39b48b0e6106ccfa95a1722cd086b0ab58e6c1d35ffd1c5486eca7a6d1164544f
|
||||
MISC metadata.xml 537 BLAKE2B cc05c3872c522fdcc2355da9d451f9ad102d23e2e5de657f447ce5c9441a4379fb5f6560cd22a8be325f322e901b65917b11630fc0229bd0e952c6f8b6b64bf0 SHA512 493bcb28f9144c49050445de98b54e19730e46cc24df02b15859f4114f4fa8775431aac9d8fcb4f50639609680656b108f6c4ca47f67b38680f926cf9610ccd9
|
||||
|
Binary file not shown.
@ -1,4 +1,4 @@
|
||||
DIST kakoune-0_pre20171120.tar.gz 460659 BLAKE2B 443583e5d766b227f678f9adec76f06a0dfe6a29e2d6f38896b20a911e08e933e1e631d1018e1510a49fbb71b4b0258029fd33ece8c478bd228ef67b6fae939a SHA512 0208fd932dcf6cef3fac3338dfc15f0ba36ed4e3fa282cc5ffac5ad823f91b553a8c34747ff33ec4382257a1eb71f21181b63595031f9f237cba3bc8eeda3626
|
||||
EBUILD kakoune-0_pre20171120.ebuild 1096 BLAKE2B c6ceef7195ed877fa4d6de7e905f41f5fac78eedd1824d03cc3e5552f0ac21b77de241128e214c3821a9d71c786d2e00bd9b2a881d70247129d344b5bc73040b SHA512 92f13420ab2324095b41b0b1a29df3779dc9328ee5ccf3ab576f46765b9c6104e4ad097fcbd0347192b60fb907097ce040c33dbd7f95a036db575dfe8d563c8d
|
||||
EBUILD kakoune-9999.ebuild 1013 BLAKE2B 9255ed63a1c4b7923e77f4edb2b2fe209937e5b5ffe8339933a017c66ab178d8253f33b46e5138a9ce3b47bc236b6727f92a1c4fbc86ef9ea4559a27c9f8ed8f SHA512 87f9ecc92473631e9b3c835aaf310411ec1892571c83f4a87593de1aa976fdc44b4946c982b1cd8e54663c1e83df2db5558980d1b5e0007ad0b7042cad372931
|
||||
AUX kakoune-2020.01.16-enable-ebuild-syntax-highlight.patch 433 BLAKE2B 3cfe90cfa73bb82faa45402041160ce644f7cbff9a6072b4be7a68e8ea9249eda49946e6ffca898f38213aea2515c614b0b47f66bda7f53479c68ed6019fefb6 SHA512 790c0b84b044fc90a4ec8e9c6c116a169748326c383ee3d3e993a9768588749fb409291092edc3df93ae72a6e8a649c13c1c3a86d8ade6a70735483909e47cd0
|
||||
DIST kakoune-2020.01.16.tar.gz 579837 BLAKE2B 46abfd7f2bf2db6f9755a5b4f547e63e72ac7eef46ad0903dac08d0f422774632ac5aa3dc1e6c69aa6f0527bdff0ea1792574933ceb35b2495927f747be94aaf SHA512 81a0fb522fd7f289ede36f966e815d03550df389b05d27fa430474dd55a90cc0e1c5231e660328040f3bd79d155d37b7b135b52b93cee536c15d13fc9d06baa0
|
||||
EBUILD kakoune-2020.01.16.ebuild 836 BLAKE2B de4895474fc0a779620f6260fcc8f8cd3edee5d284d1090ec287d3df36bf7116e76b2d87530ca26d8a692316330233a4f93d72162a5314f6b83d79de9083f20f SHA512 6ecc3211f65185767bc0abea810aac81486f2bcf7e57068ad6c4b2ce2a66d31e1265a34586c2ff35df81bd7f4ea6771d9fbf2cf31bf07e41fdb7f49a9c544ce5
|
||||
MISC metadata.xml 245 BLAKE2B cc6e199e8d1ff374bdb7d8a466333d0b9b4bab77b928756235369130ee369e7da62755bf02a0eae323aff90ea39af9f63667448a0c6f9f0098665f515041ef7b SHA512 785c49f9d46f2e7f05705e108b98bbd80f2a241d72a00ab9a698c837d0644bb651d708ff9a21dbe53314e838d1c3dd114b76dc8241378d29ca942923c9ff20bc
|
||||
|
@ -0,0 +1,15 @@
|
||||
diff -Naur a/rc/filetype/sh.kak b/rc/filetype/sh.kak
|
||||
--- a/rc/filetype/sh.kak 2020-01-16 11:52:20.000000000 +0200
|
||||
+++ b/rc/filetype/sh.kak 2020-05-25 15:50:20.417809942 +0300
|
||||
@@ -2,6 +2,11 @@
|
||||
set-option buffer filetype sh
|
||||
}
|
||||
|
||||
+hook global BufCreate .*\.ebuild %{
|
||||
+ set-option buffer filetype sh
|
||||
+}
|
||||
+
|
||||
+
|
||||
hook global WinSetOption filetype=sh %{
|
||||
require-module sh
|
||||
set-option window static_words %opt{sh_static_words}
|
@ -1,51 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit flag-o-matic toolchain-funcs vcs-snapshot versionator
|
||||
|
||||
REF="079b006cdab6f0ae594f80fff18ad61b71b0754d"
|
||||
|
||||
DESCRIPTION="Selection-oriented code editor inspired by vim"
|
||||
HOMEPAGE="https://github.com/mawww/kakoune"
|
||||
SRC_URI="https://github.com/mawww/${PN}/tarball/${REF} -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="Unlicense"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="debug static"
|
||||
|
||||
RDEPEND="
|
||||
sys-libs/ncurses:0=[unicode]
|
||||
"
|
||||
DEPEND="
|
||||
app-text/asciidoc
|
||||
virtual/pkgconfig
|
||||
${RDEPEND}
|
||||
"
|
||||
|
||||
pkg_setup() {
|
||||
if [[ ${MERGE_TYPE} != binary ]]; then
|
||||
if tc-is-gcc && ! version_is_at_least 5.0 $(gcc-version); then
|
||||
die "Clang or GCC >=5.0 is required to build this version"
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
sed -i -e '/CXXFLAGS += -O3/d' src/Makefile || \
|
||||
die "Failed to patch makefile"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
tc-export CXX
|
||||
export debug=$(usex debug)
|
||||
export static=$(usex static)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake -C src DESTDIR="${D}" PREFIX="${EPREFIX}/usr" docdir="${ED%/}/usr/share/doc/${PF}" install
|
||||
}
|
@ -0,0 +1,39 @@
|
||||
# Copyright 2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
DESCRIPTION="Modal editor inspired by vim"
|
||||
HOMEPAGE="http://kakoune.org/ https://github.com/mawww/kakoune"
|
||||
SRC_URI="https://github.com/mawww/kakoune/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="Unlicense"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="static-libs"
|
||||
|
||||
DEPEND="sys-libs/ncurses:0=[unicode]"
|
||||
RDEPEND="${DEPEND}"
|
||||
BDEPEND="virtual/pkgconfig"
|
||||
|
||||
PATCHES=( "${FILESDIR}"/kakoune-2020.01.16-enable-ebuild-syntax-highlight.patch )
|
||||
|
||||
src_configure() { :; }
|
||||
|
||||
src_compile() {
|
||||
cd src/ || die
|
||||
|
||||
emake static=$(usex static-libs yes no) all
|
||||
}
|
||||
|
||||
src_test() {
|
||||
cd src/ || die
|
||||
emake test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake PREFIX="${D}"/usr docdir="${D}/usr/share/doc/${PF}" install
|
||||
|
||||
rm "${D}/usr/share/man/man1/kak.1.gz" || die
|
||||
doman doc/kak.1
|
||||
}
|
@ -1,49 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit flag-o-matic toolchain-funcs git-r3 versionator
|
||||
|
||||
DESCRIPTION="Selection-oriented code editor inspired by vim"
|
||||
HOMEPAGE="https://github.com/mawww/kakoune"
|
||||
EGIT_REPO_URI="https://github.com/mawww/kakoune.git"
|
||||
|
||||
LICENSE="Unlicense"
|
||||
SLOT="0"
|
||||
KEYWORDS=""
|
||||
IUSE="debug static"
|
||||
|
||||
RDEPEND="
|
||||
sys-libs/ncurses:0=[unicode]
|
||||
"
|
||||
DEPEND="
|
||||
app-text/asciidoc
|
||||
virtual/pkgconfig
|
||||
${RDEPEND}
|
||||
"
|
||||
|
||||
pkg_setup() {
|
||||
if [[ ${MERGE_TYPE} != binary ]]; then
|
||||
if tc-is-gcc && ! version_is_at_least 5.0 $(gcc-version); then
|
||||
die "Clang or GCC >=5.0 is required to build this version"
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
sed -i -e '/CXXFLAGS += -O3/d' src/Makefile || \
|
||||
die "Failed to patch makefile"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
tc-export CXX
|
||||
export debug=$(usex debug)
|
||||
export static=$(usex static)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake -C src DESTDIR="${D}" PREFIX="${EPREFIX}/usr" docdir="${ED%/}/usr/share/doc/${PF}" install
|
||||
}
|
Binary file not shown.
@ -1,5 +1,5 @@
|
||||
AUX 50pymacs-gentoo.el 183 BLAKE2B f1a4b874bb339b653c4fb6fb186bd7e531151c34d1df58be6963288d4443438fcae0f82c92a1667b4e7cb739bc2f7c6fd8d8d5f6d4e91413ee5bec47a609cc2e SHA512 f59fed86f859b796c901088b38fb570a5e5527d774a15456105ce75598c31fd20d0afaa62ad9cbf12063810fa592dbbd7c33aaece5871b36b488e5af6de0fac2
|
||||
DIST pymacs-0.26.tar.gz 123373 BLAKE2B 0c467435d18ebcbe7b263e90096363e201dd84ba770fa702beefac4318a713954c316f335ee005ea88370be29c3710a7df04fb05b6efd3816beedbb88e38126d SHA512 ae245de130f435d947788c5ac11d8ce6534df80f70a4e35fff903f22d2b79b0f66925059ebaf53bde45cd6660ac0a8a224490f4f9e256a84e3a08f6468c14dd2
|
||||
EBUILD pymacs-0.26-r1.ebuild 1163 BLAKE2B fd526963d505e5264810c26a90970104ca0b2de5ed85e8c038b35f106c6754ddc4bcf6e790e8df97d521169b2e4bbdf298f8ab94ce8f05deca74211a5d91823f SHA512 8336a43fbaa4dc848dd338877a9058117907520c281ae60c5ee233e4c37c568bf611bb9154d715899bbcb8e531a0bb7eee17302e243b240b1141a92b7a90ca12
|
||||
EBUILD pymacs-0.26-r1.ebuild 1162 BLAKE2B 2df98a60aa2d2ba28e862a03c6fbaa6bcf97dd511efeb6432256c1ac5f9893796a98cd7eac3065495e79cec41f8bc7961174c9c4f5c41c9877ba77023c96b749 SHA512 f35f828585f342ca42a45641be1c3b5d0dbd0a68e02286542588ea56a64b730b501d06993ffaaa36bc6e270bf1c2009108f195ca96aae6203e8c01f9e71cd436
|
||||
EBUILD pymacs-0.26.ebuild 1329 BLAKE2B 23b29f1fe217da9aa055a84040f0ab17c13a385abfe0d7aa5aeafaffdbc7a6209496affd80b702b0ef9dc12d35c204cd5f02154338f011159110a42765198d2b SHA512 dfafb9317794795ccb26f8c4a21cb59c290da71b76c19ef4f6e3657f35f0b0e5ea7fdc9a1a8e1f628e9ae209295988a1773bf32700657069bf8f1d261b77d7c8
|
||||
MISC metadata.xml 435 BLAKE2B 10ae4a8b61dfb10339404f38e37cafa1b66737a8f593bc4ba1c626b9d884ebb19dca555dbdf24b1418fec711f6b73865046cf50d58990980ab5115b1755ddd24 SHA512 bb1bdeb6695093fb0788f956059a6e081b98d8b769e2d336057954e85006dac277b756206f83565d52c2473dc45f3afb1087850e38843103f0ef7581a634eec0
|
||||
|
Binary file not shown.
@ -1,5 +1,5 @@
|
||||
DIST conmon-2.0.11.tar.gz 58791 BLAKE2B a2b9e06041e0455d1445974b76d87e96fc6e248053ca52d48625e635ff709e180d1f9cc96cbcae9896261cf9b7401f1f10749b161451c4aa1bff4ec2d89118d0 SHA512 6ec1f14e1d0216305cc5f866566804204233239b6b428d040385e38b7c9f0d1160bb3af4ec31a441171934358f7f4b315b127507d54bc180e765846ed7b2588e
|
||||
DIST conmon-2.0.15.tar.gz 61983 BLAKE2B c29de3c9df41b9f27fc2a0f0ac64c1ce27e5dbb21c9a74b060516692a910be4370f7cc4b6225e0243b809fd36848515b28017cb1766cc032a48d7e14b9a72726 SHA512 8310236045d8678bdd07bfd5a56f7ad1e9a01019e27ed8d24dcb83b4489240adce9e118a4fccb6cb0c0f3c31a0272d75bdafba9c50130903d87b7cb68288b470
|
||||
EBUILD conmon-2.0.11.ebuild 984 BLAKE2B 91da7cda589991ccf1bbe6e4377467f13eb37bf2fbe99c65de0b01964caeed61f8ce72206a6d0d7b7535f26eb7985669dd990eb7d5863b93b210b0fec2613cf8 SHA512 727d64b336201947f8d8ed96de5880cf0e818046969f26cf8d5dffe2875d56ed9f3332889e5f4f32c9327a0a2e93b9b540fc724c3ca8d9f16e4e5e2aef86e272
|
||||
DIST conmon-2.0.16.tar.gz 62372 BLAKE2B 0f02689e6ca25ee2f8cdf649f60ed70ac25648dd35af765a5fd97573dd9c176d115b97cea0ea10521f055a92f0775430113f53724fc772d62630dc7daa05b4a7 SHA512 8f44b2426e3fdbb6ca0279b35262f5584c44898843daf6b64d54c3a87dcdfaf9a7283ad38973e6e0f7333ec37236ef7de1de03a3006f5f2593fdb8aff70e5e6c
|
||||
EBUILD conmon-2.0.15.ebuild 984 BLAKE2B c2486e7ee6acf3fdc0c5736891c3ab711db0ac822e4d5c5cc1a0202c3bb4b35bc9679079e7e78d6905a7f51d84caee5ad2d4aafbf667078af0d3245f5a2a4610 SHA512 fc282cc1bf20553d6948825d42a22deee3f08b0b93e991883be3de5ee5ef4d0d19d9244cb20a9cf54b9f613dac3ab6a0cb4b708e110d5a660e83bdbba6f15cba
|
||||
EBUILD conmon-2.0.16.ebuild 984 BLAKE2B 81e155f05e044b404ea55ce798d815fc220e56850ecbc6a6180d3670f3afc7650054e50f98b15f17e27714944b99614ed0dd7f981d303fbd4793be6f4388f941 SHA512 dd7532e31641fa83aa0dd040bc8cedd543ee0c9c94d6f3daab67d8f16de153b907912063cf4c5a95f3dfab5096bf8ef3284e5ffc6100082a76b753af5cdc2f3f
|
||||
MISC metadata.xml 326 BLAKE2B 88e40bbfd92c360f7ed559dc1f3ebe8d35a4905c413de8208a72e255e531d32f61dea3ad710b3a2743df01b29f3f5426440beff3ffcd59139d6f5ce118c17557 SHA512 0709bf7dd7300225974bbf974a3c90c27a368ae6862e080c95f0fb30f314b94c0502258773649fe2cdeba22ad9f5c0d29d000f95e8f7d961e9cdfbea108b4775
|
||||
|
@ -1,9 +1,3 @@
|
||||
DIST cri-tools-1.14.0.tar.gz 3647742 BLAKE2B 1a308c87e7be05dd71cf11d79c841a837156529d398f1475323ff9585f9080cd0356a007f8b8c505a02943ff479a7c26869f35288d178ac8187ca6766032c488 SHA512 c8978e4380ebb2dd59ce533ade94486ae1e4091fda7acd8cf5cce662034a1d34a1851c43bf766a723c5ba71c15972733a2e80c6e82fb1c27e5a1dfc2e85476bf
|
||||
DIST cri-tools-1.15.0.tar.gz 3672568 BLAKE2B d4e9a0b2ca43efdb61c7626de518801a124fb61991f1df6a7eac106f7516ab59effa70038db7c4cbfddaf1c345c648f359c86d298dae08abb34f4b801b82b2a1 SHA512 43115fad485c2c6603e724f3529371133bcea6de069dc58d36e7880f558fa1696244b6129fe3a96fd669b27a3d9bd07bda1219e89afa348e36a85087992adf7f
|
||||
DIST cri-tools-1.16.1.tar.gz 6915584 BLAKE2B eb2bc397b3bbeadb64d4d13610189f18bbf49ff93be1b1f3edf504305ed1a2ca8e271d3c041f5af01117f6c7403671a29df30d7aaab270cdb7ab84ac921fa914 SHA512 df15e6f3c4fe697070547d804bfa6755f780b3f0562f06312f39d3ee8756931bbec7c07482e2ef73413d85c1e9ca58064a769a15b04b3832da17044d180e8b4c
|
||||
DIST cri-tools-1.18.0.tar.gz 5295512 BLAKE2B 9dda4a401b858e98aa60521d3268d8f6ff6a2c1bd2c219a0e5e9e5360fba58d41e97258c636da26ee57bbfc3286798c74107c7de92d3e3398bdf53b7d9078e94 SHA512 849b496e6d19eec29e0e56f0b37c094649311b80514f319b0c68c6519e3ddd48e1973c3d288144db998826676416644ec705b7ea0916c21898b40928ea800af1
|
||||
EBUILD cri-tools-1.14.0.ebuild 956 BLAKE2B 370f1b353b625c26460a5ef81227711f8657f9dcdfcf3a327e1092666720ff09fa268c3c6d00c28c9ba7f607b47793b029f25d3b0ba74320ed4dfdb2fb385c96 SHA512 9cdb18d3ad1eee6ea6fd3e39a274c5aa42647e1283ad0349ac69f3e8aebaa8a51459d1b4045942647aa651f11f677f9a2a0acdd8ab36f697bf390f1cbcb64b23
|
||||
EBUILD cri-tools-1.15.0.ebuild 957 BLAKE2B 9bc931c2ee049ffe33875a898f9f7fa56b0f7f7c61452c748f8034b4f674d397575ec3f057bbc72a269dfac259208f0b6abc8bbd869bf4db4762ec7e73b0311b SHA512 6fcc00e79b73730805708061ac05b82257fa0427d73b0d0790248f2a04bd8f6d4546f2fca881dd929a9f428a8995f484430af65aec746a35e821869d68089a6f
|
||||
EBUILD cri-tools-1.16.1.ebuild 1166 BLAKE2B b9914e8ff5d7a3620bec87aa0c05b69c2550673f5cf539c83d6316c6d7260e23e27c83ba8cdf7bddc6fe22b4d1cce0d442a3902603013b4d5e495ec7ae9ca25a SHA512 087d6b46a5925d26e6223d5a344c1063a9694f41f0657b2281662c9ed27b49fa9419da298966edd6026b01d6f1dc3c810180f0caf06224716119c6054ea881da
|
||||
EBUILD cri-tools-1.18.0.ebuild 847 BLAKE2B 90b1103fcb18c17fba89627b4b4eaa3146725ca01442213f1ef04a3a74c7c8978a5c025b1192525a97d4eb4522c35f91cf676a6998fa047c59fc2f6c3b272cf2 SHA512 5c01f33dd1382beb670d75ce1e743b154960545516dca5cea7114b20efac3380d78fb9bbc3a4c8bf611b212c03df87c0241e5a431e1aa176bbdaa82f19eb575d
|
||||
EBUILD cri-tools-1.18.0.ebuild 846 BLAKE2B 4673efb448fbaf2d2f335d72b6845b5f3dbe646926efc88637f0fc53453e61de56802babf8cc6a72bc868882a8cf66a9056e1b9af4d3a0bb391be620e2593491 SHA512 2a8d349df0f4a3ff2a721e17dd4666a4a5d1f3ccc18f8c094c916d3dd98c4cf4dc16b3038f8c4a7ad88cc752d1074ab29fb1245caf86af7fbae12aed41297f3d
|
||||
MISC metadata.xml 262 BLAKE2B 49e1602cd5ee2277d0a096d29fc8cf7207ac4d650a8dc26ed2db496a854e03d72e18cd86369e4260ca207592fdecd0c9ca8bc6c3db3167d67c6dc0a9af53a5b1 SHA512 01b8c964891da9e8707b95ebe390c0e673af592c77712e811bea3783d314f148d3ce843d41ef59fcecfe0b1cefebfe47070bfee6726cb5d1f3528e143d39d85c
|
||||
|
@ -1,29 +0,0 @@
|
||||
# Copyright 2018 Sony Interactive Entertainment Inc.
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
inherit golang-build golang-vcs-snapshot
|
||||
|
||||
EGO_PN="github.com/kubernetes-sigs/cri-tools"
|
||||
MY_PV="v${PV/_beta/-beta.}"
|
||||
ARCHIVE_URI="https://${EGO_PN}/archive/${MY_PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="amd64"
|
||||
|
||||
DESCRIPTION="CLI and validation tools for Kubelet Container Runtime (CRI)"
|
||||
HOMEPAGE="https://github.com/kubernetes-sigs/cri-tools"
|
||||
SRC_URI="${ARCHIVE_URI}"
|
||||
LICENSE="Apache-2.0 BSD BSD-2 CC-BY-SA-4.0 ISC MIT MPL-2.0"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
src_compile() {
|
||||
GOPATH="${S}" go test -c -v -ldflags="-X ${EGO_PN}/pkg/version.Version=${MY_PV}" -o bin/critest ${EGO_PN}/cmd/critest || die
|
||||
GOPATH="${S}" go build -v -ldflags="-X ${EGO_PN}/pkg/version.Version=${MY_PV}" -o bin/crictl ${EGO_PN}/cmd/crictl || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin bin/*
|
||||
dodoc -r src/${EGO_PN}/{docs,{README,RELEASE,CHANGELOG,CONTRIBUTING}.md}
|
||||
}
|
@ -1,29 +0,0 @@
|
||||
# Copyright 2018 Sony Interactive Entertainment Inc.
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
inherit golang-build golang-vcs-snapshot
|
||||
|
||||
EGO_PN="github.com/kubernetes-sigs/cri-tools"
|
||||
MY_PV="v${PV/_beta/-beta.}"
|
||||
ARCHIVE_URI="https://${EGO_PN}/archive/${MY_PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
DESCRIPTION="CLI and validation tools for Kubelet Container Runtime (CRI)"
|
||||
HOMEPAGE="https://github.com/kubernetes-sigs/cri-tools"
|
||||
SRC_URI="${ARCHIVE_URI}"
|
||||
LICENSE="Apache-2.0 BSD BSD-2 CC-BY-SA-4.0 ISC MIT MPL-2.0"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
src_compile() {
|
||||
GOPATH="${S}" go test -c -v -ldflags="-X ${EGO_PN}/pkg/version.Version=${MY_PV}" -o bin/critest ${EGO_PN}/cmd/critest || die
|
||||
GOPATH="${S}" go build -v -ldflags="-X ${EGO_PN}/pkg/version.Version=${MY_PV}" -o bin/crictl ${EGO_PN}/cmd/crictl || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin bin/*
|
||||
dodoc -r src/${EGO_PN}/{docs,{README,RELEASE,CHANGELOG,CONTRIBUTING}.md}
|
||||
}
|
@ -1,36 +0,0 @@
|
||||
# Copyright 2018 Sony Interactive Entertainment Inc.
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
inherit golang-build golang-vcs-snapshot bash-completion-r1
|
||||
|
||||
EGO_PN="github.com/kubernetes-sigs/cri-tools"
|
||||
MY_PV="v${PV/_beta/-beta.}"
|
||||
ARCHIVE_URI="https://${EGO_PN}/archive/${MY_PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
DESCRIPTION="CLI and validation tools for Kubelet Container Runtime (CRI)"
|
||||
HOMEPAGE="https://github.com/kubernetes-sigs/cri-tools"
|
||||
SRC_URI="${ARCHIVE_URI}"
|
||||
LICENSE="Apache-2.0 BSD BSD-2 CC-BY-SA-4.0 ISC MIT MPL-2.0"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
src_compile() {
|
||||
GOPATH="${S}" go test -c -v -ldflags="-X ${EGO_PN}/pkg/version.Version=${MY_PV}" -o bin/critest ${EGO_PN}/cmd/critest || die
|
||||
GOPATH="${S}" go build -v -ldflags="-X ${EGO_PN}/pkg/version.Version=${MY_PV}" -o bin/crictl ${EGO_PN}/cmd/crictl || die
|
||||
bin/crictl completion bash > ${PN}.bash || die
|
||||
bin/crictl completion zsh > ${PN}.zsh || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin bin/*
|
||||
|
||||
newbashcomp ${PN}.bash ${PN}
|
||||
insinto /usr/share/zsh/site-functions
|
||||
newins ${PN}.zsh _${PN}
|
||||
|
||||
dodoc -r src/${EGO_PN}/{docs,{README,RELEASE,CHANGELOG,CONTRIBUTING}.md}
|
||||
}
|
@ -1,6 +1,8 @@
|
||||
DIST diskimage-builder-2.35.0.tar.gz 439947 BLAKE2B 9b148948caef031f44992aaa2b0463b6cc9390b0591fdfe6e82d8258becda61eb5aa0d87ae91ed73523057ae357dcf327d7ca9d8d6a1b66da7f2d535d6c32dc1 SHA512 c5ad15c7a793a6c4b17e09fb119ad1444273f930741ae68491ce3a95f416cf8bb76ed0f6df4e34e03359355426c9189f2f5a8b730cb9ffd027a0bbd676f62310
|
||||
DIST diskimage-builder-2.36.0.tar.gz 441509 BLAKE2B 4f8ec1686df8438c53eb088e52b954d0b84c8f327108599970f987db8de0f5ea7491e123c5f41fa9ff058d8f9d30238a533357b01e1cb671dd1fb3eb96ad28cb SHA512 f3fc13195742b25b8cca72d8b5630900d77f5af69dd9d153c44875e9e8f8f27393a8478a4adcdc05ea9d5b73b742e066edb5ab636bfd8d88c404c8f0fe33f1e7
|
||||
DIST diskimage-builder-2.37.1.tar.gz 442597 BLAKE2B ea70b0ef7573ae7ccce93bf6792e9866e8799f746ab87db5b2fea4b4c5bb41c18bc4fd1b8fdc7b0bc401be6ed940cf0964391ed235507fd80ebb6a39c811da1c SHA512 5901a13db4a94418bfe0b0e6dde855e32d3286ad31ba922839cba390d1adb79eb36ea7b14133d8e71e712ca562f7ebaa65637c2535276c3ef10b72a3047c3eed
|
||||
EBUILD diskimage-builder-2.35.0.ebuild 1129 BLAKE2B 660fdba0c75e9f9b71dd1b8edc7f979e8a8a055c78078bf10ce7fb145070a74a6fc88844d765fac5f2847b6f797601b9d00c84827e80f62329359fdf7fdb859d SHA512 8e40801a1da5446b1b16c5712d089def56cbf6c25ca74dd64c287fe9157abe399ac6cec752508aa9e9b8651492e39bdf9946d052d07636b1f1bc03abe18e1f23
|
||||
EBUILD diskimage-builder-2.36.0.ebuild 1131 BLAKE2B d077e0bcc6df338cfbab02a90bf1cada112848619de1a660afb0e79d282d1698e6ab39acb47dffb5b8582ac2cd465b63b60febbff791d84f3cdb2c015f194cf5 SHA512 ab2e56b8e7068487ac60422a81b0ba60a59b8bb30e20108a82d1bb809d3ed6987ae0226632e91a7eb3b30d92145792858f0d6b7cd4eaf8fa15caf6d863bfeb0b
|
||||
EBUILD diskimage-builder-2.37.1.ebuild 1133 BLAKE2B 9afdb7d3d275712e8269bb56603671fbe5dab3a396efa1af3c1f72140ad7342753db7c0f78cb4d5a678c04b6ea0f457d25fe363d5fca611a56a31185a2c0db06 SHA512 75d15457af15c15acf162ea1b409f25944926c530832eac9ad5542d04696d0c11b26bc31eeb5167d0284b213c39b21efb37b5fdedb01bec0b8c1f9a73b4e4caf
|
||||
EBUILD diskimage-builder-9999.ebuild 1131 BLAKE2B d077e0bcc6df338cfbab02a90bf1cada112848619de1a660afb0e79d282d1698e6ab39acb47dffb5b8582ac2cd465b63b60febbff791d84f3cdb2c015f194cf5 SHA512 ab2e56b8e7068487ac60422a81b0ba60a59b8bb30e20108a82d1bb809d3ed6987ae0226632e91a7eb3b30d92145792858f0d6b7cd4eaf8fa15caf6d863bfeb0b
|
||||
MISC metadata.xml 718 BLAKE2B 04a2c90bcae79f187feb346d0b73f1d6dd1c1581123ca26bfd3182d97239a37e81875d7a3a7b03c4aa08f2974bd25be5f3021e2e48195d5d09e18b606b5b4c87 SHA512 8e16e9d92a81049d414ae54eaf7a4467982cbd949230adcfab22b636ba2b91885d80e9b047788ccd07eab547ae2f85a56d989b971b64bd926e6ca70972398277
|
||||
|
@ -0,0 +1,39 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{6,7,8} )
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Golden Disk Image builder."
|
||||
HOMEPAGE="http://docs.openstack.org/developer/diskimage-builder/"
|
||||
if [[ ${PV} == 9999* ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://opendev.org/openstack/diskimage-builder.git"
|
||||
else
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux"
|
||||
fi
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
CDEPEND=">=dev-python/pbr-2.0.0[${PYTHON_USEDEP}]
|
||||
!~dev-python/pbr-2.1.0[${PYTHON_USEDEP}]"
|
||||
DEPEND="${CDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
RDEPEND="${CDEPEND}
|
||||
>=dev-python/Babel-2.3.4[${PYTHON_USEDEP}]
|
||||
!~dev-python/Babel-2.4.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/networkx-1.10[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyyaml-3.12[${PYTHON_USEDEP}]
|
||||
>=dev-python/six-1.10.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/stevedore-1.20.0[${PYTHON_USEDEP}]
|
||||
app-emulation/qemu
|
||||
sys-block/parted
|
||||
sys-fs/multipath-tools
|
||||
sys-fs/dosfstools
|
||||
sys-apps/gptfdisk
|
||||
!dev-python/dib-utils[${PYTHON_USEDEP}]"
|
@ -0,0 +1,142 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
EGIT_COMMIT="5d44534fff6877b1cb15b760242279ae6293154c"
|
||||
|
||||
inherit bash-completion-r1 flag-o-matic go-module
|
||||
|
||||
DESCRIPTION="Library and podman tool for running OCI-based containers in Pods"
|
||||
HOMEPAGE="https://github.com/containers/libpod/"
|
||||
SRC_URI="https://github.com/containers/libpod/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
LICENSE="Apache-2.0 BSD BSD-2 CC-BY-SA-4.0 ISC MIT MPL-2.0"
|
||||
SLOT="0"
|
||||
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="apparmor btrfs +fuse +rootless selinux"
|
||||
RESTRICT="test"
|
||||
|
||||
COMMON_DEPEND="
|
||||
app-crypt/gpgme:=
|
||||
>=app-emulation/conmon-2.0.0
|
||||
|| ( >=app-emulation/runc-1.0.0_rc6 app-emulation/crun )
|
||||
dev-libs/libassuan:=
|
||||
dev-libs/libgpg-error:=
|
||||
net-misc/cni-plugins
|
||||
sys-fs/lvm2
|
||||
sys-libs/libseccomp:=
|
||||
|
||||
apparmor? ( sys-libs/libapparmor )
|
||||
btrfs? ( sys-fs/btrfs-progs )
|
||||
rootless? ( app-emulation/slirp4netns )
|
||||
selinux? ( sys-libs/libselinux:= )
|
||||
"
|
||||
DEPEND="
|
||||
${COMMON_DEPEND}
|
||||
dev-go/go-md2man"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
fuse? ( sys-fs/fuse-overlayfs )"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# Disable installation of python modules here, since those are
|
||||
# installed by separate ebuilds.
|
||||
local makefile_sed_args=(
|
||||
-e '/^GIT_.*/d'
|
||||
-e 's/$(GO) build/$(GO) build -v -work -x/'
|
||||
-e 's/^\(install:.*\) install\.python$/\1/'
|
||||
)
|
||||
|
||||
has_version -b '>=dev-lang/go-1.13.9' || makefile_sed_args+=(-e 's:GO111MODULE=off:GO111MODULE=on:')
|
||||
|
||||
sed "${makefile_sed_args[@]}" -i Makefile || die
|
||||
|
||||
sed -e 's|OUTPUT="${CIRRUS_TAG:.*|OUTPUT='v${PV}'|' \
|
||||
-i hack/get_release_info.sh || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# Filter unsupported linker flags
|
||||
filter-flags '-Wl,*'
|
||||
|
||||
[[ -f hack/apparmor_tag.sh ]] || die
|
||||
if use apparmor; then
|
||||
echo -e "#!/bin/sh\necho apparmor" > hack/apparmor_tag.sh || die
|
||||
else
|
||||
echo -e "#!/bin/sh\ntrue" > hack/apparmor_tag.sh || die
|
||||
fi
|
||||
|
||||
[[ -f hack/btrfs_installed_tag.sh ]] || die
|
||||
if use btrfs; then
|
||||
echo -e "#!/bin/sh\ntrue" > hack/btrfs_installed_tag.sh || die
|
||||
else
|
||||
echo -e "#!/bin/sh\necho exclude_graphdriver_btrfs" > \
|
||||
hack/btrfs_installed_tag.sh || die
|
||||
fi
|
||||
|
||||
[[ -f hack/selinux_tag.sh ]] || die
|
||||
if use selinux; then
|
||||
echo -e "#!/bin/sh\necho selinux" > hack/selinux_tag.sh || die
|
||||
else
|
||||
echo -e "#!/bin/sh\ntrue" > hack/selinux_tag.sh || die
|
||||
fi
|
||||
|
||||
export -n GOCACHE GOPATH XDG_CACHE_HOME
|
||||
GOBIN="${S}/bin" \
|
||||
emake all \
|
||||
GIT_BRANCH=master \
|
||||
GIT_BRANCH_CLEAN=master \
|
||||
COMMIT_NO="${EGIT_COMMIT}" \
|
||||
GIT_COMMIT="${EGIT_COMMIT}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install
|
||||
|
||||
insinto /etc/containers
|
||||
newins test/registries.conf registries.conf.example
|
||||
newins test/policy.json policy.json.example
|
||||
|
||||
insinto /usr/share/containers
|
||||
doins seccomp.json
|
||||
|
||||
newinitd "${FILESDIR}"/podman.initd podman
|
||||
|
||||
insinto /etc/logrotate.d
|
||||
newins "${FILESDIR}/podman.logrotated" podman
|
||||
|
||||
dobashcomp completions/bash/*
|
||||
|
||||
keepdir /var/lib/containers
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
LIBPOD_ROOTLESS_UPGRADE=false
|
||||
if use rootless; then
|
||||
has_version 'app-emulation/libpod[rootless]' || LIBPOD_ROOTLESS_UPGRADE=true
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
local want_newline=false
|
||||
if [[ ! ( -e ${EROOT%/*}/etc/containers/policy.json && -e ${EROOT%/*}/etc/containers/registries.conf ) ]]; then
|
||||
elog "You need to create the following config files:"
|
||||
elog "/etc/containers/registries.conf"
|
||||
elog "/etc/containers/policy.json"
|
||||
elog "To copy over default examples, use:"
|
||||
elog "cp /etc/containers/registries.conf{.example,}"
|
||||
elog "cp /etc/containers/policy.json{.example,}"
|
||||
want_newline=true
|
||||
fi
|
||||
if [[ ${LIBPOD_ROOTLESS_UPGRADE} == true ]] ; then
|
||||
${want_newline} && elog ""
|
||||
elog "For rootless operation, you need to configure subuid/subgid"
|
||||
elog "for user running podman. In case subuid/subgid has only been"
|
||||
elog "configured for root, run:"
|
||||
elog "usermod --add-subuids 1065536-1131071 <user>"
|
||||
elog "usermod --add-subgids 1065536-1131071 <user>"
|
||||
want_newline=true
|
||||
fi
|
||||
}
|
@ -1,133 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit autotools bash-completion-r1 linux-info flag-o-matic pam readme.gentoo-r1 systemd
|
||||
|
||||
DESCRIPTION="LinuX Containers userspace utilities"
|
||||
HOMEPAGE="https://linuxcontainers.org/ https://github.com/lxc/lxc"
|
||||
SRC_URI="https://linuxcontainers.org/downloads/lxc/${P}.tar.gz"
|
||||
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
|
||||
|
||||
LICENSE="LGPL-3"
|
||||
SLOT="0"
|
||||
IUSE="apparmor examples pam seccomp selinux +templates"
|
||||
|
||||
RDEPEND="app-misc/pax-utils
|
||||
net-libs/gnutls
|
||||
sys-apps/util-linux
|
||||
sys-libs/libcap
|
||||
virtual/awk
|
||||
pam? ( sys-libs/pam )
|
||||
seccomp? ( sys-libs/libseccomp )
|
||||
selinux? ( sys-libs/libselinux )"
|
||||
DEPEND="${RDEPEND}
|
||||
>=app-text/docbook-sgml-utils-0.6.14-r2
|
||||
>=sys-kernel/linux-headers-3.2
|
||||
apparmor? ( sys-apps/apparmor )"
|
||||
PDEPEND="templates? ( app-emulation/lxc-templates )"
|
||||
|
||||
CONFIG_CHECK="~CGROUPS ~CGROUP_DEVICE
|
||||
~CPUSETS ~CGROUP_CPUACCT
|
||||
~CGROUP_SCHED
|
||||
|
||||
~NAMESPACES
|
||||
~IPC_NS ~USER_NS ~PID_NS
|
||||
|
||||
~CGROUP_FREEZER
|
||||
~UTS_NS ~NET_NS
|
||||
~VETH ~MACVLAN
|
||||
|
||||
~POSIX_MQUEUE
|
||||
~!NETPRIO_CGROUP"
|
||||
|
||||
ERROR_CGROUP_FREEZER="CONFIG_CGROUP_FREEZER: needed to freeze containers"
|
||||
ERROR_UTS_NS="CONFIG_UTS_NS: needed to unshare hostnames and uname info"
|
||||
ERROR_NET_NS="CONFIG_NET_NS: needed for unshared network"
|
||||
ERROR_VETH="CONFIG_VETH: needed for internal (host-to-container) networking"
|
||||
ERROR_MACVLAN="CONFIG_MACVLAN: needed for internal (inter-container) networking"
|
||||
ERROR_POSIX_MQUEUE="CONFIG_POSIX_MQUEUE: needed for lxc-execute command"
|
||||
ERROR_NETPRIO_CGROUP="CONFIG_NETPRIO_CGROUP: as of kernel 3.3 and lxc 0.8.0_rc1 this causes LXCs to fail booting."
|
||||
|
||||
DOCS=( AUTHORS CONTRIBUTING MAINTAINERS NEWS README doc/FAQ.txt )
|
||||
|
||||
pkg_setup() {
|
||||
linux-info_pkg_setup
|
||||
}
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-3.0.0-bash-completion.patch
|
||||
"${FILESDIR}"/${PN}-2.0.5-omit-sysconfig.patch # bug 558854
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
append-flags -fno-strict-aliasing
|
||||
|
||||
# --enable-doc is for manpages which is why we don't link it to a "doc"
|
||||
# USE flag. We always want man pages.
|
||||
local myeconfargs=(
|
||||
--localstatedir=/var
|
||||
--bindir=/usr/bin
|
||||
--sbindir=/usr/bin
|
||||
--with-config-path=/var/lib/lxc
|
||||
--with-rootfs-path=/var/lib/lxc/rootfs
|
||||
--with-distro=gentoo
|
||||
--with-runtime-path=/run
|
||||
--disable-werror
|
||||
--enable-doc
|
||||
--with-systemdsystemunitdir=$(systemd_get_systemunitdir)
|
||||
$(use_enable apparmor)
|
||||
$(use_enable examples)
|
||||
$(use_enable pam)
|
||||
$(use_with pam pamdir $(getpam_mod_dir))
|
||||
$(use_enable seccomp)
|
||||
$(use_enable selinux)
|
||||
)
|
||||
econf "${myeconfargs[@]}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
mv "${ED}"/usr/share/bash-completion/completions/${PN} "${ED}"/$(get_bashcompdir)/${PN}-start || die
|
||||
bashcomp_alias ${PN}-start \
|
||||
${PN}-{attach,cgroup,copy,console,create,destroy,device,execute,freeze,info,monitor,snapshot,stop,unfreeze,wait}
|
||||
|
||||
keepdir /etc/lxc /var/lib/lxc/rootfs /var/log/lxc
|
||||
rmdir "${D}"/var/cache/lxc "${D}"/var/cache || die "rmdir failed"
|
||||
|
||||
find "${D}" -name '*.la' -delete -o -name '*.a' -delete || die
|
||||
|
||||
# Gentoo-specific additions!
|
||||
newinitd "${FILESDIR}/${PN}.initd.8" ${PN}
|
||||
|
||||
# Remember to compare our systemd unit file with the upstream one
|
||||
# config/init/systemd/lxc.service.in
|
||||
systemd_newunit "${FILESDIR}"/${PN}_at.service.4.0.0 "lxc@.service"
|
||||
|
||||
DOC_CONTENTS="
|
||||
For openrc, there is an init script provided with the package.
|
||||
You _should_ only need to symlink /etc/init.d/lxc to
|
||||
/etc/init.d/lxc.configname to start the container defined in
|
||||
/etc/lxc/configname.conf.
|
||||
|
||||
Correspondingly, for systemd a service file lxc@.service is installed.
|
||||
Enable and start lxc@configname in order to start the container defined
|
||||
in /etc/lxc/configname.conf.
|
||||
|
||||
If you want checkpoint/restore functionality, please install criu
|
||||
(sys-process/criu)."
|
||||
DISABLE_AUTOFORMATTING=true
|
||||
readme.gentoo_create_doc
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
readme.gentoo_print_elog
|
||||
}
|
@ -0,0 +1,150 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
PYTHON_REQ_USE='xml,threads'
|
||||
|
||||
inherit flag-o-matic multilib python-single-r1 toolchain-funcs
|
||||
|
||||
XEN_EXTFILES_URL="http://xenbits.xensource.com/xen-extfiles"
|
||||
LIBPCI_URL=ftp://atrey.karlin.mff.cuni.cz/pub/linux/pci
|
||||
GRUB_URL=mirror://gnu-alpha/grub
|
||||
|
||||
UPSTREAM_VER=
|
||||
[[ -n ${UPSTREAM_VER} ]] && \
|
||||
UPSTREAM_PATCHSET_URI="https://dev.gentoo.org/~dlan/distfiles/${P/-pvgrub/}-upstream-patches-${UPSTREAM_VER}.tar.xz
|
||||
https://github.com/hydrapolic/gentoo-dist/raw/master/xen/${P/-pvgrub/}-upstream-patches-${UPSTREAM_VER}.tar.xz"
|
||||
|
||||
SRC_URI="
|
||||
https://downloads.xenproject.org/release/xen/${PV}/xen-${PV}.tar.gz
|
||||
$GRUB_URL/grub-0.97.tar.gz
|
||||
$XEN_EXTFILES_URL/zlib-1.2.3.tar.gz
|
||||
$LIBPCI_URL/pciutils-2.2.9.tar.bz2
|
||||
$XEN_EXTFILES_URL/lwip-1.3.0.tar.gz
|
||||
$XEN_EXTFILES_URL/newlib/newlib-1.16.0.tar.gz
|
||||
$XEN_EXTFILES_URL/polarssl-1.1.4-gpl.tgz
|
||||
${UPSTREAM_PATCHSET_URI}"
|
||||
|
||||
S="${WORKDIR}/xen-${PV}"
|
||||
|
||||
DESCRIPTION="allows to boot Xen domU kernels from a menu.lst laying inside guest filesystem"
|
||||
HOMEPAGE="https://www.xenproject.org"
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
DEPEND="sys-devel/gettext
|
||||
sys-devel/bin86
|
||||
sys-apps/texinfo
|
||||
x11-libs/pixman"
|
||||
|
||||
RDEPEND="${PYTHON_DEPS}
|
||||
>=app-emulation/xen-tools-${PV}"
|
||||
|
||||
pkg_setup() {
|
||||
python-single-r1_pkg_setup
|
||||
}
|
||||
|
||||
retar-externals() {
|
||||
# Purely to unclutter src_prepare
|
||||
local set="grub-0.97.tar.gz lwip-1.3.0.tar.gz newlib-1.16.0.tar.gz polarssl-1.1.4-gpl.tgz zlib-1.2.3.tar.gz"
|
||||
|
||||
# eapply can't patch in $WORKDIR, requires a sed; Bug #455194. Patchable, but sed informative
|
||||
sed -e s':AR=${AR-"ar rc"}:AR=${AR-"ar"}:' \
|
||||
-i "${WORKDIR}"/zlib-1.2.3/configure || die
|
||||
sed -e 's:^AR=ar rc:AR=ar:' \
|
||||
-e s':$(AR) $@:$(AR) rc $@:' \
|
||||
-i "${WORKDIR}"/zlib-1.2.3/{Makefile,Makefile.in} || die
|
||||
einfo "zlib Makefile edited"
|
||||
|
||||
cd "${WORKDIR}" || die
|
||||
tar czp zlib-1.2.3 -f zlib-1.2.3.tar.gz || die
|
||||
tar czp grub-0.97 -f grub-0.97.tar.gz || die
|
||||
tar czp lwip -f lwip-1.3.0.tar.gz || die
|
||||
tar czp newlib-1.16.0 -f newlib-1.16.0.tar.gz || die
|
||||
tar czp polarssl-1.1.4 -f polarssl-1.1.4-gpl.tgz || die
|
||||
mv $set "${S}"/stubdom/ || die
|
||||
einfo "tarballs moved to source"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Upstream's patchset
|
||||
if [[ -n ${UPSTREAM_VER} ]]; then
|
||||
einfo "Try to apply Xen Upstream patch set"
|
||||
EPATCH_SUFFIX="patch" \
|
||||
EPATCH_FORCE="yes" \
|
||||
EPATCH_OPTS="-p1" \
|
||||
eapply "${WORKDIR}"/patches-upstream
|
||||
fi
|
||||
|
||||
# Patch the unmergeable newlib, fix most of the leftover gcc QA issues
|
||||
cp "${FILESDIR}"/newlib-implicits.patch stubdom || die
|
||||
|
||||
# Patch stubdom/Makefile to patch insource newlib & prevent internal downloading
|
||||
eapply "${FILESDIR}"/${PN/-pvgrub/}-4.10-externals.patch
|
||||
|
||||
# fix jobserver in Makefile
|
||||
eapply "${FILESDIR}"/${PN}-4.8-jserver.patch
|
||||
|
||||
#Substitute for internal downloading. pciutils copied only due to the only .bz2
|
||||
cp "${DISTDIR}"/pciutils-2.2.9.tar.bz2 ./stubdom/ || die "pciutils not copied to stubdom"
|
||||
retar-externals || die "re-tar procedure failed"
|
||||
|
||||
default
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf="--prefix=${PREFIX}/usr \
|
||||
--libdir=${PREFIX}/usr/$(get_libdir) \
|
||||
--libexecdir=${PREFIX}/usr/libexec \
|
||||
--disable-werror \
|
||||
--disable-xen"
|
||||
|
||||
econf ${myconf}
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
unset CFLAGS
|
||||
if test-flag-CC -fno-strict-overflow; then
|
||||
append-flags -fno-strict-overflow
|
||||
fi
|
||||
|
||||
emake CC="$(tc-getCC)" LD="$(tc-getLD)" AR="$(tc-getAR)" -C tools/include
|
||||
emake CC="$(tc-getCC)" LD="$(tc-getLD)" AR="$(tc-getAR)" -C tools/libs
|
||||
|
||||
if use x86; then
|
||||
emake CC="$(tc-getCC)" LD="$(tc-getLD)" AR="$(tc-getAR)" \
|
||||
XEN_TARGET_ARCH="x86_32" -C stubdom pv-grub
|
||||
elif use amd64; then
|
||||
emake CC="$(tc-getCC)" LD="$(tc-getLD)" AR="$(tc-getAR)" \
|
||||
XEN_TARGET_ARCH="x86_64" -C stubdom pv-grub
|
||||
if has_multilib_profile; then
|
||||
multilib_toolchain_setup x86
|
||||
emake CC="$(tc-getCC)" AR="$(tc-getAR)" \
|
||||
XEN_TARGET_ARCH="x86_32" -C stubdom pv-grub
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
if use x86; then
|
||||
emake XEN_TARGET_ARCH="x86_32" DESTDIR="${D}" -C stubdom install-grub
|
||||
fi
|
||||
if use amd64; then
|
||||
emake XEN_TARGET_ARCH="x86_64" DESTDIR="${D}" -C stubdom install-grub
|
||||
if has_multilib_profile; then
|
||||
emake XEN_TARGET_ARCH="x86_32" DESTDIR="${D}" -C stubdom install-grub
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "Official Xen Guide and the offical wiki page:"
|
||||
elog "https://wiki.gentoo.org/wiki/Xen"
|
||||
elog "https://wiki.xen.org/wiki/Main_Page"
|
||||
}
|
@ -0,0 +1,500 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
PYTHON_REQ_USE='ncurses,xml,threads'
|
||||
|
||||
inherit bash-completion-r1 flag-o-matic multilib python-single-r1 toolchain-funcs
|
||||
|
||||
MY_PV=${PV/_/-}
|
||||
|
||||
if [[ $PV == *9999 ]]; then
|
||||
inherit git-r3
|
||||
REPO="xen.git"
|
||||
EGIT_REPO_URI="git://xenbits.xen.org/${REPO}"
|
||||
S="${WORKDIR}/${REPO}"
|
||||
else
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
|
||||
UPSTREAM_VER=
|
||||
SECURITY_VER=
|
||||
# xen-tools's gentoo patches tarball
|
||||
GENTOO_VER=21
|
||||
# xen-tools's gentoo patches version which apply to this specific ebuild
|
||||
GENTOO_GPV=0
|
||||
# xen-tools ovmf's patches
|
||||
OVMF_VER=
|
||||
|
||||
SEABIOS_VER=1.12.0
|
||||
EDK2_COMMIT=ef529e6ab7c31290a33045bb1f1837447cc0eb56
|
||||
IPXE_COMMIT=d2063b7693e0e35db97b2264aa987eb6341ae779
|
||||
|
||||
[[ -n ${UPSTREAM_VER} ]] && \
|
||||
UPSTREAM_PATCHSET_URI="https://dev.gentoo.org/~dlan/distfiles/${P/-tools/}-upstream-patches-${UPSTREAM_VER}.tar.xz
|
||||
https://github.com/hydrapolic/gentoo-dist/raw/master/xen/${P/-tools/}-upstream-patches-${UPSTREAM_VER}.tar.xz"
|
||||
[[ -n ${SECURITY_VER} ]] && \
|
||||
SECURITY_PATCHSET_URI="https://dev.gentoo.org/~dlan/distfiles/${PN/-tools}-security-patches-${SECURITY_VER}.tar.xz"
|
||||
[[ -n ${GENTOO_VER} ]] && \
|
||||
GENTOO_PATCHSET_URI="https://dev.gentoo.org/~dlan/distfiles/${PN/-tools}-gentoo-patches-${GENTOO_VER}.tar.xz
|
||||
https://github.com/hydrapolic/gentoo-dist/raw/master/xen/${PN/-tools/}-gentoo-patches-${GENTOO_VER}.tar.xz"
|
||||
[[ -n ${OVMF_VER} ]] && \
|
||||
OVMF_PATCHSET_URI="https://dev.gentoo.org/~dlan/distfiles/${PN/-tools}-ovmf-patches-${OVMF_VER}.tar.xz"
|
||||
|
||||
SRC_URI="https://downloads.xenproject.org/release/xen/${MY_PV}/xen-${MY_PV}.tar.gz
|
||||
https://www.seabios.org/downloads/seabios-${SEABIOS_VER}.tar.gz
|
||||
ipxe? ( http://xenbits.xen.org/xen-extfiles/ipxe-git-${IPXE_COMMIT}.tar.gz )
|
||||
ovmf? ( https://github.com/tianocore/edk2/archive/${EDK2_COMMIT}.tar.gz -> edk2-${EDK2_COMMIT}.tar.gz
|
||||
${OVMF_PATCHSET_URI} )
|
||||
${UPSTREAM_PATCHSET_URI}
|
||||
${SECURITY_PATCHSET_URI}
|
||||
${GENTOO_PATCHSET_URI}"
|
||||
|
||||
S="${WORKDIR}/xen-${MY_PV}"
|
||||
fi
|
||||
|
||||
DESCRIPTION="Xen tools including QEMU and xl"
|
||||
HOMEPAGE="https://www.xenproject.org"
|
||||
DOCS=( README )
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0/$(ver_cut 1-2)"
|
||||
# Inclusion of IUSE ocaml on stabalizing requires maintainer of ocaml to (get off his hands and) make
|
||||
# >=dev-lang/ocaml-4 stable
|
||||
# Masked in profiles/eapi-5-files instead
|
||||
IUSE="api debug doc flask +hvm +ipxe ocaml ovmf +pam pygrub python +qemu +qemu-traditional +rombios screen sdl static-libs system-ipxe system-qemu system-seabios"
|
||||
|
||||
REQUIRED_USE="
|
||||
${PYTHON_REQUIRED_USE}
|
||||
ipxe? ( rombios )
|
||||
ovmf? ( hvm )
|
||||
pygrub? ( python )
|
||||
rombios? ( hvm )
|
||||
system-ipxe? ( rombios )
|
||||
?? ( ipxe system-ipxe )
|
||||
?? ( qemu system-qemu )"
|
||||
|
||||
COMMON_DEPEND="
|
||||
sys-apps/pciutils
|
||||
dev-libs/lzo:2
|
||||
dev-libs/glib:2
|
||||
dev-libs/yajl
|
||||
dev-libs/libaio
|
||||
dev-libs/libgcrypt:0
|
||||
sys-libs/zlib
|
||||
${PYTHON_DEPS}
|
||||
"
|
||||
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
>=sys-kernel/linux-headers-4.11
|
||||
$(python_gen_cond_dep '
|
||||
dev-python/lxml[${PYTHON_MULTI_USEDEP}]
|
||||
pam? ( dev-python/pypam[${PYTHON_MULTI_USEDEP}] )
|
||||
')
|
||||
x86? ( sys-devel/dev86
|
||||
system-ipxe? ( sys-firmware/ipxe[qemu] )
|
||||
sys-power/iasl )
|
||||
api? ( dev-libs/libxml2
|
||||
net-misc/curl )
|
||||
ovmf? (
|
||||
!arm? ( !arm64? ( dev-lang/nasm ) )
|
||||
$(python_gen_impl_dep sqlite)
|
||||
)
|
||||
!amd64? ( >=sys-apps/dtc-1.4.0 )
|
||||
amd64? ( sys-power/iasl
|
||||
system-seabios? ( sys-firmware/seabios )
|
||||
system-ipxe? ( sys-firmware/ipxe[qemu] )
|
||||
rombios? ( sys-devel/bin86 sys-devel/dev86 ) )
|
||||
dev-lang/perl
|
||||
app-misc/pax-utils
|
||||
doc? (
|
||||
app-text/ghostscript-gpl
|
||||
app-text/pandoc
|
||||
$(python_gen_cond_dep '
|
||||
dev-python/markdown[${PYTHON_MULTI_USEDEP}]
|
||||
')
|
||||
dev-texlive/texlive-latexextra
|
||||
media-gfx/transfig
|
||||
)
|
||||
hvm? ( x11-base/xorg-proto )
|
||||
qemu? (
|
||||
app-arch/snappy:=
|
||||
x11-libs/pixman
|
||||
sdl? (
|
||||
media-libs/libsdl[X]
|
||||
media-libs/libsdl2[X]
|
||||
)
|
||||
)
|
||||
system-qemu? ( app-emulation/qemu[xen] )
|
||||
ocaml? ( dev-ml/findlib
|
||||
>=dev-lang/ocaml-4 )
|
||||
python? ( dev-lang/swig )"
|
||||
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
sys-apps/iproute2[-minimal]
|
||||
net-misc/bridge-utils
|
||||
screen? (
|
||||
app-misc/screen
|
||||
app-admin/logrotate
|
||||
)"
|
||||
|
||||
# hvmloader is used to bootstrap a fully virtualized kernel
|
||||
# Approved by QA team in bug #144032
|
||||
QA_WX_LOAD="
|
||||
usr/libexec/xen/boot/hvmloader
|
||||
usr/share/qemu-xen/qemu/hppa-firmware.img
|
||||
usr/share/qemu-xen/qemu/s390-ccw.img
|
||||
usr/share/qemu-xen/qemu/u-boot.e500
|
||||
"
|
||||
|
||||
QA_PREBUILT="
|
||||
usr/libexec/xen/bin/ivshmem-client
|
||||
usr/libexec/xen/bin/ivshmem-server
|
||||
usr/libexec/xen/bin/qemu-img
|
||||
usr/libexec/xen/bin/qemu-io
|
||||
usr/libexec/xen/bin/qemu-keymap
|
||||
usr/libexec/xen/bin/qemu-nbd
|
||||
usr/libexec/xen/bin/qemu-pr-helper
|
||||
usr/libexec/xen/bin/qemu-system-i386
|
||||
usr/libexec/xen/bin/virtfs-proxy-helper
|
||||
usr/libexec/xen/libexec/xen-bridge-helper
|
||||
usr/share/qemu-xen/qemu/s390-ccw.img
|
||||
usr/share/qemu-xen/qemu/s390-netboot.img
|
||||
usr/share/qemu-xen/qemu/u-boot.e500
|
||||
"
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
pkg_setup() {
|
||||
python_setup
|
||||
export "CONFIG_LOMOUNT=y"
|
||||
|
||||
#bug 522642, disable compile tools/tests
|
||||
export "CONFIG_TESTS=n"
|
||||
|
||||
if [[ -z ${XEN_TARGET_ARCH} ]] ; then
|
||||
if use x86 && use amd64; then
|
||||
die "Confusion! Both x86 and amd64 are set in your use flags!"
|
||||
elif use x86; then
|
||||
export XEN_TARGET_ARCH="x86_32"
|
||||
elif use amd64 ; then
|
||||
export XEN_TARGET_ARCH="x86_64"
|
||||
elif use arm; then
|
||||
export XEN_TARGET_ARCH="arm32"
|
||||
elif use arm64; then
|
||||
export XEN_TARGET_ARCH="arm64"
|
||||
else
|
||||
die "Unsupported architecture!"
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
local i
|
||||
|
||||
# Upstream's patchset
|
||||
if [[ -n ${UPSTREAM_VER} ]]; then
|
||||
einfo "Try to apply Xen Upstream patch set"
|
||||
eapply "${WORKDIR}"/patches-upstream
|
||||
fi
|
||||
|
||||
# Security patchset
|
||||
if [[ -n ${SECURITY_VER} ]]; then
|
||||
einfo "Try to apply Xen Security patch set"
|
||||
# apply main xen patches
|
||||
# Two parallel systems, both work side by side
|
||||
# Over time they may concdense into one. This will suffice for now
|
||||
EPATCH_SUFFIX="patch"
|
||||
EPATCH_FORCE="yes"
|
||||
|
||||
source "${WORKDIR}"/patches-security/${PV}.conf || die
|
||||
|
||||
for i in ${XEN_SECURITY_MAIN}; do
|
||||
eapply "${WORKDIR}"/patches-security/xen/$i
|
||||
done
|
||||
|
||||
# apply qemu-xen/upstream patches
|
||||
pushd "${S}"/tools/qemu-xen/ > /dev/null
|
||||
for i in ${XEN_SECURITY_QEMUU}; do
|
||||
eapply "${WORKDIR}"/patches-security/qemuu/$i
|
||||
done
|
||||
popd > /dev/null
|
||||
|
||||
# apply qemu-traditional patches
|
||||
pushd "${S}"/tools/qemu-xen-traditional/ > /dev/null
|
||||
for i in ${XEN_SECURITY_QEMUT}; do
|
||||
eapply "${WORKDIR}"/patches-security/qemut/$i
|
||||
done
|
||||
popd > /dev/null
|
||||
fi
|
||||
|
||||
# move before Gentoo patch, one patch should apply to seabios, to fix gcc-4.5.x build err
|
||||
mv ../seabios-${SEABIOS_VER} tools/firmware/seabios-dir-remote || die
|
||||
pushd tools/firmware/ > /dev/null
|
||||
ln -s seabios-dir-remote seabios-dir || die
|
||||
popd > /dev/null
|
||||
|
||||
# Gentoo's patchset
|
||||
if [[ -n ${GENTOO_VER} && -n ${GENTOO_GPV} ]]; then
|
||||
einfo "Try to apply Gentoo specific patch set"
|
||||
source "${FILESDIR}"/gentoo-patches.conf || die
|
||||
_gpv=_gpv_${PN/-/_}_${PV//./}_${GENTOO_GPV}
|
||||
for i in ${!_gpv}; do
|
||||
eapply "${WORKDIR}"/patches-gentoo/$i
|
||||
done
|
||||
fi
|
||||
|
||||
# Ovmf's patchset
|
||||
if use ovmf; then
|
||||
if [[ -n ${OVMF_VER} ]];then
|
||||
einfo "Try to apply Ovmf patch set"
|
||||
pushd "${WORKDIR}"/edk2-*/ > /dev/null
|
||||
eapply "${WORKDIR}"/patches-ovmf
|
||||
popd > /dev/null
|
||||
fi
|
||||
mv ../edk2-${EDK2_COMMIT} tools/firmware/ovmf-dir-remote || die
|
||||
cp tools/firmware/ovmf-makefile tools/firmware/ovmf-dir-remote/Makefile || die
|
||||
fi
|
||||
|
||||
# ipxe
|
||||
if use ipxe; then
|
||||
cp "${DISTDIR}/ipxe-git-${IPXE_COMMIT}.tar.gz" tools/firmware/etherboot/_ipxe.tar.gz || die
|
||||
|
||||
# gcc 9
|
||||
cp "${WORKDIR}/patches-gentoo/${PN}-4.12.0-ipxe-gcc9.patch" \
|
||||
tools/firmware/etherboot/patches/ipxe-gcc9.patch || die
|
||||
echo "ipxe-gcc9.patch" >> tools/firmware/etherboot/patches/series || die
|
||||
|
||||
# gcc 10
|
||||
cp "${WORKDIR}/patches-gentoo/xen-tools-4.13.0-ipxe-gcc10.patch" \
|
||||
tools/firmware/etherboot/patches/ipxe-gcc10.patch || die
|
||||
echo ipxe-gcc10.patch >> tools/firmware/etherboot/patches/series || die
|
||||
fi
|
||||
|
||||
mv tools/qemu-xen/qemu-bridge-helper.c tools/qemu-xen/xen-bridge-helper.c || die
|
||||
|
||||
# Fix texi2html build error with new texi2html, qemu.doc.html
|
||||
sed -i -e "/texi2html -monolithic/s/-number//" tools/qemu-xen-traditional/Makefile || die
|
||||
|
||||
use api || sed -e "/SUBDIRS-\$(LIBXENAPI_BINDINGS) += libxen/d" -i tools/Makefile || die
|
||||
sed -e 's:$(MAKE) PYTHON=$(PYTHON) subdirs-$@:LC_ALL=C "$(MAKE)" PYTHON=$(PYTHON) subdirs-$@:' \
|
||||
-i tools/firmware/Makefile || die
|
||||
|
||||
# Drop .config, fixes to gcc-4.6
|
||||
sed -e '/-include $(XEN_ROOT)\/.config/d' -i Config.mk || die "Couldn't drop"
|
||||
|
||||
# drop flags
|
||||
unset CFLAGS
|
||||
unset LDFLAGS
|
||||
unset ASFLAGS
|
||||
unset CPPFLAGS
|
||||
|
||||
if ! use pygrub; then
|
||||
sed -e '/^SUBDIRS-y += pygrub/d' -i tools/Makefile || die
|
||||
fi
|
||||
|
||||
if ! use python; then
|
||||
sed -e '/^SUBDIRS-y += python$/d' -i tools/Makefile || die
|
||||
fi
|
||||
|
||||
if ! use hvm; then
|
||||
sed -e '/SUBDIRS-$(CONFIG_X86) += firmware/d' -i tools/Makefile || die
|
||||
# Bug 351648
|
||||
elif ! use x86 && ! has x86 $(get_all_abis); then
|
||||
mkdir -p "${WORKDIR}"/extra-headers/gnu || die
|
||||
touch "${WORKDIR}"/extra-headers/gnu/stubs-32.h || die
|
||||
export CPATH="${WORKDIR}"/extra-headers
|
||||
fi
|
||||
|
||||
if use qemu; then
|
||||
if use sdl; then
|
||||
sed -i -e "s:\$\$source/configure:\0 --enable-sdl:" \
|
||||
tools/Makefile || die
|
||||
else
|
||||
sed -i -e "s:\${QEMU_ROOT\:\-\.}/configure:\0 --disable-sdl:" \
|
||||
tools/qemu-xen-traditional/xen-setup || die
|
||||
sed -i -e "s:\$\$source/configure:\0 --disable-sdl:" \
|
||||
tools/Makefile || die
|
||||
fi
|
||||
else
|
||||
# Don't bother with qemu, only needed for fully virtualised guests
|
||||
sed -i '/SUBDIRS-$(CONFIG_QEMU_XEN)/s/^/#/g' tools/Makefile || die
|
||||
fi
|
||||
|
||||
# Reset bash completion dir; Bug 472438
|
||||
sed -e "s:^BASH_COMPLETION_DIR ?= \$(CONFIG_DIR)/bash_completion.d:BASH_COMPLETION_DIR ?= $(get_bashcompdir):" \
|
||||
-i Config.mk || die
|
||||
sed -i -e "/bash-completion/s/xl\.sh/xl/g" tools/libxl/Makefile || die
|
||||
|
||||
# xencommons, Bug #492332, sed lighter weight than patching
|
||||
sed -e 's:\$QEMU_XEN -xen-domid:test -e "\$QEMU_XEN" \&\& &:' \
|
||||
-i tools/hotplug/Linux/init.d/xencommons.in || die
|
||||
|
||||
# fix bashishm
|
||||
sed -e '/Usage/s/\$//g' \
|
||||
-i tools/hotplug/Linux/init.d/xendriverdomain.in || die
|
||||
|
||||
# respect multilib, usr/lib/libcacard.so.0.0.0
|
||||
sed -e "/^libdir=/s/\/lib/\/$(get_libdir)/" \
|
||||
-i tools/qemu-xen/configure || die
|
||||
|
||||
#bug 518136, don't build 32bit exactuable for nomultilib profile
|
||||
if [[ "${ARCH}" == 'amd64' ]] && ! has_multilib_profile; then
|
||||
sed -i -e "/x86_emulator/d" tools/tests/Makefile || die
|
||||
fi
|
||||
|
||||
# uncomment lines in xl.conf
|
||||
sed -e 's:^#autoballoon=:autoballoon=:' \
|
||||
-e 's:^#lockfile=:lockfile=:' \
|
||||
-e 's:^#vif.default.script=:vif.default.script=:' \
|
||||
-i tools/examples/xl.conf || die
|
||||
|
||||
# disable capstone (Bug #673474)
|
||||
sed -e "s:\$\$source/configure:\0 --disable-capstone:" \
|
||||
-i tools/Makefile || die
|
||||
|
||||
# disable glusterfs
|
||||
sed -e "s:\$\$source/configure:\0 --disable-glusterfs:" \
|
||||
-i tools/Makefile || die
|
||||
|
||||
default
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf="--prefix=${PREFIX}/usr \
|
||||
--libdir=${PREFIX}/usr/$(get_libdir) \
|
||||
--libexecdir=${PREFIX}/usr/libexec \
|
||||
--localstatedir=${EPREFIX}/var \
|
||||
--disable-werror \
|
||||
--disable-xen \
|
||||
--enable-tools \
|
||||
--enable-docs \
|
||||
$(use_enable api xenapi) \
|
||||
$(use_enable ipxe) \
|
||||
$(usex system-ipxe '--with-system-ipxe=/usr/share/ipxe' '') \
|
||||
$(use_enable ocaml ocamltools) \
|
||||
$(use_enable ovmf) \
|
||||
$(use_enable pam) \
|
||||
$(use_enable rombios) \
|
||||
--with-xenstored=$(usex ocaml 'oxenstored' 'xenstored') \
|
||||
"
|
||||
|
||||
use system-seabios && myconf+=" --with-system-seabios=/usr/share/seabios/bios.bin"
|
||||
use system-qemu && myconf+=" --with-system-qemu=/usr/bin/qemu-system-x86_64"
|
||||
use amd64 && myconf+=" $(use_enable qemu-traditional)"
|
||||
tc-ld-disable-gold # Bug 669570
|
||||
econf ${myconf}
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local myopt
|
||||
use debug && myopt="${myopt} debug=y"
|
||||
use python && myopt="${myopt} XENSTAT_PYTHON_BINDINGS=y"
|
||||
|
||||
if test-flag-CC -fno-strict-overflow; then
|
||||
append-flags -fno-strict-overflow
|
||||
fi
|
||||
|
||||
emake CC="$(tc-getCC)" LD="$(tc-getLD)" AR="$(tc-getAR)" RANLIB="$(tc-getRANLIB)" build-tools ${myopt}
|
||||
|
||||
if use doc; then
|
||||
emake -C docs build
|
||||
else
|
||||
emake -C docs man-pages
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# Override auto-detection in the build system, bug #382573
|
||||
export INITD_DIR=/tmp/init.d
|
||||
export CONFIG_LEAF_DIR=../tmp/default
|
||||
|
||||
# Let the build system compile installed Python modules.
|
||||
local PYTHONDONTWRITEBYTECODE
|
||||
export PYTHONDONTWRITEBYTECODE
|
||||
|
||||
emake DESTDIR="${ED}" DOCDIR="/usr/share/doc/${PF}" \
|
||||
XEN_PYTHON_NATIVE_INSTALL=y install-tools
|
||||
|
||||
# Created at runtime
|
||||
rm -rv "${ED}/var/run" || die
|
||||
|
||||
# Fix the remaining Python shebangs.
|
||||
python_fix_shebang "${D}"
|
||||
|
||||
# Remove RedHat-specific stuff
|
||||
rm -rf "${D}"/tmp || die
|
||||
|
||||
if use doc; then
|
||||
emake DESTDIR="${D}" DOCDIR="/usr/share/doc/${PF}" install-docs
|
||||
dodoc -r docs/{pdf,txt}
|
||||
else
|
||||
emake -C docs DESTDIR="${D}" DOCDIR="/usr/share/doc/${PF}" install-man-pages # Bug 668032
|
||||
fi
|
||||
dodoc ${DOCS[@]}
|
||||
|
||||
newconfd "${FILESDIR}"/xendomains.confd xendomains
|
||||
newconfd "${FILESDIR}"/xenstored.confd xenstored
|
||||
newconfd "${FILESDIR}"/xenconsoled.confd xenconsoled
|
||||
newinitd "${FILESDIR}"/xendomains.initd-r2 xendomains
|
||||
newinitd "${FILESDIR}"/xenstored.initd-r1 xenstored
|
||||
newinitd "${FILESDIR}"/xenconsoled.initd xenconsoled
|
||||
newinitd "${FILESDIR}"/xencommons.initd xencommons
|
||||
newconfd "${FILESDIR}"/xencommons.confd xencommons
|
||||
newinitd "${FILESDIR}"/xenqemudev.initd xenqemudev
|
||||
newconfd "${FILESDIR}"/xenqemudev.confd xenqemudev
|
||||
newinitd "${FILESDIR}"/xen-watchdog.initd xen-watchdog
|
||||
|
||||
if use screen; then
|
||||
cat "${FILESDIR}"/xendomains-screen.confd >> "${D}"/etc/conf.d/xendomains || die
|
||||
cp "${FILESDIR}"/xen-consoles.logrotate "${D}"/etc/xen/ || die
|
||||
keepdir /var/log/xen-consoles
|
||||
fi
|
||||
|
||||
# For -static-libs wrt Bug 384355
|
||||
if ! use static-libs; then
|
||||
rm -f "${D}"/usr/$(get_libdir)/*.a "${D}"/usr/$(get_libdir)/ocaml/*/*.a
|
||||
fi
|
||||
|
||||
# for xendomains
|
||||
keepdir /etc/xen/auto
|
||||
|
||||
# Remove files failing QA AFTER emake installs them, avoiding seeking absent files
|
||||
find "${D}" \( -name openbios-sparc32 -o -name openbios-sparc64 \
|
||||
-o -name openbios-ppc -o -name palcode-clipper \) -delete || die
|
||||
|
||||
keepdir /var/lib/xen/dump
|
||||
keepdir /var/lib/xen/xenpaging
|
||||
keepdir /var/lib/xenstored
|
||||
keepdir /var/log/xen
|
||||
|
||||
if use python; then
|
||||
python_domodule "${S}/tools/xenstat/libxenstat/bindings/swig/python/xenstat.py"
|
||||
python_domodule "${S}/tools/xenstat/libxenstat/bindings/swig/python/_xenstat.so"
|
||||
fi
|
||||
|
||||
python_optimize
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "Official Xen Guide and the offical wiki page:"
|
||||
elog "https://wiki.gentoo.org/wiki/Xen"
|
||||
elog "https://wiki.xen.org/wiki/Main_Page"
|
||||
elog ""
|
||||
elog "Recommended to utilise the xencommons script to config system at boot"
|
||||
elog "Add by use of rc-update on completion of the install"
|
||||
|
||||
if ! use hvm; then
|
||||
echo
|
||||
elog "HVM (VT-x and AMD-V) support has been disabled. If you need hvm"
|
||||
elog "support enable the hvm use flag."
|
||||
elog "An x86 or amd64 system is required to build HVM support."
|
||||
fi
|
||||
|
||||
if use qemu; then
|
||||
elog "The qemu-bridge-helper is renamed to the xen-bridge-helper in the in source"
|
||||
elog "build of qemu. This allows for app-emulation/qemu to be emerged concurrently"
|
||||
elog "with the qemu capable xen. It is up to the user to distinguish between and utilise"
|
||||
elog "the qemu-bridge-helper and the xen-bridge-helper. File bugs of any issues that arise"
|
||||
fi
|
||||
}
|
@ -1,8 +1,9 @@
|
||||
AUX xen-4.11-efi.patch 1971 BLAKE2B b24f9315cff7f2de2a945088363429b9f4dd7a4101d3f1c0d4bf9733189808f5e1c47f1d90d1784f17fa52ca1626972c81d20c5e1ee3d42d082cdefcf67eb8dc SHA512 17208dc107f4ae4c5ec226c2ac05126817134fb6084cd8923204dc1b014e645e12c34cd11296319127e595ccbf17747931e9df78218bf49814f66e3cc6a789fd
|
||||
DIST xen-4.12.2-upstream-patches-2.tar.xz 34484 BLAKE2B 79799a2fa9e638adf80ff1b5a1609b28747dad254da2e8ebd94afd75d5b7c061d25d507e7d388af17905347e180537dec8d0e27bd18cf6c53f51f7272d4adafe SHA512 abf9d82fe20fc9411384283876cf020a31e6c22ab2e54a7fae0d95ade02f434e4afb08d47c3ed5e4bc7ea5f518df7dc57baef2b8e76e3439bd937e2ee3c2b658
|
||||
DIST xen-4.12.2.tar.gz 26985135 BLAKE2B 530821011a6dd0ac0a99fb135ff5311eb8e975c3791818093b5e250eed7854d153de6d4340197f9b949c0ad2c3d7b2b7180deb42bc71748ff70ff6fad195269d SHA512 7d9e7921271830c9eadf1bb8eca1aec20d343ad7475b0dc3165ef6d681759e7cb70739f8d9f85622a23aef960988820e822267fb198b12ee3dd657ad6164069f
|
||||
DIST xen-4.13.0-upstream-patches-2.tar.xz 55980 BLAKE2B b85512456cac253d7f4dd0dca120d694cde0b0f4d0270023bca337f9bc693eb768c1a43d74d412c38dc665ee50a70d2985e5bfc6edde3eacc4376d2f6d7877c8 SHA512 fb852be98209e135a11241dd15e9bd174a5a3724bfaea1fc3b12ba964b8fc275946b1c443c70a78212dff0bc9b25015a00d9f902183c135053e27957b55b6bb6
|
||||
DIST xen-4.13.0.tar.gz 39005191 BLAKE2B cd85bfe549e20447afb8ec6b2ab33ea1893f45392c08737730d7898706748ebb96b2e842b2ff3e4af8c5d8a705e6d25a2bfb8acf0d7cc771805d0cc97757a949 SHA512 5b2ded9a2fe3f7ddf40eed1fa9858baead06233a01eb6099cc45b3c78b6c3823acfe7b731910733e87125dfa49d08c53f74c215fb1b320a92b44b87a0a105225
|
||||
DIST xen-4.12.3.tar.gz 26985230 BLAKE2B 403de519a552f1cd49e5a85b63f48df1b7a47ff8381385860b67df32af0b33be1c13c92ca2234e4479b7f415e711e0f46c396c3f62dfb5b2465d2991723cf6ef SHA512 7bbf4e752477f18143ac9a62fb633b1fbe115a1a9b03d0132f33dfca025bc9b76d9c2e9b66a3e407d14aff161b940b1a82e3e3ca43213798e9dd38b6970194e0
|
||||
DIST xen-4.13.1.tar.gz 39024612 BLAKE2B efff138699fac2c14fad2e0dfd4535ebd744577df3dddccc2a589b81a76f24fc81c75e295f4cd33ca2e820929417b22d714504b576cb0737a563037bd56b6a95 SHA512 b56d20704155d98d803496cba83eb928e0f986a750831cd5600fc88d0ae772fe1456571654375054043d2da8daca255cc98385ebf08b1b1a75ecf7f4b7a0ee90
|
||||
EBUILD xen-4.12.2-r2.ebuild 4438 BLAKE2B f7c59b7e260b7a2fab93501ac0213769c9835bf8e5068a7376b7c473c87a03f927b40948cc74d55a913b45283f1b03dc4373e4c5e884c1168e7767f51fa289fc SHA512 7fdd14a30c867e9a312d9d7e65f7ae85780a4f56d26ca3daae5919f90358d22057940385920daaba4b2f94955e915fff40fbc410213d542263df8369b8e504dc
|
||||
EBUILD xen-4.13.0-r3.ebuild 4445 BLAKE2B 79a5fc63f6b98420dc7be0fa370685bb700e735ba5427e4f064be80b0396dc7543e86445ceec3673a4d125fc3a9b4b3d31e43adfdff0f092364f24ac3a3ccc17 SHA512 9e7754a710578a7976097dac1c0f1978b96b44d70640607e2e94fdefa9c226e0d4df7635ad412a55dd7b7b6c5f6c9161b9977a803197a27ddf2b73f1c4b67375
|
||||
EBUILD xen-4.12.3.ebuild 4438 BLAKE2B ff669a8e199a9736426cd95a23f79960e58b11b41145b15eb128bcc98f428f6a9606b399051a4a23fd05c336907f3d45a35924a63306a490089c7a841560ed4f SHA512 448404d2ec2b9fadc989e758435b7a2ee88bc22ed8eeb550652f7434c45a56106b870e5e3063b1648600fd5b73f16a86de987d5d524da2c4ff12175e8fc78644
|
||||
EBUILD xen-4.13.1.ebuild 4444 BLAKE2B 085b8a5ebdbe26ab3492e45728233954444ce75f8e80c20131970eb78f8116407012a35b625c537f4560ea761b898556ba856c3dcb7a042df0b11c1e07afc803 SHA512 a873b8c862e84d371cf2a3e9131937ddbe47a5077a045d6f58a4cd1ace6a2e3dd3110835515b131aa9e0f7594cb9cabf8a28c5da3ca123ebdb1387d12ca7d2ed
|
||||
MISC metadata.xml 645 BLAKE2B ad902c521cc93a54b16faaea212f23c7bdf83a9efe19606eca7bf00b49104386dbc095ff30c4287bb79d5fcd073b77e7c1bbf929ee7b025039a50f8238572f17 SHA512 313d501abeb906c360d7965e35a18d9851e38af73a72a95351517c60a1a39553555a0a250f0bee5bfc8f6496312d6e9c70874be267c14edab45cb4841e34c248
|
||||
|
@ -0,0 +1,165 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit flag-o-matic mount-boot multilib python-any-r1 toolchain-funcs
|
||||
|
||||
MY_PV=${PV/_/-}
|
||||
MY_P=${PN}-${MY_PV}
|
||||
|
||||
if [[ $PV == *9999 ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="git://xenbits.xen.org/xen.git"
|
||||
SRC_URI=""
|
||||
else
|
||||
KEYWORDS="~amd64 ~arm -x86"
|
||||
UPSTREAM_VER=
|
||||
SECURITY_VER=
|
||||
GENTOO_VER=
|
||||
|
||||
[[ -n ${UPSTREAM_VER} ]] && \
|
||||
UPSTREAM_PATCHSET_URI="https://dev.gentoo.org/~dlan/distfiles/${P}-upstream-patches-${UPSTREAM_VER}.tar.xz
|
||||
https://github.com/hydrapolic/gentoo-dist/raw/master/xen/${P}-upstream-patches-${UPSTREAM_VER}.tar.xz"
|
||||
[[ -n ${SECURITY_VER} ]] && \
|
||||
SECURITY_PATCHSET_URI="https://dev.gentoo.org/~dlan/distfiles/${PN}-security-patches-${SECURITY_VER}.tar.xz"
|
||||
[[ -n ${GENTOO_VER} ]] && \
|
||||
GENTOO_PATCHSET_URI="https://dev.gentoo.org/~dlan/distfiles/${PN}-gentoo-patches-${GENTOO_VER}.tar.xz"
|
||||
SRC_URI="https://downloads.xenproject.org/release/xen/${MY_PV}/${MY_P}.tar.gz
|
||||
${UPSTREAM_PATCHSET_URI}
|
||||
${SECURITY_PATCHSET_URI}
|
||||
${GENTOO_PATCHSET_URI}"
|
||||
fi
|
||||
|
||||
DESCRIPTION="The Xen virtual machine monitor"
|
||||
HOMEPAGE="https://www.xenproject.org"
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
IUSE="debug efi flask"
|
||||
|
||||
DEPEND="${PYTHON_DEPS}
|
||||
efi? ( >=sys-devel/binutils-2.22[multitarget] )
|
||||
!efi? ( >=sys-devel/binutils-2.22 )"
|
||||
RDEPEND=""
|
||||
PDEPEND="~app-emulation/xen-tools-${PV}"
|
||||
|
||||
# no tests are available for the hypervisor
|
||||
# prevent the silliness of /usr/lib/debug/usr/lib/debug files
|
||||
# prevent stripping of the debug info from the /usr/lib/debug/xen-syms
|
||||
RESTRICT="test splitdebug strip"
|
||||
|
||||
# Approved by QA team in bug #144032
|
||||
QA_WX_LOAD="boot/xen-syms-${PV}"
|
||||
|
||||
REQUIRED_USE="arm? ( debug )"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
pkg_setup() {
|
||||
python-any-r1_pkg_setup
|
||||
if [[ -z ${XEN_TARGET_ARCH} ]]; then
|
||||
if use amd64; then
|
||||
export XEN_TARGET_ARCH="x86_64"
|
||||
elif use arm; then
|
||||
export XEN_TARGET_ARCH="arm32"
|
||||
elif use arm64; then
|
||||
export XEN_TARGET_ARCH="arm64"
|
||||
else
|
||||
die "Unsupported architecture!"
|
||||
fi
|
||||
fi
|
||||
|
||||
if use flask ; then
|
||||
export "XSM_ENABLE=y"
|
||||
export "FLASK_ENABLE=y"
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Upstream's patchset
|
||||
[[ -n ${UPSTREAM_VER} ]] && eapply "${WORKDIR}"/patches-upstream
|
||||
|
||||
# Security patchset
|
||||
if [[ -n ${SECURITY_VER} ]]; then
|
||||
einfo "Try to apply Xen Security patch set"
|
||||
# apply main xen patches
|
||||
# Two parallel systems, both work side by side
|
||||
# Over time they may concdense into one. This will suffice for now
|
||||
source "${WORKDIR}"/patches-security/${PV}.conf
|
||||
|
||||
local i
|
||||
for i in ${XEN_SECURITY_MAIN}; do
|
||||
eapply "${WORKDIR}"/patches-security/xen/$i
|
||||
done
|
||||
fi
|
||||
|
||||
# Gentoo's patchset
|
||||
[[ -n ${GENTOO_VER} ]] && eapply "${WORKDIR}"/patches-gentoo
|
||||
|
||||
eapply "${FILESDIR}"/${PN}-4.11-efi.patch
|
||||
|
||||
# Drop .config
|
||||
sed -e '/-include $(XEN_ROOT)\/.config/d' -i Config.mk || die "Couldn't drop"
|
||||
|
||||
if use efi; then
|
||||
export EFI_VENDOR="gentoo"
|
||||
export EFI_MOUNTPOINT="/boot"
|
||||
fi
|
||||
|
||||
default
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
use arm && myopt="${myopt} CONFIG_EARLY_PRINTK=sun7i"
|
||||
|
||||
use debug && myopt="${myopt} debug=y"
|
||||
|
||||
# remove flags
|
||||
unset CFLAGS
|
||||
unset LDFLAGS
|
||||
unset ASFLAGS
|
||||
|
||||
tc-ld-disable-gold # Bug 700374
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# Send raw LDFLAGS so that --as-needed works
|
||||
emake V=1 CC="$(tc-getCC)" LDFLAGS="$(raw-ldflags)" LD="$(tc-getLD)" -C xen ${myopt}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local myopt
|
||||
use debug && myopt="${myopt} debug=y"
|
||||
|
||||
# The 'make install' doesn't 'mkdir -p' the subdirs
|
||||
if use efi; then
|
||||
mkdir -p "${D}"${EFI_MOUNTPOINT}/efi/${EFI_VENDOR} || die
|
||||
fi
|
||||
|
||||
emake LDFLAGS="$(raw-ldflags)" DESTDIR="${D}" -C xen ${myopt} install
|
||||
|
||||
# make install likes to throw in some extra EFI bits if it built
|
||||
use efi || rm -rf "${D}/usr/$(get_libdir)/efi"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "Official Xen Guide:"
|
||||
elog " https://wiki.gentoo.org/wiki/Xen"
|
||||
|
||||
use efi && einfo "The efi executable is installed in /boot/efi/gentoo"
|
||||
|
||||
elog "You can optionally block the installation of /boot/xen-syms by an entry"
|
||||
elog "in folder /etc/portage/env using the portage's feature INSTALL_MASK"
|
||||
elog "e.g. echo ${msg} > /etc/portage/env/xen.conf"
|
||||
|
||||
ewarn
|
||||
ewarn "Xen 4.12+ changed the default scheduler to credit2 which can cause"
|
||||
ewarn "domU lockups on multi-cpu systems. The legacy credit scheduler seems"
|
||||
ewarn "to work fine."
|
||||
ewarn
|
||||
ewarn "Add sched=credit to xen command line options to use the legacy scheduler."
|
||||
ewarn
|
||||
ewarn "https://wiki.gentoo.org/wiki/Xen#Xen_domU_hanging_with_Xen_4.12.2B"
|
||||
}
|
Binary file not shown.
@ -1,4 +1,5 @@
|
||||
AUX honggfuzz-2.0-no-werror.patch 518 BLAKE2B aaf123687ea5f7fd584d1fd5e57f2f6ac50a8d80c3a1555d8b01d42df91a106848ec1d73007e6b67127e767770d91effa5e95dd9016f47fecac0e465e74cfe61 SHA512 7775f683cd5b22d91d3cf16cb0f8e7df50f5159a3f16ef42dc6125c961a856ddfc59c944319575e403747a2af768cd3f93437fc0bbc32bfc12f833f4cd7db0eb
|
||||
DIST honggfuzz-2.2.tar.gz 65219878 BLAKE2B f842c6d3dea22525d1335fbdbdffa349ace743762386e81e40f1eab99dafa8f34b935c1cb4871b25ade76e3ac8f846d0329ef01bc0097a888e60b400819ada2d SHA512 8e6a0cf027d521967a69828afa6e0ae5306ad7387c595405f9d3151344e2aa91f9537355fafdf03f06e6702014e2faa0609c3d249f22af5793663f3c9d09180d
|
||||
EBUILD honggfuzz-2.2-r1.ebuild 725 BLAKE2B efd2a59d70673ccec16ff9b5d7ceac00666c70d631a9de09b970674ae3c0e69023b754bca761f82a01d738c8fc1a20afeb55f57d17ad8b8565014eb9441f4742 SHA512 bf2756e1958817778bed394a37ae88ac7579d726e5d43c41767a8cf0f08c069e9b22828da6b1181fca2aaf8f50f7daaff41b957765386d94cf2a6adbe7e4fde5
|
||||
EBUILD honggfuzz-2.2.ebuild 732 BLAKE2B 80c1cc582f4a4b55ecd4b4ef2e14b113d05ec14e0c5d59f2412426855e18f53032649a76ac2b5516cf5e5c7e5cd2a4d133d31d948d5f708d806d10459ef0038d SHA512 8bbbeae38009b3aab10f1383ee008570bc3cd8a24c55a76782badd12889f82d027ac741d88977eb00bfa6a07acb9eaffdb095f735ca840342a8cb9908633065f
|
||||
MISC metadata.xml 332 BLAKE2B 72702618670b8f8ef24ef68d5f9b1b29c8d25c3630cc5fb22ef859ea7879af84d0c7fc758a02a0b4175e10707f2c161930151b65e2e3d07f154a1b2c48fee152 SHA512 1f75a39cce6995d550344225849dafb3a980df19cc6afd10025e58e6c08086a27a67173ff435c084660970cb4ed18183914afeba712dc461d7fd55f83f9e679d
|
||||
|
@ -0,0 +1,47 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
DESCRIPTION="A general purpose fuzzer with feedback support"
|
||||
HOMEPAGE="https://google.github.io/honggfuzz/"
|
||||
SRC_URI="https://github.com/google/honggfuzz/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
>=sys-libs/binutils-libs-2.29:=
|
||||
sys-libs/libunwind:=
|
||||
app-arch/xz-utils
|
||||
"
|
||||
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
DOCS=(
|
||||
CHANGELOG
|
||||
COPYING
|
||||
CONTRIBUTING
|
||||
README.md
|
||||
)
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-2.0-no-werror.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
tc-export AR CC
|
||||
export CFLAGS
|
||||
export LDFLAGS
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin ${PN}
|
||||
|
||||
einstalldocs
|
||||
}
|
Binary file not shown.
@ -0,0 +1,6 @@
|
||||
AUX fusioninventory-agent-2.5.2-dirs.patch 1195 BLAKE2B 606cd273d5b4a3e0bc73d1abf19ed200060c8b8dcc426996986f5a113c62ea15cd2bf22e5205ae2c310749e9fada4c848c9bc7e0b70782338686dc32a8bf959f SHA512 98f42947f94546ec97be1f007380396d9169fec6fe747f398156527090a3d4ea450ea3f0212709665a4183c2c4daff767fe1050a3f08a8997885f7854b8c29af
|
||||
AUX fusioninventory-agent.confd 71 BLAKE2B b00ff3f7d15e332956498ff1896f9c358b34f89382a272d7aa94fe2b6985b63ff3b62cdb7bbcaaad44bceb7500c61a9ba343627ccb3311bc9c71d5d6089890dd SHA512 d64c9c66857ce69ec566dcd720534ec8327aff5ee7a6919235f6bb6e62472096fa54d64d996cccef8e59a87bb38ade3e403f1f5ecb835361c0419d16d4c36bfc
|
||||
AUX fusioninventory-agent.initd 531 BLAKE2B 90e40812e76ad9d2d16e50b32dd228f9b55f7e519aae96ab8814ae3c977114dfd21e71b20497492f0dd52e0075110af0c50909c8eb23f311a6bd86a72444b626 SHA512 216814ea13b092bed24813914e5f1a481d6d6e75b2a4e3fc2d5b5393a21e516792550436546c59d364a8234a076fd6910de22002f1513763ed640576d14cbed7
|
||||
DIST fusioninventory-agent-2.5.2.tar.gz 2728830 BLAKE2B c6a26c4adb6b8e6bdaf829e46dffa47cc629731411f8b6e55a17eb83bd69536ca0e07899c5e3536ee3962326e643157c60ab8825971b2f44995e42f04e689321 SHA512 5bd39652fd3b857a4364fa300b07b8a2580bdafc6b84f95ab852b60b887ce8278bd99f85b74991b6da5cc21e1636f33c7125dbc27a02df915df4ea6f0ceffaed
|
||||
EBUILD fusioninventory-agent-2.5.2.ebuild 950 BLAKE2B 9e20b5a75cbe22b1f1d4b14743e3569fd15fa6f40e7b4abe5b23d8320e58f36b1409aed6295fcf9139f24b461172e2b98998fa3796063196d0ae4d3ebc96d648 SHA512 302845a10e527a0a81d50c2f1954a2ed6742688e12348867495a7f39a6f901eb3ae0e81fc3f5a3c7391768faecae276edf58841dc8ba676224f29460442231af
|
||||
MISC metadata.xml 248 BLAKE2B 946598a9bc9f658d98c3282fd6affeb3834a4b6071beca852a2f2381d5c17799b6ed17ed427a8f6e10fb3f715cdf2aad9e4fed2886f0dd67dacfdffcd5137f80 SHA512 89d637e180ed3a2c2096be2210633dc5df0760a7d6acd7b2d2ad8a06d473943ee86bad7e74c7df238a50168d1da8044471713e9b044007b9c2f4eb604fb710d5
|
@ -0,0 +1,23 @@
|
||||
--- a/Makefile.PL 2020-05-27 02:16:42.106531746 +0300
|
||||
+++ b/Makefile.PL 2020-05-27 02:17:30.568531767 +0300
|
||||
@@ -170,18 +170,15 @@
|
||||
INSTALLSCRIPT => '$(PREFIX)/bin',
|
||||
INSTALLSITESCRIPT => '$(PREFIX)/bin',
|
||||
INSTALLVENDORSCRIPT => '$(PREFIX)/bin',
|
||||
- INSTALLLIB => '$(DATADIR)/lib',
|
||||
- INSTALLSITELIB => '$(DATADIR)/lib',
|
||||
- INSTALLVENDORLIB => '$(DATADIR)/lib',
|
||||
INSTALLMAN1DIR => '$(PREFIX)/share/man/man1',
|
||||
INSTALLSITEMAN1DIR => '$(PREFIX)/share/man/man1',
|
||||
INSTALLVENDORMAN1DIR => '$(PREFIX)/share/man/man1',
|
||||
INSTALLMAN3DIR => '$(PREFIX)/share/man/man3',
|
||||
INSTALLSITEMAN3DIR => '$(PREFIX)/share/man/man3',
|
||||
INSTALLVENDORMAN3DIR => '$(PREFIX)/share/man/man3',
|
||||
- SYSCONFDIR => '$(PREFIX)/etc/fusioninventory',
|
||||
+ SYSCONFDIR => '/etc/fusioninventory',
|
||||
DATADIR => '$(PREFIX)/share/fusioninventory',
|
||||
- LOCALSTATEDIR => '$(PREFIX)/var/fusioninventory',
|
||||
+ LOCALSTATEDIR => '/var/lib/fusioninventory',
|
||||
);
|
||||
|
||||
# allow variables defined on command line to override defaults
|
@ -0,0 +1,2 @@
|
||||
# additional args for fusioninventory-agent
|
||||
FUSIONINVENTORY_OPTIONS=""
|
@ -0,0 +1,21 @@
|
||||
#!/sbin/openrc-run
|
||||
# Copyright 2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
pidfile=${RC_PREFIX%/}/run/${SVCNAME}.pid
|
||||
|
||||
name="fusioninventory-agent daemon"
|
||||
description="FusionInventroy agent"
|
||||
command=/usr/bin/fusioninventory-agent
|
||||
command_args="--daemon --pidfile ${pidfile} ${FUSIONINVENTORY_OPTIONS}"
|
||||
extra_started_commands="reload"
|
||||
|
||||
depend() {
|
||||
need net
|
||||
}
|
||||
|
||||
reload() {
|
||||
ebegin "Reloading ${SVCNAME}"
|
||||
start-stop-daemon --signal HUP --pidfile "${pidfile}"
|
||||
eend $?
|
||||
}
|
@ -0,0 +1,42 @@
|
||||
# Copyright 2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit perl-module systemd
|
||||
|
||||
DESCRIPTION="The FusionInventory agent is a generic management agent"
|
||||
HOMEPAGE="http://fusioninventory.org/"
|
||||
SRC_URI="https://github.com/fusioninventory/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="
|
||||
dev-perl/libwww-perl
|
||||
dev-perl/File-Which
|
||||
dev-perl/Net-IP
|
||||
dev-perl/Text-Template
|
||||
dev-perl/UNIVERSAL-require
|
||||
dev-perl/XML-TreePP
|
||||
virtual/perl-IO-Compress
|
||||
dev-perl/HTTP-Daemon
|
||||
dev-perl/IO-Socket-SSL
|
||||
dev-perl/LWP-Protocol-https
|
||||
dev-perl/Proc-Daemon
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
BDEPEND="
|
||||
dev-perl/Module-Install
|
||||
"
|
||||
PATCHES=( "${FILESDIR}/${P}-dirs.patch" )
|
||||
|
||||
src_install() {
|
||||
default
|
||||
systemd_dounit contrib/unix/fusioninventory-agent.service
|
||||
doinitd "${FILESDIR}/${PN}.initd"
|
||||
doconfd "${FILESDIR}/${PN}.confd"
|
||||
keepdir /var/lib/fusioninventory
|
||||
}
|
@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>alexxy@gentoo.org</email>
|
||||
<name>Alexey Shvetsov</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
Binary file not shown.
@ -1,6 +1,6 @@
|
||||
AUX abook-0.6.1-tinfo.patch 577 BLAKE2B fb012f1baf2ae0915e797c9f6d506d3c636370e5d112031ea163b076cfdbdd5d5eba080c210b552af426fdbc60c1841c9fefb2aa8779e1d829c3382f9231ba2d SHA512 0c7e657f67749e05aa2710e65ceadd8960a842f4029231298458446c9286945d0c6d89e837020a90e1f1ddc20ebee205469eb1355416d3d98e13fe9341007a99
|
||||
AUX abook-0.6.1-vformat.patch 497 BLAKE2B 7f3c57b05048be59f4037416a3df8c0e3a5ac3661e59c1f1f9afb86756de7852208b565aa40f5342f9bb4e4fb10efe4aaeca90ec4b6e5c1b38b487c8493053e6 SHA512 7073146a80bedcb7bc447d741028dcffd47ce60007b4b276438fb6437e19243f3a088b99ba9da96d2ac1b64b3d0f265613aa9d0426b5c03f57fd4c834544c247
|
||||
DIST abook-0.6.1.tar.gz 319558 BLAKE2B 9d750d97aac2336f1de22121035c0fc9c4707d970976f95890907e5ae2ae3249f563dc45fb34c32c2a5303a9cdb35256dc4581b5759058e14486ca2a7cfe3cdf SHA512 993895ef2fd6d98d50db610699f8f0a28112778065ac56484373eb814afd8ab7371201fc21506c090514f4b29570ec229dc62c606ab068301152567e2c47fe66
|
||||
EBUILD abook-0.6.1-r2.ebuild 981 BLAKE2B c918a7bb66fb2c128df84a6598c116b474bcc81753161faed76e0ee4738b15f7eb8ffdf70b3b4fa673be02574fab151ccc599104474d02df4ba3df1bbf652ab6 SHA512 0705c7bc3a42a5bcaa1869f56465a0dd4adf1a574d2bc301f1c6e8e3b40123f569af6424b4186ca348d8a145482f39dfc929e78783dd747aad5d08bbf557888b
|
||||
EBUILD abook-0.6.1-r2.ebuild 978 BLAKE2B 0e9118fea103b734d9f9ba6d531b68d809dab970bc9d1e179a836f7b9799ddbe6b95837563f35cd50a0dd9505ae8fbcd211a5537326b734e2c63ad1b04b375c0 SHA512 ed6858eb61e9660a0ff2465c9efa7c27a5f65242ed78f83f44772345d6a96c9402f2ae3a170d93170f471644dbefb64867a967b7eb5f8ef23fe7a14376be30e8
|
||||
EBUILD abook-0.6.1.ebuild 959 BLAKE2B 16201ee33578c18ac8b91ac2dbcae233421142d371fb3091a45c8975213081f9a51c8ae09fc3d03c3bbd58c33e4d8d894811acc2d877dcfaae0b0417297f7fe1 SHA512 be92ae79aa58b4ccee582460406255f4a89d4c1a7b68d7006a2f3c4986310779f897c837b2adc066538a954fe201302c54586ca0c91700c2fa98cc611c33c1b4
|
||||
MISC metadata.xml 394 BLAKE2B 7bf50f13c562023ff4695feb92a21827004491743cb073e3e25dc6ce24b69556e8027c21b5f6a4c039032c7222fae4d0a7275940b170a689257203b12266ff26 SHA512 c10bb50afc5cce1b6067662d498b43a37a6718905ef47c6e0b5452d819c704972194516868ac667a35a3266f7d408d9ebc9a92076c53d8236075135c9f034334
|
||||
|
@ -1,5 +1,5 @@
|
||||
DIST pax-utils-1.2.5.tar.xz 679604 BLAKE2B 348c6ab52a5e950f346115802d596fd33142fe2d93a83d686fbec917d3f74c53c332f2fcbd197c5bdd38b545f48568c7b461143fa328433ce3ee931901012601 SHA512 bf2f47393a66b4218eba7981100fc6936c7c9d6d98970f5337e7b3097ce6f7b2ca13de486ff7450e4395b74ba2308d37105508234f323230376ec5814cfe54f9
|
||||
DIST pax-utils-1.2.6.tar.xz 680696 BLAKE2B b271e19ed5ec1024d7c6e5723c12464c6ab07646dfbfd4738bfe0250629205051642421425d7c7c5f540b1ac3d100c13d1beca398d9766f7f477830ab128eef2 SHA512 59fe16c5573414aa2952a99c5b85c16cf10dbbee76943f263d31d5b1aa8818a9b00fa78c8b6dadbe02216de54fc32b26d80303a17e2d854de6bb9dd8b431f617
|
||||
EBUILD pax-utils-1.2.5.ebuild 1761 BLAKE2B 53b8fbc3524893c641669ab51b3de78f8d6d9e55ff1dec7736531762274e175a0965ab9060fb69ac1f2617ed4c2d045a30166393ec4ce44d3e13fad3d054def3 SHA512 c2a0d5459815b64725429b90bf81788c908265028562c667a215791da4152d3e094e356289d0abc8f013b5c66dfb15d6217cb615843396c1f4e2ea9a972f0086
|
||||
EBUILD pax-utils-1.2.6.ebuild 1770 BLAKE2B df8bd69bec363e947c5ecfbdcafd831eba4e7429bfd66444d120fcc1d136de2ba4526da2022a4c043265c4d8b41eb9f10bde13f55db8c6d8952ea98fb3fb7765 SHA512 ab6579b31c1f46c5aa5b26cdf23aa73c9ddf9859b331826335ff481019356db620e2edde0522db5b193778aab17c72f9597804f9d979019c4c1fe807a5f50ccd
|
||||
EBUILD pax-utils-1.2.6.ebuild 1768 BLAKE2B c1fa8091f98849da875aa52a619f53cf5a2afba7a6b0a0a6a607fafd47ed6da78504482a0eadbcb440ccb671b59aa5f88fcdc69f8ce5ba9979810578707d3420 SHA512 c150c05f7070538b20d012e39e502e2896afdd1d86671a26e15238bffe9a15cf35b89b52ea029035230171e3038a2c8cd5c1385e8ac118ecde789b706ee3a5a7
|
||||
MISC metadata.xml 795 BLAKE2B 410a2dbab6104e5da8b29d92f288ac82619bea027e1e452428c9bb993d8b34475a2ce6d7d0ed8c40244f0ac31b619cc7a221c3545b46b8029284adbcbd45d9e5 SHA512 97e8fafd52f62a3db3d28a61f55895ecf667592516be68977599dd82d10c2107eb325218ccfc102d51cf8ce453c3f64e8ab4b82b25a5298bcf3ff0e33cdf40f3
|
||||
|
Binary file not shown.
@ -1,3 +1,5 @@
|
||||
DIST ledger-3.1.2.tar.gz 801112 BLAKE2B 71b907a83fe10857d17de746c0d124572859c9eca237130ebbfa5b730406470a5d31025736e80516feaac7daf14a4edb8b644ed72a0827f9714ac9cb2b79c0fb SHA512 445d9a9c70aa3e59718f8fb75e4110c73f2f476436149fdd456b5fe7b9cee9333c09647080049989599dfac491e5bdd0d143717e58e15989db0fcaad4e5a958d
|
||||
DIST ledger-3.2.0.tar.gz 790404 BLAKE2B 081ca5d857238aecbeae5a0ba3267864442a8c1772a71b1894f5a9fb33173f9a0bd488ad4db3844fce8172268e516ebb92ba0556ced6e67b2a089fbb5adfde36 SHA512 580f4f39d7c3cd2bd1d05bcc36b127cfb311219f39fe50dbf23f582f73dd986729d4b5fa76bfd89cd5db9bfdfcdd5dca5b9d6b24766650040e45b881726e65ea
|
||||
EBUILD ledger-3.1.2-r1.ebuild 2608 BLAKE2B 74a23d6a6f61cc0237100038af83f4241098e1f34487da11538dddef5ef540fd4d7adc5bc8422906caeee999ab5558395ddeeaf8bc3fd4e62b353ef9211947c0 SHA512 91e7ee6e7ae984d166c725979128f5e5686b60fd8836fbeafddc4f769c8edf6a3370a7f292bf67ec1889ddb35c5c14eed3753c73ddac2267f180bdcfae1aa0f1
|
||||
EBUILD ledger-3.2.0.ebuild 2381 BLAKE2B 50339d6e2269e22a0666f54d43fdbeadeb342cbbce863a1b4dae0cd22d98d3e9ddea4ae0fd68fe705a787bd5a2f3c2cb91edf2bc90d0cb4487a9f725c65b0db6 SHA512 0c5f77434d0a09b7d68e8e7a21a43cc341395644fb814fbacf1e9a10d1e784cb5a232b83f6a4f6c2fa7fd8bd8a52cef125f988f45d70f795056d39e3876755c4
|
||||
MISC metadata.xml 306 BLAKE2B 58c3d0307a4358f50e8ede8ddf3f598a55ad03dd9af3351b4f15a46465a844c24f9d5966ee5fbbcb9a68d65eb509a18a87aa95400094539475f65493e34f1839 SHA512 c83b1be9474bbfa3296040c56bf14e22afd214835a44907bcb4db2a8047f05e1fe49b1d1ebe5bcd72fe5ed2f27c832d20169aa813f0d9bd619fc1f7a1c5e15cb
|
||||
|
@ -0,0 +1,113 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{6,7,8} )
|
||||
CMAKE_REMOVE_MODULES_LIST=( FindPython Support )
|
||||
inherit bash-completion-r1 check-reqs cmake python-single-r1
|
||||
|
||||
DESCRIPTION="Double-entry accounting system with a command-line reporting interface"
|
||||
HOMEPAGE="https://www.ledger-cli.org/"
|
||||
SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="debug doc python"
|
||||
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
CHECKREQS_MEMORY=8G
|
||||
|
||||
RDEPEND="
|
||||
dev-libs/boost:=[python?]
|
||||
dev-libs/gmp:0=
|
||||
dev-libs/mpfr:0=
|
||||
python? (
|
||||
$(python_gen_cond_dep '
|
||||
dev-libs/boost:=[${PYTHON_USEDEP}]
|
||||
dev-python/cheetah3:=[${PYTHON_USEDEP}]
|
||||
')
|
||||
${PYTHON_DEPS}
|
||||
)
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-libs/utfcpp
|
||||
doc? (
|
||||
dev-texlive/texlive-fontsrecommended
|
||||
sys-apps/texinfo
|
||||
virtual/texi2dvi
|
||||
)
|
||||
"
|
||||
|
||||
pkg_pretend() {
|
||||
if use python; then
|
||||
check-reqs_pkg_pretend
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
if use python; then
|
||||
check-reqs_pkg_setup
|
||||
python-single-r1_pkg_setup
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
cmake_src_prepare
|
||||
|
||||
# Want to type "info ledger" not "info ledger3"
|
||||
sed -i -e 's/ledger3/ledger/g' \
|
||||
doc/{CMakeLists.txt,ledger3.texi} test/CheckTexinfo.py \
|
||||
tools/{cleanup.sh,gendocs.sh,prepare-commit-msg,spellcheck.sh} \
|
||||
|| die "Failed to update info file name in file contents"
|
||||
|
||||
mv doc/ledger{3,}.texi || die "Failed to rename info file name"
|
||||
|
||||
rm -r lib/utfcpp || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DBUILD_DOCS="$(usex doc)"
|
||||
-DBUILD_WEB_DOCS="$(usex doc)"
|
||||
-DUSE_PYTHON="$(usex python)"
|
||||
-DCMAKE_INSTALL_DOCDIR="/usr/share/doc/${PF}"
|
||||
-DCMAKE_BUILD_WITH_INSTALL_RPATH:BOOL=ON
|
||||
-DBUILD_DEBUG="$(usex debug)"
|
||||
-DUTFCPP_PATH="${ESYSROOT}/usr/include/utf8cpp"
|
||||
)
|
||||
if use python; then
|
||||
mycmakeargs+=(
|
||||
-DPython_EXECUTABLE="${PYTHON}"
|
||||
-DPython_INCLUDE_DIR="$(python_get_includedir)"
|
||||
)
|
||||
fi
|
||||
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cmake_src_compile
|
||||
|
||||
use doc && cmake_src_compile doc
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake_src_install
|
||||
|
||||
newbashcomp contrib/${PN}-completion.bash ${PN}
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog
|
||||
elog "Since version 3, vim support is released separately."
|
||||
elog "See https://github.com/ledger/vim-ledger"
|
||||
elog
|
||||
elog "For Emacs mode, emerge app-emacs/ledger-mode"
|
||||
}
|
||||
|
||||
# rainy day TODO:
|
||||
# - IUSE test
|
Binary file not shown.
@ -1,5 +1,5 @@
|
||||
AUX implementations.txt 808 BLAKE2B c209c676d85d731c901cedcd8b59e1710f0ef8b20a849bf065770ff56178a2c1e4ee4a1702bff31c28b277b04f54a6f15b523bc59e3c4b41a3b9fb4f967fcbc1 SHA512 9d4edbb1c1298d6be268deef382a662211ae53efe52444d27e603c2fd3e116caf8e0e939e2d67cb6c12e81dbed192fb8a41b4f6b6a5fe9afba4c64996127edb6
|
||||
DIST gpyutils-0.4.1.tar.gz 19444 BLAKE2B 20b9a3072337665a83e86994b4b0e5cc33673364320838ab3e56b87b06146d91d519f1b60023fa3e9be0bc6fc10a207a3fe87937158edb2c8607d8145022ee50 SHA512 c3420ec2c5fff39b32beb43b48eb06179534c359f755e5877d29ba4e3f393ce62c8ded48cd909bc69c20730d028e01c76375892ebb2a364017aa196c81865ecf
|
||||
EBUILD gpyutils-0.4.1.ebuild 529 BLAKE2B 2bb4e7e8fb9757d7e5d8cdffcbc2b28ca8be55e98f85e744e85dd7a1625b79dac0adacb4441cd07193c6712e67276aee9d725738e5ba60acd6d7aa9bc6660525 SHA512 d232b04b53d6f5f1345399d3be805ae1712401bc15c3b058108a43290c8f5f4edca835ab4fadc289bbfdd8c72b71a6753d7045d8429d10c419008c5de5392a7b
|
||||
EBUILD gpyutils-9999.ebuild 511 BLAKE2B 836d36e3fb47f57d07729559df12299d1b26e8ce862f01266a5f2b503afef814248a1a3d20e88daa52f84a4038488e2b4cd4f2b34b38015e41c8dfa0de5b5521 SHA512 24e9bf1bb78be5c87a385589858d5d9c9a808a51fff99f4b1aa73bd48b5da9f3750a5625a5cffe4f145749c760b075dec09957de687fe7c34deb4c1d8bc67199
|
||||
EBUILD gpyutils-0.4.1.ebuild 533 BLAKE2B 92ede730c98c285fbcc66d67cece9075442ef4faf13f78b92fc374bdd4a54254e23c98490ee5760d62f69b093d9acc150b5ad04bdb2d9024a9507a298bed9f75 SHA512 7a4cc1a5100d279edae76f9ff22559d9a475db0eda6b2c15cc1fba7e82e88c3979c8d69cf2ff0e9035d64b44fc0f7c4591371731c18dc8029f8ad2ba3570ca13
|
||||
EBUILD gpyutils-9999.ebuild 515 BLAKE2B 71b752f95b923b7640c1ebd7fa50749787cf7b16c2480553b460ac21acd7a1d7280aac61e235c9ecf2bbbd38d91cd0f4fd8f83f7db62fae20a2efb603c89ae46 SHA512 305779136d3f455a6406cfd4e1e4a468c5e8659cd88881cbcd290c4ad220a79a75f6d8e62a255599c5c50f0ce7c88b39f3e8afa6b8067cfdf0e62cfa2e24f44a
|
||||
MISC metadata.xml 527 BLAKE2B 14b3e5012c6b0543eb70b56132d289837eb9b5e355ea38f21c0fa5de841eb3dd9cc9d89f60136b523121648d8a94d62563b1f065fbe9f120f2e03cc7e6d84d0c SHA512 52f6670e1fd8b5b58a566226a20ea405aad364eb085a7f2d62485086e5d9ce2ceebfe9ab3c6321892fa775187cecfe8148cc25ed5256ebbe1ac3fba8d7d39ddc
|
||||
|
@ -1,4 +1,4 @@
|
||||
DIST unsymlink-lib-17.tar.gz 10550 BLAKE2B 036cf63e3619113763f01086fbd952fb2a6efda4d4f4989a5d8cadc0d47b439cba0fab84d53336d615ccbec4e0815519cd4709162f11bbf5fa42c770b928f6f2 SHA512 b981419e320da74f983c184f2b9739b0f1cdae7adf1b9d29c3221b7d010432f6844ff3bdf93793b2f701e2337acebc28a6bd2df0763a081cd8e53a8400aaea42
|
||||
EBUILD unsymlink-lib-17-r1.ebuild 657 BLAKE2B 2b9be8bd43f046c52b9cf8ac09da43170fd8c77c1c4815e3f8c06329ad6953a5266b3b2ad9858fe49c0bc710cc4807eb622f89d6f36f0c5db26869df22711b82 SHA512 33532a1fe671cc03cf6b848d2de1e4c7cdeb1cef8e1b43bef024f66d587a7911e6247b939ca3012191eef06a12221aed6eacb5171fefd6a85c2b27705440de20
|
||||
EBUILD unsymlink-lib-9999.ebuild 594 BLAKE2B 28667fafeb47bf7109b95c8de17805a375586ec4202387dfb1ad9b81835608dd7bb777c43057eda8a7a507a203eb22442d240077f95ae6f9d65b04ad981b88f3 SHA512 d3138e0bbd1c530d9ff8f046f9e2153153136afe96ba6edd3f89aa17f34f8cbdb84bfde09681dd03d8ea82e50b5be920a74d531bc1768caa53f732904be616d8
|
||||
EBUILD unsymlink-lib-17-r1.ebuild 659 BLAKE2B d8396c5b6fd4b449bc94164b2a5dedd945f3a780b093b4b79a609e8358a43d9f44997f70d0d90d6d8cb0c0e13364365791bead7b619a638725b4541e78e7ab51 SHA512 e21c2a9383653cb2568e036ffe086bc4c95e783fb1b2ab309e25ba8a23171778650a92898c1d98719cb7fc98195bad9e09a472fae93d54d5fd680aebd5c27e11
|
||||
EBUILD unsymlink-lib-9999.ebuild 600 BLAKE2B 03a22788dc3ac143563e5cc893873b5803ca880a3d87de3935055eda21843c9d8a3d6d1c98f93569e5a4791e85eabc3ed03d210c5a8654a2436b15f0c743fce6 SHA512 ec387513392d16cee1cb58d3271b8e299a267b63ae35580424a7d4f48b7ff005b55b8f8f043c0250b1d4cc47285daaf1456979cd23451ca6dbdd480bacf84287
|
||||
MISC metadata.xml 401 BLAKE2B f16ce51083f8054e7190c2d5fc193808898071af155cc8442a9ef7064cb4d46e6639d8724f85a4a0f551477c6f7ae0f81434c6bef8bd88b2077ea7b7e1f2133b SHA512 dbd79971b54d9027956c46586b547f8308404e273e91dd7ff84d3fbbd50936b8f19dd1dacde5e16a22ca2ef17924f19f66ec83e64c9f145f29322150db9e00a6
|
||||
|
Binary file not shown.
@ -1,4 +1,6 @@
|
||||
AUX highlight-3.42-qmake-fix.patch 1051 BLAKE2B ad9436c010cb1f9b8db5a21234ec6b80ae73bf49cd165f99638c93b251a53db4918bc1fd70260a5a9310f9d28b86b25190ec5b21cda09b7f4138c3f39dc6088d SHA512 5f74b45995b953c815c9e820fbb73693f3f28927b5785fbc86537f55d2f411f9a6b420e45a4834babda54fddf44c1640bc32cc2cd35d3ec22be07781f05108fc
|
||||
DIST highlight-3.42.tar.bz2 1294770 BLAKE2B 22c79258be6a665eda8ee17d1de6a97811f97dc4b4491c24b466dc5375d98d865e07ac4e462288d066613bef8bb5a469fa0bdb3065ecf098fc6c4f6090ecb63e SHA512 362150ee396d2b203f11ecc3d011e23b6f8c7d93ff9f8cb0e9e980be6da21e7b3b1ea1e347e3f09129ab0fb1a0aab19ff19f021e643b93a163a99d3882f9bf80
|
||||
DIST highlight-3.57.tar.bz2 1412857 BLAKE2B c0ee8189294feac3b5e8c6d356634d8074a8960f2010918de52f23515ad4a13626971e9106ecc6d2adbdb45e0ebb66ff60eb3cbe86d2449666e3424f1c0dc3a6 SHA512 a086f6b8c4a4fc0b6651d456b178350a6c59a32cd613451d81b53fe3294eb0f80d673cb64fb615ef91d6c4d4bbc8a57413aec2490d2a5ad67e695ec6e92b3d99
|
||||
EBUILD highlight-3.42-r1.ebuild 2202 BLAKE2B 0b5d44fa0a2a9075e5b55ccb8c09f80dfd6bf0f00b0df7e21ea61d620db70442cb06ae5f0890fd0ee834673975255b9131cb77fff5d316109bd876f81c40e55e SHA512 24666e1693f84bf9f3f285f2fd0130769890ebce3fd67dce262cd9411a3c5d35d5b1cd28115d38269f1811f14322d676bd07f1cc521a529206408681326bc0e4
|
||||
EBUILD highlight-3.57.ebuild 2188 BLAKE2B 849955be9504de05df9edaafc02f2af7b598c9934c257b1bf7ee9046e910e2f77e9377b2899942fd20f9fda04919d9d9a53dc5728f5e5383447156450191dfd7 SHA512 92e151a33d1eda74cfcd374af26cea251ba81793507995241ab06bbc3958ba33139d51cabda92a31291867c65d2801a5595b6cfa41f0efc34db5a9a960b5dfda
|
||||
MISC metadata.xml 249 BLAKE2B 1b34ce77c092c0664a18f32525d158d41bf36ab7ab7a4b9d01ed37e1e3dda3d58849d5b1375065c4e5591f6b09b2a93e88a624d399c495a0b1125edb30ec172f SHA512 895325641a176c848988fb5f36cdb567b584d22f6e778b3de674de480cbca30b7cf8f12ecbbe1173a63e3229889e1e0f5efd5afea4f0d4c429ac236598f80f1e
|
||||
|
@ -0,0 +1,93 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit qmake-utils toolchain-funcs
|
||||
|
||||
DESCRIPTION="Converts source code to formatted text (HTML, LaTeX, etc.) with syntax highlight"
|
||||
HOMEPAGE="http://www.andre-simon.de/"
|
||||
SRC_URI="http://www.andre-simon.de/zip/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
|
||||
IUSE="examples qt5"
|
||||
|
||||
RDEPEND="
|
||||
dev-lang/lua:0=
|
||||
qt5? (
|
||||
dev-qt/qtcore:5
|
||||
dev-qt/qtgui:5
|
||||
dev-qt/qtwidgets:5
|
||||
)
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-libs/boost
|
||||
"
|
||||
BDEPEND="
|
||||
virtual/pkgconfig
|
||||
qt5? ( dev-qt/linguist-tools:5 )
|
||||
"
|
||||
|
||||
myhlopts=(
|
||||
"CXX=$(tc-getCXX)"
|
||||
"AR=$(tc-getAR)"
|
||||
"LDFLAGS=${LDFLAGS}"
|
||||
"CFLAGS=${CXXFLAGS} -DNDEBUG -std=c++11"
|
||||
"DESTDIR=${D}"
|
||||
"PREFIX=${EPREFIX}/usr"
|
||||
"HL_CONFIG_DIR=${EPREFIX}/etc/highlight/"
|
||||
"HL_DATA_DIR=${EPREFIX}/usr/share/highlight/"
|
||||
"doc_dir=${EPREFIX}/usr/share/doc/${PF}/"
|
||||
"conf_dir=${EPREFIX}/etc/highlight/"
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# disable man page compression
|
||||
sed -e "/GZIP/d" -i makefile || die
|
||||
|
||||
sed -e "/LSB_DOC_DIR/s:doc/${PN}:doc/${PF}:" \
|
||||
-i src/core/datadir.cpp || die
|
||||
|
||||
if has_version "<dev-lang/lua-5.2"; then
|
||||
sed -e "s/-DUSE_LUA52//" -i src/makefile || die
|
||||
fi
|
||||
|
||||
# We set it via eqmake5, otherwise it forces clang...
|
||||
sed -e "s/QMAKE_CC/#QMAKE_CC/g" \
|
||||
-e "s/QMAKE_CXX /#QMAKE_CXX /g" \
|
||||
-i src/gui-qt/highlight.pro || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
if use qt5 ; then
|
||||
pushd src/gui-qt > /dev/null || die
|
||||
eqmake5 \
|
||||
'DEFINES+=DATA_DIR=\\\"'"${EPREFIX}"'/usr/share/${PN}/\\\" CONFIG_DIR=\\\"'"${EPREFIX}"'/etc/${PN}/\\\" DOC_DIR=\\\"'"${EPREFIX}"'/usr/share/doc/${PF}/\\\"'
|
||||
popd > /dev/null || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake -f makefile "${myhlopts[@]}"
|
||||
if use qt5 ; then
|
||||
pushd src/gui-qt > /dev/null || die
|
||||
emake
|
||||
popd > /dev/null || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake -f makefile "${myhlopts[@]}" install
|
||||
if use qt5; then
|
||||
emake -f makefile "${myhlopts[@]}" install-gui
|
||||
docompress -x /usr/share/doc/${PF}/{ChangeLog,COPYING,README,README_PLUGINS}
|
||||
fi
|
||||
|
||||
if ! use examples ; then
|
||||
rm -r "${ED}"/usr/share/doc/${PF}/extras || die
|
||||
fi
|
||||
}
|
Binary file not shown.
@ -1,3 +1,5 @@
|
||||
AUX cpp-taskflow-2.4.0-do_not_compile_examples.patch 2634 BLAKE2B 6b326b97e721061892abe0e01bcfb49dffea91b641684b1c860c8f8384153103107d9ab26dfaa4b577897e49f45fa2a6cfaaf5cf49409afa429b5dd0c7aefda9 SHA512 21b61ba80536cf8baa24c67e35902b66fb98408f86be8a4611b15304525c2e14a20af80507ccdd4d6a365303abdc38d1d199f1888baa0a35a04483a837ddadd5
|
||||
AUX cpp-taskflow-2.4.0-fix_installation_path.patch 739 BLAKE2B 6cf25c76b91d3e60c7a9f35bcf0d5a89f28dd42efb32c3fa57eefd9b716e9905d20cd8becc0a47cf74f992bf2e77b6051034f62533dbfdab4b57a70a4b24eecf SHA512 36e2284da55eba9ca24a34e8baa105a28e411d54927378f6978c96c19af08a760fc4f3caff6ec4f325d63ca8974e7b66e27e3c69ba39e22f6b8e67d3ae303b24
|
||||
DIST cpp-taskflow-2.4.0.tar.gz 76993334 BLAKE2B 8f257165ab72dbe6c1cf6a86886669008e9f16f1dfd4871defc452bdb9dfa3e45ab9bfbbdc874b4ba566a2a7d8984a666ce2933b2c6d2215467f7fbfa03ac520 SHA512 dd6c7500e39d7058871280d12e120bd28d9609e5289f1d7851b3b59e2c1bfe74d3040d902bd5b26895e558b563c8abad878e7bc343e199e7356940c02a64217f
|
||||
EBUILD cpp-taskflow-2.4.0.ebuild 487 BLAKE2B d29ce7ae9c7696ca32a783502c6a1c0928eb4d7dbcc021c90a18f33e7c12a3b314c8b943bc2ef450e314688bd314d6fbce11296e0107e6da758c7cf9e9262bb7 SHA512 324feeb6d01a6ece09971c0db9def76ffe64ff82243d39c226c18d3448399e30342281221060427bbfca568244568b698c1e5166731f3fe3e8c5d7a66903a6c6
|
||||
EBUILD cpp-taskflow-2.4.0-r1.ebuild 603 BLAKE2B 0620b659d11e94d1fde1e6f53767a98aded76fc8f7b2af238e0ff4a900484dbae00a288e12bce48a4c3adde8ced548dcef577528473328408e93219b1e49ebb3 SHA512 fd5822c2ff54904142ebf6fc5c36f263ce16178d6b161aa412dad4cb378f9e9449943e2a836cc815c9e3d6ef4f4f32bed6ef86ae0f712689cc81bb2cc4b9887f
|
||||
MISC metadata.xml 662 BLAKE2B 9a3c9f4208ed92f0957323e281cedd321b9e15c15af231eeca1b88b8e0d87df81a546afd8877f496151c0815cb566d9e205fe1eb8b8fce33114435e2c66f75ab SHA512 9b0b6de9d422df44507429af356aa0d31411a564efe4a58065cdff38845f1e1e53fef6aef8a8537ccfff8ee36e3e77beff65aca3bda4efb2a5f3166c41ea68d2
|
||||
|
@ -0,0 +1,82 @@
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index 1bf8ed3..190dabe 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -223,76 +223,10 @@ target_include_directories(${PROJECT_NAME} INTERFACE
|
||||
$<INSTALL_INTERFACE:include/>
|
||||
)
|
||||
|
||||
-# -----------------------------------------------------------------------------
|
||||
-# Example program
|
||||
-# -----------------------------------------------------------------------------
|
||||
-
|
||||
-message(STATUS "Building examples ...")
|
||||
-set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${TF_EXAMPLE_DIR})
|
||||
-
|
||||
-add_executable(simple ${TF_EXAMPLE_DIR}/simple.cpp)
|
||||
-target_link_libraries(
|
||||
- simple ${PROJECT_NAME} Threads::Threads tf::default_settings
|
||||
-)
|
||||
-
|
||||
-add_executable(observer ${TF_EXAMPLE_DIR}/observer.cpp)
|
||||
-target_link_libraries(
|
||||
- observer ${PROJECT_NAME} Threads::Threads tf::default_settings
|
||||
-)
|
||||
-
|
||||
-add_executable(subflow ${TF_EXAMPLE_DIR}/subflow.cpp)
|
||||
-target_link_libraries(
|
||||
- subflow ${PROJECT_NAME} Threads::Threads tf::default_settings
|
||||
-)
|
||||
-
|
||||
-add_executable(condition ${TF_EXAMPLE_DIR}/condition.cpp)
|
||||
-target_link_libraries(
|
||||
- condition ${PROJECT_NAME} Threads::Threads tf::default_settings
|
||||
-)
|
||||
-
|
||||
-add_executable(visualization ${TF_EXAMPLE_DIR}/visualization.cpp)
|
||||
-target_link_libraries(
|
||||
- visualization ${PROJECT_NAME} Threads::Threads tf::default_settings
|
||||
-)
|
||||
-
|
||||
-add_executable(reduce ${TF_EXAMPLE_DIR}/reduce.cpp)
|
||||
-target_link_libraries(
|
||||
- reduce ${PROJECT_NAME} Threads::Threads tf::default_settings
|
||||
-)
|
||||
-
|
||||
-add_executable(parallel_for ${TF_EXAMPLE_DIR}/parallel_for.cpp)
|
||||
-target_link_libraries(
|
||||
- parallel_for ${PROJECT_NAME} Threads::Threads tf::default_settings
|
||||
-)
|
||||
-
|
||||
-add_executable(run ${TF_EXAMPLE_DIR}/run.cpp)
|
||||
-target_link_libraries(
|
||||
- run ${PROJECT_NAME} Threads::Threads tf::default_settings
|
||||
-)
|
||||
-
|
||||
-add_executable(composition ${TF_EXAMPLE_DIR}/composition.cpp)
|
||||
-target_link_libraries(
|
||||
- composition ${PROJECT_NAME} Threads::Threads tf::default_settings
|
||||
-)
|
||||
-
|
||||
-#### CUDA examples
|
||||
-if(${TF_ENABLE_CUDA})
|
||||
-set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${TF_EXAMPLE_DIR}/cuda)
|
||||
-
|
||||
-add_executable(saxpy ${TF_EXAMPLE_DIR}/cuda/saxpy.cu)
|
||||
-target_link_libraries(
|
||||
- saxpy ${PROJECT_NAME} Threads::Threads tf::default_settings
|
||||
-)
|
||||
-
|
||||
-add_executable(device_property ${TF_EXAMPLE_DIR}/cuda/device_property.cu)
|
||||
-target_link_libraries(
|
||||
- device_property ${PROJECT_NAME} Threads::Threads tf::default_settings
|
||||
-)
|
||||
-endif(${TF_ENABLE_CUDA})
|
||||
-
|
||||
# -----------------------------------------------------------------------------
|
||||
# Unittest
|
||||
# -----------------------------------------------------------------------------
|
||||
+
|
||||
enable_testing()
|
||||
message(STATUS "Building unit tests ...")
|
||||
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${TF_UTEST_DIR})
|
@ -0,0 +1,22 @@
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index 190dabe..6d613d6 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -6,7 +6,7 @@ MESSAGE(STATUS "CMAKE_ROOT: " ${CMAKE_ROOT})
|
||||
#_cmake_modify_IGNORE set(CMAKE_VERBOSE_MAKEFILE ON)
|
||||
|
||||
# Project name
|
||||
-project(Cpp-Taskflow VERSION 2.3.1 LANGUAGES CXX)
|
||||
+project(Cpp-Taskflow VERSION 2.4.0 LANGUAGES CXX)
|
||||
|
||||
# build options
|
||||
option(TF_ENABLE_CUDA "Enables build of cuda code" OFF)
|
||||
@@ -748,7 +748,7 @@ write_basic_package_version_file(
|
||||
install(
|
||||
FILES ${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}Config.cmake
|
||||
${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}ConfigVersion.cmake
|
||||
- DESTINATION ${TF_LIB_INSTALL_DIR}/cmake
|
||||
+ DESTINATION ${TF_LIB_INSTALL_DIR}/cmake/${PROJECT_NAME}
|
||||
)
|
||||
|
||||
|
@ -1,187 +0,0 @@
|
||||
--- a/build/FreeBSD.gcc.inc
|
||||
+++ b/build/FreeBSD.gcc.inc
|
||||
@@ -28,8 +28,8 @@ WARNING_KEY = -Wall
|
||||
DYLIB_KEY = -shared
|
||||
WARNING_SUPPRESS = -Wno-parentheses
|
||||
|
||||
-CPLUS = g++
|
||||
-CONLY = gcc
|
||||
+CPLUS = $(CXX)
|
||||
+CONLY = $(CC)
|
||||
LIB_LINK_FLAGS = -shared
|
||||
LIBS = -lpthread
|
||||
C_FLAGS = $(CPLUS_FLAGS)
|
||||
@@ -42,7 +42,7 @@ ifneq (,$(shell gcc -dumpversion | egrep "^([6-9])"))
|
||||
endif
|
||||
|
||||
ifeq ($(cfg), release)
|
||||
- CPLUS_FLAGS = -g -O2 -DUSE_PTHREAD
|
||||
+ CPLUS_FLAGS = -g -DUSE_PTHREAD
|
||||
endif
|
||||
ifeq ($(cfg), debug)
|
||||
CPLUS_FLAGS = -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD
|
||||
@@ -59,22 +59,12 @@ ifeq (ia64,$(arch))
|
||||
CPLUS_FLAGS += $(PIC_KEY)
|
||||
endif
|
||||
|
||||
-ifeq (intel64,$(arch))
|
||||
- CPLUS_FLAGS += -m64
|
||||
- LIB_LINK_FLAGS += -m64
|
||||
-endif
|
||||
-
|
||||
-ifeq (ia32,$(arch))
|
||||
- CPLUS_FLAGS += -m32
|
||||
- LIB_LINK_FLAGS += -m32
|
||||
-endif
|
||||
-
|
||||
#------------------------------------------------------------------------------
|
||||
# Setting assembler data.
|
||||
#------------------------------------------------------------------------------
|
||||
ASSEMBLY_SOURCE=$(arch)-gas
|
||||
ifeq (ia64,$(arch))
|
||||
- ASM=as
|
||||
+ ASM=$(AS)
|
||||
TBB_ASM.OBJ = atomic_support.o lock_byte.o log2.o pause.o
|
||||
MALLOC_ASM.OBJ = atomic_support.o lock_byte.o pause.o
|
||||
endif
|
||||
--- a/build/linux.clang.inc
|
||||
+++ b/build/linux.clang.inc
|
||||
@@ -31,15 +31,15 @@ DYLIB_KEY = -shared
|
||||
EXPORT_KEY = -Wl,--version-script,
|
||||
LIBDL = -ldl
|
||||
|
||||
-CPLUS = clang++
|
||||
-CONLY = clang
|
||||
+CPLUS := $(CXX)
|
||||
+CONLY := $(CC)
|
||||
LIB_LINK_FLAGS = $(DYLIB_KEY) -Wl,-soname=$(BUILDING_LIBRARY)
|
||||
LIBS += -lpthread -lrt
|
||||
LINK_FLAGS = -Wl,-rpath-link=. -rdynamic
|
||||
C_FLAGS = $(CPLUS_FLAGS)
|
||||
|
||||
ifeq ($(cfg), release)
|
||||
- CPLUS_FLAGS = $(ITT_NOTIFY) -g -O2 -DUSE_PTHREAD
|
||||
+ CPLUS_FLAGS = $(ITT_NOTIFY) -g -DUSE_PTHREAD
|
||||
endif
|
||||
ifeq ($(cfg), debug)
|
||||
CPLUS_FLAGS = -DTBB_USE_DEBUG $(ITT_NOTIFY) -g -O0 -DUSE_PTHREAD
|
||||
@@ -60,24 +60,10 @@ MALLOC_ASM.OBJ=
|
||||
|
||||
ifeq (intel64,$(arch))
|
||||
ITT_NOTIFY = -DDO_ITT_NOTIFY
|
||||
- CPLUS_FLAGS += -m64
|
||||
- LIB_LINK_FLAGS += -m64
|
||||
endif
|
||||
|
||||
ifeq (ia32,$(arch))
|
||||
ITT_NOTIFY = -DDO_ITT_NOTIFY
|
||||
- CPLUS_FLAGS += -m32 -march=pentium4
|
||||
- LIB_LINK_FLAGS += -m32
|
||||
-endif
|
||||
-
|
||||
-ifeq (ppc64,$(arch))
|
||||
- CPLUS_FLAGS += -m64
|
||||
- LIB_LINK_FLAGS += -m64
|
||||
-endif
|
||||
-
|
||||
-ifeq (ppc32,$(arch))
|
||||
- CPLUS_FLAGS += -m32
|
||||
- LIB_LINK_FLAGS += -m32
|
||||
endif
|
||||
|
||||
ifeq (bg,$(arch))
|
||||
@@ -89,12 +75,6 @@ endif
|
||||
# Setting assembler data.
|
||||
#------------------------------------------------------------------------------
|
||||
ASM = as
|
||||
-ifeq (intel64,$(arch))
|
||||
- ASM_FLAGS += --64
|
||||
-endif
|
||||
-ifeq (ia32,$(arch))
|
||||
- ASM_FLAGS += --32
|
||||
-endif
|
||||
ifeq ($(cfg),debug)
|
||||
ASM_FLAGS += -g
|
||||
endif
|
||||
--- a/build/linux.gcc.inc
|
||||
+++ b/build/linux.gcc.inc
|
||||
@@ -32,12 +32,12 @@ DYLIB_KEY = -shared
|
||||
EXPORT_KEY = -Wl,--version-script,
|
||||
LIBDL = -ldl
|
||||
|
||||
-CPLUS = g++
|
||||
-CONLY = gcc
|
||||
+CPLUS := $(CXX)
|
||||
+CONLY := $(CC)
|
||||
LIB_LINK_FLAGS = $(DYLIB_KEY) -Wl,-soname=$(BUILDING_LIBRARY)
|
||||
LIBS += -lpthread -lrt
|
||||
LINK_FLAGS = -Wl,-rpath-link=. -rdynamic
|
||||
-C_FLAGS = $(CPLUS_FLAGS)
|
||||
+C_FLAGS := $(CPLUS_FLAGS)
|
||||
|
||||
# gcc 4.2 and higher support OpenMP
|
||||
ifneq (,$(shell gcc -dumpversion | egrep "^(4\.[2-9]|[5-9])"))
|
||||
@@ -68,7 +68,7 @@ ifneq (,$(shell gcc -dumpversion | egrep "^([6-9])"))
|
||||
endif
|
||||
|
||||
ifeq ($(cfg), release)
|
||||
- CPLUS_FLAGS = $(ITT_NOTIFY) -g -O2 -DUSE_PTHREAD
|
||||
+ CPLUS_FLAGS = $(ITT_NOTIFY) -g -DUSE_PTHREAD
|
||||
endif
|
||||
ifeq ($(cfg), debug)
|
||||
CPLUS_FLAGS = -DTBB_USE_DEBUG $(ITT_NOTIFY) -g -O0 -DUSE_PTHREAD
|
||||
@@ -84,24 +84,12 @@ endif
|
||||
|
||||
ifeq (intel64,$(arch))
|
||||
ITT_NOTIFY = -DDO_ITT_NOTIFY
|
||||
- CPLUS_FLAGS += -m64 $(RTM_KEY)
|
||||
- LIB_LINK_FLAGS += -m64
|
||||
+ CPLUS_FLAGS += $(RTM_KEY)
|
||||
endif
|
||||
|
||||
ifeq (ia32,$(arch))
|
||||
ITT_NOTIFY = -DDO_ITT_NOTIFY
|
||||
- CPLUS_FLAGS += -m32 -march=pentium4 $(RTM_KEY)
|
||||
- LIB_LINK_FLAGS += -m32
|
||||
-endif
|
||||
-
|
||||
-ifeq (ppc64,$(arch))
|
||||
- CPLUS_FLAGS += -m64
|
||||
- LIB_LINK_FLAGS += -m64
|
||||
-endif
|
||||
-
|
||||
-ifeq (ppc32,$(arch))
|
||||
- CPLUS_FLAGS += -m32
|
||||
- LIB_LINK_FLAGS += -m32
|
||||
+ CPLUS_FLAGS += $(RTM_KEY)
|
||||
endif
|
||||
|
||||
ifeq (bg,$(arch))
|
||||
@@ -109,12 +97,6 @@ ifeq (bg,$(arch))
|
||||
CONLY = $(firstword $(notdir $(shell which powerpc{64,32,}-bg{z..a}-linux-gcc 2>/dev/null)))
|
||||
endif
|
||||
|
||||
-# for some gcc versions on Solaris, -m64 may imply V9, but perhaps not everywhere (TODO: verify)
|
||||
-ifeq (sparc,$(arch))
|
||||
- CPLUS_FLAGS += -mcpu=v9 -m64
|
||||
- LIB_LINK_FLAGS += -mcpu=v9 -m64
|
||||
-endif
|
||||
-
|
||||
# automatically generate "IT" instructions when compiling for Thumb ISA
|
||||
ifeq (armv7,$(arch))
|
||||
CPLUS_FLAGS += -Wa,-mimplicit-it=thumb
|
||||
@@ -123,13 +105,7 @@ endif
|
||||
#------------------------------------------------------------------------------
|
||||
# Setting assembler data.
|
||||
#------------------------------------------------------------------------------
|
||||
-ASM = as
|
||||
-ifeq (intel64,$(arch))
|
||||
- ASM_FLAGS += --64
|
||||
-endif
|
||||
-ifeq (ia32,$(arch))
|
||||
- ASM_FLAGS += --32
|
||||
-endif
|
||||
+ASM := $(AS)
|
||||
ifeq ($(cfg),debug)
|
||||
ASM_FLAGS += -g
|
||||
endif
|
@ -1,15 +0,0 @@
|
||||
https://bugs.gentoo.org/show_bug.cgi?id=418447
|
||||
|
||||
--- a/build/Makefile.test
|
||||
+++ b/build/Makefile.test
|
||||
@@ -44,8 +44,8 @@
|
||||
USE_PROXY_FLAG = $(DEFINE_KEY)HARNESS_USE_PROXY
|
||||
CPLUS_FLAGS += $(USE_PROXY_FLAG)
|
||||
LINK_TBB.LIB = $(PROXY.LIB)
|
||||
- LIBS += $(LIBDL)
|
||||
-endif
|
||||
+endif
|
||||
+LIBS += $(LIBDL)
|
||||
|
||||
TEST_SUFFIXES=secondary compiler_builtins pic
|
||||
include $(tbb_root)/build/common_rules.inc
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue