parent
7b46689146
commit
5476fc6f2d
@ -1,23 +1,23 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA512
|
||||
|
||||
MANIFEST Manifest.files.gz 29481 BLAKE2B 1d795b01ebb3c1e010aefa7a44c75aa4fc8984b54fec909cc4e3ac413b06ae6a39eace1866d15b57befcaec68a2ac34e1b58624efb0c07efc89255c3118a2943 SHA512 4a002743140ac157360573d95bf5c4bef50a490d414754fdc1a5d1fbbc39b8a7928b8a11ce06a78627520b47b8027a2e39c5f5656880b8ccb91a6c4985416356
|
||||
TIMESTAMP 2019-11-19T06:38:58Z
|
||||
MANIFEST Manifest.files.gz 29455 BLAKE2B 5b8b7e81dca00ef7d4ed4f45be5338ef1cbc5216ec6682230eb671e22d3628899e094812c3f8fc51e605e398f6eac2d72c3e9391f1855951a92f9d9368dd32ef SHA512 3f63818ba51a290519c1457e21446780f6d37652017c8de0995f7c226d1ecd458b32b74aacb1a54f2720bec33ee08966468431df7acef3d297784893e3b486f9
|
||||
TIMESTAMP 2019-11-20T05:09:01Z
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
|
||||
iQKTBAEBCgB9FiEE4dartjv8+0ugL98c7FkO6skYklAFAl3TjgJfFIAAAAAALgAo
|
||||
iQKTBAEBCgB9FiEE4dartjv8+0ugL98c7FkO6skYklAFAl3Uym1fFIAAAAAALgAo
|
||||
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEUx
|
||||
RDZBQkI2M0JGQ0ZCNEJBMDJGREYxQ0VDNTkwRUVBQzkxODkyNTAACgkQ7FkO6skY
|
||||
klD7LA//USdIOp2oGjodxsKLIupBdmqtHRqBsTIGiAJT6pOGbBcjk68ypJa6ymmj
|
||||
alTnpnF5XJPL6G2dGGPGOoFjZqkiPH9F4cI47TuVCPiSD5RhGFpVetT/kAtoKfCx
|
||||
YI9eCpTmFPs7XLEHCxNro9mXzob3T7UTN7QTJIXquBsMc8UP3yRVkgPw3Il6QQDF
|
||||
1jqQZS5PN7VUTK3s8uFXxVjF+yijpxp7GsxI9NLToSzNWMQACpOqULuepq3wXQBs
|
||||
mIMlQ6t94xqxna7yAhjV8D+8jvO70J6jCqBSyJf/wxqupI6HkPq86t95sOnVJ0h/
|
||||
3OkDE/PviMZsmYNQf8/ZDivQPuhR46mlVxy6sSua66TZtKqmBuht0+BZbzWWeok9
|
||||
P2WOva+jX7KDCu9zXnuhOH1wLaecKa/pNQvmIyU2Uo8sKutm5jBkLr6pD4KalQUL
|
||||
hB0pyWmnsSeti8fMVNZTSOm+Zp3ubxU2VEaAeRhv5Va6OyqFNf7TLaBGu8Tb/c1R
|
||||
KCBRxCbIjzo97v/yERajrIssZ2P4DACq8QfB3WbJ1svMUssdbrM4X41T/V14ibJU
|
||||
7ELFji4QNhUaqGL9Wn5Uh7jkc+jHwBzeb8nMSZF7G/mjBMYW4bIbIlQpl5phtcUX
|
||||
Ur7jbTKcPE7IjYmmCZlIXppGFHDTWZGYlp+2wxXsINSVipwOl9Q=
|
||||
=J9M/
|
||||
klAFJg//XqyVj3lnMdAnE0HJR0gL4C4XJB4UmJKQNYPGDhG4Cn5aksvwoGh5hTeA
|
||||
ZE3Nyb1A6AgsYTx/FG2JHEKlSW8dEzKxs4hRwktKobMMpe133+df+sZZwBKB4DmV
|
||||
YNS1TAWp/EjF2Z0EcU0jwpzRvHfE46PCbZYg4iqskzrbnBU+i+z7a2J4u4mDVaxJ
|
||||
w5lOqlqSOEYMimIzMEqZKaR5hMSgtu2dnMyPQcOLrUxFmFUqqRZuwZ0pyNkInEzK
|
||||
roVH7zGKLnSqvD6i7wO+FHf20Re9bNvlnMebnszbo2ldn0A0212JHd/kgmJzhArF
|
||||
50wBC4gesHVw0mY6ofZJsuH8JvY9d34ZzMhVlsUQZz+075BMxPRVVPDWXZJU5Zkb
|
||||
Km2iKwxpCv/4qczqtuimhBZvgoDL68sX64y9CzEaIaVQhdyX7G4jpXLfvKqlYIYZ
|
||||
eBO+9uWrfBHPrQRqH97AB9CaOGgFx8woFh73EbZekByYRSCOLvajeijXxLZTKwDK
|
||||
UuNZPbBwaBshiA57Tw6KetezNQOwDFTeOkkwVCV0wkEbcDMkDvWaEopZlXOusf6W
|
||||
IVQ7d5MPZXGVmrdLNVSVAJqyncaU2SJXJBmVOvEmcncSBdc8d5iWTKtS19omgUxC
|
||||
qOywZ7XcVtJkSvvsn9e3kwbRgYzttfcR3/D9iufqNyEuFsjGzGg=
|
||||
=d52t
|
||||
-----END PGP SIGNATURE-----
|
||||
|
Binary file not shown.
Binary file not shown.
@ -0,0 +1,102 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
EGO_VENDOR=(
|
||||
"github.com/BurntSushi/toml v0.3.1"
|
||||
"github.com/armon/go-metrics ec5e00d3c878b2a97bbe0884ef45ffd1b4f669f5"
|
||||
"github.com/frankban/quicktest v1.4.0"
|
||||
"github.com/golang/snappy v0.0.1"
|
||||
"github.com/google/btree v1.0.0"
|
||||
"github.com/hashicorp/consul v1.2.0"
|
||||
"github.com/hashicorp/errwrap v1.0.0"
|
||||
"github.com/hashicorp/go-cleanhttp v0.5.1"
|
||||
"github.com/hashicorp/go-gatedio v0.5.0"
|
||||
"github.com/hashicorp/go-hclog v0.9.2"
|
||||
"github.com/hashicorp/go-immutable-radix v1.1.0"
|
||||
"github.com/hashicorp/go-msgpack v0.5.5"
|
||||
"github.com/hashicorp/go-multierror v1.0.0"
|
||||
"github.com/hashicorp/go-retryablehttp v0.6.2"
|
||||
"github.com/hashicorp/go-rootcerts v1.0.1"
|
||||
"github.com/hashicorp/go-sockaddr v1.0.2"
|
||||
"github.com/hashicorp/go-syslog v1.0.0"
|
||||
"github.com/hashicorp/golang-lru v0.5.3"
|
||||
"github.com/hashicorp/hcl v1.0.0"
|
||||
"github.com/hashicorp/logutils v1.0.0"
|
||||
"github.com/hashicorp/memberlist v0.1.4"
|
||||
"github.com/hashicorp/serf v0.8.3"
|
||||
"github.com/hashicorp/vault 746c0b111519166ff2126f55dba7071912c33006"
|
||||
"github.com/mattn/go-shellwords v1.0.5"
|
||||
"github.com/miekg/dns v1.1.15"
|
||||
"github.com/mitchellh/go-homedir v1.1.0"
|
||||
"github.com/mitchellh/hashstructure v1.0.0"
|
||||
"github.com/mitchellh/mapstructure v1.1.2"
|
||||
"github.com/pierrec/lz4 v2.2.5"
|
||||
"github.com/pkg/errors v0.8.1"
|
||||
"github.com/ryanuber/go-glob v1.0.0"
|
||||
"github.com/stretchr/testify v1.3.0"
|
||||
"golang.org/x/crypto 4def268fd1a49955bfb3dda92fe3db4f924f2285 github.com/golang/crypto"
|
||||
"golang.org/x/net ca1201d0de80cfde86cb01aea620983605dfe99b github.com/golang/net"
|
||||
"golang.org/x/sys 1393eb0183657fb29200106b17a5042ec6e48dbe github.com/golang/sys"
|
||||
"golang.org/x/text v0.3.2 github.com/golang/text"
|
||||
"golang.org/x/time c4c64cad1fd0a1a8dab2523e04e61d35308e131e github.com/golang/time"
|
||||
"gopkg.in/check.v1 788fd78401277ebd861206a03c884797c6ec5541 github.com/go-check/check"
|
||||
"gopkg.in/square/go-jose.v2 v2.3.1 github.com/square/go-jose"
|
||||
"gopkg.in/yaml.v2 v2.2.2 github.com/go-yaml/yaml"
|
||||
)
|
||||
|
||||
inherit golang-vcs-snapshot systemd user
|
||||
|
||||
KEYWORDS="~amd64"
|
||||
DESCRIPTION="Generic template rendering and notifications with Consul"
|
||||
GIT_COMMIT="521adf1"
|
||||
EGO_PN="github.com/hashicorp/${PN}"
|
||||
HOMEPAGE="https://github.com/hashicorp/consul-template"
|
||||
LICENSE="MPL-2.0 Apache-2.0 BSD BSD-2 ISC MIT WTFPL-2"
|
||||
SLOT="0"
|
||||
# TODO: debug test failures
|
||||
RESTRICT="test"
|
||||
|
||||
SRC_URI="https://${EGO_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
|
||||
${EGO_VENDOR_URI}"
|
||||
S=${WORKDIR}/${P}/src/${EGO_PN}
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup ${PN}
|
||||
enewuser ${PN} -1 -1 -1 ${PN}
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
# Avoid the need to have a git checkout
|
||||
sed -e "s:git rev-parse --short HEAD:echo ${GIT_COMMIT}:" \
|
||||
-e '/-s \\/d' \
|
||||
-i Makefile || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
export -n GOCACHE XDG_CACHE_HOME
|
||||
export GO111MODULE=on GOFLAGS="-mod=vendor -v -x" GOBIN="${WORKDIR}/${P}/bin"
|
||||
emake dev
|
||||
}
|
||||
|
||||
src_test() {
|
||||
emake test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin "${GOBIN}/${PN}"
|
||||
dodoc {CHANGELOG.md,README.md}
|
||||
|
||||
keepdir /var/log/${PN}
|
||||
fowners ${PN}:${PN} /var/log/${PN}
|
||||
|
||||
newinitd "${FILESDIR}/${PN}.initd" "${PN}"
|
||||
insinto /etc/logrotate.d
|
||||
newins "${FILESDIR}/${PN}.logrotated" "${PN}"
|
||||
newconfd "${FILESDIR}/${PN}.confd" "${PN}"
|
||||
systemd_dounit "${FILESDIR}/${PN}.service"
|
||||
|
||||
keepdir /etc/${PN}.d
|
||||
}
|
@ -0,0 +1,74 @@
|
||||
# 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,3 +1,3 @@
|
||||
DIST gopass-1.8.6.tar.gz 7072723 BLAKE2B 5ae883c54f8180f8b6da870bd99710f1c740afe9de193c127a3047fa1211641b94ab98e23148d83c6d5b2cd2e3275f644dc875d106c9267e7e0c6342bf0b9a46 SHA512 7acdb095cf8913954044c3206eab020f197542334798c6b94724709c3953b12f7e5b73ce8c1aa4bfd5df3acf1f424b64bfa94f9a8f68fa7116ed14c8a0f2e6f0
|
||||
EBUILD gopass-1.8.6-r1.ebuild 1070 BLAKE2B 12f537769ee1d9b7ad4ba9bc12387ebbdb60021ee1b0e7ade84d421527acfd3ab86c551ef2f052d79353a53d60d08c3a30fdd8c70053db9fff24bf4de8681445 SHA512 07c8aa0cf9162734c301e6ca5e2c72f183f05a7ceeda3f3b170d8a82ddded2ec3a4045eee21ece324b98444af95b1c8bf161ab918e9e6921accddcbfde0cc2f3
|
||||
MISC metadata.xml 247 BLAKE2B 5c44cfebd4e0f9255ed340e3945e531881706dde92572518052e5394653919667cd7f0cb3224e88e0a188426e95f88019353ba2536fc3cc7b5c8c8688e7fe552 SHA512 7ffbec6e8ce2268628d1afb0906d7b5c00288667bd96e948ed3253fe7b2adc99998b64e026874becafb8400b9e0334f22de51e7be791244b21670d0f98d00b36
|
||||
MISC metadata.xml 327 BLAKE2B d3ea7ba02c3484c31b58d8c8e1b1b5a064eff597c42add7bcd720d818d90ae107a9f72292fafc6c059995118d96204e8f8f2ed82856dcc0e1061c2eca81aab54 SHA512 7c7bb9cd28275bb75bb0e71da2dee86f7a32340908e59359d330b03fd07ba8569226775101a92032b06fac1ba0327ca6cb57c5ecf6b6c3c1a0319b3259bda38c
|
||||
|
@ -1,3 +1,5 @@
|
||||
DIST kubectx-0.6.3.tar.gz 483452 BLAKE2B 9f74a5df0c30e8414bfba0c2934ed0601dab249a78e8083179fc129dfe288b596f8f0932c3daf84b89ebb740a9c6694189f596c7a944bb6a584495a999d08192 SHA512 63054b51e3d2f52e895aa5b15162f67c81970c0d27e974f60f7f6641156d04cc4b590894e7eedcba3925f344009e65d04189c046f67d1edaf7f092ffe8d5dba1
|
||||
DIST kubectx-0.7.1.tar.gz 484162 BLAKE2B 54da3821da0fb992e1a12ad1e866f6f10c57a48da0414e8a48f293e090e289a0d26a70297974378b81f4e660ca13e85877c2f76b554eac526d1d830fdc439da1 SHA512 c78beba1820afb22548efb39e1fa704af017076096a4676d5a178bc3d65656f2352ee221d9754eb6fd8cc02a3aa96d743ce2c27a84a8b9c3684272cd2547fcf2
|
||||
EBUILD kubectx-0.6.3.ebuild 692 BLAKE2B 12a53742c7e79321ea3a3e2f534ba525e65d8d3968494908eae813933aa4de9f07310f2c151301eed696e15da27d6c1f1b444a5dc191ec479c0aeac0c3870915 SHA512 d672947603b0f6c3d2783082b25a3c5ae595d471251df46e8b6ed533c371211c781bc0b6330f14b7659bf88f285207cf74131e879823a600af9708a2576a6a40
|
||||
EBUILD kubectx-0.7.1.ebuild 692 BLAKE2B 12a53742c7e79321ea3a3e2f534ba525e65d8d3968494908eae813933aa4de9f07310f2c151301eed696e15da27d6c1f1b444a5dc191ec479c0aeac0c3870915 SHA512 d672947603b0f6c3d2783082b25a3c5ae595d471251df46e8b6ed533c371211c781bc0b6330f14b7659bf88f285207cf74131e879823a600af9708a2576a6a40
|
||||
MISC metadata.xml 247 BLAKE2B cc3ffec52f77e1ce57763359a7fc71a3225e3a2cda5cb797e98661c354fb9ee896033b1aa38c3a22c3587467da2833a801b710c8f43b3dffb2e9de327c48ab45 SHA512 a47289a415c6b8ee6759241cbaf42a851208f940432451a4b893f336d2c980aab922f8bb37de656465758532321dcbdfb372d1ee85739da46ec83ab89fa3f046
|
||||
|
@ -0,0 +1,28 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit vcs-snapshot bash-completion-r1
|
||||
|
||||
DESCRIPTION="Fast way to switch between clusters and namespaces in kubectl"
|
||||
HOMEPAGE="https://github.com/ahmetb/kubectx"
|
||||
SRC_URI="https://github.com/ahmetb/kubectx/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="sys-cluster/kubectl"
|
||||
|
||||
src_install() {
|
||||
dobin kubectx kubens
|
||||
|
||||
insinto /usr/share/zsh/site-functions
|
||||
newins completion/kubectx.zsh _kubectx
|
||||
newins completion/kubens.zsh _kubens
|
||||
|
||||
newbashcomp completion/kubectx.bash kubectx
|
||||
newbashcomp completion/kubens.bash kubens
|
||||
}
|
@ -0,0 +1,93 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit fcaps golang-base golang-vcs-snapshot systemd user
|
||||
|
||||
EGO_PN="github.com/hashicorp/${PN}"
|
||||
VAULT_WEBUI_ARCHIVE="${P}-webui.tar.xz"
|
||||
DESCRIPTION="A tool for managing secrets"
|
||||
HOMEPAGE="https://vaultproject.io/"
|
||||
SRC_URI="https://${EGO_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
|
||||
webui? (
|
||||
mirror://gentoo/${VAULT_WEBUI_ARCHIVE}
|
||||
https://dev.gentoo.org/~zmedico/dist/${VAULT_WEBUI_ARCHIVE}
|
||||
)"
|
||||
SLOT="0"
|
||||
LICENSE="MPL-2.0 Apache-2.0 BSD BSD-2 CC-BY-SA-4.0 ISC MIT"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="+webui"
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
DEPEND=">=dev-lang/go-1.12:=
|
||||
dev-go/gox"
|
||||
|
||||
FILECAPS=(
|
||||
-m 755 'cap_ipc_lock=+ep' usr/bin/${PN}
|
||||
)
|
||||
|
||||
src_unpack() {
|
||||
golang-vcs-snapshot_src_unpack
|
||||
if use webui; then
|
||||
# The webui assets build has numerous nodejs dependencies,
|
||||
# see https://github.com/hashicorp/vault/blob/master/ui/README.md
|
||||
pushd "${S}/src/${EGO_PN}" >/dev/null || die
|
||||
unpack "${VAULT_WEBUI_ARCHIVE}"
|
||||
popd >/dev/null
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
# Avoid the need to have a git checkout
|
||||
sed -e 's:^\(GIT_COMMIT=\).*:\1:' \
|
||||
-e 's:^\(GIT_DIRTY=\).*:\1:' \
|
||||
-e s:\'\${GIT_COMMIT}\${GIT_DIRTY}\':: \
|
||||
-i src/${EGO_PN}/scripts/build.sh || die
|
||||
sed -e "/hooks/d" \
|
||||
-e 's|^\([[:space:]]*\)goimports .*)|\1true|' \
|
||||
-i src/${EGO_PN}/Makefile || die
|
||||
|
||||
# Avoid network-sandbox violations since go-1.13
|
||||
rm src/${EGO_PN}/go.mod || die
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup ${PN}
|
||||
enewuser ${PN} -1 -1 -1 ${PN}
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
mkdir bin || die
|
||||
export -n GOCACHE XDG_CACHE_HOME #678970
|
||||
export GOBIN=${S}/bin GOPATH=${S}
|
||||
cd src/${EGO_PN} || die
|
||||
# The fmt target may need to be executed if it was previously
|
||||
# executed by an older version of go (bug 665438).
|
||||
emake fmt
|
||||
BUILD_TAGS="$(usex webui ui '')" \
|
||||
XC_ARCH=$(go env GOARCH) \
|
||||
XC_OS=$(go env GOOS) \
|
||||
XC_OSARCH=$(go env GOOS)/$(go env GOARCH) \
|
||||
emake
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dodoc src/${EGO_PN}/{CHANGELOG.md,CONTRIBUTING.md,README.md}
|
||||
newinitd "${FILESDIR}/${PN}.initd" "${PN}"
|
||||
newconfd "${FILESDIR}/${PN}.confd" "${PN}"
|
||||
insinto /etc/logrotate.d
|
||||
newins "${FILESDIR}/${PN}.logrotated" "${PN}"
|
||||
systemd_dounit "${FILESDIR}/${PN}.service"
|
||||
|
||||
keepdir /etc/${PN}.d
|
||||
insinto /etc/${PN}.d
|
||||
doins "${FILESDIR}/"*.json.example
|
||||
|
||||
keepdir /var/log/${PN}
|
||||
fowners ${PN}:${PN} /var/log/${PN}
|
||||
|
||||
dobin bin/${PN}
|
||||
}
|
Binary file not shown.
@ -0,0 +1,62 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit multilib-minimal toolchain-funcs
|
||||
|
||||
DESCRIPTION="zstd fast compression library"
|
||||
HOMEPAGE="https://facebook.github.io/zstd/"
|
||||
SRC_URI="https://github.com/facebook/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="|| ( BSD GPL-2 )"
|
||||
SLOT="0/1"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="lz4 static-libs"
|
||||
|
||||
RDEPEND="app-arch/xz-utils
|
||||
lz4? ( app-arch/lz4 )"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
multilib_copy_sources
|
||||
}
|
||||
|
||||
mymake() {
|
||||
emake \
|
||||
CC="$(tc-getCC)" \
|
||||
CXX="$(tc-getCXX)" \
|
||||
AR="$(tc-getAR)" \
|
||||
PREFIX="${EPREFIX}/usr" \
|
||||
LIBDIR="${EPREFIX}/usr/$(get_libdir)" \
|
||||
"${@}"
|
||||
}
|
||||
|
||||
multilib_src_compile() {
|
||||
mymake -C lib libzstd libzstd.a libzstd.pc
|
||||
|
||||
if multilib_is_native_abi ; then
|
||||
mymake zstd
|
||||
|
||||
mymake -C contrib/pzstd
|
||||
fi
|
||||
}
|
||||
|
||||
multilib_src_install() {
|
||||
mymake -C lib DESTDIR="${D}" install
|
||||
|
||||
if multilib_is_native_abi ; then
|
||||
mymake -C programs DESTDIR="${D}" install
|
||||
|
||||
mymake -C contrib/pzstd DESTDIR="${D}" install
|
||||
fi
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
einstalldocs
|
||||
|
||||
if ! use static-libs; then
|
||||
find "${ED}" -name "*.a" -delete || die
|
||||
fi
|
||||
}
|
Binary file not shown.
Binary file not shown.
@ -1,5 +1,5 @@
|
||||
DIST bvi-1.4.0.src.tar.gz 139202 BLAKE2B 151d86214aa93bb0a7f383c8de13b8a15fe2cfe7f5892dff52b80e362c049b49082abe846ffaf68ec69201bbffba2fdcc5d00f744756c49ecb26e16ab93bb13d SHA512 119cfc7350f81c324e77243f948cfb91cd9a3122fef307616e4756a99732f69131aed2a26ebe48048698b9c211a0214255f3e6605ad2cbf479a14a4a0f88923c
|
||||
DIST bvi-1.4.1.src.tar.gz 143181 BLAKE2B ad4ae885b1b85ebfc4fc842e0b072383b6755eeaf1d8a71ffb461c5caf0c4c97d1906a7762b66ae4a5ede9ac8a204543bc0aed8630a3ea52ca452e8c645ad616 SHA512 f7a3f07e6bcefe566a101c4db85192f0d2e3580be0ab10bc297e6c0192e79d29061a7c9f1a57cf5a628f03962deb8c2ed52e33effc1d5198d458627d70d882e6
|
||||
EBUILD bvi-1.4.0.ebuild 476 BLAKE2B 8828fe7012383599a427032ec9d3fc89457e82cd7d6beaae56a9f2883c960c8c71e1ba6cbe57d4122f1440b2a650193f5bdde6e889358429e1ed90412bbedacc SHA512 642d892af5285215170595beb35aa9957fef14cf67230a8a79e03d1ac0bc92e836b84f7e2a30545f085376346b9571201fa7fec05acd37b8e8e0fea56f75f7db
|
||||
EBUILD bvi-1.4.1.ebuild 480 BLAKE2B 6816b80b12a61895a33fa4ae00a682d7ee2d14684ebec744ff969ab3c44b18f00baf3b55cd6a68ee473f33314cf70a110a703ef407354ec8892e7f98c8901d8f SHA512 aab8b3e7288b8dfdd87d3b910acf67bc8e025d791f3a32dd7741e5d47fd42eea75cb6508c2ec270b87098fd9ac3504f7cf107067466d85e68f4c36100cb3f15f
|
||||
EBUILD bvi-1.4.1.ebuild 479 BLAKE2B b16b87f5a7592a5118ea9454e50a5aafc8b754321d2e50a2da03e1906b4a5d80ed1ad327f0e193c4f1ef6ef41e8cbd95dd844589f4e6128c7d46e091559134af SHA512 46d1477c716fa1731bcafa90b595858e02efb0dcb0be0d8264b66bbd23c4c424c0d500f3c11bab5159857ed9ce9c2287476bf128f7839939e19c07a9de17c904
|
||||
MISC metadata.xml 435 BLAKE2B f980e4c6f597a6328b959ab2664cc1de7f5f351d39e06a5383f63fa75933e42a45962184a56b5b3456a0ec9f05d6632b53174fc0bdd00fd92ee9a38eb4ed1a4b SHA512 3feab9fd6833b5503477acf55078027a14976e4a1647463a54901467e9ea40c22f3bb9d41acba1c2b8cfbe8819b2af310d2f19b9f1c0a3eb9a991cf001ea984b
|
||||
|
Binary file not shown.
Binary file not shown.
@ -0,0 +1,3 @@
|
||||
DIST crun-0.10.6.tar.gz 1242736 BLAKE2B 840699c6a07ddaef3f6ab4ce226fa6c4ebf0e32641012b6467a2a622d575a48286555b84140d5a1c947b5ef00a691045b0618533fb246bfb6d605baa262febe4 SHA512 b7db09d0c7d2d6e8b1ea239ead5a2ca2b97f188a74f08f0d5ac787e0a698fddf596e7cfdde482c6bc8790d06a7705613e877344a44691c0be7388e6d046c4b15
|
||||
EBUILD crun-0.10.6.ebuild 1446 BLAKE2B 613466b1d8cb1c898057588d42ea20d05785a978ed126521477892766d1cc95fc1e3b34100a64a108079f71651f52d4df60441b0651a4906548e4aca3fb35711 SHA512 c5c69e982afb6b4cba5e52b52e6605adba29df032b0e13c4630d90a184089df8242085370ecc871f2a9d08fe850f1ab2aa3cfa49953e7e7bc74dddec8861677a
|
||||
MISC metadata.xml 1222 BLAKE2B 7130b8aef5ee4e0a6ddf3a6c1fe40e4918ba2ace244dfad9626ba743553507d3405fca2ec450107bd353f9c2b2fbd8de265f358199dd26e19306fdc662c28906 SHA512 e8f6507a4de83775a04ebf3abddf893cdbde6f82a18e86f2575cd0711fce05650421d1ebd19c35963794fde743747db1cc4ed28d3ea3a3ef2908d1d8d9db2bd5
|
@ -0,0 +1,67 @@
|
||||
# Copyright 2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{5,6,7} )
|
||||
|
||||
inherit python-any-r1
|
||||
|
||||
DESCRIPTION="A fast and low-memory footprint OCI Container Runtime fully written in C"
|
||||
HOMEPAGE="https://github.com/containers/crun"
|
||||
SRC_URI="https://github.com/containers/${PN}/releases/download/${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3 LGPL-3+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="bpf +caps doc seccomp systemd static-libs"
|
||||
|
||||
DEPEND="
|
||||
dev-libs/yajl
|
||||
sys-libs/libseccomp
|
||||
caps? ( sys-libs/libcap )
|
||||
seccomp? ( sys-libs/libseccomp )
|
||||
systemd? ( sys-apps/systemd:= )
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
BDEPEND="
|
||||
${PYTHON_DEPS}
|
||||
doc? ( dev-go/go-md2man )
|
||||
"
|
||||
|
||||
DOCS=README.md
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
$(use_enable bpf) \
|
||||
$(use_enable caps) \
|
||||
$(use_enable seccomp) \
|
||||
$(use_enable systemd) \
|
||||
$(usex static-libs '--enabled-shared --enabled-static' '--enable-shared --disable-static' '' '')
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
pushd libocispec || die
|
||||
emake
|
||||
popd || die
|
||||
emake crun
|
||||
if use doc ; then
|
||||
emake crun.1
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
pushd libocispec || die
|
||||
emake "DESTDIR=${D}" install-exec
|
||||
popd || die
|
||||
emake "DESTDIR=${D}" install-exec
|
||||
if use doc ; then
|
||||
emake "DESTDIR=${D}" install-man
|
||||
fi
|
||||
|
||||
# there is currently a bug in upstream autotooling that continues to build static libraries despite
|
||||
# explicit configure options
|
||||
use static-libs || find "${ED}"/usr -name '*.la' -delete
|
||||
|
||||
einstalldocs
|
||||
}
|
@ -0,0 +1,31 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>dan@danmolik.com</email>
|
||||
<name>Dan Molik</name>
|
||||
</maintainer>
|
||||
<maintainer type="project">
|
||||
<email>proxy-maint@gentoo.org</email>
|
||||
<name>Proxy Maintainers</name>
|
||||
</maintainer>
|
||||
<longdescription lang="en">
|
||||
While most of the tools used in the Linux containers ecosystem are written in
|
||||
Go, crun authors believe C is a better fit for a lower level tool like a
|
||||
container runtime. runc; the most used implementation of the OCI runtime specs
|
||||
written in Go, re-execs itself and use a module written in C for setting up
|
||||
the environment before the container process starts.
|
||||
|
||||
crun aims to be also usable as a library that can be easily included in
|
||||
programs without requiring an external process for managing OCI containers.
|
||||
</longdescription>
|
||||
<upstream>
|
||||
<changelog>https://github.com/containers/crun/releases</changelog>
|
||||
<remote-id type="github">containers/crun</remote-id>
|
||||
</upstream>
|
||||
<use>
|
||||
<flag name="bpf">Enable in Kernel, eBPF (enhanced Berkley Packet Filter)
|
||||
support for managing device controllers.
|
||||
</flag>
|
||||
</use>
|
||||
</pkgmetadata>
|
@ -1,13 +0,0 @@
|
||||
AUX 0513f013625b6a652d7dcb663eb396b9b5bb924e.patch 2829 BLAKE2B a7fa55afb736dcf48e86f9ece1a626017f8e8cb3911de5b5bc51bff1a98abaea57497f38b8cabe7d22d2b0cda0af4d23cb559d47f7f92cbf86ed14921da9f17d SHA512 4394b16194411c8b5d7c258681a9bfde8d384fffb0c254e2d3a5cd85ecf58af369c7d286d40dcf9b215c96b7ec29ec49f7a9640b3c525f9c718c8aabc428d211
|
||||
AUX 4453b4773688eef6c60736d9cf07100716308a5e.patch 2604 BLAKE2B f586e6341e95e5ce7a6e241463080892ba164f26333c832ee403edc8f4bf574adb57196092a5b78b4aeaac843a411a16f7fd219626611f13ba8a8c730069d325 SHA512 2841a9529649cdc1631bb95f52c8bd5ef440258d81ff07f77cf97c70bb1e554883a59116f806f05b5f4a7035a7ca2fa0abab9df4d0159ae202069894731a758b
|
||||
AUX openstack-guest-agents-unix-1.39.0-python2.patch 882 BLAKE2B 86e5e3c87e08e7d61b5199c161599be15f7153f2f0d45c34775084dec3f55851165d65dfd8ccdc40a1e77826d996b07e516d2cfb13b412e8228dc87734e93e58 SHA512 573dc02f578894c0df8f4c7ff9f4064ea94a2e17c35bef689dfe348f8611302cdc1a6a2126188cc2c4383e1a484e3acea180365ee555a5bdfac749c857828380
|
||||
AUX patches-1.39.0-20140621.patch 13058 BLAKE2B aa9ddf619bc57bc164aeb976545d2105e0fa105ea61f164d1b52357299febb19a5f501260dfee57e220dbd6154848c3488ba628a1f41dc24d5b9fb62246eb45a SHA512 562aaae73acfd92a7af5d1cb7dfed52c07a1b94ce1b1bb645002515344aeba6c0737eeb4db120986495c8f6558ebf68d9cbe3862da2f0fe14d4266d0470fe185
|
||||
DIST openstack-guest-agents-unix-1.39.0.tar.gz 75013 BLAKE2B 4245fb6fa2f8344469b264d1e9eee39e1914f76a33f54677d36ca854feb5a0548454af00cf02db9c5f2f0b6e68de9dc19fcf62a604b5d55fab96b20ed70a507e SHA512 4f7c4c1f2bc2c8ebda25dc8c0fa79c39e8e5a83040ff103f8c583d9142e71c6527d23e430da983e3a8c9add508298c31ec13a7e56d1db3b5338736dd470fec80
|
||||
DIST openstack-guest-agents-unix-1.39.1.tar.gz 75458 BLAKE2B 6afcf0cb40c7f24f7ea6ea8ca8af40373ce2fcbfffc5a8cae65e2ed8bf7003eb498b4592fa215e57a20e3c5d11064cfa4629b79eb94712ebb0ad5b09459fe815 SHA512 b1e88bb3492018375e7b2275829e2698d82d75c975a396ab7409c9b88f7787145b0da87c81a089aa8914fae30e996654b589bc1675bba769b661d7d1deb9590d
|
||||
DIST openstack-guest-agents-unix-1.39.1_p20170227.tar.gz 75309 BLAKE2B 3cd6f0bc3f5d7ae2ba4b1e8822e3c6659525dde4b7b9a9092bae4d825c965d88c5cba8f50f7e322cc08df1c4a113010645b2969eb1f4d3377db8279d58f56e8d SHA512 f36e40344a6a4debfa070d43177208edbeef7a829ace999b970e1423d7004d9255ab239c1feacdf9f3d14ddb469c67ccefe90a1bd83b1fb81c38a407c277832c
|
||||
EBUILD openstack-guest-agents-unix-1.39.0-r1.ebuild 939 BLAKE2B 851af6f0a387a4acc821768156aaee12fe15ddb42165830d864cd2d76afd88818b4ff445a758e2f45a722ea4466b77779b0889e64ca06aa9495587219be376e7 SHA512 df63509a304e16fbd222e3b6234be09fe04771f04a85e83d0638bf11ae1c22a79955e719f50917ecb367aff928226692e298e1c6b8bbfadaf461c9a18a39ad18
|
||||
EBUILD openstack-guest-agents-unix-1.39.0-r2.ebuild 1175 BLAKE2B d32e75df33806cb4e6a5a07c4270ebd717a8d9266fcbd5d5c1fad558715e5863ddd6e799e94c657fe21a8657865b58c72bbe5affc10d73453ca3e006390243cf SHA512 45fe477835854f74c4739ff58180ac12e59c76f20636d11e8a22fc27e13e897a76840f2ac847a3144808b4fa923d95696aafead0d069acc36132cd114c80f380
|
||||
EBUILD openstack-guest-agents-unix-1.39.0.ebuild 610 BLAKE2B ae5c7e6c520e9baf3db5f3a5b7f4210e292727e865c8cf2cb023ef4dece9bcc470e815a8cbec119201fe7cd45f4e2cc4877890fb560ff1df4bbef47cbe803863 SHA512 513e7e710b81cd33f3dec761baeb9c769b042014bc7a05275cb400cfef591e1dc71055cc3ebab195cb009be907645b0b00c317f15e0b1a944fda4cb76c0e393f
|
||||
EBUILD openstack-guest-agents-unix-1.39.1.ebuild 1461 BLAKE2B 6af82a08b86a7a24e49be92ae953158e278fe6ccf07e0d06d1f49bcae5e83daf8f11e99b7680b2e4786a3036a9452d08d4cfedecd3cfa6487e528147761abb54 SHA512 fc3b5a8fa6a1c4728dbf4114274ed8a02dabd4dd93b7a407a25a3ae0acc3a22adf86051022d1ed4ed9fcc6f1f4a618e9d1acc3472a4d0807979e41062ba7b09a
|
||||
EBUILD openstack-guest-agents-unix-1.39.1_p20170227.ebuild 1677 BLAKE2B 84f8ad2b62eb0057f01cdbfb2c278dee45b5d78d5aa0c9a92e03bdb411916d94fd99116e96e7b8376908cff8a0ec066d93b4a714b85795f8a1679b403ca03a75 SHA512 685d27c58f47bb9ab05107e9be55d5a7789f9ed7b977bbe408683f108f735d2e489bd0682c64250510383f8972433883f0c77b23273933d964b7a87440f13c48
|
||||
MISC metadata.xml 329 BLAKE2B a2fdd220d42ab64eceb8ed37e7646523856b3a3578a0e1e811fcc70730c6090234d2d270ddc6dc8175088eda91b73e3905b47d19fc2e118b11667b37215769a5 SHA512 853f823555872a4294c7c6aff0b51a9e348fde71767ecf24c8f6e83002caa8c26767c7ab36d4231d14520d8689994b4dc924e3d3721528a8bd697f44783dffab
|
@ -1,60 +0,0 @@
|
||||
From 84e1a32ee2b8d0607f2868365aa46aaea58f014c Mon Sep 17 00:00:00 2001
|
||||
From: Nate House <nathan.house@rackspace.com>
|
||||
Date: Mon, 20 Oct 2014 18:50:52 -0500
|
||||
Subject: [PATCH] Updated regexp to work with config headers added sometime ago
|
||||
|
||||
---
|
||||
tests/test_resetnetwork_interfaces.py | 26 +++++++++++---------------
|
||||
1 file changed, 11 insertions(+), 15 deletions(-)
|
||||
|
||||
diff --git a/tests/test_resetnetwork_interfaces.py b/tests/test_resetnetwork_interfaces.py
|
||||
index dc8e7e7..b12b84c 100644
|
||||
--- a/tests/test_resetnetwork_interfaces.py
|
||||
+++ b/tests/test_resetnetwork_interfaces.py
|
||||
@@ -344,17 +344,13 @@ def test_gentoo_legacy_ipv4(self):
|
||||
|
||||
generated = outfiles['net'].rstrip()
|
||||
# (todo: naterh) Update tests to mock for both ifconfig/iproute2
|
||||
- pattern = ('modules=\( "ifconfig|iproute2" \)\n*' +
|
||||
+ # (todo: naterh) Remove excessive unused kwargs
|
||||
+ pattern = ('.*?modules="(ifconfig|iproute2)"\n*' +
|
||||
'# Label public\n*' +
|
||||
'config_eth0=\(\s*"192.0.2.42 netmask 255.255.255.0"\s*\)\n*' +
|
||||
'routes_eth0=\(\s*"default via 192.0.2.1"\s*\)\n*' +
|
||||
- 'dns_servers_eth0=\(\s*"192.0.2.2"\s*\)').format(
|
||||
- ip=interface['ipv4'][0][0],
|
||||
- netmask=interface['ipv4'][0][1],
|
||||
- gateway=interface['gateway4'],
|
||||
- dns=interface['dns'][0]
|
||||
- )
|
||||
- expected_regex = re.compile(pattern, re.MULTILINE)
|
||||
+ 'dns_servers_eth0=\(\s*"192.0.2.2"\s*\)')
|
||||
+ expected_regex = re.compile(pattern, re.DOTALL)
|
||||
|
||||
self.assertRegexpMatches(generated, expected_regex)
|
||||
|
||||
@@ -373,17 +369,17 @@ def test_gentoo_legacy_ipv6(self):
|
||||
|
||||
# (todo: naterh) Update tests to mock for both ifconfig/iproute2
|
||||
generated = outfiles['net'].rstrip()
|
||||
- pattern = ('modules=\( "ifconfig|iproute2" \)\n*' +
|
||||
+ pattern = ('.*?modules="(ifconfig|iproute2)"\n*' +
|
||||
'# Label public\n*' +
|
||||
'config_eth0=\(\s*"{ip}/{netmask_len}"\s*\)\n*' +
|
||||
'routes_eth0=\(\s*"default via {gateway}"\s*\)\n*' +
|
||||
'dns_servers_eth0=\(\s*"{dns}"\s*\)').format(
|
||||
- ip=interface['ipv6'][0][0],
|
||||
- netmask_len=interface['ipv6'][0][1],
|
||||
- gateway=interface['gateway6'],
|
||||
- dns=interface['dns'][0]
|
||||
- )
|
||||
- expected_regex = re.compile(pattern, re.MULTILINE)
|
||||
+ ip=interface['ipv6'][0][0],
|
||||
+ netmask_len=interface['ipv6'][0][1],
|
||||
+ gateway=interface['gateway6'],
|
||||
+ dns=interface['dns'][0]
|
||||
+ )
|
||||
+ expected_regex = re.compile(pattern, re.DOTALL)
|
||||
|
||||
self.assertRegexpMatches(generated, expected_regex)
|
||||
|
@ -1,57 +0,0 @@
|
||||
From 4453b4773688eef6c60736d9cf07100716308a5e Mon Sep 17 00:00:00 2001
|
||||
From: Nate House <nathan.house@rackspace.com>
|
||||
Date: Sun, 19 Oct 2014 15:49:35 -0500
|
||||
Subject: [PATCH] Updated tests to check for either ifconfig/iproute2
|
||||
|
||||
---
|
||||
tests/test_resetnetwork_interfaces.py | 13 ++++++++-----
|
||||
1 file changed, 8 insertions(+), 5 deletions(-)
|
||||
|
||||
diff --git a/tests/test_resetnetwork_interfaces.py b/tests/test_resetnetwork_interfaces.py
|
||||
index f2b73bf..dc8e7e7 100644
|
||||
--- a/tests/test_resetnetwork_interfaces.py
|
||||
+++ b/tests/test_resetnetwork_interfaces.py
|
||||
@@ -343,8 +343,8 @@ def test_gentoo_legacy_ipv4(self):
|
||||
self.assertTrue('net' in outfiles)
|
||||
|
||||
generated = outfiles['net'].rstrip()
|
||||
-
|
||||
- pattern = ('modules=\( "ifconfig" \)\n*' +
|
||||
+ # (todo: naterh) Update tests to mock for both ifconfig/iproute2
|
||||
+ pattern = ('modules=\( "ifconfig|iproute2" \)\n*' +
|
||||
'# Label public\n*' +
|
||||
'config_eth0=\(\s*"192.0.2.42 netmask 255.255.255.0"\s*\)\n*' +
|
||||
'routes_eth0=\(\s*"default via 192.0.2.1"\s*\)\n*' +
|
||||
@@ -371,8 +371,9 @@ def test_gentoo_legacy_ipv6(self):
|
||||
|
||||
self.assertTrue('net' in outfiles)
|
||||
|
||||
+ # (todo: naterh) Update tests to mock for both ifconfig/iproute2
|
||||
generated = outfiles['net'].rstrip()
|
||||
- pattern = ('modules=\( "ifconfig" \)\n*' +
|
||||
+ pattern = ('modules=\( "ifconfig|iproute2" \)\n*' +
|
||||
'# Label public\n*' +
|
||||
'config_eth0=\(\s*"{ip}/{netmask_len}"\s*\)\n*' +
|
||||
'routes_eth0=\(\s*"default via {gateway}"\s*\)\n*' +
|
||||
@@ -399,8 +400,9 @@ def test_gentoo_openrc_ipv4(self):
|
||||
|
||||
self.assertTrue('net' in outfiles)
|
||||
|
||||
+ # (todo: naterh) Update tests to mock for both ifconfig/iproute2
|
||||
generated = outfiles['net'].rstrip()
|
||||
- pattern = ('modules="ifconfig"\n*' +
|
||||
+ pattern = ('modules="ifconfig|iproute2"\n*' +
|
||||
'# Label public\n*' +
|
||||
'config_eth0="\s*{ip}/{netmask_len}\s*"\n*' +
|
||||
'routes_eth0="\s*default via {gateway}\s*"\n*' +
|
||||
@@ -429,8 +431,9 @@ def test_gentoo_openrc_ipv6(self):
|
||||
|
||||
self.assertTrue('net' in outfiles)
|
||||
|
||||
+ # (todo: naterh) Update tests to mock for both ifconfig/iproute2
|
||||
generated = outfiles['net'].rstrip()
|
||||
- pattern = ('modules="ifconfig"\n*' +
|
||||
+ pattern = ('modules="ifconfig|iproute2"\n*' +
|
||||
'# Label public\n*' +
|
||||
'config_eth0="\s*{ip}/{netmask_len}\s*"\n*' +
|
||||
'routes_eth0="\s*default via {gateway}\s*"\n*' +
|
@ -1,15 +0,0 @@
|
||||
diff -Nuar openstack-guest-agents-unix-1.39.0.orig/scripts/gentoo/nova-agent.in openstack-guest-agents-unix-1.39.0/scripts/gentoo/nova-agent.in
|
||||
--- openstack-guest-agents-unix-1.39.0.orig/scripts/gentoo/nova-agent.in 2013-12-31 02:02:57.000000000 -0800
|
||||
+++ openstack-guest-agents-unix-1.39.0/scripts/gentoo/nova-agent.in 2014-06-21 17:20:01.527148493 -0700
|
||||
@@ -35,8 +35,9 @@
|
||||
NOVA_PYTHONPATH="${reallibdir}/${NOVA_PYTHONPATH}"
|
||||
NOVA_PYTHONPATH="${NOVA_PYTHONPATH}:${NOVA_PYTHONPATH}/site-packages"
|
||||
|
||||
-if [ `which python > /dev/null 2>&1 ; echo $?` -eq 0 ]; then
|
||||
- PYTHONPATH="$(python -c 'import sys; print ":".join(sys.path)')"
|
||||
+PYTHON=python2
|
||||
+if [ `which $PYTHON > /dev/null 2>&1 ; echo $?` -eq 0 ]; then
|
||||
+ PYTHONPATH="$($PYTHON -c 'import sys; print ":".join(sys.path)')"
|
||||
fi
|
||||
export PYTHONPATH="$NOVA_PYTHONPATH:$PYTHONPATH"
|
||||
export PYTHONHOME="$NOVA_PYTHONPATH:$PYTHONPATH"
|
@ -1,323 +0,0 @@
|
||||
commit fc8c9fe076e321ff98cc6717abbb21ee57808c52
|
||||
Merge: eaaae09 1ecec49
|
||||
Author: teran-mckinney <teran.mckinney@rackspace.com>
|
||||
Date: Wed Apr 30 15:33:43 2014 +0000
|
||||
|
||||
Merge pull request #43 from gtmanfred/master
|
||||
|
||||
sbindir changes to exec_prefix
|
||||
|
||||
commit eaaae09c27a33998374a8d63702c75b04ab3e5c2
|
||||
Merge: 773e431 1505a5a
|
||||
Author: teran-mckinney <teran.mckinney@rackspace.com>
|
||||
Date: Tue Apr 29 18:21:27 2014 +0000
|
||||
|
||||
Merge pull request #45 from leader716/master
|
||||
|
||||
Added addditional logic to deterine if the hardware address for and inte...
|
||||
|
||||
commit 1505a5a8e180910c3307bf04ccfc4eed09c0f40a
|
||||
Author: John Ward <john.ward@rackspace.com>
|
||||
Date: Tue Apr 29 14:28:34 2014 +0000
|
||||
|
||||
Added addditional logic to deterine if the hardware address for and interface is 0x0 if so go to the next interface.
|
||||
I put this into place to handle tun adapters that have a hardware address of 0x0 which was causing the agent to
|
||||
segfault when it encounterd this type of adapter.
|
||||
|
||||
commit 1ecec499d5bea73980a8aec992b394339acc83c7
|
||||
Author: Daniel Wallace <danielwallace@gtmanfred.com>
|
||||
Date: Fri Apr 25 20:38:35 2014 -0500
|
||||
|
||||
sbindir changes to exec_prefix
|
||||
|
||||
Systemd requires a full path for the start of the command, and there
|
||||
isn't one that isn't a nice way to change this.
|
||||
|
||||
commit 773e431997a6612cbda9f11ec9d57f5685a29eea
|
||||
Merge: 1ca2056 12c0294
|
||||
Author: teran-mckinney <teran.mckinney@rackspace.com>
|
||||
Date: Fri Apr 25 18:41:56 2014 +0000
|
||||
|
||||
Merge pull request #39 from Camisa/master
|
||||
|
||||
nova-agent should replace the Slice or Image ID rather than append
|
||||
|
||||
commit 1ca2056a455f8075ed951f0a82b92820c0b33b54
|
||||
Merge: 1b05c75 f9a365e
|
||||
Author: teran-mckinney <teran.mckinney@rackspace.com>
|
||||
Date: Fri Apr 25 18:40:29 2014 +0000
|
||||
|
||||
Merge pull request #42 from gtmanfred/master
|
||||
|
||||
Do not add static routes that are the default route, if a default gateway already exists.
|
||||
|
||||
Courtesy of gtmanfred. Thank you!
|
||||
|
||||
commit f9a365e7a9543d407ca9d75164688faa0ff53528
|
||||
Author: Daniel Wallace <danielwallace@gtmanfred.com>
|
||||
Date: Fri Apr 25 10:54:29 2014 -0500
|
||||
|
||||
remove extra and from debian network.py
|
||||
|
||||
commit 387d4e77695598a07be9e4593c5b236b81a1aeea
|
||||
Author: Daniel Wallace <danielwallace@gtmanfred.com>
|
||||
Date: Fri Apr 25 09:31:15 2014 -0500
|
||||
|
||||
Do not add static routes that are the default route
|
||||
|
||||
commit 1b05c75530c8b4cbf5347e84815e275ee0bbacd4
|
||||
Author: teran-mckinney <teran.mckinney@rackspace.com>
|
||||
Date: Thu Feb 13 19:26:36 2014 +0000
|
||||
|
||||
Fix nova-agent not starting on some systems
|
||||
|
||||
data/host existing could cause a fault on xs_handle.mkdir(self.request_path) if request_path (data/host) already existed. Wrap it in a try/except clause to ignore the fault as if the directory already exists, there's no reason to throw an exception while trying to create it.
|
||||
|
||||
Workaround without this patch is to xenstore-rm data/host from affected VMs, or to do it from dom0 with the full path.
|
||||
|
||||
commit 12c02941ef02dc6645e6d4700e8a028decbf0c19
|
||||
Author: Christopher J. Camisa <cjc@operator.host>
|
||||
Date: Thu Jan 30 03:11:51 2014 -0600
|
||||
|
||||
nova-agent should replace the Slice or Image ID rather than append
|
||||
|
||||
commit ce388bf600136736fdb790edef58a57aad8adfc1
|
||||
Author: AbhishekKr <abhikumar163@gmail.com>
|
||||
Date: Tue Jan 21 17:22:23 2014 +0530
|
||||
|
||||
shebang fixed for installer.sh and bintar script; gitignore updated
|
||||
|
||||
commit 91fe7d0262fe8ad685a287df291b504250b1184c
|
||||
Author: AbhishekKr <abhikumar163@gmail.com>
|
||||
Date: Fri Jan 3 16:51:54 2014 +0530
|
||||
|
||||
FreeBSD changed ports, so bintar creation script need to
|
||||
diff --git a/.gitignore b/.gitignore
|
||||
index ae1ae1b..6bdeda8 100644
|
||||
--- a/.gitignore
|
||||
+++ b/.gitignore
|
||||
@@ -55,3 +55,4 @@ unix/scripts/generic/nova-agent
|
||||
unix/scripts/gentoo/nova-agent
|
||||
unix/scripts/freebsd/nova-agent
|
||||
.idea/*
|
||||
+**/.venv
|
||||
diff --git a/commands/arch/network.py b/commands/arch/network.py
|
||||
index 1d698ca..2bc0aff 100644
|
||||
--- a/commands/arch/network.py
|
||||
+++ b/commands/arch/network.py
|
||||
@@ -373,6 +373,11 @@ def _update_rc_conf_legacy(infile, interfaces):
|
||||
ifaces.append((ifname.replace(':', '_'), ' '.join(line)))
|
||||
|
||||
for i, route in enumerate(interface['routes']):
|
||||
+ if route['network'] == '0.0.0.0' and \
|
||||
+ route['netmask'] == '0.0.0.0' and \
|
||||
+ route['gateway'] == gateway4:
|
||||
+ continue
|
||||
+
|
||||
line = "-net %(network)s netmask %(netmask)s gw %(gateway)s" % \
|
||||
route
|
||||
|
||||
@@ -499,7 +504,10 @@ def _get_file_data_netctl(ifname, interface):
|
||||
print >>outfile, 'Gateway6=%s' % gateway6
|
||||
|
||||
routes = ['%(network)s/%(netmask)s via %(gateway)s' % route
|
||||
- for route in interface['routes']]
|
||||
+ for route in interface['routes'] if not
|
||||
+ route['network'] == '0.0.0.0' and not
|
||||
+ route['netmask'] == '0.0.0.0' and not
|
||||
+ route['gateway'] == gateway4]
|
||||
|
||||
if routes:
|
||||
print >>outfile, 'Routes=(\'%s\')' % '\' \''.join(routes)
|
||||
@@ -552,7 +560,10 @@ def _get_file_data_netcfg(ifname, interface):
|
||||
print >>outfile, 'GATEWAY6="%s"' % gateway6
|
||||
|
||||
routes = ['"%(network)s/%(netmask)s via %(gateway)s"' % route
|
||||
- for route in interface['routes']]
|
||||
+ for route in interface['routes'] if not
|
||||
+ route['network'] == '0.0.0.0' and not
|
||||
+ route['netmask'] == '0.0.0.0' and not
|
||||
+ route['gateway'] == gateway4]
|
||||
|
||||
if routes:
|
||||
print >>outfile, 'ROUTES=(%s)' % ' '.join(routes)
|
||||
diff --git a/commands/debian/network.py b/commands/debian/network.py
|
||||
index d91d602..3b82d97 100644
|
||||
--- a/commands/debian/network.py
|
||||
+++ b/commands/debian/network.py
|
||||
@@ -234,6 +234,11 @@ def _get_file_data(interfaces):
|
||||
ifname_suffix_num += 1
|
||||
|
||||
for route in interface['routes']:
|
||||
+ if route['network'] == '0.0.0.0' \
|
||||
+ and route['netmask'] == '0.0.0.0'\
|
||||
+ and 'gateway4' in interface \
|
||||
+ and route['gateway'] == interface['gateway4']:
|
||||
+ continue
|
||||
file_data += " post-up route add -net %(network)s " \
|
||||
"netmask %(netmask)s gw %(gateway)s || true\n" % route
|
||||
file_data += " pre-down route del -net %(network)s " \
|
||||
diff --git a/commands/freebsd/network.py b/commands/freebsd/network.py
|
||||
index 2d5d7f1..87e5e9e 100644
|
||||
--- a/commands/freebsd/network.py
|
||||
+++ b/commands/freebsd/network.py
|
||||
@@ -211,6 +211,10 @@ def _create_rcconf_file(infile, interfaces, hostname):
|
||||
ifname_suffix_num += 1
|
||||
|
||||
for route in interface['routes']:
|
||||
+ if route['network'] == '0.0.0.0' and \
|
||||
+ route['netmask'] == '0.0.0.0' and \
|
||||
+ route['gateway'] == gateway4:
|
||||
+ continue
|
||||
if ':' in route['network']:
|
||||
# ipv6
|
||||
fmt = '-net %(network)s/%(netmask)s %(gateway)s'
|
||||
diff --git a/commands/gentoo/network.py b/commands/gentoo/network.py
|
||||
index f3ceff5..f3e5251 100644
|
||||
--- a/commands/gentoo/network.py
|
||||
+++ b/commands/gentoo/network.py
|
||||
@@ -199,7 +199,11 @@ def _confd_net_file(interfaces):
|
||||
lines.extend([ " {0}/{1} via {2}".format(route['network'],
|
||||
commands.network.NETMASK_TO_PREFIXLEN[route['netmask']],
|
||||
route['gateway']
|
||||
- ) for route in interface['routes'] ])
|
||||
+ ) for route in interface['routes'] if not
|
||||
+ route['network'] == '0.0.0.0' and not
|
||||
+ route['netmask'] == '0.0.0.0' and
|
||||
+ 'gateway4' in interface and not
|
||||
+ route['gateway'] == interface['gateway4']])
|
||||
if 'gateway4' in interface and interface['gateway4']:
|
||||
lines.append(" default via {0}".format(interface['gateway4']))
|
||||
if 'gateway6' in interface and interface['gateway6']:
|
||||
@@ -247,7 +251,11 @@ def _confd_net_file_legacy(interfaces):
|
||||
lines.append("routes_{0}=(".format(name))
|
||||
lines.extend([ " \"{0} netmask {1} gw {2}\"".format(
|
||||
route['network'], route['netmask'], route['gateway']
|
||||
- ) for route in interface['routes'] ])
|
||||
+ ) for route in interface['routes'] if not
|
||||
+ route['network'] == '0.0.0.0' and not
|
||||
+ route['netmask'] == '0.0.0.0' and
|
||||
+ 'gateway4' in interface and not
|
||||
+ route['gateway'] == interface['gateway4'] ])
|
||||
if 'gateway4' in interface and interface['gateway4']:
|
||||
lines.append(" \"default via {0}\"".format(interface['gateway4']))
|
||||
if 'gateway6' in interface and interface['gateway6']:
|
||||
diff --git a/commands/redhat/network.py b/commands/redhat/network.py
|
||||
index a85ed6b..e853fbd 100644
|
||||
--- a/commands/redhat/network.py
|
||||
+++ b/commands/redhat/network.py
|
||||
@@ -202,6 +202,11 @@ def _get_file_data(ifname_prefix, interface):
|
||||
|
||||
route_data = ''
|
||||
for i, route in enumerate(interface['routes']):
|
||||
+ if route['network'] == '0.0.0.0' and \
|
||||
+ route['netmask'] == '0.0.0.0' and \
|
||||
+ 'gateway4' in interface and \
|
||||
+ route['gateway'] == interface['gateway4']:
|
||||
+ continue
|
||||
route_data += "ADDRESS%d=%s\n" % (i, route['network'])
|
||||
route_data += "NETMASK%d=%s\n" % (i, route['netmask'])
|
||||
route_data += "GATEWAY%d=%s\n" % (i, route['gateway'])
|
||||
diff --git a/commands/suse/network.py b/commands/suse/network.py
|
||||
index 2947974..baad7b2 100644
|
||||
--- a/commands/suse/network.py
|
||||
+++ b/commands/suse/network.py
|
||||
@@ -191,6 +191,10 @@ def _get_file_data(ifname, interface):
|
||||
|
||||
route_data = ''
|
||||
for route in interface['routes']:
|
||||
+ if route['network'] == '0.0.0.0' and \
|
||||
+ route['netmask'] == '0.0.0.0' and \
|
||||
+ route['gateway'] == gateway4:
|
||||
+ continue
|
||||
network = route['network']
|
||||
netmask = route['netmask']
|
||||
gateway = route['gateway']
|
||||
diff --git a/lib/agentlib.c b/lib/agentlib.c
|
||||
index ccba6e3..cced430 100644
|
||||
--- a/lib/agentlib.c
|
||||
+++ b/lib/agentlib.c
|
||||
@@ -73,7 +73,10 @@ static PyObject *_agentlib_get_interfaces(PyObject *self, PyObject *args)
|
||||
goto next;
|
||||
|
||||
#if defined(__linux__)
|
||||
- if (ifa->ifa_addr->sa_family != PF_PACKET)
|
||||
+ if (ifa->ifa_addr == NULL)
|
||||
+ goto next;
|
||||
+
|
||||
+ if (ifa->ifa_addr->sa_family != PF_PACKET)
|
||||
goto next;
|
||||
|
||||
struct sockaddr_ll *sll = (struct sockaddr_ll *)ifa->ifa_addr;
|
||||
diff --git a/plugins/xscomm.py b/plugins/xscomm.py
|
||||
index e3faa2e..9b8a33b 100644
|
||||
--- a/plugins/xscomm.py
|
||||
+++ b/plugins/xscomm.py
|
||||
@@ -41,7 +41,11 @@ class XSComm(object):
|
||||
XENSTORE_RESPONSE_PATH)
|
||||
|
||||
self.xs_handle = pyxenstore.Handle()
|
||||
- self.xs_handle.mkdir(self.request_path)
|
||||
+ try:
|
||||
+ self.xs_handle.mkdir(self.request_path)
|
||||
+ except:
|
||||
+ pass
|
||||
+
|
||||
self.requests = []
|
||||
|
||||
def _check_handle(self):
|
||||
diff --git a/scripts/gentoo/nova-agent.in b/scripts/gentoo/nova-agent.in
|
||||
index a043394..7f2687e 100755
|
||||
--- a/scripts/gentoo/nova-agent.in
|
||||
+++ b/scripts/gentoo/nova-agent.in
|
||||
@@ -59,7 +59,7 @@ start() {
|
||||
/usr/bin/xenstore write data/host/system-init '{"name":"resetnetwork","value":""}'
|
||||
/usr/bin/xenstore watch -n 1 data/guest/system-init >/dev/null
|
||||
[ "$(/usr/bin/xenstore read data/guest/system-init | wc -l)" -gt "0" ] || eend 1
|
||||
- echo "UUID=\"$(/usr/bin/xenstore read name)\"" >> /etc/conf.d/nova-agent
|
||||
+ echo "UUID=\"$(/usr/bin/xenstore read name)\"" > /etc/conf.d/nova-agent
|
||||
fi
|
||||
|
||||
eend $RET
|
||||
diff --git a/scripts/installer.sh.in b/scripts/installer.sh.in
|
||||
index 8ef793d..3fbf352 100755
|
||||
--- a/scripts/installer.sh.in
|
||||
+++ b/scripts/installer.sh.in
|
||||
@@ -1,4 +1,4 @@
|
||||
-#!/bin/bash
|
||||
+#!/usr/bin/env bash
|
||||
|
||||
# vim: tabstop=4 shiftwidth=4 softtabstop=4
|
||||
#
|
||||
diff --git a/scripts/systemd/nova-agent.service.in b/scripts/systemd/nova-agent.service.in
|
||||
index 9d8a4a7..b73ebbe 100644
|
||||
--- a/scripts/systemd/nova-agent.service.in
|
||||
+++ b/scripts/systemd/nova-agent.service.in
|
||||
@@ -4,7 +4,7 @@ Description=nova-agent service
|
||||
[Service]
|
||||
Environment=LD_LIBRARY_PATH=@prefix@/share/@PACKAGE@/@PACKAGE_VERSION@/lib
|
||||
EnvironmentFile=-/etc/nova-agent.env
|
||||
-ExecStart=@sbindir@/nova-agent -n -l info @prefix@/share/@PACKAGE@/nova-agent.py
|
||||
+ExecStart=@prefix@/sbin/nova-agent -n -l info @prefix@/share/@PACKAGE@/nova-agent.py
|
||||
|
||||
|
||||
[Install]
|
||||
diff --git a/tools/nova-agent-builder.sh b/tools/nova-agent-builder.sh
|
||||
index 1823639..fcaa7c7 100755
|
||||
--- a/tools/nova-agent-builder.sh
|
||||
+++ b/tools/nova-agent-builder.sh
|
||||
@@ -1,4 +1,4 @@
|
||||
-#!/bin/bash
|
||||
+#!/usr/bin/env bash
|
||||
##### NOVA AGENT BUILDER
|
||||
##### how_to:$ sh nova-agent-builder.sh help
|
||||
##### W.I.P. works fine for most of cases,
|
||||
@@ -202,7 +202,7 @@ install_pre_requisite_freebsd(){
|
||||
export INSTALL_D=""
|
||||
uname -a
|
||||
|
||||
- pkg_add -r git autogen automake wget bash
|
||||
+ pkg_add -r git autogen automake wget bash libtool
|
||||
pkg_add -r py27-unittest2 py27-cryptkit py27-pycrypto py27-mox
|
||||
|
||||
# re-install xen-tool :: required for pyxenstore install
|
@ -1,10 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>robbat2@gentoo.org</email>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">rackerlabs/openstack-guest-agents-unix</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -1,39 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python2_7 ) # does not work with py3 yet
|
||||
|
||||
inherit autotools eutils vcs-snapshot python-single-r1
|
||||
|
||||
DESCRIPTION="Openstack Unix Guest Agent"
|
||||
HOMEPAGE="https://github.com/rackerlabs/openstack-guest-agents-unix"
|
||||
SRC_URI="https://github.com/rackerlabs/${PN}/tarball/v${PV} -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
RDEPEND="dev-util/patchelf
|
||||
dev-python/pycrypto[${PYTHON_USEDEP}]
|
||||
dev-python/pyxenstore[${PYTHON_USEDEP}]
|
||||
${PYTHON_DEPS}"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
pkg_setup() {
|
||||
python-single-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch \
|
||||
"${FILESDIR}"/patches-1.39.0-20140621.patch \
|
||||
"${FILESDIR}"/openstack-guest-agents-unix-1.39.0-python2.patch
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
doinitd scripts/gentoo/nova-agent
|
||||
}
|
@ -1,44 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python2_7 ) # does not work with py3 yet
|
||||
|
||||
inherit autotools eutils vcs-snapshot python-single-r1
|
||||
|
||||
DESCRIPTION="Openstack Unix Guest Agent"
|
||||
HOMEPAGE="https://github.com/rackerlabs/openstack-guest-agents-unix"
|
||||
SRC_URI="https://github.com/rackerlabs/${PN}/tarball/v${PV} -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
RDEPEND="dev-util/patchelf
|
||||
dev-python/pycrypto[${PYTHON_USEDEP}]
|
||||
dev-python/pyxenstore[${PYTHON_USEDEP}]
|
||||
${PYTHON_DEPS}"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
pkg_setup() {
|
||||
python-single-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch \
|
||||
"${FILESDIR}"/patches-1.39.0-20140621.patch \
|
||||
"${FILESDIR}"/openstack-guest-agents-unix-1.39.0-python2.patch
|
||||
# Ignore the deps of install-exec-local
|
||||
sed -i -e '/^install-exec-local:/s,:.*,:,g' Makefile.am
|
||||
# bashism fix
|
||||
sed -r -i -e '/^export ([A-Z_]+)/{ s,^export ,,g; s,^([A-Z0-9_]+)(.*),\1\2; export \1,g; }' scripts/gentoo/nova-agent.in
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
doinitd scripts/gentoo/nova-agent
|
||||
}
|
@ -1,31 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit autotools eutils vcs-snapshot
|
||||
|
||||
DESCRIPTION="Openstack Unix Guest Agent"
|
||||
HOMEPAGE="https://github.com/rackerlabs/openstack-guest-agents-unix"
|
||||
SRC_URI="https://github.com/rackerlabs/${PN}/tarball/v${PV} -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="
|
||||
dev-util/patchelf
|
||||
dev-python/pycrypto
|
||||
dev-python/pyxenstore
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
doinitd scripts/gentoo/nova-agent
|
||||
}
|
@ -1,65 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit autotools eutils python-single-r1 vcs-snapshot
|
||||
|
||||
DESCRIPTION="Openstack Unix Guest Agent"
|
||||
HOMEPAGE="https://github.com/rackerlabs/openstack-guest-agents-unix"
|
||||
SRC_URI="https://github.com/rackerlabs/${PN}/tarball/${PV} -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="test"
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
CDEPEND="
|
||||
dev-python/pycrypto[${PYTHON_USEDEP}]
|
||||
dev-python/pyxenstore[${PYTHON_USEDEP}]
|
||||
dev-util/patchelf
|
||||
${PYTHON_DEPS}
|
||||
"
|
||||
DEPEND="
|
||||
${CDEPEND}
|
||||
test? (
|
||||
dev-python/mox[${PYTHON_USEDEP}]
|
||||
dev-python/unittest2[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
RDEPEND="${CDEPEND}"
|
||||
|
||||
pkg_setup() {
|
||||
python-single-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch \
|
||||
"${FILESDIR}"/4453b4773688eef6c60736d9cf07100716308a5e.patch \
|
||||
"${FILESDIR}"/0513f013625b6a652d7dcb663eb396b9b5bb924e.patch
|
||||
|
||||
# Note: https://github.com/rackerlabs/openstack-guest-agents-unix/issues/52
|
||||
ebegin 'patching tests/test_injectfile.py'
|
||||
sed \
|
||||
-e '97,127 d' \
|
||||
-i tests/test_injectfile.py
|
||||
STATUS=$?
|
||||
eend ${STATUS}
|
||||
[[ ${STATUS} -gt 0 ]] && die
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
|
||||
doinitd scripts/gentoo/nova-agent
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "If you would like to utilize openstack-guest-agents-unix, add 'nova-agent' to"
|
||||
elog "your 'default' runlevel:"
|
||||
elog " rc-update add nova-agent default"
|
||||
}
|
@ -1,73 +0,0 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit eutils autotools linux-info python-single-r1
|
||||
|
||||
COMMIT="c9a4f15b8c8f2349601d3073cc95e30d3b91af13"
|
||||
|
||||
DESCRIPTION="Unix Guest Agent for OpenStack"
|
||||
HOMEPAGE="https://wiki.openstack.org/wiki/GuestAgent"
|
||||
SRC_URI="https://github.com/rackerlabs/${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test"
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
RESTRICT="mirror strip"
|
||||
|
||||
DEPEND="
|
||||
app-emulation/xe-guest-utilities[-xenstore]
|
||||
dev-util/patchelf
|
||||
dev-python/pycrypto[${PYTHON_USEDEP}]
|
||||
test? ( dev-python/mox[${PYTHON_USEDEP}] )
|
||||
test? ( dev-python/unittest2[${PYTHON_USEDEP}] )
|
||||
${PYTHON_DEPS}
|
||||
"
|
||||
RDEPEND="
|
||||
app-emulation/xe-guest-utilities
|
||||
dev-python/pyxenstore[${PYTHON_USEDEP}]
|
||||
dev-python/pycrypto[${PYTHON_USEDEP}]
|
||||
${PYTHON_DEPS}
|
||||
"
|
||||
S=${WORKDIR}/${PN}-${COMMIT}
|
||||
|
||||
# Required for Emergency Console
|
||||
CONFIG_CHECK="~KEYBOARD_ATKBD"
|
||||
|
||||
pkg_setup()
|
||||
{
|
||||
python-single-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare()
|
||||
{
|
||||
# Note: https://github.com/rackerlabs/openstack-guest-agents-unix/issues/52
|
||||
ebegin 'patching tests/test_injectfile.py'
|
||||
sed -e '97,127 d' -i tests/test_injectfile.py
|
||||
STATUS=$?
|
||||
eend ${STATUS}
|
||||
[[ ${STATUS} -gt 0 ]] && die
|
||||
|
||||
eapply_user
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_install()
|
||||
{
|
||||
emake DESTDIR="${D}" install || die
|
||||
doinitd scripts/gentoo/nova-agent
|
||||
}
|
||||
|
||||
pkg_postinst()
|
||||
{
|
||||
if [ "$(rc-config list default | grep nova-agent)" = "" ] ; then
|
||||
elog "To start nova-agent automatically by default"
|
||||
elog "you should add it to the default runlevel :"
|
||||
elog "\`rc-update add nova-agent default\`"
|
||||
elog
|
||||
fi
|
||||
}
|
Binary file not shown.
Binary file not shown.
@ -1,10 +1,8 @@
|
||||
AUX blackbox_exporter.confd 110 BLAKE2B c3cb7ed7d314ea8b347b4db9839e7c987c91c78378a6085473d687a5f3460f06ca6825567fbe832c3114906156290d00d505e15e3c2461eb844acb4e56937af0 SHA512 aa8720c03c4bf21ad5f789a4e9c6df6059fb71413cfdc605f8868bcd54eab899aa527afa9d847c7780042a8d4d72468145a97f8d732ef6aad861dcbf96bdf2ed
|
||||
AUX blackbox_exporter.initd 615 BLAKE2B fce98f2c0740db2309d0395cf1e7e3f8b3b305c688cbafbf14a1787d952d49933ddebee1a688b844a66c95d02c38c38e943ff73e4dce68a1069c69c91540cc47 SHA512 f5ecc87e592fe85e4cfed759f06a1d88a4bbd05a474cb7955aae296ee29ae2ddf875a427bfcc7ff8369367eb8892c85bcc5051d273f8c2693395c8851b5f8669
|
||||
AUX blackbox_exporter.logrotated 107 BLAKE2B 255c64f5f0cee8b0b7a3bf2b3a55725f87f3f8067f840a94e9c70819820d1d42b3c2a7727323edf00d32797aab45060d0033fb5d5762263d502e4f0f1ad3d492 SHA512 2bb4782f925f9f416addf9f0a20ada0f0b61d964667eb8114b5fbdc758f69c07c91bf8e6fd18758d3ec21a7e41c931bd9bf42d16d3dfc45e2718126ffb0f21a6
|
||||
DIST blackbox_exporter-0.14.0.tar.gz 670297 BLAKE2B e55186723b7877296a62840c842acb87c95f4e060b059c6a5861a6eb6a8bb8ad14c6082f466427ddf048c49fca8df79668c64b77b1dcf64b1239ed5b62c829e3 SHA512 58f379cdeef671376105532450ffb3a6fef0ea071d493fbef40d761c6cbaec47bb49c9c2e5c070f3d0e598396d7ad9b2c5af100c9a69aee04877442c7bdaf120
|
||||
DIST blackbox_exporter-0.15.0.tar.gz 2157865 BLAKE2B dee707d8cf568da01e7981a9c2879fb209fac6d640d2cc1905231d56c9e6f8007da8eec09ff89cba82e40ac159529b1a9144aa0b50094a8b798102b19502404b SHA512 dff23d51292ed7b56f403d9a70c02a4d4e1f2a43f0bd6763598b310c07c7564d39fbed29c7b2b03b1848d33c3779b4922396212a3c9252c8149fdd9208d8a3b7
|
||||
DIST blackbox_exporter-0.15.1.tar.gz 2120525 BLAKE2B c21a621dce663ccbc184c87b66e894ddc6a94bee9bbd2b9fb432a4d349afb35410f07ad150e946c5f8eb9ec8e6e7f2e6d4cbcafe118e8b2efe34902fbd0bf38a SHA512 2c7d0989bc70982a0fd528c7c6ed5ec6686f5e93db0a90db2b06e4e578503443da0750aaa2d6a01ae4fcd4c722eef522c0e06b019aa59a2eb837f233e317d4e2
|
||||
EBUILD blackbox_exporter-0.14.0.ebuild 1545 BLAKE2B bc9cf8d12e453d7d5b0408d81d993c1234c5e845333c71b3e28739ba56c0b2eb1be4470e32f504a1efba688d787653cd5ffd3d5f0b7e56bdd44bbf83b12d5be7 SHA512 19e18e033b4c5ef96da1e7b8ff541633b7e631b7623f0ad213d08f7982be7288d100a2d7ee70b48277cd7e50dce3746a8907a98ac1a4b0c00935724cc6267a2a
|
||||
EBUILD blackbox_exporter-0.15.0.ebuild 1545 BLAKE2B 0e3d230602b5f6d2f6c644457b4f66cbcb753d2c6bed90d39ad741ff9fae76cb686621c4ca5ad9f047607ec5faa3839bd23b8ec3950501f7f122b42c63c3b048 SHA512 8abd474ab3291b6c4fe372ded1470d016ad7d3514939144b431254fa912d41805fa5e340e62b8f977961da1e4d592ccd831dae3effa8135eb16b572ad315fb1c
|
||||
DIST blackbox_exporter-0.16.0.tar.gz 2121367 BLAKE2B 92c55dbc3f47d7a2d8c37ad116857dd1d7314a6684d9f228039b09cc086edf72bdf5e0c2cc770ce45d687c45a38f6de72e612c0491ec66f836bed28b75b2e5a9 SHA512 85103b62e345ab5d59626e658047ac75649f9ef991c9bbaff32b95ea75ec2da2bf916573e664520766158805c6cf24163f2850c885a594d32b4f9c4c9dbed1a8
|
||||
EBUILD blackbox_exporter-0.15.1.ebuild 1545 BLAKE2B 0c160478d2705c500433e697c63b26b6bcd4057b4807c6b9852d40eaffbee20709dbd18aae02eefc916194d242c3c5f07fde6c79fc9a9e2e383d1f6d94acb992 SHA512 c50e5ab5cc210fa510ba6df00123a0fac68695e837ea1992af6dbd267ea9ffebd2748a47edc29c3965f75326c1bff016140741f875871822cf7a7499d038b380
|
||||
EBUILD blackbox_exporter-0.16.0.ebuild 1545 BLAKE2B 4a528eeaae4b02839087a45647b20b150bbb3d9f8b7fc176369fa0822b41b4f8482fe49da9d449f1aa64340e1381730960a5266d727535357ecebf3b7cde55a2 SHA512 1a7eac4818f17feb99034e765c2285565d660c136c893a122e99e63dd3faaeb670729498c7b47f6b4c9a966286e358a0973b795a0faa2128d9f294e03cfd34be
|
||||
MISC metadata.xml 338 BLAKE2B 117f205ecdd4c05aba1ce92846f59dc7790c9fdae79db5cc1eb912d34a9e1d83eaaea26feb24245a0c5fc4394552705aa7b23171920d9023ca8e4333b3c09650 SHA512 e431b2ef89e797b9cbb290a70683a4392f07559851550dd22f5410f09c979730c8dd35c095f855565df8d72adb42c6e4b9d03882adf37240b0da28cc508ee2ad
|
||||
|
@ -1,57 +0,0 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
inherit fcaps user golang-build golang-vcs-snapshot
|
||||
|
||||
EGO_PN="github.com/prometheus/blackbox_exporter"
|
||||
EGIT_COMMIT="v${PV/_rc/-rc.}"
|
||||
BLACKBOX_EXPORTER_COMMIT="bba7ef7"
|
||||
ARCHIVE_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
DESCRIPTION="Prometheus exporter for blackbox probing via HTTP, HTTPS, DNS, TCP and ICMP"
|
||||
HOMEPAGE="https://github.com/prometheus/blackbox_exporter"
|
||||
SRC_URI="${ARCHIVE_URI}"
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=">=dev-lang/go-1.11
|
||||
dev-util/promu"
|
||||
|
||||
FILECAPS=(
|
||||
cap_net_raw usr/bin/blackbox_exporter
|
||||
)
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup ${PN}
|
||||
enewuser ${PN} -1 -1 -1 ${PN}
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
sed -i -e "s/{{.Revision}}/${BLACKBOX_EXPORTER_COMMIT}/" src/${EGO_PN}/.promu.yml || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
pushd src/${EGO_PN} || die
|
||||
mkdir -p bin || die
|
||||
GO111MODULE=on GOPATH="${S}" promu build -v --prefix blackbox_exporter || die
|
||||
popd || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
pushd src/${EGO_PN} || die
|
||||
dobin blackbox_exporter/blackbox_exporter
|
||||
dodoc {README,CONFIGURATION}.md blackbox.yml
|
||||
insinto /etc/blackbox_exporter
|
||||
newins example.yml blackbox.yml.example
|
||||
popd || die
|
||||
keepdir /var/lib/blackbox_exporter /var/log/blackbox_exporter
|
||||
fowners ${PN}:${PN} /var/lib/blackbox_exporter /var/log/blackbox_exporter
|
||||
newinitd "${FILESDIR}"/${PN}.initd ${PN}
|
||||
newconfd "${FILESDIR}"/${PN}.confd ${PN}
|
||||
insinto /etc/logrotate.d
|
||||
newins "${FILESDIR}/${PN}.logrotated" "${PN}"
|
||||
}
|
Binary file not shown.
@ -1,4 +1,4 @@
|
||||
DIST ranger-1.9.2.tar.gz 265295 BLAKE2B 93e4d8ff1ad41c9bdf94af4a3ed9ab013048d1a601242553592b0e246f000b3a0226644b126ae7ec1c70562ff80b3f6c6711ee0e53dc1b7363c9ddf8f5fa75cc SHA512 5eb4743beaf0478d745cce8e5bfc2ac07c98ab5784e9394772782d06c0bb27dcd5478ead191ac527f21cce76db09a51eb46db0fabc7993684a6b5aaec0d43104
|
||||
EBUILD ranger-1.9.2.ebuild 947 BLAKE2B 6d50ab935f2eaf291b92e2c8dce55b414cb2a16c20450a624291a2585a1a827712df984a04d7a369c10b121b7194769496760ac8c55c22c23740ece49af7dc2c SHA512 e6bced5e85e26f8adf124a4509d0333b8ec564b6904bbfb28d83792acbd391de4aaf829ccd72fed146375bcd720b7a51480cbda325e66bb632527ab28e0e0485
|
||||
EBUILD ranger-9999.ebuild 949 BLAKE2B c9062956afd9663a46f81d765ebf363a58a2485f618d79de0653a65063021dfa862e02cd220c9449c9d009f60e3435029ad581fa2488038eb5476ed5bf78f0da SHA512 b4fbb296526a3cee1285c9ab51966fb9c9566e6fd23d519381112ece7a3512b71a0d6dcd82f03a36e90c0a55fbf23e08a6ac54c56027ffdfb120d2cd5ca8e17f
|
||||
MISC metadata.xml 615 BLAKE2B 2573b7a4604ca13c41688fc9b3dc6bfecba129115da6f705b08e45951913ddf2bcbd1f40e0e0ccdc44a980618badb842fa5b92ba2b134a622b3d5698a0768591 SHA512 514925ff38061c6362ab23758d83ec1a18ed7862c997ac46c05c567502859ef61b8640f21784d8496d191e13244ccb0bdad12dc576f25c33291325e022ccbcb2
|
||||
MISC metadata.xml 695 BLAKE2B df6caf08621cfa17c9ec7b75c331b329d3bc5b287418faf045c0b721143d802c43f87dba66695dd4352220e939c194efdaddd16f8c6499cbdfae58eb5f11d536 SHA512 01aa726ba045468046c2f4c7d0eb290f82da0c2548fd795e6c7d23ea33a00520deabb62ac677c215c58ccb5d156d007a366515ae8940bd09b3532ca94bbaed26
|
||||
|
Binary file not shown.
@ -1,5 +1,5 @@
|
||||
DIST libusbmuxd-1.0.10.tar.bz2 292649 BLAKE2B 7ec9a576cb20f7e87cf1f31e57e66100c496e5809142d225df9b3cc295a71546bed2d90f41df3144f7316ce0aec5f08fad850c528e27f336bf96e9578bcffd04 SHA512 180cde2e9d0860d07d29813e68abf8ca807f75e98424b50acfc1ce941ba4260922959e1047a7d2bc754470c08ed55d0a15c9367487bd41c635a52b4fbf8ff535
|
||||
DIST libusbmuxd-1.0.9.tar.bz2 265940 BLAKE2B fbdb5ac441a3bcda41b752737f6a5fa9975948d67abf5b1edd9b3e3f749ea65486892af3c679cfcfa5f8d9052f8d35c6a5b0a3a95d07c65385ca28ff7a2b8633 SHA512 f50ee580ac9b4c5e55ab596aabb0bdc09f710cc58edba98699499998c44f2b2cf064792390f235b2221af494ce3233acda699652066b9297cc3cb4e9f8a1cfa4
|
||||
EBUILD libusbmuxd-1.0.10-r1.ebuild 940 BLAKE2B 989b29bfb4f6ed829bda9662669755786358f541a1ebda3da0050d61a05fc276192407aacf1c9d09afa61b08d18c2e3dcb41cd8b6e308a77abfbc202c1ca713a SHA512 df70f0ac08eae7d7b01448d701e4548bdb64cccffe60e15eb53491e4848f630d9a321a18689a5c10558b3980f6fb8353230d0797c5d730f3641dd9687dfcbbee
|
||||
EBUILD libusbmuxd-1.0.10-r1.ebuild 938 BLAKE2B ab7d7272ca428b4c70f94ba0cde813d37e8cfc4abf89f537fb293dddee4401b20c8d811a5b82e79e252fec0de13c80b3e5ea9cdc7934a6a9f2150f431f32f300 SHA512 29a8c20cc2ce75d660587b3795e28cde17fb97f1f7b7401f9cd88617897615f0a637dfc8c8603d5600ab25b42436001790009474ef976d36837ef9f62d9256c4
|
||||
EBUILD libusbmuxd-1.0.9.ebuild 890 BLAKE2B 3d70e7e00f9105e29a40fb35d884fb52e2f8076e1af1180c4f7439d427ec664be3b20b2c20cbdfab20b24457ab34dcbee1bc9867ee463d9d855609c863603a83 SHA512 023fbbf726b9726455564f9cfbcf63dd619dbd724ed77a0a8bb5ad6b2a960de3650305b2e4d4d8f3bd33ee587f81c2b91c55a01a0636163f52e405269141dba6
|
||||
MISC metadata.xml 166 BLAKE2B c254f1fb642881aba57637be14fb0a89b10384f91a128feaec3a8c870d76efc2cbacb92caccc0dee2dd19a5ac5eaf8643080dafa05c4e2ac96a68568927e5afd SHA512 a56648c974a1d14dd4c18237532773c72057a13ab90c58b5da04f185e3c12a8bd8d5c21fb06053507f31766291a82dc7d87b34cd65fd94cfe2af7295c813ef84
|
||||
|
@ -1,5 +1,5 @@
|
||||
DIST usbmuxd-1.0.8_p20140530.tar.xz 46988 BLAKE2B 8efedee3231b134995316fc295fffd975271aa9d630aa6e3d96ccda472634422299aadb92acda09b6802cdcf9e99af0c165dcbed153d0a5027ffcc8f26126cdc SHA512 200c9bd208ef9e8d5e0a9b2779ff260efe6319333ce27c93a0686ba924e6cfaa1a003072c3eabbe46d495a66bc47c3cd6e82482653fde5e1a7ae0edd9b838fac
|
||||
DIST usbmuxd-1.1.0.tar.bz2 321897 BLAKE2B 3ca5d1da222e457ac01f3e87fb7573c6405e51fd5d270a2b3dab7601118f21be22232d5100b4d027273fc837e6a57f7a7d17d2c41ae59d7c5aa41f76bef5a03d SHA512 66aa0c40e912bf596b819098b87d88e9cf30b2e6352e607eeb778bd4f23bf9bb123fb6a6ecca2d4e4be3171e35d66200d632d2c9c80b1f2462bb45be8aa6912d
|
||||
EBUILD usbmuxd-1.0.8_p20140530.ebuild 869 BLAKE2B c4f285dfdb12994d9bcf488b91215b1e5f4245d9b269d3cb1164710fc8a344a2d66a24a3fdcdeb1842bbb8b64a9c47ef3f20e15548367d711fdbe9c4b0d16131 SHA512 fd1b326c16e0c74f4a2f6b3857606ffb6b7e14c40e5682c01fab1655c3df27dffd4b4ea6b15d5c3a5e5ae64f914b135ac562b6d792d6699dddbb183dae5b226e
|
||||
EBUILD usbmuxd-1.1.0.ebuild 814 BLAKE2B 42fa9330b23981debe71922ff9fd45313e0e12bfea421e93ff445feeebc7c271907654ee9c707028f4da927e74a314c3d3ae0c2912699ad0c1517cb576f0bebf SHA512 5172037fd57d9995581c3e896c8a6593a33bb18b9f548255d0193cb913ae656cf48c04ff83af5b816bfc40e65beeeae68bbc8335001496c21cd082e53f5d250a
|
||||
EBUILD usbmuxd-1.1.0.ebuild 812 BLAKE2B 8372243e9047c7af5cfb1fabf5c94a7ddbe2f01f83909bed7954535e81c249fccbc76d2915ac546120a05bd8ac93b1c87aedf4dd1c4a1f919085782abc5091b9 SHA512 24bc2804424ab3ec022731966351f48f963fb0e9ff0f93b95f3aa64bb0c46e7039063857b9b59da04c91fc24a4bcaf79ef592294c0b305679836e724445fa1e0
|
||||
MISC metadata.xml 166 BLAKE2B c254f1fb642881aba57637be14fb0a89b10384f91a128feaec3a8c870d76efc2cbacb92caccc0dee2dd19a5ac5eaf8643080dafa05c4e2ac96a68568927e5afd SHA512 a56648c974a1d14dd4c18237532773c72057a13ab90c58b5da04f185e3c12a8bd8d5c21fb06053507f31766291a82dc7d87b34cd65fd94cfe2af7295c813ef84
|
||||
|
Binary file not shown.
Binary file not shown.
@ -1,6 +1,4 @@
|
||||
AUX cedilla-gentoo-r1.patch 645 BLAKE2B cedc4626df03c6706c5fee463cd2b662f1b5e297050cb3e67e585609319daa013d499f37fd6cff1ce2a10fcb21626e6b5178dc5545a02eef0778c404cd00f9fb SHA512 4a9d4c4f28509e2b527568a28a69dbcce0c4e7a8d6ae9a967dfb33ff639f12a5dae16a885b0f51686d3d444c9f651cf904bb5c93326308fc37e13d4ec8bb4162
|
||||
DIST cedilla-0.6.tar.gz 130676 BLAKE2B e316dff5ab9bb89dd350e9842847ed700846cfd57370be17198aa3c54f0562a4c26d23a49acccf8c7dc0b55f1765668dbfa24dbf57f50e568ac3039f7b5d662c SHA512 95d98fd4ab95b48023f635d61133ea1a8138a797cd1c414da0d4907531eb067ac147e8d612a528373da425d37fee7c1139dc7f0019308938c096e37caebf4e38
|
||||
DIST cedilla-0.7.tar.gz 114899 BLAKE2B 100c22be30ffed585a1eb44c96109dadab9cbf90c5c3432efd4ed8daa135fa0d9fb82374eda9f9f13126cc5d453ecb5933d8733a58e374ab3192ea7d5bd6d273 SHA512 a137bceee2c70e911922b17e823093dc37b19cce8dece99596003ae7b4bc8c02afbae164d7dfa4e4873b4f549f7d948faf1da9dc1d3ef89cde6d1f36ba91be77
|
||||
EBUILD cedilla-0.6.ebuild 697 BLAKE2B c1f1bcb2967e8c6068d3b6906dee9ca5279360689e4aa80836d72aeca426db5d94631ee8f541acd3b71c89084965e87919b9e2a64a7ed837ddcb93c25e9c2e04 SHA512 61c7d132115f2e255de5b1aad34397541f89fdaa1ebd24dab36e7b2d71bac7e592884a78d36bc3addd8108133091455bd0025c28c672787f0a995b0bba919fae
|
||||
EBUILD cedilla-0.7.ebuild 650 BLAKE2B 08f9e04b5e6af5b613ae2a453625e834fced4d992de76628c64c1f3fdc1a3683772f7a4175548f58a88a7e93e15ac41c5c56beee1dd5aea8e2909154914a06f2 SHA512 05986992abf0d662a276186be9acea1f0fcace73864d77972cdb89433c93210b4798ef7f4c949d712fc5db26027eaa8751937fd0cf27dbfbf7f9dd2a9a9371f0
|
||||
EBUILD cedilla-0.7.ebuild 649 BLAKE2B 6491e1c55d4f35f6dd6215491660cd55d0ef22c5033eda5297ce64df10292674d1b318a9a706247f33a73050451d6f214e523b896da480d0adaa94b8ca68b55e SHA512 a166c90c1c9d95b8b2617e79328b19e39a7786833c089cb84b98ca4f7b220f2a6307ab41df9c551336273c5382567693f1fe8da3eae0da40a40e727855af7be1
|
||||
MISC metadata.xml 253 BLAKE2B 34807135fdbc8396660d3fa85339e80c0c14693b937e360de963062b40d1a4306d86c3f6fbe60c45146632f934695d26c06083a2977031c36bdee17f57140f72 SHA512 06255a02d9a177532c33fb7a9271f8f538cef82354feb7689c839e2eb1516d53fd0e78aca22fee2f9a19dbf1e3f7ad96dea23c8d97efdac952e4b754314664d9
|
||||
|
@ -1,33 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit eutils
|
||||
|
||||
DESCRIPTION="UTF-8 to postscript converter"
|
||||
HOMEPAGE="http://www.pps.jussieu.fr/~jch/software/cedilla/"
|
||||
SRC_URI="http://www.pps.jussieu.fr/~jch/software/files/${P}.tar.gz"
|
||||
|
||||
KEYWORDS="amd64 x86"
|
||||
SLOT="0"
|
||||
LICENSE="GPL-2"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="dev-lisp/clisp"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/cedilla-gentoo-r1.patch
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
./compile-cedilla || die "Compile failed."
|
||||
}
|
||||
|
||||
src_install() {
|
||||
sed -i "s#${ED%/}##g" cedilla || die "sed failed"
|
||||
newman cedilla.man cedilla.1
|
||||
./install-cedilla || die "Install failed."
|
||||
dodoc NEWS README
|
||||
}
|
@ -1,11 +1,5 @@
|
||||
DIST qpdf-8.2.1.tar.gz 8256216 BLAKE2B 67e9b897ed938b9dd2e8508efaddd4dd6f63568aa23332ef72918a0888cc1e1b8fe844f0c1424b8ab568ee5ce42f8efd04293cd525e9d8de0c5fe7b352f49367 SHA512 ef3aeb4a7ca3ec48ab62341533eedcb2a6d0985767317ab72c22f0c0ecfef6849bfdc34b1bcec6427c7bde166143adb409c895ff40d8be6628e6323e27697a8c
|
||||
DIST qpdf-8.4.1.tar.gz 16990752 BLAKE2B 6e7ccd212cf8d01aea3dc615f5924c0575392f19cdd20b35327a71bd1f97d7e515fe1a73cd2e3901964f621cafa19ab07a1314af19f40ded28d3e9f683c02ab0 SHA512 d5ac3376345650f05278f8b4d99182cd58b927537085a4a6415d3df0b80b7ddd80a7c33778ec8c3b85d9788ea081ea3266bd4a9315eda9820988e9e54a22f80d
|
||||
DIST qpdf-8.4.2.tar.gz 16988263 BLAKE2B 358836310575fd0f454d4504a70796b72d2e3120c5820e2c33e84ea79c5c115d1c84f8d58392d870b5357407d0fbed05028bd854d164be0b32b348c587845300 SHA512 9cde046fb5e42dc331933294155583fb20408704a0cab3075cc3e97bd4643e3178e4162b8de7434aa2304097e7734f985fdc8e7b05cc028c37193dce91797f7a
|
||||
DIST qpdf-9.0.1.tar.gz 18172693 BLAKE2B ddb389b773b4664c1c3da270f1804f015c8f0a04ed57df7a4a1de9ff80cd47c6fd07c29836573bd6459cde42e8fd3986855a68632495df5363d220d6062669c7 SHA512 1bca5cf39f0019443f744c01ddc93773febca6883063fcec7f3541dd68359d8da44f34cf111cacb3bd9564f10bf1b09ea58173efd3ae06116e5c3832e61e82cc
|
||||
DIST qpdf-9.0.2.tar.gz 18168977 BLAKE2B 46b397f0e6a97804c5e8dcbfc9fd2278960d5afd459430c1790bb8f9080062cf661cf186ab386721ed7560dbd4abbea43e4d31914c0636502c5c11096c250fe2 SHA512 275ca81603d53601e4389cb34eaebea1c5d52b310ef28f3375fbeee255a28edf9375f03f31649f580dbc3df73b851a2c8498feb3dd7b30067955571b05c9e69c
|
||||
EBUILD qpdf-8.2.1.ebuild 1246 BLAKE2B a5a9de3de8d4c2bbd9f36c6977626d1943eb1332f3b592d2fa0ee19107651c6601d51d5ef7987774c3a1a7d3dc1d89aeffa96bb8f70820a40ede9cb6f1bc5659 SHA512 d54a88037debb98c3e85d354a223a4f682fa1ff7d744244c7a9e9cca089141fe92aadcc6f2ef6006ae54911bccb0e107fe5d8739875483f5e26fa7c150db539f
|
||||
EBUILD qpdf-8.4.1.ebuild 1255 BLAKE2B 1b3e6004cc12bbc5e1b89d27b7100d963e9bfba4cc50c823cb356a021884196b11f5f43219e71fc74c31f946ea5da701b5fd7512ee852edab13f4268af55203f SHA512 c135d6a5af42997864e7f348f6464f6249d6a018eae0fb9352e7fa8b8c107702077f1e00daa48ff4e49af08c4d612b430ceac2063b3d8c49edd67ac618ca0e40
|
||||
EBUILD qpdf-8.4.2.ebuild 1256 BLAKE2B 8733a9c756fd75c166d6de06420795de427b19c60a5e7411dd271f7493c3a5ec493ac4813555587dd8acb429afc611937089c6f29ed3dd5699a4bc83c864f96f SHA512 8e2e971373eb77502adfa95962e5dddacb9ec781080ff5e5b72d2b43e2a9cc158885168f5dbbc191ba688b8dc20ededeaa3057682ab57d50afb80c8f2730f74e
|
||||
EBUILD qpdf-9.0.1.ebuild 1256 BLAKE2B 99fce30ce8d693780d1753027420f7264bedc78a7163f9f37f1a72b1753a18065032508281f72ef052ea3d563b7b2fcc00d80bea959d69d070e8f7d0b30d8c11 SHA512 0bba46803264bbf4e3e2e46c9c0abd5239130b5b58bfb0cd42496d0105a43ebf4638765814f331807cf983169fa54dd3160a55f2e17d42ca2556164742321b71
|
||||
EBUILD qpdf-9.0.2.ebuild 1245 BLAKE2B 6707c09f0c5abaca4301b3cc8297168e6b1261530874ed266d09894d25d74c62781f2c69afb2a3f3f3c673e73bbd8bd93d9612f4cccdcd110e9df5183149a383 SHA512 29e2f72f7d72bcea752cd92c608b6967a2aaa16eb84e335f559c0c4c59aff795bbe2ef1c1246743859000078fcffcf19254b18cc149249fbe5f5f6abec7cc1d8
|
||||
DIST qpdf-9.1.0.tar.gz 18285597 BLAKE2B ef86cd4192805761e121bcd112e071dacb4bc108335da0ba237476d9f1698e4ba630010e3266fb63d9aa5b97e0e778f76fe226613e91d351b93a53b9fc9abee7 SHA512 7561ffc366dbce9df58cc85ff18480b28b0d46de04733ba463139188bee95690f92cf0960a328619f0c9f34ce865598db490fa1c6aaa76ee87d2c034a5f7f57e
|
||||
EBUILD qpdf-9.0.2.ebuild 1273 BLAKE2B e8d72973ae6531dda7e4a6d4b477c7aa96c6f70f4f36f0106bddc1d4a7c3409f1f959762521172100a65dd0968282ba563fc44b93e4107a2bfcddf76ff697ace SHA512 9662f0ea108cf14f766afe6ba649e183a05af9c47f1413495d7fdd2d988dbcc4ab29bb0af50e1b67fbf7abb9ce6dbfcf6a0710c8f00f1f2cc9fba0cee0f000c8
|
||||
EBUILD qpdf-9.1.0.ebuild 1421 BLAKE2B fcf852c0c05df1b7699d7dbabe2d01861d41eff1cf3b14bac03fb07fd67a28923cc063dfc8e7111cb1ba20a2485a48c863f86669cf9bfd25849f13b0b66d2663 SHA512 6bd4a49cbfc8972b0bd5781ddc7cd175191156064ae512466556a26eaae36cd7f7a830442744cfe1110810216ac5a98fb20e34f7b8c202c7ebc8880c65357a63
|
||||
MISC metadata.xml 499 BLAKE2B 9f6462a9606763352f0c823f877d1a39ffa207a8354e800d64bdb4d7686de8391309e08296adf23ca6b6e5d6fc2150d72ca9b0fed36cd4574e51ae6d04e48341 SHA512 77915adba55eb2b0fa68af06fa30b84c50af0a4a26a3ee6fafa71f9c7a7a307451ab76291dfc87f90479f6a208cb29c8a6c8c7fd0d574455faa15c87f8ea8de7
|
||||
|
@ -1,57 +0,0 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
DESCRIPTION="Command-line tool for structural, content-preserving transformation of PDF files"
|
||||
HOMEPAGE="http://qpdf.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/qpdf/${P}.tar.gz"
|
||||
|
||||
LICENSE="|| ( Apache-2.0 Artistic-2 )"
|
||||
|
||||
# subslot = libqpdf soname version
|
||||
SLOT="0/21"
|
||||
|
||||
KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux ~m68k-mint ~sparc-solaris"
|
||||
IUSE="doc examples perl static-libs test"
|
||||
|
||||
CDEPEND="
|
||||
sys-libs/zlib
|
||||
virtual/jpeg:0=
|
||||
"
|
||||
DEPEND="${CDEPEND}
|
||||
test? (
|
||||
sys-apps/diffutils
|
||||
media-libs/tiff
|
||||
app-text/ghostscript-gpl[tiff]
|
||||
)
|
||||
"
|
||||
# Only need perl for the installed tools.
|
||||
RDEPEND="${CDEPEND}
|
||||
perl? ( >=dev-lang/perl-5.8 )
|
||||
"
|
||||
|
||||
DOCS=( ChangeLog README.md TODO )
|
||||
|
||||
src_configure() {
|
||||
local myeconfargs=(
|
||||
$(use_enable static-libs static)
|
||||
$(use_enable test test-compare-images)
|
||||
)
|
||||
CONFIG_SHELL=/bin/bash econf "${myeconfargs[@]}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
if ! use perl ; then
|
||||
rm "${ED}"/usr/bin/fix-qdf || die
|
||||
rm "${ED}"/usr/share/man/man1/fix-qdf.1 || die
|
||||
fi
|
||||
|
||||
if use examples ; then
|
||||
dobin examples/build/.libs/*
|
||||
fi
|
||||
|
||||
find "${D}" -name '*.la' -delete || die
|
||||
}
|
@ -1,57 +0,0 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
DESCRIPTION="Command-line tool for structural, content-preserving transformation of PDF files"
|
||||
HOMEPAGE="http://qpdf.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/qpdf/${P}.tar.gz"
|
||||
|
||||
LICENSE="|| ( Apache-2.0 Artistic-2 )"
|
||||
|
||||
# subslot = libqpdf soname version
|
||||
SLOT="0/21"
|
||||
|
||||
KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~m68k-mint ~sparc-solaris"
|
||||
IUSE="doc examples perl static-libs test"
|
||||
|
||||
CDEPEND="
|
||||
sys-libs/zlib
|
||||
virtual/jpeg:0=
|
||||
"
|
||||
DEPEND="${CDEPEND}
|
||||
test? (
|
||||
sys-apps/diffutils
|
||||
media-libs/tiff
|
||||
app-text/ghostscript-gpl[tiff]
|
||||
)
|
||||
"
|
||||
# Only need perl for the installed tools.
|
||||
RDEPEND="${CDEPEND}
|
||||
perl? ( >=dev-lang/perl-5.8 )
|
||||
"
|
||||
|
||||
DOCS=( ChangeLog README.md TODO )
|
||||
|
||||
src_configure() {
|
||||
local myeconfargs=(
|
||||
$(use_enable static-libs static)
|
||||
$(use_enable test test-compare-images)
|
||||
)
|
||||
CONFIG_SHELL=/bin/bash econf "${myeconfargs[@]}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
if ! use perl ; then
|
||||
rm "${ED}"/usr/bin/fix-qdf || die
|
||||
rm "${ED}"/usr/share/man/man1/fix-qdf.1 || die
|
||||
fi
|
||||
|
||||
if use examples ; then
|
||||
dobin examples/build/.libs/*
|
||||
fi
|
||||
|
||||
find "${ED}" -name '*.la' -delete || die
|
||||
}
|
@ -1,57 +0,0 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
DESCRIPTION="Command-line tool for structural, content-preserving transformation of PDF files"
|
||||
HOMEPAGE="http://qpdf.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/qpdf/${P}.tar.gz"
|
||||
|
||||
LICENSE="|| ( Apache-2.0 Artistic-2 )"
|
||||
|
||||
# subslot = libqpdf soname version
|
||||
SLOT="0/21"
|
||||
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~m68k-mint ~sparc-solaris"
|
||||
IUSE="doc examples perl static-libs test"
|
||||
|
||||
CDEPEND="
|
||||
sys-libs/zlib
|
||||
virtual/jpeg:0=
|
||||
"
|
||||
DEPEND="${CDEPEND}
|
||||
test? (
|
||||
sys-apps/diffutils
|
||||
media-libs/tiff
|
||||
app-text/ghostscript-gpl[tiff]
|
||||
)
|
||||
"
|
||||
# Only need perl for the installed tools.
|
||||
RDEPEND="${CDEPEND}
|
||||
perl? ( >=dev-lang/perl-5.8 )
|
||||
"
|
||||
|
||||
DOCS=( ChangeLog README.md TODO )
|
||||
|
||||
src_configure() {
|
||||
local myeconfargs=(
|
||||
$(use_enable static-libs static)
|
||||
$(use_enable test test-compare-images)
|
||||
)
|
||||
CONFIG_SHELL=/bin/bash econf "${myeconfargs[@]}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
if ! use perl ; then
|
||||
rm "${ED}"/usr/bin/fix-qdf || die
|
||||
rm "${ED}"/usr/share/man/man1/fix-qdf.1 || die
|
||||
fi
|
||||
|
||||
if use examples ; then
|
||||
dobin examples/build/.libs/*
|
||||
fi
|
||||
|
||||
find "${ED}" -name '*.la' -delete || die
|
||||
}
|
@ -1,5 +1,5 @@
|
||||
DIST txt2man-1.5.6.tar.gz 16293 BLAKE2B f62836aae1d7c1539ca896ce10a404965ba1794bbf06448693b2f138a28e74c69912cd1e693fa1e6cf9402f703decdd6b76cffd8d63276ce313d075a26cb3fb3 SHA512 dd1cb5a6385d75b459fb61c49e0b73e5cafa5af8b11d9b89e5c206a9c5b65e4daac4d0e768c28963aacde772b715cb11ed0e843e42397b2df894a1f68c70ca65
|
||||
DIST txt2man-1.6.0.tar.gz 16941 BLAKE2B 4ca7d13bb61b0b65ff47a6a6f37c5035910804cff71f0c6d848105d7ee9b8285fd6433fe019fc075a5b28769df5044a462296ad63514d44a75abc1fa552b64ba SHA512 7ec2cc0bb685d890cf06504d4faacf7a02c5a321963effb71ff63b7310f64f092e666c055c1dbdb699958a62272fe4dc0f31f3947ca6895aa425753a11b75379
|
||||
EBUILD txt2man-1.5.6.ebuild 563 BLAKE2B 0d6cfdc51527745c1ca52eb32d144a222e743f298557d25e2926009a9e05c884f3734b9a5a32b1d1d43c2f9eef184fcda4a875c5f2c2cf51b55b2ba8cf02b419 SHA512 c8336a6c3b8843ce7f56c3ca0b434ca754c79c0a86b401493b0635bc664dd51456078a426e45f5de542064b8c7a58faa1c1020694dce4351ca2020b09ec26837
|
||||
EBUILD txt2man-1.6.0.ebuild 614 BLAKE2B 49ac4bdfcfb315994a1d444a259175504252f98bd80c8892051916fd5c399cc1ad3469e13b906f04bc3519169d85978c27e0dd56207cdc8fc5fea064ba60a80d SHA512 041b29e057077b59a788a6fb770eff8f2a7d0d2baf373191c068e78722de57cbc0742c6a7cc07cd40cdeabc5714cf8c4debf0924bbb7058fa40cbe5c789406dd
|
||||
EBUILD txt2man-1.6.0.ebuild 612 BLAKE2B 1f2a4eb4ed14cefe8e43825c0c46067690161f533ad2bea9c33f4009edef527faef6f625e207016f9ef80e036d8af591a989674ab0e73833663138a2f3485842 SHA512 f71bf58e66802f14b91086478b1225f807408e3e2c970dbef16b870ebcdbd0f55925cdc2427ae243e7b95a17f047db15b188ac8ac8ffd91ed6c489d78fdede0d
|
||||
MISC metadata.xml 308 BLAKE2B ed6f6f83ed571ef3966c646eb0b58cb8e711f9ddce51fe8e97e0a961c5d2c88fbce7199308f5460005a393ae8b1854037e152d81290e97aba71465d96cc67159 SHA512 bf9580b121de871786c26826a398b5e0c5108b61da60fbbd797a6ff58360f7c983541574bddcf4ee8809ea0ca603a4bb1ace88e725484227fe810a44608ed51b
|
||||
|
Binary file not shown.
@ -1,9 +1,3 @@
|
||||
DIST pgadmin4-4.10.tar.gz 22809776 BLAKE2B 70a9857de31721b1cd5816b9e15abf325516f94ad5248f3ce5387cca5081ba96d7fca6c487265960ffac8d63c2fd09c3dea44d24a1cc9f8dbb170bd76d5de545 SHA512 b7f91d85fdc39766a294d9b66e8539f709b99f971726551d013345595161ff017e03505f05a41352575892be9d9622e86f4ccdbac76bcea435e2fb88a690b565
|
||||
DIST pgadmin4-4.13.tar.gz 25077107 BLAKE2B afbf0b6fba2f4cbbc1f47ac6c7867b7f131e5698de265a9dda53b79968f237ac591c5ff4da94dde0b74479cac1158ec825f42b14fc01aee13982043822c04443 SHA512 7eca41047e41f7bdce2dfe992260e8c2ab40f985dd232eb240ea9c0024f551f011653717aa0d5e4ccdccd4ef4936102cde1f97a32852d8382dcc222fadce7707
|
||||
DIST pgadmin4-4.5.tar.gz 22420769 BLAKE2B ae16e34c4cfce0ae78f06321ea1fc34aac0e081df4c0d5906fc4da0c82abb67e374477b8f9a9266d003579eb8887541e4224465ce6eccd86589129e1b3efff24 SHA512 835434612ac2a7ff89fab4c4bed89644e43506491ce12d2b74ffdbc25b33f2ac9ae566c95e886d4b4f8bca6499c40be5f0d776b18bfdcebd44d7ffe3b89deb5f
|
||||
DIST pgadmin4-4.8.tar.gz 22780924 BLAKE2B 7b64ef8ac3782e9c8207d5938f3638d67ddf5c86ca520afbfb296a824b39411362ca6e9d8b03920e35cca38d1303efe81750e5bfc849cfb363f370da3d25ac44 SHA512 68b35c1091435fbeb39e67c7f93038fcba95cd5ae7098434b5d3afee10595f875ef9fd997934f2bbd93c914bcd5c3c71bd43f032f788e55c5795f5ad63b57cd7
|
||||
EBUILD pgadmin4-4.10.ebuild 3559 BLAKE2B 4dadf2c0c44f091558cd0c510f4188842b7fa097ed91594c5ce3605d83f5a277a2f57a08bfe6165712520c2a2d2e4d6b1b9f141b86968cdc99326003e94aad9d SHA512 f6819b1183e57c6855d094bd4cc5bd9ba6073c55204f87f6a9542f117566550edabc6f76a506d26bfc142e5c1297dfc1dc298bb893f493d19738d0392c79bcc9
|
||||
EBUILD pgadmin4-4.13.ebuild 2821 BLAKE2B ef109b3edf5743f8edbb44fb0270752dedbea09834700de8d0825880a533b846b64f5eff45ada40d952969d8cfbe3f1e8ff261fd17a5d214a38aef9d9cffba17 SHA512 ec30a38a3a2f9d6ef7943adf12951c9e0d3da9c739caad24bbe50e21d0333e00e83536b25a599975db2d3bd04c8eec99dbfe99b6bac281bed4cb0694e1f76c76
|
||||
EBUILD pgadmin4-4.5.ebuild 3557 BLAKE2B d94690d8d884c26a070d5cd4a67c9aa79e308f5fa91f5f6d368193f9aeab733b5d176b8ae03c50251bbdb37cc0327504f2e78d06c125e90508f39e545cbb9739 SHA512 c9ed54b183053d0a93876fc8a7aa9565f36b6295fc437dfed965c76b2e9e3fc45b2b6739e841c340f44612bbdd8fe62b95ced938e7446559cf82e56a9bcd368e
|
||||
EBUILD pgadmin4-4.8.ebuild 3559 BLAKE2B 4dadf2c0c44f091558cd0c510f4188842b7fa097ed91594c5ce3605d83f5a277a2f57a08bfe6165712520c2a2d2e4d6b1b9f141b86968cdc99326003e94aad9d SHA512 f6819b1183e57c6855d094bd4cc5bd9ba6073c55204f87f6a9542f117566550edabc6f76a506d26bfc142e5c1297dfc1dc298bb893f493d19738d0392c79bcc9
|
||||
EBUILD pgadmin4-4.13.ebuild 2820 BLAKE2B c13bd2e54d74507778dea51416dc56d84391c653a1e8773862cc7795a0a9005890dc10dc9438253115dcdb5dcdbd65fde0545b109ca3792c12bc9d0c0dd32659 SHA512 6dd116c8651cffc135057994c582f684eaa69a640b8d2e858203722c5a6b9883a9e95ed28a4b2016fa7a5dcf42f31ad19f3d9b1c25b86ca04d7803e620ab8739
|
||||
MISC metadata.xml 266 BLAKE2B 9d5988ab45f9939f9be5ee7f4b7a9950a3d62252aa0d3e6c953265467428c59fb8c05b2bb72085431b7aa9fc18d31f2b3273e8fdb33443d786b2237db697b7e2 SHA512 9f85990c7ce6a1de5c1067e4781af18bede2d3bd02963a7b2927766b70dbe98d3fb63bb01e19b1cf6e2b77038d9788bf38155b3cc33f9e5ff8430b10a4006325
|
||||
|
@ -1,124 +0,0 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python3_{5,6} )
|
||||
PYTHON_REQ_USE="sqlite"
|
||||
|
||||
inherit python-single-r1 qmake-utils
|
||||
|
||||
DESCRIPTION="GUI administration and development platform for PostgreSQL"
|
||||
HOMEPAGE="https://www.pgadmin.org/"
|
||||
SRC_URI="https://ftp.postgresql.org/pub/pgadmin/${PN}/v${PV}/source/${P}.tar.gz"
|
||||
|
||||
LICENSE="POSTGRESQL"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
SLOT="0"
|
||||
IUSE="doc"
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
COMMON_DEPEND="${PYTHON_DEPS}
|
||||
dev-qt/qtnetwork:5
|
||||
dev-qt/qtwidgets:5
|
||||
"
|
||||
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
|
||||
"
|
||||
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
>=app-text/htmlmin-0.1.12[${PYTHON_USEDEP}]
|
||||
>=dev-python/Babel-2.3.4[${PYTHON_USEDEP}]
|
||||
>=dev-python/beautifulsoup-4.4.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/blinker-1.4[${PYTHON_USEDEP}]
|
||||
>=dev-python/click-6.6[${PYTHON_USEDEP}]
|
||||
>=dev-python/cryptography-2.2.2-r1[${PYTHON_USEDEP}]
|
||||
>=dev-python/extras-1.0.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/flask-0.12.4[${PYTHON_USEDEP}]
|
||||
>=dev-python/flask-babel-0.11.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/flask-babelex-0.9.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/flask-gravatar-0.5.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/flask-htmlmin-1.3.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/flask-login-0.3.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/flask-mail-0.9.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/flask-migrate-2.1.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/flask-paranoid-0.2.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/flask-principal-0.4.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/flask-security-3.0.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/flask-sqlalchemy-2.3.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/flask-wtf-0.14.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/html5lib-1.0.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/itsdangerous-0.24[${PYTHON_USEDEP}]
|
||||
>=dev-python/jinja-2.7.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/linecache2-1.0.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/markupsafe-0.23[${PYTHON_USEDEP}]
|
||||
>=dev-python/mimeparse-1.6.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/passlib-1.7.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/pbr-3.1.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/psutil-5.4.7[${PYTHON_USEDEP}]
|
||||
>=dev-python/psycopg-2.7.4[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyrsistent-0.14.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/python-dateutil-2.7.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/python-sqlparse-0.2.4[${PYTHON_USEDEP}]
|
||||
>=dev-python/pytz-2018.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/simplejson-3.13.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/six-1.11.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/speaklater-1.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/sqlalchemy-1.2.5[${PYTHON_USEDEP}]
|
||||
>=dev-python/sshtunnel-0.1.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/werkzeug-0.9.6[${PYTHON_USEDEP}]
|
||||
>=dev-python/wtforms-2.1[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
S="${WORKDIR}"/${P}/runtime
|
||||
|
||||
src_prepare() {
|
||||
cd "${WORKDIR}"/${P} || die
|
||||
default
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
eqmake5
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
default
|
||||
if use doc; then
|
||||
cd "${WORKDIR}"/${P} || die
|
||||
emake docs
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin pgAdmin4
|
||||
|
||||
cd "${WORKDIR}"/${P} || die
|
||||
|
||||
local APP_DIR=/usr/share/${PN}/web
|
||||
insinto "${APP_DIR}"
|
||||
doins -r web/*
|
||||
cat > "${D}${APP_DIR}"/config_local.py <<-EOF
|
||||
SERVER_MODE = False
|
||||
UPGRADE_CHECK_ENABLED = False
|
||||
EOF
|
||||
python_optimize "${D}${APP_DIR}"
|
||||
|
||||
local CONFIG_DIR="/etc/xdg/pgadmin"
|
||||
dodir "${CONFIG_DIR}"
|
||||
cat > "${D}${CONFIG_DIR}"/pgadmin4.conf <<-EOF
|
||||
[General]
|
||||
ApplicationPath=${APP_DIR}
|
||||
PythonPath=$(python_get_sitedir)
|
||||
EOF
|
||||
|
||||
if use doc; then
|
||||
rm -r docs/en_US/_build/html/_sources || die
|
||||
insinto /usr/share/${PN}/docs/en_US/_build
|
||||
doins -r docs/en_US/_build/html
|
||||
fi
|
||||
}
|
@ -1,124 +0,0 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python3_{5,6} )
|
||||
PYTHON_REQ_USE="sqlite"
|
||||
|
||||
inherit python-single-r1 qmake-utils
|
||||
|
||||
DESCRIPTION="GUI administration and development platform for PostgreSQL"
|
||||
HOMEPAGE="https://www.pgadmin.org/"
|
||||
SRC_URI="https://ftp.postgresql.org/pub/pgadmin/${PN}/v${PV}/source/${P}.tar.gz"
|
||||
|
||||
LICENSE="POSTGRESQL"
|
||||
KEYWORDS="amd64 x86"
|
||||
SLOT="0"
|
||||
IUSE="doc"
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
COMMON_DEPEND="${PYTHON_DEPS}
|
||||
dev-qt/qtnetwork:5
|
||||
dev-qt/qtwidgets:5
|
||||
"
|
||||
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
|
||||
"
|
||||
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
>=app-text/htmlmin-0.1.12[${PYTHON_USEDEP}]
|
||||
>=dev-python/Babel-2.3.4[${PYTHON_USEDEP}]
|
||||
>=dev-python/beautifulsoup-4.4.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/blinker-1.4[${PYTHON_USEDEP}]
|
||||
>=dev-python/click-6.6[${PYTHON_USEDEP}]
|
||||
>=dev-python/cryptography-2.2.2-r1[${PYTHON_USEDEP}]
|
||||
>=dev-python/extras-1.0.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/flask-0.12.4[${PYTHON_USEDEP}]
|
||||
>=dev-python/flask-babel-0.11.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/flask-babelex-0.9.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/flask-gravatar-0.5.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/flask-htmlmin-1.3.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/flask-login-0.3.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/flask-mail-0.9.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/flask-migrate-2.1.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/flask-paranoid-0.2.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/flask-principal-0.4.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/flask-security-3.0.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/flask-sqlalchemy-2.3.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/flask-wtf-0.14.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/html5lib-1.0.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/itsdangerous-0.24[${PYTHON_USEDEP}]
|
||||
>=dev-python/jinja-2.7.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/linecache2-1.0.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/markupsafe-0.23[${PYTHON_USEDEP}]
|
||||
>=dev-python/mimeparse-1.6.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/passlib-1.7.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/pbr-3.1.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/psutil-5.4.7[${PYTHON_USEDEP}]
|
||||
>=dev-python/psycopg-2.7.4[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyrsistent-0.14.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/python-dateutil-2.7.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/python-sqlparse-0.2.4[${PYTHON_USEDEP}]
|
||||
>=dev-python/pytz-2018.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/simplejson-3.13.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/six-1.11.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/speaklater-1.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/sqlalchemy-1.2.5[${PYTHON_USEDEP}]
|
||||
>=dev-python/sshtunnel-0.1.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/werkzeug-0.9.6[${PYTHON_USEDEP}]
|
||||
>=dev-python/wtforms-2.1[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
S="${WORKDIR}"/${P}/runtime
|
||||
|
||||
src_prepare() {
|
||||
cd "${WORKDIR}"/${P} || die
|
||||
default
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
eqmake5
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
default
|
||||
if use doc; then
|
||||
cd "${WORKDIR}"/${P} || die
|
||||
emake docs
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin pgAdmin4
|
||||
|
||||
cd "${WORKDIR}"/${P} || die
|
||||
|
||||
local APP_DIR=/usr/share/${PN}/web
|
||||
insinto "${APP_DIR}"
|
||||
doins -r web/*
|
||||
cat > "${D}${APP_DIR}"/config_local.py <<-EOF
|
||||
SERVER_MODE = False
|
||||
UPGRADE_CHECK_ENABLED = False
|
||||
EOF
|
||||
python_optimize "${D}${APP_DIR}"
|
||||
|
||||
local CONFIG_DIR="/etc/xdg/pgadmin"
|
||||
dodir "${CONFIG_DIR}"
|
||||
cat > "${D}${CONFIG_DIR}"/pgadmin4.conf <<-EOF
|
||||
[General]
|
||||
ApplicationPath=${APP_DIR}
|
||||
PythonPath=$(python_get_sitedir)
|
||||
EOF
|
||||
|
||||
if use doc; then
|
||||
rm -r docs/en_US/_build/html/_sources || die
|
||||
insinto /usr/share/${PN}/docs/en_US/_build
|
||||
doins -r docs/en_US/_build/html
|
||||
fi
|
||||
}
|
@ -1,124 +0,0 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python3_{5,6} )
|
||||
PYTHON_REQ_USE="sqlite"
|
||||
|
||||
inherit python-single-r1 qmake-utils
|
||||
|
||||
DESCRIPTION="GUI administration and development platform for PostgreSQL"
|
||||
HOMEPAGE="https://www.pgadmin.org/"
|
||||
SRC_URI="https://ftp.postgresql.org/pub/pgadmin/${PN}/v${PV}/source/${P}.tar.gz"
|
||||
|
||||
LICENSE="POSTGRESQL"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
SLOT="0"
|
||||
IUSE="doc"
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
COMMON_DEPEND="${PYTHON_DEPS}
|
||||
dev-qt/qtnetwork:5
|
||||
dev-qt/qtwidgets:5
|
||||
"
|
||||
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
|
||||
"
|
||||
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
>=app-text/htmlmin-0.1.12[${PYTHON_USEDEP}]
|
||||
>=dev-python/Babel-2.3.4[${PYTHON_USEDEP}]
|
||||
>=dev-python/beautifulsoup-4.4.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/blinker-1.4[${PYTHON_USEDEP}]
|
||||
>=dev-python/click-6.6[${PYTHON_USEDEP}]
|
||||
>=dev-python/cryptography-2.2.2-r1[${PYTHON_USEDEP}]
|
||||
>=dev-python/extras-1.0.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/flask-0.12.4[${PYTHON_USEDEP}]
|
||||
>=dev-python/flask-babel-0.11.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/flask-babelex-0.9.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/flask-gravatar-0.5.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/flask-htmlmin-1.3.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/flask-login-0.3.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/flask-mail-0.9.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/flask-migrate-2.1.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/flask-paranoid-0.2.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/flask-principal-0.4.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/flask-security-3.0.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/flask-sqlalchemy-2.3.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/flask-wtf-0.14.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/html5lib-1.0.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/itsdangerous-0.24[${PYTHON_USEDEP}]
|
||||
>=dev-python/jinja-2.7.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/linecache2-1.0.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/markupsafe-0.23[${PYTHON_USEDEP}]
|
||||
>=dev-python/mimeparse-1.6.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/passlib-1.7.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/pbr-3.1.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/psutil-5.4.7[${PYTHON_USEDEP}]
|
||||
>=dev-python/psycopg-2.7.4[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyrsistent-0.14.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/python-dateutil-2.7.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/python-sqlparse-0.2.4[${PYTHON_USEDEP}]
|
||||
>=dev-python/pytz-2018.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/simplejson-3.13.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/six-1.11.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/speaklater-1.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/sqlalchemy-1.2.5[${PYTHON_USEDEP}]
|
||||
>=dev-python/sshtunnel-0.1.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/werkzeug-0.9.6[${PYTHON_USEDEP}]
|
||||
>=dev-python/wtforms-2.1[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
S="${WORKDIR}"/${P}/runtime
|
||||
|
||||
src_prepare() {
|
||||
cd "${WORKDIR}"/${P} || die
|
||||
default
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
eqmake5
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
default
|
||||
if use doc; then
|
||||
cd "${WORKDIR}"/${P} || die
|
||||
emake docs
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin pgAdmin4
|
||||
|
||||
cd "${WORKDIR}"/${P} || die
|
||||
|
||||
local APP_DIR=/usr/share/${PN}/web
|
||||
insinto "${APP_DIR}"
|
||||
doins -r web/*
|
||||
cat > "${D}${APP_DIR}"/config_local.py <<-EOF
|
||||
SERVER_MODE = False
|
||||
UPGRADE_CHECK_ENABLED = False
|
||||
EOF
|
||||
python_optimize "${D}${APP_DIR}"
|
||||
|
||||
local CONFIG_DIR="/etc/xdg/pgadmin"
|
||||
dodir "${CONFIG_DIR}"
|
||||
cat > "${D}${CONFIG_DIR}"/pgadmin4.conf <<-EOF
|
||||
[General]
|
||||
ApplicationPath=${APP_DIR}
|
||||
PythonPath=$(python_get_sitedir)
|
||||
EOF
|
||||
|
||||
if use doc; then
|
||||
rm -r docs/en_US/_build/html/_sources || die
|
||||
insinto /usr/share/${PN}/docs/en_US/_build
|
||||
doins -r docs/en_US/_build/html
|
||||
fi
|
||||
}
|
@ -1,12 +1,15 @@
|
||||
AUX logrotate 119 BLAKE2B 7ed90c0272410e5a37411f78aaa446d1688ceb5a5a0cfa652f8ea3d043f693af2b963aaf18bb230ec4cd5ae34f09219f02b9ee0ca5b43fe61489f46aa7a8d505 SHA512 5aa4226ab2d168a88a3b64deb114d3901431d2afb2571cf8ae411c989549bc465ee05104a6863cc8fce6d769d809b4ab536973280f50cb4415c6698c34e1a5b8
|
||||
AUX pgbouncer-1.11-dirs.patch 461 BLAKE2B ed51cc404049c92f59f08b87a2a7402c7f70e5ee4a66bf6ce0c2ea02a29ebb07441833852d46b34f95461fe4fef6972945c8a7ed5c0f3c8e7024103645e84ae1 SHA512 b6c53cf6b4ec5fb4620dfd71033a96918d90440c964a745c7befb89cb797c6b5af1b5f2cfd3f454cf1479df48a9f459f8a50d60127eef404c38de2b2445555a3
|
||||
AUX pgbouncer-1.12-dirs.patch 804 BLAKE2B fba4fbc1a9c01b2d43f74719cbc4b285817c301ec7f0fbe1b59871d9121a507d35e8059f8d74f69645fd4dc25dac5c22bae2841cf8f3ad448ce3513b2e70d404 SHA512 5d3f9bae8789d9be376b897396ffabc94fd13fa50abad811abd9195f75cad46315465e90a843579552ba53bc17d2c53a52211c824de97b1905babd1e51cd35f7
|
||||
AUX pgbouncer-1.8-dirs.patch 984 BLAKE2B 0e9a3550efad0669e4598513197c50460326f701dae628ae8c9fb201e08ae3f0c5826515c6a884a00f2b0afd048490b16d87f9b3b9cf836ca4c77284cd705334 SHA512 2c9ddd2ae193b032435f97d41e789283ae69d99fefeb3829e80a90be296ccd2a754a9d00e6930985408758dfa3349d65f3c2ddf1f74053424bc8d8d09b2fa0e2
|
||||
AUX pgbouncer.confd-r1 457 BLAKE2B 0b2e33b57ee33eac42742a8f9fe7c0f090bad53c5d7c29d86fd3047307bd05d62f922fc66a0805ba3396934f6e2e7060f810f1c71c5b07d887edf2763cc0f40d SHA512 0642b12236e944b6b5086b593dfd4a5d7c04c8347fc286835381945a50a421e87805900d63d84d12dcb1fad667fc81f21c8644c63af33388a71048ec6e024ab5
|
||||
AUX pgbouncer.initd-r2 2204 BLAKE2B 9c417188d4a762906c7631f1ae8fc7c7b8f6c52805acf6bfc12d580c53b2faa4e36b7c0662852feaf78aebcc29498bb8ae441d749a710793508c6950a448862f SHA512 dd9e8f7487affcc46b359e6d07a4c2fd698626d7360d2b2929389bbd7a340059eb27f0e0e9a648b7005c446d65762edbb02b865fa68194ebb822c01fba19fd7e
|
||||
DIST pgbouncer-1.10.0.tar.gz 480571 BLAKE2B a0c1dadc48f38cfe0ba2641791b4734da84cfe6674198bb2a8014bc92543850e909d7b4649b99e78d58febaa0f89f62b6694f6333b1111cbd62ff2f22741984d SHA512 8ec9f102b57ca5f92fb689588ec090056ac29f21825400ec67bca413fe076ad50e0b491e65c4cfebc488cc245eb3c88c36db2ee0ba1cb737f35404be0983dd1d
|
||||
DIST pgbouncer-1.11.0.tar.gz 571414 BLAKE2B 044d7cdf57b352b5b87547a8b96af1eca87e46b1f761bbd31d28a0d5158b52e438325db051ab51849f4e683f6211d0156a5081cc99a1109846085c84be7f72a6 SHA512 2373157f952a39dbb5d9afad7db2eba7459c28bcc302487c3bf15b64dca98940f65c9f7a1d142237f7053b6d2b290eaec15f930a341025f1665b501a26919115
|
||||
DIST pgbouncer-1.12.0.tar.gz 567465 BLAKE2B 866a877478a417b3854e6e2a724fcd06c04bd94893e5d79f8bf250fa9391407c5b7cd00bf2771af18b162dfd2b7bdced00be15c44ba74cf842e3d98c561991e3 SHA512 017d150f865df231861cda4678963ad7e63a0cd238f5ece5679c920484e01c53ab27af63bf47e6227d66b7dc94b4d59ca41ac49c26f60aba74d40b43cad55664
|
||||
DIST pgbouncer-1.9.0.tar.gz 469300 BLAKE2B 466f171a49ec9ce9be9a9d3208780cfbff956da7c74ec4332c7104ea537cb47a5cfdc0d80bbd96d233769b6f430f1ad99b623caefa2dc93af7ba336dd0f49514 SHA512 b127f4cb60ca5cdf339da76727918f0a3797a3e0a89f8ed6fdcaa80f3391d2c5bb51e19731915775210c0e5070dd611ee2e410c9a947624e45b5cf11aecdacf9
|
||||
EBUILD pgbouncer-1.10.0.ebuild 1890 BLAKE2B 3040ae1502615e4b2dbc4a4e0baf503908eb97d53c94b98188edfe7916b3e9dfbac3d4ed74ad583cf36532260c0ebb12fbf0d5fee45c7efbb257720655ddb8de SHA512 4eb12a8791b02fa1ed0b0ab941194fb713a8b83a7d18e1d090a0603d29d2e37572725cc050764239749bc53b2b4a64bf044fa32ad08f9056fffc81144ca79d7b
|
||||
EBUILD pgbouncer-1.11.0.ebuild 1893 BLAKE2B 09413b8c746ab8833746f83a8208386af799b260fdb314952222bdd5d148d400071d52e767b0f15e24de5533012e736b5230c234a7793ec357ec1f1bb68ef860 SHA512 51770bcb96830e2a3e7c29dd97cfda8bdaaa3f18ef3b485ea225d5411e3cd505b6875855b85c17dc1065fff6a10a286ce35f3ba25be92983dbd9c050fa871e91
|
||||
EBUILD pgbouncer-1.12.0.ebuild 1991 BLAKE2B 1e33ac46c7956c9d3ba5a733de9f90bce9cf985e1a276f9db7fc4eee252388914f84f9742494967afb8b0c854280d23fe6c0e5a28f348ce8777899673f7421c9 SHA512 da63c5f25cfd248dd434cbcc0ebcda0629ceaf6eaa5a656f925e1980bb3cec80f3f84e0cee9185c3769f6d3746dd15fed40c04a2e943fb03b371f23e33b7bce4
|
||||
EBUILD pgbouncer-1.9.0.ebuild 1893 BLAKE2B be596d0ec72a92b9c4351de0e9ff04b5f5f12e4c53684c12aec583e577ff20729f015890394e7ebeabdbf97ef84bcf6e4bad114b84c59e2ab07bd4ecd73c1013 SHA512 b65617a84baa28abb9c207f1a0567d9267cb936823539d908dcde9735fbb66d3b2619386e74fa8f4222cbba7b09227b03f3d9c2ec2abdfe21316110941a7c56e
|
||||
MISC metadata.xml 472 BLAKE2B b06a5dca1ee52c85fa1f948c4c8cf6e83c0aba3e0b0bd77672f1585c01d0a2f8ef4d7502e30e9cb658ec3dd3e53560671b69210166c36b4ce888e329f531585b SHA512 b098e87be6194706f462bb93c4bf5425023f7bd90a0ed421a51ea42db98c85ebd77f23eb413f4e271e126ad4404cd0bdf0694f675662c421f7afd8ec0f036b4d
|
||||
|
@ -0,0 +1,31 @@
|
||||
--- a/etc/pgbouncer.ini
|
||||
+++ b/etc/pgbouncer.ini
|
||||
@@ -43,7 +43,9 @@
|
||||
;;;
|
||||
|
||||
logfile = /var/log/pgbouncer/pgbouncer.log
|
||||
-pidfile = /var/run/pgbouncer/pgbouncer.pid
|
||||
+
|
||||
+; Leave unset. This is handled in the initscript.
|
||||
+;pidfile =
|
||||
|
||||
;;;
|
||||
;;; Where to wait for clients
|
||||
@@ -53,11 +55,12 @@
|
||||
listen_addr = 127.0.0.1
|
||||
listen_port = 6432
|
||||
|
||||
-;; Unix socket is also used for -R.
|
||||
-;; On Debian it should be /var/run/postgresql
|
||||
-;unix_socket_dir = /tmp
|
||||
-;unix_socket_mode = 0777
|
||||
-;unix_socket_group =
|
||||
+; Unix socket is also used for -R (online restart), but the
|
||||
+; initscripts can't do that. Generally, you'll want to leave these
|
||||
+; alone. System-wide default is: /run/postgresql
|
||||
+unix_socket_dir = /run/postgresql
|
||||
+unix_socket_mode = 0777
|
||||
+unix_socket_group = postgres
|
||||
|
||||
;;;
|
||||
;;; TLS settings for accepting clients
|
@ -0,0 +1,85 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit user
|
||||
|
||||
DESCRIPTION="Lightweight connection pooler for PostgreSQL"
|
||||
HOMEPAGE="https://www.pgbouncer.org/"
|
||||
SRC_URI="https://www.pgbouncer.org/downloads/files/${PV}/pgbouncer-${PV}.tar.gz"
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="+c-ares debug doc pam ssl -udns"
|
||||
|
||||
# At-most-one-of, one can be enabled but not both
|
||||
REQUIRED_USE="?? ( c-ares udns )"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-libs/libevent-2.0
|
||||
>=sys-libs/glibc-2.10
|
||||
c-ares? ( >=net-dns/c-ares-1.10 )
|
||||
ssl? ( >=dev-libs/openssl-1.0.1:=[-bindist] )
|
||||
udns? ( >=net-libs/udns-0.1 )
|
||||
"
|
||||
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
# Tests require a local database server, wants to fiddle with iptables,
|
||||
# and doesn't support override. things.
|
||||
RESTRICT="test"
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup postgres 70
|
||||
enewuser postgres 70 /bin/bash /var/lib/postgresql postgres
|
||||
|
||||
enewuser pgbouncer -1 -1 -1 postgres
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
eapply "${FILESDIR}"/pgbouncer-1.12-dirs.patch
|
||||
|
||||
default
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# --enable-debug is only used to disable stripping
|
||||
econf \
|
||||
--docdir=/usr/share/doc/${PF} \
|
||||
--enable-debug \
|
||||
$(use_with c-ares cares) \
|
||||
$(use_enable debug cassert) \
|
||||
$(use_with pam) \
|
||||
$(use_with ssl openssl) \
|
||||
$(use_with udns)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
|
||||
dodoc AUTHORS
|
||||
use doc && dodoc doc/*.rst
|
||||
|
||||
newconfd "${FILESDIR}/${PN}.confd-r1" "${PN}"
|
||||
newinitd "${FILESDIR}/${PN}.initd-r2" "${PN}"
|
||||
|
||||
insinto /etc
|
||||
doins etc/pgbouncer.ini
|
||||
|
||||
insinto /etc/logrotate.d
|
||||
newins "${FILESDIR}/logrotate" pgbouncer
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [[ -z ${REPLACING_VERSIONS} ]] ; then
|
||||
einfo "Please read the config.txt for Configuration Directives"
|
||||
einfo
|
||||
einfo "For Administration Commands, see:"
|
||||
einfo " man pgbouncer"
|
||||
einfo
|
||||
einfo "By default, PgBouncer does not have access to any database."
|
||||
einfo "GRANT the permissions needed for your application and make sure that it"
|
||||
einfo "exists in PgBouncer's auth_file."
|
||||
fi
|
||||
}
|
Binary file not shown.
@ -1,5 +1,5 @@
|
||||
DIST sassc-3.5.0.tar.gz 25834 BLAKE2B 69bb085f537ca2fba70aa96326e49f756cab52a8cac631dbe0dc88459a488c65dd856deebea335d4b3539b30658b327c3d32d1e79dae1021893a0627508ceadd SHA512 9c94056f66688016dd8eaae9cc791be4b397406b89f1289946c4481b5e1904486878d22fd65e695ed89f9b41a9f902932eb4074e7b0923ce3d4823ea3140334f
|
||||
DIST sassc-3.6.0.tar.gz 26111 BLAKE2B 91d634bd652607407c48f141aa39260739357f6eeb4bade1fff1bfdd4e4e6e0757712501395c913ef1a8944ec9174649fa5ce657af4afec6f9f0eb7f804e1ff2 SHA512 0d8de651b1587f4994a5da85ad09ec2ce6e240213dbaa567c6b9baa612fe82e337061d9a5a8a3a5588e4c366c1178b6fd04e9d699a0be3d83c68f98bac774527
|
||||
EBUILD sassc-3.5.0.ebuild 698 BLAKE2B 1d7011f786cd8f09c8f5c49f0468e7260edae7af9a1f0692b3c687ccdc0abd99d3c7efbf0a913f44fc585f04572cd527fbcf6339d251feb11dfd9332c23e8d79 SHA512 473c1c7b4db1860e6af40ed3e99ee907fe85bd596171cbcfbea92650807dce4c0837c5e230d681d8c2a4e70d3fdefda090c221cb122dc8e6de02ae24693cd662
|
||||
EBUILD sassc-3.6.0.ebuild 495 BLAKE2B 66060bd3b84ecf7678974b26c941a009e59581a8fb50e1cf93daeb5aa37bb53313b04a0c90d325b1060dd1aafca26c9ce13e4d801a518fe2f6927eb23c6e390d SHA512 06fd0782d2a6ac175f3c18ee4b1cd53fcba269d30cd4ab4ed7ee0d2894d053571ad3200587abb9ba5f8d80d6d16704e929d63bbb5c620a1aa7c55ad754eab5d4
|
||||
EBUILD sassc-3.6.0.ebuild 493 BLAKE2B 3413a5d5689b5f334fd3aa02d6cc69eaab797c15b48988f003e018944d30756108d91aa7ea3316ead4b747c45b326ec9746b2a9f2093743cbf2378febd3c2aed SHA512 f6d6d10185e1b4df1d4cb74ed4e964bda2ca600d9237a2bfc7d0fd0b61ce5e7556a4a633af2af96c097e1818e97596133f7b6ee346cee33794becfb24f57fe29
|
||||
MISC metadata.xml 481 BLAKE2B 4f5d2e0062ba66e18b394807ae98e1ebe8925d0f094f969406f4d3c3cbed7fb001adfe41f1b61246df24f89e11b142d31027dfde07cfb919c60a2fece1ed20fe SHA512 2ba528dc5a56c29561f5b7644b5a428d99383965052233f4b5b03e0796a5e0bf1d7747548f9a7edde41471cacab1269d3c1cce089bba8ab33d903b4cd48585f7
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue