summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Joldasov <bratishkaerik@getgoogleoff.me>2022-11-25 15:25:57 +0600
committerViorel Munteanu <ceamac@gentoo.org>2022-12-13 20:28:29 +0200
commitf236568c63a7fd63a6d8de8c6116f153b7431ca8 (patch)
tree6d98fc512e9864a7284b996e71b99d1f1a9eb652 /net-p2p/ncdc
parentdev-util/makeheaders: add myself as a maintainer (diff)
downloadgentoo-f236568c63a7fd63a6d8de8c6116f153b7431ca8.tar.gz
gentoo-f236568c63a7fd63a6d8de8c6116f153b7431ca8.tar.bz2
gentoo-f236568c63a7fd63a6d8de8c6116f153b7431ca8.zip
net-p2p/ncdc: add 1.23.1, drop 1.23
Signed-off-by: Eric Joldasov <bratishkaerik@getgoogleoff.me> Signed-off-by: Viorel Munteanu <ceamac@gentoo.org>
Diffstat (limited to 'net-p2p/ncdc')
-rw-r--r--net-p2p/ncdc/Manifest3
-rw-r--r--net-p2p/ncdc/ncdc-1.23.1.ebuild49
-rw-r--r--net-p2p/ncdc/ncdc-1.23.ebuild59
3 files changed, 51 insertions, 60 deletions
diff --git a/net-p2p/ncdc/Manifest b/net-p2p/ncdc/Manifest
index 7fd4e557d289..08effe9d51e4 100644
--- a/net-p2p/ncdc/Manifest
+++ b/net-p2p/ncdc/Manifest
@@ -1,2 +1,3 @@
DIST ncdc-1.22.1.tar.gz 371572 BLAKE2B 22125062a42f77e8a7a8afc699523b27a2b7ec566891676ca13b415e93cdae8e2d8d38f303070c7f098408f537266404a875b9ed7f9931a39933916a0ba576ab SHA512 b084ee28a799705009600c450016719ebb992cb0bf7e026513f4cd7e93b2566e7bf8e352eec92f3d69612ce06c930587759d7f7d20d14ee9fe1d5c4b8c4393af
-DIST ncdc-1.23.tar.gz 378384 BLAKE2B 0558b8b51f9cda81ec553171f76a0f6c29a1a67e6f69c5cc2c181428f3bb1db2ecd5a9c2f0c609dac53323ad62e478171121572f0a9d707d9d6d9e9727441873 SHA512 c1b2098df517631a64b24efaeb328a796ed716dca08b61248bb39bba866055ce1e017f33cc594197824476ec65ada53b13bfb56878b5b8aa330288017ad15df2
+DIST ncdc-1.23.1.tar.gz 378481 BLAKE2B 0eb59b88351008c281e7380fb5899b0cfb5f99dac5f17eed391a7da4f95a431a0a68a70c228dec17c235029bae89f8170319f9b28c5a2dc04706ea21b8c91879 SHA512 9e38387ac816499c25a28bf70e548d560265c84d12b9bfd1701decea642c4ab33b3bb5ea9c015c3048e491f9f208c6c26a63d2ce722e831f84f703a6c9f2b86c
+DIST ncdc-1.23.1.tar.gz.asc 833 BLAKE2B ce9f4bd4a612fe862ab34e659e41c2134f31394e285af9d0e3f9ec034f44ccaead2c56db3b9cbb4eee32dab61c86ddb308cbb18023ce1aaf11af9b2ec6d4c67b SHA512 28270437bd08fbcc40a645eef8d71f2ab350314507b66fbd504c7ccab4899af51f483038cefa17d879213a419465ae27a4da8a3fe0598244357f2836a6a5d771
diff --git a/net-p2p/ncdc/ncdc-1.23.1.ebuild b/net-p2p/ncdc/ncdc-1.23.1.ebuild
new file mode 100644
index 000000000000..8a4f76ec1de9
--- /dev/null
+++ b/net-p2p/ncdc/ncdc-1.23.1.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit toolchain-funcs verify-sig
+
+DESCRIPTION="Lightweight direct connect client with a friendly ncurses interface"
+HOMEPAGE="https://dev.yorhel.nl/ncdc"
+SRC_URI="
+ https://dev.yorhel.nl/download/${P}.tar.gz
+ verify-sig? ( https://dev.yorhel.nl/download/${P}.tar.gz.asc )
+"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+
+LICENSE="MIT"
+SLOT="0"
+IUSE="geoip"
+
+RDEPEND="
+ app-arch/bzip2
+ dev-db/sqlite:3
+ >=dev-libs/glib-2.74:2
+ >=net-libs/gnutls-3:=
+ sys-libs/ncurses:=[unicode(+)]
+ sys-libs/zlib
+ geoip? ( dev-libs/libmaxminddb:= )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+ dev-util/makeheaders
+ virtual/pkgconfig
+ dev-lang/perl
+ verify-sig? ( sec-keys/openpgp-keys-yorhel )
+"
+
+VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/yoranheling.asc
+
+src_configure() {
+ local myeconfargs=(
+ $(use_with geoip)
+ )
+
+ econf "${myeconfargs[@]}"
+}
+
+src_compile() {
+ emake AR="$(tc-getAR)"
+}
diff --git a/net-p2p/ncdc/ncdc-1.23.ebuild b/net-p2p/ncdc/ncdc-1.23.ebuild
deleted file mode 100644
index dea5357e9c22..000000000000
--- a/net-p2p/ncdc/ncdc-1.23.ebuild
+++ /dev/null
@@ -1,59 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit toolchain-funcs
-
-DESCRIPTION="ncurses directconnect client"
-HOMEPAGE="https://dev.yorhel.nl/ncdc"
-if [[ ${PV} == *9999 ]] ; then
- inherit autotools git-r3
- EGIT_REPO_URI="git://g.blicky.net/ncdc.git"
-else
- SRC_URI="https://dev.yorhel.nl/download/${P}.tar.gz"
- KEYWORDS="~amd64 ~ppc ~sparc ~x86"
-fi
-
-LICENSE="MIT"
-SLOT="0"
-IUSE="geoip"
-
-RDEPEND="
- app-arch/bzip2
- dev-db/sqlite:3
- >=dev-libs/glib-2.32:2
- >=net-libs/gnutls-3:=
- sys-libs/ncurses:=[unicode(+)]
- sys-libs/zlib:=
- geoip? (
- dev-libs/geoip
- dev-libs/libmaxminddb
- )"
-DEPEND="${RDEPEND}"
-BDEPEND="
- dev-util/makeheaders
- virtual/pkgconfig
-"
-
-src_prepare() {
- default
-
- [[ ${PV} == *9999 ]] && eautoreconf
-}
-
-src_configure() {
- local myeconfargs=(
- $(use_with geoip)
- )
-
- if [[ ${PV} == *9999 ]] ; then
- myeconfargs+=( --enable-git-version )
- fi
-
- econf "${myeconfargs[@]}"
-}
-
-src_compile() {
- emake AR="$(tc-getAR)"
-}