diff options
author | Andrea Postiglione <andrea.postiglione@gmail.com> | 2020-11-16 14:57:46 +0100 |
---|---|---|
committer | Andrea Postiglione <andrea.postiglione@gmail.com> | 2020-11-16 14:57:46 +0100 |
commit | c34f21481c8034f4797981f84d907a5e2bc35b15 (patch) | |
tree | 4ecfd1a3e63efcf68fe343992a71ef24292ed012 /sys-libs | |
parent | sci-electronics/verilator: drop 4.102 (diff) | |
download | guru-c34f21481c8034f4797981f84d907a5e2bc35b15.tar.gz guru-c34f21481c8034f4797981f84d907a5e2bc35b15.tar.bz2 guru-c34f21481c8034f4797981f84d907a5e2bc35b15.zip |
sys-libs/nss-tls: version bump 1.1
Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Andrea Postiglione <andrea.postiglione@gmail.com>
Diffstat (limited to 'sys-libs')
-rw-r--r-- | sys-libs/nss-tls/Manifest | 1 | ||||
-rw-r--r-- | sys-libs/nss-tls/nss-tls-1.1.ebuild | 55 |
2 files changed, 56 insertions, 0 deletions
diff --git a/sys-libs/nss-tls/Manifest b/sys-libs/nss-tls/Manifest index 432e36c30..4813f150a 100644 --- a/sys-libs/nss-tls/Manifest +++ b/sys-libs/nss-tls/Manifest @@ -1 +1,2 @@ +DIST 1.1.tar.gz 30370 BLAKE2B a948eaf021677182082a7f1b09cac7c74abb61dd39fda781d57615cbaf37e9a6db4a54adbccaddd73b3ee4c810e4dbe0bc2630ac25d8d4ee70e001668deb3baf SHA512 85e640ff9566f2b07248b1e11eb6eb7e5e7dd2fda5d479f097dbe8fc58c92df705b887e1e418497690340bd838ae99d8d7a713329fb70456a4a7d31a5127b416 DIST v1.0.tar.gz 28528 BLAKE2B 0755cd98e80185be6bbcde142c5555114637c1bf056f2ef78a31c5318a93efc767e16067249db045e126d217aabc44658b2a4fa7158370737ce4fafd48d6b555 SHA512 882fb8594cdf0ce03be518e23a5dd693eb344504dafcaf017bc8a6e67708b2d4bfbdd38fa46c41822d17149f62f5cc4632b318e8298aba270d945951078cd6c0 diff --git a/sys-libs/nss-tls/nss-tls-1.1.ebuild b/sys-libs/nss-tls/nss-tls-1.1.ebuild new file mode 100644 index 000000000..8ab165315 --- /dev/null +++ b/sys-libs/nss-tls/nss-tls-1.1.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="A DNS over HTTPS resolver for glibc" +HOMEPAGE="https://github.com/dimkr/nss-tls" +SRC_URI="https://github.com/dimkr/nss-tls/archive/${PV}.tar.gz" + +inherit meson ninja-utils + +LICENSE="LGPL-2.1" +KEYWORDS="~amd64 ~x86" +IUSE="systemd" +SLOT="0" + +RDEPEND="dev-libs/glib + net-libs/libsoup" +DEPEND="${RDEPEND} + sys-libs/glibc[nscd(+)]" +BDEPEND="${DEPEND} + dev-util/meson + dev-util/ninja" + +src_prepare() { + default + sed -e "s/@0@\/run\/nss-tls/\/var\/run\/nss-tls/" -i "${S}"/meson.build || die +} + +src_configure() { + local emesonargs=( + --buildtype=release + ) + meson_src_configure +} + +src_compile() { + meson_src_compile +} + +src_install() { + if use systemd ; then + systemd_newunit "${S}"/nss-tlsd.service.in nss-tlsd.service + else + doinitd "${FILESDIR}"/nss-tlsd + fi + meson_src_install +} + +post_install() { + ewarn "Do Not put ip address of the server in nss-tls.conf" + ewarn "use the dns name and add record of dns server in /etc/hosts" + ewarn "echo "8.8.8.8 dns.google" >> /etc/hosts" + +} |