parent
c73d68fb43
commit
379fa05ba5
@ -1,23 +1,23 @@
|
|||||||
-----BEGIN PGP SIGNED MESSAGE-----
|
-----BEGIN PGP SIGNED MESSAGE-----
|
||||||
Hash: SHA512
|
Hash: SHA512
|
||||||
|
|
||||||
MANIFEST Manifest.files.gz 28820 BLAKE2B d6970aae48ad2dff537c1807952b309f523bf1ad1c051101693d1fe27756dc28cd5c493593881add214677440d753b393c27a42c8417845e909d180b057c95db SHA512 a642a8f6185e2f233a6de9c476ab562a96bf9ad9c0f63b50fa3dfbd9dd011ebcec661c6db33606f8f6f17ab905b0009b520fe450a18fd2c14833fc3dd9eed2c0
|
MANIFEST Manifest.files.gz 28868 BLAKE2B f528adffb45699c4122f8552c005d98b5aac2138c07f1df4fb4849bf3488aa78ebde4ac768bff10bb2402633cf8c37bcf230be8445bdd75ad81f5b49ba62a5ce SHA512 d5749bfd52093d1fef62ea9446db77f141820fc311be773b776388bfbdda1fef5fd622dce282683f3aa8e9021082f3bd05c7ba9049cdea31e2042673ce39e721
|
||||||
TIMESTAMP 2018-10-15T08:38:41Z
|
TIMESTAMP 2018-10-17T11:38:48Z
|
||||||
-----BEGIN PGP SIGNATURE-----
|
-----BEGIN PGP SIGNATURE-----
|
||||||
|
|
||||||
iQKTBAEBCgB9FiEE4dartjv8+0ugL98c7FkO6skYklAFAlvEUhFfFIAAAAAALgAo
|
iQKTBAEBCgB9FiEE4dartjv8+0ugL98c7FkO6skYklAFAlvHH0hfFIAAAAAALgAo
|
||||||
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEUx
|
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEUx
|
||||||
RDZBQkI2M0JGQ0ZCNEJBMDJGREYxQ0VDNTkwRUVBQzkxODkyNTAACgkQ7FkO6skY
|
RDZBQkI2M0JGQ0ZCNEJBMDJGREYxQ0VDNTkwRUVBQzkxODkyNTAACgkQ7FkO6skY
|
||||||
klCGQxAAni9g6ATH0sMhu1JzRNAzMQSeNF70z0NuzHV1qrWCKZMgJtKWwALNXc7K
|
klC2CQ/+LrwxOaM/jj/UOr+9GnLKIHyFnzwMZMCO3z/klm5ushjVhk8N4SZR9L5W
|
||||||
MkOt6gh3RxAW0fIbUcZVdUANWCfOHyeSSWIng8KLj0dbOmV12jnS859yF0NaZD/2
|
1nQDhfHKauW1xBLRPRw4xfHV4uMP4pSYBqsHdIBF984MLxuDAE6UQEsu7uIZ8tS6
|
||||||
gsSqnLIq308+NcSFOPC9lVOxWsEyMrTabdiaN1GjbxGPigfx28jjbsKGlAYU6TIK
|
SC6C3LGNifUibh20KubQL7eif6tYlSiv6FvuxfTt70X62Tyc31h1Jqd+m6w6KX+5
|
||||||
BInjRBYCytKfbO6E+p1ttjLW2/D3bsM3qKiqVZRHWVX3wvqMS6jjquVUvfLWHgYx
|
JIy+U26itamRUv3yNaht2DTUXOawrfeTpUhorUlgKMmDo1uTgV2uZ+3JccMFjxwq
|
||||||
9TJnwSwTdZEN72BaLfWpp2ijdvRrDkVIEWGp92LrXWopOVQRUx9SNjlejE8pkTVd
|
DrtiuxF+tRfVrpWdqbVYQ0GPgf2mah1qoyODEilBM+ncy9sBuJV8gl5sPIDPxxg2
|
||||||
ALq20bc54uDHbl0VmL8XyIc08cDYwBIsaMECwaDfSW/RPtdydTGKUju3n4OOGyuj
|
2DuBZ3k5s22WICX2oV62wzjolTYU418NB0OEZ0wxaotz/eb3j4sWOI10e9D/JaYz
|
||||||
ArJwuo6CJ7kaqLZEp7sdI3ny4pzh6K2FZhMgnrY+s5BNLvHbtdAuZHIFe8Xef0dL
|
a94qv8ovomtTYyLa0/cWikSXnoAhoMpdc+UYzeaqvOqGa+STHX8thMU7y4Bx7tu0
|
||||||
KI0QwISlmp9ozf4PT/7E4T9CB3+stlR27wzJDu8Zwi3MHdpipyTS+MDCPTWlWU5l
|
PkCHd1xgzBP2uLl8olqxLfob7ypdmzcQ7pTpDD/rJH/GPkMUOBcc6ae3PXl6YzOQ
|
||||||
dmgiivnSbaGAwEhlA99954zF3VRbOEU5hV7LDvdwZz+Z+QyNIvtn/Jp+CpoEt2E0
|
wED36Bni3lZt7IU5WTfgyDlvvgF5mDZilThlkctKowt4bud/37Atj7axvI0qZE0i
|
||||||
2Y6vkASRelHbdR0ZfhQG1z8s0WXLGB4JaWJv+MLRSWRmFPmYk3J9rb321I3fX7Qd
|
P6dnUr87cXSqcf/vrSGrXSbNYUWSaRKPgF6k1AIXdvBgRj6vCPWuNdsJyk4UV8F+
|
||||||
EPoSBfYheLofEcYMX5QlJA7sLgb5k+tVi7fEl3kAw5UQt3rvQj0=
|
xyvqxRqGJQQqeAhnV89Ohh8Q8Z7xxFT6dAbzB5tIBp/GFrafehI=
|
||||||
=8y92
|
=FTLI
|
||||||
-----END PGP SIGNATURE-----
|
-----END PGP SIGNATURE-----
|
||||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1,68 @@
|
|||||||
|
# Copyright 1999-2018 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
inherit systemd
|
||||||
|
|
||||||
|
if [[ ${PV} == "9999" ]] ; then
|
||||||
|
EGIT_REPO_URI="https://github.com/digint/btrbk.git"
|
||||||
|
inherit git-r3
|
||||||
|
SRC_URI=""
|
||||||
|
KEYWORDS=""
|
||||||
|
else
|
||||||
|
SRC_URI="https://digint.ch/download/btrbk/releases/${P}.tar.xz"
|
||||||
|
KEYWORDS="~amd64 ~arm ~x86"
|
||||||
|
fi
|
||||||
|
|
||||||
|
DESCRIPTION="Tool for creating snapshots and remote backups of btrfs subvolumes"
|
||||||
|
HOMEPAGE="https://digint.ch/btrbk/"
|
||||||
|
LICENSE="GPL-3+"
|
||||||
|
SLOT="0"
|
||||||
|
IUSE="+pv"
|
||||||
|
|
||||||
|
DEPEND=">=app-text/asciidoc-8.6.0
|
||||||
|
app-text/xmlto"
|
||||||
|
|
||||||
|
RDEPEND="dev-lang/perl
|
||||||
|
net-misc/openssh
|
||||||
|
pv? ( sys-apps/pv )
|
||||||
|
>=sys-fs/btrfs-progs-3.18.2"
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
emake DESTDIR="${D}" DOCDIR="/usr/share/doc/${PF}" SYSTEMDDIR="$(systemd_get_systemunitdir)" install
|
||||||
|
}
|
||||||
|
pkg_preinst() {
|
||||||
|
if has_version "<${CATEGORY}/${PN}-0.26.0" ; then
|
||||||
|
upgrade_0_26_0_warning="1"
|
||||||
|
fi
|
||||||
|
if has_version "<${CATEGORY}/${PN}-0.27.0" ; then
|
||||||
|
upgrade_0_27_0_warning="1"
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
pkg_postinst() {
|
||||||
|
if [[ "${upgrade_0_26_0_warning}" == "1" ]]; then
|
||||||
|
ewarn "If you are using raw targets, make sure to run the"
|
||||||
|
ewarn "\"raw_suffix2sidecar\" utility in each target directory."
|
||||||
|
fi
|
||||||
|
if [[ "${upgrade_0_27_0_warning}" == "1" ]]; then
|
||||||
|
ewarn 'Due to a bugfix in the scheduler [1] [2], previously preserved'
|
||||||
|
ewarn 'monthly/yearly backups could get deleted when upgrading to'
|
||||||
|
ewarn 'btrbk-0.27.0.'
|
||||||
|
ewarn ''
|
||||||
|
ewarn 'Before upgrading to btrbk-0.27.0, make sure to stop all cron jobs'
|
||||||
|
ewarn 'or systemd timers calling btrbk.'
|
||||||
|
ewarn ''
|
||||||
|
ewarn 'After upgrading, run "btrbk prune --dry-run --print-schedule" and'
|
||||||
|
ewarn 'check if any snapshots/backups would get deleted. If you want to'
|
||||||
|
ewarn 'forcibly preserve a snapshot/backup forever, rename it:'
|
||||||
|
ewarn ''
|
||||||
|
ewarn ' mv mysubvol.YYYYMMDD mysubvol.YYYYMMDD.keep_forever'
|
||||||
|
ewarn ''
|
||||||
|
ewarn 'Note that btrbk ignores subvolumes with unknown naming scheme, e.g.'
|
||||||
|
ewarn '(".keep_forever" suffix in the example above).'
|
||||||
|
ewarn ''
|
||||||
|
ewarn ' [1] https://github.com/digint/btrbk/issues/217'
|
||||||
|
ewarn ' [2] https://github.com/digint/btrbk/commit/719fb5f'
|
||||||
|
fi
|
||||||
|
}
|
Binary file not shown.
@ -1,3 +1,5 @@
|
|||||||
|
DIST gpa-0.10.0.tar.bz2 782455 BLAKE2B ef663432cbe20fb5c543696627f448b3970099b6a0f8f68b57e3d87af03550597adcfe4c27c2774d1f278cfc9d07a089652f42ef4f8c3cbc0192b645c465ac0e SHA512 87004fb0806e76012bc194f95afe9ef6044aec890b26e845f45c314e1bd8864f056ba5e32f9ef2e15b24b50840235e6e548a5e3006b255b4f1c20e0fd7710a3b
|
||||||
DIST gpa-0.9.10.tar.bz2 763239 BLAKE2B 60763d63c39ca73c5f36d569e27388650060989386df10a867b0235d1b37ce3a46f1526668a1975b9e8c9ebd1c98ffaedab0fe92e55c80787a24dd412939e6a4 SHA512 ff81a78e6b7c46307af6648a2e691a5e8185db229ccc5e259f2c3c05a3c86b337dde492069e7e9510c155fbc64d71cc4e2f109a00400bfb7560c558b753c42a9
|
DIST gpa-0.9.10.tar.bz2 763239 BLAKE2B 60763d63c39ca73c5f36d569e27388650060989386df10a867b0235d1b37ce3a46f1526668a1975b9e8c9ebd1c98ffaedab0fe92e55c80787a24dd412939e6a4 SHA512 ff81a78e6b7c46307af6648a2e691a5e8185db229ccc5e259f2c3c05a3c86b337dde492069e7e9510c155fbc64d71cc4e2f109a00400bfb7560c558b753c42a9
|
||||||
|
EBUILD gpa-0.10.0.ebuild 817 BLAKE2B 3d901fd42c0b09bc726c3867515791aecebc8b9bd0297ac9375805810928307b320a0a9b9e0d17b825f3e4f8be1df28cca4246b5f0f86e4fd506b8c04add7ea0 SHA512 283488e87a8d636c28fc5f46eca7f6de19f6945953c4ab4bca82393d9d90a3b62df6d3c3033897efe933951173323c345618fedcc3e72a4403581e734c7957a2
|
||||||
EBUILD gpa-0.9.10.ebuild 814 BLAKE2B 0dfd28852ffb2c119a891a4061711c1cfb1685d252c429d39cd1609e235e3213b766a83f7bf2ce1ad1299f7d8dc7656f3499494e8d09c1e7173e8245efc236a4 SHA512 4584ec11fe1c2bc335a68fa51eeed0f006e2e1f3b6add9af14d53ef5ac06c5931a2facd5735bc0df4798ae75ec7005acbbcdf3cd7ae5758b26059a8b37c8b220
|
EBUILD gpa-0.9.10.ebuild 814 BLAKE2B 0dfd28852ffb2c119a891a4061711c1cfb1685d252c429d39cd1609e235e3213b766a83f7bf2ce1ad1299f7d8dc7656f3499494e8d09c1e7173e8245efc236a4 SHA512 4584ec11fe1c2bc335a68fa51eeed0f006e2e1f3b6add9af14d53ef5ac06c5931a2facd5735bc0df4798ae75ec7005acbbcdf3cd7ae5758b26059a8b37c8b220
|
||||||
MISC metadata.xml 236 BLAKE2B a7bb92e6d53f7252ee56a885bf098930e228a76a75bca119358ca860901ceeecccc43efe5279c54250ebda58f77ae9c97d2ae540d8b399283cb3aa348111fcd2 SHA512 5f6cd6a85527534d5de7118de5af212ee3044c8c5530a7f7087a28074a2d4ab7be1728325bd985adc063dc795d3cf2b1c4e58a4c4c4ec02d739bd4bbc544ef08
|
MISC metadata.xml 236 BLAKE2B a7bb92e6d53f7252ee56a885bf098930e228a76a75bca119358ca860901ceeecccc43efe5279c54250ebda58f77ae9c97d2ae540d8b399283cb3aa348111fcd2 SHA512 5f6cd6a85527534d5de7118de5af212ee3044c8c5530a7f7087a28074a2d4ab7be1728325bd985adc063dc795d3cf2b1c4e58a4c4c4ec02d739bd4bbc544ef08
|
||||||
|
@ -0,0 +1,37 @@
|
|||||||
|
# Copyright 1999-2018 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
DESCRIPTION="The GNU Privacy Assistant (GPA) is a graphical user interface for GnuPG"
|
||||||
|
HOMEPAGE="http://gpa.wald.intevation.org"
|
||||||
|
SRC_URI="mirror://gnupg/${PN}/${P}.tar.bz2"
|
||||||
|
|
||||||
|
LICENSE="GPL-3"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86"
|
||||||
|
IUSE="nls"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
>=app-crypt/gnupg-2:=
|
||||||
|
>=app-crypt/gpgme-1.5.0:=
|
||||||
|
>=dev-libs/libassuan-1.1.0
|
||||||
|
>=dev-libs/libgpg-error-1.4
|
||||||
|
>=x11-libs/gtk+-2.10.0:2
|
||||||
|
"
|
||||||
|
DEPEND="${RDEPEND}"
|
||||||
|
BDEPEND="virtual/pkgconfig
|
||||||
|
nls? ( sys-devel/gettext )"
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
default
|
||||||
|
sed -i 's/Application;//' gpa.desktop
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
econf \
|
||||||
|
--with-gpgme-prefix=/usr \
|
||||||
|
--with-libassuan-prefix=/usr \
|
||||||
|
$(use_enable nls) \
|
||||||
|
GPGKEYS_LDAP="/usr/libexec/gpgkeys_ldap"
|
||||||
|
}
|
Binary file not shown.
@ -1,3 +1,5 @@
|
|||||||
DIST gedit-plugins-3.22.0.tar.xz 1314512 BLAKE2B 2910a101da94112b4190d96111013675234c109bfc37e05ff98d53e87e0a4db8e5a4a6823017153d65a9d554cfb95fed000d56d9e721faebfeeb033fc7be2901 SHA512 5560b48c0b21b535de7247c39653c111439f9cb138025d7e3a600b94babbe060777c2095160b7e5ea39b8ba8be520ea3966b0ffc2ec15d17ea0bf814bf58748d
|
DIST gedit-plugins-3.22.0.tar.xz 1314512 BLAKE2B 2910a101da94112b4190d96111013675234c109bfc37e05ff98d53e87e0a4db8e5a4a6823017153d65a9d554cfb95fed000d56d9e721faebfeeb033fc7be2901 SHA512 5560b48c0b21b535de7247c39653c111439f9cb138025d7e3a600b94babbe060777c2095160b7e5ea39b8ba8be520ea3966b0ffc2ec15d17ea0bf814bf58748d
|
||||||
|
DIST gedit-plugins-3.28.1.tar.xz 1350468 BLAKE2B 4fd50ad7358581f5e27f0c3a7e127d4e2c0e7189c039daee1d8d7ddf7062846e1aebb634b3edd998c9a7c11840c71f56fe4eeca78ea2e91ae18db814e4fd79e5 SHA512 6258c627cd3fa2948375c30e87061375c0d09ce2c70301c2d10a403e6075d1df09e928a2d95b72f6d7950a31a720af645fff2f7f59a281d2999948beb56c1dc9
|
||||||
EBUILD gedit-plugins-3.22.0.ebuild 2297 BLAKE2B 74878dee069c2eeed548f80084f2bf1b63cedeab159ab84b54bd2bde7ae5446b5b6facb77e0cc08184a6bfd7502508bd0e5e6130c412247b822233fdae060ada SHA512 dce1562f0c1882d55feec31b82f3261d5e026f1e7fc1eb295941769c2da57d4feba03637f266f2a370fa5efb9f33b90253900eb40ad1d065b2762a6f08ea9ad2
|
EBUILD gedit-plugins-3.22.0.ebuild 2297 BLAKE2B 74878dee069c2eeed548f80084f2bf1b63cedeab159ab84b54bd2bde7ae5446b5b6facb77e0cc08184a6bfd7502508bd0e5e6130c412247b822233fdae060ada SHA512 dce1562f0c1882d55feec31b82f3261d5e026f1e7fc1eb295941769c2da57d4feba03637f266f2a370fa5efb9f33b90253900eb40ad1d065b2762a6f08ea9ad2
|
||||||
|
EBUILD gedit-plugins-3.28.1.ebuild 2296 BLAKE2B 2be407a0435544e95cb64a26d9f6a566c3f4e4de49dce24739322646e8e67a586cd377ed33b6de7e1d17469af163abfeb9547655e9dd732a7405ecaf3bf36d1f SHA512 719d99894d7f9d9c51acb12e8f2b7f9c070fcc019c67f02cda00418b042cfb3220607afd4141c72e42d96588d69401ab5e1ebb95a5376111874f3491207c6825
|
||||||
MISC metadata.xml 542 BLAKE2B 1336fdd161ef76bb2e1445dd074aed82e04be00c9c47885eb5005122c850193dd2bec1aed69dd1da74527c8ee82d7c75d57b73d020cc692e41f6762ba43d8f08 SHA512 1eba6ba724a313d8dd04e838c448cb8de2f3411b891daaacdea615f0d8187d3bbe1f650c9b2ab5457d519ed98dee600d8830e7eea848c872ccb9c52ba58f231a
|
MISC metadata.xml 542 BLAKE2B 1336fdd161ef76bb2e1445dd074aed82e04be00c9c47885eb5005122c850193dd2bec1aed69dd1da74527c8ee82d7c75d57b73d020cc692e41f6762ba43d8f08 SHA512 1eba6ba724a313d8dd04e838c448cb8de2f3411b891daaacdea615f0d8187d3bbe1f650c9b2ab5457d519ed98dee600d8830e7eea848c872ccb9c52ba58f231a
|
||||||
|
@ -0,0 +1,94 @@
|
|||||||
|
# Copyright 1999-2018 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI="6"
|
||||||
|
GNOME2_LA_PUNT="yes" # plugins are dlopened
|
||||||
|
PYTHON_COMPAT=( python3_{4,5,6} )
|
||||||
|
PYTHON_REQ_USE="xml"
|
||||||
|
VALA_MIN_API_VERSION="0.28"
|
||||||
|
|
||||||
|
inherit eutils gnome2 multilib python-single-r1 vala
|
||||||
|
|
||||||
|
DESCRIPTION="Official plugins for gedit"
|
||||||
|
HOMEPAGE="https://wiki.gnome.org/Apps/Gedit/ShippedPlugins"
|
||||||
|
|
||||||
|
LICENSE="GPL-2+"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
SLOT="0"
|
||||||
|
|
||||||
|
IUSE_plugins="charmap git terminal vala"
|
||||||
|
IUSE="+python ${IUSE_plugins}"
|
||||||
|
# python-single-r1 would request disabling PYTHON_TARGETS on libpeas
|
||||||
|
REQUIRED_USE="
|
||||||
|
charmap? ( python )
|
||||||
|
git? ( python )
|
||||||
|
python? ( ${PYTHON_REQUIRED_USE} )
|
||||||
|
terminal? ( python )
|
||||||
|
"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
>=app-editors/gedit-3.16
|
||||||
|
>=dev-libs/glib-2.32:2
|
||||||
|
>=dev-libs/libpeas-1.7.0[gtk]
|
||||||
|
>=x11-libs/gtk+-3.9:3
|
||||||
|
>=x11-libs/gtksourceview-3.21.3:3.0
|
||||||
|
python? (
|
||||||
|
${PYTHON_DEPS}
|
||||||
|
>=app-editors/gedit-3.16[introspection,python,${PYTHON_USEDEP}]
|
||||||
|
dev-libs/libpeas[python,${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/dbus-python-0.82[${PYTHON_USEDEP}]
|
||||||
|
dev-python/pycairo[${PYTHON_USEDEP}]
|
||||||
|
dev-python/pygobject:3[cairo,${PYTHON_USEDEP}]
|
||||||
|
>=x11-libs/gtk+-3.9:3[introspection]
|
||||||
|
>=x11-libs/gtksourceview-3.14:3.0[introspection]
|
||||||
|
x11-libs/pango[introspection]
|
||||||
|
x11-libs/gdk-pixbuf:2[introspection]
|
||||||
|
)
|
||||||
|
charmap? ( >=gnome-extra/gucharmap-3:2.90[introspection] )
|
||||||
|
git? ( >=dev-libs/libgit2-glib-0.0.6 )
|
||||||
|
terminal? ( x11-libs/vte:2.91[introspection] )
|
||||||
|
vala? ( $(vala_depend) )
|
||||||
|
"
|
||||||
|
DEPEND="${RDEPEND}
|
||||||
|
app-text/yelp-tools
|
||||||
|
>=dev-util/intltool-0.40.0
|
||||||
|
>=sys-devel/gettext-0.17
|
||||||
|
virtual/pkgconfig
|
||||||
|
"
|
||||||
|
|
||||||
|
pkg_setup() {
|
||||||
|
use python && [[ ${MERGE_TYPE} != binary ]] && python-single-r1_pkg_setup
|
||||||
|
}
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
use vala && vala_src_prepare
|
||||||
|
gnome2_src_prepare
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
gnome2_src_configure \
|
||||||
|
$(use_enable python) \
|
||||||
|
$(use_enable vala)
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
gnome2_src_install
|
||||||
|
|
||||||
|
# FIXME: crazy !!!
|
||||||
|
if use python; then
|
||||||
|
find "${ED}"/usr/share/gedit -name "*.py*" -delete || die
|
||||||
|
find "${ED}"/usr/share/gedit -type d -empty -delete || die
|
||||||
|
fi
|
||||||
|
|
||||||
|
# FIXME: upstream made this automagic...
|
||||||
|
clean_plugin charmap
|
||||||
|
clean_plugin git
|
||||||
|
clean_plugin terminal
|
||||||
|
}
|
||||||
|
|
||||||
|
clean_plugin() {
|
||||||
|
if use !${1} ; then
|
||||||
|
rm -rf "${ED}"/usr/share/gedit/plugins/${1}*
|
||||||
|
rm -rf "${ED}"/usr/$(get_libdir)/gedit/plugins/${1}*
|
||||||
|
fi
|
||||||
|
}
|
@ -1,5 +1,5 @@
|
|||||||
DIST gedit-3.22.1.tar.xz 2948048 BLAKE2B aa23b261bc0a463febf5affbd0dca647df8d1db9553356f145784b1ebed43ed15dfede12f62b3fcb6f00aac59e2d3a84c31627be32000830523a805d46d2e4ab SHA512 7251732f353b1d9dab0fe447fe90b2259df34ff0694d8731ce3be531c21ac82ab6e7f4a07090aeef364640154f4ba6103539a253bc7942952dcf1e331418f0eb
|
DIST gedit-3.22.1.tar.xz 2948048 BLAKE2B aa23b261bc0a463febf5affbd0dca647df8d1db9553356f145784b1ebed43ed15dfede12f62b3fcb6f00aac59e2d3a84c31627be32000830523a805d46d2e4ab SHA512 7251732f353b1d9dab0fe447fe90b2259df34ff0694d8731ce3be531c21ac82ab6e7f4a07090aeef364640154f4ba6103539a253bc7942952dcf1e331418f0eb
|
||||||
DIST gedit-3.28.1.tar.xz 3149684 BLAKE2B 6afedcc5de0bd249af3d0fd02339acc2d993aae083dcbfda9212745ab810b81cdb9da655273cb7ccc556644c29d69429d3587fcc9e1faf7aa1c2cee57af09a4b SHA512 f5931ac562cb5005a83eec43048b718ef431e6006b72470fea54ad0e94bd64940ebdec160ee0459ceb5adb235ab111711a2f9fbdc74104d2edd8f287d7474815
|
DIST gedit-3.28.1.tar.xz 3149684 BLAKE2B 6afedcc5de0bd249af3d0fd02339acc2d993aae083dcbfda9212745ab810b81cdb9da655273cb7ccc556644c29d69429d3587fcc9e1faf7aa1c2cee57af09a4b SHA512 f5931ac562cb5005a83eec43048b718ef431e6006b72470fea54ad0e94bd64940ebdec160ee0459ceb5adb235ab111711a2f9fbdc74104d2edd8f287d7474815
|
||||||
EBUILD gedit-3.22.1.ebuild 2310 BLAKE2B d792c14afb2d9d87950afe72f2a0887564a7c6a6d6d7fb553ade64f4cde9e841a03bf2157fefb2e26923ae07da12b3527a65142bc6318b1781d1388dc12bbce2 SHA512 5ecdcb8f259361b27743fc29052e0c0a751367f46c6688a31f66942013aca448afd4113d41f7cf923b82bed61fa226e44943aef3dc795fbe3fced74d70663d78
|
EBUILD gedit-3.22.1.ebuild 2310 BLAKE2B d792c14afb2d9d87950afe72f2a0887564a7c6a6d6d7fb553ade64f4cde9e841a03bf2157fefb2e26923ae07da12b3527a65142bc6318b1781d1388dc12bbce2 SHA512 5ecdcb8f259361b27743fc29052e0c0a751367f46c6688a31f66942013aca448afd4113d41f7cf923b82bed61fa226e44943aef3dc795fbe3fced74d70663d78
|
||||||
EBUILD gedit-3.28.1.ebuild 2312 BLAKE2B af989eaa7428b7c1da28c18cb15f71a5431fc238882caa12f84a4f383b7c6d154a230a1b13a6d9a0ea00a679c6d803a7d65bb0360cb7ba92276b13906f1f8c64 SHA512 bb1cd8ba0572b2d066ffe6935e6dc3b6f868e0c8ab2972773b6269a35b3f6c5ba9635eded9b5f3894d358236443e6460a7e093e59bd5d9693d9b41a8b6802664
|
EBUILD gedit-3.28.1.ebuild 2330 BLAKE2B 5d7a9fafc3fb89e7aa7db115cb74657a809780e5e9b02954599592f725dde9ed2083eeabf34b858728da3ba15657579bc2b37652bb8c49e45bf4731ef8a8836b SHA512 105d6ea96961a2de1d9e201a281bc9df76d45f239d1b471836befec4b276c95a05e4c498d26e0fd3ece305e6316698c1209e6931a3d45fe49c5f5fefd1e019d3
|
||||||
MISC metadata.xml 249 BLAKE2B e71e1b95fee768c696704acbf7e3cf0e599ed2bc8de92bae0141d1194ef9e842bdc292798904487a9b90ddfda9b0e84abd3b76b1518576c1d288240e4e46f110 SHA512 c40662134899a5c9f0369a1017806f35adf3280a0b3c91726f7a8ca6012a073a8b471583f5bfb6fe95faac1dcf607e8e2e43f8c91d48ec46f4a8824e2f551506
|
MISC metadata.xml 249 BLAKE2B e71e1b95fee768c696704acbf7e3cf0e599ed2bc8de92bae0141d1194ef9e842bdc292798904487a9b90ddfda9b0e84abd3b76b1518576c1d288240e4e46f110 SHA512 c40662134899a5c9f0369a1017806f35adf3280a0b3c91726f7a8ca6012a073a8b471583f5bfb6fe95faac1dcf607e8e2e43f8c91d48ec46f4a8824e2f551506
|
||||||
|
Binary file not shown.
Binary file not shown.
@ -1,6 +1,8 @@
|
|||||||
DIST eselect-repository-4.tar.gz 5535 BLAKE2B 4dce6c0136ec9394c9bf4128ec26ab67260d4b96a165825ae7b15b8476d10d23fcc5190946fc54013d6eb8e4f18988b07df4c849ba50844571986a6823511547 SHA512 0d3c204d73bb4314bc24fdf6cd837f2a56ac00d1d11fbec7f072af874bc468777676bba40e0cc17553f6dec7a907f10865f9c356a6390372e0734173465ac483
|
DIST eselect-repository-4.tar.gz 5535 BLAKE2B 4dce6c0136ec9394c9bf4128ec26ab67260d4b96a165825ae7b15b8476d10d23fcc5190946fc54013d6eb8e4f18988b07df4c849ba50844571986a6823511547 SHA512 0d3c204d73bb4314bc24fdf6cd837f2a56ac00d1d11fbec7f072af874bc468777676bba40e0cc17553f6dec7a907f10865f9c356a6390372e0734173465ac483
|
||||||
DIST eselect-repository-5.tar.gz 5607 BLAKE2B cc007474b51873b7fa7f9c56572be717e7b8dff0d46c21d838911bcf9ecea99549da8e9f2d63c8101c0bc9c2ca230bfaba46f8bd770488d6566a62b2ac2ab0a6 SHA512 b5cf1701cc1d0cb50afcb9403f5c6f41223240891029f51ff899144eecee6fa3d7cfad23c477fae23733f9005413facd2cb8e9e1dea70931abc691a225fa83b4
|
DIST eselect-repository-5.tar.gz 5607 BLAKE2B cc007474b51873b7fa7f9c56572be717e7b8dff0d46c21d838911bcf9ecea99549da8e9f2d63c8101c0bc9c2ca230bfaba46f8bd770488d6566a62b2ac2ab0a6 SHA512 b5cf1701cc1d0cb50afcb9403f5c6f41223240891029f51ff899144eecee6fa3d7cfad23c477fae23733f9005413facd2cb8e9e1dea70931abc691a225fa83b4
|
||||||
|
DIST eselect-repository-6.tar.gz 5605 BLAKE2B 4a6dbb3f573cb1c4e212d02d011e79d8522828b8928bf28016b616c8eefd3beb08db8b555728d4e7f83473f2d36395eb1e2f1d8d21ccd5817e38a5d555cf6f09 SHA512 02ca2d66a6cfe4c68dea780440bf7fd431c575e535139a43c2b6201e833e43d174772486c97dc4154fc2d813935079d36c116ee907db115f7cb281db3d72add7
|
||||||
EBUILD eselect-repository-4.ebuild 971 BLAKE2B 18ffed0ba63a3cd42f8d543038bdabd9498252b6fe0664dc09b29287b5960b16d04469506a90a0dae2dfd911a62ac8f7054837acb0c8593d1204b5fcd39c60c3 SHA512 e0f09d7f2a0532d294512c3556296e252483704abc5999faa1db093606d5fb3ffa39ac565d84cb4770d5868375b16035ff0d845b865483be769d1c766628d936
|
EBUILD eselect-repository-4.ebuild 971 BLAKE2B 18ffed0ba63a3cd42f8d543038bdabd9498252b6fe0664dc09b29287b5960b16d04469506a90a0dae2dfd911a62ac8f7054837acb0c8593d1204b5fcd39c60c3 SHA512 e0f09d7f2a0532d294512c3556296e252483704abc5999faa1db093606d5fb3ffa39ac565d84cb4770d5868375b16035ff0d845b865483be769d1c766628d936
|
||||||
EBUILD eselect-repository-5.ebuild 974 BLAKE2B 36f839e7750afa630535f802dce0e7e0784ddc9a3310013130b72f41c381da73621ffb60a2287cedd0f5804a3a3797c54dcde656f6facaf82f4dc6fda76677ec SHA512 ea3c3df9f4ff197bc202b1a26b8f9c3c37824179b1d331e33d4ba4ae984ec9c40b3c71f6b2bc7f693d5383602fced83ec03eab17e8a08f5866c6d041606374df
|
EBUILD eselect-repository-5.ebuild 974 BLAKE2B 36f839e7750afa630535f802dce0e7e0784ddc9a3310013130b72f41c381da73621ffb60a2287cedd0f5804a3a3797c54dcde656f6facaf82f4dc6fda76677ec SHA512 ea3c3df9f4ff197bc202b1a26b8f9c3c37824179b1d331e33d4ba4ae984ec9c40b3c71f6b2bc7f693d5383602fced83ec03eab17e8a08f5866c6d041606374df
|
||||||
|
EBUILD eselect-repository-6.ebuild 974 BLAKE2B 36f839e7750afa630535f802dce0e7e0784ddc9a3310013130b72f41c381da73621ffb60a2287cedd0f5804a3a3797c54dcde656f6facaf82f4dc6fda76677ec SHA512 ea3c3df9f4ff197bc202b1a26b8f9c3c37824179b1d331e33d4ba4ae984ec9c40b3c71f6b2bc7f693d5383602fced83ec03eab17e8a08f5866c6d041606374df
|
||||||
EBUILD eselect-repository-9999.ebuild 888 BLAKE2B 9c5cd26305709a1b6f24845a726420ff0542169656356382c4f5ab25cb34a6e2f34c20e6a4094a2fa237e9c7a0130ca0a9ab1b3ae65c123077e402e64a9bf47d SHA512 283e639f646f8501ac95793d6c3d18307c61b5a8d12c1f66ddd4144154783a95f5262792db24373344a64c20ba863e7747c54fa4177feb72b3e789180981c56b
|
EBUILD eselect-repository-9999.ebuild 888 BLAKE2B 9c5cd26305709a1b6f24845a726420ff0542169656356382c4f5ab25cb34a6e2f34c20e6a4094a2fa237e9c7a0130ca0a9ab1b3ae65c123077e402e64a9bf47d SHA512 283e639f646f8501ac95793d6c3d18307c61b5a8d12c1f66ddd4144154783a95f5262792db24373344a64c20ba863e7747c54fa4177feb72b3e789180981c56b
|
||||||
MISC metadata.xml 361 BLAKE2B 65f6d76855e7205041fd10b416774d373f2cbf3ef3c13ccbad5069edb5f2d980c67cd1f188471df59ce784ff5b8a100c984644dadacaa4ace8d42c22993fc594 SHA512 40082f5d7899074e331edbe92d13784a3ccff5e04f60db71297ded20b2f1cca88e70b1f4fd6cc94e76048b7f3a718b586ced406452d816333e969e64ac5a3c8e
|
MISC metadata.xml 361 BLAKE2B 65f6d76855e7205041fd10b416774d373f2cbf3ef3c13ccbad5069edb5f2d980c67cd1f188471df59ce784ff5b8a100c984644dadacaa4ace8d42c22993fc594 SHA512 40082f5d7899074e331edbe92d13784a3ccff5e04f60db71297ded20b2f1cca88e70b1f4fd6cc94e76048b7f3a718b586ced406452d816333e969e64ac5a3c8e
|
||||||
|
@ -0,0 +1,40 @@
|
|||||||
|
# Copyright 1999-2018 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=6
|
||||||
|
|
||||||
|
PYTHON_COMPAT=( python{3_4,3_5,3_6,3_7} )
|
||||||
|
inherit python-single-r1
|
||||||
|
|
||||||
|
DESCRIPTION="Manage repos.conf via eselect"
|
||||||
|
HOMEPAGE="https://github.com/mgorny/eselect-repository"
|
||||||
|
SRC_URI="https://github.com/mgorny/eselect-repository/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="BSD-2"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
|
||||||
|
IUSE=""
|
||||||
|
REQUIRED_USE=${PYTHON_REQUIRED_USE}
|
||||||
|
|
||||||
|
RDEPEND="${PYTHON_DEPS}
|
||||||
|
app-admin/eselect
|
||||||
|
dev-python/lxml[${PYTHON_USEDEP}]
|
||||||
|
net-misc/wget"
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
MAKEARGS=(
|
||||||
|
PREFIX="${EPREFIX}/usr"
|
||||||
|
SYSCONFDIR="${EPREFIX}/etc"
|
||||||
|
SHAREDSTATEDIR="${EPREFIX}/var"
|
||||||
|
ESELECTDIR="${EPREFIX}/usr/share/eselect/modules"
|
||||||
|
)
|
||||||
|
|
||||||
|
emake "${MAKEARGS[@]}"
|
||||||
|
python_fix_shebang eselect-repo-helper
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
emake "${MAKEARGS[@]}" DESTDIR="${D}" install
|
||||||
|
keepdir /var/db/repos
|
||||||
|
einstalldocs
|
||||||
|
}
|
Binary file not shown.
@ -1,6 +1,5 @@
|
|||||||
AUX foremost-1.4-config-location.patch 462 BLAKE2B 7dadc7fd049b09992e9e3019aaaa27d53268a6b6cea03146d965bdd3f0ec3165fbde33c2ecd41a949758ff4b8d36259d048869d17b828e2f600ea9418e3d0bce SHA512 7b6dcc18cba4676ef4d54b87c9c31747754ecbebd9424340b2dd059495c9c6cec11513307fff802a336a99bc07c4bcd2ffcfad1c77ccdc49277ef7e40e30029e
|
AUX foremost-1.4-config-location.patch 462 BLAKE2B 7dadc7fd049b09992e9e3019aaaa27d53268a6b6cea03146d965bdd3f0ec3165fbde33c2ecd41a949758ff4b8d36259d048869d17b828e2f600ea9418e3d0bce SHA512 7b6dcc18cba4676ef4d54b87c9c31747754ecbebd9424340b2dd059495c9c6cec11513307fff802a336a99bc07c4bcd2ffcfad1c77ccdc49277ef7e40e30029e
|
||||||
AUX foremost-1.5.7-format-security.patch 680 BLAKE2B 5565dc9d255ccbb4b721cdb0b41fef4f86369c4965000e35678e6ece00acec5ead0b15d90bd71a2456b812ab74fa9283bdf70c2fc36003a3d659105bb04a139d SHA512 1c28ed1fceedec728a5060b195214fd3ec3b0fa529e87f7421ee72d73f71ecc0d48a69a5b5ff4c6179dd65781552fbd272437134498ec865bd5c620375b6f85b
|
AUX foremost-1.5.7-format-security.patch 680 BLAKE2B 5565dc9d255ccbb4b721cdb0b41fef4f86369c4965000e35678e6ece00acec5ead0b15d90bd71a2456b812ab74fa9283bdf70c2fc36003a3d659105bb04a139d SHA512 1c28ed1fceedec728a5060b195214fd3ec3b0fa529e87f7421ee72d73f71ecc0d48a69a5b5ff4c6179dd65781552fbd272437134498ec865bd5c620375b6f85b
|
||||||
DIST foremost-1.5.7.tar.gz 52352 BLAKE2B 5642c1afd86aab0a2f90986c3b030d37b37700c5d0e4b04e4f4a2004d69745280fabd4086a72c33b9eab05b57d125d6b11105c9e11b0112e30077f101eeab7ac SHA512 8827c29d52496783be26374f3943eb26a154d842f34e50fb489f87b3a5045bf85f1e44d7d8d8b12b2355ba3fe4b06a0db979cc22c0f431593c5976001eb931ab
|
DIST foremost-1.5.7.tar.gz 52352 BLAKE2B 5642c1afd86aab0a2f90986c3b030d37b37700c5d0e4b04e4f4a2004d69745280fabd4086a72c33b9eab05b57d125d6b11105c9e11b0112e30077f101eeab7ac SHA512 8827c29d52496783be26374f3943eb26a154d842f34e50fb489f87b3a5045bf85f1e44d7d8d8b12b2355ba3fe4b06a0db979cc22c0f431593c5976001eb931ab
|
||||||
EBUILD foremost-1.5.7-r2.ebuild 847 BLAKE2B cecf175a8a7a4162d98dfa15d83f59e918274530193b7caaa6b97ec3390c1264fc988259a3909256e16f3a398903a8ee67d50c38f25b0503660c90eed3384706 SHA512 470fc501414f9a6144910af890f9d7f6aa5f948e16b2a3dc3328c54d85490e82a94416f747b7b6c12ab6a00951405938e90a242fc52912fb5d766b071a76b28f
|
|
||||||
EBUILD foremost-1.5.7-r3.ebuild 884 BLAKE2B ce1257966c1b49fdfa9272c165d34d18915300a2a2e24a5eb52111d990d7aad3e7a7eab726ef6e7a45b29a6bf5a8dfa88ae128f155c7227d837d3108467cb6ce SHA512 f900a27bcb24e414f194955c047b6c634a4e9463121ce3dea336e642d36aed94be30a0633e6a71aac8b221e8f0ae9af893dd6d76206cff7d6a847773fef96dcc
|
EBUILD foremost-1.5.7-r3.ebuild 884 BLAKE2B ce1257966c1b49fdfa9272c165d34d18915300a2a2e24a5eb52111d990d7aad3e7a7eab726ef6e7a45b29a6bf5a8dfa88ae128f155c7227d837d3108467cb6ce SHA512 f900a27bcb24e414f194955c047b6c634a4e9463121ce3dea336e642d36aed94be30a0633e6a71aac8b221e8f0ae9af893dd6d76206cff7d6a847773fef96dcc
|
||||||
MISC metadata.xml 303 BLAKE2B 14bc09979926d326ccb75438d8e32f9a60b1df8078e6344f4dc2e32a33c0994bf2740a4b29d7c1a479bb514815f037d2d9a9ac9c8387fbc01b7795e2a37fea86 SHA512 165c108232c3a65d3fbeb0fb2f612c7c4c4c16a57e4b3e280c4ef40d6a586b56df437454283ff5b52fa3a0880d9643682493b3d75cac01170edab53bb5f1ce52
|
MISC metadata.xml 303 BLAKE2B 14bc09979926d326ccb75438d8e32f9a60b1df8078e6344f4dc2e32a33c0994bf2740a4b29d7c1a479bb514815f037d2d9a9ac9c8387fbc01b7795e2a37fea86 SHA512 165c108232c3a65d3fbeb0fb2f612c7c4c4c16a57e4b3e280c4ef40d6a586b56df437454283ff5b52fa3a0880d9643682493b3d75cac01170edab53bb5f1ce52
|
||||||
|
@ -1,35 +0,0 @@
|
|||||||
# Copyright 1999-2015 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=4
|
|
||||||
|
|
||||||
inherit eutils toolchain-funcs
|
|
||||||
|
|
||||||
DESCRIPTION="A console program to recover files based on their headers and footers"
|
|
||||||
HOMEPAGE="http://foremost.sourceforge.net/"
|
|
||||||
#SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
|
|
||||||
# starting to hate sf.net ...
|
|
||||||
SRC_URI="http://foremost.sourceforge.net/pkg/${P}.tar.gz"
|
|
||||||
|
|
||||||
KEYWORDS="amd64 ppc x86"
|
|
||||||
IUSE=""
|
|
||||||
LICENSE="public-domain"
|
|
||||||
SLOT="0"
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
epatch "${FILESDIR}/${PN}-1.4-config-location.patch"
|
|
||||||
epatch "${FILESDIR}/${PN}-1.5.7-format-security.patch"
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
emake RAW_FLAGS="${CFLAGS} -Wall ${LDFLAGS}" RAW_CC="$(tc-getCC) -DVERSION=\\\"${PV}\\\"" \
|
|
||||||
CONF=/etc
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
dobin foremost
|
|
||||||
doman foremost.8.gz
|
|
||||||
insinto /etc
|
|
||||||
doins foremost.conf
|
|
||||||
dodoc README CHANGES
|
|
||||||
}
|
|
Binary file not shown.
@ -1,3 +1,3 @@
|
|||||||
DIST imsettings-1.7.2.tar.bz2 595754 BLAKE2B 9964ab7ca842a7e1b9e9c61434275b55d6a58e271dd12058195573aa65c623d5152a04bc893b3ac4d983c4798bd6f4e8cdb486577be45ec43db6600f72c8cc3b SHA512 b28d67705d3d6a0ec95babaca616f750b73cdac5e01ed61e25a6527fd7f816a14654cd7233eca56d7427b9395e7ad75757b95cd7bd55c56bbdc145a3f8bfe1f0
|
DIST imsettings-1.7.2.tar.bz2 595754 BLAKE2B 9964ab7ca842a7e1b9e9c61434275b55d6a58e271dd12058195573aa65c623d5152a04bc893b3ac4d983c4798bd6f4e8cdb486577be45ec43db6600f72c8cc3b SHA512 b28d67705d3d6a0ec95babaca616f750b73cdac5e01ed61e25a6527fd7f816a14654cd7233eca56d7427b9395e7ad75757b95cd7bd55c56bbdc145a3f8bfe1f0
|
||||||
EBUILD imsettings-1.7.2.ebuild 1770 BLAKE2B d78b7c6e84254ca09b26782499bd0fd043575d60705a760628b60ea02aa306ec26dfd0c7fb7e6dd911ccef5e12cc91905b8a77f9ddaade1c16f46f479ea1e6ed SHA512 c091b4a0eb1949c45422f3eb11483b66db365172e1e380cb864bc6ed90e75e599ae743d72ec416518780420c988eded857d4dbd4c1a688fda3089181d5a4fd9c
|
EBUILD imsettings-1.7.2.ebuild 1790 BLAKE2B 3821a214446d88a1024aca91b2ef3cfb2980303e46e242e695049991ae13e236af4d23bea95a93269aad9c1fa85e1fde3b4f681e6e39a0e3b738d69c07cae824 SHA512 6eae2c40a5a472b6a0317fbb0075764c1ecfc72130ab61c7b3a913ec2594ba685c4fe110b42da56147d482e2ef2ea9b97b9f8780cc4f59ac47cbbcee71bffdfe
|
||||||
MISC metadata.xml 618 BLAKE2B c16dbfede5fb6a394335483488c6bc195020c4161278088f7f44d82506f5e4b6e8afac64747098b703200b83b6ee8d7f18b790b5b2cb79e71647e0e6025e8820 SHA512 029b4a98d5fb139a0f504161627461e227b58a712d578aeba4da9deb2c5ae04a78a83a1cf42c0966315d6c43db860f64ac7f6a38a22ae3e4d87b2960fde14301
|
MISC metadata.xml 618 BLAKE2B c16dbfede5fb6a394335483488c6bc195020c4161278088f7f44d82506f5e4b6e8afac64747098b703200b83b6ee8d7f18b790b5b2cb79e71647e0e6025e8820 SHA512 029b4a98d5fb139a0f504161627461e227b58a712d578aeba4da9deb2c5ae04a78a83a1cf42c0966315d6c43db860f64ac7f6a38a22ae3e4d87b2960fde14301
|
||||||
|
Binary file not shown.
Binary file not shown.
@ -1,5 +1,3 @@
|
|||||||
DIST alkimia-7.0.1.tar.xz 38400 BLAKE2B c6dccf0702ae42bfcebfa20fc34233766ab4b08c81d7b8aa8af2be2003560f2e088e922a0ec5656c6f8e34d3f3a8348fb6315c3e5aecf72cda9fa2506e1a2161 SHA512 7f72eaf69ad38c5478498a212f6f644ab76a27aec588ff8817414c7e36190568012cd2faff7ae31978beec670539ac93e55f3637a331e90738bddc11a423138c
|
|
||||||
DIST alkimia-7.0.2.tar.xz 38420 BLAKE2B ea2cc8dd80e2b9b2501d26936aa7d2799d040e8cf86f9adb4785e676046f3c76d0cbe3267e4159582086d910be35020bbc634140d32cc7e5588d06cf75a115a3 SHA512 275ea48cd33caed9393a170efcc6053a581c1cc000862dd73a63bdb6de3e3c3ad2e492901a859e517033e1239e297a43088580553efe32f1d99a85051f5af3e4
|
DIST alkimia-7.0.2.tar.xz 38420 BLAKE2B ea2cc8dd80e2b9b2501d26936aa7d2799d040e8cf86f9adb4785e676046f3c76d0cbe3267e4159582086d910be35020bbc634140d32cc7e5588d06cf75a115a3 SHA512 275ea48cd33caed9393a170efcc6053a581c1cc000862dd73a63bdb6de3e3c3ad2e492901a859e517033e1239e297a43088580553efe32f1d99a85051f5af3e4
|
||||||
EBUILD libalkimia-7.0.1.ebuild 716 BLAKE2B 1ed3a062482699441aca649c0907f5dbf836c66da3abf9a5fc710abd337683584112d546743932cadd3a8bb8f8bbb2a6048f9411370cb3b5a740a730c209110d SHA512 746880e0244af2c01c48759f53d0c81d4949a3faa9e9f5a5c47414746b6647af67f845eef5c40ab0f2c2676a31cae3fd6566dbd944bf318f7964e4afe064ecad
|
EBUILD libalkimia-7.0.2.ebuild 757 BLAKE2B 975665d1032105de21e1aa7d202234780b85f1e7c8e7fcdca1a55e28b8a500aa72585b1a1acc2fefff867426794d8e5eb3d58c0d41377a0fc6dea04ff83b265a SHA512 acf7cf9c0a56bb0ad937c9b0eff491cc16b3cd0b537bdff9b4f926ade4781b16009dc3d1bb90cebcef7dc82f395f2a556179d4d2774832f7a8cfa1f9b7af4cea
|
||||||
EBUILD libalkimia-7.0.2.ebuild 758 BLAKE2B 263ecc4d59f8ac32ead69329d40a9dfd3325a5b652ae4d7158ff5c402be332abcc573fba5b2a1a457ea785c7e07cf55002f9cda41d1cd0c0a348ab7c5dc3930a SHA512 ac9023f035a61c51034b92043377b5a6ef42ff00581b62410117f1c2a1c8a1e6fb2873fbdfc24a0e0b9387f764dbedcd55ae029211ee9399723b42f6ce410717
|
|
||||||
MISC metadata.xml 249 BLAKE2B ad415db89e5dee1627aa77f44ded9d4e1e5b8217d06c7ca25bbaa3fe92ce67c2b1090957c45a821b407d7927e5af798498aa6a5b903895ee1af8ee20a446c7f7 SHA512 76a5a340b13f0053ca3c5e94ed24380ea8d29b45ac8655419e22eaadb1e4a827c04d2e7e36b65145c4964e6526f656618fc6ac144e277ef53cb7373e6239e3c3
|
MISC metadata.xml 249 BLAKE2B ad415db89e5dee1627aa77f44ded9d4e1e5b8217d06c7ca25bbaa3fe92ce67c2b1090957c45a821b407d7927e5af798498aa6a5b903895ee1af8ee20a446c7f7 SHA512 76a5a340b13f0053ca3c5e94ed24380ea8d29b45ac8655419e22eaadb1e4a827c04d2e7e36b65145c4964e6526f656618fc6ac144e277ef53cb7373e6239e3c3
|
||||||
|
@ -1,33 +0,0 @@
|
|||||||
# Copyright 1999-2018 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=6
|
|
||||||
|
|
||||||
KDE_TEST="forceoptional"
|
|
||||||
KMNAME="alkimia"
|
|
||||||
inherit kde5
|
|
||||||
|
|
||||||
DESCRIPTION="Library with common classes and functionality used by KDE finance applications"
|
|
||||||
HOMEPAGE="https://www.linux-apps.com/content/show.php/libalkimia?content=137323"
|
|
||||||
SRC_URI="mirror://kde/stable/${KMNAME}/${PV}/src/${KMNAME}-${PV}.tar.xz"
|
|
||||||
|
|
||||||
LICENSE="LGPL-2.1"
|
|
||||||
SLOT="0/7"
|
|
||||||
KEYWORDS="amd64 x86"
|
|
||||||
IUSE="doc"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
$(add_qt_dep qtdbus)
|
|
||||||
dev-libs/gmp:0=[cxx]
|
|
||||||
"
|
|
||||||
DEPEND="${RDEPEND}
|
|
||||||
virtual/pkgconfig
|
|
||||||
doc? ( app-doc/doxygen )
|
|
||||||
"
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
local mycmakeargs=(
|
|
||||||
$(cmake-utils_use_find_package doc Doxygen)
|
|
||||||
)
|
|
||||||
kde5_src_configure
|
|
||||||
}
|
|
Binary file not shown.
Binary file not shown.
@ -1,3 +1,5 @@
|
|||||||
|
DIST libnumbertext-1.0.5.tar.xz 281640 BLAKE2B 5480c72fed80a9d4825b37a876efa8588c8efb187ee5a65629ac800d98a2882312f443736f4c967ee0ae2fc32a0dbe758b1c275378d807df3d1da4cee6dff9bc SHA512 4d61464f26f631d272ef7285fbb931d3931b08240b58166b7e9a28c95ff5a537ca04af4c9673541b73997339d66061858c9cd18873b4c16f9ad2ccd1b68e81a3
|
||||||
DIST libnumbertext-1.0.tar.gz 408181 BLAKE2B ceeba0a98c0d6fbfa92ad37347f7b7cb9887ea516126e35212d61e572a382a56c520406409e08024d53f1520219ec7e986324893b1c2b53330a217319d35ffc7 SHA512 b30f3650ba8cbaa771415026f40b7fc2cf5d9cd956a365d6654b1e2996fe61f714adfda845432e41f61f0fa474b1b60d99cc46cd6b7e42e1dccfd53f5017ae63
|
DIST libnumbertext-1.0.tar.gz 408181 BLAKE2B ceeba0a98c0d6fbfa92ad37347f7b7cb9887ea516126e35212d61e572a382a56c520406409e08024d53f1520219ec7e986324893b1c2b53330a217319d35ffc7 SHA512 b30f3650ba8cbaa771415026f40b7fc2cf5d9cd956a365d6654b1e2996fe61f714adfda845432e41f61f0fa474b1b60d99cc46cd6b7e42e1dccfd53f5017ae63
|
||||||
|
EBUILD libnumbertext-1.0.5.ebuild 518 BLAKE2B e809eebb2784f556d6c2123fad20031ea1438e2050df2e267ff882c1136379da0465ca803dd37c4077c761d8d98229238ee747a86746ba7955e67396a488dd87 SHA512 7c419d85bba72b10aa72143816b5dbb90ed0526a2a30194f24a56418529a62167658b80818b4200f48140822fa83f0fa84d460383422fd0336ebba6eaafb77c2
|
||||||
EBUILD libnumbertext-1.0.ebuild 613 BLAKE2B fd5f9aaf06da104d4cc5da165b0ccfe10edc0f0768c93d9ebb646c774ecd173fe19d2788af71a98534c1c9381c5d24e22e3368defb78a9288b433ce0c5fa92da SHA512 2fb2bd3f82282b33c6d8513746c0ba9737447adf6c6704f625a3512d72f193ed31c829fc8f76dc9abe50bca84153f8a8f090e77118f91eec595c7b25c560308e
|
EBUILD libnumbertext-1.0.ebuild 613 BLAKE2B fd5f9aaf06da104d4cc5da165b0ccfe10edc0f0768c93d9ebb646c774ecd173fe19d2788af71a98534c1c9381c5d24e22e3368defb78a9288b433ce0c5fa92da SHA512 2fb2bd3f82282b33c6d8513746c0ba9737447adf6c6704f625a3512d72f193ed31c829fc8f76dc9abe50bca84153f8a8f090e77118f91eec595c7b25c560308e
|
||||||
MISC metadata.xml 255 BLAKE2B 9b8486730bea2158e8be5cbbe0552c5460d1b18e2236a68e3f11d85ce4eeb96eb0e746f44a10cb7cdcf1bf498190a512ef42f47852c6843b9a3c937ceabc338d SHA512 ac646e8ac676faf0aac283e4be31c5f2b29e98ccf07327073ed05e688ce696caf639bdfea63e4aed141a90e84c0a86892bc717a52b95cdf1739aaa15240013c3
|
MISC metadata.xml 255 BLAKE2B 9b8486730bea2158e8be5cbbe0552c5460d1b18e2236a68e3f11d85ce4eeb96eb0e746f44a10cb7cdcf1bf498190a512ef42f47852c6843b9a3c937ceabc338d SHA512 ac646e8ac676faf0aac283e4be31c5f2b29e98ccf07327073ed05e688ce696caf639bdfea63e4aed141a90e84c0a86892bc717a52b95cdf1739aaa15240013c3
|
||||||
|
@ -0,0 +1,23 @@
|
|||||||
|
# Copyright 1999-2018 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
DESCRIPTION="Number to number name and money text conversion libraries"
|
||||||
|
HOMEPAGE="https://github.com/Numbertext/libnumbertext"
|
||||||
|
SRC_URI="https://github.com/Numbertext/${PN}/releases/download/${PV}/${P}.tar.xz"
|
||||||
|
|
||||||
|
LICENSE="LGPL-3+"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
|
||||||
|
IUSE=""
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
econf \
|
||||||
|
--disable-werror
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
default
|
||||||
|
find "${D}" -name '*.la' -delete || die
|
||||||
|
}
|
@ -0,0 +1,46 @@
|
|||||||
|
1. debug build (not sure why...)
|
||||||
|
2. build shared library
|
||||||
|
3. add optional static lib target
|
||||||
|
4. Don't install COPYING
|
||||||
|
diff --git a/Makefile b/Makefile
|
||||||
|
index 37fc48e6..4303e9fa 100644
|
||||||
|
--- a/Makefile
|
||||||
|
+++ b/Makefile
|
||||||
|
@@ -3,7 +3,7 @@
|
||||||
|
-include user.make
|
||||||
|
|
||||||
|
ifndef build
|
||||||
|
- build := release
|
||||||
|
+ build := debug
|
||||||
|
endif
|
||||||
|
|
||||||
|
ifndef OUT
|
||||||
|
@@ -190,13 +190,15 @@ generate: source/pdf/js/util.js.h
|
||||||
|
|
||||||
|
# --- Library ---
|
||||||
|
|
||||||
|
-MUPDF_LIB = $(OUT)/libmupdf.a
|
||||||
|
-THIRD_LIB = $(OUT)/libmupdf-third.a
|
||||||
|
+MUPDF_LIB = libmupdf.so.$(GENTOO_PV)
|
||||||
|
+MUPDF_STATIC = $(OUT)/libmupdf.a
|
||||||
|
+THIRD_LIB =
|
||||||
|
THREAD_LIB = $(OUT)/libmupdf-threads.a
|
||||||
|
PKCS7_LIB = $(OUT)/libmupdf-pkcs7.a
|
||||||
|
|
||||||
|
-$(MUPDF_LIB) : $(MUPDF_OBJ)
|
||||||
|
-$(THIRD_LIB) : $(THIRD_OBJ)
|
||||||
|
+$(MUPDF_LIB): $(MUPDF_OBJ) $(THIRD_OBJ)
|
||||||
|
+ $(QUIET_LINK) $(CC) $(LDFLAGS) --shared -Wl,-soname -Wl,$(MUPDF_LIB) -Wl,--no-undefined -o $@ $^ $(THIRD_LIBS) $(LIBS)
|
||||||
|
+$(MUPDF_STATIC): $(MUPDF_OBJ) $(THIRD_OBJ)
|
||||||
|
$(THREAD_LIB) : $(THREAD_OBJ)
|
||||||
|
$(PKCS7_LIB) : $(PKCS7_OBJ)
|
||||||
|
|
||||||
|
@@ -355,7 +357,7 @@ install: libs apps
|
||||||
|
|
||||||
|
install -d $(DESTDIR)$(docdir)
|
||||||
|
install -d $(DESTDIR)$(docdir)/examples
|
||||||
|
- install README COPYING CHANGES $(DESTDIR)$(docdir)
|
||||||
|
+ install README CHANGES $(DESTDIR)$(docdir)
|
||||||
|
install docs/*.html docs/*.css docs/*.png $(DESTDIR)$(docdir)
|
||||||
|
install docs/examples/* $(DESTDIR)$(docdir)/examples
|
||||||
|
|
@ -1,13 +0,0 @@
|
|||||||
diff --git a/Makefile b/Makefile
|
|
||||||
index 37fc48e6..bd8c6049 100644
|
|
||||||
--- a/Makefile
|
|
||||||
+++ b/Makefile
|
|
||||||
@@ -3,7 +3,7 @@
|
|
||||||
-include user.make
|
|
||||||
|
|
||||||
ifndef build
|
|
||||||
- build := release
|
|
||||||
+ build := debug
|
|
||||||
endif
|
|
||||||
|
|
||||||
ifndef OUT
|
|
@ -1,6 +1,5 @@
|
|||||||
AUX pytextile-2.1.8-sanitizer.patch 606 BLAKE2B c916c46156ae5f01b7d6714b7c9acd078119a561fee2159cd54ae4db6859ef2be0664b8cc7ae4c3034302b9edd57244e31a2506ecbf0c9d81c7497f393279157 SHA512 3c7a568e64cd28cc0666f06e6b2022454126a654f4ae0d0c82edada69ca7ec1ebce1582961ac84667b3a0c932c5e9d98521c100e1d62df100d276ae33417ba13
|
|
||||||
DIST pytextile-2.3.3.tar.gz 42277 BLAKE2B a6e6e1d96695f3ada03f5da9bd8bd19b99da345d83c62b1d4f2e765303dfbbbee072da4611f1b29b46d28ed334373c809117940ff0c1238dea3b12fb9076656c SHA512 980c872bfdc056753fa5b344cbc828dbdc9ddfc2656f3cfb5c15b3351cfd9e4016f57af14b60af2f2764e556865301d7923a8f0687c5857fc2201bf10f56ab60
|
DIST pytextile-2.3.3.tar.gz 42277 BLAKE2B a6e6e1d96695f3ada03f5da9bd8bd19b99da345d83c62b1d4f2e765303dfbbbee072da4611f1b29b46d28ed334373c809117940ff0c1238dea3b12fb9076656c SHA512 980c872bfdc056753fa5b344cbc828dbdc9ddfc2656f3cfb5c15b3351cfd9e4016f57af14b60af2f2764e556865301d7923a8f0687c5857fc2201bf10f56ab60
|
||||||
DIST textile-2.1.8.tar.gz 34002 BLAKE2B 0f4643da3cf47cd9b27e7b3237c6eac8b951caab9f6f36da929e159d582ae9e8ac04b835bd9006d7392ed935a875e169eef276caa52e25d618cdeafa27cef626 SHA512 b1675a131b482f4926efb45312b16c722ff158d9296704918b56316d470056f986ce18d495525a8e9f236bdd62e09ca6a17b443a7db8c8c36e5d05fcffce67da
|
DIST pytextile-3.0.3.tar.gz 48560 BLAKE2B f8d3077e2b8e4de7157dcd9ed17f7889301946c2d3034dbbb0171b4930bd7268c65ce1f950552db2b783aa48acae639d5f4ccfcbca96807562b4a6377c3dd220 SHA512 142fe77c8858b0444428f9ca0f24d1a054a1566f85f00fd5cf860bb705a19666249cd03420d258d5acfc9f45052dd25e52767492a60a10d986d86b711b54612f
|
||||||
EBUILD pytextile-2.1.8.ebuild 924 BLAKE2B f30969b7afc0102a049e25f6943e37adead616a6d579f07754e351826d347320034895264457bfdaccb7ba388a370ea3c24bf11903c39562fba6df1cb0ad13bf SHA512 7a38a87b3459aeaf5af5c07db276d5b2bfa931d8fbd340b45d27e80aabbaab096e6dfdf2702c18416ae978015b2787b62ea4d1133234b842c40c8144ee389e73
|
EBUILD pytextile-2.3.3.ebuild 1022 BLAKE2B 37b4074eb8fe9107d61b1c26a8f24f41efd69646eaa52cdcba0feac1f74b1255bb5d7953ebffdb6456033b4ba3600fb73dea3b1200d1616396decaeaf542e811 SHA512 555e58af6e404fecbc93372a064c208d27303f78c7607baded5bcb7267ec38bea4bfac24bf3a0b10909c6edd5de557b662d5d144673e190ede513d942f6cb941
|
||||||
EBUILD pytextile-2.3.3.ebuild 1010 BLAKE2B 51a8857dacb5589ef8a296c8682acc1aea131e7f8f3d46b42c471c4348aa8cf3328f126c4e8dd6e1c35d2cc861e3601463b3f518dff1ae4104962e022755d533 SHA512 81bf94b7819e48bed1128e71c73b2e16cdedc339ed3ec8ee9f37fd33dfafe9ee152a995799d84cbc33002f10f0a062eac710819577e44ee3af25a2fe6f14dcdf
|
EBUILD pytextile-3.0.3.ebuild 1020 BLAKE2B 0891ae2944fa0a4338bcc67ae47cddcf5578e5e9f1b0ac3959753168aee4c480598354a0c90b38102573572a1f71af32e34b7d5f6b9d3aaa36c775bd8d69515a SHA512 58b533104b2efdb6a2fc07c6a546c2fd303781ac1efde727cc4302e8e0bdaa02fb4a8c9a881e79d452796f8b9073a5b2027c7c44628686393a075b76e36791c6
|
||||||
MISC metadata.xml 554 BLAKE2B 014b0bb6fd9f0405aca39429a804bf9b3c2ff7dfcbcf55aab6678298c1ce37093c2c0005c315467cbec5c19b1f7da020c8eaabc1d912fd7b5d93567f62c94fff SHA512 6d4de4859070958c55f816ee8692a33f1a7b70de38549e9a6242044ccfdfffc590da29c79c450862537185fe2803bb0e09b2bb46ea76cf5548a2ded01a26434f
|
MISC metadata.xml 554 BLAKE2B 014b0bb6fd9f0405aca39429a804bf9b3c2ff7dfcbcf55aab6678298c1ce37093c2c0005c315467cbec5c19b1f7da020c8eaabc1d912fd7b5d93567f62c94fff SHA512 6d4de4859070958c55f816ee8692a33f1a7b70de38549e9a6242044ccfdfffc590da29c79c450862537185fe2803bb0e09b2bb46ea76cf5548a2ded01a26434f
|
||||||
|
@ -1,15 +0,0 @@
|
|||||||
https://github.com/textile/python-textile/commit/83c81db387fa5f0c5ca25c27b8bc36d105bce599
|
|
||||||
diff --git a/textile/tools/sanitizer.py b/textile/tools/sanitizer.py
|
|
||||||
index 83b6799..4fc8fb2 100644
|
|
||||||
--- a/textile/tools/sanitizer.py
|
|
||||||
+++ b/textile/tools/sanitizer.py
|
|
||||||
@@ -12,7 +12,7 @@ def sanitize(string):
|
|
||||||
p = html5lib.HTMLParser(tokenizer=sanitizer.HTMLSanitizer)
|
|
||||||
tree = p.parseFragment(string)
|
|
||||||
|
|
||||||
- walker = treewalkers.getTreeWalker("simpletree")
|
|
||||||
+ walker = treewalkers.getTreeWalker("etree")
|
|
||||||
stream = walker(tree)
|
|
||||||
|
|
||||||
s = serializer.htmlserializer.HTMLSerializer(omit_optional_tags=False,
|
|
||||||
|
|
@ -1,38 +0,0 @@
|
|||||||
# Copyright 1999-2017 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=5
|
|
||||||
PYTHON_COMPAT=( python{2_7,3_4} pypy )
|
|
||||||
|
|
||||||
inherit distutils-r1
|
|
||||||
|
|
||||||
MY_PN="textile"
|
|
||||||
MY_P="${MY_PN}-${PV}"
|
|
||||||
|
|
||||||
DESCRIPTION="A Python port of Textile, A humane web text generator"
|
|
||||||
HOMEPAGE="https://github.com/ikirudennis/python-textile"
|
|
||||||
SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="BSD"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="amd64 ppc ppc64 sparc x86 ~x86-fbsd"
|
|
||||||
IUSE="test"
|
|
||||||
|
|
||||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
|
|
||||||
test? ( dev-python/nose[${PYTHON_USEDEP}] )"
|
|
||||||
|
|
||||||
RDEPEND=""
|
|
||||||
|
|
||||||
S="${WORKDIR}/${MY_P}"
|
|
||||||
|
|
||||||
PATCHES=( "${FILESDIR}"/${P}-sanitizer.patch )
|
|
||||||
|
|
||||||
python_prepare_all() {
|
|
||||||
# This resolves a nasty race condition noted and observed by Arfrever
|
|
||||||
sed -e 's:with-id = 1::' -i setup.cfg || die
|
|
||||||
distutils-r1_python_prepare_all
|
|
||||||
}
|
|
||||||
|
|
||||||
python_test() {
|
|
||||||
nosetests textile/tests/ || die "Tests failed under ${EPYTHON}"
|
|
||||||
}
|
|
@ -0,0 +1,44 @@
|
|||||||
|
# Copyright 1999-2018 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6,3_7} pypy )
|
||||||
|
|
||||||
|
inherit distutils-r1
|
||||||
|
|
||||||
|
MY_PN="python-textile"
|
||||||
|
MY_P="${MY_PN}-${PV}"
|
||||||
|
|
||||||
|
DESCRIPTION="A Python port of Textile, A humane web text generator"
|
||||||
|
HOMEPAGE="https://github.com/textile/python-textile"
|
||||||
|
SRC_URI="https://github.com/textile/python-textile/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="BSD"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
|
||||||
|
IUSE="test"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
dev-python/html5lib[${PYTHON_USEDEP}]
|
||||||
|
dev-python/regex[${PYTHON_USEDEP}]
|
||||||
|
dev-python/six[${PYTHON_USEDEP}]"
|
||||||
|
DEPEND="
|
||||||
|
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||||
|
test? (
|
||||||
|
${RDEPEND}
|
||||||
|
dev-python/pytest[${PYTHON_USEDEP}]
|
||||||
|
)"
|
||||||
|
|
||||||
|
S="${WORKDIR}/${MY_P}"
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
default
|
||||||
|
# remove useless --cov arg injection
|
||||||
|
rm pytest.ini || die
|
||||||
|
# remove useless pytest-runner dep
|
||||||
|
sed -e "s/pytest-runner//g" -i setup.py || die
|
||||||
|
}
|
||||||
|
|
||||||
|
python_test() {
|
||||||
|
pytest || die "Testsuite failed under ${EPYTHON}"
|
||||||
|
}
|
Binary file not shown.
@ -0,0 +1,76 @@
|
|||||||
|
# Copyright 1999-2018 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=6
|
||||||
|
|
||||||
|
inherit user systemd golang-vcs-snapshot
|
||||||
|
|
||||||
|
KEYWORDS="~amd64"
|
||||||
|
EGO_PN="github.com/coreos/etcd"
|
||||||
|
MY_PV="${PV/_rc/-rc.}"
|
||||||
|
DESCRIPTION="Highly-available key value store for shared configuration and service discovery"
|
||||||
|
HOMEPAGE="https://github.com/coreos/etcd"
|
||||||
|
SRC_URI="https://${EGO_PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
|
||||||
|
LICENSE="Apache-2.0"
|
||||||
|
SLOT="0"
|
||||||
|
IUSE="doc +server"
|
||||||
|
DEPEND=">=dev-lang/go-1.9:="
|
||||||
|
RDEPEND="!dev-db/etcdctl"
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
default
|
||||||
|
sed -e 's|GIT_SHA=.*|GIT_SHA=v${PV}|'\
|
||||||
|
-i "${S}"/src/${EGO_PN}/build || die
|
||||||
|
sed -e 's:\(for p in \)shellcheck :\1 :' \
|
||||||
|
-e 's:^ gofmt \\$:\\:' \
|
||||||
|
-e 's:^ govet \\$:\\:' \
|
||||||
|
-i "${S}"/src/${EGO_PN}/test || die
|
||||||
|
# missing ... in args forwarded to print-like function
|
||||||
|
sed -e 's:l\.Logger\.Panic(v):l.Logger.Panic(v...):' \
|
||||||
|
-i "${S}"/src/${EGO_PN}/raft/logger.go || die
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_setup() {
|
||||||
|
if use server; then
|
||||||
|
enewgroup ${PN}
|
||||||
|
enewuser ${PN} -1 -1 /var/lib/${PN} ${PN}
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
export GOPATH=${S}
|
||||||
|
pushd src/${EGO_PN} || die
|
||||||
|
./build || die
|
||||||
|
popd || die
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
pushd src/${EGO_PN} || die
|
||||||
|
dobin bin/etcdctl
|
||||||
|
use doc && dodoc -r Documentation
|
||||||
|
if use server; then
|
||||||
|
insinto /etc/${PN}
|
||||||
|
doins "${FILESDIR}/${PN}.conf"
|
||||||
|
dobin bin/etcd
|
||||||
|
dodoc README.md
|
||||||
|
systemd_dounit "${FILESDIR}/${PN}.service"
|
||||||
|
systemd_newtmpfilesd "${FILESDIR}/${PN}.tmpfiles.d.conf" ${PN}.conf
|
||||||
|
newinitd "${FILESDIR}"/${PN}.initd ${PN}
|
||||||
|
newconfd "${FILESDIR}"/${PN}.confd ${PN}
|
||||||
|
insinto /etc/logrotate.d
|
||||||
|
newins "${FILESDIR}/${PN}.logrotated" "${PN}"
|
||||||
|
keepdir /var/lib/${PN}
|
||||||
|
fowners ${PN}:${PN} /var/lib/${PN}
|
||||||
|
fperms 0700 /var/lib/${PN}
|
||||||
|
keepdir /var/log/${PN}
|
||||||
|
fowners ${PN}:${PN} /var/log/${PN}
|
||||||
|
fperms 755 /var/log/${PN}
|
||||||
|
fi
|
||||||
|
popd || die
|
||||||
|
}
|
||||||
|
|
||||||
|
src_test() {
|
||||||
|
pushd src/${EGO_PN} || die
|
||||||
|
./test || die
|
||||||
|
popd || die
|
||||||
|
}
|
@ -1,9 +1,6 @@
|
|||||||
AUX gentoo-layout-3.0.patch 311 BLAKE2B 4c2f0ae8aa53d605bcaf134274d3b549ec970b43cc68eed1ac71cf089c9fa32a1343d7ebfdf428e7f25032f5782aecfb86fb8f78528ffc708ab15dc7285a24e7 SHA512 4d5a48b4dd66aab04ba597b30e96b4601c6745acca21be1daf051ba6ce1e8fef1a0efa46d8e81da1ecdc893a8ee471bd8c7ed0c5436ee33b8b4f7cd18fdca1a5
|
AUX gentoo-layout-3.0.patch 311 BLAKE2B 4c2f0ae8aa53d605bcaf134274d3b549ec970b43cc68eed1ac71cf089c9fa32a1343d7ebfdf428e7f25032f5782aecfb86fb8f78528ffc708ab15dc7285a24e7 SHA512 4d5a48b4dd66aab04ba597b30e96b4601c6745acca21be1daf051ba6ce1e8fef1a0efa46d8e81da1ecdc893a8ee471bd8c7ed0c5436ee33b8b4f7cd18fdca1a5
|
||||||
DIST mariadb-connector-c-3.0.3-src.tar.gz 666928 BLAKE2B 83181949f1867909fd96696ac5cc9d11433a0c772ecb97d862983916b235d380fd84462d547faf42756d6698dd9dbe7dcd4d6b1d0f6336e147f5a597108ea025 SHA512 6da66a32165cb74b106bf94e13a35d4bb38f05e5d2b3ff3740862dfc0892a7705977c1394b4f84b8e1f1e50a59a3fadbc62e7733b1feb532c6368a9fc262db04
|
AUX mariadb-connector-c-3.0.6-provide-pkconfig-file.patch 1838 BLAKE2B 454433d5815e818bb3cb08241b1629e7cb2e8c6b33d09e241db11cc7f18e73a8cbf40567fe47a613c420581f8487c39478bcbef22da4ba21b77a10f71e4b11ef SHA512 a3ec1a1702d2d5ae5ea6ef93e9bc7f01df548c65574b177a20e8b29694b078ebd67a409ed253467d1db38895e66285eaf73e604a507bfb09384bc3d15325cb60
|
||||||
DIST mariadb-connector-c-3.0.4-src.tar.gz 659406 BLAKE2B 9285880338e6040976741d8b440d78ef95005d44e0e7b1428cb526735380038d6dfaccfd6bd689f4b9c084a340281b2d8f4f38a193d1c6a4c5853c5333617899 SHA512 6edc7b70380aade1c88a3d9dac70d6da846e6e2e7d7b0dc2eddaba148dc3889f2baa3e757a8b91e479b1ae14051d9f948fbfdc516219e21d4a3117f6700cb020
|
|
||||||
DIST mariadb-connector-c-3.0.6-src.tar.gz 666819 BLAKE2B 7245c0e13e569454d1cc70e3579afcbd53c64a0a7e828012b38d73f7d737a81b4fdf0363bd1b156dae783806a51773dbceb2ea06621bd4a73773edb78a70249a SHA512 6a41efacff1840eb8ddd8b34d8894b51f260444c76a1344f9ac9b675fd8492d44716338e4c11594d80118b12d90f75430304282650bce0d5f64179df6cc14d8e
|
DIST mariadb-connector-c-3.0.6-src.tar.gz 666819 BLAKE2B 7245c0e13e569454d1cc70e3579afcbd53c64a0a7e828012b38d73f7d737a81b4fdf0363bd1b156dae783806a51773dbceb2ea06621bd4a73773edb78a70249a SHA512 6a41efacff1840eb8ddd8b34d8894b51f260444c76a1344f9ac9b675fd8492d44716338e4c11594d80118b12d90f75430304282650bce0d5f64179df6cc14d8e
|
||||||
EBUILD mariadb-connector-c-3.0.3-r1.ebuild 3323 BLAKE2B fd0559a46920f20df4bfc0f96512c860345e63a3d9514ba43b4ba3c19d372da2d2eaa30e31d5c6756a857de0eb2f9f9e4b11bfff6396d65b0c0c7e844f0a4832 SHA512 654032eeeef401367f12941b21fd8f8ecaaaa53049b2699ce96a945e327defffcb257d0138b31a906aad1fcba0b43e6c4e52a8c7597583c6e2cd39e59a288a9a
|
EBUILD mariadb-connector-c-3.0.6-r1.ebuild 2837 BLAKE2B e96c8bd2324c16dd79d7bfb55ec470b8cdca5b77952ab1fb17f5a679df941de61f07707f3ba815b0fa74fb3406545de7284d80ad00780c73609c0b5c57e3e3e8 SHA512 448d5c2c75e00145d0e140eb21c38c0d93e7bbcc11973caea0b8dd70587930d3ff908ac981f539fa179e69ad2354557bba298c53fe8e47fe50560556c91cc67f
|
||||||
EBUILD mariadb-connector-c-3.0.4-r1.ebuild 2787 BLAKE2B 0f300bd4e7eb8f86f2ea358f0d26925ddb5df80bedeabb3bf1495da143a057afb4202d5a5335e4f439607d52e7eecfb0df22f25eb2d7a1fb754cec39f0f5ed73 SHA512 65fd079d9ebc7312a8ad47045b7653d6c4bc35b6581e10b4bf40208fbe1ef6b0edd45fbde18a65c86309b97c059d68441516c2b0149b99a8fbd39453628da099
|
EBUILD mariadb-connector-c-9999.ebuild 2837 BLAKE2B e96c8bd2324c16dd79d7bfb55ec470b8cdca5b77952ab1fb17f5a679df941de61f07707f3ba815b0fa74fb3406545de7284d80ad00780c73609c0b5c57e3e3e8 SHA512 448d5c2c75e00145d0e140eb21c38c0d93e7bbcc11973caea0b8dd70587930d3ff908ac981f539fa179e69ad2354557bba298c53fe8e47fe50560556c91cc67f
|
||||||
EBUILD mariadb-connector-c-3.0.6.ebuild 2787 BLAKE2B 0f300bd4e7eb8f86f2ea358f0d26925ddb5df80bedeabb3bf1495da143a057afb4202d5a5335e4f439607d52e7eecfb0df22f25eb2d7a1fb754cec39f0f5ed73 SHA512 65fd079d9ebc7312a8ad47045b7653d6c4bc35b6581e10b4bf40208fbe1ef6b0edd45fbde18a65c86309b97c059d68441516c2b0149b99a8fbd39453628da099
|
|
||||||
EBUILD mariadb-connector-c-9999.ebuild 2787 BLAKE2B 0f300bd4e7eb8f86f2ea358f0d26925ddb5df80bedeabb3bf1495da143a057afb4202d5a5335e4f439607d52e7eecfb0df22f25eb2d7a1fb754cec39f0f5ed73 SHA512 65fd079d9ebc7312a8ad47045b7653d6c4bc35b6581e10b4bf40208fbe1ef6b0edd45fbde18a65c86309b97c059d68441516c2b0149b99a8fbd39453628da099
|
|
||||||
MISC metadata.xml 324 BLAKE2B fab5394015cd337683f65a257556ed0f15e35826bb0a6ce75a7033cd5931455ff2bed527064d698e9b3165f2cfcaff8a4bdfcad0b830482ae2e4389a79d529fb SHA512 1fe9e5d5d9f8e817ce49117fbcc6a6d706a090752606647496f2b7a25de51bfb641a408ff0cdaf626d83eb5c314d2e28c3f29532307d942cb41498edf4b44aa6
|
MISC metadata.xml 324 BLAKE2B fab5394015cd337683f65a257556ed0f15e35826bb0a6ce75a7033cd5931455ff2bed527064d698e9b3165f2cfcaff8a4bdfcad0b830482ae2e4389a79d529fb SHA512 1fe9e5d5d9f8e817ce49117fbcc6a6d706a090752606647496f2b7a25de51bfb641a408ff0cdaf626d83eb5c314d2e28c3f29532307d942cb41498edf4b44aa6
|
||||||
|
@ -1,116 +0,0 @@
|
|||||||
# Copyright 1999-2018 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=6
|
|
||||||
|
|
||||||
VCS_INHERIT=""
|
|
||||||
if [[ "${PV}" == 9999 ]] ; then
|
|
||||||
VCS_INHERIT="git-r3"
|
|
||||||
EGIT_REPO_URI="https://github.com/MariaDB/connector-c.git"
|
|
||||||
KEYWORDS="~arm ~arm64 ~hppa ~ia64 ~ppc64 ~s390 ~sparc"
|
|
||||||
else
|
|
||||||
MY_PN=${PN#mariadb-}
|
|
||||||
MY_PV=${PV/_b/-b}
|
|
||||||
SRC_URI="https://downloads.mariadb.org/f/${MY_PN}-${PV%_beta}/${PN}-${MY_PV}-src.tar.gz?serve -> ${P}-src.tar.gz"
|
|
||||||
S="${WORKDIR}/${PN}-${MY_PV}-src"
|
|
||||||
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc64 ~s390 ~sparc ~x86"
|
|
||||||
fi
|
|
||||||
|
|
||||||
inherit cmake-utils multilib-minimal toolchain-funcs ${VCS_INHERIT}
|
|
||||||
|
|
||||||
MULTILIB_CHOST_TOOLS=( /usr/bin/mariadb_config )
|
|
||||||
|
|
||||||
MULTILIB_WRAPPED_HEADERS+=(
|
|
||||||
/usr/include/mariadb/mariadb_version.h
|
|
||||||
)
|
|
||||||
|
|
||||||
DESCRIPTION="C client library for MariaDB/MySQL"
|
|
||||||
HOMEPAGE="https://mariadb.org/"
|
|
||||||
LICENSE="LGPL-2.1"
|
|
||||||
|
|
||||||
SLOT="0/3"
|
|
||||||
IUSE="+curl gnutls kerberos libressl mysqlcompat +ssl static-libs"
|
|
||||||
|
|
||||||
DEPEND="sys-libs/zlib:=[${MULTILIB_USEDEP}]
|
|
||||||
virtual/libiconv:=[${MULTILIB_USEDEP}]
|
|
||||||
curl? ( net-misc/curl:0=[${MULTILIB_USEDEP}] )
|
|
||||||
kerberos? ( || ( app-crypt/mit-krb5[${MULTILIB_USEDEP}]
|
|
||||||
app-crypt/heimdal[${MULTILIB_USEDEP}] ) )
|
|
||||||
ssl? (
|
|
||||||
gnutls? ( >=net-libs/gnutls-3.3.24:0=[${MULTILIB_USEDEP}] )
|
|
||||||
!gnutls? (
|
|
||||||
libressl? ( dev-libs/libressl:0=[${MULTILIB_USEDEP}] )
|
|
||||||
!libressl? ( dev-libs/openssl:0=[${MULTILIB_USEDEP}] )
|
|
||||||
)
|
|
||||||
)
|
|
||||||
"
|
|
||||||
RDEPEND="${DEPEND}
|
|
||||||
mysqlcompat? (
|
|
||||||
!dev-db/mysql[client-libs(+)]
|
|
||||||
!dev-db/mysql-cluster[client-libs(+)]
|
|
||||||
!dev-db/mariadb[client-libs(+)]
|
|
||||||
!dev-db/mariadb-galera[client-libs(+)]
|
|
||||||
!dev-db/percona-server[client-libs(+)]
|
|
||||||
!dev-db/mysql-connector-c )
|
|
||||||
!>=dev-db/mariadb-10.2.0[client-libs(+)]
|
|
||||||
"
|
|
||||||
PATCHES=(
|
|
||||||
"${FILESDIR}/gentoo-layout-3.0.patch" )
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
local gpluginconf="${T}/gentoo-plugins.cmake"
|
|
||||||
touch "${gpluginconf}" || die
|
|
||||||
# Plugins cannot be disabled by a build switch, redefine them in our own file to be included
|
|
||||||
if ! use kerberos ; then
|
|
||||||
echo 'REGISTER_PLUGIN("AUTH_GSSAPI" "" "auth_gssapi_plugin" "OFF" "auth_gssapi_client" 1)' \
|
|
||||||
>> "${gpluginconf}" || die
|
|
||||||
fi
|
|
||||||
if ! use curl ; then
|
|
||||||
echo 'REGISTER_PLUGIN("REMOTEIO" "" "remote_io_plugin" "OFF" "remote_io" 1)' \
|
|
||||||
>> "${gpluginconf}" || die
|
|
||||||
fi
|
|
||||||
cmake-utils_src_prepare
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
# bug 508724 mariadb cannot use ld.gold
|
|
||||||
tc-ld-disable-gold
|
|
||||||
multilib-minimal_src_configure
|
|
||||||
}
|
|
||||||
|
|
||||||
multilib_src_configure() {
|
|
||||||
local mycmakeargs=(
|
|
||||||
-DWITH_EXTERNAL_ZLIB=ON
|
|
||||||
-DWITH_SSL:STRING=$(usex ssl $(usex gnutls GNUTLS OPENSSL) OFF)
|
|
||||||
-DWITH_CURL=$(usex curl ON OFF)
|
|
||||||
-DAUTH_GSSAPI_PLUGIN_TYPE:STRING=$(usex kerberos ON OFF)
|
|
||||||
-DMARIADB_UNIX_ADDR="${EPREFIX%/}/var/run/mysqld/mysqld.sock"
|
|
||||||
-DINSTALL_LIBDIR="$(get_libdir)"
|
|
||||||
-DINSTALL_PLUGINDIR="$(get_libdir)/mariadb/plugin"
|
|
||||||
-DINSTALL_BINDIR=bin
|
|
||||||
-DPLUGIN_CONF_FILE:STRING="${T}/gentoo-plugins.cmake"
|
|
||||||
)
|
|
||||||
cmake-utils_src_configure
|
|
||||||
}
|
|
||||||
|
|
||||||
multilib_src_compile() {
|
|
||||||
cmake-utils_src_compile
|
|
||||||
}
|
|
||||||
|
|
||||||
multilib_src_install() {
|
|
||||||
cmake-utils_src_install
|
|
||||||
if use mysqlcompat ; then
|
|
||||||
dosym libmariadb.so.3 /usr/$(get_libdir)/libmysqlclient.so.19
|
|
||||||
dosym libmariadb.so.3 /usr/$(get_libdir)/libmysqlclient.so
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
multilib_src_install_all() {
|
|
||||||
if ! use static-libs ; then
|
|
||||||
find "${D}" -name "*.a" -delete || die
|
|
||||||
fi
|
|
||||||
if use mysqlcompat ; then
|
|
||||||
dosym mariadb_config /usr/bin/mysql_config
|
|
||||||
dosym mariadb /usr/include/mysql
|
|
||||||
fi
|
|
||||||
}
|
|
@ -1,101 +0,0 @@
|
|||||||
# Copyright 1999-2018 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=6
|
|
||||||
|
|
||||||
VCS_INHERIT=""
|
|
||||||
if [[ "${PV}" == 9999 ]] ; then
|
|
||||||
VCS_INHERIT="git-r3"
|
|
||||||
EGIT_REPO_URI="https://github.com/MariaDB/mariadb-connector-c.git"
|
|
||||||
KEYWORDS=""
|
|
||||||
else
|
|
||||||
MY_PN=${PN#mariadb-}
|
|
||||||
MY_PV=${PV/_b/-b}
|
|
||||||
SRC_URI="https://downloads.mariadb.org/f/${MY_PN}-${PV%_beta}/${PN}-${MY_PV}-src.tar.gz?serve -> ${P}-src.tar.gz"
|
|
||||||
S="${WORKDIR%/}/${PN}-${MY_PV}-src"
|
|
||||||
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc64 ~s390 ~sparc ~x86"
|
|
||||||
fi
|
|
||||||
|
|
||||||
inherit cmake-utils multilib-minimal toolchain-funcs ${VCS_INHERIT}
|
|
||||||
|
|
||||||
MULTILIB_CHOST_TOOLS=( /usr/bin/mariadb_config )
|
|
||||||
|
|
||||||
MULTILIB_WRAPPED_HEADERS+=(
|
|
||||||
/usr/include/mariadb/mariadb_version.h
|
|
||||||
)
|
|
||||||
|
|
||||||
DESCRIPTION="C client library for MariaDB/MySQL"
|
|
||||||
HOMEPAGE="https://mariadb.org/"
|
|
||||||
LICENSE="LGPL-2.1"
|
|
||||||
|
|
||||||
SLOT="0/3"
|
|
||||||
IUSE="+curl gnutls kerberos libressl mysqlcompat +ssl static-libs test"
|
|
||||||
|
|
||||||
DEPEND="sys-libs/zlib:=[${MULTILIB_USEDEP}]
|
|
||||||
virtual/libiconv:=[${MULTILIB_USEDEP}]
|
|
||||||
curl? ( net-misc/curl:0=[${MULTILIB_USEDEP}] )
|
|
||||||
kerberos? ( || ( app-crypt/mit-krb5[${MULTILIB_USEDEP}]
|
|
||||||
app-crypt/heimdal[${MULTILIB_USEDEP}] ) )
|
|
||||||
ssl? (
|
|
||||||
gnutls? ( >=net-libs/gnutls-3.3.24:0=[${MULTILIB_USEDEP}] )
|
|
||||||
!gnutls? (
|
|
||||||
libressl? ( dev-libs/libressl:0=[${MULTILIB_USEDEP}] )
|
|
||||||
!libressl? ( dev-libs/openssl:0=[${MULTILIB_USEDEP}] )
|
|
||||||
)
|
|
||||||
)
|
|
||||||
"
|
|
||||||
RDEPEND="${DEPEND}
|
|
||||||
mysqlcompat? (
|
|
||||||
!dev-db/mysql[client-libs(+)]
|
|
||||||
!dev-db/mysql-cluster[client-libs(+)]
|
|
||||||
!dev-db/mariadb[client-libs(+)]
|
|
||||||
!dev-db/mariadb-galera[client-libs(+)]
|
|
||||||
!dev-db/percona-server[client-libs(+)]
|
|
||||||
!dev-db/mysql-connector-c )
|
|
||||||
!>=dev-db/mariadb-10.2.0[client-libs(+)]
|
|
||||||
"
|
|
||||||
PATCHES=(
|
|
||||||
"${FILESDIR%/}/gentoo-layout-3.0.patch" )
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
# bug 508724 mariadb cannot use ld.gold
|
|
||||||
tc-ld-disable-gold
|
|
||||||
multilib-minimal_src_configure
|
|
||||||
}
|
|
||||||
|
|
||||||
multilib_src_configure() {
|
|
||||||
local mycmakeargs=(
|
|
||||||
-DWITH_EXTERNAL_ZLIB=ON
|
|
||||||
-DWITH_SSL:STRING=$(usex ssl $(usex gnutls GNUTLS OPENSSL) OFF)
|
|
||||||
-DWITH_CURL=$(usex curl ON OFF)
|
|
||||||
-DCLIENT_PLUGIN_AUTH_GSSAPI_CLIENT:STRING=$(usex kerberos DYNAMIC OFF)
|
|
||||||
-DMARIADB_UNIX_ADDR="${EPREFIX%/}/var/run/mysqld/mysqld.sock"
|
|
||||||
-DINSTALL_LIBDIR="$(get_libdir)"
|
|
||||||
-DINSTALL_PLUGINDIR="$(get_libdir)/mariadb/plugin"
|
|
||||||
-DINSTALL_BINDIR=bin
|
|
||||||
-DWITH_UNIT_TESTS=$(usex test ON OFF)
|
|
||||||
)
|
|
||||||
cmake-utils_src_configure
|
|
||||||
}
|
|
||||||
|
|
||||||
multilib_src_compile() {
|
|
||||||
cmake-utils_src_compile
|
|
||||||
}
|
|
||||||
|
|
||||||
multilib_src_install() {
|
|
||||||
cmake-utils_src_install
|
|
||||||
if use mysqlcompat ; then
|
|
||||||
dosym libmariadb.so.3 /usr/$(get_libdir)/libmysqlclient.so.19
|
|
||||||
dosym libmariadb.so.3 /usr/$(get_libdir)/libmysqlclient.so
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
multilib_src_install_all() {
|
|
||||||
if ! use static-libs ; then
|
|
||||||
find "${D}" -name "*.a" -delete || die
|
|
||||||
fi
|
|
||||||
if use mysqlcompat ; then
|
|
||||||
dosym mariadb_config /usr/bin/mysql_config
|
|
||||||
dosym mariadb /usr/include/mysql
|
|
||||||
fi
|
|
||||||
}
|
|
@ -1,18 +1,12 @@
|
|||||||
AUX 5.2.7-mariadb-dynamic-array.patch 3053 BLAKE2B 1c72b7318dcfd035655285c433a88d76d09200560db1530f76ab69e9ff765f17351b88aedabb297bb55f07aee5197cf29757534fc5373f95bad65fc49db93fe5 SHA512 26d35effbf4e74ef634c6e42dced40830402aa0925571f4bd55acd3dfe06f1c8c8f3bab4e9bb4bcd3f72dc87ecc3a093b984df4837548710899f97d8bdeca7b6
|
|
||||||
AUX 5.2.7-my_malloc.patch 594 BLAKE2B c9d9aad2e9b9e3e2b30ff41e6ec68343557123517b808df6888d91f48e68cbb1de852f31b057dffea40264a717077e4bbce6f78438535eb11cb660986f469892 SHA512 bcd26b2f8de21404c741fec51bb7e7bec32a5d3fbc90471c157ee275dc6136a44a6ef4d2ad8dd170e2852679d3fcb0cc74cf4acca0570702206b4cded1cb1fa5
|
|
||||||
AUX 5.2.7-r1-cxxlinkage.patch 1707 BLAKE2B aaf7ef0f319f2e00034307f51406c82580f5d257b61d722d7d610e731b9c549ff54b88279689c226df72837c5af35911ee1f4dd756b989f4018a78d3e3d5e940 SHA512 3d0f1839e1b200d7746d2c7161ee2a85813bf40517a70777d361e482efd6d6b0be88415d339d6dccc49de865a0d714fbbce2b74abb1bbc12c4f4681a5bd5abf8
|
|
||||||
AUX 5.3-cmake-doc-path.patch 1480 BLAKE2B 5f89253a86fa97fbf4103fbe797f60449245195e9c8d0f6d7f065e654a402de0461459dd11d9d878f0794089261ee5ee9fac3240bf90f7c8382edb54d84b27a6 SHA512 aa2303161af2b53608acc127464951cf77492a1a90e869a58893ba10a014077d7f8f319325b77713fffceeaa002943f4ce52b6cb9571b0b3d3d7ab562601968d
|
AUX 5.3-cmake-doc-path.patch 1480 BLAKE2B 5f89253a86fa97fbf4103fbe797f60449245195e9c8d0f6d7f065e654a402de0461459dd11d9d878f0794089261ee5ee9fac3240bf90f7c8382edb54d84b27a6 SHA512 aa2303161af2b53608acc127464951cf77492a1a90e869a58893ba10a014077d7f8f319325b77713fffceeaa002943f4ce52b6cb9571b0b3d3d7ab562601968d
|
||||||
AUX 5.3.10-cxxlinkage.patch 1027 BLAKE2B b3df78658e4fb3243debb6f95cea6c5530db309ffc50f3a6afaff8bce143d147b4645a4bef4a54f6d04203ea132d4245812f5a2473ad7e9899f6e6b3c0799213 SHA512 f4d6df55313ccba995c8bd2e182397ce2652c2fbc0f0706474386654fb890fc47cad3a18f306206e840a47b729569e9a0ccb1cc2401c5280792afc4f544b41fd
|
AUX 5.3.10-cxxlinkage.patch 1027 BLAKE2B b3df78658e4fb3243debb6f95cea6c5530db309ffc50f3a6afaff8bce143d147b4645a4bef4a54f6d04203ea132d4245812f5a2473ad7e9899f6e6b3c0799213 SHA512 f4d6df55313ccba995c8bd2e182397ce2652c2fbc0f0706474386654fb890fc47cad3a18f306206e840a47b729569e9a0ccb1cc2401c5280792afc4f544b41fd
|
||||||
AUX 5.3.10-mariadb.patch 1744 BLAKE2B a9e33c86f999394d77757f69f1f314238123fa4158297961b4ce0f501e6fb743927e892c1f6640945842e843da56a826e5da1a968d84f7e5dcf3b2b4a590c0e8 SHA512 ebf62a2e0cc901fce81d0ad358f62d1c41494a5e35fb5a4df6913d1f4d5b8bbb638a23cabfe483818efa39688744b7be8b98d922b4bdff830de701c665da0fa0
|
AUX 5.3.10-mariadb.patch 1744 BLAKE2B a9e33c86f999394d77757f69f1f314238123fa4158297961b4ce0f501e6fb743927e892c1f6640945842e843da56a826e5da1a968d84f7e5dcf3b2b4a590c0e8 SHA512 ebf62a2e0cc901fce81d0ad358f62d1c41494a5e35fb5a4df6913d1f4d5b8bbb638a23cabfe483818efa39688744b7be8b98d922b4bdff830de701c665da0fa0
|
||||||
AUX cmake-doc-path.patch 1498 BLAKE2B b79110c92b7fc80c64fdf05b469c4bb333d68610ff4fadc78bd307689651e41bcd66f33fd782db1b69c863ef81faee3d5eb485d5c9bd284db8be3948d2bec7e7 SHA512 2e48af11efb55a1508402d5d1d717a3dfc9897bf0ccce5aa190792fb673ac78b27a9480e951a6347a2c8d0e2fe08a28c11fd08c55dbea835a93f525decaaf09e
|
AUX cmake-doc-path.patch 1498 BLAKE2B b79110c92b7fc80c64fdf05b469c4bb333d68610ff4fadc78bd307689651e41bcd66f33fd782db1b69c863ef81faee3d5eb485d5c9bd284db8be3948d2bec7e7 SHA512 2e48af11efb55a1508402d5d1d717a3dfc9897bf0ccce5aa190792fb673ac78b27a9480e951a6347a2c8d0e2fe08a28c11fd08c55dbea835a93f525decaaf09e
|
||||||
AUX odbc.ini.m4 406 BLAKE2B 3a20c28b1971753a14a4aa4d30efcc7de833488501a41d9404987567623d48250ce1daea1d3138adaef36741c4f2e0eafc60eba554e5262b45084f93f5205160 SHA512 84ab2a3aab594123d42b65205a7faf8e91fe9416a9e3c4c4c354533b9a298395f59172649c91dc0b671392bfbe5baeaddb6aa47119ce4c825917f3977d9dd521
|
AUX odbc.ini.m4 406 BLAKE2B 3a20c28b1971753a14a4aa4d30efcc7de833488501a41d9404987567623d48250ce1daea1d3138adaef36741c4f2e0eafc60eba554e5262b45084f93f5205160 SHA512 84ab2a3aab594123d42b65205a7faf8e91fe9416a9e3c4c4c354533b9a298395f59172649c91dc0b671392bfbe5baeaddb6aa47119ce4c825917f3977d9dd521
|
||||||
AUX odbcinst.ini.m4 118 BLAKE2B 6da835746e063f415ad7d640233cfd96e744cd56e12aaab4a21a2bf0bd5f1bd1e5c3d1c9a28522e3aa07c1261abac92301819d4112ac6a000a729aca9f7f7ad6 SHA512 6d929bbffd602a9f060a05998149a6b16334f8a5e3db30d02ff5d38c0065085d085042521e700b87a63766e32aa27ae92be72cef33c2a7aa8f6767b6b71c82c8
|
AUX odbcinst.ini.m4 118 BLAKE2B 6da835746e063f415ad7d640233cfd96e744cd56e12aaab4a21a2bf0bd5f1bd1e5c3d1c9a28522e3aa07c1261abac92301819d4112ac6a000a729aca9f7f7ad6 SHA512 6d929bbffd602a9f060a05998149a6b16334f8a5e3db30d02ff5d38c0065085d085042521e700b87a63766e32aa27ae92be72cef33c2a7aa8f6767b6b71c82c8
|
||||||
DIST mysql-connector-odbc-5.2.7-src.tar.gz 606472 BLAKE2B 297f1ae57802f682616283bae9c3ff7ef88f8f016274884794f6b476bf9b92bc1da8af9cb89f41fa2a74238f91fbc39b9427529b806ac4ffb52aecd895cd8cd8 SHA512 f54ac8a23ade71da85e1335e95eccdccfd68a8687d17a584ced103812bdc5aee8014769a84eaa22724bb2cb23d34c7188c964d3283723defeaef5157a4b3c60f
|
|
||||||
DIST mysql-connector-odbc-5.3.10-src.tar.gz 2646571 BLAKE2B e85e179ee8a54c8c98dd254e949c08227adc72141d52bc15935eafd60edaf95f47c12ca51fa9472ae29c761d5de2149277c58e6d3f02a566668be17f595ca7ba SHA512 ebe56b95a1690332959a7a37e8ed381b46730fb9f6fbd6522ddc1a6961e4c8cdac59681a957b33abeb6cae12f210278e4063daa59ce952d92acf427bc188e22b
|
DIST mysql-connector-odbc-5.3.10-src.tar.gz 2646571 BLAKE2B e85e179ee8a54c8c98dd254e949c08227adc72141d52bc15935eafd60edaf95f47c12ca51fa9472ae29c761d5de2149277c58e6d3f02a566668be17f595ca7ba SHA512 ebe56b95a1690332959a7a37e8ed381b46730fb9f6fbd6522ddc1a6961e4c8cdac59681a957b33abeb6cae12f210278e4063daa59ce952d92acf427bc188e22b
|
||||||
DIST mysql-connector-odbc-5.3.9-linux-debian9-x86-32bit.tar.gz 11501665 BLAKE2B e41dd65d940c0c91c67e6ec4c46ea2c3327e96d372c493635d05833862f2aa73919410a9e9a9c090a6fa65fd29e022a9b088c07a5e11089aee04b3b86005ad1e SHA512 02fcf6ac88f6052206aa55b6fc2b37f499da26e596e8e64b1c20e87dc4a24f745416da56c6e1268feff60321f54cb45864b8d34e055ea2f99da37b6efeedc844
|
DIST mysql-connector-odbc-5.3.9-linux-debian9-x86-32bit.tar.gz 11501665 BLAKE2B e41dd65d940c0c91c67e6ec4c46ea2c3327e96d372c493635d05833862f2aa73919410a9e9a9c090a6fa65fd29e022a9b088c07a5e11089aee04b3b86005ad1e SHA512 02fcf6ac88f6052206aa55b6fc2b37f499da26e596e8e64b1c20e87dc4a24f745416da56c6e1268feff60321f54cb45864b8d34e055ea2f99da37b6efeedc844
|
||||||
DIST mysql-connector-odbc-5.3.9-linux-debian9-x86-64bit.tar.gz 12013057 BLAKE2B e372cfb6ca49f9f01e9e60d7cd497fc009ec38dee76ca2cfb74cc95213b84ef1eebca85e1400f19c9715c0f9b2ef40fc212196e14189f5506be8d0e887507ce4 SHA512 b54ca167f762b4d8b988b4a91f14dc6a4bf49f55bc639ce8eecc9eba6c11400bd3494d74ef77ebe3348bdefd8fb5b8c1b62b3a6beebb926a1899da17ea4a1b44
|
DIST mysql-connector-odbc-5.3.9-linux-debian9-x86-64bit.tar.gz 12013057 BLAKE2B e372cfb6ca49f9f01e9e60d7cd497fc009ec38dee76ca2cfb74cc95213b84ef1eebca85e1400f19c9715c0f9b2ef40fc212196e14189f5506be8d0e887507ce4 SHA512 b54ca167f762b4d8b988b4a91f14dc6a4bf49f55bc639ce8eecc9eba6c11400bd3494d74ef77ebe3348bdefd8fb5b8c1b62b3a6beebb926a1899da17ea4a1b44
|
||||||
EBUILD myodbc-5.2.7-r1.ebuild 3300 BLAKE2B 9cc0f8a8ddf448c286594d7f27a85c113b98de2ded3eee1cc16661c54f48075fded3a8b0906a542a4a268e1144ab6d9c1b221d850b06faf9553bde8b4ca731bd SHA512 d8ffec3733dd3a811155fe03296081d3d54c17ed2d46b41e48213cf5f996ae7a4955d216355a8c0afa20142ccd243ebbbbfb8d40826fcd3f1a1e681b34126879
|
|
||||||
EBUILD myodbc-5.2.7-r3.ebuild 3698 BLAKE2B 150992141e50dad64396392399791f02a8920485dae1d23c776a89cce3f648b9d0fac1c59202409be03c5bc27b7ca582d31ab1ff3480d9beef5847eda0e0380d SHA512 ee50335e1dff98d7b5b2a4248972c8423a4aaa8293a9404f659a789b9bb915f43e2d174482e07a9179af1cf6bf822de6a5a2e746f7410de7b06a350a3d03f9d2
|
|
||||||
EBUILD myodbc-5.3.10-r2.ebuild 3588 BLAKE2B db9749af6dd80c60ae359485e3526258e43ea7003b2302076b0ef39a72098663b27f9413d050809328fe4348f5c129135f163da8d895f65d8c9f76bd53415eb4 SHA512 33d3aced0bc4575baa860dc53f1a6b35b6a5dc2e1815d88922d66c5270e570deaa0dc20018d9329c4651cef00f48b902b208671dd0836e7224d11972491b9e66
|
EBUILD myodbc-5.3.10-r2.ebuild 3588 BLAKE2B db9749af6dd80c60ae359485e3526258e43ea7003b2302076b0ef39a72098663b27f9413d050809328fe4348f5c129135f163da8d895f65d8c9f76bd53415eb4 SHA512 33d3aced0bc4575baa860dc53f1a6b35b6a5dc2e1815d88922d66c5270e570deaa0dc20018d9329c4651cef00f48b902b208671dd0836e7224d11972491b9e66
|
||||||
EBUILD myodbc-5.3.9.ebuild 3072 BLAKE2B 4922ed231672f11742590007b7b1f5c5dfa27263a6c98893b373793da06088f29c5401917179d479f4c57b24b2a1be9c3507caa752db79f3268fceff4719013d SHA512 4da8b034a745c453a310391a38e5cb1697bfa51838edc6903ee643e7dbe28fa5fb8f7d34264f88bb79b2aba83fa042212c0a2dd251c15150f7f0a2fcf561e052
|
EBUILD myodbc-5.3.9.ebuild 3072 BLAKE2B 4922ed231672f11742590007b7b1f5c5dfa27263a6c98893b373793da06088f29c5401917179d479f4c57b24b2a1be9c3507caa752db79f3268fceff4719013d SHA512 4da8b034a745c453a310391a38e5cb1697bfa51838edc6903ee643e7dbe28fa5fb8f7d34264f88bb79b2aba83fa042212c0a2dd251c15150f7f0a2fcf561e052
|
||||||
MISC metadata.xml 239 BLAKE2B c4d6706d083b72927d239f41a644a4009c054c1c1a388af7733d3a2daf47d354009eb472573304a6be272601f05535297bcd9ceaea811a741cd905577ffe53d1 SHA512 e6e2fafe2f503db1d12e3d2368a99631ee8d014b7ea802d9879e7e3e2c0f9378675fffccd78ed09b914ae781ac3902567b1a53a721906e3ea63ceb51d0a1654b
|
MISC metadata.xml 239 BLAKE2B c4d6706d083b72927d239f41a644a4009c054c1c1a388af7733d3a2daf47d354009eb472573304a6be272601f05535297bcd9ceaea811a741cd905577ffe53d1 SHA512 e6e2fafe2f503db1d12e3d2368a99631ee8d014b7ea802d9879e7e3e2c0f9378675fffccd78ed09b914ae781ac3902567b1a53a721906e3ea63ceb51d0a1654b
|
||||||
|
@ -1,79 +0,0 @@
|
|||||||
diff -aurN a/driver/catalog_no_i_s.c b/driver/catalog_no_i_s.c
|
|
||||||
--- a/driver/catalog_no_i_s.c 2014-06-18 18:50:16.000000000 -0400
|
|
||||||
+++ b/driver/catalog_no_i_s.c 2014-08-20 14:08:33.997339096 -0400
|
|
||||||
@@ -1093,7 +1093,11 @@
|
|
||||||
unsigned long *lengths;
|
|
||||||
SQLRETURN rc= SQL_SUCCESS;
|
|
||||||
|
|
||||||
+#if defined(MARIADB_BASE_VERSION) && MYSQL_VERSION_ID > 100001
|
|
||||||
+ my_init_dynamic_array(&records, sizeof(MY_FOREIGN_KEY_FIELD), 0, 0, MYF(0));
|
|
||||||
+#else
|
|
||||||
my_init_dynamic_array(&records, sizeof(MY_FOREIGN_KEY_FIELD), 0, 0);
|
|
||||||
+#endif
|
|
||||||
|
|
||||||
/* Get the list of tables that match szCatalog and szTable */
|
|
||||||
pthread_mutex_lock(&stmt->dbc->lock);
|
|
||||||
diff -aurN a/driver/desc.c b/driver/desc.c
|
|
||||||
--- a/driver/desc.c 2014-06-18 18:50:16.000000000 -0400
|
|
||||||
+++ b/driver/desc.c 2014-08-20 14:07:37.409169269 -0400
|
|
||||||
@@ -63,8 +63,12 @@
|
|
||||||
but in desc_get_rec we manually get a pointer to it. This avoids
|
|
||||||
having to call set_dynamic after modifying the DESCREC.
|
|
||||||
*/
|
|
||||||
+#if defined(MARIADB_BASE_VERSION) && MYSQL_VERSION_ID > 100001
|
|
||||||
+ if (my_init_dynamic_array(&desc->records, sizeof(DESCREC), 0, 0, MYF(0)))
|
|
||||||
+#else
|
|
||||||
if (my_init_dynamic_array(&desc->records, sizeof(DESCREC), 0, 0))
|
|
||||||
+#endif
|
|
||||||
{
|
|
||||||
x_free((char *)desc);
|
|
||||||
return NULL;
|
|
||||||
}
|
|
||||||
@@ -995,9 +1003,15 @@
|
|
||||||
|
|
||||||
/* copy the records */
|
|
||||||
delete_dynamic(&dest->records);
|
|
||||||
+#if defined(MARIADB_BASE_VERSION) && MYSQL_VERSION_ID > 100001
|
|
||||||
+ if (my_init_dynamic_array(&dest->records, sizeof(DESCREC),
|
|
||||||
+ src->records.max_element,
|
|
||||||
+ src->records.alloc_increment, MYF(0)))
|
|
||||||
+#else
|
|
||||||
if (my_init_dynamic_array(&dest->records, sizeof(DESCREC),
|
|
||||||
src->records.max_element,
|
|
||||||
src->records.alloc_increment))
|
|
||||||
+#endif
|
|
||||||
{
|
|
||||||
return set_desc_error(dest, "HY001",
|
|
||||||
"Memory allocation error",
|
|
||||||
diff -aurN a/driver/handle.c b/driver/handle.c
|
|
||||||
--- a/driver/handle.c 2014-06-18 18:50:16.000000000 -0400
|
|
||||||
+++ b/driver/handle.c 2014-08-20 14:05:00.364248403 -0400
|
|
||||||
@@ -403,7 +403,11 @@
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
+#if defined(MARIADB_BASE_VERSION) && MYSQL_VERSION_ID > 100001
|
|
||||||
+ my_init_dynamic_array(*param_bind, sizeof(MYSQL_BIND), elements, 10, MYF(0));
|
|
||||||
+#else
|
|
||||||
my_init_dynamic_array(*param_bind, sizeof(MYSQL_BIND), elements, 10);
|
|
||||||
+#endif
|
|
||||||
memset((*param_bind)->buffer, 0, sizeof(MYSQL_BIND) *
|
|
||||||
(*param_bind)->max_element);
|
|
||||||
|
|
||||||
diff -aurN a/driver/parse.c b/driver/parse.c
|
|
||||||
--- a/driver/parse.c 2014-06-18 18:50:16.000000000 -0400
|
|
||||||
+++ b/driver/parse.c 2014-08-20 14:03:54.336383876 -0400
|
|
||||||
@@ -129,8 +129,13 @@
|
|
||||||
|
|
||||||
/* TODO: Store offsets rather than ptrs. In this case we will be fine
|
|
||||||
if work with copy of the originally parsed string */
|
|
||||||
+#if defined(MARIADB_BASE_VERSION) && MYSQL_VERSION_ID > 100001
|
|
||||||
+ my_init_dynamic_array(&pq->token, sizeof(uint), 20, 10, MYF(0));
|
|
||||||
+ my_init_dynamic_array(&pq->param_pos, sizeof(uint), 10, 10, MYF(0));
|
|
||||||
+#else
|
|
||||||
my_init_dynamic_array(&pq->token, sizeof(uint), 20, 10);
|
|
||||||
my_init_dynamic_array(&pq->param_pos, sizeof(uint), 10, 10);
|
|
||||||
+#endif
|
|
||||||
}
|
|
||||||
|
|
||||||
return pq;
|
|
@ -1,18 +0,0 @@
|
|||||||
diff -Brau a/util/odbcinstw.c b/util/odbcinstw.c
|
|
||||||
--- a/util/odbcinstw.c 2014-04-23 21:54:40.000000000 +0200
|
|
||||||
+++ b/util/odbcinstw.c 2015-05-08 15:29:09.400568356 +0200
|
|
||||||
@@ -68,13 +68,7 @@
|
|
||||||
|
|
||||||
if (lpszRetBuffer && cbRetBuffer)
|
|
||||||
{
|
|
||||||
- ret= malloc(cbRetBuffer + 1);
|
|
||||||
- /*
|
|
||||||
- We cannot rely on getting correct results from the next call of
|
|
||||||
- SQLGetPrivateProfileString. So, taking precautions against unititialized
|
|
||||||
- values in the allocated buffer.
|
|
||||||
- */
|
|
||||||
- memset(ret, 0, cbRetBuffer + 1);
|
|
||||||
+ ret= my_malloc(cbRetBuffer + 1, MYF(MY_ZEROFILL));
|
|
||||||
}
|
|
||||||
else
|
|
||||||
ret= NULL;
|
|
@ -1,40 +0,0 @@
|
|||||||
diff -uarN a/cmake/FindMySQL.cmake b/cmake/FindMySQL.cmake
|
|
||||||
--- a/cmake/FindMySQL.cmake 2014-06-18 18:50:16.000000000 -0400
|
|
||||||
+++ b/cmake/FindMySQL.cmake 2014-08-20 10:05:00.191485304 -0400
|
|
||||||
@@ -105,16 +105,16 @@
|
|
||||||
# Finally remove the dot
|
|
||||||
STRING(REGEX REPLACE "[.]" "" MYSQL_NUM_VERSION "${MYSQL_NUM_VERSION}")
|
|
||||||
|
|
||||||
- IF(MYSQL_CXX_LINKAGE OR MYSQL_NUM_VERSION GREATER 50603)
|
|
||||||
+ IF(MYSQL_CXX_LINKAGE)
|
|
||||||
EXECUTE_PROCESS(COMMAND ${MYSQL_CONFIG_EXECUTABLE} "--cxxflags"
|
|
||||||
OUTPUT_VARIABLE _mysql_config_output
|
|
||||||
)
|
|
||||||
SET(MYSQL_CXX_LINKAGE 1)
|
|
||||||
- ELSE (MYSQL_CXX_LINKAGE OR MYSQL_NUM_VERSION GREATER 50603)
|
|
||||||
+ ELSE (MYSQL_CXX_LINKAGE)
|
|
||||||
EXECUTE_PROCESS(COMMAND ${MYSQL_CONFIG_EXECUTABLE} "--cflags"
|
|
||||||
OUTPUT_VARIABLE _mysql_config_output
|
|
||||||
)
|
|
||||||
- ENDIF(MYSQL_CXX_LINKAGE OR MYSQL_NUM_VERSION GREATER 50603)
|
|
||||||
+ ENDIF(MYSQL_CXX_LINKAGE)
|
|
||||||
|
|
||||||
# Remove the stl4port dependency
|
|
||||||
STRING(REGEX REPLACE "-library=stlport4" "" _mysql_config_output "${_mysql_config_output}")
|
|
||||||
diff -aurN mysql-connector-odbc-5.2.7-src.orig/CMakeLists.txt mysql-connector-odbc-5.2.7-src/CMakeLists.txt
|
|
||||||
--- a/CMakeLists.txt 2014-08-27 13:51:27.050553560 -0400
|
|
||||||
+++ b/CMakeLists.txt 2014-08-27 13:55:41.702359680 -0400
|
|
||||||
@@ -256,10 +256,9 @@
|
|
||||||
SET(EXECUTABLE_OUTPUT_PATH "${CMAKE_BINARY_DIR}/bin")
|
|
||||||
SET(LIBRARY_OUTPUT_PATH "${CMAKE_BINARY_DIR}/lib")
|
|
||||||
|
|
||||||
-SET(LIB_SUBDIR "lib")
|
|
||||||
-IF(RPM_BUILD AND CMAKE_SYSTEM_PROCESSOR MATCHES "(x86_64|ppc64|ppc64p7|s390x|sparc64)")
|
|
||||||
- SET(LIB_SUBDIR "lib64")
|
|
||||||
-ENDIF()
|
|
||||||
+IF(NOT LIB_SUBDIR)
|
|
||||||
+ MESSAGE(ERROR "LIB_SUBDIR is not set")
|
|
||||||
+ENDIF(NOT LIB_SUBDIR)
|
|
||||||
MESSAGE(STATUS "Installation library subdir: ${LIB_SUBDIR}")
|
|
||||||
|
|
||||||
INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR})
|
|
@ -1,117 +0,0 @@
|
|||||||
# Copyright 1999-2018 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=5
|
|
||||||
inherit cmake-multilib eutils flag-o-matic versionator
|
|
||||||
|
|
||||||
MAJOR="$(get_version_component_range 1-2 $PV)"
|
|
||||||
MY_PN="mysql-connector-odbc"
|
|
||||||
MY_P="${MY_PN}-${PV/_p/r}-src"
|
|
||||||
|
|
||||||
DESCRIPTION="ODBC driver for MySQL"
|
|
||||||
HOMEPAGE="http://www.mysql.com/products/myodbc/"
|
|
||||||
SRC_URI="mirror://mysql/Downloads/Connector-ODBC/${MAJOR}/${MY_P}.tar.gz"
|
|
||||||
RESTRICT="primaryuri"
|
|
||||||
|
|
||||||
LICENSE="GPL-2"
|
|
||||||
SLOT="${MAJOR}"
|
|
||||||
KEYWORDS="amd64 ppc x86"
|
|
||||||
IUSE=""
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
dev-db/unixODBC[${MULTILIB_USEDEP}]
|
|
||||||
~virtual/libmysqlclient-18[${MULTILIB_USEDEP}]"
|
|
||||||
DEPEND="${RDEPEND}"
|
|
||||||
S=${WORKDIR}/${MY_P}
|
|
||||||
|
|
||||||
# Careful!
|
|
||||||
DRIVER_NAME="${PN}-${SLOT}"
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
# Remove Tests
|
|
||||||
sed -i -e "s/ADD_SUBDIRECTORY(test)//" \
|
|
||||||
"${S}/CMakeLists.txt"
|
|
||||||
|
|
||||||
# Fix as-needed on the installer binary
|
|
||||||
echo "TARGET_LINK_LIBRARIES(myodbc-installer odbc)" >> "${S}/installer/CMakeLists.txt"
|
|
||||||
|
|
||||||
# Patch document path so it doesn't install files to /usr
|
|
||||||
epatch "${FILESDIR}/cmake-doc-path.patch" \
|
|
||||||
"${FILESDIR}/${PVR}-cxxlinkage.patch" \
|
|
||||||
"${FILESDIR}/${PV}-mariadb-dynamic-array.patch"
|
|
||||||
|
|
||||||
# Fix undefined references due to standards change
|
|
||||||
append-cflags -std=gnu89
|
|
||||||
}
|
|
||||||
|
|
||||||
multilib_src_configure() {
|
|
||||||
# The RPM_BUILD flag does nothing except install to /usr/lib64 when "x86_64"
|
|
||||||
# MYSQL_CXX_LINKAGE expects "mysql_config --cxxflags" which doesn't exist on MariaDB
|
|
||||||
mycmakeargs+=(
|
|
||||||
-DMYSQL_CXX_LINKAGE=0
|
|
||||||
-DWITH_UNIXODBC=1
|
|
||||||
-DMYSQLCLIENT_LIB_NAME="libmysqlclient.so"
|
|
||||||
-DWITH_DOCUMENTATION_INSTALL_PATH=/usr/share/doc/${PF}
|
|
||||||
-DMYSQL_LIB_DIR="${ROOT}/usr/$(get_libdir)"
|
|
||||||
-DLIB_SUBDIR="$(get_libdir)"
|
|
||||||
)
|
|
||||||
cmake-utils_src_configure
|
|
||||||
}
|
|
||||||
|
|
||||||
multilib_src_install_all() {
|
|
||||||
debug-print-function ${FUNCNAME} "$@"
|
|
||||||
|
|
||||||
dodir /usr/share/${PN}-${SLOT}
|
|
||||||
for i in odbc.ini odbcinst.ini; do
|
|
||||||
einfo "Building $i"
|
|
||||||
sed \
|
|
||||||
-e "s,__PN__,${DRIVER_NAME},g" \
|
|
||||||
-e "s,__PF__,${MAJOR},g" \
|
|
||||||
-e "s,libmyodbc3.so,libmyodbc${SLOT:0:1}a.so,g" \
|
|
||||||
>"${D}"/usr/share/${PN}-${SLOT}/${i} \
|
|
||||||
<"${FILESDIR}"/${i}.m4 \
|
|
||||||
|| die "Failed to build $i"
|
|
||||||
done;
|
|
||||||
mv "${D}/usr/bin/myodbc-installer" \
|
|
||||||
"${D}/usr/bin/myodbc-installer-${MAJOR}" || die "failed to move slotted binary"
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_config() {
|
|
||||||
|
|
||||||
[ "${ROOT}" != "/" ] && \
|
|
||||||
die 'Sorry, non-standard ROOT setting is not supported :-('
|
|
||||||
|
|
||||||
local msg='MySQL ODBC driver'
|
|
||||||
local drivers=$(/usr/bin/odbcinst -q -d)
|
|
||||||
|
|
||||||
if echo $drivers | grep -vq "^\[${DRIVER_NAME}\]$" ; then
|
|
||||||
ebegin "Installing ${msg}"
|
|
||||||
/usr/bin/odbcinst -i -d -f /usr/share/${PN}-${SLOT}/odbcinst.ini
|
|
||||||
rc=$?
|
|
||||||
eend $rc
|
|
||||||
[ $rc -ne 0 ] && die
|
|
||||||
else
|
|
||||||
einfo "Skipping already installed ${msg}"
|
|
||||||
fi
|
|
||||||
|
|
||||||
local sources=$(/usr/bin/odbcinst -q -s)
|
|
||||||
msg='sample MySQL ODBC DSN'
|
|
||||||
if echo $sources | grep -vq "^\[${DRIVER_NAME}-test\]$"; then
|
|
||||||
ebegin "Installing ${msg}"
|
|
||||||
/usr/bin/odbcinst -i -s -l -f /usr/share/${PN}-${SLOT}/odbc.ini
|
|
||||||
rc=$?
|
|
||||||
eend $rc
|
|
||||||
[ $rc -ne 0 ] && die
|
|
||||||
else
|
|
||||||
einfo "Skipping already installed ${msg}"
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
|
|
||||||
elog "If this is a new install, please run the following command"
|
|
||||||
elog "to configure the MySQL ODBC drivers and sources:"
|
|
||||||
elog "emerge --config =${CATEGORY}/${PF}"
|
|
||||||
elog "Please note that the driver name used to form the DSN now includes the SLOT."
|
|
||||||
elog "The myodbc-install utility is installed as myodbc-install-${MAJOR}"
|
|
||||||
}
|
|
@ -1,131 +0,0 @@
|
|||||||
# Copyright 1999-2018 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=6
|
|
||||||
inherit cmake-multilib flag-o-matic versionator
|
|
||||||
|
|
||||||
MAJOR="$(get_version_component_range 1-2 $PV)"
|
|
||||||
MY_PN="mysql-connector-odbc"
|
|
||||||
MY_P="${MY_PN}-${PV/_p/r}-src"
|
|
||||||
|
|
||||||
DESCRIPTION="ODBC driver for MySQL"
|
|
||||||
HOMEPAGE="http://www.mysql.com/products/myodbc/"
|
|
||||||
SRC_URI="mirror://mysql/Downloads/Connector-ODBC/${MAJOR}/${MY_P}.tar.gz"
|
|
||||||
RESTRICT="primaryuri"
|
|
||||||
|
|
||||||
LICENSE="GPL-2"
|
|
||||||
SLOT="${MAJOR}"
|
|
||||||
KEYWORDS="amd64 ~ppc ~x86"
|
|
||||||
IUSE=""
|
|
||||||
|
|
||||||
# Does not build with mysql-connector-c
|
|
||||||
RDEPEND="
|
|
||||||
dev-db/unixODBC[${MULTILIB_USEDEP}]
|
|
||||||
~virtual/libmysqlclient-18[${MULTILIB_USEDEP}]
|
|
||||||
!dev-db/mysql-connector-c
|
|
||||||
!>=dev-db/mariadb-10.2.0
|
|
||||||
"
|
|
||||||
DEPEND="${RDEPEND}"
|
|
||||||
S=${WORKDIR}/${MY_P}
|
|
||||||
|
|
||||||
# Careful!
|
|
||||||
DRIVER_NAME="${PN}-${SLOT}"
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
# Remove Tests
|
|
||||||
sed -i -e "s/ADD_SUBDIRECTORY(test)//" \
|
|
||||||
"${S}/CMakeLists.txt"
|
|
||||||
|
|
||||||
# Fix as-needed on the installer binary
|
|
||||||
echo "TARGET_LINK_LIBRARIES(myodbc-installer odbc)" >> "${S}/installer/CMakeLists.txt"
|
|
||||||
|
|
||||||
# Patch document path so it doesn't install files to /usr
|
|
||||||
local FILES=( "${FILESDIR}/cmake-doc-path.patch"
|
|
||||||
"${FILESDIR}/${PV}-r1-cxxlinkage.patch"
|
|
||||||
"${FILESDIR}/${PV}-mariadb-dynamic-array.patch"
|
|
||||||
"${FILESDIR}/${PV}-my_malloc.patch" )
|
|
||||||
|
|
||||||
# Fix undefined references due to standards change
|
|
||||||
append-cflags -std=gnu89
|
|
||||||
|
|
||||||
MYSQL_SERVER_INCLUDE=$(mysql_config --include | cut -d ' ' -f 1)
|
|
||||||
append-cflags "${MYSQL_SERVER_INCLUDE}/server"
|
|
||||||
|
|
||||||
append-cppflags -DSTACK_DIRECTION=1
|
|
||||||
|
|
||||||
cmake-utils_src_prepare
|
|
||||||
}
|
|
||||||
|
|
||||||
multilib_src_configure() {
|
|
||||||
# The RPM_BUILD flag does nothing except install to /usr/lib64 when "x86_64"
|
|
||||||
# MYSQL_CXX_LINKAGE expects "mysql_config --cxxflags" which doesn't exist on MariaDB
|
|
||||||
mycmakeargs+=(
|
|
||||||
-DMYSQL_CXX_LINKAGE=0
|
|
||||||
-DWITH_UNIXODBC=1
|
|
||||||
-DMYSQLCLIENT_LIB_NAME="libmysqlclient.so"
|
|
||||||
-DWITH_DOCUMENTATION_INSTALL_PATH=/usr/share/doc/${PF}
|
|
||||||
-DMYSQL_LIB_DIR="${ROOT}/usr/$(get_libdir)"
|
|
||||||
-DLIB_SUBDIR="$(get_libdir)"
|
|
||||||
-DNO_THREADS=ON
|
|
||||||
)
|
|
||||||
cmake-utils_src_configure
|
|
||||||
}
|
|
||||||
|
|
||||||
multilib_src_install_all() {
|
|
||||||
debug-print-function ${FUNCNAME} "$@"
|
|
||||||
|
|
||||||
dodir /usr/share/${PN}-${SLOT}
|
|
||||||
for i in odbc.ini odbcinst.ini; do
|
|
||||||
einfo "Building $i"
|
|
||||||
sed \
|
|
||||||
-e "s,__PN__,${DRIVER_NAME},g" \
|
|
||||||
-e "s,__PF__,${MAJOR},g" \
|
|
||||||
-e "s,libmyodbc3.so,libmyodbc${SLOT:0:1}a.so,g" \
|
|
||||||
-e "s,lib/libmyodbc,$(get_libdir)/${DRIVER_NAME}/libmyodbc,g" \
|
|
||||||
>"${D}"/usr/share/${PN}-${SLOT}/${i} \
|
|
||||||
<"${FILESDIR}"/${i}.m4 \
|
|
||||||
|| die "Failed to build $i"
|
|
||||||
done;
|
|
||||||
mv "${D}/usr/bin/myodbc-installer" \
|
|
||||||
"${D}/usr/bin/myodbc-installer-${MAJOR}" || die "failed to move slotted binary"
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_config() {
|
|
||||||
|
|
||||||
[ "${ROOT}" != "/" ] && \
|
|
||||||
die 'Sorry, non-standard ROOT setting is not supported :-('
|
|
||||||
|
|
||||||
local msg='MySQL ODBC driver'
|
|
||||||
local drivers=$(/usr/bin/odbcinst -q -d)
|
|
||||||
|
|
||||||
if echo $drivers | grep -vq "^\[${DRIVER_NAME}\]$" ; then
|
|
||||||
ebegin "Installing ${msg}"
|
|
||||||
/usr/bin/odbcinst -i -d -f /usr/share/${PN}-${SLOT}/odbcinst.ini
|
|
||||||
rc=$?
|
|
||||||
eend $rc
|
|
||||||
[ $rc -ne 0 ] && die
|
|
||||||
else
|
|
||||||
einfo "Skipping already installed ${msg}"
|
|
||||||
fi
|
|
||||||
|
|
||||||
local sources=$(/usr/bin/odbcinst -q -s)
|
|
||||||
msg='sample MySQL ODBC DSN'
|
|
||||||
if echo $sources | grep -vq "^\[${DRIVER_NAME}-test\]$"; then
|
|
||||||
ebegin "Installing ${msg}"
|
|
||||||
/usr/bin/odbcinst -i -s -l -f /usr/share/${PN}-${SLOT}/odbc.ini
|
|
||||||
rc=$?
|
|
||||||
eend $rc
|
|
||||||
[ $rc -ne 0 ] && die
|
|
||||||
else
|
|
||||||
einfo "Skipping already installed ${msg}"
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
|
|
||||||
elog "If this is a new install, please run the following command"
|
|
||||||
elog "to configure the MySQL ODBC drivers and sources:"
|
|
||||||
elog "emerge --config =${CATEGORY}/${PF}"
|
|
||||||
elog "Please note that the driver name used to form the DSN now includes the SLOT."
|
|
||||||
elog "The myodbc-install utility is installed as myodbc-install-${MAJOR}"
|
|
||||||
}
|
|
Binary file not shown.
@ -0,0 +1,109 @@
|
|||||||
|
Skip tests that can't run on Gentoo because of the network sandbox
|
||||||
|
diff --git a/src/arduino.cc/builder/test/hardware_loader_test.go b/src/arduino.cc/builder/test/hardware_loader_test.go
|
||||||
|
index c9ea1d5..e7c68d2 100644
|
||||||
|
--- a/src/arduino.cc/arduino-builder/src/arduino.cc/builder/test/hardware_loader_test.go
|
||||||
|
+++ b/src/arduino.cc/arduino-builder/src/arduino.cc/builder/test/hardware_loader_test.go
|
||||||
|
@@ -41,6 +41,7 @@ import (
|
||||||
|
)
|
||||||
|
|
||||||
|
func TestLoadHardware(t *testing.T) {
|
||||||
|
+ t.Skip("Can't run on Gentoo")
|
||||||
|
ctx := &types.Context{
|
||||||
|
HardwareFolders: []string{"downloaded_hardware", filepath.Join("..", "hardware"), "hardware"},
|
||||||
|
}
|
||||||
|
@@ -85,6 +86,7 @@ func TestLoadHardware(t *testing.T) {
|
||||||
|
}
|
||||||
|
|
||||||
|
func TestLoadHardwareMixingUserHardwareFolder(t *testing.T) {
|
||||||
|
+ t.Skip("Can't run on Gentoo")
|
||||||
|
ctx := &types.Context{
|
||||||
|
HardwareFolders: []string{"downloaded_hardware", filepath.Join("..", "hardware"), "hardware", "user_hardware"},
|
||||||
|
}
|
||||||
|
@@ -155,6 +157,7 @@ func TestLoadHardwareMixingUserHardwareFolder(t *testing.T) {
|
||||||
|
}
|
||||||
|
|
||||||
|
func TestLoadHardwareWithBoardManagerFolderStructure(t *testing.T) {
|
||||||
|
+ t.Skip("Can't run on Gentoo")
|
||||||
|
ctx := &types.Context{
|
||||||
|
HardwareFolders: []string{"downloaded_board_manager_stuff"},
|
||||||
|
}
|
||||||
|
@@ -203,6 +206,7 @@ func TestLoadHardwareWithBoardManagerFolderStructure(t *testing.T) {
|
||||||
|
}
|
||||||
|
|
||||||
|
func TestLoadLotsOfHardware(t *testing.T) {
|
||||||
|
+ t.Skip("Can't run on Gentoo")
|
||||||
|
ctx := &types.Context{
|
||||||
|
HardwareFolders: []string{"downloaded_board_manager_stuff", "downloaded_hardware", filepath.Join("..", "hardware"), "hardware", "user_hardware"},
|
||||||
|
}
|
||||||
|
diff --git a/src/arduino.cc/builder/test/helper_tools_downloader.go b/src/arduino.cc/builder/test/helper_tools_downloader.go
|
||||||
|
index 3642510..e6391b6 100644
|
||||||
|
--- a/src/arduino.cc/arduino-builder/src/arduino.cc/builder/test/helper_tools_downloader.go
|
||||||
|
+++ b/src/arduino.cc/arduino-builder/src/arduino.cc/builder/test/helper_tools_downloader.go
|
||||||
|
@@ -83,6 +83,7 @@ type Core struct {
|
||||||
|
}
|
||||||
|
|
||||||
|
func DownloadCoresAndToolsAndLibraries(t *testing.T) {
|
||||||
|
+ t.Skip("Gentoo skips tests requiring network");
|
||||||
|
cores := []Core{
|
||||||
|
Core{Maintainer: "arduino", Arch: "avr", Version: "1.6.10"},
|
||||||
|
Core{Maintainer: "arduino", Arch: "sam", Version: "1.6.7"},
|
||||||
|
@@ -165,6 +166,7 @@ func patchFiles(t *testing.T) {
|
||||||
|
}
|
||||||
|
|
||||||
|
func download(t *testing.T, cores, boardsManagerCores, boardsManagerRedBearCores []Core, tools, toolsMultipleVersions, boardsManagerTools, boardsManagerRFduinoTools []Tool, libraries []Library) {
|
||||||
|
+ t.Skip("Gentoo skips tests requiring network");
|
||||||
|
allCoresDownloaded, err := allCoresAlreadyDownloadedAndUnpacked(HARDWARE_FOLDER, cores)
|
||||||
|
NoError(t, err)
|
||||||
|
if allCoresDownloaded &&
|
||||||
|
diff --git a/src/arduino.cc/builder/test/target_board_resolver_test.go b/src/arduino.cc/builder/test/target_board_resolver_test.go
|
||||||
|
index 274eb92..d6973e3 100644
|
||||||
|
--- a/src/arduino.cc/arduino-builder/src/arduino.cc/builder/test/target_board_resolver_test.go
|
||||||
|
+++ b/src/arduino.cc/arduino-builder/src/arduino.cc/builder/test/target_board_resolver_test.go
|
||||||
|
@@ -39,6 +39,7 @@ import (
|
||||||
|
)
|
||||||
|
|
||||||
|
func TestTargetBoardResolverUno(t *testing.T) {
|
||||||
|
+ t.Skip("Can't run on Gentoo")
|
||||||
|
ctx := &types.Context{
|
||||||
|
HardwareFolders: []string{filepath.Join("..", "hardware"), "hardware", "downloaded_hardware"},
|
||||||
|
FQBN: "arduino:avr:uno",
|
||||||
|
@@ -64,6 +65,7 @@ func TestTargetBoardResolverUno(t *testing.T) {
|
||||||
|
}
|
||||||
|
|
||||||
|
func TestTargetBoardResolverDue(t *testing.T) {
|
||||||
|
+ t.Skip("Can't run on Gentoo")
|
||||||
|
ctx := &types.Context{
|
||||||
|
HardwareFolders: []string{filepath.Join("..", "hardware"), "hardware", "downloaded_hardware"},
|
||||||
|
FQBN: "arduino:sam:arduino_due_x",
|
||||||
|
@@ -89,6 +91,7 @@ func TestTargetBoardResolverDue(t *testing.T) {
|
||||||
|
}
|
||||||
|
|
||||||
|
func TestTargetBoardResolverMega1280(t *testing.T) {
|
||||||
|
+ t.Skip("Can't run on Gentoo")
|
||||||
|
ctx := &types.Context{
|
||||||
|
HardwareFolders: []string{filepath.Join("..", "hardware"), "hardware", "downloaded_hardware"},
|
||||||
|
FQBN: "arduino:avr:mega:cpu=atmega1280",
|
||||||
|
@@ -115,6 +118,7 @@ func TestTargetBoardResolverMega1280(t *testing.T) {
|
||||||
|
}
|
||||||
|
|
||||||
|
func TestTargetBoardResolverMega2560(t *testing.T) {
|
||||||
|
+ t.Skip("Can't run on Gentoo")
|
||||||
|
ctx := &types.Context{
|
||||||
|
HardwareFolders: []string{filepath.Join("..", "hardware"), "hardware", "downloaded_hardware"},
|
||||||
|
FQBN: "arduino:avr:mega:cpu=atmega2560",
|
||||||
|
@@ -141,6 +145,7 @@ func TestTargetBoardResolverMega2560(t *testing.T) {
|
||||||
|
}
|
||||||
|
|
||||||
|
func TestTargetBoardResolverCustomYun(t *testing.T) {
|
||||||
|
+ t.Skip("Can't run on Gentoo")
|
||||||
|
ctx := &types.Context{
|
||||||
|
HardwareFolders: []string{filepath.Join("..", "hardware"), "hardware", "downloaded_hardware", "user_hardware"},
|
||||||
|
FQBN: "my_avr_platform:avr:custom_yun",
|
||||||
|
@@ -167,6 +172,7 @@ func TestTargetBoardResolverCustomYun(t *testing.T) {
|
||||||
|
}
|
||||||
|
|
||||||
|
func TestTargetBoardResolverCustomCore(t *testing.T) {
|
||||||
|
+ t.Skip("Can't run on Gentoo")
|
||||||
|
ctx := &types.Context{
|
||||||
|
HardwareFolders: []string{filepath.Join("..", "hardware"), "hardware", "downloaded_hardware", "user_hardware"},
|
||||||
|
FQBN: "watterott:avr:attiny841:core=spencekonde,info=info",
|
@ -0,0 +1,129 @@
|
|||||||
|
Skip tests that can't run on Gentoo because of the network sandbox
|
||||||
|
diff --git a/test/hardware_loader_test.go b/test/hardware_loader_test.go
|
||||||
|
index 147396e..da6c8ef 100644
|
||||||
|
--- a/src/github.com/arduino/arduino-builder/test/hardware_loader_test.go
|
||||||
|
+++ b/src/github.com/arduino/arduino-builder/test/hardware_loader_test.go
|
||||||
|
@@ -41,6 +41,7 @@ import (
|
||||||
|
)
|
||||||
|
|
||||||
|
func TestLoadHardware(t *testing.T) {
|
||||||
|
+ t.Skip("Can't run on Gentoo")
|
||||||
|
ctx := &types.Context{
|
||||||
|
HardwareFolders: []string{"downloaded_hardware", filepath.Join("..", "hardware"), "hardware"},
|
||||||
|
}
|
||||||
|
@@ -85,6 +86,7 @@ func TestLoadHardware(t *testing.T) {
|
||||||
|
}
|
||||||
|
|
||||||
|
func TestLoadHardwareMixingUserHardwareFolder(t *testing.T) {
|
||||||
|
+ t.Skip("Can't run on Gentoo")
|
||||||
|
ctx := &types.Context{
|
||||||
|
HardwareFolders: []string{"downloaded_hardware", filepath.Join("..", "hardware"), "hardware", "user_hardware"},
|
||||||
|
}
|
||||||
|
@@ -155,6 +157,7 @@ func TestLoadHardwareMixingUserHardwareFolder(t *testing.T) {
|
||||||
|
}
|
||||||
|
|
||||||
|
func TestLoadHardwareWithBoardManagerFolderStructure(t *testing.T) {
|
||||||
|
+ t.Skip("Can't run on Gentoo")
|
||||||
|
ctx := &types.Context{
|
||||||
|
HardwareFolders: []string{"downloaded_board_manager_stuff"},
|
||||||
|
}
|
||||||
|
@@ -203,6 +206,7 @@ func TestLoadHardwareWithBoardManagerFolderStructure(t *testing.T) {
|
||||||
|
}
|
||||||
|
|
||||||
|
func TestLoadLotsOfHardware(t *testing.T) {
|
||||||
|
+ t.Skip("Can't run on Gentoo")
|
||||||
|
ctx := &types.Context{
|
||||||
|
HardwareFolders: []string{"downloaded_board_manager_stuff", "downloaded_hardware", filepath.Join("..", "hardware"), "hardware", "user_hardware"},
|
||||||
|
}
|
||||||
|
diff --git a/test/helper_tools_downloader.go b/test/helper_tools_downloader.go
|
||||||
|
index 49aa847..ba77a57 100644
|
||||||
|
--- a/src/github.com/arduino/arduino-builder/test/helper_tools_downloader.go
|
||||||
|
+++ b/src/github.com/arduino/arduino-builder/test/helper_tools_downloader.go
|
||||||
|
@@ -83,6 +83,7 @@ type Core struct {
|
||||||
|
}
|
||||||
|
|
||||||
|
func DownloadCoresAndToolsAndLibraries(t *testing.T) {
|
||||||
|
+ t.Skip("Gentoo skips tests requiring network");
|
||||||
|
cores := []Core{
|
||||||
|
Core{Maintainer: "arduino", Arch: "avr", Version: "1.6.10"},
|
||||||
|
Core{Maintainer: "arduino", Arch: "sam", Version: "1.6.7"},
|
||||||
|
@@ -177,6 +178,7 @@ func patchFiles(t *testing.T) {
|
||||||
|
}
|
||||||
|
|
||||||
|
func download(t *testing.T, cores, boardsManagerCores, boardsManagerRedBearCores []Core, tools, toolsMultipleVersions, boardsManagerTools, boardsManagerRFduinoTools []Tool, libraries []Library) {
|
||||||
|
+ t.Skip("Gentoo skips tests requiring network");
|
||||||
|
allCoresDownloaded, err := allCoresAlreadyDownloadedAndUnpacked(HARDWARE_FOLDER, cores)
|
||||||
|
NoError(t, err)
|
||||||
|
if allCoresDownloaded &&
|
||||||
|
diff --git a/test/target_board_resolver_test.go b/test/target_board_resolver_test.go
|
||||||
|
index 49e0abe..7a50fe1 100644
|
||||||
|
--- a/src/github.com/arduino/arduino-builder/test/target_board_resolver_test.go
|
||||||
|
+++ b/src/github.com/arduino/arduino-builder/test/target_board_resolver_test.go
|
||||||
|
@@ -39,6 +39,7 @@ import (
|
||||||
|
)
|
||||||
|
|
||||||
|
func TestTargetBoardResolverUno(t *testing.T) {
|
||||||
|
+ t.Skip("Can't run on Gentoo")
|
||||||
|
ctx := &types.Context{
|
||||||
|
HardwareFolders: []string{filepath.Join("..", "hardware"), "hardware", "downloaded_hardware"},
|
||||||
|
FQBN: "arduino:avr:uno",
|
||||||
|
@@ -64,6 +65,7 @@ func TestTargetBoardResolverUno(t *testing.T) {
|
||||||
|
}
|
||||||
|
|
||||||
|
func TestTargetBoardResolverDue(t *testing.T) {
|
||||||
|
+ t.Skip("Can't run on Gentoo")
|
||||||
|
ctx := &types.Context{
|
||||||
|
HardwareFolders: []string{filepath.Join("..", "hardware"), "hardware", "downloaded_hardware"},
|
||||||
|
FQBN: "arduino:sam:arduino_due_x",
|
||||||
|
@@ -89,6 +91,7 @@ func TestTargetBoardResolverDue(t *testing.T) {
|
||||||
|
}
|
||||||
|
|
||||||
|
func TestTargetBoardResolverMega1280(t *testing.T) {
|
||||||
|
+ t.Skip("Can't run on Gentoo")
|
||||||
|
ctx := &types.Context{
|
||||||
|
HardwareFolders: []string{filepath.Join("..", "hardware"), "hardware", "downloaded_hardware"},
|
||||||
|
FQBN: "arduino:avr:mega:cpu=atmega1280",
|
||||||
|
@@ -115,6 +118,7 @@ func TestTargetBoardResolverMega1280(t *testing.T) {
|
||||||
|
}
|
||||||
|
|
||||||
|
func TestTargetBoardResolverMega2560(t *testing.T) {
|
||||||
|
+ t.Skip("Can't run on Gentoo")
|
||||||
|
ctx := &types.Context{
|
||||||
|
HardwareFolders: []string{filepath.Join("..", "hardware"), "hardware", "downloaded_hardware"},
|
||||||
|
FQBN: "arduino:avr:mega:cpu=atmega2560",
|
||||||
|
@@ -141,6 +145,7 @@ func TestTargetBoardResolverMega2560(t *testing.T) {
|
||||||
|
}
|
||||||
|
|
||||||
|
func TestTargetBoardResolverCustomYun(t *testing.T) {
|
||||||
|
+ t.Skip("Can't run on Gentoo")
|
||||||
|
ctx := &types.Context{
|
||||||
|
HardwareFolders: []string{filepath.Join("..", "hardware"), "hardware", "downloaded_hardware", "user_hardware"},
|
||||||
|
FQBN: "my_avr_platform:avr:custom_yun",
|
||||||
|
@@ -167,6 +172,7 @@ func TestTargetBoardResolverCustomYun(t *testing.T) {
|
||||||
|
}
|
||||||
|
|
||||||
|
func TestTargetBoardResolverCustomCore(t *testing.T) {
|
||||||
|
+ t.Skip("Can't run on Gentoo")
|
||||||
|
ctx := &types.Context{
|
||||||
|
HardwareFolders: []string{filepath.Join("..", "hardware"), "hardware", "downloaded_hardware", "user_hardware"},
|
||||||
|
FQBN: "watterott:avr:attiny841:core=spencekonde,info=info",
|
||||||
|
diff --git a/test/wipeout_build_path_if_build_options_changed_test.go b/test/wipeout_build_path_if_build_options_changed_test.go
|
||||||
|
index 51bfe80..8501fb6 100644
|
||||||
|
--- a/src/github.com/arduino/arduino-builder/test/wipeout_build_path_if_build_options_changed_test.go
|
||||||
|
+++ b/src/github.com/arduino/arduino-builder/test/wipeout_build_path_if_build_options_changed_test.go
|
||||||
|
@@ -42,6 +42,7 @@ import (
|
||||||
|
)
|
||||||
|
|
||||||
|
func TestWipeoutBuildPathIfBuildOptionsChanged(t *testing.T) {
|
||||||
|
+ t.Skip("Can't run in Gentoo")
|
||||||
|
ctx := &types.Context{}
|
||||||
|
|
||||||
|
buildPath := SetupBuildPath(t, ctx)
|
||||||
|
@@ -73,6 +74,7 @@ func TestWipeoutBuildPathIfBuildOptionsChanged(t *testing.T) {
|
||||||
|
}
|
||||||
|
|
||||||
|
func TestWipeoutBuildPathIfBuildOptionsChangedNoPreviousBuildOptions(t *testing.T) {
|
||||||
|
+ t.Skip("Can't run in Gentoo")
|
||||||
|
ctx := &types.Context{}
|
||||||
|
|
||||||
|
buildPath := SetupBuildPath(t, ctx)
|
Binary file not shown.
@ -0,0 +1,3 @@
|
|||||||
|
DIST base64url-1.0.tar.gz 2759 BLAKE2B 7a9e1c4bd5343af2556b21255fed82375400088b461ad6aa5b308c49eb5fefe3597419a6cc6990ad8e29a11f4ac8814624f7c043ca19cecdfc1a4822e230693f SHA512 f9f5062d8a45c5d0fbfb7179359137e88a1af10e29c1329506446d2142331176f6be2aa30387e4c98855440c1da943ea16a655ed2ad5168d4f5f8a2cd1c47c5f
|
||||||
|
EBUILD base64url-1.0.ebuild 423 BLAKE2B 293473eedb48581791f5e025ad92c3572907e33e14c67b2774f6bc5ea12f2945648e616ae55746e1b91ad8fe81000dcb8cb810c92ce8cded09acf686d6a0c272 SHA512 2214273c3fd6409dd5e70baa6b15cc9dc513ac04e6c977a4ee5f62a8d4fea39a370e89c869e9c4ba0985519aa8c5a6f7de7b0f885ab916089e53ea8ac15bfaac
|
||||||
|
MISC metadata.xml 332 BLAKE2B 3f9f82161b5a3aee4360845cffc9a79e1ae4bc9b0740ce1d1c7ce64c0de66a7e20019efea13b063157b47fa586fc3b1389547d7d3808509c042a1e04cb269363 SHA512 a9f91e753902d9eeb094db199bef69506be2a5cd0c125c7be5570549d7b53b01e47d083aa23cc864558424cbf461c49ef615d8804f19a36be5ad673f366c92a8
|
@ -0,0 +1,20 @@
|
|||||||
|
# Copyright 1999-2018 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=6
|
||||||
|
|
||||||
|
inherit rebar
|
||||||
|
|
||||||
|
DESCRIPTION="URL safe base64-compatible codec"
|
||||||
|
HOMEPAGE="https://github.com/dvv/base64url"
|
||||||
|
SRC_URI="https://github.com/dvv/base64url/archive/v${PV}.tar.gz
|
||||||
|
-> ${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="MIT"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
|
||||||
|
DEPEND=">=dev-lang/erlang-17.1"
|
||||||
|
RDEPEND="${DEPEND}"
|
||||||
|
|
||||||
|
DOCS=( README.md )
|
@ -0,0 +1,11 @@
|
|||||||
|
<?xml version='1.0' encoding='UTF-8'?>
|
||||||
|
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||||
|
<pkgmetadata>
|
||||||
|
<maintainer type="person">
|
||||||
|
<email>aidecoe@gentoo.org</email>
|
||||||
|
<name>Amadeusz Żołnowski</name>
|
||||||
|
</maintainer>
|
||||||
|
<upstream>
|
||||||
|
<remote-id type="github">dvv/base64url</remote-id>
|
||||||
|
</upstream>
|
||||||
|
</pkgmetadata>
|
@ -0,0 +1,21 @@
|
|||||||
|
# Copyright 1999-2018 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=6
|
||||||
|
|
||||||
|
inherit rebar
|
||||||
|
|
||||||
|
DESCRIPTION="In-memory cache Erlang and Elixir library"
|
||||||
|
HOMEPAGE="https://github.com/processone/cache_tab"
|
||||||
|
SRC_URI="https://github.com/processone/${PN}/archive/${PV}.tar.gz
|
||||||
|
-> ${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="Apache-2.0"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~arm ~ia64 ~ppc ~sparc ~x86"
|
||||||
|
|
||||||
|
DEPEND=">=dev-erlang/p1_utils-1.0.13
|
||||||
|
>=dev-lang/erlang-17.1"
|
||||||
|
RDEPEND="${DEPEND}"
|
||||||
|
|
||||||
|
DOCS=( CHANGELOG.md README.md )
|
@ -0,0 +1,3 @@
|
|||||||
|
DIST eimp-1.0.9.tar.gz 3471343 BLAKE2B 672e14cda50917a431d5bb29ef127c6bdf026234a5aeb66777540cd59167b48cfa1f264fdd631ef09c33a5ec9817d6d13c9763eecc5b076431976700f3af0ea7 SHA512 a86bf4927cf1da8004f140861a86d358c953a4871af34aa4768877f2b0618918c5a95d557e8535ce1615e272bfc3c9f27275ad4e5f5365c91a4a381ac2463977
|
||||||
|
EBUILD eimp-1.0.9.ebuild 779 BLAKE2B 1638a892e479ddce06d341f7b4a1bbfe4341c6913595b8d2c834dc3879c5f7aca6b8df89f1c70b1e6d6c148002d677a1ddbb2d9ba309e7f895a445c3263047ac SHA512 e6220bb3347a467d01a05cbeeafb066d050ffbad6fb1e83c8c2eeb479b36c7207b37c402e597094c2f8b270d5965981de33dbabc322bebc38cd2bba5f1f7e617
|
||||||
|
MISC metadata.xml 334 BLAKE2B 59d2c059b3eb6f96c2362806b54b62c606bbc35017766a4d44662aa9558ebc6cca0ec844083095afd87be6a8d453248b7a2f2fce231fec8346ed97367384a82b SHA512 982ce07e5b5b6684e95f9b55615e6c08a0db1c41c9e1b08dab9c917fa8933cbc99f081498c37b91f0b922e66980bc6d8cb2767bfe1652993ea9d4b7f670c60f8
|
@ -0,0 +1,31 @@
|
|||||||
|
# Copyright 1999-2018 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=6
|
||||||
|
|
||||||
|
inherit rebar
|
||||||
|
|
||||||
|
DESCRIPTION="Erlang Image Manipulation Process"
|
||||||
|
HOMEPAGE="https://github.com/processone/eimp"
|
||||||
|
SRC_URI="https://github.com/processone/eimp/archive/${PV}.tar.gz
|
||||||
|
-> ${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="Apache-2.0"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
|
||||||
|
RDEPEND=">=dev-erlang/p1_utils-1.0.13
|
||||||
|
>=dev-lang/erlang-17.1
|
||||||
|
media-libs/gd[png,jpeg,webp]"
|
||||||
|
DEPEND="${RDEPEND}"
|
||||||
|
|
||||||
|
DOCS=( README.md LICENSE.txt )
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
rebar_src_prepare
|
||||||
|
|
||||||
|
# FIXME: The test fails when run from ebuild for some reason. I don't
|
||||||
|
# FIXME: Erlang and I don't know how to fix it other than by disabling
|
||||||
|
# FIXME: test.
|
||||||
|
sed -e '/^disconnected_test() ->/,/^$/ d' -i 'test/eimp_test.erl' || die
|
||||||
|
}
|
@ -0,0 +1,11 @@
|
|||||||
|
<?xml version='1.0' encoding='UTF-8'?>
|
||||||
|
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||||
|
<pkgmetadata>
|
||||||
|
<maintainer type="person">
|
||||||
|
<email>aidecoe@gentoo.org</email>
|
||||||
|
<name>Amadeusz Żołnowski</name>
|
||||||
|
</maintainer>
|
||||||
|
<upstream>
|
||||||
|
<remote-id type="github">processone/eimp</remote-id>
|
||||||
|
</upstream>
|
||||||
|
</pkgmetadata>
|
@ -1,6 +1,8 @@
|
|||||||
DIST epam-1.0.0.tar.gz 44008 BLAKE2B 5dcb21b17bd3e4a2dca5ab4776aa609cce784f0df1f6192acaa35024a342d72f6233c03997218113bc54d18e9ef3473dc420f93a6f00fb2c2c8079c4ce6dc353 SHA512 c0b1fbdc1e910f24b2f39ea34cf6fd5859f3ab0cf762a16cf9ef71b1e49129c8238001151dd9031046049967f31fd2cb3d0c06a7d8bdd46e49f19862c143f374
|
DIST epam-1.0.0.tar.gz 44008 BLAKE2B 5dcb21b17bd3e4a2dca5ab4776aa609cce784f0df1f6192acaa35024a342d72f6233c03997218113bc54d18e9ef3473dc420f93a6f00fb2c2c8079c4ce6dc353 SHA512 c0b1fbdc1e910f24b2f39ea34cf6fd5859f3ab0cf762a16cf9ef71b1e49129c8238001151dd9031046049967f31fd2cb3d0c06a7d8bdd46e49f19862c143f374
|
||||||
DIST epam-1.0.2.tar.gz 43720 BLAKE2B 39a1056d068bdceb7ff640a498b0766aa59649228b03e03f9385bfc106f45aa210315162d4386907a1e9cbc8f177289adebf72f527a4eaf270cd62413f1daa13 SHA512 a3fdb379d8c25e56e51dcf1e683d289e9f3d19a537b1a55ca4c09185eb5731fe073a5bf0dd1449f09f8ee5b7d868b0e63f04473c1f3d1b97722dcd9832e4e030
|
DIST epam-1.0.2.tar.gz 43720 BLAKE2B 39a1056d068bdceb7ff640a498b0766aa59649228b03e03f9385bfc106f45aa210315162d4386907a1e9cbc8f177289adebf72f527a4eaf270cd62413f1daa13 SHA512 a3fdb379d8c25e56e51dcf1e683d289e9f3d19a537b1a55ca4c09185eb5731fe073a5bf0dd1449f09f8ee5b7d868b0e63f04473c1f3d1b97722dcd9832e4e030
|
||||||
|
DIST epam-1.0.4.tar.gz 43816 BLAKE2B a8070e45be428e1cd55dbe369051f2c5566d6d8d41af5d4258ec8dc86b70d7e55f316df10d0a65687d0ad8c5de2bd493859fd0c839ad57c90bb0eb1e4ea9db96 SHA512 46cbdfa683f48f24c4709837cba49745c3b7f87b6c1223b01ced65d547a8ec1a0467997070daf40bedeeb8298d7bb31eb33b331098b406964642f059b77fd313
|
||||||
EBUILD epam-1.0.0-r1.ebuild 724 BLAKE2B 539568b8b5af26822d3006ba2c320282b3c4d478e786374726f7ac54c28b44bfb0e341daf555ff6df5ecc09e2e0b8facbaaaba3feed47d4bca582ea8567da028 SHA512 6d2303c6ede3cb85e1cecfc2fe241480d1408dfcfcb2d79569f1d7a108153656a47d37129f0a89f45c6996ba0e542248ea6818bb90f7abdd1250a40c14903635
|
EBUILD epam-1.0.0-r1.ebuild 724 BLAKE2B 539568b8b5af26822d3006ba2c320282b3c4d478e786374726f7ac54c28b44bfb0e341daf555ff6df5ecc09e2e0b8facbaaaba3feed47d4bca582ea8567da028 SHA512 6d2303c6ede3cb85e1cecfc2fe241480d1408dfcfcb2d79569f1d7a108153656a47d37129f0a89f45c6996ba0e542248ea6818bb90f7abdd1250a40c14903635
|
||||||
EBUILD epam-1.0.0.ebuild 521 BLAKE2B 82b76739f0107e3ebbaa3dea319ffdb51e93a451089d9a6aeee5ef5ca4f57503f0a709ef4481d9209798241494914c77cb916bb9a5b13aff8f19d543e1cfe987 SHA512 6366da961a17a92992372a47466c68b9a8e4134193d3b60750309b41e882c43a128988a175d90081cc8d0cfe4a4c8687f78bcd81de02db904313cc31fbec0088
|
EBUILD epam-1.0.0.ebuild 521 BLAKE2B 82b76739f0107e3ebbaa3dea319ffdb51e93a451089d9a6aeee5ef5ca4f57503f0a709ef4481d9209798241494914c77cb916bb9a5b13aff8f19d543e1cfe987 SHA512 6366da961a17a92992372a47466c68b9a8e4134193d3b60750309b41e882c43a128988a175d90081cc8d0cfe4a4c8687f78bcd81de02db904313cc31fbec0088
|
||||||
EBUILD epam-1.0.2.ebuild 699 BLAKE2B 5db1ea05ee5c3c3c24802f27d3e768423638a8b8cdfe7e42e8d51538ad4b95b0e7044a728530492d6d321864fa82c365c579e999a28ed4ea1b767696a27e68f8 SHA512 b8e9b8e71f2053db1edef09d952335f4b56e9f2cd8bdddfdda1ebbca59b64aca880758fdd502273144104a16fac9f193b97689ca11a0fd72db51c442c5f73409
|
EBUILD epam-1.0.2.ebuild 699 BLAKE2B 5db1ea05ee5c3c3c24802f27d3e768423638a8b8cdfe7e42e8d51538ad4b95b0e7044a728530492d6d321864fa82c365c579e999a28ed4ea1b767696a27e68f8 SHA512 b8e9b8e71f2053db1edef09d952335f4b56e9f2cd8bdddfdda1ebbca59b64aca880758fdd502273144104a16fac9f193b97689ca11a0fd72db51c442c5f73409
|
||||||
|
EBUILD epam-1.0.4.ebuild 704 BLAKE2B 86d57a174d9536f23d3c98bd2565a36d65535d586b65b8c1502d79dc15e572a2d5a3eeee082b7328660f6eb76c5e47a4c95ad702b9606936dad86a22f6edf403 SHA512 fe759cfbb16d47bcaac1bc82521ad1aa38433cc8306ea8be6ce7e2c02ca58bf74614b764b60c16035284c81c639f6d785b3933a16c4a0debbc16339308ee7875
|
||||||
MISC metadata.xml 334 BLAKE2B 976dbd5c52f26481e6c19bacd55b1e821188a9c692820dc5d4161fbbd9ae45155c099da4d2683ae5037f9773027b1228219760686b4f721a4bb7a55928b07bbb SHA512 7d1209c30d2535485d17d3744f7928cfc2fad0dafd75b83cfe6ddf851708334c001bf8f899ee9a194379c1a6b47e0dd4a64b7032a4f7de3e4af40544c39ed67c
|
MISC metadata.xml 334 BLAKE2B 976dbd5c52f26481e6c19bacd55b1e821188a9c692820dc5d4161fbbd9ae45155c099da4d2683ae5037f9773027b1228219760686b4f721a4bb7a55928b07bbb SHA512 7d1209c30d2535485d17d3744f7928cfc2fad0dafd75b83cfe6ddf851708334c001bf8f899ee9a194379c1a6b47e0dd4a64b7032a4f7de3e4af40544c39ed67c
|
||||||
|
@ -0,0 +1,33 @@
|
|||||||
|
# Copyright 1999-2018 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=6
|
||||||
|
|
||||||
|
inherit rebar user
|
||||||
|
|
||||||
|
DESCRIPTION="epam for ejabberd to help with PAM authentication support"
|
||||||
|
HOMEPAGE="https://github.com/processone/epam"
|
||||||
|
SRC_URI="https://github.com/processone/${PN}/archive/${PV}.tar.gz
|
||||||
|
-> ${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="GPL-2"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86"
|
||||||
|
|
||||||
|
DEPEND=">=dev-lang/erlang-17.1
|
||||||
|
sys-libs/pam"
|
||||||
|
RDEPEND="${DEPEND}"
|
||||||
|
|
||||||
|
DOCS=( README.md )
|
||||||
|
|
||||||
|
pkg_setup() {
|
||||||
|
enewgroup "${PN}"
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
rebar_src_install
|
||||||
|
|
||||||
|
local epam_path="$(get_erl_libs)/${P}/priv/bin/epam"
|
||||||
|
fowners root:"${PN}" "${epam_path}"
|
||||||
|
fperms 4750 "${epam_path}"
|
||||||
|
}
|
@ -0,0 +1,31 @@
|
|||||||
|
# Copyright 1999-2018 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=6
|
||||||
|
|
||||||
|
inherit rebar
|
||||||
|
|
||||||
|
DESCRIPTION="ProcessOne SIP server component"
|
||||||
|
HOMEPAGE="https://github.com/processone/esip"
|
||||||
|
SRC_URI="https://github.com/processone/${PN}/archive/${PV}.tar.gz
|
||||||
|
-> ${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="Apache-2.0"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~arm ~ia64 ~ppc ~sparc ~x86"
|
||||||
|
|
||||||
|
DEPEND=">=dev-erlang/fast_tls-1.0.25
|
||||||
|
>=dev-erlang/stun-1.0.25
|
||||||
|
>=dev-erlang/p1_utils-1.0.13
|
||||||
|
>=dev-lang/erlang-17.1"
|
||||||
|
RDEPEND="${DEPEND}"
|
||||||
|
|
||||||
|
DOCS=( CHANGELOG.md README.md )
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
rebar_src_prepare
|
||||||
|
rebar_fix_include_path stun
|
||||||
|
|
||||||
|
# ebin contains lonely .gitignore file asking for removal.
|
||||||
|
rm -r "${S}/ebin" || die
|
||||||
|
}
|
@ -1,5 +1,7 @@
|
|||||||
DIST ezlib-1.0.1.tar.gz 45307 BLAKE2B 1226319144df02963618ace22ee2e3031226677703dc6a68c011794b336799a48eabe8b9262ca5501c6d5feec6256e517f757aa9f9986dfee9133bf9b4954a33 SHA512 7ec02dd91034eeaad3556071ef78ff6d8e890bc49b2ce5010280db48f9eb65ebfe62628fbbb89110310e359847f0da616f9281683926fb7d0f72972ee77a463b
|
DIST ezlib-1.0.1.tar.gz 45307 BLAKE2B 1226319144df02963618ace22ee2e3031226677703dc6a68c011794b336799a48eabe8b9262ca5501c6d5feec6256e517f757aa9f9986dfee9133bf9b4954a33 SHA512 7ec02dd91034eeaad3556071ef78ff6d8e890bc49b2ce5010280db48f9eb65ebfe62628fbbb89110310e359847f0da616f9281683926fb7d0f72972ee77a463b
|
||||||
DIST ezlib-1.0.2.tar.gz 45369 BLAKE2B d2d23cf9fcd530a76ed4a386df15401cd9598e158f20cba3eff19332e25532fdaba8cae93e576f5756559e74f169f6a01f9d09c41e844d3af4a9d9d3cac15185 SHA512 90671fdf0bbc23a7f54da665dfb31a3ed2d92180ff5c58d872001481584e6c8b39cd84b3dc947f1efdae10792c2547218017381cbc7056070d22b140e941c9bb
|
DIST ezlib-1.0.2.tar.gz 45369 BLAKE2B d2d23cf9fcd530a76ed4a386df15401cd9598e158f20cba3eff19332e25532fdaba8cae93e576f5756559e74f169f6a01f9d09c41e844d3af4a9d9d3cac15185 SHA512 90671fdf0bbc23a7f54da665dfb31a3ed2d92180ff5c58d872001481584e6c8b39cd84b3dc947f1efdae10792c2547218017381cbc7056070d22b140e941c9bb
|
||||||
|
DIST ezlib-1.0.4.tar.gz 45510 BLAKE2B 685935b2aad9d20dc0d367c1edddb701d3d12fd24ec3fab617d35f9207e3994ddb57aafa9083337d0752b5e1fe15941dbff2f9b916400f0e7a3c6350a3c6ff3e SHA512 16495a6756cd60ad921695d87136e399446850ce1160d92b825673fa1e0e7d3cd4a6b49f274debbfe7dfe4285370362ece64db8843afd564ffaffe9eeba0dc7a
|
||||||
EBUILD ezlib-1.0.1.ebuild 492 BLAKE2B bfdfa1bd5d14874377a2eb534b64438fba5930d623b9f4f0da8569a7d2e7493fe8cf1b0116ef47f207c51feef211f861a33b057855d61ba7bed0368f14d0b4dd SHA512 7f99ab77b621cc1229cebda4865f461b5438cda0c209a0c0726bdf861679d4aa1b662835c026ec1b9fc82c9bd0f5c113fec4c8543deae05236329a35dc3e74b6
|
EBUILD ezlib-1.0.1.ebuild 492 BLAKE2B bfdfa1bd5d14874377a2eb534b64438fba5930d623b9f4f0da8569a7d2e7493fe8cf1b0116ef47f207c51feef211f861a33b057855d61ba7bed0368f14d0b4dd SHA512 7f99ab77b621cc1229cebda4865f461b5438cda0c209a0c0726bdf861679d4aa1b662835c026ec1b9fc82c9bd0f5c113fec4c8543deae05236329a35dc3e74b6
|
||||||
EBUILD ezlib-1.0.2.ebuild 492 BLAKE2B 59600080ee8431b029b01a7280361f1c175ee261ac8134e38939ce4ad283f4547061bc64d39b17e72e857495443fa0a65b2473fd3e9d180c6a7ad32fd7048638 SHA512 94b6c1921510ec68c9f0c6300a064aa3efdff8fbde795e2c9f08ba697aa6dc95fd79e3a7e614630eefaf0a1928617cdfc0287dc691d0faa591c16ab80e69bf7e
|
EBUILD ezlib-1.0.2.ebuild 492 BLAKE2B 59600080ee8431b029b01a7280361f1c175ee261ac8134e38939ce4ad283f4547061bc64d39b17e72e857495443fa0a65b2473fd3e9d180c6a7ad32fd7048638 SHA512 94b6c1921510ec68c9f0c6300a064aa3efdff8fbde795e2c9f08ba697aa6dc95fd79e3a7e614630eefaf0a1928617cdfc0287dc691d0faa591c16ab80e69bf7e
|
||||||
|
EBUILD ezlib-1.0.4.ebuild 495 BLAKE2B 8e8039025f74c16cb50bbb0edf84473b908828bed5c626a916a255257b702d214a77214d1f19afc32ee2b191c294593213f7fba9363e8d62c1fa70266cbae00b SHA512 3211bd7daf4663e2ce371608e8cf1cec7136eed0ee3ed52d8653766497caccb0378e83a14761683150e18aef083649306842433dc3e2ff34ce47d219f3d518a6
|
||||||
MISC metadata.xml 335 BLAKE2B 4ad8e59014a4fc0e64dfd9e81d5e9cf468c621ca198f77b2c4902350eae875301c1dc95e80fda1b43870d56621ace24b05ea1a636eb8170a241f670660910f9b SHA512 dd160b8babdb0efb02c55b34ae184e88816b8ca95de3a522452978b1a47282b77ed64665e0f3414b4e2b154c0892954dea67fe7fb75994e86532d491c08d927d
|
MISC metadata.xml 335 BLAKE2B 4ad8e59014a4fc0e64dfd9e81d5e9cf468c621ca198f77b2c4902350eae875301c1dc95e80fda1b43870d56621ace24b05ea1a636eb8170a241f670660910f9b SHA512 dd160b8babdb0efb02c55b34ae184e88816b8ca95de3a522452978b1a47282b77ed64665e0f3414b4e2b154c0892954dea67fe7fb75994e86532d491c08d927d
|
||||||
|
@ -0,0 +1,21 @@
|
|||||||
|
# Copyright 1999-2018 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=6
|
||||||
|
|
||||||
|
inherit rebar
|
||||||
|
|
||||||
|
DESCRIPTION="Native zlib driver for Erlang and Elixir"
|
||||||
|
HOMEPAGE="https://github.com/processone/ezlib"
|
||||||
|
SRC_URI="https://github.com/processone/${PN}/archive/${PV}.tar.gz
|
||||||
|
-> ${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="Apache-2.0"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~arm ~ia64 ~ppc ~sparc ~x86"
|
||||||
|
|
||||||
|
DEPEND=">=dev-lang/erlang-17.1
|
||||||
|
sys-libs/zlib"
|
||||||
|
RDEPEND="${DEPEND}"
|
||||||
|
|
||||||
|
DOCS=( CHANGELOG.md README.md )
|
@ -0,0 +1,24 @@
|
|||||||
|
# Copyright 1999-2018 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=6
|
||||||
|
|
||||||
|
inherit rebar
|
||||||
|
|
||||||
|
DESCRIPTION="TLS/SSL native driver for Erlang and Elixir"
|
||||||
|
HOMEPAGE="https://github.com/processone/fast_tls"
|
||||||
|
SRC_URI="https://github.com/processone/${PN}/archive/${PV}.tar.gz
|
||||||
|
-> ${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="Apache-2.0"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~arm ~ia64 ~ppc ~sparc ~x86"
|
||||||
|
IUSE="libressl"
|
||||||
|
|
||||||
|
DEPEND=">=dev-erlang/p1_utils-1.0.13
|
||||||
|
>=dev-lang/erlang-17.1
|
||||||
|
!libressl? ( dev-libs/openssl:0= )
|
||||||
|
libressl? ( dev-libs/libressl:0= )"
|
||||||
|
RDEPEND="${DEPEND}"
|
||||||
|
|
||||||
|
DOCS=( CHANGELOG.md README.md )
|
@ -1,3 +1,5 @@
|
|||||||
DIST fast_xml-1.1.22.tar.gz 92408 BLAKE2B efd6c69c4dcfe3c36162c0b47ee8b56561102fde130f8be503c767e40d66c0f698876ed384bd27aea41e18f6530bf712eeeca2ea497c4b1aafc630fe1b016981 SHA512 33c79cf34d6b0093cf98d11c5b68855d4201a6891786cc3caabd7dded81a04118638ce091cda1f1c86729ea8c8765214332cc34a361bbfb3c5958dbc2027a384
|
DIST fast_xml-1.1.22.tar.gz 92408 BLAKE2B efd6c69c4dcfe3c36162c0b47ee8b56561102fde130f8be503c767e40d66c0f698876ed384bd27aea41e18f6530bf712eeeca2ea497c4b1aafc630fe1b016981 SHA512 33c79cf34d6b0093cf98d11c5b68855d4201a6891786cc3caabd7dded81a04118638ce091cda1f1c86729ea8c8765214332cc34a361bbfb3c5958dbc2027a384
|
||||||
|
DIST fast_xml-1.1.34.tar.gz 93530 BLAKE2B f4db5fd718f66e34b305d04ca7be5a72770ca9c749154c668072c6ef88eb545f3ff200d549fba6395eed46605ce384559dadda66b4281429b57706c579f4c47a SHA512 e2b29e1307c0513046de2ac8afe6c1a6ed8a8640b62451777233607a656517ac1b4d68f725b05712d3c254f68e76e49716b1e913c3d3c34222fe2a5a62fa378a
|
||||||
EBUILD fast_xml-1.1.22.ebuild 574 BLAKE2B 89e167c6f9c89d3ff5c93a1e196932d8d719d82fa76d3710c7154951ca6a28336f71ec5d5e22a7eb3970a4b1a8ef5777eb609eda0f9e8a2593dfe6ee3531f58b SHA512 21fbfd5238e37bfe1a65696b3f41a2069403ba76c17dfb786e158ea308939e69ef450d23789540015ca1b65c2aa6c05fcd576131c8fe92cb02a35c332c7c7524
|
EBUILD fast_xml-1.1.22.ebuild 574 BLAKE2B 89e167c6f9c89d3ff5c93a1e196932d8d719d82fa76d3710c7154951ca6a28336f71ec5d5e22a7eb3970a4b1a8ef5777eb609eda0f9e8a2593dfe6ee3531f58b SHA512 21fbfd5238e37bfe1a65696b3f41a2069403ba76c17dfb786e158ea308939e69ef450d23789540015ca1b65c2aa6c05fcd576131c8fe92cb02a35c332c7c7524
|
||||||
|
EBUILD fast_xml-1.1.34.ebuild 578 BLAKE2B d9cc1eff851ee6d47e6170556393221c7e530117bc672d0196249e5b925a492c242d619d39a4ea2f11018dcdf16753d7f4f8377848dc5f90f6f22b2883291d85 SHA512 b25e2b972d0f6cf0d4abd547c6837e8aaff20fa3cc992eb31d59dc422e49c48a0e3286b5ad90cdd4bfc8ddbc571cda8376a8ff78a99a351b51ca68b31bba112f
|
||||||
MISC metadata.xml 338 BLAKE2B eea63b356d75b2bfdbc4d46be95bb7b5b742f7e0ebcb70a25343cb7f0a193dbafd54584a4f338b0ea529e242e7d89edf5698696160a31d5b857938c4a0134181 SHA512 334d44bf23902819adc99490123ab35400bc934f5876d0cfd2a3ce05110a33c2462a30e0a5be39cc4947ba86b1eb274a18b5fbd4529fd2fc2aa061789d2e31be
|
MISC metadata.xml 338 BLAKE2B eea63b356d75b2bfdbc4d46be95bb7b5b742f7e0ebcb70a25343cb7f0a193dbafd54584a4f338b0ea529e242e7d89edf5698696160a31d5b857938c4a0134181 SHA512 334d44bf23902819adc99490123ab35400bc934f5876d0cfd2a3ce05110a33c2462a30e0a5be39cc4947ba86b1eb274a18b5fbd4529fd2fc2aa061789d2e31be
|
||||||
|
@ -0,0 +1,24 @@
|
|||||||
|
# Copyright 1999-2018 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=6
|
||||||
|
|
||||||
|
inherit rebar
|
||||||
|
|
||||||
|
DESCRIPTION="Fast Expat based Erlang XML parsing library"
|
||||||
|
HOMEPAGE="https://github.com/processone/fast_xml"
|
||||||
|
SRC_URI="https://github.com/processone/${PN}/archive/${PV}.tar.gz
|
||||||
|
-> ${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="Apache-2.0"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~arm ~ia64 ~ppc ~sparc ~x86"
|
||||||
|
IUSE="test"
|
||||||
|
|
||||||
|
RDEPEND=">=dev-erlang/p1_utils-1.0.13
|
||||||
|
>=dev-lang/erlang-17.1
|
||||||
|
dev-libs/expat"
|
||||||
|
DEPEND="${RDEPEND}
|
||||||
|
test? ( >=dev-lang/elixir-1.1 )"
|
||||||
|
|
||||||
|
DOCS=( CHANGELOG.md README.md )
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue