net-dns/dnscrypt-proxy: update live ebuild
authorGeorgy Yakovlev <gyakovlev@gentoo.org>
Thu, 14 Feb 2019 06:49:48 +0000 (22:49 -0800)
committerGeorgy Yakovlev <gyakovlev@gentoo.org>
Thu, 14 Feb 2019 06:50:43 +0000 (22:50 -0800)
Remove unneeded test from IUSE
bump eapi
clean up obsolete postinst messages

Package-Manager: Portage-2.3.60, Repoman-2.3.12
Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
net-dns/dnscrypt-proxy/dnscrypt-proxy-9999.ebuild

index e2157844bf1412f11cbd3215586e7987c975852a..46f88908c5f887a793115106ea6ed81beb73ff5b 100644 (file)
@@ -1,7 +1,7 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=7
 
 EGO_PN="github.com/jedisct1/${PN}"
 
@@ -20,7 +20,7 @@ HOMEPAGE="https://github.com/jedisct1/dnscrypt-proxy"
 
 LICENSE="ISC"
 SLOT="0"
-IUSE="pie test"
+IUSE="pie"
 
 FILECAPS=( cap_net_bind_service+ep usr/bin/dnscrypt-proxy )
 PATCHES=( "${FILESDIR}"/config-full-paths-r10.patch )
@@ -74,20 +74,6 @@ pkg_postinst() {
                ewarn
        fi
 
-       local v
-       for v in ${REPLACING_VERSIONS}; do
-               if [[ ${v} == 1.* ]] ; then
-                       elog "Version 2 is a complete rewrite of ${PN}"
-                       elog "please clean up old config/log files"
-                       elog
-               fi
-               if [[ ${v} == 2.* ]] ; then
-                       elog "As of version 2.0.12 of ${PN} runs as an 'dnscrypt-proxy' user/group"
-                       elog "you can remove obsolete 'dnscrypt' accounts from the system"
-                       elog
-               fi
-       done
-
        if systemd_is_booted || has_version sys-apps/systemd; then
                elog "Using systemd socket activation may cause issues with speed"
                elog "latency and reliability of ${PN} and is discouraged by upstream"