parent
38e8b8e4d2
commit
6777350279
@ -1,23 +1,23 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA512
|
||||
|
||||
MANIFEST Manifest.files.gz 28863 BLAKE2B 31f3ab64c29704ed8f500f836f5a70b84534497cb6d10afb6db5ef7a0fb49c5f57e291c44c2cdab98b9ca6a64ad9caaa76be70217294e82d55856895bad51249 SHA512 c095e784abe4c78d6dc57e0310a11f99053c6ef67b164f31181daac9bd0995801428c8d25ff1dd00e501b0accecfeec9bbea47b07ffd23124e57c89e47140e35
|
||||
TIMESTAMP 2018-12-11T05:08:43Z
|
||||
MANIFEST Manifest.files.gz 28809 BLAKE2B 3c58d9d00dc72ab8008e62cec7a918a8c01dfb8b9c2425fde4c64a5b12dd99bc2d91a09216903552440ae4530959515d48b2da05736f80969035b0876b89cab0 SHA512 7c69b8dd642fa73467609520e40647992d3fe276206a8d03021f58a5168df509081d4577876a01781e6218f009dfc8526a4975081d270a603e10bca512205b85
|
||||
TIMESTAMP 2018-12-12T05:38:47Z
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
|
||||
iQKTBAEBCgB9FiEE4dartjv8+0ugL98c7FkO6skYklAFAlwPRltfFIAAAAAALgAo
|
||||
iQKTBAEBCgB9FiEE4dartjv8+0ugL98c7FkO6skYklAFAlwQnudfFIAAAAAALgAo
|
||||
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEUx
|
||||
RDZBQkI2M0JGQ0ZCNEJBMDJGREYxQ0VDNTkwRUVBQzkxODkyNTAACgkQ7FkO6skY
|
||||
klBBMA//XeXLfzocut+s7qjoZcS3LdgFIoxRkuZE0ceS8ktbCHuO0CnP94RQe3FP
|
||||
YYPCJ0cfjnDl4GzO/g1pGM7arD06BdkkkklKLA3yxkVOlHw3DfR3wvU4tx3wenbn
|
||||
v4I/aGtKxisg9U3nyG168xRu3fQHHnyDUFl7VgnCJ04uzSOh2Y5cLhfWAHTQeW88
|
||||
Ujoe1brD6d4Tuc3DLa9B2uapPkJpIguZym5F1CJrz76kU1lWXHDWjvIS51zoXGYh
|
||||
ByZzlJv4uDIMfKjz+9A6EWcufOh4xIqzsTIWmZmMHuOHROhrWfWCdoe/huiFTbR+
|
||||
N+FezJh93PWtRIGkdExlbT9rWkzqp2Db4jJwc3PaWFqTa351KY1UAXq6KhCOl9Bv
|
||||
ChWYqbf3Pqu4QFQgFRwYgimU/T/pvIdqhbXwF5mAPBVYrlcMCkGx6kNTn0JUCqJK
|
||||
vHLsfaExYv8/6aPellxX+q515H1NsuRbUxhMEgpJiniOfIUWOAhVJDrjpV0X+jgO
|
||||
8235irtXSi808D1rf8mf29c7HS2mMpbg/lBVOWhCO15SnIdGsSdQXPqKiSuRutAC
|
||||
dDD4h5O5TpgLIMTY3VBWZZ9ycosRa3cy8+17NblRJzIVorfh4wygF8NqimM1JHMm
|
||||
wgoxQTWIQD09wBOgtEGqQajVVBAtrUN6o46xJaU0sMGZdPwHRSU=
|
||||
=qjGj
|
||||
klCAfw/7BfhDSR71OjgP5q/4xM+D0gWxGV7mnrkr+QIAvyVub9cofW/MLW2JtowF
|
||||
hE6rmx3nBtXBz1DZdeuAkTY5dqDgcRbbZGuJVW+PLfAtXySSYwG+YBxuxU5H/pmI
|
||||
+6SqX160gLn0C982wqvVUoPLy2gFcUtp8atBoEJTEfHCsXtFnmXVD4ASaCy6Ff/X
|
||||
6LTGkFEF7FCZXKYelnfrWNTKNdvIKUaTWqAU7oFOsyGgvnhvDK0DNU+0qOMuLCnr
|
||||
RiMO14ARRosDw/Lw+gEsglBsQ80OzPp8rST2QxcZBZ9ubpts4cqTNCKo3602mdgQ
|
||||
DA+ckKnyWStiycODL1R2dj093g/jiTZsu8JdRT6PVKt93YUeurYYOkbRrS4nYEFW
|
||||
gLbG25BUqGiL0v2pSpWEC90YWcbr9peUOw960bE8hDro5n7/ciQ+kvgjjcvDoACa
|
||||
bh9EMyngU+nB3ERtuaEkybZXdfPUcqCcDLadzDbTAaeyXk1hPht7nfW/spy3vuKy
|
||||
2MiatHmLVls7xC2atY3gYZXbn5UT2AcwoGDVCJEpo+RgWmshJ4seEmcsTM8I43YW
|
||||
dRVLnRwdlgrzH2pWlZb2l7/tN2pwED6Cud1A7L0phyBId+W5uYhytsnnpJcC1CbX
|
||||
jmlYCiSKcQ8+9MZfeaFsTBFkW+UVtZpvusJtN2O9C5I7hPpXMTk=
|
||||
=oN4L
|
||||
-----END PGP SIGNATURE-----
|
||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,7 +1,9 @@
|
||||
DIST cdist-4.10.1.tar.gz 660264 BLAKE2B 7e4c9bc1e4a750865880aa442ed6c8a125b80d35ba2fbb49f6549c25764a8aea62defd95d3e32782a7290729f45e6a9a658fd2d6abaae15b3686c3ed312dce37 SHA512 d5852ddceb869a5d70c77d65b9288a780cc62794472fff1537a22d3e890b87ffc15181bc425f0bbbf43952eba12aa99046f482cf97f4afa6ca747d2cb55bea98
|
||||
DIST cdist-4.10.4.tar.gz 679595 BLAKE2B ae22287a4424dbcc2dc8c58db2ca3e0af3f526525277208f2256df615d8c214e15483b2c13af882e56121c4bece0f61fb259d2c5f44f02a2f6807451c986554c SHA512 696563dc0cb5a9f25b0d9282017de6315addb999cf63b3de87c1f5de4ce3f1fb99ee0c03f346aacebebfa2dd7f8eed58d22cdb05d2d4c26474963d29688056ed
|
||||
DIST cdist-4.6.1.tar.gz 454461 BLAKE2B 5cf5ba376b981feb6d740f53b4c4cdf51a8f0b4d4422db2c2c7312dd1288e006bfcae7c3459707e361536002a2a6b49bb8ef836783fac8167834978fb5737683 SHA512 f0c3759d00221fbd36d7662de6ccc57fc0070b8aee6a0d80e6bab6f41215c537a1cf1a6ec9fdebf81c45ad8126b8e730a14be8f1286d5baf5f4a5672611e31dc
|
||||
DIST cdist-4.7.3.tar.gz 497537 BLAKE2B e743e49291d6b212810911607ac149a54e6c8423841c4149f620d2127bbeb2fdce7d5ceff76572f1599a3a3326944066ba336f93f25de50d98ad972188562709 SHA512 9b69e257c816d515e4d94bc73d26ca1cfb2343fc4fc8298aadfbb82417aa28c9759831c304b90d6427e275988442cd19681e455c98757c87426d0435dd90ae41
|
||||
EBUILD cdist-4.10.1.ebuild 596 BLAKE2B 68bdf8cedb9d41f9ae5b276c1c8f81bc71096abefdab55f9abe9def93e4fc33e9ce170faa5240fd9006b23ef363ef9d2c9c446a6be1d7b7d61c723a7b6f9a37e SHA512 95f4fadaf35314bc667a3f6eafade25820dd3fbe07c96158285c35f1fee2681f577135c10e954ad518b56780ec86c5a4e9db579563488335cda9252d1b70d802
|
||||
EBUILD cdist-4.10.4.ebuild 593 BLAKE2B 3388765f2c830362b7d28999a26ecfc1c9855d0217763d9d3a3306e8daf5354cf29f9928eac52e05b161ed551b7d7cc3007c2fd687f724fc9645b67d2337f094 SHA512 f6467c1c8363777783ded046bd669b27d6adf218931d7072b6f5e17e69bbf0531d850261ecd879334c3701557e30e1ed8b02d7736269b271b49d0da52e28c89c
|
||||
EBUILD cdist-4.6.1.ebuild 596 BLAKE2B 68bdf8cedb9d41f9ae5b276c1c8f81bc71096abefdab55f9abe9def93e4fc33e9ce170faa5240fd9006b23ef363ef9d2c9c446a6be1d7b7d61c723a7b6f9a37e SHA512 95f4fadaf35314bc667a3f6eafade25820dd3fbe07c96158285c35f1fee2681f577135c10e954ad518b56780ec86c5a4e9db579563488335cda9252d1b70d802
|
||||
EBUILD cdist-4.7.3.ebuild 596 BLAKE2B 68bdf8cedb9d41f9ae5b276c1c8f81bc71096abefdab55f9abe9def93e4fc33e9ce170faa5240fd9006b23ef363ef9d2c9c446a6be1d7b7d61c723a7b6f9a37e SHA512 95f4fadaf35314bc667a3f6eafade25820dd3fbe07c96158285c35f1fee2681f577135c10e954ad518b56780ec86c5a4e9db579563488335cda9252d1b70d802
|
||||
MISC metadata.xml 443 BLAKE2B 2742628c4f58fc21f1fca78752bce1e6275ec34ca7aa547a39d8a11cf3c7d9c149030078a55383f706053fa3cd70f071d5d5c571f3b009e941cbbc2c29b6c21a SHA512 5d1dbb6742101c7b89662f3edba9d3eb7da595611fbb613a1da1482e76cbf563fdf5fbf227471ca4c90e5a96d62c65433beaf9b90bbc716c7614ea5fe6b5063a
|
||||
|
@ -0,0 +1,24 @@
|
||||
# Copyright 1999-2018 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python{3_4,3_5,3_6} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="A usable configuration management system"
|
||||
HOMEPAGE="https://www.nico.schottelius.org/software/cdist/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="doc"
|
||||
|
||||
python_install_all() {
|
||||
use doc && HTML_DOCS=( docs/dist/html/*.html docs/dist/html/man{1,7}/*.html )
|
||||
distutils-r1_python_install_all
|
||||
|
||||
doman docs/dist/man/man1/*.1 docs/dist/man/man7/*.7
|
||||
}
|
@ -0,0 +1,149 @@
|
||||
# Copyright 1999-2018 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
EGO_PN="k8s.io/helm"
|
||||
|
||||
MY_PV=${PV/_rc/-rc.}
|
||||
|
||||
EGO_VENDOR=(
|
||||
"cloud.google.com/go 3b1ae45394a234c385be014e9a488f2bb6eef821 github.com/GoogleCloudPlatform/gcloud-golang"
|
||||
"github.com/aokoli/goutils 9c37978a95bd5c709a15883b6242714ea6709e64"
|
||||
"github.com/asaskevich/govalidator 7664702784775e51966f0885f5cd27435916517b"
|
||||
"github.com/Azure/go-ansiterm d6e3b3328b783f23731bc4d058875b0371ff8109"
|
||||
"github.com/Azure/go-autorest bca49d5b51a50dc5bb17bbf6204c711c6dbded06"
|
||||
"github.com/beorn7/perks 3ac7bf7a47d159a033b107610db8a1b6575507a4"
|
||||
"github.com/BurntSushi/toml 3012a1dbe2e4bd1391d42b32f0577cb7bbc7f005"
|
||||
"github.com/chai2010/gettext-go c6fed771bfd517099caf0f7a961671fa8ed08723"
|
||||
"github.com/cpuguy83/go-md2man 71acacd42f85e5e82f70a55327789582a5200a90"
|
||||
"github.com/cyphar/filepath-securejoin a261ee33d7a517f054effbf451841abaafe3e0fd"
|
||||
"github.com/davecgh/go-spew 782f4967f2dc4564575ca782fe2d04090b5faca8"
|
||||
"github.com/dgrijalva/jwt-go 01aeca54ebda6e0fbfafd0a524d234159c05ec20"
|
||||
"github.com/docker/distribution edc3ab29cdff8694dd6feb85cfeb4b5f1b38ed9c"
|
||||
"github.com/docker/docker a9fbbdc8dd8794b20af358382ab780559bca589d"
|
||||
"github.com/docker/go-connections 3ede32e2033de7505e6500d6c868c2b9ed9f169d"
|
||||
"github.com/docker/go-units 9e638d38cf6977a37a8ea0078f3ee75a7cdb2dd1"
|
||||
"github.com/docker/spdystream 449fdfce4d962303d702fec724ef0ad181c92528"
|
||||
"github.com/evanphx/json-patch 36442dbdb585210f8d5a1b45e67aa323c197d5c4"
|
||||
"github.com/exponent-io/jsonpath d6023ce2651d8eafb5c75bb0c7167536102ec9f5"
|
||||
"github.com/fatih/camelcase f6a740d52f961c60348ebb109adde9f4635d7540"
|
||||
"github.com/ghodss/yaml 73d445a93680fa1a78ae23a5839bad48f32ba1ee"
|
||||
"github.com/go-openapi/jsonpointer 46af16f9f7b149af66e5d1bd010e3574dc06de98"
|
||||
"github.com/go-openapi/jsonreference 13c6e3589ad90f49bd3e3bbe2c2cb3d7a4142272"
|
||||
"github.com/go-openapi/spec 1de3e0542de65ad8d75452a595886fdd0befb363"
|
||||
"github.com/go-openapi/swag f3f9494671f93fcff853e3c6e9e948b3eb71e590"
|
||||
"github.com/gobwas/glob 5ccd90ef52e1e632236f7326478d4faa74f99438"
|
||||
"github.com/gogo/protobuf c0656edd0d9eab7c66d1eb0c568f9039345796f7"
|
||||
"github.com/golang/glog 44145f04b68cf362d9c4df2182967c2275eaefed"
|
||||
"github.com/golang/groupcache 02826c3e79038b59d737d3b1c0a1d937f71a4433"
|
||||
"github.com/golang/protobuf 1643683e1b54a9e88ad26d98f81400c8c9d9f4f9"
|
||||
"github.com/google/btree 7d79101e329e5a3adf994758c578dab82b90c017"
|
||||
"github.com/google/gofuzz 44d81051d367757e1c7c6a5a86423ece9afcf63c"
|
||||
"github.com/google/uuid 064e2069ce9c359c118179501254f67d7d37ba24"
|
||||
"github.com/googleapis/gnostic 0c5108395e2debce0d731cf0287ddf7242066aba"
|
||||
"github.com/gophercloud/gophercloud 781450b3c4fcb4f5182bcc5133adb4b2e4a09d1d"
|
||||
"github.com/gosuri/uitable 36ee7e946282a3fb1cfecd476ddc9b35d8847e42"
|
||||
"github.com/gregjones/httpcache 787624de3eb7bd915c329cba748687a3b22666a6"
|
||||
"github.com/grpc-ecosystem/go-grpc-prometheus 0c1b191dbfe51efdabe3c14b9f6f3b96429e0722"
|
||||
"github.com/hashicorp/golang-lru a0d98a5f288019575c6d1f4bb1573fef2d1fcdc4"
|
||||
"github.com/huandu/xstrings 3959339b333561bf62a38b424fd41517c2c90f40"
|
||||
"github.com/imdario/mergo 9316a62528ac99aaecb4e47eadd6dc8aa6533d58"
|
||||
"github.com/inconshreveable/mousetrap 76626ae9c91c4f2a10f34cad8ce83ea42c93bb75"
|
||||
"github.com/json-iterator/go f2b4162afba35581b6d4a50d3b8f34e33c144682"
|
||||
"github.com/mailru/easyjson 2f5df55504ebc322e4d52d34df6a1f5b503bf26d"
|
||||
"github.com/MakeNowJust/heredoc bb23615498cded5e105af4ce27de75b089cbe851"
|
||||
"github.com/Masterminds/semver 517734cc7d6470c0d07130e40fd40bdeb9bcd3fd"
|
||||
"github.com/Masterminds/sprig 15f9564e7e9cf0da02a48e0d25f12a7b83559aa6"
|
||||
"github.com/Masterminds/vcs 3084677c2c188840777bff30054f2b553729d329"
|
||||
"github.com/mattn/go-runewidth d6bea18f789704b5f83375793155289da36a3c7f"
|
||||
"github.com/matttproud/golang_protobuf_extensions c12348ce28de40eed0136aa2b644d0ee0650e56c"
|
||||
"github.com/mitchellh/go-wordwrap ad45545899c7b13c020ea92b2072220eefad42b8"
|
||||
"github.com/modern-go/concurrent bacd9c7ef1dd9b15be4a9909b8ac7a4e313eec94"
|
||||
"github.com/modern-go/reflect2 05fbef0ca5da472bbf96c9322b84a53edc03c9fd"
|
||||
"github.com/opencontainers/go-digest a6d0ee40d4207ea02364bd3b9e8e77b9159ba1eb"
|
||||
"github.com/opencontainers/image-spec 372ad780f63454fbbbbcc7cf80e5b90245c13e13"
|
||||
"github.com/peterbourgon/diskv 5f041e8faa004a95c88a202771f4cc3e991971e6"
|
||||
"github.com/pkg/errors 645ef00459ed84a119197bfb8d8205042c6df63d"
|
||||
"github.com/prometheus/client_golang c5b7fccd204277076155f10851dad72b76a49317"
|
||||
"github.com/prometheus/client_model fa8ad6fec33561be4280a8f0514318c79d7f6cb6"
|
||||
"github.com/prometheus/common 13ba4ddd0caa9c28ca7b7bffe1dfa9ed8d5ef207"
|
||||
"github.com/prometheus/procfs 65c1f6f8f0fc1e2185eb9863a3bc751496404259"
|
||||
"github.com/PuerkitoBio/purell 8a290539e2e8629dbc4e6bad948158f790ec31f4"
|
||||
"github.com/PuerkitoBio/urlesc 5bd2802263f21d8788851d5305584c82a5c75d7e"
|
||||
"github.com/russross/blackfriday 300106c228d52c8941d4b3de6054a6062a86dda3"
|
||||
"github.com/shurcooL/sanitized_anchor_name 10ef21a441db47d8b13ebcc5fd2310f636973c77"
|
||||
"github.com/sirupsen/logrus 89742aefa4b206dcf400792f3bd35b542998eb3b"
|
||||
"github.com/spf13/cobra fe5e611709b0c57fa4a89136deaa8e1d4004d053"
|
||||
"github.com/spf13/pflag 298182f68c66c05229eb03ac171abe6e309ee79a"
|
||||
"github.com/technosophos/moniker a5dbd03a2245d554160e3ae6bfdcf969fe58b431"
|
||||
"golang.org/x/crypto de0752318171da717af4ce24d0a2e8626afaeb11 github.com/golang/crypto"
|
||||
"golang.org/x/net 1c05540f6879653db88113bc4a2b70aec4bd491f github.com/golang/net"
|
||||
"golang.org/x/oauth2 a6bd8cefa1811bd24b86f8902872e4e8225f74c4 github.com/golang/oauth2"
|
||||
"golang.org/x/sys 95c6576299259db960f6c5b9b69ea52422860fce github.com/golang/sys"
|
||||
"golang.org/x/text b19bf474d317b857955b12035d2c5acb57ce8b01 github.com/golang/text"
|
||||
"golang.org/x/time f51c12702a4d776e4c1fa9b0fabab841babae631 github.com/golang/time"
|
||||
"google.golang.org/appengine 12d5545dc1cfa6047a286d5e853841b6471f4c19 github.com/golang/appengine"
|
||||
"google.golang.org/genproto 09f6ed296fc66555a25fe4ce95173148778dfa85 github.com/google/go-genproto"
|
||||
"google.golang.org/grpc 5ffe3083946d5603a0578721101dc8165b1d5b5f github.com/grpc/grpc-go"
|
||||
"gopkg.in/inf.v0 3887ee99ecf07df5b447e9b00d9c0b2adaa9f3e4 github.com/go-inf/inf"
|
||||
"gopkg.in/square/go-jose.v2 89060dee6a84df9a4dae49f676f0c755037834f1 github.com/square/go-jose"
|
||||
"gopkg.in/yaml.v2 670d4cfef0544295bc27a114dbac37980d83185a github.com/go-yaml/yaml"
|
||||
"k8s.io/api fd83cbc87e7632ccd8bbab63d2b673d4e0c631cc github.com/kubernetes/api"
|
||||
"k8s.io/apiextensions-apiserver 05e89e265cc594459a3d33a63e779d94e6614c63 github.com/kubernetes/apiextensions-apiserver"
|
||||
"k8s.io/apimachinery 6dd46049f39503a1fc8d65de4bd566829e95faff github.com/kubernetes/apimachinery"
|
||||
"k8s.io/apiserver e85ad7b666fef0476185731329f4cff1536efff8 github.com/kubernetes/apiserver"
|
||||
"k8s.io/client-go 1638f8970cefaa404ff3a62950f88b08292b2696 github.com/kubernetes/client-go"
|
||||
"k8s.io/cli-runtime 79bf4e0b64544d8c490247abae089bea572ddae6 github.com/kubernetes/cli-runtime"
|
||||
"k8s.io/kube-openapi 0cf8f7e6ed1d2e3d47d02e3b6e559369af24d803 github.com/kubernetes/kube-openapi"
|
||||
"k8s.io/kubernetes 54a352dda957bce0f88e49b65a6ee8bba8c0ba74 github.com/kubernetes/kubernetes"
|
||||
"k8s.io/utils 66066c83e385e385ccc3c964b44fd7dcd413d0ed github.com/kubernetes/utils"
|
||||
"vbom.ml/util db5cfe13f5cc80a4990d98e2e1b0707a4d1a5394 github.com/fvbommel/util"
|
||||
)
|
||||
|
||||
inherit golang-build golang-vcs-snapshot bash-completion-r1
|
||||
|
||||
GIT_COMMIT="d325d2a9c179b33af1a024cdb5a4472b6288016a"
|
||||
|
||||
ARCHIVE_URI="https://github.com/kubernetes/helm/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz
|
||||
${EGO_VENDOR_URI}"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
DESCRIPTION="Kubernetes Package Manager"
|
||||
HOMEPAGE="https://github.com/kubernetes/helm https://helm.sh"
|
||||
SRC_URI="${ARCHIVE_URI}"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
sed -i -e "s/git rev-parse HEAD/echo ${GIT_COMMIT}/"\
|
||||
-e "s/git rev-parse --short HEAD/echo ${GIT_COMMIT:0:7}/"\
|
||||
-e "s#git describe --tags --abbrev=0 --exact-match 2>/dev/null#echo v${PV}#"\
|
||||
-e 's/test -n "`git status --porcelain`" && echo "dirty" ||//' src/${EGO_PN}/versioning.mk || die
|
||||
|
||||
rm -rf src/${EGO_PN}/vendor/*/*/vendor src/${EGO_PN}/vendor/*/*/*/vendor || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
pushd src/${EGO_PN} || die
|
||||
GOPATH="${S}" go build -o bin/protoc-gen-go ./vendor/github.com/golang/protobuf/protoc-gen-go || die
|
||||
GOBINDIR="$(pwd)/bin" GOPATH="${S}"\
|
||||
go install -v -ldflags "-X k8s.io/helm/pkg/version.Version=v${PV} -X k8s.io/helm/pkg/version.BuildMetadata= -X k8s.io/helm/pkg/version.GitCommit=${GIT_COMMIT} -X k8s.io/helm/pkg/version.GitTreeState=clean" k8s.io/helm/cmd/... || die
|
||||
popd || die
|
||||
bin/${PN} completion bash > ${PN}.bash || die
|
||||
bin/${PN} completion zsh > ${PN}.zsh || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
newbashcomp ${PN}.bash ${PN}
|
||||
insinto /usr/share/zsh/site-functions
|
||||
newins ${PN}.zsh _${PN}
|
||||
|
||||
dobin bin/${PN} bin/tiller
|
||||
dodoc src/${EGO_PN}/README.md
|
||||
}
|
@ -1,7 +0,0 @@
|
||||
AUX localepurge-0.5.4-directorysum.patch 726 BLAKE2B ededf92eb7b11dce7b1b7a46ce879f180ccfef64d2b6e503391350d32af7e502f0ebf27341f3e4345e0d944184e291b8df12daf0d863af9c11126b30dda309a1 SHA512 2b7c2284d26ad2ab254faf9c976ee2d53e0b5e46bf3696164e21772304ae28a8de13662099f492146674e50a8dfc49b799a4be25a3e8e0c42a6e47a085dfd522
|
||||
AUX localepurge-0.5.4-evaltotal.patch 289 BLAKE2B 05029aebc3e5a808b42188f0759b45c5bff534dd962374986fb49e7713c70353e7607c91ef8e045f89185dbc6cd24b672824c53e3f7b9f8b096843e1f8c40390 SHA512 d3326631ada71ed930aae1b7e9338fdff2e216d9130a735b431d37f0da5691f087d57e8cb5851b27514a43bf5b00cf3881e1e02f5d8899da186baa2cb771cf4f
|
||||
AUX localepurge-0.5.4-parentdir.patch 657 BLAKE2B ace728b65f9e1ce6f8c449f75cdec0313c3ba6168e5baeb64adf7a76fe7cd92774e7a8d345492c4f4c633854672278f91a4c3eb0cab8d30817a3b4af3ed6dc2d SHA512 246d7865eb0645e71b607a523c49d9ae39a31b3371d7042045dadaf4939b6c5a7dd1bc13bc9eabef46ebdebabdb07669b3636a498e9e8059196206b32c38484e
|
||||
AUX localepurge-0.5.4-prefix.patch 2799 BLAKE2B 167d9fae44e9351526a103b6fe2d91b0a825a9aa096f02cbede29ddb72a1c42acf849b1a0f19afce0b303e2966668ecdfaa23b9a99a49ef3ca0971eb46723563 SHA512 cdff18f4387919f1ac1376f843b3ce65645cb6c4837401d00bbb3293108833ceded1a5f0e02b23f4024164ee10d2d03fe798d3ce591401a2816c8b61a9999c21
|
||||
DIST localepurge-0.5.4.tbz2 5038 BLAKE2B 32a2155761d3cc8d8c1b0ad62ef324b7c7c768d75395ba6d4d6100382e83becba1d69fa15ac2839dabeeae15f1d2bb3bb947c62d5cbcb3d496cf68b140ae2bc8 SHA512 246acb8ef497a2f607ee8545c4d46fd5a1957189eb0b705bf6bcd1cd35ba5b48c7e090db480519c8e3a7427b5ad5a2c020b40232a8fbd0840f9677a6c7af600e
|
||||
EBUILD localepurge-0.5.4-r2.ebuild 1003 BLAKE2B 3164a3039205f113ab9925b39252b58b105b6b44d90ce29f92008ba2e0e4f3453cd609724326baea9f6a9e3620660af4284b336857f05db1cee497793fb5073b SHA512 2e5e22bc926d6873281ffd219815d47b19b57b5ca14ccaac1c16d337748c701003b39e5aed03455e59b4d25def151a3c13b503c4c80fa712617684e20806371d
|
||||
MISC metadata.xml 295 BLAKE2B b7de6495b5128fc39975ccef8917e8b997649cfb1d96bce9c969b1cc99d1aa01de5ad9b3992594c3e26a4753f9cb83ba87e33c0d5ffbd2c3b341e993c2e6825d SHA512 1828b9bd1dc81e15ab98d4dd17aa1dd165739824cd3c56c32872cee9b42ea6a4d4a110be9dcc21df889341402d1b1bc74c71e84572aa7892f81321e8a74d9cf5
|
@ -1,20 +0,0 @@
|
||||
--- a/localepurge
|
||||
+++ b/localepurge
|
||||
@@ -198,7 +198,7 @@
|
||||
|
||||
if [ "$SHOWFREEDSPACE" = "enabled" ]; then
|
||||
if test $SPACETMP -gt 0 ; then
|
||||
- LOCALETOTAL=$SPACETMP
|
||||
+ LOCALETOTAL=$(($LOCALETOTAL + $SPACETMP))
|
||||
einfo "localepurge: Disk space freed in $LOCALEDIR: ${BOLD}"$SPACETMP"K${NORMAL}"
|
||||
fi
|
||||
SPACETMP=0
|
||||
@@ -230,7 +230,7 @@
|
||||
|
||||
if [ "$SHOWFREEDSPACE" = "enabled" ]; then
|
||||
if test $SPACETMP -gt 0 ; then
|
||||
- MANTOTAL=$SPACETMP
|
||||
+ MANTOTAL=$(($MANTOTAL + $SPACETMP))
|
||||
einfo "localepurge: Disk space freed in $MANPAGEDIR: ${BOLD}"$SPACETMP"K${NORMAL}"
|
||||
fi
|
||||
SPACETMP=0
|
@ -1,11 +0,0 @@
|
||||
--- a/localepurge
|
||||
+++ b/localepurge
|
||||
@@ -254,7 +254,7 @@
|
||||
|
||||
# Calculating and reporting total disk space freed:
|
||||
if [ "$SHOWFREEDSPACE" = "enabled" ]; then
|
||||
- let TOTAL=$LOCALETOTAL+$MANTOTAL
|
||||
+ TOTAL=$(($LOCALETOTAL+$MANTOTAL))
|
||||
if test $TOTAL -lt 0; then
|
||||
TOTAL=0
|
||||
fi
|
@ -1,18 +0,0 @@
|
||||
--- a/localepurge
|
||||
+++ b/localepurge
|
||||
@@ -165,7 +165,14 @@
|
||||
${ACTION} `find ${REMOVEPATH} -type f -o -type l`
|
||||
|
||||
if [ "$SHOWFREEDSPACE" = "enabled" ]; then
|
||||
- SPACEAFTER=$(df -P ${REMOVEPATH} | awk '{if ( NR==2 ) { print $3 }}')
|
||||
+ # if symlink, REMOVEPATH could be removed
|
||||
+ # check from parentdir then
|
||||
+ if [ -d ${REMOVEPATH} ]; then
|
||||
+ SPACEAFTER=$(df -P ${REMOVEPATH} | awk '{if ( NR==2 ) { print $3 }}')
|
||||
+ else
|
||||
+ SPACEAFTER=$(df -P ${REMOVEPATH%/*} | awk '{if ( NR==2 ) { print $3 }}')
|
||||
+ fi
|
||||
+
|
||||
SPACESUM=$(($SPACEBEFORE - $SPACEAFTER))
|
||||
|
||||
if test $SPACESUM -gt 0 ; then
|
@ -1,58 +0,0 @@
|
||||
--- a/localepurge
|
||||
+++ b/localepurge
|
||||
@@ -1,14 +1,14 @@
|
||||
-#!/bin/bash
|
||||
+#!@GENTOO_PORTAGE_EPREFIX@/bin/bash
|
||||
|
||||
# Deleting all locale files on system
|
||||
# *not* listed in /etc/locale.nopurge
|
||||
|
||||
set -e
|
||||
|
||||
-LOCALEDIRS="/usr/share/locale /usr/local/share/locale /usr/kde/?.?/share/locale /opt/sun-jdk-*/jre/lib/locale /opt/sun-jre-bin-*/lib/locale /usr/lib/locale /usr/share/binutils-data/*/*/locale /usr/share/gcc-data/*/*/locale"
|
||||
-MANPAGEDIRS="/usr/share/man /usr/man /usr/local/share/man /usr/kde/?.?/share/man /usr/kde/?.?/man /opt/sun-jdk-*/man /opt/sun-jre-bin-*/man"
|
||||
-LOCALELIST="/var/cache/localepurge/localelist"
|
||||
-CONFIGFILE="/etc/locale.nopurge"
|
||||
+LOCALEDIRS="@GENTOO_PORTAGE_EPREFIX@/usr/share/locale @GENTOO_PORTAGE_EPREFIX@/usr/local/share/locale @GENTOO_PORTAGE_EPREFIX@/usr/kde/?.?/share/locale @GENTOO_PORTAGE_EPREFIX@/opt/sun-jdk-*/jre/lib/locale @GENTOO_PORTAGE_EPREFIX@/opt/sun-jre-bin-*/lib/locale @GENTOO_PORTAGE_EPREFIX@/usr/lib/locale @GENTOO_PORTAGE_EPREFIX@/usr/share/binutils-data/*/*/locale @GENTOO_PORTAGE_EPREFIX@/usr/share/gcc-data/*/*/locale"
|
||||
+MANPAGEDIRS="@GENTOO_PORTAGE_EPREFIX@/usr/share/man @GENTOO_PORTAGE_EPREFIX@/usr/man @GENTOO_PORTAGE_EPREFIX@/usr/local/share/man @GENTOO_PORTAGE_EPREFIX@/usr/kde/?.?/share/man @GENTOO_PORTAGE_EPREFIX@/usr/kde/?.?/man @GENTOO_PORTAGE_EPREFIX@/opt/sun-jdk-*/man @GENTOO_PORTAGE_EPREFIX@/opt/sun-jre-bin-*/man"
|
||||
+LOCALELIST="@GENTOO_PORTAGE_EPREFIX@/var/cache/localepurge/localelist"
|
||||
+CONFIGFILE="@GENTOO_PORTAGE_EPREFIX@/etc/locale.nopurge"
|
||||
VERSION="0.5.4"
|
||||
|
||||
LOCALETOTAL=0
|
||||
@@ -23,7 +23,7 @@
|
||||
BRACKET=$'\e[34;01m'
|
||||
BOLD=$'\e[1m'
|
||||
|
||||
-ACTION="/bin/rm -vf"
|
||||
+ACTION="@GENTOO_PORTAGE_EPREFIX@/bin/rm -vf"
|
||||
|
||||
eerror () {
|
||||
echo -e " ${BAD}*${NORMAL} $*" 2> /dev/stderr
|
||||
@@ -43,7 +43,7 @@
|
||||
print() {
|
||||
for x in $@; do
|
||||
if [ "${x}" = "" ]; then return 0
|
||||
- else /bin/echo $x
|
||||
+ else @GENTOO_PORTAGE_EPREFIX@/bin/echo $x
|
||||
fi
|
||||
done
|
||||
}
|
||||
@@ -184,7 +184,7 @@
|
||||
einfo "localepurge: processing locale files in ${LOCALEDIR} ..."
|
||||
fi
|
||||
|
||||
- for LOCALE in `/bin/ls ${LOCALEDIR}`; do
|
||||
+ for LOCALE in `@GENTOO_PORTAGE_EPREFIX@/bin/ls ${LOCALEDIR}`; do
|
||||
if echo "${PURGELIST}" | grep -xq ${LOCALE}; then
|
||||
if [ -d ${LOCALEDIR}/${LOCALE}/LC_MESSAGES ]; then
|
||||
if [ "${LIST}" = "enabled" ]; then
|
||||
@@ -216,7 +216,7 @@
|
||||
einfo "localepurge: processing man pages in ${MANPAGEDIR} ..."
|
||||
fi
|
||||
|
||||
- for LOCALE in `/bin/ls ${MANPAGEDIR} | grep -v ^man[1-9]`; do
|
||||
+ for LOCALE in `@GENTOO_PORTAGE_EPREFIX@/bin/ls ${MANPAGEDIR} | grep -v ^man[1-9]`; do
|
||||
if echo "${PURGELIST}" | grep -xq ${LOCALE}; then
|
||||
if [ -d ${MANPAGEDIR}/${LOCALE} ]; then
|
||||
if [ "${LIST}" = "enabled" ]; then
|
@ -1,43 +0,0 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit prefix
|
||||
|
||||
DESCRIPTION="Script to recover diskspace on unneeded locale files & localized man pages"
|
||||
HOMEPAGE="https://gentoo.org
|
||||
https://cgit.gentoo.org/proj/localepurge.git"
|
||||
SRC_URI="https://dev.gentoo.org/~hwoarang/distfiles/${P}.tbz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ~m68k ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="app-shells/bash"
|
||||
|
||||
S=${WORKDIR}/${PN}
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-0.5.4-prefix.patch
|
||||
"${FILESDIR}"/${PN}-0.5.4-directorysum.patch # 164544
|
||||
"${FILESDIR}"/${PN}-0.5.4-parentdir.patch #445910
|
||||
"${FILESDIR}"/${PN}-0.5.4-evaltotal.patch #452208
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
eprefixify ${PN}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto /var/cache/${PN}
|
||||
doins defaultlist
|
||||
dosym defaultlist /var/cache/${PN}/localelist
|
||||
insinto /etc
|
||||
doins locale.nopurge
|
||||
dobin ${PN}
|
||||
doman ${PN}.8
|
||||
}
|
@ -1,7 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<!-- maintainer-needed -->
|
||||
<longdescription>Just a simple tool to erase all uneeded locale and man files
|
||||
usually generated for USE="nls"</longdescription>
|
||||
</pkgmetadata>
|
@ -1,20 +1,18 @@
|
||||
AUX 50-default-r1.conf 1952 BLAKE2B dca027ea6073384a2ec5867722028f70599c51fd8c46672ce647e84a7de4b3a0dc5bfaf43f7317eddb902c4987266ae67f88b43375a51e82a3ffefbb61c4d099 SHA512 1bc4d8059d83de57ff44d34265b0c3881bab7889f51c044728ba462c9105c89425187f95b6b01d6d6d103abde22a9dff063e5d6b90027ed87e9f851f9b1ad5b3
|
||||
AUX README.gentoo 1126 BLAKE2B b7e3881605c2bacda7f415b3f3195e1ef405a8e9fc7fd627fd35b0ab90966cbb29c9a85fcf2df6092062c5af353d44a02d3451e3caa072f4fa44d681702e9807 SHA512 46fdf3350e2005d3ef588d50dfc6d474a1b5d3010329b656879a43cbbd7be0cd91944b88d3838f45f69c830fc28c42e7fac2cd52e0a4b24bb6780562d59ae384
|
||||
AUX rsyslog-8.35.0-fix-issue2719.patch 7561 BLAKE2B 4adc0643dcb42bcc33ba3f8fc878ea4996d22e06865680fad6c9f0bff9da27d55293732e17678a36ce33d4ff1d76049d8b9b55bd0eb6b4987c893b48bf5daddc SHA512 54ad784c328a4def4c46777ba3b4ebe3d451d9a5a6883e3e6bd912070c52aaf2e85fefd938d64cbbd87ef9ae4ac0b4685ad1c0e74ad2bdf02bfa247ddcca939d
|
||||
AUX rsyslog-8.35.0-fix-issue2726.patch 1726 BLAKE2B 3b406319098637b81f85127494fb921529eb2704ae9ac6a90e89e4655412220748bba6584f010de1ca17c0a19fbd01b5c56314f43c7eec329b71884d24f3df93 SHA512 421a6b67372b1b4cac459f6fae7a6e839d96c363f8cb5fa4d38b7c64b53752a9a6ae2c050dd8cc18464475a0601d5451ac51719bd85df9ac40eaebb498a4c23c
|
||||
AUX rsyslog-8.38.0-fix-omprog-output-capture-mt-test.patch 3181 BLAKE2B 13b155367c6b7fed4f82505a884ed23e32223567e5086cb91f733d20c43aa101bbeb169f36f34ed0dff8815687cc5dfe942ec248024aa29a0a07c1eb3ca3e0f4 SHA512 dfc980492bdd3fb7fafedbbde4e79e61d7fb78665f8f0654a877de4f2f4fa93ce2d23051617f90d9712ef795d8164e1d610321b0dd27164d0cb425c8f1a77720
|
||||
AUX rsyslog-8.39.0-fix-liblogging_stdlog-linking.patch 12038 BLAKE2B 4fe26dc0d8e60e2b37272aa0743fadf8d3ceef6937028d8990b84c936efc289948f2c98312c14296c3b5d43966982edfee9bbc53b17df22487fd2711147e2a1a SHA512 580b65c1eb4d551d48203720e9621d7b1371145bdc3c6e8c0d638c686038cb43d436e42ccc5b4223e2b16db040eabcecbd71288f99c90698636d6b6be1517308
|
||||
AUX rsyslog-r1.logrotate 994 BLAKE2B 36dee881c2cb79ce69678c7cb12c71fb70d970e5e10728a8d2b8acf2c08f613cea9c2a74d78ed7b75333147a6b1a553fe281956990e044a9db651c7486690dee SHA512 5ca68b4eec5bebaed48edb69c85f8338273db847ab1cc6999ce7cfe06644dc3854c3040e0ebd8a4900c213b267b2a081e7901ceb4e58f9dfdc7dc036aff02b6c
|
||||
AUX rsyslog.conf 1562 BLAKE2B 3abbc4c13c8c1d3817ac9a7c7f048aa1a8d7f279bf638dc91d15a785ad42c1b34a61de0be33b4ffa218a655849aeceff3e8686384e1d77472417235ce453b546 SHA512 1720174fab020e2de590f3d6bbb03784aca1928fe05f7e75e02fb4597cb8b2ee755e6deb8e8f989060511044ae483f791f496f24e0eecaf27eb9e0b5e20a2c7a
|
||||
AUX rsyslog.confd-r1 1145 BLAKE2B 06e63c7500238dd31abddd105269714387b990a3530ad11443a8502ad68221c3f8e8b0db02ba3ad2b7010483364d36a5b526a461d3465972b74d2cd36ff08747 SHA512 a7f8621bdd490596b09f9a7583dd0c992006c55335b2e6e687bef4141bb18cd4bb43e23f590a138e9c8d5a3cbac0cc46c3b01c7d3ff9f9dd3c53418b13b0dd4a
|
||||
AUX rsyslog.initd-r1 1755 BLAKE2B 768dc0d2bcbf240b7a09e814d681ce65a319cd128ef40b9427edb3bc4def5239415f16b67629de70d61e12dc835a3e8e7049c183f0c667d301919ffa7e6a22e7 SHA512 e6de86a72e11d37427a17e07cebdfc26b5c6108b413d853255108acf3c55882fd79d03ed41c0a6c1a23babd55f2e4bf36e5c7fc3e98c19bc07dc4593cd2a07c3
|
||||
DIST rsyslog-8.35.0.tar.gz 2590108 BLAKE2B e201c1366b8ab96c070829d51de079212e82216a793eb7622aa91c66e2330981de8be547b1ee7f102ed7d8c8de054d58ba151e95238146a61fba8fe908c5f929 SHA512 3b8845fc057147c2dd740b3bb432e7fb101ad60be5c6bc86a2c2796bcd3f3526c617d45b9e8301388d51047a125ca18ba4ac54f8be2a13eabbbe8fb9361beecc
|
||||
DIST rsyslog-8.38.0.tar.gz 2721798 BLAKE2B 578bc9eefce4893a9c1eb54ee7360cd9fa51b3c87ffe07a0fd5b122987f991835f603417243084de0b59286e993ad1c84237e61c44bc18457b3660668421101b SHA512 9dc3bdc4ef01c2af433478e182704694cb50849d811d476a03e4ce03b3c5aecfb506e7f1c1e51fadcd63da60b067d8011b92b8c9354a688fe66f7b6ffd8f9254
|
||||
DIST rsyslog-8.39.0.tar.gz 2721560 BLAKE2B 0680cb31d0a07e5676a5c5626e46fa174b8df08ceec49b514624ff8ffeb750bbf199f73af1d89b9dfad121a292084d75b0a1218fb33138f1d7a149fd730cb3d9 SHA512 f46ead433f703df4af6ddc4bbb178ea145d7d2a35ee7749c32b9889f299ba20c83ed76c246530608198e84fef1f2bf10097344c31d5df38b9e0ae47cf4bee479
|
||||
DIST rsyslog-doc-8.35.0.tar.gz 7427270 BLAKE2B 5441080c07a8398cd5d513ba6abe0335f62762f105354105549f0440c0429c62a4f28a4cc84a71d049bc8134cd64bda2c2210a2f30fd5b94f53e0bc783e7c8d1 SHA512 f78d0451eef789d60f7c5ae1eed46c4a9f7a6ade73b829f65aa2373aa786b00e84e8957089532b1b652838bd9f62b41d92530276a0d27e21b8e94d5f0e4728a6
|
||||
DIST rsyslog-8.40.0.tar.gz 2726022 BLAKE2B 33f7f2018200a20b01dbfabeeab592aa09d530edd313bb13f16c47cf3f67aebd9c465af3f1e468ca3d352cd83e4f4eee567c6fd54bbaee1723bee56f4631b440 SHA512 3d5d4f92e37ad9bf3767d5d7fc87fcb7956656f676a9495c78abd12fe9072ec8763b50543b198308a71d5d919721fb9b84b6725dd83a9d9b8a1639d81382c0dd
|
||||
DIST rsyslog-doc-8.38.0.tar.gz 7662314 BLAKE2B 57a121950a3f6630e4736a1ff998e93b543389107d146ddb148ecd2702bb208d21a7f4d77f2fd958f2a56e092341fc6a24ed1cc80a910cb1adb54c65b5b2da04 SHA512 e28a09ae2fcddc711d2cfd31207c9862192598e49964a47b41fc8fa3ae5b1e08b7e2589fb5af859d58d4bf028574eb56cac6514401aa56cb482fa1166863e6a5
|
||||
DIST rsyslog-doc-8.39.0.tar.gz 7674833 BLAKE2B 1526e0637c3ab9846f447dcea48efbfd17aa517c2fc875c46ac190428db6aa2a0f81f8aaed6e5b0b6991a5c13f45bc818be76c0fe4444c0eb45628ebf48b4956 SHA512 a6d09d384616a264fdf6e09fa0f61bd82a42340bac426d93119e11158f293dd58f894623aca30f2137e51bf701531f07938d014c9b8ec97d0a796447de3089de
|
||||
EBUILD rsyslog-8.35.0-r1.ebuild 11935 BLAKE2B 7676414e42d9bdb9ce830eb8a5ed9c1899ccdac7e02f3eebc07a577418d746444694708c54b60f8238675ff15759f9d3ddbfd955721f30c6376d4b598289f4db SHA512 59d1a05886ad9a11776018a10f6ffbabd34422f6d2b1818af8c0781bfa9a5d1576499ead1477840372f8d4e1e357bb5d48ad8696bc7994c29971e1547d58b0ba
|
||||
EBUILD rsyslog-8.38.0-r1.ebuild 12301 BLAKE2B 11939b6c2c2ef756a4a34e27fd27a4b4a6f427752e5208187c54bf31d52c0ec1d118d50beed0c2790f2e050d072e306939d0d71bcb6f8b88e0445349521c8fa2 SHA512 8ee8e3900cabc8e3d3a975172bb9059cb62967454aaf8a2e4493c32c608887a7ec2643b9913a994add69b01571e7947321906274d1983ccbdc19ba1c0e8be392
|
||||
DIST rsyslog-doc-8.40.0.tar.gz 7709769 BLAKE2B cda3bbd005120e7100bb36cf4c0f99d3a037525c5451ead5957f4dfe06eaceeba8fb2e266f53203bee6fae97898774ee17862a52ca1dae99aeb3534bbfadcd60 SHA512 2e2f37336948984a8cf0e098eb46e61fe4de6366d63a98204ecd558f4e21b7c1f222659f7bdecdd22e0a61d34c442b4734dbe72a72e8716c768a900b954d473f
|
||||
EBUILD rsyslog-8.38.0-r1.ebuild 12300 BLAKE2B d2be5bc55410d9b948d57dcd0830a9257d42210d6b0d5b5ffbbbd4df6e5ca2100e8cc48758116a8dd2940c5c8afb7f260c7e05640a973c6de63073c24263e748 SHA512 cb0ccef3059f25968364ccf9b2178c91606bf094fa41061610d1aee8b76a8a9d8de3b1a74635bd401fc5afbd12896d9dcf6feaac8831f39ebf0eb803807b1ca6
|
||||
EBUILD rsyslog-8.39.0.ebuild 12376 BLAKE2B 4ebe6f27923bbef93b9ce8350f233d752bd52bfa70b36160677be73d7afd88308cd7b5a25732f0f34a0c0de327fa99f0a6a6dfe076896f519de3eb4257a09e7d SHA512 dab6fd2e8f6ab9b4725b3d9a3068c3c450a7d40cfc52874b7218e8043d4f4edf6ca5261b1410926b311f5506d67d6ed58241410d68c739938968735f82d9ca8d
|
||||
EBUILD rsyslog-8.40.0.ebuild 12307 BLAKE2B 86fb76872ab741a2e9a81362ad3b320bcc5f4ec1b8860e869b16a8be5407a9cd1c781d0394198ccd9a091c5e293a2b5cfcb73f86836c7edad38c4d7c0d31fd48 SHA512 5e696907920214b51508a33dd674f34e00494903eb8096412a4a38e36ab87890e83d4198e2e13d6106f1301263149354e66b4d6a3e615adb07dd38dfe140ad68
|
||||
MISC metadata.xml 3863 BLAKE2B b6b20eda59279463db8ced1764012aad3197c67cdaee5993294181ac7cd956485f16e9e557664af35ac65adc725f028cb68225e5419af4fa289d2d363f1bd9ea SHA512 3a382d17acaf29b1787c2b351ee5fc2a830738ecf6dc7967462ee5ae15596058123f933c7380feafd956fef4c375fa50b26cf68a21d9cce60003dc9de1712138
|
||||
|
@ -1,241 +0,0 @@
|
||||
Add missing files for mmkubernetes tests
|
||||
|
||||
Upstream bug: https://github.com/rsyslog/rsyslog/pull/2719
|
||||
|
||||
--- /dev/null
|
||||
+++ b/tests/mmkubernetes-basic.out.json
|
||||
@@ -0,0 +1,110 @@
|
||||
+[{
|
||||
+ "kubernetes": {
|
||||
+ "namespace_id": "namespace-name2-id",
|
||||
+ "namespace_labels": {
|
||||
+ "label_1_key": "label 1 value",
|
||||
+ "label_with_empty_value": "",
|
||||
+ "label_2_key": "label 2 value"
|
||||
+ },
|
||||
+ "creation_timestamp": "2018-04-09T21:56:39Z",
|
||||
+ "pod_id": "pod-name2-id",
|
||||
+ "labels": {
|
||||
+ "custom_label": "pod-name2-label-value",
|
||||
+ "deploymentconfig": "pod-name2-dc",
|
||||
+ "component": "pod-name2-component",
|
||||
+ "label_with_empty_value": "",
|
||||
+ "deployment": "pod-name2-deployment"
|
||||
+ },
|
||||
+ "pod_name": "pod-name2",
|
||||
+ "namespace_name": "namespace-name2",
|
||||
+ "container_name": "container-name2",
|
||||
+ "master_url": "http://localhost:18443"
|
||||
+ },
|
||||
+ "docker": {
|
||||
+ "container_id": "id2"
|
||||
+ }
|
||||
+},
|
||||
+{
|
||||
+ "message": "a message from container 4",
|
||||
+ "CONTAINER_NAME": "some-prefix_container-name4_pod-name4_namespace-name4_unused4_unused44",
|
||||
+ "CONTAINER_ID_FULL": "id4",
|
||||
+ "kubernetes": {
|
||||
+ "namespace_id": "namespace-name4-id",
|
||||
+ "namespace_labels": {
|
||||
+ "label_1_key": "label 1 value",
|
||||
+ "label_with_empty_value": "",
|
||||
+ "label_2_key": "label 2 value"
|
||||
+ },
|
||||
+ "creation_timestamp": "2018-04-09T21:56:39Z",
|
||||
+ "pod_id": "pod-name4-id",
|
||||
+ "labels": {
|
||||
+ "custom_label": "pod-name4-label-value",
|
||||
+ "deploymentconfig": "pod-name4-dc",
|
||||
+ "component": "pod-name4-component",
|
||||
+ "label_with_empty_value": "",
|
||||
+ "deployment": "pod-name4-deployment"
|
||||
+ },
|
||||
+ "pod_name": "pod-name4",
|
||||
+ "namespace_name": "namespace-name4",
|
||||
+ "container_name": "container-name4",
|
||||
+ "master_url": "http://localhost:18443"
|
||||
+ },
|
||||
+ "docker": {
|
||||
+ "container_id": "id4"
|
||||
+ }
|
||||
+},
|
||||
+{
|
||||
+ "kubernetes": {
|
||||
+ "namespace_id": "namespace-name1-id",
|
||||
+ "namespace_labels": {
|
||||
+ "label_1_key": "label 1 value",
|
||||
+ "label_with_empty_value": "",
|
||||
+ "label_2_key": "label 2 value"
|
||||
+ },
|
||||
+ "creation_timestamp": "2018-04-09T21:56:39Z",
|
||||
+ "pod_id": "pod-name1-id",
|
||||
+ "labels": {
|
||||
+ "custom_label": "pod-name1-label-value",
|
||||
+ "deploymentconfig": "pod-name1-dc",
|
||||
+ "component": "pod-name1-component",
|
||||
+ "label_with_empty_value": "",
|
||||
+ "deployment": "pod-name1-deployment"
|
||||
+ },
|
||||
+ "pod_name": "pod-name1",
|
||||
+ "namespace_name": "namespace-name1",
|
||||
+ "container_name": "container-name1",
|
||||
+ "master_url": "http://localhost:18443"
|
||||
+ },
|
||||
+ "docker": {
|
||||
+ "container_id": "id1"
|
||||
+ }
|
||||
+},
|
||||
+{
|
||||
+ "message": "a message from container 3",
|
||||
+ "CONTAINER_NAME": "some-prefix_container-name3.container-hash3_pod-name3_namespace-name3_unused3_unused33",
|
||||
+ "CONTAINER_ID_FULL": "id3",
|
||||
+ "kubernetes": {
|
||||
+ "namespace_id": "namespace-name3-id",
|
||||
+ "namespace_labels": {
|
||||
+ "label_1_key": "label 1 value",
|
||||
+ "label_with_empty_value": "",
|
||||
+ "label_2_key": "label 2 value"
|
||||
+ },
|
||||
+ "creation_timestamp": "2018-04-09T21:56:39Z",
|
||||
+ "pod_id": "pod-name3-id",
|
||||
+ "labels": {
|
||||
+ "custom_label": "pod-name3-label-value",
|
||||
+ "deploymentconfig": "pod-name3-dc",
|
||||
+ "component": "pod-name3-component",
|
||||
+ "label_with_empty_value": "",
|
||||
+ "deployment": "pod-name3-deployment"
|
||||
+ },
|
||||
+ "pod_name": "pod-name3",
|
||||
+ "namespace_name": "namespace-name3",
|
||||
+ "container_name": "container-name3",
|
||||
+ "master_url": "http://localhost:18443"
|
||||
+ },
|
||||
+ "docker": {
|
||||
+ "container_id": "id3"
|
||||
+ }
|
||||
+}]
|
||||
--- /dev/null
|
||||
+++ b/tests/mmkubernetes_test_server.py
|
||||
@@ -0,0 +1,121 @@
|
||||
+# Used by the mmkubernetes tests
|
||||
+# This is a simple http server which responds to kubernetes api requests
|
||||
+# and responds with kubernetes api server responses
|
||||
+# added 2018-04-06 by richm, released under ASL 2.0
|
||||
+import os
|
||||
+import json
|
||||
+import sys
|
||||
+
|
||||
+try:
|
||||
+ from http.server import HTTPServer, BaseHTTPRequestHandler
|
||||
+except ImportError:
|
||||
+ from BaseHTTPServer import HTTPServer, BaseHTTPRequestHandler
|
||||
+
|
||||
+ns_template = '''{{
|
||||
+ "kind": "Namespace",
|
||||
+ "apiVersion": "v1",
|
||||
+ "metadata": {{
|
||||
+ "name": "{namespace_name}",
|
||||
+ "selfLink": "/api/v1/namespaces/{namespace_name}",
|
||||
+ "uid": "{namespace_name}-id",
|
||||
+ "resourceVersion": "2988",
|
||||
+ "creationTimestamp": "2018-04-09T21:56:39Z",
|
||||
+ "labels": {{
|
||||
+ "label.1.key":"label 1 value",
|
||||
+ "label.2.key":"label 2 value",
|
||||
+ "label.with.empty.value":""
|
||||
+ }},
|
||||
+ "annotations": {{
|
||||
+ "k8s.io/description": "",
|
||||
+ "k8s.io/display-name": "",
|
||||
+ "k8s.io/node-selector": "",
|
||||
+ "k8s.io/sa.scc.mcs": "s0:c9,c4",
|
||||
+ "k8s.io/sa.scc.supplemental-groups": "1000080000/10000",
|
||||
+ "k8s.io/sa.scc.uid-range": "1000080000/10000",
|
||||
+ "quota.k8s.io/cluster-resource-override-enabled": "false"
|
||||
+ }}
|
||||
+ }},
|
||||
+ "spec": {{
|
||||
+ "finalizers": [
|
||||
+ "openshift.io/origin",
|
||||
+ "kubernetes"
|
||||
+ ]
|
||||
+ }},
|
||||
+ "status": {{
|
||||
+ "phase": "Active"
|
||||
+ }}
|
||||
+}}'''
|
||||
+
|
||||
+pod_template = '''{{
|
||||
+ "kind": "Pod",
|
||||
+ "apiVersion": "v1",
|
||||
+ "metadata": {{
|
||||
+ "name": "{pod_name}",
|
||||
+ "generateName": "{pod_name}-prefix",
|
||||
+ "namespace": "{namespace_name}",
|
||||
+ "selfLink": "/api/v1/namespaces/{namespace_name}/pods/{pod_name}",
|
||||
+ "uid": "{pod_name}-id",
|
||||
+ "resourceVersion": "3486",
|
||||
+ "creationTimestamp": "2018-04-09T21:56:39Z",
|
||||
+ "labels": {{
|
||||
+ "component": "{pod_name}-component",
|
||||
+ "deployment": "{pod_name}-deployment",
|
||||
+ "deploymentconfig": "{pod_name}-dc",
|
||||
+ "custom.label": "{pod_name}-label-value",
|
||||
+ "label.with.empty.value":""
|
||||
+ }},
|
||||
+ "annotations": {{
|
||||
+ "k8s.io/deployment-config.latest-version": "1",
|
||||
+ "k8s.io/deployment-config.name": "{pod_name}-dc",
|
||||
+ "k8s.io/deployment.name": "{pod_name}-deployment",
|
||||
+ "k8s.io/custom.name": "custom value",
|
||||
+ "annotation.with.empty.value":""
|
||||
+ }}
|
||||
+ }},
|
||||
+ "status": {{
|
||||
+ "phase": "Running",
|
||||
+ "hostIP": "172.18.4.32",
|
||||
+ "podIP": "10.128.0.14",
|
||||
+ "startTime": "2018-04-09T21:57:39Z"
|
||||
+ }}
|
||||
+}}'''
|
||||
+
|
||||
+class SimpleHTTPRequestHandler(BaseHTTPRequestHandler):
|
||||
+
|
||||
+ def do_GET(self):
|
||||
+ # "http://localhost:18443/api/v1/namespaces/namespace-name2"
|
||||
+ # parse url - either /api/v1/namespaces/$ns_name
|
||||
+ # or
|
||||
+ # /api/v1/namespaces/$ns_name/pods/$pod_name
|
||||
+ comps = self.path.split('/')
|
||||
+ status = 400
|
||||
+ if len(comps) >= 5 and comps[1] == 'api' and comps[2] == 'v1':
|
||||
+ if len(comps) == 5 and comps[3] == 'namespaces': # namespace
|
||||
+ resp = ns_template.format(namespace_name=comps[4])
|
||||
+ status = 200
|
||||
+ elif len(comps) == 7 and comps[3] == 'namespaces' and comps[5] == 'pods':
|
||||
+ resp = pod_template.format(namespace_name=comps[4], pod_name=comps[6])
|
||||
+ status = 200
|
||||
+ else:
|
||||
+ resp = '{{"error":"do not recognize {0}"}}'.format(self.path)
|
||||
+ else:
|
||||
+ resp = '{{"error":"do not recognize {0}"}}'.format(self.path)
|
||||
+ if not status == 200:
|
||||
+ self.log_error(resp)
|
||||
+ self.send_response(status)
|
||||
+ self.end_headers()
|
||||
+ self.wfile.write(json.dumps(json.loads(resp), separators=(',',':')))
|
||||
+
|
||||
+port = int(sys.argv[1])
|
||||
+
|
||||
+httpd = HTTPServer(('localhost', port), SimpleHTTPRequestHandler)
|
||||
+
|
||||
+# write "started" to file named in argv[3]
|
||||
+with open(sys.argv[3], "w") as ff:
|
||||
+ ff.write("started\n")
|
||||
+
|
||||
+# write pid to file named in argv[2]
|
||||
+with open(sys.argv[2], "w") as ff:
|
||||
+ ff.write('{0}\n'.format(os.getpid()))
|
||||
+
|
||||
+httpd.serve_forever()
|
@ -1,41 +0,0 @@
|
||||
From c1791ee90fdd8adf219ae3d2b849f5f041284b7c Mon Sep 17 00:00:00 2001
|
||||
From: Rich Megginson <rmeggins@redhat.com>
|
||||
Date: Thu, 17 May 2018 18:38:25 -0600
|
||||
Subject: [PATCH] mmkubernetes test python must encode response
|
||||
|
||||
https://github.com/rsyslog/rsyslog/issues/2721
|
||||
Was not working on python3 - must use `encode()` to convert the
|
||||
string to a `bytes` object.
|
||||
Also run the server with python -u to make sure we get the log
|
||||
output from the kubernetes test server.
|
||||
---
|
||||
tests/mmkubernetes-basic.sh | 2 +-
|
||||
tests/mmkubernetes_test_server.py | 2 +-
|
||||
2 files changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/tests/mmkubernetes-basic.sh b/tests/mmkubernetes-basic.sh
|
||||
index 0bbfd08ca..d320c343f 100755
|
||||
--- a/tests/mmkubernetes-basic.sh
|
||||
+++ b/tests/mmkubernetes-basic.sh
|
||||
@@ -4,7 +4,7 @@
|
||||
. $srcdir/diag.sh init
|
||||
|
||||
testsrv=mmk8s-test-server
|
||||
-python ./mmkubernetes_test_server.py 18443 rsyslog${testsrv}.pid rsyslogd${testsrv}.started > mmk8s_srv.log 2>&1 &
|
||||
+python -u ./mmkubernetes_test_server.py 18443 rsyslog${testsrv}.pid rsyslogd${testsrv}.started > mmk8s_srv.log 2>&1 &
|
||||
BGPROCESS=$!
|
||||
. $srcdir/diag.sh wait-startup $testsrv
|
||||
echo background mmkubernetes_test_server.py process id is $BGPROCESS
|
||||
diff --git a/tests/mmkubernetes_test_server.py b/tests/mmkubernetes_test_server.py
|
||||
index 0de215603..24f4e1b0e 100644
|
||||
--- a/tests/mmkubernetes_test_server.py
|
||||
+++ b/tests/mmkubernetes_test_server.py
|
||||
@@ -104,7 +104,7 @@ def do_GET(self):
|
||||
self.log_error(resp)
|
||||
self.send_response(status)
|
||||
self.end_headers()
|
||||
- self.wfile.write(json.dumps(json.loads(resp), separators=(',',':')))
|
||||
+ self.wfile.write(json.dumps(json.loads(resp), separators=(',',':')).encode())
|
||||
|
||||
port = int(sys.argv[1])
|
||||
|
Binary file not shown.
@ -0,0 +1,3 @@
|
||||
DIST hey-0.1.1_p20181017.tar.gz 446212 BLAKE2B b8d55e4f7efb34634b81b5301617c84aea66cb1fdbe973d45317a309b845d4503331618688feeaef2bb9effa82f6d155b68b813a4b5b4f17149245cb7f15b2ec SHA512 ccaf4ca2025ce4cbe10cbeb5d7a43903d7e15fdc20ed9623795bd3c11b0df510c3b51749c5e63502fb0fd3153f18a7d1b65297b11631b5889f719d0619602604
|
||||
EBUILD hey-0.1.1_p20181017.ebuild 806 BLAKE2B 9f368bb57f6cf1eae82537c2ca344657829da386485093ef4541f5920a38789fb0dfc2b38c465c49ff1cfd0cdde6479d1f6816e8a05bfe69204b83251a516fe2 SHA512 7424c980cbd992f95da20b81546caa0190f1da4ce27bcd460edfc0832926f7651cfd05cf50bc747fad081b32373b7d8a33642096d1f6604da99f81f6e16dcb1e
|
||||
MISC metadata.xml 293 BLAKE2B 02d2186b0c437f4e4b8627c62859ab58035c8084a9150562f92a54374b55a091984a25573b2d7baf0ab21319556452a80f572b3c62d895c5cb9cd0bfa9763f2a SHA512 523be217cb99d6caa758df2bd2a13f8aec17c19e1e58053fc70d4d598bdff4292b1c98555c3e69a319687981bd128aec5961558e40c771f55e3082c5ed13ea75
|
@ -0,0 +1,32 @@
|
||||
# Copyright 1999-2018 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
EGO_SRC="github.com/rakyll/hey"
|
||||
EGO_PN=${EGO_SRC}/...
|
||||
EGIT_COMMIT="01803349acd49d756dafa2cb6ac5b5bfc141fc3b"
|
||||
|
||||
inherit golang-build golang-vcs-snapshot
|
||||
|
||||
DESCRIPTION="HTTP load generator, ApacheBench (ab) replacement, formerly known as rakyll/boom"
|
||||
HOMEPAGE="https://github.com/rakyll/hey"
|
||||
SRC_URI="https://${EGO_SRC}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
RESTRICT="test"
|
||||
IUSE=""
|
||||
DEPEND=""
|
||||
RDEPEND=""
|
||||
S=${WORKDIR}/${P}/src/${EGO_SRC}
|
||||
|
||||
src_compile() {
|
||||
GOPATH="${WORKDIR}/${P}" GOBIN="${WORKDIR}/${P}/bin" \
|
||||
go install -v -work -x ${EGO_BUILD_FLAGS} "${EGO_PN}" || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin "${WORKDIR}/${P}/bin"/*
|
||||
dodoc README.md
|
||||
}
|
Binary file not shown.
@ -0,0 +1,43 @@
|
||||
# Copyright 1999-2018 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
EGO_PN="github.com/google/cadvisor"
|
||||
|
||||
inherit user golang-build golang-vcs-snapshot
|
||||
SRC_URI="https://${EGO_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
COMMIT="8949c82"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
DESCRIPTION="Analyzes resource usage and performance characteristics of running containers"
|
||||
HOMEPAGE="https://github.com/google/cadvisor"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup ${PN}
|
||||
enewuser ${PN} -1 -1 /dev/null ${PN}
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
sed -i -e "/go get/d" src/${EGO_PN}/build/assets.sh || die
|
||||
sed -i -e "s/git describe.*/echo ${PV} )/"\
|
||||
-e "s/git rev-parse --short HEAD.*/echo ${COMMIT} )/"\
|
||||
src/${EGO_PN}/build/build.sh || die
|
||||
default
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
pushd "src/${EGO_PN}"
|
||||
GO_FLAGS="-v -work -x" VERBOSE="true" GOPATH="${S}:$(get_golibdir_gopath)" emake build
|
||||
popd || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
newinitd "${FILESDIR}"/${PN}.initd ${PN}
|
||||
dobin src/${EGO_PN}/${PN}
|
||||
keepdir /var/log/${PN}
|
||||
fowners ${PN}:${PN} /var/log/${PN}
|
||||
}
|
@ -0,0 +1,56 @@
|
||||
# Copyright 1999-2018 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
EGO_PN="github.com/containerd/${PN}"
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
if [[ ${PV} == *9999 ]]; then
|
||||
inherit golang-vcs
|
||||
else
|
||||
MY_PV="${PV/_rc/-rc.}"
|
||||
EGIT_COMMIT="v${MY_PV}"
|
||||
CONTAINERD_COMMIT="9b32062dc1f5a7c2564315c269b5059754f12b9d"
|
||||
SRC_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64"
|
||||
inherit golang-vcs-snapshot
|
||||
fi
|
||||
|
||||
DESCRIPTION="A daemon to control runC"
|
||||
HOMEPAGE="https://containerd.tools"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
IUSE="apparmor +btrfs +cri hardened +seccomp"
|
||||
|
||||
DEPEND="btrfs? ( sys-fs/btrfs-progs )
|
||||
seccomp? ( sys-libs/libseccomp )"
|
||||
RDEPEND=">=app-emulation/runc-1.0.0_rc5
|
||||
seccomp? ( sys-libs/libseccomp )"
|
||||
|
||||
S=${WORKDIR}/${P}/src/${EGO_PN}
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
if [[ ${PV} != *9999* ]]; then
|
||||
sed -i -e "s/git describe --match.*$/echo ${PV})/"\
|
||||
-e "s/git rev-parse HEAD.*$/echo $CONTAINERD_COMMIT)/"\
|
||||
-e "s/-s -w//" \
|
||||
Makefile || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local options=( $(usex btrfs "" "no_btrfs") $(usex cri "" "no_cri") $(usex seccomp "seccomp" "") $(usex apparmor "apparmor" "") )
|
||||
export GOPATH="${WORKDIR}/${P}" # ${PWD}/vendor
|
||||
LDFLAGS=$(usex hardened '-extldflags -fno-PIC' '') BUILDTAGS="${options[@]}" emake
|
||||
}
|
||||
|
||||
src_install() {
|
||||
newinitd "${FILESDIR}"/${PN}.initd ${PN}
|
||||
dodir /var/lib/containerd
|
||||
dobin bin/containerd{-shim,-stress,} bin/ctr
|
||||
}
|
@ -1,5 +1,5 @@
|
||||
DIST VBoxGuestAdditions_5.2.22.iso 58013696 BLAKE2B 196f0048b685200328bcf753f3df23eac6477ce863885e93a54951795368bf62bdaa497589001ec203d75809b1f74ebbaa80419406d26bc7db43a131f5b9d698 SHA512 b320174b2f2ef796ac2c9c920579be38f0cedaa037d21992863ac355ecf6e99ae2aea56c70fb2034e9e03afac2cd7297f7717b447a6981701755593110164d37
|
||||
DIST VBoxGuestAdditions_6.0.0_BETA3.iso 73289728 BLAKE2B f399c4701c6c856c40babd81869816e43e3e954a3d2b12f1662503782caf68b09904f5511a5e8776831aa1a1049cdf0c19ccbc7cbb86ac4fa615f240c29aea3c SHA512 49eaca8334819f36edcfcf7d9070c0ea77db273bcb9e6053eea84a90ca3c7d04aef8129fbc0d41c14b4e26d64b1e9212b0efbe549f38ddd03d362429333e0475
|
||||
DIST VBoxGuestAdditions_6.0.0_RC1.iso 75374592 BLAKE2B 0315af8f8eb7925ed5f5ade204ebdbd85c175bd43013ca878bce88a589c972651aa04ed1ac0f70f0d5c535c10ff760fd8fa4534b256b1e866f51a8e614ccd0ba SHA512 092fc44442f45ebcf8352dac2766522e32899a9f1e37413cae841178fd776f7fe47d045e65679bd7d14eac50c3d6508a27174b52beae89da0e8a0399451a58e6
|
||||
EBUILD virtualbox-additions-5.2.22.ebuild 710 BLAKE2B 1dfdfb7943723926e5d78af8a313f1faa238b1fe09a097ae2ba9b722d78fc205d0928817d416a3012b92ceb32e269d348f3b778b562c07f82a55d3518ff2b8de SHA512 0b0506759c3a98953082ae8babd433522454ade47af62984eefffb1cd37b860ca3423e04386cef219533bd01fd8109c2b2b1ec29aacc82a8228115717e49e8ae
|
||||
EBUILD virtualbox-additions-6.0.0_beta3.ebuild 768 BLAKE2B 5f69263610ef425399c0fab670ec4341c642b25cc572f3282177958c299d2587b01a0ce85aa5b358dd57deb7a5485ddb92b3783c28f0e30b0fbf91359c5c3dc7 SHA512 aaea93c1a095efa4ad23b9bbc2e9b08b4f0280ada15c69828a2cb740bb355435684388b2d48a73984dab9ef1003ed6dc059d69e42c1a813086248eb714fd2877
|
||||
EBUILD virtualbox-additions-6.0.0_rc1.ebuild 768 BLAKE2B 5f69263610ef425399c0fab670ec4341c642b25cc572f3282177958c299d2587b01a0ce85aa5b358dd57deb7a5485ddb92b3783c28f0e30b0fbf91359c5c3dc7 SHA512 aaea93c1a095efa4ad23b9bbc2e9b08b4f0280ada15c69828a2cb740bb355435684388b2d48a73984dab9ef1003ed6dc059d69e42c1a813086248eb714fd2877
|
||||
MISC metadata.xml 260 BLAKE2B 55d9eb1793faf23ffb69c904a9daf755cefe1b1e04fc2331e792a81acc1b699591acb85e005a96e70167e4eba8444e0cfc8f03be4fcdc19487ad6b1cea356f4a SHA512 443c9c27369b12fa4d23ac7e9add34dbf93b54d560ca946dac97801698b79401a80d88c6570530e641ad4f7231a8c1419682e1e11af2b171ca2854c598e05635
|
||||
|
@ -1,5 +1,5 @@
|
||||
DIST Oracle_VM_VirtualBox_Extension_Pack-5.2.22-126460.tar.gz 19640932 BLAKE2B 162ab40da6b2cd30d00e020666a1f4fb026e29af2ca9d6c36c294e5fa299b61ab8fd147f24d2b500426c768808db2c7693c30e88519e695d7759f8eedf1c52c5 SHA512 85b8552668b6580bea24f051ad861c82b9ba32177fb7fa37fe2980d8bab32a84325d02bfa9c8f55c2021a4000ef2546d8996ca8b99ca7fc19f8281a92108dfb0
|
||||
DIST Oracle_VM_VirtualBox_Extension_Pack-6.0.0_BETA3-127054.tar.gz 23311292 BLAKE2B bf5ae284691fb1fef1f845d47cc61b9a9bc28affe1131424a56331d1364c7611f9058be731de76057ca61e404e8faf5ea026bd245191533b367cecccb3e55dbf SHA512 e49429f7205a9e2d69d3a80ecbd3b36d96a5a343c3d6b9066f231827bf3d58040c6cb4e00701f8d61c004e442ef06328495d26969109bb64ce1b08f350769d1f
|
||||
DIST Oracle_VM_VirtualBox_Extension_Pack-6.0.0_RC1-127378.tar.gz 23311613 BLAKE2B 4846abf409305aff1f08b8a02b3b54e2e1a986efede882ee6e7fe339cef569ea9b2d7dc6c8b5fd5267e64714f9a67b3da857dbb21b6cc26d7badb1d889054ee5 SHA512 bc9c19591cb98bf2c3372bdd4fc90be55c46c7c840e18c73bca063665806df570d77e5ef3c81910334b971eb360b0fa41f2602d6ddf5ad8dfda3a41362450748
|
||||
EBUILD virtualbox-extpack-oracle-5.2.22.126460.ebuild 1005 BLAKE2B b351b31f86d398933afbb8961b07050c9c1d4915eb1679a2a01db45dd6d55bc88ff832add19e2bb1b71731022a180e46830458a18489c0bfed9b9828ea438cbc SHA512 c3aadd73eaefa8c3283eb84a10c53da0d9ebb0e03e86baaea25170f9728b131f093cc14a531d83180072c4692cf62d55ffc7be073bdff03b16d69d37430a2784
|
||||
EBUILD virtualbox-extpack-oracle-6.0.0.127054_beta3.ebuild 1065 BLAKE2B 5aa610967f7fff026a9dc48d093376fdf6df0d8fb330faf9604eb8799149ae33a8c7a85071236be49285a05f618a59819d16a8a8f977da897433c44eb7e1cf33 SHA512 17910c0b5fdc745a3013fdcb791fd4f99cf7b5b85fceda8a116fe4f75a02de3087d28ded850de257ec55e6252d68f27a337fb4fa2a993755bc2184d2e98e5a6e
|
||||
EBUILD virtualbox-extpack-oracle-6.0.0.127378_rc1.ebuild 1065 BLAKE2B 5aa610967f7fff026a9dc48d093376fdf6df0d8fb330faf9604eb8799149ae33a8c7a85071236be49285a05f618a59819d16a8a8f977da897433c44eb7e1cf33 SHA512 17910c0b5fdc745a3013fdcb791fd4f99cf7b5b85fceda8a116fe4f75a02de3087d28ded850de257ec55e6252d68f27a337fb4fa2a993755bc2184d2e98e5a6e
|
||||
MISC metadata.xml 260 BLAKE2B 55d9eb1793faf23ffb69c904a9daf755cefe1b1e04fc2331e792a81acc1b699591acb85e005a96e70167e4eba8444e0cfc8f03be4fcdc19487ad6b1cea356f4a SHA512 443c9c27369b12fa4d23ac7e9add34dbf93b54d560ca946dac97801698b79401a80d88c6570530e641ad4f7231a8c1419682e1e11af2b171ca2854c598e05635
|
||||
|
@ -1,4 +1,4 @@
|
||||
DIST vkd3d-1.0.tar.xz 461884 BLAKE2B 4dbd729f9e795d3d81178abc1a8774c0bbe6a5257c96c97acf1e4b4cdb5b7e30c77235e8b8fa57f7db3196caf30c55c3b0c07e2981629dd6177436a3cd117d33 SHA512 55712528688cdedc63049e168b371b470dbb8e31ddc36d8b23b0655f4a061726eb8556b9abf3cb887f6bd21379959aed9fab93ba0fd53813aec413ebec71d615
|
||||
EBUILD vkd3d-1.0.ebuild 1008 BLAKE2B cd9d65a6a8b0bf9d8d78fdac4f4a1c92f65f4492b88f0f05552c6e2244c495a4a3cb68a620173844bfa9aae3ebc05eb9efc28d8429a617fb226d37dae390b3fc SHA512 330c7dd9e298c11575929f8d9c6db51ab509ba87505af0317ab5cf08ce5ca9061262e3f677f0cafa195212e91b93a925c753028dd15a83147c810d64dd07ce84
|
||||
EBUILD vkd3d-9999.ebuild 1008 BLAKE2B cd9d65a6a8b0bf9d8d78fdac4f4a1c92f65f4492b88f0f05552c6e2244c495a4a3cb68a620173844bfa9aae3ebc05eb9efc28d8429a617fb226d37dae390b3fc SHA512 330c7dd9e298c11575929f8d9c6db51ab509ba87505af0317ab5cf08ce5ca9061262e3f677f0cafa195212e91b93a925c753028dd15a83147c810d64dd07ce84
|
||||
EBUILD vkd3d-1.0.ebuild 926 BLAKE2B 414506ab4d6f240d57ca56e6e3ac080722d2bd375db9c790089ca310ff6340af1d5cd33185af795cdd581405d93f19610b1026087eedd358a3769159b29d4eb1 SHA512 29625db76407d29252f534b11296f0d3df7dcdbc567c9a0e0201765ee75370b28bf9098e96752e128ec4533209eef8dd0bf1f3000f818b5c97bdf12a32404466
|
||||
EBUILD vkd3d-9999.ebuild 926 BLAKE2B 414506ab4d6f240d57ca56e6e3ac080722d2bd375db9c790089ca310ff6340af1d5cd33185af795cdd581405d93f19610b1026087eedd358a3769159b29d4eb1 SHA512 29625db76407d29252f534b11296f0d3df7dcdbc567c9a0e0201765ee75370b28bf9098e96752e128ec4533209eef8dd0bf1f3000f818b5c97bdf12a32404466
|
||||
MISC metadata.xml 562 BLAKE2B 2409531d0bc65f547844ae83bfd7aaea4d996f2cdf11ebbf7e95775465d4bed916a39a38a0aae0c6df91a417df484ecaf63b29ea4286fdcfd11b07c8177e3496 SHA512 2150c80fd4315d922521b43c650012008864b3ed1ff7d80e43622ad916e52411c6ef855b46693f96165e9d89fd6a6f18cdc88baab13bec9f7053c0c1795bcd71
|
||||
|
@ -1,3 +0,0 @@
|
||||
DIST vpcs-0.6-src.tbz 131820 BLAKE2B de9216360bf666eed1b94ce4101fd47fac78845bba4c882d4855eae48652c61efc549b01968faab7212cff60bafe2b1586ede51c3be33bd5419834da13fca928 SHA512 a740f264551de9e8dd95de2fbba444d9525f63c4c5473aea6cf1016c99d7866f3d0623f9f934bda7a0b565c23179647734c400ce3bb685fdab8ec6c35f25d671
|
||||
EBUILD vpcs-0.6.ebuild 938 BLAKE2B bc78d5fd4fa8a3b5a2dd9931be491f16ab79292ae0dfb2d5a4311ce742c83a7c8f01b06bdd11fde0d7fdb7ac26da83e2bbe353e8008d4cb5905eea3791f63f0f SHA512 8472f2a22a93f1c6b65421c316e528eb57e3b25210324b700e23f828ca27a85c5eff305401b330d512243afcd0ee97cef530a8b373bcf674b01fec1e08de5160
|
||||
MISC metadata.xml 241 BLAKE2B 2cc47e12ef61022b2dbc00904091b1e35dbbeb5c4ab35dc697ae06adfc7e78782065e35b1ebebe2779f180b2b573dad22ba516a393f47c3e26e1be2ad6a3d65c SHA512 edc53eaf933b709bb0a2e8507209a85cc3901ce6e4db3bf40e061a01ece0e4b0f83d30b93b2131316c802def4a08081a5ac3b3606624271184680421b7f0323b
|
@ -1,8 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<!-- maintainer-needed -->
|
||||
<upstream>
|
||||
<remote-id type="sourceforge">gns-3</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -1,44 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
DESCRIPTION="Simulate up to 9 PCs in place of VMware boxes in a Dynamips network"
|
||||
HOMEPAGE="http://vpcs.sourceforge.net"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${PV}/${P}-src.tbz"
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND=""
|
||||
|
||||
S="${S}/src/"
|
||||
|
||||
src_prepare() {
|
||||
# move Makefile in place
|
||||
cp Makefile.linux Makefile
|
||||
|
||||
# replace hardcoded CFLAGS with user set CFLAGS
|
||||
# append -fno-strict-aliasing to CFLAGS to suppress QA issues from upstream
|
||||
# add user $LDFLAGS in the front and remove -s that strips binary
|
||||
sed -e "s/-D\$(CPUTYPE)/${CFLAGS} -fno-strict-aliasing/" \
|
||||
-e "s/^LDFLAGS=/LDFLAGS=${LDFLAGS} /" \
|
||||
-e "s/-s //" \
|
||||
-i Makefile || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake CC=$(tc-getCC)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
#put binary in /usr/bin
|
||||
dobin vpcs
|
||||
|
||||
doman ../man/vpcs.1
|
||||
}
|
Binary file not shown.
@ -1,7 +0,0 @@
|
||||
DIST libbfio-alpha-20120425.tar.gz 1569560 BLAKE2B e104c6c5e1a94410c8e4dc8020764cea0a1d0d12447d1b47483168e9a3ea6ec0233000b7cc9fd87dee30dc7df673e24fbd7649ef170ddad2ff4ba2e67d2e79ba SHA512 058d5018202c404d789531f308b66d9e72924f4ce9d6365477c84a327a3fe2a4efb9cd0cc173f29dbf2d18cf366772e5577ffea6d0953b752865cbdf4da48c20
|
||||
DIST libbfio-alpha-20130609.tar.gz 1858612 BLAKE2B 42a445ee31a97c764829f0078725da88f7ec9d1565509ad8ff7a2a0fb698a634ad30c9d17fdd25c9654d0d4281b32c0aab3f87f04730a51bbb0e9bb9c73f537d SHA512 b2f46c7631aa8dca63d6e915c69ba6136f0f777f138708c4751e24f3e96a2399721182ce281e032b617b17ce631876cefb8ef686b9bd1cb866f9f1033d1dd18b
|
||||
DIST libbfio-alpha-20130721.tar.gz 1899281 BLAKE2B 13edc70920e455d3058a7d77ce3e87439f4abf2a193cb544c5926163f46c798ae3f1dd26bf330d53d69ff5e8f20109b7c14e54931f6ede21e879a9173bae94cb SHA512 9a9e8f913e145d5dcf5ee94351b4023a8d35492f5c9c3863f4caf0850e45f1b9c79ee3ec7e0565f85f91d11ff25d134f2c770b176e3e1888b78c984fe4b8c2a8
|
||||
EBUILD libbfio-0.0.20120425_alpha.ebuild 638 BLAKE2B 157f370f7324d1af2b33fcec3f0b58a609096af483214e8be748d4fcad95f675dbe0b628334914dbf48860b14fcae7b4b826a008efb9bf60dd5a93a041ce0cbc SHA512 5b9ff0d42ee53c739ee5ff1b1fb66d4ab24368a7170adc9a9973251aca4b38cff6190892792f0a61d32aeed7528fbfed607f0079ecfa223ef52e3640763d92ef
|
||||
EBUILD libbfio-0.0.20130609_alpha.ebuild 556 BLAKE2B 7d6334595688083a5b83c681efcdbdd13872d8ae914fd0f860ce5a435443c9cbb306050aed2d04d69b2dae866e01a360a05bc1cb30e93ffd283072203a074ef1 SHA512 feb4ce707c61ac367eaf30a223956a98420444daedf8de0de19ef44777f80a60222ca7830b7e7c46a5a583ca1614e6d65dbd1a1ddeb6228da142877f85d9b15a
|
||||
EBUILD libbfio-0.0.20130721.ebuild 562 BLAKE2B 39209e0328f5756e5447aa9c09011efcdae6832ad47afa63b4e59484534e183fafdd86a375f633212c6c603daccb7708b446350b8e8d326da186d140c0d89b91 SHA512 c58ab7f759b7f7a27ddae80080577140a7a1437a5083cb58a414cb32b2ca5f219810d69d53946c858a636dd54c89a2a507c143ab6f74bc39c5a81ba4fcf6752b
|
||||
MISC metadata.xml 326 BLAKE2B dc285b4ca51f50880100f3c1160cf0966b80dcfb68a20c694c6615745a872549c31972a707d40d11bb7043d562e9d8186b4eeec7cb58a6cad38166b7cb112a59 SHA512 2f935a0d6929bde1f27ca2704bc6e93b8947c88824826bee971ff765f205f664f2c235743b37f1e4b078b809577701755c6dbf1875eec9f3d5d91f579e3428e1
|
@ -1,27 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit versionator
|
||||
|
||||
MY_DATE="$(get_version_component_range 3)"
|
||||
|
||||
DESCRIPTION="Library for providing a basic file input/output abstraction layer"
|
||||
HOMEPAGE="https://github.com/libyal/libbfio"
|
||||
SRC_URI="http://dev.pentoo.ch/~zero/distfiles/${PN}-alpha-${MY_DATE}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~hppa ~ppc ~x86"
|
||||
IUSE="unicode"
|
||||
|
||||
S="${WORKDIR}/${PN}-${MY_DATE}"
|
||||
|
||||
src_configure() {
|
||||
econf $(use_enable unicode wide-character-type)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake install DESTDIR="${D}" || die "Failed to install"
|
||||
}
|
@ -1,23 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit versionator
|
||||
|
||||
MY_DATE="$(get_version_component_range 3)"
|
||||
|
||||
DESCRIPTION="Library for providing a basic file input/output abstraction layer"
|
||||
HOMEPAGE="https://github.com/libyal/libbfio"
|
||||
SRC_URI="http://dev.pentoo.ch/~zero/distfiles/${PN}-alpha-${MY_DATE}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE="unicode"
|
||||
|
||||
S="${WORKDIR}/${PN}-${MY_DATE}"
|
||||
|
||||
src_configure() {
|
||||
econf $(use_enable unicode wide-character-type)
|
||||
}
|
@ -1,23 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit versionator
|
||||
|
||||
MY_DATE="$(get_version_component_range 3)"
|
||||
|
||||
DESCRIPTION="Library for providing a basic file input/output abstraction layer"
|
||||
HOMEPAGE="https://github.com/libyal/libbfio"
|
||||
SRC_URI="http://dev.pentoo.ch/~zero/distfiles/${PN}-alpha-${MY_DATE}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~hppa ~ppc ~x86"
|
||||
IUSE="unicode"
|
||||
|
||||
S="${WORKDIR}/${PN}-${MY_DATE}"
|
||||
|
||||
src_configure() {
|
||||
econf $(use_enable unicode wide-character-type)
|
||||
}
|
Binary file not shown.
@ -0,0 +1,52 @@
|
||||
# Copyright 1999-2018 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
inherit user golang-build golang-vcs-snapshot systemd
|
||||
|
||||
EGO_PN="github.com/prometheus/pushgateway"
|
||||
EGIT_COMMIT="v${PV/_rc/-rc.}"
|
||||
GIT_COMMIT="d5a56ba"
|
||||
ARCHIVE_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
DESCRIPTION="Prometheus push acceptor for ephemeral and batch jobs"
|
||||
HOMEPAGE="https://github.com/prometheus/pushgateway"
|
||||
SRC_URI="${ARCHIVE_URI}"
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=">=dev-lang/go-1.11
|
||||
dev-util/promu"
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup ${PN}
|
||||
enewuser ${PN} -1 -1 -1 ${PN}
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
sed -i -e "s/{{.Revision}}/${GIT_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 bin || die
|
||||
popd || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
pushd src/${EGO_PN} || die
|
||||
dobin bin/pushgateway
|
||||
dodoc {README,CHANGELOG,CONTRIBUTING}.md
|
||||
popd || die
|
||||
keepdir /var/lib/${PN} /var/log/${PN}
|
||||
fowners ${PN}:${PN} /var/lib/${PN} /var/log/${PN}
|
||||
newinitd "${FILESDIR}"/${PN}-1.initd ${PN}
|
||||
newconfd "${FILESDIR}"/${PN}-1.confd ${PN}
|
||||
insinto /etc/logrotate.d
|
||||
newins "${FILESDIR}/${PN}.logrotated" "${PN}"
|
||||
systemd_dounit "${FILESDIR}/${PN}-1.service"
|
||||
}
|
@ -0,0 +1,54 @@
|
||||
# Copyright 1999-2018 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
inherit user golang-build golang-vcs-snapshot
|
||||
|
||||
EGO_PN="github.com/prometheus/snmp_exporter"
|
||||
EGIT_COMMIT="v${PV/_rc/-rc.}"
|
||||
SNMP_EXPORTER_COMMIT="da73490"
|
||||
ARCHIVE_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
DESCRIPTION="Prometheus exporter for snmp metrics"
|
||||
HOMEPAGE="https://github.com/prometheus/snmp_exporter"
|
||||
SRC_URI="${ARCHIVE_URI}"
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=">=dev-lang/go-1.11
|
||||
dev-util/promu
|
||||
net-analyzer/net-snmp"
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup ${PN}
|
||||
enewuser ${PN} -1 -1 -1 ${PN}
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
sed -i -e "s/{{.Revision}}/${SNMP_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 bin || die
|
||||
pushd generator || die
|
||||
GO111MODULE=on GOPATH="${S}" go build -o ../bin/generator . || die
|
||||
popd || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
pushd src/${EGO_PN} || die
|
||||
dobin bin/*
|
||||
dodoc {README,CONTRIBUTING}.md generator/{FORMAT,README}.md generator/generator.yml
|
||||
insinto /etc/snmp_exporter
|
||||
newins snmp.yml snmp.yml.example
|
||||
popd || die
|
||||
keepdir /var/lib/snmp_exporter /var/log/snmp_exporter
|
||||
fowners ${PN}:${PN} /var/lib/snmp_exporter /var/log/snmp_exporter
|
||||
newinitd "${FILESDIR}"/${PN}.initd ${PN}
|
||||
newconfd "${FILESDIR}"/${PN}.confd ${PN}
|
||||
}
|
Binary file not shown.
@ -1,6 +0,0 @@
|
||||
AUX fujiplay-1.33-unterminated-strings.patch 3146 BLAKE2B 4130f1a8619b7989e39ac415ee70e54a8148ebb1839dd482c1f475519e730cfabadb0fbff7978b7d18b0d53f002935e2a1383b1cfe0b368f782cf839d70da518 SHA512 9ce4ead7ee94f6b75dd4a0605ba56dd1adf0397d261ba96514c2588dd6335e187276bb63f21ed2b1ec02d8e72f1f4316c2b4b94edadb0deba18ed055874051aa
|
||||
DIST fujiplay-1.33.tar.gz 12588 BLAKE2B 4be2b4d44696f5d43942c19cde308874684c87762b2778026750c4db9ba249c2ec8b7986bca5c526c7199289b3094157c068067db38a015372fd6fbd5a1e285d SHA512 168ce95b6926da2438fb858b2537060877145b28638217214f72833fcc75b76dd7e5bba9ed0ca966cd2f7f1c31ca3302ee4662907bf743c393314d615d795149
|
||||
DIST fujiplay.tgz 12588 BLAKE2B 4be2b4d44696f5d43942c19cde308874684c87762b2778026750c4db9ba249c2ec8b7986bca5c526c7199289b3094157c068067db38a015372fd6fbd5a1e285d SHA512 168ce95b6926da2438fb858b2537060877145b28638217214f72833fcc75b76dd7e5bba9ed0ca966cd2f7f1c31ca3302ee4662907bf743c393314d615d795149
|
||||
EBUILD fujiplay-1.33-r1.ebuild 1031 BLAKE2B 0743516293107b5f5856fb2434e74df02b7cdc0328cc94be0710741abf13598ccee94ff2deab2f3b36a857a7cbb8afcf5b11e5ea56724e0f5c2ce2b51c543735 SHA512 d901567859ccec2cf343c3514ffe36fb3171f3c1d4b63b40e1e35df21cec189e3b8d1b076f4b1820bb7df4a8c210a2110f66bce755b859ac9c9ef6b5ed4ece70
|
||||
EBUILD fujiplay-1.33.ebuild 1086 BLAKE2B 719c97d033c92c5a9cccd77eefed0b6dd3fda0acc85a9887bd97e54f4fc9702dca037615776e092cd217800f563bff0c04f2a1e74a02d74c5248208d72d8ba66 SHA512 d5a6e81d91ee1b8b3b21ff0f237904d8485c2291fc664cf782ce42fd73979a2f8a8774829a3c30ec9a61d64ad898f4b1c70bdbcb2de875a0f0f88b9b1ca55ed2
|
||||
MISC metadata.xml 166 BLAKE2B c254f1fb642881aba57637be14fb0a89b10384f91a128feaec3a8c870d76efc2cbacb92caccc0dee2dd19a5ac5eaf8643080dafa05c4e2ac96a68568927e5afd SHA512 a56648c974a1d14dd4c18237532773c72057a13ab90c58b5da04f185e3c12a8bd8d5c21fb06053507f31766291a82dc7d87b34cd65fd94cfe2af7295c813ef84
|
@ -1,75 +0,0 @@
|
||||
--- a/fujiplay.c 1999-02-23 10:30:31.000000000 +0100
|
||||
+++ b/fujiplay.c 2006-08-05 00:50:08.000000000 +0200
|
||||
@@ -759,40 +759,38 @@
|
||||
return 1;
|
||||
}
|
||||
|
||||
-const char *Usage = "\
|
||||
-Usage: fujiplay [OPTIONS] PICTURES... (download)
|
||||
- charge NUMBER (recharge the flash)
|
||||
- shoot (take picture)
|
||||
- preview (preview to standard output)
|
||||
- upload FILES...
|
||||
- delete FILES...
|
||||
- setid STRING (set camera ID)
|
||||
- setflash MODE (0=Off, 1=On, 2=Strobe, 3=Auto)
|
||||
- setdate gmt|local|YYYYMMDDHHMMSS
|
||||
-Options:
|
||||
- -B NUMBER Set baudrate (115200, 57600, 38400, 19200, 9600 or 0)
|
||||
- -D DEVICE Select another device file (default is /dev/fujifilm)
|
||||
- -L List command set
|
||||
- -7 DS-7 compatibility mode (experimental)
|
||||
- -d Delete pictures after successful download
|
||||
- -f Force (overwrite existing files)
|
||||
- -p Assume picture numbers instead of frame numbers
|
||||
- -h Display this help message
|
||||
- -v Version information
|
||||
-Pictures:
|
||||
- all All pictures
|
||||
- last Last picture
|
||||
- 4 Only picture 4
|
||||
- 2-10 Pictures between 2 and 10
|
||||
-Files:
|
||||
- DSCxxxxx.JPG Files to delete or to upload into the camera
|
||||
-";
|
||||
-
|
||||
-const char *Copyright = "\
|
||||
-Fujiplay, $Id: fujiplay.c,v 1.33 1999/02/22 14:13:01 bousch Exp $
|
||||
-Written by Thierry Bousch <bousch@topo.math.u-psud.fr>
|
||||
-Public domain. Absolutely no warranty.
|
||||
-";
|
||||
+const char *Usage = "\n" \
|
||||
+"Usage: fujiplay [OPTIONS] PICTURES... (download) \n" \
|
||||
+" charge NUMBER (recharge the flash) \n" \
|
||||
+" shoot (take picture) \n" \
|
||||
+" preview (preview to standard output) \n" \
|
||||
+" upload FILES... \n" \
|
||||
+" delete FILES... \n" \
|
||||
+" setid STRING (set camera ID) \n" \
|
||||
+" setflash MODE (0=Off, 1=On, 2=Strobe, 3=Auto) \n" \
|
||||
+" setdate gmt|local|YYYYMMDDHHMMSS \n" \
|
||||
+"Options: \n" \
|
||||
+" -B NUMBER Set baudrate (115200, 57600, 38400, 19200, 9600 or 0) \n" \
|
||||
+" -D DEVICE Select another device file (default is /dev/fujifilm) \n" \
|
||||
+" -L List command set \n" \
|
||||
+" -7 DS-7 compatibility mode (experimental) \n" \
|
||||
+" -d Delete pictures after successful download \n" \
|
||||
+" -f Force (overwrite existing files) \n" \
|
||||
+" -p Assume picture numbers instead of frame numbers \n" \
|
||||
+" -h Display this help message \n" \
|
||||
+" -v Version information \n" \
|
||||
+"Pictures: \n" \
|
||||
+" all All pictures \n" \
|
||||
+" last Last picture \n" \
|
||||
+" 4 Only picture 4 \n" \
|
||||
+" 2-10 Pictures between 2 and 10 \n" \
|
||||
+"Files: \n" \
|
||||
+" DSCxxxxx.JPG Files to delete or to upload into the camera \n";
|
||||
+
|
||||
+const char *Copyright = "\n" \
|
||||
+"Fujiplay, $Id: fujiplay.c,v 1.33 1999/02/22 14:13:01 bousch Exp $\n" \
|
||||
+"Written by Thierry Bousch <bousch@topo.math.u-psud.fr>\n" \
|
||||
+"Public domain. Absolutely no warranty.\n";
|
||||
|
||||
static void sigint_handler (int sig)
|
||||
{
|
@ -1,45 +0,0 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
DESCRIPTION="Utility for Fujifilm/Leica digital cameras (via serial port)"
|
||||
HOMEPAGE="https://www.math.u-psud.fr/~bousch/fujiplay.html"
|
||||
SRC_URI="https://www.math.u-psud.fr/~bousch/${PN}.tgz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="public-domain"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
PATCHES=( "${FILESDIR}"/${P}-unterminated-strings.patch )
|
||||
|
||||
src_compile() {
|
||||
emake CC="$(tc-getCC)" \
|
||||
CFLAGS="${CFLAGS}" \
|
||||
LDFLAGS="${LDFLAGS}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin fujiplay yycc2ppm
|
||||
dodoc README fujiplay.lsm mx700-commands.html
|
||||
emake all clean
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
ln -s /dev/ttyS0 /dev/fujifilm || die
|
||||
elog "A symbolic link /dev/ttyS0 -> /dev/fujifilm was created."
|
||||
elog "You may want to create a serial group to allow non-root"
|
||||
elog "members R/W access to the serial device."
|
||||
elog
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
rm -f /dev/fujifilm || die
|
||||
elog
|
||||
elog "The symbolic link /dev/fujifilm was removed."
|
||||
elog
|
||||
}
|
@ -1,51 +0,0 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=0
|
||||
|
||||
inherit eutils toolchain-funcs
|
||||
|
||||
DESCRIPTION="Utility for Fujifilm/Leica digital cameras (via serial port)"
|
||||
HOMEPAGE="http://topo.math.u-psud.fr/~bousch/fujiplay.html"
|
||||
SRC_URI="http://topo.math.u-psud.fr/~bousch/${PN}.tgz"
|
||||
|
||||
LICENSE="public-domain"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 x86"
|
||||
IUSE=""
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd "${S}"
|
||||
epatch "${FILESDIR}"/${P}-unterminated-strings.patch
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake CC="$(tc-getCC)" \
|
||||
CFLAGS="${CFLAGS}" \
|
||||
LDFLAGS="${LDFLAGS}" \
|
||||
|| die "emake failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin fujiplay yycc2ppm || die
|
||||
dodoc README fujiplay.lsm mx700-commands.html
|
||||
emake all clean
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
ln -s /dev/ttyS0 /dev/fujifilm
|
||||
elog "A symbolic link /dev/ttyS0 -> /dev/fujifilm was created."
|
||||
elog "You may want to create a serial group to allow non-root"
|
||||
elog "members R/W access to the serial device."
|
||||
echo
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
rm -f /dev/fujifilm
|
||||
echo
|
||||
elog "The symbolic link /dev/fujifilm was removed."
|
||||
echo
|
||||
}
|
@ -1,5 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<!-- maintainer-needed -->
|
||||
</pkgmetadata>
|
@ -1,6 +1,4 @@
|
||||
DIST ranger-1.9.1.tar.gz 245872 BLAKE2B 3ed48c4fe0cb42be7e001508a9c1f558e415e155eb5f68c9a8eb3e6d906ad287080391ab0310c0e9d67c9bc3210621827dc11107d99ac4173a4d8c64d74ab28b SHA512 c7fdc8f423860c7c420d7be61ebcc92629e444529c982f24260a9eeb68452adbbc6d40d53921c556da3d08a75b1c718bb05257cf869a15f7d932e8f00836cfe3
|
||||
DIST ranger-1.9.2.tar.gz 265295 BLAKE2B 93e4d8ff1ad41c9bdf94af4a3ed9ab013048d1a601242553592b0e246f000b3a0226644b126ae7ec1c70562ff80b3f6c6711ee0e53dc1b7363c9ddf8f5fa75cc SHA512 5eb4743beaf0478d745cce8e5bfc2ac07c98ab5784e9394772782d06c0bb27dcd5478ead191ac527f21cce76db09a51eb46db0fabc7993684a6b5aaec0d43104
|
||||
EBUILD ranger-1.9.1.ebuild 1065 BLAKE2B 06dea5593b053c4c0d7647b1b38f43bc291d7c9be43794cc06427e43a40c4aaee0b0d72a6f6fee003df6a2c411775db366e7a7d455b0f213f21893a7c4bfa03e SHA512 a925b2488f4200635397ed3df7d6c05a6d689afec3faea143fe553532bb241eaa1783ca04525915a17afe34e294116a32f6c4bc95b71725bed06e3965b8c4a33
|
||||
EBUILD ranger-1.9.2.ebuild 1067 BLAKE2B 23524c8eebfd5d84974df81e8ab781b155558563d42900d87145561f850e2f1433709f54387f91933ff92231342477df486f6bf79850126211aa36505abeaa62 SHA512 a669db30a0478fdeca3778054acccfce5e9cfb388b009d32afe15a3490f21e89fcf130c5f659b0d5e7a8f88001bdf48630572ac31314f02e1a01c2062c66ca65
|
||||
EBUILD ranger-9999.ebuild 1067 BLAKE2B 23524c8eebfd5d84974df81e8ab781b155558563d42900d87145561f850e2f1433709f54387f91933ff92231342477df486f6bf79850126211aa36505abeaa62 SHA512 a669db30a0478fdeca3778054acccfce5e9cfb388b009d32afe15a3490f21e89fcf130c5f659b0d5e7a8f88001bdf48630572ac31314f02e1a01c2062c66ca65
|
||||
EBUILD ranger-1.9.2.ebuild 1066 BLAKE2B 6fb8c97358bfc55e128ccd0288ca515e45b9f8e7d53160b010ff1c08736c68d0720cd3a8dabcb0d396c810e1f3b41b7abf97677a51fd6eddc546d9eb5dc239d4 SHA512 47ae3726af7a74fd6823ac0e003b83b36ec4bf91c297a1100e34a96e0e0a764ad2ebb2a07a76329fc8ef23b7f648398b5d70b4e839cd8193ea20826ccfb54ef0
|
||||
EBUILD ranger-9999.ebuild 1068 BLAKE2B 47becec9a1e654d590b4d87f764ba8a208c4a17009a94059d6f28ae16b55452728a37bee02f4bc1472efb84c4b3bf8f702c802d6f002325dde945d01894ba1a9 SHA512 e9bf53da055617f7c0e2d31a61fe37153eac9de966a7af28f76f0d9981c386b4952b6dca20728973e43dfdac59debba98aaa3c78f21a715ba5d3ef8271518ef2
|
||||
MISC metadata.xml 694 BLAKE2B b7b43401693937cbe92d0737972b55168f10ad3e8c9b1cd66db850bdf1b1517445c6c0258f805f5d3f8f4a00a27efb4e5235d46739dac7daaada1d323d08b19e SHA512 d6a97f7a6342dc1f1e14fbb14f2c0d28b5c2d2f148b0ac4078421e85f25273b38d489009c1780570326d374196a1a93cdb4aa86de55265db643092affe610e54
|
||||
|
@ -1,43 +0,0 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
|
||||
PYTHON_REQ_USE="ncurses"
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
if [[ ${PV} == "9999" ]] ; then
|
||||
EGIT_REPO_URI="https://github.com/ranger/ranger.git"
|
||||
inherit git-r3
|
||||
else
|
||||
SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="amd64 ~ppc x86"
|
||||
fi
|
||||
|
||||
DESCRIPTION="A vim-inspired file manager for the console"
|
||||
HOMEPAGE="https://ranger.github.io/"
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="virtual/pager"
|
||||
DEPEND="test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
|
||||
|
||||
src_prepare() {
|
||||
# use versioned doc path
|
||||
sed -i "s|share/doc/ranger|share/doc/${PF}|" setup.py doc/ranger.1 || die
|
||||
|
||||
distutils-r1_src_prepare
|
||||
}
|
||||
|
||||
python_test() {
|
||||
py.test -v tests/ranger || die "Tests failed under ${EPYTHON}"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [[ -z ${REPLACING_VERSIONS} ]]; then
|
||||
elog "Ranger has many optional dependencies to support enhanced file previews."
|
||||
elog "See the README or homepage for more details."
|
||||
fi
|
||||
}
|
Binary file not shown.
@ -1,8 +0,0 @@
|
||||
AUX gentoolkit-dev-0.2.8.3-tests.patch 897 BLAKE2B 6d04857c29e4e5b53a3a4189b33ff395b26d4d8c9bf07a624ae7f3f0e605b89b2cc3f1f04d3562fad22e8aa90640498d5460f1a282eced5c0c0c6f7a3f9a0bcd SHA512 0b5f3555a8374c1765770c27a950a26a3e7f7f222a5cf1cb1a5ed326d1d7757fd40639eaf58c54daffc668929bd25e76fffb108c75f20e5f0a2937f74a03e8cb
|
||||
DIST gentoolkit-dev-0.2.8.3.tar.gz 53322 BLAKE2B 65136a748a971688371245a5bc46d9d45689c14fdb0a772c0d2a94264cec4464c90345b9d089b855acae91db92b08b604400ada09ffb2c08f77bb3662ea952b3 SHA512 f55362e46928633598cb07640505202521e3f4bdaade1faecb4ac14ba1bee0489207cb7ab03531e06d7922446a57083365f51c63ceb8cf1e0badba9ac503c16e
|
||||
DIST gentoolkit-dev-0.3.0.tar.gz 58655 BLAKE2B 5784ed2b2c6f92f2b6bf4a0d3d4a61d2f9defe20c438d273c5a89ed7b980afec08dd70fabc787066acd2aeea4ee5fdd6127d42cc500aacd8dcbd690ff7124d63 SHA512 d15f6546cf88af0832c14eb003c72b5906bb9b9f078c903e1e444b12c2e432fd1a2fa077eda5496e222cb50cfd5a705e86044b9a1c0164ac6b4b38268461ced5
|
||||
DIST gentoolkit-dev-0.3.1.tar.gz 58472 BLAKE2B 33ad722d23abfa94fcc73dd505794cde935119aafa8ae6f2828b59e6f1e95c00dcbb751732f69327d2278751350fb2aa25e3f7c2a33cf35367b10edad5744193 SHA512 e47fa698710132914c2de6d25f7450b90383b9d6283e927221bec30be3a56de93c09e81c35e025dee2f01bd5c2f10cf231fc392c415849029529712cd81aea19
|
||||
EBUILD gentoolkit-dev-0.2.8.3-r1.ebuild 1531 BLAKE2B 1ee609aa149a676a04bb1662b6b247590e9243b1837a21cf900463f3e8c5fd390ff84c0f7407b77d42b9c4b1a37a4fb948dfdb29fbdfefa3443bfe14b4efc825 SHA512 67d350f38a7dec1029d5197cd9703edf4ae892a72d422cf0bffb3fc246f3347975657907f7303dbbc31277bf13b3087156c11d7f107eef7edeaf5cdd86dab774
|
||||
EBUILD gentoolkit-dev-0.3.0.ebuild 2316 BLAKE2B 4620f92a61532405e7b389b804dc469c4185e45686ea92c3fe4f765b528b498978aeec1d42d01077cf77ffe80e7dde5aa8ff0b0d9159641a10d504bf4935c7bd SHA512 69d866d1984d64bc3a01b3ccf6d16de02d813a40d3aa14aa1dd182ad34d7bae50cc015b4def07314d22dfc6e5eff9e05de7056641740a7e881c5f40176505406
|
||||
EBUILD gentoolkit-dev-0.3.1.ebuild 2391 BLAKE2B 01e65aa2f968af4db14fd5dfd0a369c75e4b68f88a42b9092db552418e60182ff153ee549e1792a7a1febdd8d8cb50b0d6f88d32835ad8471524d014b4272fd5 SHA512 44f42c010e08c753fa2ffb7733db82e38a9dabd89ece709ea97c8f25098ed0609563fc71fb3c6a3ec4b0058cf5b7791cb37fdf0d371752cf0fef90fd08ec4408
|
||||
MISC metadata.xml 386 BLAKE2B 5b0d8e65ae078df17212c8ab4d23f9448609d4c5caf9a9020cf94ee332c8caf8494e66ef72c1f25c93d21f379b984ff174a846160d2657f87d36835e83207363 SHA512 6ee5dcd5f54623999f208a01cedd3e9fce88efa45e82a0d18d77f4dffa4f0ad4dc105d52221ec3c31924c895298705a5c0ec974cd59d4bbc6fabac72e60b85f0
|
@ -1,25 +0,0 @@
|
||||
From 2da4232cfd9597b829dda4bcfbf3aab25f243950 Mon Sep 17 00:00:00 2001
|
||||
From: Christian Ruppert <idl0r@gentoo.org>
|
||||
Date: Sat, 11 May 2013 23:56:25 +0200
|
||||
Subject: [PATCH] Fix echangelog test
|
||||
|
||||
---
|
||||
src/echangelog/test/test.sh | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/src/echangelog/test/test.sh b/src/echangelog/test/test.sh
|
||||
index 0559113..53bb0b5 100755
|
||||
--- a/src/echangelog/test/test.sh
|
||||
+++ b/src/echangelog/test/test.sh
|
||||
@@ -160,7 +160,7 @@ ebegin "Preparing echangelog"
|
||||
|
||||
if [ -e "../echangelog" ]; then
|
||||
cp ../echangelog "${_ROOT}/tmp" || set $?
|
||||
- sed -i -e 's:use POSIX qw.*:use POSIX qw(setlocale getcwd);\nuse TEST qw(strftime);:' "${_ROOT}/tmp/echangelog" || set $?
|
||||
+ sed -i -e 's:use POSIX qw.*:use POSIX qw(locale_h setlocale getcwd);\nuse TEST qw(strftime);:' "${_ROOT}/tmp/echangelog" || set $?
|
||||
eend ${1:-0} || exit ${1}
|
||||
else
|
||||
eerror "error"
|
||||
--
|
||||
1.8.1.5
|
||||
|
@ -1,57 +0,0 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="5"
|
||||
|
||||
PYTHON_COMPAT=( python{2_7,3_4} )
|
||||
|
||||
PYTHON_REQ_USE="xml"
|
||||
|
||||
inherit python-r1 eutils
|
||||
|
||||
DESCRIPTION="Collection of developer scripts for Gentoo"
|
||||
HOMEPAGE="https://www.gentoo.org/proj/en/portage/tools/index.xml"
|
||||
SRC_URI="mirror://gentoo/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="test"
|
||||
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
CDEPEND="
|
||||
sys-apps/portage[${PYTHON_USEDEP}]
|
||||
dev-lang/perl
|
||||
sys-apps/diffutils"
|
||||
DEPEND="${PYTHON_DEPS}
|
||||
!>=app-portage/gentoolkit-0.4.0
|
||||
test? ( ${CDEPEND} )"
|
||||
RDEPEND="${PYTHON_DEPS}
|
||||
${CDEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/${P}-tests.patch"
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# echangelog test is not able to run as root
|
||||
# the EUID check may not work for everybody
|
||||
if [[ ${EUID} -ne 0 ]];
|
||||
then
|
||||
python_foreach_impl emake test
|
||||
else
|
||||
ewarn "test skipped, please re-run as non-root if you wish to test ${PN}"
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install
|
||||
python_replicate_script "${ED}"/usr/bin/imlate
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
ewarn "This package is deprecated. ebump, ekeyword and imlate have "
|
||||
ewarn "been moved to >=app-portage/gentoolkit-0.4.0"
|
||||
ewarn "The remaining gentoolkit-dev commands are considered deprecated"
|
||||
}
|
@ -1,86 +0,0 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="5"
|
||||
|
||||
PYTHON_COMPAT=( python{2_7,3_4,3_5} )
|
||||
PYTHON_REQ_USE="xml"
|
||||
|
||||
inherit python-r1
|
||||
|
||||
if [[ ${PV} == 9999 ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="git://anongit.gentoo.org/proj/gentoolkit.git
|
||||
https://anongit.gentoo.org/git/proj/gentoolkit.git"
|
||||
EGIT_BRANCH="gentoolkit-dev"
|
||||
else
|
||||
SRC_URI="https://dev.gentoo.org/~floppym/dist/${P}.tar.gz"
|
||||
KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
fi
|
||||
|
||||
DESCRIPTION="Collection of developer scripts for Gentoo"
|
||||
HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Portage-Tools"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
IUSE="test"
|
||||
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
CDEPEND="
|
||||
sys-apps/portage[${PYTHON_USEDEP}]
|
||||
dev-lang/perl
|
||||
sys-apps/diffutils"
|
||||
DEPEND="${PYTHON_DEPS}
|
||||
!>=app-portage/gentoolkit-0.4.0
|
||||
test? ( ${CDEPEND} )"
|
||||
RDEPEND="${PYTHON_DEPS}
|
||||
${CDEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
if [[ -n ${EPREFIX} ]] ; then
|
||||
# fix shebangs of scripts
|
||||
local d p
|
||||
ebegin "Fixing shebangs"
|
||||
for d in src/* ; do
|
||||
p=${d#*/}
|
||||
sed -i \
|
||||
-e "1s:\(\(/usr\)\?/bin/\):${EPREFIX}\1:" \
|
||||
${d}/${p}* \
|
||||
|| die "failed to fix ${d}/${p}"
|
||||
done
|
||||
eend $?
|
||||
|
||||
# fix repo location
|
||||
sed -i \
|
||||
-e "s:portage\.db\['/'\]:portage.db['${EPREFIX}/']:g" \
|
||||
src/ekeyword/ekeyword.py \
|
||||
|| die "failed to set EPREFIX in ekeyword"
|
||||
# fix repo name
|
||||
sed -i \
|
||||
-e "s:repo='gentoo':repo='gentoo_prefix':g" \
|
||||
src/ekeyword/ekeyword.py \
|
||||
|| die "failed to set correct reponame in ekeyword"
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# echangelog test is not able to run as root
|
||||
# the EUID check may not work for everybody
|
||||
if [[ ${EUID} -ne 0 ]]; then
|
||||
python_foreach_impl emake test
|
||||
else
|
||||
ewarn "test skipped, please re-run as non-root if you wish to test ${PN}"
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install
|
||||
python_replicate_script "${ED}"/usr/bin/{ekeyword,imlate}
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
ewarn "This package is deprecated. ebump, ekeyword and imlate have "
|
||||
ewarn "been moved to >=app-portage/gentoolkit-0.4.0"
|
||||
ewarn "The remaining gentoolkit-dev commands are considered deprecated"
|
||||
}
|
@ -1,87 +0,0 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="5"
|
||||
|
||||
PYTHON_COMPAT=( python{2_7,3_4,3_5} )
|
||||
PYTHON_REQ_USE="xml"
|
||||
|
||||
inherit python-r1
|
||||
|
||||
if [[ ${PV} == 9999 ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="git://anongit.gentoo.org/proj/gentoolkit.git
|
||||
https://anongit.gentoo.org/git/proj/gentoolkit.git"
|
||||
EGIT_BRANCH="gentoolkit-dev"
|
||||
else
|
||||
SRC_URI="https://dev.gentoo.org/~floppym/dist/${P}.tar.gz
|
||||
https://dev.gentoo.org/~vapier/dist/${P}.tar.gz"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
fi
|
||||
|
||||
DESCRIPTION="Collection of developer scripts for Gentoo"
|
||||
HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Portage-Tools"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
IUSE="test"
|
||||
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
CDEPEND="
|
||||
sys-apps/portage[${PYTHON_USEDEP}]
|
||||
dev-lang/perl
|
||||
sys-apps/diffutils"
|
||||
DEPEND="${PYTHON_DEPS}
|
||||
!>=app-portage/gentoolkit-0.4.0
|
||||
test? ( ${CDEPEND} )"
|
||||
RDEPEND="${PYTHON_DEPS}
|
||||
${CDEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
if [[ -n ${EPREFIX} ]] ; then
|
||||
# fix shebangs of scripts
|
||||
local d p
|
||||
ebegin "Fixing shebangs"
|
||||
for d in src/* ; do
|
||||
p=${d#*/}
|
||||
sed -i \
|
||||
-e "1s:\(\(/usr\)\?/bin/\):${EPREFIX}\1:" \
|
||||
${d}/${p}* \
|
||||
|| die "failed to fix ${d}/${p}"
|
||||
done
|
||||
eend $?
|
||||
|
||||
# fix repo location
|
||||
sed -i \
|
||||
-e "s:portage\.db\['/'\]:portage.db['${EPREFIX}/']:g" \
|
||||
src/ekeyword/ekeyword.py \
|
||||
|| die "failed to set EPREFIX in ekeyword"
|
||||
# fix repo name
|
||||
sed -i \
|
||||
-e "s:repo='gentoo':repo='gentoo_prefix':g" \
|
||||
src/ekeyword/ekeyword.py \
|
||||
|| die "failed to set correct reponame in ekeyword"
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# echangelog test is not able to run as root
|
||||
# the EUID check may not work for everybody
|
||||
if [[ ${EUID} -ne 0 ]]; then
|
||||
python_foreach_impl emake test
|
||||
else
|
||||
ewarn "test skipped, please re-run as non-root if you wish to test ${PN}"
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install
|
||||
python_replicate_script "${ED}"/usr/bin/{ekeyword,imlate}
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
ewarn "This package is deprecated. ebump, ekeyword and imlate have "
|
||||
ewarn "been moved to >=app-portage/gentoolkit-0.4.0"
|
||||
ewarn "The remaining gentoolkit-dev commands are considered deprecated"
|
||||
}
|
@ -1,11 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>tools-portage@gentoo.org</email>
|
||||
<name>Gentoo Portage tools team</name>
|
||||
</maintainer>
|
||||
<longdescription>
|
||||
Gentoolkit-dev is a collection of developer tools for the Gentoo distribution.
|
||||
</longdescription>
|
||||
</pkgmetadata>
|
@ -1,9 +0,0 @@
|
||||
DIST gs-pypi-0.1.tar.gz 15351 BLAKE2B fa1a1af502abf0bc4d7d77344c87da7632f5176d693decca3d7738c4ea8e9e6973cab342f155fb23e07053369cbf2e639130763a446fcc783efdb4a2363f6f70 SHA512 e7d8dabed21de28f327da3163e95ea16dfb63c27d502233c0f6eae7bf3146866498c492795eff5c7126bf56bf6dd1613457290ffab83962741d49bd9254f059f
|
||||
DIST gs-pypi-0.2.1.tar.gz 16608 BLAKE2B 498eb01321ff91e70d46315d64838b6b2770f12ec71fcbc0dc92ed14bdf96d08e88181739cb27faef881ffcbdc8ac08861b04498f45348783f53394a0a8b4925 SHA512 72c04ab621690b0e1e8aee489cef09ed3f04a84b4d1f5e0888913429f24c37e79e320d41c585d7e5a087b8f9e6859f6702c42d81c1086bb51ce77c9949af6ac0
|
||||
DIST gs-pypi-0.2.tar.gz 16582 BLAKE2B 8d331913165fc94d3aa2e1a1fbd9f11bde8834441520998b7341819ae669d6301190d1ac362b4ada4f8cc1ead858a5229bec2554eb6a1b172a613e762fade174 SHA512 b28143f6eb85151cee27c24f11fd8e2adae7115120cc38eeaaa9a59af49af9cee8423725db0babc0dec7ef357ed2485f8a360f69db9fb246f1097fc0f3c227b0
|
||||
EBUILD gs-pypi-0.1.ebuild 618 BLAKE2B 953f7cceeddd4669b8c91a9ffe7a44b58b2202b215a4724a8e6edc92c78d36ce5a3e568911882f04be639d97e1e24351d46445353b8a1816124b1a815bb40d21 SHA512 50d55c21c3bb025c3d8e958ef54ec19be9cd0c710f867ac4658eabd059e6cb4a6b61fbd894dd2e7c3c025d50fde04bcbf178f29b48736d663598169150b82d2c
|
||||
EBUILD gs-pypi-0.2.1-r1.ebuild 643 BLAKE2B 01ccab0654360ff8c87de773323b9d055d03b13c12b94e346c587be29706a3930800e2d697cc1807887c8b09874ed30f553a76d7af07be3a77aa407978efc2c7 SHA512 66fb85e81ee57e6b7c84d1fd81fdb7f68521816eb9d0a19d39a80d8467cca0949e8cd9bfa9bde81700e6f2576c823e75b4dfc72e2f85d6d436934267ca894f2f
|
||||
EBUILD gs-pypi-0.2.1.ebuild 639 BLAKE2B e2ea6bc762bd5c9bc695e19ecf7ad1ba544fcfbf01ad33667abf32c854af706412e427b26681d3a70746fe1b25ef2c94071f85fe2b52b11144e26bd501098e5b SHA512 bf2a0488128f89f21a3d7c26c11b3d76e707bc5b40725a3a7b4306468529b3df3dfcf9be509f474062c2a1b95531b97405ff978d6dfda7bcb77ad2ff6460218b
|
||||
EBUILD gs-pypi-0.2.ebuild 630 BLAKE2B ea96bba6458ebfb07f5b98cb9a9c506e6f0aa7b950364f4644564c806a83831896ef3020fac0a38e267364dfcabf9f254286cedce034528467f736cf574f97d6 SHA512 27424c83d2221634968425a533e1fb8582453ff40444cca141674c57a1c15085476bb1255643c17b5a5fd44b9dfdd0fbc8713e659d66f5d85042a00c534dae58
|
||||
EBUILD gs-pypi-9999.ebuild 628 BLAKE2B edc7219f8398161469e15db83b513aa5e0d7c8de271c6a7137012a611749d2ec98b5086b31e3abb8e45a5008737ef68b54ccadb16da46ef0c49f11a9faca22be SHA512 9dd5b854d7fd55cd79c5120245a80f690d1fbfad70405fa39134506a452817cac9055d7ed6a3d99f47e462d2c6a2cfda6d49cd96c80320eaa31f9f4f5ed1fed9
|
||||
MISC metadata.xml 410 BLAKE2B e119f3352b8d35a923f7d10e6015ae5dd6d749dd5d3f1074b2ad473466916d4029702cecd9188b584e24ef956e6b125f3e66feb5ed7fc763a096ba63c1d9a184 SHA512 48b08cac54bc8d7c7cd02686a2c16f00e5d0ace033ec37862a516d855908e21caa475e3eb66b53e47f4813cc97fb0b5b4dc6b758e551a456c9aaa31440b664fc
|
@ -1,25 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=(python{2_7,3_4})
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="g-sorcery backend for pypi packages"
|
||||
HOMEPAGE="https://github.com/jauhien/gs-pypi"
|
||||
SRC_URI="https://github.com/jauhien/gs-pypi/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
DEPEND="app-portage/g-sorcery[$(python_gen_usedep 'python*')]
|
||||
dev-python/beautifulsoup:4[$(python_gen_usedep 'python*')]"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
python_install_all() {
|
||||
distutils-r1_python_install_all
|
||||
doman docs/*.8
|
||||
}
|
@ -1,25 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=(python{2_7,3_4,3_5})
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="g-sorcery backend for pypi packages"
|
||||
HOMEPAGE="https://github.com/jauhien/gs-pypi"
|
||||
SRC_URI="https://github.com/jauhien/gs-pypi/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
DEPEND=">=app-portage/g-sorcery-0.2.1[bson(-),git(-),$(python_gen_usedep 'python*')]
|
||||
dev-python/beautifulsoup:4[$(python_gen_usedep 'python*')]"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
python_install_all() {
|
||||
distutils-r1_python_install_all
|
||||
doman docs/*.8
|
||||
}
|
@ -1,25 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=(python{2_7,3_4})
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="g-sorcery backend for pypi packages"
|
||||
HOMEPAGE="https://github.com/jauhien/gs-pypi"
|
||||
SRC_URI="https://github.com/jauhien/gs-pypi/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
DEPEND=">=app-portage/g-sorcery-0.2.1[bson(-),git(-),$(python_gen_usedep 'python*')]
|
||||
dev-python/beautifulsoup:4[$(python_gen_usedep 'python*')]"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
python_install_all() {
|
||||
distutils-r1_python_install_all
|
||||
doman docs/*.8
|
||||
}
|
@ -1,25 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=(python{2_7,3_4})
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="g-sorcery backend for pypi packages"
|
||||
HOMEPAGE="https://github.com/jauhien/gs-pypi"
|
||||
SRC_URI="https://github.com/jauhien/gs-pypi/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
DEPEND=">=app-portage/g-sorcery-0.2[bson(-),$(python_gen_usedep 'python*')]
|
||||
dev-python/beautifulsoup:4[$(python_gen_usedep 'python*')]"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
python_install_all() {
|
||||
distutils-r1_python_install_all
|
||||
doman docs/*.8
|
||||
}
|
@ -1,26 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=(python{2_7,3_4,3_5})
|
||||
|
||||
inherit distutils-r1 git-r3
|
||||
|
||||
DESCRIPTION="g-sorcery backend for pypi packages"
|
||||
HOMEPAGE="https://github.com/jauhien/gs-pypi"
|
||||
SRC_URI=""
|
||||
EGIT_BRANCH="master"
|
||||
EGIT_REPO_URI="https://github.com/jauhien/gs-pypi"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
|
||||
DEPEND=">=app-portage/g-sorcery-9999[bson(-),git(-),$(python_gen_usedep 'python*')]
|
||||
dev-python/beautifulsoup:4[$(python_gen_usedep 'python*')]"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
python_install_all() {
|
||||
distutils-r1_python_install_all
|
||||
doman docs/*.8
|
||||
}
|
@ -1,14 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>dolsen@gentoo.org</email>
|
||||
</maintainer>
|
||||
<maintainer type="project">
|
||||
<email>layman@gentoo.org</email>
|
||||
<name>Gentoo Layman team</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">jauhien/gs-pypi</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
Binary file not shown.
@ -1,4 +0,0 @@
|
||||
AUX tempdir.patch 3694 BLAKE2B a88d3709ee23f43ab6a9a9b3ec83306d964d3d791b4552f99df26bdf09924cc40b721b0f24c8807b47f0e91b3eb8d46dae1c15ee53b9fe7974431c523bda5b50 SHA512 e7d29e71afad11c79d508c35c9060a39308c78e654f00808cb38b7e75ebf5f885bbd436f58e9900977c2e81d0f4a7f543daeab6bd2f9a919c4c3b74dba33c325
|
||||
DIST chm2pdf-0.9.1.tar.gz 19955 BLAKE2B 6f16f35d25904cf1b42e91c46f58b279fceb11a328a88e14f20a9749148a4a5932af4884a19f57dc89b0135b3b8acd2dc880265aa46dfb9887ab6212a59172bd SHA512 1d1997b17750f371e60cc6bf9693a8e4316deadd63247700f6ebd1bf02340f2e0524766a6be846d0f6349416b8551609da63fbf60ecd62766cf0d9b4f0c886d3
|
||||
EBUILD chm2pdf-0.9.1-r2.ebuild 768 BLAKE2B 3dee8875ae605f35e8e3cbc992d74ae0a3188a9801183775a7a15eff4f64009a44235e9498be0e68fb8065cd1a6391adb4ab8e16b79ee0473ca637cd2c7c8397 SHA512 e6015c7b5eed96714e2afac98132141f55067654cd65dfb510c4266a68fc69328fbaa28bc771cc8978ec45f512f50e3d4234e7be1c9f09932daec093ef35a7cf
|
||||
MISC metadata.xml 244 BLAKE2B d68384fb6b1d1dbb9d20cd76c4991aa746477d14e2b318cecdcd66166758beef130e69ddf71dc7e27071af3ae234b537b106a9daf719d0f6f6039aa82702cb0c SHA512 6c2761abb4bf0f08e2bb5eaf232dfec4cc83a1617acd7954a5c7e0987056b1a8b3efdcee1a1c718436aa33c440bb65368dc1231e7146f9c795f696ba5686b644
|
@ -1,39 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit python-single-r1
|
||||
|
||||
DESCRIPTION="A script that converts a CHM file into a single PDF file"
|
||||
HOMEPAGE="https://code.google.com/p/chm2pdf/"
|
||||
SRC_URI="https://${PN}.googlecode.com/files/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
KEYWORDS="amd64 x86"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="dev-python/pychm[${PYTHON_USEDEP}]
|
||||
app-text/htmldoc
|
||||
>=dev-libs/chmlib-0.40-r1[examples]
|
||||
${PYTHON_DEPS}"
|
||||
|
||||
REQUIRED_USE=${PYTHON_REQUIRED_USE}
|
||||
|
||||
PATCHES=( "${FILESDIR}/tempdir.patch" )
|
||||
|
||||
pkg_setup() {
|
||||
python-single-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare(){
|
||||
python_fix_shebang .
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
python_doscript ${PN} || die "failed to create executable"
|
||||
}
|
@ -1,71 +0,0 @@
|
||||
--- chm2pdf-0.9.1.orig/chm2pdf 2008-07-09 12:42:26.000000000 +0200
|
||||
+++ chm2pdf-0.9.1/chm2pdf 2009-02-25 20:58:53.000000000 +0100
|
||||
@@ -27,6 +27,8 @@
|
||||
import os, os.path
|
||||
import re, glob
|
||||
import getopt
|
||||
+import tempfile
|
||||
+import shutil
|
||||
# from BeautifulSoup import BeautifulSoup
|
||||
|
||||
global version
|
||||
@@ -39,8 +41,8 @@
|
||||
global filename #the input filename
|
||||
|
||||
version = '0.9.1'
|
||||
-CHM2PDF_TEMP_WORK_DIR='/tmp/chm2pdf/work'
|
||||
-CHM2PDF_TEMP_ORIG_DIR='/tmp/chm2pdf/orig'
|
||||
+CHM2PDF_TEMP_WORK_DIR=tempfile.mkdtemp()
|
||||
+CHM2PDF_TEMP_ORIG_DIR=tempfile.mkdtemp()
|
||||
|
||||
|
||||
|
||||
@@ -299,16 +301,6 @@
|
||||
# ########################### File extraction and correction: START ############################
|
||||
#
|
||||
if options['dontextract'] == '':
|
||||
-
|
||||
- try:
|
||||
- os.mkdir(CHM2PDF_TEMP_WORK_DIR)
|
||||
- except OSError: # The directory already exists.
|
||||
- pass
|
||||
-
|
||||
- try:
|
||||
- os.mkdir(CHM2PDF_TEMP_ORIG_DIR)
|
||||
- except OSError: # The directory already exists.
|
||||
- pass
|
||||
|
||||
try:
|
||||
os.mkdir(CHM2PDF_ORIG_DIR)
|
||||
@@ -620,7 +612,7 @@
|
||||
print '\t--continuous\n\t\tSpecifies that the HTML sources are unstructured (plain web pages).\n\t\tNo page breaks are inserted between each file or URL in the output.'
|
||||
print '\t--cookies \'name="value with space"; name=value\'\n\t\t'
|
||||
print '\t--datadir directory\n\t\tSpecifies the location of the HTMLDOC data files, usually /usr/share/htmldoc or C:\Program Files\HTMLDOC '
|
||||
- print "\t--dontextract \n\t\tIf given, %s will not extract the HTML files from the given CHM file, but will use previously extracted copies from the temporary directory " %name + '(i.e. ' + CHM2PDF_TEMP_ORIG_DIR + ' and ' + CHM2PDF_TEMP_WORK_DIR + '). Usually you will use this option after you have used the \'--extract-only\' option to extract the files in order to correct them manually (in ' + CHM2PDF_TEMP_WORK_DIR + '). After the correction, a call with \'--dontextract\' will not overwrite your changes, but will use the corrected files instead.'
|
||||
+# print "\t--dontextract \n\t\tIf given, %s will not extract the HTML files from the given CHM file, but will use previously extracted copies from the temporary directory " %name + '(i.e. ' + CHM2PDF_TEMP_ORIG_DIR + ' and ' + CHM2PDF_TEMP_WORK_DIR + '). Usually you will use this option after you have used the \'--extract-only\' option to extract the files in order to correct them manually (in ' + CHM2PDF_TEMP_WORK_DIR + '). After the correction, a call with \'--dontextract\' will not overwrite your changes, but will use the corrected files instead.'
|
||||
print '\t--duplex\n\t\tSpecifies that the output should be formatted for double-sided printing.'
|
||||
print '\t--effectduration {0.1..10.0}\n\t\tSpecifies the duration in seconds of PDF page transition effects.'
|
||||
print '\t--embedfonts\n\t\tSpecifies that fonts should be embedded in PDF output.'
|
||||
@@ -1084,13 +1076,6 @@
|
||||
print 'CHM file "' + filename + '" not found!'
|
||||
return
|
||||
|
||||
- #remove temporary files
|
||||
- if options['dontextract'] == '':
|
||||
- if options['verbose']=='--verbose' and options['verbositylevel']=='high':
|
||||
- print 'Removing any previous temporary files...'
|
||||
- os.system('rm -r '+CHM2PDF_ORIG_DIR+'/*')
|
||||
- os.system('rm -r '+CHM2PDF_WORK_DIR+'/*')
|
||||
-
|
||||
cfile = chm.CHMFile()
|
||||
cfile.LoadCHM(filename)
|
||||
|
||||
@@ -1105,6 +1090,8 @@
|
||||
os.system('extract_chmLib ' + filename + ' ' + CHM2PDF_ORIG_DIR + '&> /dev/null')
|
||||
|
||||
convert_to_pdf(cfile, filename, outputfilename, options)
|
||||
+ shutil.rmtree(CHM2PDF_TEMP_WORK_DIR)
|
||||
+ shutil.rmtree(CHM2PDF_TEMP_ORIG_DIR)
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
@ -1,8 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<!-- maintainer-needed -->
|
||||
<upstream>
|
||||
<remote-id type="google-code">chm2pdf</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -1,6 +0,0 @@
|
||||
AUX clara-20031214-debian-vararg.patch 1768 BLAKE2B 87457b832c224a4a199136abda7a8448fb80ec215d7d93a5f66a0d382b8bc3dc0a33412954a91040b5ed6a8a9e4d24619ff783b05b32481f2c6da694cc2fee5c SHA512 3ec7c2bb9a11721c670ac1f74f2038f0909d0282392381be8c2bb2b9fd564b32dc94b56ab9458d95a63bf701816729610501e8cea2ca9088f64db62f560611bb
|
||||
AUX clara_open_mode.patch 567 BLAKE2B 0b355d1ef6a2c8de21e2c90b4651d361799ce6d4972a1a235068d2d08fd0810d712bde3e3d759ce1305f9c52c094120e7e42bbfb6b1c332ccbcded64dcb64c5a SHA512 787972048c6ddcea4727b72a0b327486349876de2978358fcc4386010d5f43415e6573bf01d4c48ad747195718186954403ddae63a09f1bf5471995b17d27b34
|
||||
DIST clara-20031214.tar.gz 451539 BLAKE2B beed8b3a199825a8d8699c10b6a08c4d71fbafa3f3d2ebbbff6b13eafa35b4f38bacca35209039a93f0d31a993987a8773371b43440a1a0fbd61c40c455ec1f9 SHA512 260d710132a3903d71b6c4c0885ac1709b60d520861e3dcd5e4b75a3bf5627549c94423670be08245e7a9db6a870a93a9526c8d318fadaddcce00cbf02985f49
|
||||
EBUILD clara-20031214-r1.ebuild 1262 BLAKE2B ba3f6b45e1d17a56066134acf5991837d3e3fd92c6edf7ebf71833254d8c9f6eaa58b1369029d7a388a3dbb256cca75ae3d6804107fffac14f7361f6e95bfb6e SHA512 499a121d78c780e025ba45b9f56e1e8b8c16d7776ec2b21b1bd1af5b60b4c1526f5bd443c19ea697c12d5c7d519e902a17a15756c3d42f1cbe2972c49773335b
|
||||
EBUILD clara-20031214.ebuild 1245 BLAKE2B 46d3e3ea7114342eec8a8b6d298e41ceea7eb05a0af31ab7247daab97fe5645561cfcec96edb3886078548546ed6691783e802102935fca3520a151713ebd23d SHA512 e14f2c63eba3aa5dd9a3300b65bec2a0f263546dd778ec5ee826a6dc90d44dde778505abcaf21eeb8b7904e92f4fa7ab2f27aabee38d4505410bba29495d5a8e
|
||||
MISC metadata.xml 166 BLAKE2B c254f1fb642881aba57637be14fb0a89b10384f91a128feaec3a8c870d76efc2cbacb92caccc0dee2dd19a5ac5eaf8643080dafa05c4e2ac96a68568927e5afd SHA512 a56648c974a1d14dd4c18237532773c72057a13ab90c58b5da04f185e3c12a8bd8d5c21fb06053507f31766291a82dc7d87b34cd65fd94cfe2af7295c813ef84
|
@ -1,54 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils toolchain-funcs
|
||||
|
||||
DESCRIPTION="An OCR (Optical Character Recognition) program"
|
||||
SRC_URI="mirror://gentoo/${P}.tar.gz"
|
||||
HOMEPAGE="http://www.claraocr.org/"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="GPL-2"
|
||||
KEYWORDS="~amd64 ~ppc ~x86 ~ppc-macos ~sparc-solaris"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="x11-libs/libX11"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
# The test provided by clara doesn't seem to make any sense. It just
|
||||
# calls the binary with an unsupported option, which results in an
|
||||
# error.
|
||||
RESTRICT="test"
|
||||
|
||||
src_prepare() {
|
||||
sed -i -re "s/(C|LD)FLAGS =/\1FLAGS +=/" Makefile
|
||||
epatch "${FILESDIR}/${PN}_open_mode.patch"
|
||||
epatch "${FILESDIR}/${P}-debian-vararg.patch"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake CC="$(tc-getCC)" || die
|
||||
emake doc || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin ${PN} selthresh
|
||||
doman doc/${PN}*.1 selthresh.1
|
||||
|
||||
dodoc ANNOUNCE CHANGELOG doc/FAQ
|
||||
insinto /usr/share/doc/${P}
|
||||
doins imre.pbm
|
||||
|
||||
dohtml doc/*.html
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog
|
||||
elog "Please note that Clara OCR has to be trained to recognize text,"
|
||||
elog "without a training session it simply won't work. Have a look at"
|
||||
elog "the docs in /usr/share/doc/${P}/html/ to get more "
|
||||
elog "info about the training procedure."
|
||||
elog
|
||||
}
|
@ -1,55 +0,0 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=0
|
||||
|
||||
inherit eutils toolchain-funcs
|
||||
|
||||
DESCRIPTION="An OCR (Optical Character Recognition) program"
|
||||
SRC_URI="mirror://gentoo/clara-20031214.tar.gz"
|
||||
HOMEPAGE="http://www.claraocr.org/"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="GPL-2"
|
||||
KEYWORDS="amd64 ppc x86 ~ppc-macos ~sparc-solaris"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="x11-libs/libX11"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
# The test provided by clara doesn't seem to make any sense. It just
|
||||
# calls the binary with an unsupported option, which results in an
|
||||
# error.
|
||||
RESTRICT="test"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd "${S}"
|
||||
sed -i -re "s/(C|LD)FLAGS =/\1FLAGS +=/" Makefile
|
||||
epatch "${FILESDIR}/clara_open_mode.patch"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake CC="$(tc-getCC)" || die
|
||||
emake doc || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin clara selthresh
|
||||
doman doc/clara*.1 selthresh.1
|
||||
|
||||
dodoc ANNOUNCE CHANGELOG doc/FAQ
|
||||
insinto /usr/share/doc/${P}
|
||||
doins imre.pbm
|
||||
|
||||
dohtml doc/*.html
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog
|
||||
elog "Please note that Clara OCR has to be trained to recognize text,"
|
||||
elog "without a training session it simply won't work. Have a look at"
|
||||
elog "the docs in /usr/share/doc/${P}/html/ to get more "
|
||||
elog "info about the training procedure."
|
||||
elog
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue