first commit

This commit is contained in:
Jörg Deckert 2021-04-01 20:29:26 +02:00
parent 5750a5c4aa
commit 227c3bacfe
83 changed files with 1533 additions and 1 deletions

View File

@ -1,3 +1,20 @@
# unitas-xmpp
Gentoo overlay for XMPP related software
Gentoo overlay for XMPP related software
Das ist ein Gentoo Portage Overlay der Unitas Network GmbH.
Dieses enthält überwiegend Ebuilds für unsere interne Nutzung,
es wird keinerlei Garantie für die Fehlerfreiheit übernommen.
Nutzung
-------
Die Installation erfolgt z.B. mittels:
```
# emerge -av layman
# cd /etc/layman/overlays
# wget https://git.unitas-network.de/Gentoo/unitas-xmpp/raw/branch/master/unitas-xmpp-overlay.xml
# layman -L
# layman -a unitas-xmpp
```

View File

@ -0,0 +1,3 @@
DIST cache_tab-1.0.27.tar.gz 23633 BLAKE2B 5756e21162f2234239afd92fd2662f0507a11a2543807a4e14262432c8dde0377b4e530b7c7af754d586046b78dc2e31f049ecbb67cc1fcd9f8263c18285c2a6 SHA512 23c143467261d8c8d030bd70c7a6acc0b2a8a94f1dbd98658fef8c2b12e5d0bfa807886b4ea13112b801e4a8d6001e270d7959fd355bba9a205e22bd0e9b9bb3
EBUILD cache_tab-1.0.27.ebuild 511 BLAKE2B 72aef38b813e0b11cc402d03815178d9a556b3c1e880a9c7187849453f5c15f06d3a22314a202e5b7b99c919e2208205d64c5f00dd605673c964d7cbbfd09aa0 SHA512 39edfd1b11534aa749782783d442edbf92f3e78eb4927a8a7412df9b13551eeabedc1e38d48854c780f291924bab9081d37bc576f474af2c12dc7a5a8302616b
MISC metadata.xml 765 BLAKE2B 56bf8c63819d57e55ce37087e1556a6c7005ae01c20611800338c51adc6570d5495adc43526e1767a97c8ecae90760b18ab16f9a6d9d62b3ffdcac396795ea90 SHA512 d4ff8add477f79c8aa715932200412de793915060065fa41a5e94c4f7ff2e97a929c094dee5b04ed815874c20bfaaa6b8fe1289469e0566f9b4f8e5f58ad796b

View File

@ -0,0 +1,21 @@
# Copyright 1999-2021 Gentoo Authors
# 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-lang/erlang-17.1
>=dev-erlang/p1_utils-1.0.20"
RDEPEND="${DEPEND}"
DOCS=( CHANGELOG.md README.md )

View File

@ -0,0 +1,20 @@
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>ejabberd@gentoo.org</email>
</maintainer>
<longdescription lang="en">
cache_tab application is intended to proxy back-end operations for
Key-Value insert, lookup and delete and maintain a cache of those
Key-Values in-memory, to save back-end operations.
Operations are intended to be atomic between back-end and cache tables.
The lifetime of the cache object and the max size of the cache can be
defined as table parameters to limit the size of the in-memory tables.
</longdescription>
<upstream>
<remote-id type="github">processone/cache_tab</remote-id>
</upstream>
</pkgmetadata>

3
dev-erlang/eimp/Manifest Normal file
View File

@ -0,0 +1,3 @@
DIST eimp-1.0.19.tar.gz 3477287 BLAKE2B 17802e96addd8ae0d517c3bab7a644aa9feea8c20e87e25946eecd1071c7d915533729f0b81100416fa8be1b692340ef1aaaebbddfabb1ba6d27af480225c031 SHA512 a81f965635898633837c2d18fb64e70ed50984a4276269f8694e220d67cbbd7ea62740bf7cc35da79313c9b361a744e16f3f2ce3cf5cf03cee8d299c8ef383d7
EBUILD eimp-1.0.19.ebuild 635 BLAKE2B d6b24f80e133973cec976baa672e1a3250ccd4cac65894df38d1be7f0c78a27c7ac07db42d35ae648ae8abd27ff9bc9534bdac66d5818f902d675a19d94f1a94 SHA512 fee9a2cb4fca7ee646db64197be5887abab7a6e552b9e5820034b5e76bf39ffdf558ff25cf08be407da7b83d85e950bbd119b6fc8f5cacd8458da1149eddb9ea
MISC metadata.xml 300 BLAKE2B 42710a5ed8bf7db4b090862b3a24ca028ebc0dda2f869857b11f7a02be03f2dd7bbd6fb0ede4d81c99fa0821642a092615aaab76dd3494b14a4b867a45e2e848 SHA512 bf280078b8e095533909d040da770268ff65d376e32f01745d1241758bc7bfd2f3d49eead64cffe409367ec852bbc3db5c578a80f52c914bab231fa7f018afa1

View File

@ -0,0 +1,28 @@
# Copyright 1999-2021 Gentoo Authors
# 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 ~arm ~ia64 ~ppc ~sparc ~x86"
RDEPEND=">=dev-lang/erlang-17.1
>=dev-erlang/p1_utils-1.0.20
media-libs/gd[png,jpeg,webp]"
DEPEND="${RDEPEND}"
DOCS=( CHANGELOG.md README.md )
src_test() {
mkdir -p .eunit/priv/bin || die
cp priv/bin/eimp .eunit/priv/bin/ || die
rebar_src_test
}

View File

@ -0,0 +1,10 @@
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>ejabberd@gentoo.org</email>
</maintainer>
<upstream>
<remote-id type="github">processone/eimp</remote-id>
</upstream>
</pkgmetadata>

3
dev-erlang/epam/Manifest Normal file
View File

@ -0,0 +1,3 @@
DIST epam-1.0.10.tar.gz 47727 BLAKE2B 9107bc991a32cf866ea1809a4d36ebb8b00c8c38e9d4eb9333298851fb6f00d89ac5df1e19ee95132f00064ba01c36725cb5351a0188a32e5be655dec7c848b2 SHA512 a659011a9ee8fdf59bd4950c78dcd0f001bf3c4512dfae156d6d66908b918968c80f836bc9801c98f0c3bb90d7bb2df6a36f2066086d623c74c96647d3637054
EBUILD epam-1.0.10.ebuild 707 BLAKE2B 6cd9c48e416612767363023548dfac4cd67b41aea9541806da4a8180a3ed6eaaf93d31decda1f5b595d9633d928db4887744d87d816a431c5dba5768ecba8b99 SHA512 78e32e97ad3e3abae05e73f108b884ec61ef2f34f31ffebe15ace18ba100241d7c355c13f3e06a9f48e6b0539cc2501931ec477fa5b6955364ab620c5a340991
MISC metadata.xml 300 BLAKE2B a33450cf19659d35cebd7c2af55112772ab91d24fb791b995bf71a87de6b16b1aed627620640f3abca6d5f6adf672a02ac0352a12fa1542b35168ecf0b99bf47 SHA512 2aae6f30853e3a91c983ea72464c4a09c1d8c8e24080d78f91d1f77c3f62db62621ca7e9bb17d69ae3be9f42acb17dfb77f1448de43be8bf9b8545e601780ef6

View File

@ -0,0 +1,33 @@
# Copyright 1999-2021 Gentoo Authors
# 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="~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86"
DEPEND=">=dev-lang/erlang-17.1
sys-libs/pam"
RDEPEND="${DEPEND}"
DOCS=( CHANGELOG.md 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}"
}

View File

@ -0,0 +1,10 @@
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>ejabberd@gentoo.org</email>
</maintainer>
<upstream>
<remote-id type="github">processone/epam</remote-id>
</upstream>
</pkgmetadata>

3
dev-erlang/esip/Manifest Normal file
View File

@ -0,0 +1,3 @@
DIST esip-1.0.41.tar.gz 89878 BLAKE2B 7d2e19e6ee47bd4cb5958ae610d1354746511c2c39c9c522073c50f60def5259e3c58141b35ff069634b0763bbdab30056253b2808f09bccccde2ecba747e44c SHA512 b14d61d66f1c2b2ac1174a22d87ef0902bf6a54b157957090edbe56d90ade4eedb3b1e007c6385501a83e92aff4927a767bfbb320feb97371ed50c3464759196
EBUILD esip-1.0.41.ebuild 681 BLAKE2B d520a3a14f4271e1fc855365750efa6223a441f2dd2cf2a5796a9dffec61e562908f2dcb09eb300e097440c38a1a4a15747093e5aa697a3ebb895848108e894d SHA512 29000b4eae2fc954f8691ef43ca3b02b5124b8650d678e97d3d45fc8d29a22f3c454f27246c221c928537f8b316a59f3aa5ff9d6bdc4eee31e607a560af57187
MISC metadata.xml 300 BLAKE2B cb03126697327a4fc61963a6864f41bfcff8b1f61cc22af3ed9ead11e042c977e220f4c31dd9c1fd76af4e7c9114eee6615ad95c0bec8fc347e71b9d5abfb080 SHA512 a9dd8c6bbad69ddbe5ca9a2fc3fd5da67b41c9893414f81e3bc0450f1a313a2dd47fb8b6804936e7469a7f40f685b6462a7dac5c90b8c266632bd8f73ff05f58

View File

@ -0,0 +1,30 @@
# Copyright 1999-2021 Gentoo Authors
# 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.1.8
>=dev-erlang/stun-1.0.37
>=dev-erlang/p1_utils-1.0.20"
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
}

View File

@ -0,0 +1,10 @@
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>ejabberd@gentoo.org</email>
</maintainer>
<upstream>
<remote-id type="github">processone/esip</remote-id>
</upstream>
</pkgmetadata>

View File

@ -0,0 +1,3 @@
DIST ezlib-1.0.9.tar.gz 49395 BLAKE2B 7f64217bee4cd6924b98a4a34e32c63fd5acce75bcd8a0047fb0607ee928b05153b9adc9aedac5977a301ac8a6000454ca0334197b18373947689a165099c84f SHA512 b1358f4c86f0cdffce544c782e56b332378e991cebc945f0c6d75f25fdae5f011f154ec731c73eadb533087cc4a673c596523aa2300761f1033eb48af3f0e203
EBUILD ezlib-1.0.9.ebuild 493 BLAKE2B 6c0e98b9d970962a206721a48e5f6f7304265abd73c6dc8cd19bd3ede1ac7e9ecf33ca74d3f94837f28f5e2ebb94a59654d6c19798497af44185ddc32799cd84 SHA512 052d9de27c2343f3fa7280935ac108a1fe8b6d91e8995da71a672d43fcaa951bc0d40d7b1c491440c8805b72b8997f4aa75284f419ac5121c491e8a7d7ec24d3
MISC metadata.xml 301 BLAKE2B 4775c3c3f47d311f08cb9acb60efc793519a72cf88df198c2e1b02b1752cd66927468da20d17d87c4361e4eb55d67e1be1232e8d9f3a83b6fbdd6c65a7f538ba SHA512 c666b05945b47891d00cedf53f827ae5e65be2b395146c79f694f2448dab72b8377bcd42d8e2d648c860a5fab2f1f2479bef9cb1cc5a0cb41ab44298ee08ef9a

View File

@ -0,0 +1,21 @@
# Copyright 1999-2021 Gentoo Authors
# 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 )

View File

@ -0,0 +1,10 @@
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>ejabberd@gentoo.org</email>
</maintainer>
<upstream>
<remote-id type="github">processone/ezlib</remote-id>
</upstream>
</pkgmetadata>

View File

@ -0,0 +1,3 @@
DIST fast_tls-1.1.11.tar.gz 80604 BLAKE2B 8d9b40306053960e953d336bb4ca7773df1a361c74f4974940268092fd211354614de3a79470256cc93b5f624632beebceb1fccb6e89a7765f0c3a322c867389 SHA512 0c415a61a9bf768f3a33d79e9d02acc30cdeee32550b49820f2ab8d809afb53bc6c7f9cf55b952ec3620b093c7cc172009255f76713492b2ea95bbb0b31e6ab3
EBUILD fast_tls-1.1.11.ebuild 576 BLAKE2B 3e16377f480ede951f4f348294c676e49e343d8625fce66a6d6c5cda2b1e3d47d0c6df772be47ea84eeb412c7b3e0e5815952490ad40998ebc7d11c31a2eef32 SHA512 31f8eb5c88122fbe55845d29b62ed38f3490fa45f78fce3c67f52e825d2a7ab82be66410083de213eb83f9c432801962ae79f871090a80cb7a0d3eaa97d0231a
MISC metadata.xml 304 BLAKE2B 0c88902a0a8e500d8b92101b43b781ebe08b52ece820d04afa22a3c2ecb003bfe9f98ab7c87d01c5ae16204970274a5c54414c55c52852ed82bc71776fc1bd13 SHA512 20cdb30d4aced210a91fbef1420d09340d61743362076f3f636ea95417668495f1c35b60b4d791c827322f96ca76c8e58df2b627dda9c134f05f3b748f5f00cf

View File

@ -0,0 +1,23 @@
# Copyright 1999-2021 Gentoo Authors
# 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.20
!libressl? ( dev-libs/openssl:0= )
libressl? ( dev-libs/libressl:0= )"
RDEPEND="${DEPEND}"
DOCS=( CHANGELOG.md README.md )

View File

@ -0,0 +1,10 @@
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>ejabberd@gentoo.org</email>
</maintainer>
<upstream>
<remote-id type="github">processone/fast_tls</remote-id>
</upstream>
</pkgmetadata>

View File

@ -0,0 +1,3 @@
DIST fast_xml-1.1.45.tar.gz 107006 BLAKE2B 0aafc8649432bcaa9700a73752f699b98c8a18b6dd9dae34dc576c1f981b3c3def54ba0dfe05efe415f7c7f776184dfc92cdea8419df8f256a4864786ecc8805 SHA512 a4c1b5ecbb80e0e2325ecede1ad426c09e35db35c16dfd6dfaef6ba7b6e9627879c6cc43a955d0bfe91abfced48717db07d28132b7c4dac8adca7af1e21c0734
EBUILD fast_xml-1.1.45.ebuild 504 BLAKE2B e6b1f7b1ff6973553a02fe1c08a6e4bda69237a913bd927bd7f075e6488fe99cf7fd591a435708d63fbd1dd5e2578c7e2026c6d4f1a52e27f80343f3dd855193 SHA512 36597780f3ac1a8c54c037711b822cd6f07c0b39484b0cf0d35ec19ec63be24b5a36cf52064384b0f0a91c046a8dadc38210f52c1fbacf335e24578872f82371
MISC metadata.xml 304 BLAKE2B 298443efb4d3fe34d9cb5170fec6df94a84ede88c0f7c89da17e2e68a09f5df64c184f509e6df0e56e9d7a3ad215c4546c19d0a98bc93f6df7322fd07de11ee0 SHA512 6f68933291ed9d7fb4a0d18b0b6b476194096c4b2a957c500a37c2999b97855167f0bcd73c5c1711217ed5f9a62043dbf8f2e244be83db4befba2937ab30185b

View File

@ -0,0 +1,21 @@
# Copyright 1999-2021 Gentoo Authors
# 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"
DEPEND=">=dev-erlang/p1_utils-1.0.20
dev-libs/expat"
RDEPEND="${DEPEND}"
DOCS=( CHANGELOG.md README.md )

View File

@ -0,0 +1,10 @@
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>ejabberd@gentoo.org</email>
</maintainer>
<upstream>
<remote-id type="github">processone/fast_xml</remote-id>
</upstream>
</pkgmetadata>

View File

@ -0,0 +1,3 @@
DIST fast_yaml-1.0.30.tar.gz 59159 BLAKE2B c5e009c8824fe88fbd4f074cb4fc815b479e5f438612da9dcd55dacdfcda13cefdbb575905e6180fae845863c567572c3f7ec107d4371cac9e9d36dbedbaee31 SHA512 ed644dc1e6308d973a5c5378a7ff55f1ff0dd7e8795e53b6d8e4d5b3a97e65369b9fdf58659f3dada9ba8998ec5a45607dc35e926e51b9cf42f44eb455e606ce
EBUILD fast_yaml-1.0.30.ebuild 510 BLAKE2B 259af1cd190e143b72a04fbd5756801eb22cea47d86c15643e3ef617d163bc0afbcbdb5513d297dc34ab16aa3c156c49463fec2f9846b80efa1253f3179b66e6 SHA512 aa2dfa87780b8ea06497efbfd99a1eab0e9a96333d38a30e99ba40795de8c4d1a4444c815ba4fb166b3ab9bf92a222553b904f759caeb38dd2fcf9f6361513c0
MISC metadata.xml 305 BLAKE2B caff17a0f8f3e50ac76555104e3416d85fecc1402b452ffd9715c9f935a85dcb6043bdb1a89eb9c3ed892347f204478f55c9bb7695b0ce93dbb2dd4e2c16d576 SHA512 87fff64d249e97c9145e7eb3d665084d7f6aa762911e98a5b03240d904dd482cac822713d4bbc6d42be13ebe6e358bf8919cc4050d1b7996e9cf3a7c39f3062d

View File

@ -0,0 +1,21 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit rebar
DESCRIPTION="Fast Yaml native library for Erlang and Elixir"
HOMEPAGE="https://github.com/processone/fast_yaml"
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.20
dev-libs/libyaml"
RDEPEND="${DEPEND}"
DOCS=( CHANGELOG.md README.md )

View File

@ -0,0 +1,10 @@
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>ejabberd@gentoo.org</email>
</maintainer>
<upstream>
<remote-id type="github">processone/fast_yaml</remote-id>
</upstream>
</pkgmetadata>

4
dev-erlang/idna/Manifest Normal file
View File

@ -0,0 +1,4 @@
AUX idna-remove-unicode_util_compat.diff 4649 BLAKE2B 3b288f8b45f11ded2562102ce7635f10e9efb469fe24a2ad1dd773bdf1f96b91895483c34a90dc4ba05a83a1bc94b0c6e1073551b9ee182224df6360177a2ef5 SHA512 8c9fcbf6b49ac939074416dcb218730dbfe02567ecb324cc2255b1398c9d870c12616b2087c31ae9a819cf27f76cf19d355ae6ab1e77f07e8711a3fbfe0d19d8
DIST idna-6.1.1.tar.gz 765828 BLAKE2B 78dfd67df85773644b09a909819bae3f79bfa7df55dd7e958841867281b7b9e6ded72b6e07d8787223eb82e414e33ef71bff89af45b9f9880b3a5c654353e838 SHA512 aa1c4321e1925c8eb6b9cbab61c0216ed2837027382a1a0c36de10959a428a52443f225f901d64740f8b8b3d755990651fa74594d13b36e4131a5d0223a58608
EBUILD idna-6.1.1.ebuild 656 BLAKE2B bdd2737277f825608fc25755ccd1ebadd1b28b78864e66758ea537d2803946182e70e4bb53ca399a7fe89cea1c4b0ab53884cce08efa361bdda93264779d52a6 SHA512 e57c69f9305e87bee594ce7b9c9ebd611578ad64ce62cf3c78e07237fd5dc73ccba37d7ab008d9dc5ecbd120be3441d6237ba7c3c1445a3d774ad7573ee2ebe6
MISC metadata.xml 304 BLAKE2B d663ffcaa3b4c411f78c6d9020593800e3f7ec04ae77a6a38b80254cf11a0cf6c016dcbf7b25266b6784160408c2c8389bbacf5d54722603eb96094bbb09d8fe SHA512 3e3ee0f02f9c45ce9339720f95586800c92ef28f2f15e843e40655473d2437eb222de20dd3b86f9b7da535d6b5b862393bc62415a75cd5e21a669a3a00ed1f7f

View File

@ -0,0 +1,147 @@
From 230a9175a5edb1b1a47fb09af2f4341eab93b1b0 Mon Sep 17 00:00:00 2001
From: Benoit Chesneau <bchesneau@gmail.com>
Date: Sat, 5 Dec 2020 11:31:24 +0100
Subject: [PATCH] remove unicode_util_compat library
remove unicode_util_compat library and support only Erlang >= 20. This
change simplify the stack and prepare future change to support specific
features of Erlang 23 and sup.
---
.travis.yml | 1 -
CHANGELOG | 4 ++++
rebar.config | 2 +-
rebar.lock | 9 +--------
src/idna.app.src | 4 ++--
src/idna.erl | 10 +++++-----
src/idna_context.erl | 4 ++--
7 files changed, 15 insertions(+), 19 deletions(-)
diff --git a/.travis.yml b/.travis.yml
index 7f16c91..3f1a419 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,6 +1,5 @@
language: erlang
otp_release:
- - 19.3
- 20.0
- 20.1.7
- 20.3.8.22
diff --git a/CHANGELOG b/CHANGELOG
index d21de4c..bc61c3b 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,5 +1,9 @@
# CHANGELOG
+== 7.0.0 - unreleased
+
+- remove unicode_compat. only support Erlang >= 20
+
== 6.1.1 - 2020-12-06
- fix license information
diff --git a/rebar.config b/rebar.config
index 3af59e3..cd02013 100644
--- a/rebar.config
+++ b/rebar.config
@@ -1,3 +1,3 @@
{erl_opts, []}.
-{deps, [{unicode_util_compat, "~>0.7.0"}]}.
+{deps, []}.
diff --git a/rebar.lock b/rebar.lock
index 8813028..57afcca 100644
--- a/rebar.lock
+++ b/rebar.lock
@@ -1,8 +1 @@
-{"1.2.0",
-[{<<"unicode_util_compat">>,{pkg,<<"unicode_util_compat">>,<<"0.7.0">>},0}]}.
-[
-{pkg_hash,[
- {<<"unicode_util_compat">>, <<"BC84380C9AB48177092F43AC89E4DFA2C6D62B40B8BD132B1059ECC7232F9A78">>}]},
-{pkg_hash_ext,[
- {<<"unicode_util_compat">>, <<"25EEE6D67DF61960CF6A794239566599B09E17E668D3700247BC498638152521">>}]}
-].
+[].
diff --git a/src/idna.app.src b/src/idna.app.src
index ddf767c..fd0b0d9 100644
--- a/src/idna.app.src
+++ b/src/idna.app.src
@@ -1,9 +1,9 @@
{application, idna, [
{description, "A pure Erlang IDNA implementation"},
- {vsn, "6.1.1"},
+ {vsn, "7.0.0"},
{modules, []},
{registered, []},
- {applications, [kernel, stdlib, unicode_util_compat]},
+ {applications, [kernel, stdlib]},
{licenses, ["MIT"]},
{links, [{"Github", "https://github.com/benoitc/erlang-idna"}]}
diff --git a/src/idna.erl b/src/idna.erl
index 61c115a..e58cc86 100644
--- a/src/idna.erl
+++ b/src/idna.erl
@@ -337,7 +337,7 @@ lowercase_list([], true) ->
lowercase_list([], false) ->
throw(unchanged);
lowercase_list(CPs0, Changed) ->
- case unicode_util_compat:lowercase(CPs0) of
+ case unicode_util:lowercase(CPs0) of
[Char|CPs] when Char =:= hd(CPs0) -> [Char|lowercase_list(CPs, Changed)];
[Char|CPs] -> append(Char,lowercase_list(CPs, true));
[] -> lowercase_list([], Changed)
@@ -350,9 +350,9 @@ lowercase_bin(CP1, <<CP2/utf8, Bin/binary>>, Changed)
when CP1 < 128, CP2 < 256 ->
[CP1|lowercase_bin(CP2, Bin, Changed)];
lowercase_bin(CP1, Bin, Changed) ->
- case unicode_util_compat:lowercase([CP1|Bin]) of
+ case unicode_util:lowercase([CP1|Bin]) of
[CP1|CPs] ->
- case unicode_util_compat:cp(CPs) of
+ case unicode_util:cp(CPs) of
[Next|Rest] ->
[CP1|lowercase_bin(Next, Rest, Changed)];
[] when Changed ->
@@ -361,7 +361,7 @@ lowercase_bin(CP1, Bin, Changed) ->
throw(unchanged)
end;
[Char|CPs] ->
- case unicode_util_compat:cp(CPs) of
+ case unicode_util:cp(CPs) of
[Next|Rest] ->
[Char|lowercase_bin(Next, Rest, true)];
[] ->
@@ -378,7 +378,7 @@ append(GC, Str) when is_list(GC) -> GC ++ Str.
characters_to_nfc_list(CD) ->
- case unicode_util_compat:nfc(CD) of
+ case unicode_util:nfc(CD) of
[CPs|Str] when is_list(CPs) -> CPs ++ characters_to_nfc_list(Str);
[CP|Str] -> [CP|characters_to_nfc_list(Str)];
[] -> []
diff --git a/src/idna_context.erl b/src/idna_context.erl
index faab65e..eecc432 100644
--- a/src/idna_context.erl
+++ b/src/idna_context.erl
@@ -25,7 +25,7 @@ valid_contextj(Label, Pos) ->
valid_contextj(16#200c, Label, Pos) ->
if
Pos > 0 ->
- case unicode_util_compat:lookup(lists:nth(Pos, Label)) of
+ case unicode_util:lookup(lists:nth(Pos, Label)) of
#{ ccc := ?virama_combining_class } -> true;
_ ->
valid_contextj_1(Label, Pos)
@@ -35,7 +35,7 @@ valid_contextj(16#200c, Label, Pos) ->
end;
valid_contextj(16#200d, Label, Pos) when Pos > 0 ->
- case unicode_util_compat:lookup(lists:nth(Pos, Label)) of
+ case unicode_util:lookup(lists:nth(Pos, Label)) of
#{ ccc := ?virama_combining_class } -> true;
_ -> false
end;

View File

@ -0,0 +1,25 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit rebar
DESCRIPTION="Erlang IDNA implementation"
HOMEPAGE="https://github.com/benoitc/erlang-idna"
SRC_URI="https://github.com/benoitc/erlang-idna/archive/${PV}.tar.gz
-> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 ~arm ~ia64 ~ppc ~sparc x86"
DEPEND=">=dev-lang/erlang-21.0"
DOCS=( CHANGELOG README.md )
S="${WORKDIR}/erlang-idna-${PV}"
# Removes dependency to workaround for older erlang versions.
# Patch from https://github.com/benoitc/erlang-idna/pull/31
PATCHES=( "${FILESDIR}/idna-remove-unicode_util_compat.diff" )

View File

@ -0,0 +1,10 @@
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>ejabberd@gentoo.org</email>
</maintainer>
<upstream>
<remote-id type="github">benoitc/erlang-idna</remote-id>
</upstream>
</pkgmetadata>

View File

@ -0,0 +1,3 @@
DIST jiffy-1.0.8.tar.gz 1896454 BLAKE2B 2c47c7a4350ff5e8674b365a8b65d242896165aee6386a2200a51009b686f86eccda6f4e5b48b1c7d3b5b0f2cfafd1aedf723a64f57c5d2988710fcbf56901a1 SHA512 d248d4e41d780a8f676c4fa7eee6fbdc6f9a5a2867c558cb1ce6f1600093b242fad48d86221a37bfdb7bba0142635f577a4ac3e98106558f5a0ca817dd9a0574
EBUILD jiffy-1.0.8.ebuild 430 BLAKE2B 41a3f6bb8251fa5171cff411f410384347f29697183bfde86dd7e43320bd514704ee522db01c35d3537badccd4367cf28aa4429a904b059251cce9fc6bfbda34 SHA512 9b5c5cff70cdcd556f4996132867031de2c299409979cca2fb8de7e64983136a84025079fdad05f0a70d7282554253dab5e8dcfa4d8c735f3b39fe297b9cde99
MISC metadata.xml 297 BLAKE2B e2c4eed3c56ce68b2c20e85ebab3d7c726f5cb8dd64d367137dd91298c372edad335d0a88b90da55092c0af8470c760d166f2f2611ef00cabc7fc75fdae1ae5f SHA512 0d276618e7023cefc54f3f0d87542a99dd65892b1d021c12719496245ec56a5aacd76fee2a92e35f19c3c5c36c15651605fb62f1ad78c0cf40e8149f013c4f6e

View File

@ -0,0 +1,20 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit rebar
DESCRIPTION="JSON NIFs for Erlang"
HOMEPAGE="https://github.com/davisp/jiffy"
SRC_URI="https://github.com/davisp/${PN}/archive/${PV}.tar.gz
-> ${P}.tar.gz"
LICENSE="MIT BSD"
SLOT="0"
KEYWORDS="amd64 ~arm ~ia64 ~ppc ~sparc x86"
DEPEND=">=dev-lang/erlang-17.1"
RDEPEND="${DEPEND}"
DOCS=( README.md )

View File

@ -0,0 +1,10 @@
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>ejabberd@gentoo.org</email>
</maintainer>
<upstream>
<remote-id type="github">davisp/jiffy</remote-id>
</upstream>
</pkgmetadata>

3
dev-erlang/jose/Manifest Normal file
View File

@ -0,0 +1,3 @@
DIST erlang-jose-1.11.1.tar.gz 281125 BLAKE2B 839d4b8a4f95f2430378cbbeff5ad4f0095faeacfbdbd1d5ce87f62844f664bd89b500dc4d43b410be3bef296743cfd4fc77509547258bbc302d26deae753af9 SHA512 eed87ba597b8df064f38b873216f0a54fc4173d4393de49b648bc9e4e519778c4f3043701f8e6cb84a0f452ff555fcfa1d65afeb91d4466616bcc27838772fd6
EBUILD jose-1.11.1.ebuild 989 BLAKE2B dab0831233e06f1994e90fb588f434906fadebb810cf2cc6957d9b9a9b78253c408fdad935e25eb152a8b6673b2fece47139ae3ec4e0ed5b2306269784637d42 SHA512 c731172dae99df039278940772bf2cd02649e7105337d6937fa3a6d349460144bd43698d8620a729e1beafbbae6ed3747e59a0c225856255833c2d428fc2702d
MISC metadata.xml 308 BLAKE2B 7206d5d69299b11b8f0e595423649507bd340034f021e7dad826f984f42ddac0b09ba0ad9c5a537a7b15773c5196f7c48f5fc36157a6abd141096f813cff500a SHA512 f64bf6d1f188bc6c61ca8390db4619a7a06d94be956cc0736943b9287a379e8f5372fed00a4ad123068a2829432ef289fd697d0f74d86c46fafe1255e109a519

View File

@ -0,0 +1,35 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit rebar
DESCRIPTION="JSON Object Signing and Encryption (JOSE) for Erlang and Elixir"
HOMEPAGE="https://github.com/potatosalad/erlang-jose"
SRC_URI="https://github.com/potatosalad/erlang-jose/archive/${PV}.tar.gz
-> erlang-${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 ~arm ~ia64 ~ppc ~sparc x86"
IUSE=""
DEPEND=">=dev-lang/erlang-19.0"
RDEPEND="${DEPEND}"
DOCS=( ALGORITHMS.md CHANGELOG.md README.md examples/KEY-GENERATION.md )
# TODO: jose has test suite, but it require lots of dependencies. It may not be
# TODO: urgent, but it would be nice to have those sooner or later.
RESTRICT=test
S="${WORKDIR}/erlang-${P}"
src_prepare() {
# disable warnings_as_errors for erlang 23 compatibiltiy
# https://github.com/potatosalad/erlang-jose/issues/87
sed -i -e 's|warnings_as_errors||g' \
-e 's|debug_info,|debug_info|g' rebar.config
rebar_src_prepare
}

View File

@ -0,0 +1,10 @@
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>ejabberd@gentoo.org</email>
</maintainer>
<upstream>
<remote-id type="github">potatosalad/erlang-jose</remote-id>
</upstream>
</pkgmetadata>

View File

@ -0,0 +1,3 @@
DIST mqtree-1.0.12.tar.gz 228886 BLAKE2B 6912a29953f1fc801c08ba60b09e5adfd91c27dd3b1ff072e74f71377e46a4004bbea6b0e32a053b52e7cd717c1c6496bd24fbecb1de8b3c99a674f453188ef7 SHA512 21dc2b974a600e16c1ab4a7d9ea9377c37feaa4e7e8385cbb2cf61a7ecd3c46122b0d030914200c7f3086f0c60c9c8384b4614cafc58aaa07213ab17c08f74fd
EBUILD mqtree-1.0.12.ebuild 487 BLAKE2B bfea4f9dcb7d2f23f305141e92ae79bf0dbef4e5d1230f4f7855b8c648d8893c43679053109dea3c9ca7faf97389ae2389d2625bf04cce345d9f8b4091ce1201 SHA512 32c938ddbc8cfeeb97ed66e8e2f4d0f789d8648bd0a5ab9207df75a3705cde048c091c28b3f1cd0fd589f9ccdc251729bea68c7ec4d4b53779dff315ce7c1dd9
MISC metadata.xml 302 BLAKE2B f1e14f60c14e6ca60f01611695e2780a2322a84ca4eb765def4c9e820fa895db70586fe9b402eb3caeb17b53ca6a7cf509c6862ca23c28a6d03b8493a6da5ae5 SHA512 d08d18264a4294d72bc4a628b255cf8e00108e2d8fd452376a3fe76c80d6e0ecded13f1192b2b77ba3f91ec0922d0c7d5adddc3024f915237aa4ff148b03127e

View File

@ -0,0 +1,10 @@
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>ejabberd@gentoo.org</email>
</maintainer>
<upstream>
<remote-id type="github">processone/mqtree</remote-id>
</upstream>
</pkgmetadata>

View File

@ -0,0 +1,21 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit rebar
DESCRIPTION="Index tree for MQTT topic filters"
HOMEPAGE="https://github.com/processone/mqtree"
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.5
>=dev-erlang/p1_utils-1.0.20"
RDEPEND="${DEPEND}"
DOCS=( README.md )

View File

@ -0,0 +1,3 @@
DIST p1_acme-1.0.11.tar.gz 221108 BLAKE2B b53bd72f8ef39e11799124f2eceb005b2a2536b5407155a9c91eca664927b1739608525d9e2bd73a3076fc53418f0f276a5faddd0da9fca688a8c49509b46953 SHA512 3424e758b26601e3cbfe8863ac22aa51e3a86297d227a6226c41eedcd7f898dc3c43ddacb9832a8c005753f942c326d7ebabdbe114e09781dfc7c889f4e6af9d
EBUILD p1_acme-1.0.11.ebuild 742 BLAKE2B 83d9f44af26a747d19e7bb87bbd8e99dd6832f78615575968075aaa54fc6f5f1e62bdd69b1d795b7e2def154176ac37bf8dccea098e047c40a3b00de98b46b0b SHA512 1805d90029f6955bc856ff51d5087701d8213e13897f974b50848f66a056a7761c7ebb6c1b8074a0eb7da0573dd60a57aa555058b12fb3d7d8137e6b1fc03603
MISC metadata.xml 303 BLAKE2B 55f783852d04cc1214a55a4d8922ca45dc57b05114cb8a006b8d9a8393f162437b94426d8c79b144c7fd9b3c965eab914419bcdefbc10645214b2f72918eafa5 SHA512 60484f81b126b6b0f01615bac8c83be479c352e9c7a7a511d8de04c4a9dc3eaa50c9dcbb242b8cba8e4d498f429116127e66259a2e16f503b9f97e859a64bec6

View File

@ -0,0 +1,10 @@
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>ejabberd@gentoo.org</email>
</maintainer>
<upstream>
<remote-id type="github">processone/p1_acme</remote-id>
</upstream>
</pkgmetadata>

View File

@ -0,0 +1,31 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit rebar
DESCRIPTION="ACME client library for Erlang"
HOMEPAGE="https://github.com/processone/p1_acme"
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
>=dev-erlang/jiffy-1.0.5
>=dev-erlang/yconf-1.0.7
>=dev-erlang/idna-6.0.0
>=dev-erlang/jose-1.9.0
>=dev-erlang/base64url-1.0"
RDEPEND="${DEPEND}"
DOCS=( CHANGELOG.md README.md )
src_prepare() {
rebar_src_prepare
# otherwise it wants to fetch base64url from git
sed -ri 's/\+\+ \[\{base64url.*//' rebar.config.script
}

View File

@ -0,0 +1,3 @@
DIST p1_mysql-1.0.17.tar.gz 27100 BLAKE2B 2483164767ab953e5c13def50bd760c843f4d47366ebe840e1a10d17771bc0699a888d738f102b33b387cd0802f84006e3fb1df4a60643d2be6ae080a6aa36bb SHA512 87f5237a68636cf9a93d52d37f8ab6649afaddc5e9d8e750ebcb8929ff321d59d41ccc53ae93b03d7b34897c968fd7edca5d01ae3eaa8f19e68d037f2176fe6e
EBUILD p1_mysql-1.0.17.ebuild 456 BLAKE2B c5ef56f86d7324d081781b70d2e4521a1a3ec4dc117b6214276ead092ef1b853f2c98e9543bf38d7b2162e421d9e4ca0c221c825a16d46e2f65f2bed8a5773eb SHA512 64d002bc9fe5f05642de44e020eaf2db3f2c586725aa88ccdb64512a989c8ee4d70246045baed5ce2116c8fbfc80369323d7badfc4818acf0a0575e0dbf4b1ea
MISC metadata.xml 304 BLAKE2B 3d45b5c4b62a376ad320bba3d9469f35f5636233802428dea8bf5ac8b6134b8d06ef5de1ab9d977bd2089f6e9174a71d41dbaca71c54cb5990cda65dcc31a61a SHA512 0c3bad8ec7a25a29a6539774a18a8d8c57394cbe50bc9d4ac24f88897ee8a98717ae82d84245d5b593895645c9e543301573e321f47995310517aa764f95dfff

View File

@ -0,0 +1,10 @@
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>ejabberd@gentoo.org</email>
</maintainer>
<upstream>
<remote-id type="github">processone/p1_mysql</remote-id>
</upstream>
</pkgmetadata>

View File

@ -0,0 +1,20 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit rebar
DESCRIPTION="Pure Erlang MySQL driver"
HOMEPAGE="https://github.com/processone/p1_mysql"
SRC_URI="https://github.com/processone/${PN}/archive/${PV}.tar.gz
-> ${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~arm ~ia64 ~ppc ~sparc ~x86"
DEPEND=">=dev-lang/erlang-17.1"
RDEPEND="${DEPEND}"
DOCS=( CHANGELOG.md README.md )

View File

@ -0,0 +1,3 @@
DIST p1_oauth2-0.6.8.tar.gz 214027 BLAKE2B 58c0bfb772928d77519079e0106941a6368a6aa4656353a4dd5d67e9d4132ac19eab3b30f8079420348dd05a30bd8e15cf8df5de5d57154f24b63590bd82380a SHA512 10ce1542b8aa0cc0f600addd0f5c6fa82e069fa20267a729536493136756403b45185f01338d29cec2b318cbf51726e145dd767ea147155f50498841b57cdf08
EBUILD p1_oauth2-0.6.8.ebuild 723 BLAKE2B 2cadab1ac041131df513021a873cb3a25aa5b4a4bcee5f96b050a16c518e77d788d525a03f3f83f7bee2fff33897d3361d31e906093c6cf4e8d5e8f8bd21474c SHA512 93bf43f1c9ddcee6094c2adddfc72832bd557d56737528f78c038867faa5f37e97dacce2a9762d3c68529aa7b45f0b88c666860e59da0d42df1486a3e7b6857f
MISC metadata.xml 305 BLAKE2B 98e1f6ec2c085dae2c72693e64f9cb18ae8bb6bf0b8a5971b7d3e1a55cc3face9b7af974b9f1af40ee76902e625e330b219d78861601ed3f4b211296471f5421 SHA512 8f6d2d7fdaffa942e66e63e1cc315b59af452406993c7f208d09e00ecd5be8151b3cd72ec6f8c573a9c274662e9f75ad8dab616e284aa77257813ff82ec50823

View File

@ -0,0 +1,10 @@
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>ejabberd@gentoo.org</email>
</maintainer>
<upstream>
<remote-id type="github">processone/p1_oauth2</remote-id>
</upstream>
</pkgmetadata>

View File

@ -0,0 +1,36 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit rebar
DESCRIPTION="Erlang OAuth 2.0 implementation"
HOMEPAGE="https://github.com/processone/p1_oauth2"
SRC_URI="https://github.com/processone/${PN}/archive/${PV}.tar.gz
-> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm ~ia64 ~ppc ~sparc ~x86"
IUSE="test"
RESTRICT="!test? ( test )"
CDEPEND=">=dev-lang/erlang-17.1"
DEPEND="${CDEPEND}
test? (
>=dev-erlang/meck-0.8.7
>=dev-erlang/proper-1.3
)"
RDEPEND="${CDEPEND}"
DOCS=( CHANGELOG.md README.md )
src_prepare() {
rebar_src_prepare
rebar_remove_deps rebar.test.config
}
src_test() {
erebar -C rebar.test.config compile eunit
}

View File

@ -0,0 +1,3 @@
DIST p1_pgsql-1.1.10.tar.gz 24073 BLAKE2B 541c12e72a7be558f7c9fcfb64c88ddcdfbc258ce33f2fd66b8bfdfaaed83f1a1194dfea6225abd1a601ef08d9a9e792c844f778bc1be4bbf94e8107c6e024a7 SHA512 d1385b71681f487822839041f01ca7241573fd3a4b3616e7f0508b2d604ce37273168e8ddf9e403edc6cb08d73c908c373727e26a970ee7ba67ea57de8524409
EBUILD p1_pgsql-1.1.10.ebuild 467 BLAKE2B d7c0846d73ab89288c18209b74583e18eda1714632ab1a66e7fc89b506bcabcf30dcfe63ceb3aff7cf19a11dbf73685c6386e56b206b72af8d0b40301fa9a699 SHA512 0e69a223920b5ced398a25784e300733dcc768f891a8b5ede11de432a97ce0e205968ba92c8b23e0425e1412ba44f462899b2b7f6f924adc70bb7fcd4f5121f2
MISC metadata.xml 304 BLAKE2B ef4e6ddc16ac353e121848f24676bbc1924a6afbaac3b8695d0be09b89cfee030b9bec9fd66484eb19595dbdc789d2b5fd746bdda9b5f4815c064cfcf146065b SHA512 b77962ea56d52b513fd7d3ea6c6726cafbb928f49f8ba0d9ccee10b20482a07385d250f80ad2780e3c5ec7d1854dc95b106575abf142e82d185c13d110b41431

View File

@ -0,0 +1,10 @@
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>ejabberd@gentoo.org</email>
</maintainer>
<upstream>
<remote-id type="github">processone/p1_pgsql</remote-id>
</upstream>
</pkgmetadata>

View File

@ -0,0 +1,20 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit rebar
DESCRIPTION="Pure Erlang PostgreSQL driver"
HOMEPAGE="https://github.com/processone/p1_pgsql"
SRC_URI="https://github.com/processone/${PN}/archive/${PV}.tar.gz
-> ${P}.tar.gz"
LICENSE="ErlPL-1.1"
SLOT="0"
KEYWORDS="~amd64 ~arm ~ia64 ~ppc ~sparc ~x86"
DEPEND=">=dev-lang/erlang-17.1"
RDEPEND="${DEPEND}"
DOCS=( CHANGELOG.md README.md )

View File

@ -0,0 +1,3 @@
DIST p1_utils-1.0.21.tar.gz 63913 BLAKE2B ebcee62b37f182f447d58a5b3bf841de064adb98afbb26e05caa8841e7d93b1c182fab227c19dee2cd0a61d036fe475ea9ee7a877612abe0c45453333e0797c5 SHA512 afff34d3a0832efca0c7ca4278d7c677ed5ff3f0aaa04a46a291bc6a21c1cbf5645e282fda9ab468cfddcaa71821a136547ec9a2ba52d30f72f073dfa3b2fea7
EBUILD p1_utils-1.0.21.ebuild 486 BLAKE2B 31e8abe8a60ca8a5ac4bea1f7d5a6168e2c16623fab42e6f1443dc99e01ecc85fc9af7f48250dffcefa22be806b4efddb539fe3742533f9619ff5bb50be3ccd9 SHA512 0efc1f5288d670fb77ab4f481a5bc1c4dbccd476b8912a18ac7045ae7cb1bebd0d75ee559cf1b7e26edf03d91757006fa0d720b204b2413b2180c7203bf36e13
MISC metadata.xml 474 BLAKE2B dd0f46e4c69d981a6341dc888b33f3bab4bc233df0208fbf09c16dc3bbacde133af147ed348f3f619836f3b3c52137b3b861c903d305a018ea61d535b3b5909c SHA512 9b19dd7b2c377527c69241c9af6d5599c9f8413c329297ea29fe38ea481a9a05e10c7f91656cc77e3b090dba6152d1d59f64f71e74b0530eced45af0ae7fd121

View File

@ -0,0 +1,14 @@
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>ejabberd@gentoo.org</email>
</maintainer>
<longdescription lang="en">
p1_utils is an application containing ProcessOne modules and tools that
are leveraged in other development projects.
</longdescription>
<upstream>
<remote-id type="github">processone/p1_utils</remote-id>
</upstream>
</pkgmetadata>

View File

@ -0,0 +1,20 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit rebar
DESCRIPTION="Erlang utility modules from ProcessOne"
HOMEPAGE="https://github.com/processone/p1_utils"
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 ~ppc64 ~sparc ~x86"
DEPEND=">=dev-lang/erlang-17.1:="
RDEPEND="${DEPEND}"
DOCS=( CHANGELOG.md README.md )

3
dev-erlang/pkix/Manifest Normal file
View File

@ -0,0 +1,3 @@
DIST pkix-1.0.7.tar.gz 412022 BLAKE2B 8e5821e244ec7fa2827bcd1ccf1aee84297ab51fc3d84ae984052317c5579094c78cb75df3eff59be28735dd48e3407abf59db7a6e776c1a577e049894058290 SHA512 cbc87f94cdc0645773a40291e8c20eb6db913901dd1d73fc97d10b109408de405c4ca99c8e629adb5aee5583893479008c307f6c2a963465b77b57b6216bd446
EBUILD pkix-1.0.7.ebuild 416 BLAKE2B 600e236737a154df310bba78e8553d2323ff780b156bbfb7c4c65b01bca17ed79cc45222e6b82da814b1dccaf769da7631ee72aa5c005f15b7b946b990740cff SHA512 52bfa07ba05ec01ba12006549478b2ea4743c89b1e825e9ef644ba6ce8aa5eba8b4bde2697caadbb2c00d33f71d2fa0434b2034840e1ba3a81a934133b6960f5
MISC metadata.xml 300 BLAKE2B 8faa02c849b7b56f6351028f45f4183ad0e971b1564b142246ce9192ee1daa2f80c36845920b613897a3a4f5c775a6e472e70fdbfd6ee8f00ff15effb193bfd8 SHA512 3dae9451fc5c94b513ff8e9eaa68a68110bd9bc36dd0863b949c2a345a0d12775d70e2619798de9a6bbb62daafc9eda00baefa6201535f49044bef9048d92e91

View File

@ -0,0 +1,10 @@
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>ejabberd@gentoo.org</email>
</maintainer>
<upstream>
<remote-id type="github">processone/pkix</remote-id>
</upstream>
</pkgmetadata>

View File

@ -0,0 +1,17 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit rebar
DESCRIPTION="PKIX certificates management library for Erlang"
HOMEPAGE="https://github.com/processone/pkix"
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"
DOCS=( README.md )

View File

@ -0,0 +1,3 @@
DIST stringprep-1.0.24.tar.gz 99131 BLAKE2B 0fc8a29ae79fe8525d0ba6f33ab943f2db91843a65299016064eba74db2e4b9c3e10e58f2a7998a443105725e9c632106e2b1f97901355431d295251aabecf0b SHA512 072377081530a036bdd12b3bfee19a3eb5001aa8de45792107a34b86e78655a3ded0719a39de239ac269cc936d2a32f2510d6264b11a5a1be7c1924a9517125f
EBUILD stringprep-1.0.24.ebuild 529 BLAKE2B 193f08aaa381ebbed9a6345e18a90a6616bc8077992337b7bbd4f76137755f4afa4e3e53f2316064794174e1f94ccac01d39d470a01ce887ba2eb00510febbc8 SHA512 e3a7f5fc81bd808308eaa4cc1926908dae730611b7c1ad12e1d0a5cedfd540e9e8f3b0b6ad76e800f5e3bc47a0e8021c927a48bf5162283c8d16193ca60a5757
MISC metadata.xml 504 BLAKE2B 2127b99146efa992ca8a77c13ccf2966a92ea11b4e379c32752285431cde5f3a271f7bc47ad0f6bf6945f153f3a2cbd00c3bfd285b81978c8c1b3b66b256de96 SHA512 355a78e3829c0be4a1856053391d5e33a4cc23225fc44d6769acf1e2760e1b8220586a728dbd70639c4e3177f88d60d8333c5f16d1d227232fbcdf29211f2c47

View File

@ -0,0 +1,15 @@
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>ejabberd@gentoo.org</email>
</maintainer>
<longdescription lang="en">
Stringprep is a framework for preparing Unicode test strings in order
to increase the likelihood that string input and string comparison
work.
</longdescription>
<upstream>
<remote-id type="github">processone/stringprep</remote-id>
</upstream>
</pkgmetadata>

View File

@ -0,0 +1,21 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit rebar
DESCRIPTION="Fast Stringprep implementation for Erlang and Elixir"
HOMEPAGE="https://github.com/processone/stringprep"
SRC_URI="https://github.com/processone/${PN}/archive/${PV}.tar.gz
-> ${P}.tar.gz"
LICENSE="Apache-2.0 tcltk"
SLOT="0"
KEYWORDS="~amd64 ~arm ~ia64 ~ppc ~sparc ~x86"
DEPEND=">=dev-lang/erlang-17.1
>=dev-erlang/p1_utils-1.0.20"
RDEPEND="${DEPEND}"
DOCS=( CHANGELOG.md README.md )

3
dev-erlang/stun/Manifest Normal file
View File

@ -0,0 +1,3 @@
DIST stun-1.0.42.tar.gz 39518 BLAKE2B e4122f21385bfb632c6c841313f507e947ecfca06d2c17963747d13b5bf96d696fcc79c2e2a7c3e295b5bdb2a3a0d23ce7634aa41c3f33b37a67ba0bdc2dab8f SHA512 c9b969f3f370fe6398aba2601c279414543b871e0d3806b36ad0e95890eaf3d50cfd854ebbc6f9a7982c2cfeba165cfc0fa5542ad4d4eabf8f5e3f751ac2ef56
EBUILD stun-1.0.42.ebuild 506 BLAKE2B 459731d2a9f7ede05ed55b71b4c1da0d5b7c19d1a2751924ef21308819900829c94a7cd6653722b476d7287e60972e8caaa4f99530c2d9df6685ecc72a5e1303 SHA512 02ba5157407eb7394199d0f1cdba3558a8fe6670a9442343037b334b6bec4a2b52e45c0f12c1d42fbb7f9c12b712813f0ebd9e146a6b7ffc518fd525024e7819
MISC metadata.xml 300 BLAKE2B 0e29cad1b734c0349b9910a8f0ec2f6ef8aaa813c860409f1688efa5d253d76fd035bbe7c4c837271fec68585d6d5bbcf4493542a3dcb1dbc229b3829f1d65df SHA512 48c6b133bcfcb9c038a6f683888f269424a65785e73b7f81c366886fe3769e569b15004f1353bbce9570b47346bb0db305654954b34ae12a959ef26f25944319

View File

@ -0,0 +1,10 @@
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>ejabberd@gentoo.org</email>
</maintainer>
<upstream>
<remote-id type="github">processone/stun</remote-id>
</upstream>
</pkgmetadata>

View File

@ -0,0 +1,21 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit rebar
DESCRIPTION="STUN and TURN library for Erlang and Elixir"
HOMEPAGE="https://github.com/processone/stun"
SRC_URI="https://github.com/processone/${PN}/archive/${PV}.tar.gz
-> ${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~arm ~ia64 ~ppc ~sparc ~x86"
DEPEND=">=dev-erlang/fast_tls-1.1.8
>=dev-erlang/p1_utils-1.0.20"
RDEPEND="${DEPEND}"
DOCS=( CHANGELOG.md README.md )

3
dev-erlang/xmpp/Manifest Normal file
View File

@ -0,0 +1,3 @@
DIST xmpp-1.5.2.tar.gz 510215 BLAKE2B df7d141ab2e684d83f4fe185e849dcd13d89e5e0979c7f07e07961db5961ca7213a5fe42cb5f8199a8d5bb0a703ca7ddb12fc987e2da37f5032531b94bd450dd SHA512 df5afec4c7a7f767ff2630fe3783b41bf19ab63482ab63e477c30602cd49268c343334d64753baabdfc6347572368941d35ae652373e5155b4165aa77ee7c5e8
EBUILD xmpp-1.5.2.ebuild 712 BLAKE2B 02c2421c669d7ddce7c16fce4e4e8b609b0ec28ccd9cefda063aeabe4d6f7b628a27bb0b66cdef91864e2526572668aa3576f3fe546ab0714c0d1649a53c24ad SHA512 a9a10a8c54a85180833e016fa35a9d7d0fd9e58a55e28f91ecfc4768188151bb455346cdbb44941642fd2b3bcf2e328811cd88f9806e52168103ece2f38e2eef
MISC metadata.xml 300 BLAKE2B 95b46ed0dc39741f2e8c5a822637fa76a7952e00f93ffe1b2a28905b7f68bec492756bf008653f5370c08d31e9b47133db6a6f181015f1fd1d0138e33e84746a SHA512 41a4ee656e0f8c79b319ad575de817bfc877163b235dbdfcaf5bfc0555b875190a4c395b4c2ed7e9e366d0c430b273f382d6ed984ffea6d4dc29ac0378336c92

View File

@ -0,0 +1,10 @@
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>ejabberd@gentoo.org</email>
</maintainer>
<upstream>
<remote-id type="github">processone/xmpp</remote-id>
</upstream>
</pkgmetadata>

View File

@ -0,0 +1,30 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit rebar
DESCRIPTION="XMPP parsing and serialization library on top of Fast XML"
HOMEPAGE="https://github.com/processone/xmpp"
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"
RDEPEND=">=dev-erlang/ezlib-1.0.8
>=dev-erlang/fast_tls-1.1.8
>=dev-erlang/fast_xml-1.1.43
>=dev-erlang/p1_utils-1.0.20
>=dev-erlang/stringprep-1.0.22
>=dev-erlang/idna-6.0.0"
DEPEND="${RDEPEND}"
DOCS=( CHANGELOG.md README.md )
src_prepare() {
rebar_src_prepare
rebar_fix_include_path fast_xml
}

View File

@ -0,0 +1,3 @@
DIST yconf-1.0.10.tar.gz 222567 BLAKE2B 18fa535eb5a2edb3fb44b5b59993737cad4d403d30ea113a303ded2ac4803b09eacdfe174adb019eca71002faac72efca61bcd9947a7c94ec4832e0e21c2ca8e SHA512 8ffb9a2b768dc851c9449445061bf6d0ada76befd67cc13f523bd226b806c9e364e687f70b0af07c2ef9b759b2bd1e88e645af21ab7bd289eb982e3cc89e8677
EBUILD yconf-1.0.10.ebuild 495 BLAKE2B 7ed23e790c6d802c1206a7a1608538d9a6a4a2d19eb392b5993e8be2a7f3238216c4eeeac1e99e9fd940f18c815453b15b1466f93ad8fcda8ce265078a7c8a6b SHA512 d4c8ec5cd4fced419c99c661c4759e2289abd7145d6477c3638c523fac7bbbfb2f68ae1f37e0e6f47d32510c285862825fc87911cf42c7629234308cb79935f5
MISC metadata.xml 301 BLAKE2B 0eaa7215cbc63e139f0edf503e5a9adc2d6d951c795f13b3b435537af6435e789c7eb48d9c5a2c7f13ec1aba0796cacacb7cb3255a8c754864a6b4e3dfb65ada SHA512 741c861101e6d438535ba24136ffffc603dba0e661134accd761fbe4269ab10c1f98e03ed35859421c382d76c53a09d5d2c42da9535d0cadca4fcba3c2f6d975

View File

@ -0,0 +1,10 @@
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>ejabberd@gentoo.org</email>
</maintainer>
<upstream>
<remote-id type="github">processone/yconf</remote-id>
</upstream>
</pkgmetadata>

View File

@ -0,0 +1,21 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit rebar
DESCRIPTION="YAML configuration processor"
HOMEPAGE="https://github.com/processone/yconf"
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
>=dev-erlang/fast_yaml-1.0.27"
RDEPEND="${DEPEND}"
DOCS=( CHANGELOG.md README.md )

View File

@ -0,0 +1,2 @@
DIST gd-captcha-20150810.tar.gz 196911 BLAKE2B d764f3121738e07a19092d3109948766ed1889a4b651695c0901df970faba2e9ac3087909b8a1c283984a75193eea2c61550b6b690da8615b066f4a5e014f35e SHA512 b879cf18cdb02f699d5ed794779b82b355db4ea91bb52089f3a9916a15f4e445633787a784f724479b0b69876e3b121ccc7febe2e9ad8176a544afb385b68af0
EBUILD gd-captcha-20150810.ebuild 572 BLAKE2B 80a0cc7c60aaaacb2580904f190b8205ec040637b2cda460ee153b32d460c957ccf2d086c0ea4c956bb93b8c921967de91c4cee7b72417e58eb40781cd2dfc79 SHA512 7963b23bca386f260cffde115de380b79defbdc9b1bb0f173890a873de399305abffccd7368519021762b8e91d5e0dd0135271600eea51669f73565b70f188da

View File

@ -0,0 +1,25 @@
# Copyright 1999-2020 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=7
MY_COMMIT="e704b9b62c263506852c4c876010414691d95873"
DESCRIPTION="Very simple CAPTCHA generator in C using GD, compatible with ejabberd"
HOMEPAGE="https://github.com/dotdoom/${PN}"
SRC_URI="${HOMEPAGE}/archive/${MY_COMMIT}.tar.gz -> ${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE=""
RDEPEND="media-libs/gd[png,truetype]"
DEPEND="${RDEPEND}"
S=${WORKDIR}/${PN}-${MY_COMMIT}
src_install() {
dobin captcha
dodoc README.md
}

1
metadata/layout.conf Normal file
View File

@ -0,0 +1 @@
masters = gentoo

10
net-im/ejabberd/Manifest Normal file
View File

@ -0,0 +1,10 @@
AUX ejabberd-21.01-0002-Dont-overwrite-service-file.patch 470 BLAKE2B 0dd597eaa63ccedafbb5c2903f948cc078c4951c551f76827f66198b4a25ac71f81dfaa36a0e0f443a8567c5d4309d00bc7ed59732a945dd0696d08edea5189f SHA512 a6b38ae82a0fe5d5d643eb2a122921aff3a9701381f6162213cee11b4950bdb9f16add78465a01eb6df5824dfa4ba2adae6dc0451749f76eefd224f5f97b8b01
AUX ejabberd-21.01-ejabberdctl.patch 1238 BLAKE2B 04b4317661afb77525b3d09fc2b1499faeb8ba49f32971f5302e64849808d7da21530d351aa728790e00cef076b8d679d1ca2ebb39e72d999ba3e628637ba00f SHA512 34e3aaecae83b8c00998dec3c8f26389a00af4aebf59592dcc0fa0afb917fbe33b057e83b38d3f5c24dad9e877d0a02c6b14a6d3396a6549e98e372fc293e9be
AUX ejabberd.confd 161 BLAKE2B f08ab6310c950d3d248fbaf5e6e35bca2e31289ae476b2379a779ebc38926e091cf04883cce94cedff1e4dcf6ec3224079e7828502b97451a8a96fd278a4d102 SHA512 07143642982df18461fdecd16daaad3baf6a06f8222d7a76757797c531be2803975ed60cc43aace24a624aa7c73bd8fdc6e023e739de492271b79e571f27c8fb
AUX ejabberd.initd 1071 BLAKE2B 226a0d4593df3504e30fbf40e9daffed6d903cf797b4ce0ce19b23ed29059d52a4e43d9f94354f6a1724966413cff7dcf0c13a4ede7dd2fff0da405c59bf8f39 SHA512 64839da9c369bf570389e95b0b1b67e1c4b339927c2f1fd4ca113a18410deb3fbe1ecdd41bb46df3d3b52b38149218dfe26b798ff43398151f08799566515352
AUX ejabberd.logrotate 203 BLAKE2B f523a30cf927d403523f618a6ab28fe4281a95ce6a1e639b4075b0ce98a8a985deec5446655c41288258a286a1ceb46cb64422be554d1de754fd97fc86e67555 SHA512 53cead768a76d18c01b229d0a1c0f38561c7a872fd751f1bb9b427c107f36a5536654a0047c5aef05507223f75c0e0f91e9a83b6c283fb9eceb8e31938de00d2
AUX ejabberd.tmpfiles.conf 78 BLAKE2B d516116f500baf9972b4bdee069ab9930bcc8aa309de4d25a38c93bfa82ac216211341d047078eed1346a39f327d856e8e9021e87d4c63ea9b26c0d581a0e2a0 SHA512 21953448f1695cf6b45d2eccf2eca7611d45c8407759fcc62b347afd22a4f25b79514275e18c473debc8070345b25bb49e1457e10bc37766f0590cb70f7f0230
AUX epam-wrapper 336 BLAKE2B 914ba9c7469ba58fd29a4c70485c77ff2a93000e397aa8c58aab434cfceda34120880184488659e30f1961d576566111b4159b34b30fea5307bc255ce382781d SHA512 b66dfed9967e6524af8f46204eadcbed0a427ecc5cca30ec1fd58373714467077858a252c039828a18130244d46a54a019e17828cf3ac055c18044c2a6881449
DIST ejabberd-21.01.tar.gz 1569752 BLAKE2B 4fb6dfe2d5371a7ec6c8c7e10284c1fc5f323d8b4618b4c3b76df402ef0acecb81bc18813e659a963e1401d8f5e0008d63827e464279b7456f9227dd76eeff45 SHA512 505571e6ad0ea60d5fa4db3dfd59d8e995fdb2129cb94f74e82e32c7a466ba8651e9d59e8ad5a4defc85ff35f4c1c3f4936e41e818af6a738a3960f0c4a26d1a
EBUILD ejabberd-21.01.ebuild 9297 BLAKE2B b3014da98f39e97294e70b3c814d4d4a2f79c93595bcc4ecaedc4d62a4129160894b34be613b8a6ffc97ea9d4db5bea2212028b9b2c8da14a855da562e3dd3d7 SHA512 717dc5535071ef69c5db7e58cc171cc2ef9979e0a8ec160238fd589cb89060d2ca165bb8ba621461a06208c29ec7c164986f327383be48a48df9d4fad778b021
MISC metadata.xml 1516 BLAKE2B e156fd8588db78fd863ed478db344d54ed4b401426c602b63b3652a2bdf0db426eac2f46797f40443225abc9fd4f45060701030e7002a31b5162a61712cc8c9b SHA512 091f443f98785ac57d5c9a8c5dfa258029cf5f2b3f6ca90ec4330881b7331c7490cd885f1a477574bc8d6af6a75ec3ea9c8a6d1051194f3cb0636c5672d63671

View File

@ -0,0 +1,298 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
SSL_CERT_MANDATORY=1
inherit eutils pam rebar ssl-cert systemd tmpfiles
DESCRIPTION="Robust, scalable and extensible XMPP server"
HOMEPAGE="https://www.ejabberd.im/ https://github.com/processone/ejabberd/"
SRC_URI="https://static.process-one.net/${PN}/downloads/${PV}/${P}.tgz -> ${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~arm ~ia64 ~sparc ~x86"
REQUIRED_USE="mssql? ( odbc )"
# TODO: Add 'tools' flag.
IUSE="captcha debug full-xml hipe ldap mssql mysql odbc pam postgres redis
roster-gw sip sqlite +stun zlib"
RESTRICT="test"
# TODO: Add dependencies for 'tools' flag enabled.
# TODO: tools? (
# TODO: >=dev-erlang/luerl-0.3
# TODO: )
DEPEND=">=dev-lang/erlang-20.0[hipe?,odbc?,ssl]
>=dev-erlang/cache_tab-1.0.27
>=dev-erlang/eimp-1.0.19
>=dev-erlang/fast_tls-1.1.11
>=dev-erlang/fast_xml-1.1.45
>=dev-erlang/fast_yaml-1.0.30
>=dev-erlang/yconf-1.0.10
>=dev-erlang/jiffy-1.0.5
>=dev-erlang/jose-1.9.0
>=dev-erlang/lager-3.6.10
>=dev-erlang/p1_oauth2-0.6.8
>=dev-erlang/p1_utils-1.0.21
>=dev-erlang/stringprep-1.0.24
>=dev-erlang/xmpp-1.5.2
>=dev-erlang/pkix-1.0.7
>=dev-erlang/mqtree-1.0.12
>=dev-erlang/idna-6.0.0
>=dev-erlang/p1_acme-1.0.11
>=dev-erlang/base64url-1.0.1
>=net-im/jabber-base-0.01
ldap? ( =net-nds/openldap-2* )
mysql? ( >=dev-erlang/p1_mysql-1.0.17 )
odbc? ( dev-db/unixODBC )
pam? ( >=dev-erlang/epam-1.0.10 )
postgres? ( >=dev-erlang/p1_pgsql-1.1.10 )
redis? ( >=dev-erlang/eredis-1.0.8 )
sip? ( >=dev-erlang/esip-1.0.41 )
sqlite? ( >=dev-erlang/sqlite3-1.1.11 )
stun? ( >=dev-erlang/stun-1.0.42 )
zlib? ( >=dev-erlang/ezlib-1.0.9 )"
RDEPEND="${DEPEND}
captcha? ( media-gfx/imagemagick[truetype,png] )"
DOCS=( CHANGELOG.md README.md )
PATCHES=( "${FILESDIR}/${PN}-${PV}-ejabberdctl.patch"
"${FILESDIR}/${PN}-${PV}-0002-Dont-overwrite-service-file.patch")
EJABBERD_CERT="${EPREFIX}/etc/ssl/ejabberd/server.pem"
# Paths in net-im/jabber-base
JABBER_ETC="${EPREFIX}/etc/jabber"
JABBER_LOG="${EPREFIX}/var/log/jabber"
JABBER_SPOOL="${EPREFIX}/var/spool/jabber"
# Adjust example configuration file to Gentoo.
# - Use our sample certificate.
adjust_config() {
sed -rne "/^#?\s+certfiles:/{p;a\ - ${EJABBERD_CERT}" -e ":a;n;/^#?\s+-/ba};p" \
-i "${S}/ejabberd.yml.example" \
|| die 'failed to adjust example config'
sed -re 's/^#\s+(certfiles)/\1/' \
-i "${S}/ejabberd.yml.example" \
|| die 'failed to adjust example config'
}
# Set paths to ejabberd lib directory consistently to point always to directory
# suffixed with version.
correct_ejabberd_paths() {
sed -e "/^EJABBERDDIR[[:space:]]*=/{s:ejabberd:${P}:}" \
-i "${S}/Makefile.in" \
|| die 'failed to set ejabberd path in Makefile.in'
sed -e "/EJABBERD_BIN_PATH=/{s:ejabberd:${P}:}" \
-i "${S}/ejabberdctl.template" \
|| die 'failed to set ejabberd path in ejabberdctl.template'
}
# Get epam-wrapper from 'files' directory and correct path to lib directory in
# it. epam-wrapper is placed into work directory. It is assumed no epam-wrapper
# file exists there already.
customize_epam_wrapper() {
local epam_wrapper_src="$1"
local epam_wrapper_dst="${S}/epam-wrapper"
[[ -e ${epam_wrapper_dst} ]] && die 'epam-wrapper already exists'
sed -r -e "s@^(ERL_LIBS=).*\$@\1${EPREFIX}$(get_erl_libs)@" \
"${epam_wrapper_src}" >"${epam_wrapper_dst}" \
|| die 'failed to install epam-wrapper'
}
# Check if we are missing a default certificate.
ejabberd_cert_missing() {
if grep -qs "^\s\+- ${EJABBERD_CERT}" "${EROOT%/}${JABBER_ETC}/ejabberd.yml"; then
if [[ -f "${EROOT%/}${EJABBERD_CERT}" ]]; then
# default certificate is present in config and exists - not installing
return 1
else
# default certificate is present in config
# but doesn't exist - need to install one
return 0
fi
fi
# no default certificate in config - not installing
return 1
}
# Generate and install sample ejabberd certificate. It's installed into
# EJABBERD_CERT path.
ejabberd_cert_install() {
SSL_ORGANIZATION="${SSL_ORGANIZATION:-ejabberd XMPP Server}"
install_cert "${EJABBERD_CERT%.*}"
chown root:jabber "${EROOT%/}${EJABBERD_CERT}" || die
chmod 0440 "${EROOT%/}${EJABBERD_CERT}" || die
}
# Get path to ejabberd lib directory.
#
# This is the path ./configure script Base for this path is path set in
# ./configure script which is /usr/lib by default. If libdir is explicitely set
# to something else than this should be adjusted here as well.
get_ejabberd_path() {
echo "/usr/$(get_libdir)/${P}"
}
# Make ejabberd.service for systemd from upstream provided template.
make_ejabberd_service() {
sed -r \
-e 's!@ctlscriptpath@!/usr/sbin!g' \
-e 's!^(User|Group)=(.*)!\1=jabber!' \
-e 's!^(After)=(.*)!\1=epmd.service network.target!' \
-e '/^After=/ a Requires=epmd.service' \
"${PN}.service.template" >"${PN}.service" \
|| die 'failed to make ejabberd.service'
}
# Set paths to defined by net-im/jabber-base.
set_jabberbase_paths() {
sed -e "/^ETCDIR[[:space:]]*=/{s:@sysconfdir@/ejabberd:${JABBER_ETC}:}" \
-e "/^LOGDIR[[:space:]]*=/{s:@localstatedir@/log/ejabberd:${JABBER_LOG}:}" \
-e "/^SPOOLDIR[[:space:]]*=/{s:@localstatedir@/lib/ejabberd:${JABBER_SPOOL}:}" \
-i "${S}/Makefile.in" \
|| die 'failed to set paths in Makefile.in'
sed -e "s|\(ETC_DIR:=\"\){{sysconfdir}}[^\"]*|\1${JABBER_ETC}|" \
-e "s|\(LOGS_DIR:=\"\){{localstatedir}}[^\"]*|\1${JABBER_LOG}|" \
-e "s|\(SPOOL_DIR:=\"\){{localstatedir}}[^\"]*|\1${JABBER_SPOOL}|" \
-i "${S}/ejabberdctl.template" \
|| die 'failed to set paths ejabberdctl.template'
}
# Skip installing docs because it's only COPYING that's installed by Makefile.
skip_docs() {
gawk -i inplace '
/# Documentation/, /^[[:space:]]*#?[[:space:]]*$/ {
if ($0 ~ /^[[:space:]]*#?[[:space:]]*$/) {
print $0;
} else {
next;
}
}
1
' "${S}/Makefile.in" || die 'failed to remove docs section from Makefile.in'
}
src_prepare() {
default
rebar_remove_deps
correct_ejabberd_paths
set_jabberbase_paths
make_ejabberd_service
skip_docs
adjust_config
customize_epam_wrapper "${FILESDIR}/epam-wrapper"
rebar_fix_include_path fast_xml
rebar_fix_include_path p1_utils
rebar_fix_include_path xmpp
# alphanumeric captchas
sed -e "s|Key = str:substr(p1_rand:get_string(), 1, 6),|Key = p1_rand:get_alphanum_string(6),|" \
-i src/ejabberd_captcha.erl || die "Failed to make captchas alphanumeric"
# Fix bug #591862. ERL_LIBS should point directly to ejabberd directory
# rather than its parent which is default. That way ejabberd directory
# takes precedence is module lookup.
local ejabberd_erl_libs="$(get_ejabberd_path):$(get_erl_libs)"
sed -e "s|\(ERL_LIBS=\){{libdir}}.*|\1${ejabberd_erl_libs}|" \
-i "${S}/ejabberdctl.template" \
|| die 'failed to set ERL_LIBS in ejabberdctl.template'
sed -e "s|\(AC_INIT(ejabberd, \)m4_esyscmd([^)]*)|\1[$PV]|" \
-i configure.ac || die "Failed to write correct version to configure"
# eautoreconf # required in case of download from github
}
src_configure() {
econf \
--docdir="${EPREFIX}/usr/share/doc/${PF}/html" \
--enable-user=jabber \
--disable-system-deps \
$(use_enable debug) \
$(use_enable full-xml) \
$(use_enable hipe) \
$(use_enable mssql) \
$(use_enable mysql) \
$(use_enable odbc) \
$(use_enable pam) \
$(use_enable postgres pgsql) \
$(use_enable redis) \
$(use_enable roster-gw roster-gateway-workaround) \
$(use_enable sqlite) \
$(use_enable sip) \
$(use_enable stun) \
$(use_enable zlib)
# more options to support
# --enable-elixir requires https://github.com/elixir-lang/elixir
}
src_compile() {
emake REBAR='rebar -v' src
}
src_install() {
default
keepdir /var/lib/lock/ejabberdctl
rm -rf "${ED%/}/var/log" || die
rm -rf "${ED%/}/var/spool" || die
if use pam; then
local epam_path="$(get_ejabberd_path)/priv/bin/epam"
pamd_mimic_system xmpp auth account || die "cannot create pam.d file"
into "$(get_ejabberd_path)/priv"
newbin epam-wrapper epam
fi
newconfd "${FILESDIR}/${PN}.confd" "${PN}"
newinitd "${FILESDIR}/${PN}.initd" "${PN}"
systemd_dounit "${PN}.service"
dotmpfiles "${FILESDIR}/${PN}.tmpfiles.conf"
insinto /etc/logrotate.d
newins "${FILESDIR}/${PN}.logrotate" "${PN}"
insinto /usr/share/ejabberd
doins -r sql
}
pkg_preinst() {
if use pam; then
einfo "Adding jabber user to epam group to allow ejabberd to use PAM" \
"authentication"
# See
# <https://docs.ejabberd.im/admin/configuration/#pam-authentication>.
# epam binary is installed by dev-erlang/epam package, therefore SUID
# is set by that package. Instead of jabber group it uses epam group,
# therefore we need to add jabber user to epam group.
usermod -a -G epam jabber || die
fi
}
pkg_postinst() {
if [[ ! ${REPLACING_VERSIONS} ]]; then
echo
elog "For configuration instructions, please see"
elog " https://docs.ejabberd.im/"
echo
fi
if [[ " ${REPLACING_VERSIONS} " =~ \ 17\. ]]; then
ewarn If you are updating from an older version like 17.x
ewarn you may need to add an access_rules section to your
ewarn ejabberd.yml config file.
ewarn Otherwise authentication will be broken and users
ewarn will not be able to log in.
echo
fi
if ejabberd_cert_missing; then
ejabberd_cert_install
fi
}

View File

@ -0,0 +1,15 @@
diff --git a/Makefile.in b/Makefile.in
index a0b4553d..4675b88a 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -204,8 +204,8 @@ install: all copy-files
chmod 755 ejabberd.init
#
# Service script
- $(SED) -e "s*@ctlscriptpath@*$(SBINDIR)*g" ejabberd.service.template \
- > ejabberd.service
+ [ -f ejabberd.service ] || $(SED) -e "s*@ctlscriptpath@*$(SBINDIR)*g" \
+ ejabberd.service.template > ejabberd.service
chmod 644 ejabberd.service
#
# Spool directory

View File

@ -0,0 +1,38 @@
Subject: [PATCH] Adjust ejabberdctl for Gentoo jabberbase setup
Set SHELL since the generic jabber user used on Gentoo for jabber
servers doesn't have a valid shell set by default and fix EXEC_CMD
otherwise it fails with This account is currently not available again
due to jabber not having a valid shell.
Also, workaround the assumption that jabber's /root is a directory when
instead it defaults to /dev/null on Gentoo.
---
diff --git a/ejabberdctl.template b/ejabberdctl.template
index 571b90b..71336c0 100755
--- a/ejabberdctl.template
+++ b/ejabberdctl.template
@@ -82,6 +82,7 @@ fi
ERL_LIBS={{libdir}}
ERL_CRASH_DUMP="$LOGS_DIR"/erl_crash_$(date "+%Y%m%d-%H%M%S").dump
ERL_INETRC="$ETC_DIR"/inetrc
+HOME=$SPOOL_DIR
# define ejabberd parameters
EJABBERD_OPTS="$EJABBERD_OPTS\
@@ -105,12 +106,13 @@ export ERL_MAX_ETS_TABLES
export CONTRIB_MODULES_PATH
export CONTRIB_MODULES_CONF_DIR
export ERL_LIBS
+export HOME
# run command either directly or via su $INSTALLUSER
exec_cmd()
{
case $EXEC_CMD in
- as_install_user) su -s /bin/sh -c '"$0" "$@"' "$INSTALLUSER" -- "$@" ;;
+ as_install_user) su -p -s /bin/sh -c '"$0" "$@"' "$INSTALLUSER" -- "$@" ;;
as_current_user) "$@" ;;
esac
}

View File

@ -0,0 +1,5 @@
# Please configure everything at /etc/jabber/ejabberdctl.cfg
# Put here only command line arguments for ejabberdctl (if any are required)
#EJABBERDCTL_OPTS=""

View File

@ -0,0 +1,54 @@
#!/sbin/openrc-run
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
extra_started_commands="reload"
depend() {
use dns
need epmd net
provide jabber-server
}
start() {
if ejabberdctl status >/dev/null 2>&1; then
ewarn "ejabberd is already started (manually?)."
return 0
fi
ebegin "Starting ejabberd"
/usr/sbin/ejabberdctl ${EJABBERDCTL_OPTS} start
eend $?
}
reload() {
ebegin "Reloading ejabberd configuration"
/usr/sbin/ejabberdctl ${EJABBERDCTL_OPTS} reload_config
eend $?
}
stop() {
ejabberdctl status >/dev/null 2>&1
if test $? = 3; then
ewarn "ejabberd is already stopped (manually?)."
return 0
fi
ebegin "Stopping ejabberd"
if /usr/sbin/ejabberdctl stop >/dev/null 2>&1; then
cnt=0
sleep 1
while ejabberdctl status >/dev/null 2>&1 || test $? = 1; do
echo -n .
cnt=`expr $cnt + 1`
if [ $cnt -ge 60 ] ; then
eend 1
break
fi
sleep 1
done
eend 0
else
eend 1
einfo "Please, run '/usr/sbin/ejabberdctl stop' to see what's going on."
fi
eend 0
}

View File

@ -0,0 +1,13 @@
/var/log/jabber/*.log {
su jabber jabber
weekly
rotate 4
missingok
nocreate
sharedscripts
notifempty
compress
postrotate
/usr/sbin/ejabberdctl reopen-log > /dev/null 2>&1 || true
endscript
}

View File

@ -0,0 +1,2 @@
d /run/lock/ejabberdctl 0750 jabber jabber
d /run/ejabberd 0750 jabber jabber

View File

@ -0,0 +1,21 @@
#!/bin/sh
ERL_LIBS=/usr/lib/erlang/lib
for bin in "$ERL_LIBS"/epam-*/priv/bin/epam; do
if [ -x "$bin" ]; then
if [ -z "$epam" ]; then
epam="$bin"
else
echo "Multiple epam libraries - don't know what to do" >&2
exit 1
fi
fi
done
if [ -z "$epam" ]; then
echo "Couldn't find epam package" >&2
exit 1
fi
exec "$epam"

View File

@ -0,0 +1,32 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>ejabberd@gentoo.org</email>
</maintainer>
<longdescription>
Free and Open Source distributed fault-tolerant Jabber server. It's
mostly written in Erlang, and works on many platforms.
</longdescription>
<use>
<flag name="captcha">Support for CAPTCHA Forms (XEP-158) on registration</flag>
<flag name="full-xml">Use XML features in XMPP stream (ex: CDATA),
requires XML compliant clients</flag>
<flag name="hipe">Compile natively with HiPE, not recommended</flag>
<flag name="mssql">Enable Microsoft SQL Server support (via ODBC) for
data storage</flag>
<flag name="mysql">Enable MySQL support for data storage</flag>
<flag name="odbc">Enable ODBC support to access data storage</flag>
<flag name="postgres">Enable PostgreSQL support for data storage</flag>
<flag name="redis">Enable Redis support for transient data</flag>
<flag name="roster-gw">Turn on workaround for processing gateway subscriptions</flag>
<flag name="sqlite">Enable SQLite database support</flag>
<flag name="sip">Enable SIP support</flag>
<flag name="stun">Enable STUN/TURN support</flag>
<flag name="zlib">Enable Stream Compression (XEP-0138) using zlib</flag>
<!-- TODO Add later: flag name="tools">Build development tools</flag -->
</use>
<upstream>
<remote-id type="github">processone/ejabberd</remote-id>
</upstream>
</pkgmetadata>

1
profiles/repo_name Normal file
View File

@ -0,0 +1 @@
unitas-xmpp

9
unitas-xmpp-overlay.xml Normal file
View File

@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<layman>
<overlay type="git" src="https://git.unitas-network.de/Gentoo/unitas-xmpp.git" name="unitas-xmpp" status="unofficial" contact="admin@unitas-network.de">
<description>Gentoo Portage Overlay for xmpp related software.
It contains ebuilds mainly for internal use without any
warranty.</description>
<link>https://www.unitas-network.de</link>
</overlay>
</layman>