summaryrefslogtreecommitdiff
path: root/net-nntp/slrn
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /net-nntp/slrn
reinit the tree, so we can have metadata
Diffstat (limited to 'net-nntp/slrn')
-rw-r--r--net-nntp/slrn/Manifest6
-rw-r--r--net-nntp/slrn/files/slrn-1.0.2-make.patch36
-rw-r--r--net-nntp/slrn/metadata.xml14
-rw-r--r--net-nntp/slrn/slrn-1.0.2.ebuild41
4 files changed, 97 insertions, 0 deletions
diff --git a/net-nntp/slrn/Manifest b/net-nntp/slrn/Manifest
new file mode 100644
index 000000000000..b8f037e3330d
--- /dev/null
+++ b/net-nntp/slrn/Manifest
@@ -0,0 +1,6 @@
+AUX slrn-1.0.2-make.patch 1044 SHA256 167584a0820d1246c94f2638358d0e5664a2fed50cc84ee58a23c4064ed10fa6 SHA512 14859999f7739121027a7ddd6b0f157534a3e64a5c63b2354c4962c0391b9fbc5b4f80bc4260909561b534d79abcb3bdcca6f737eb52029f9c48cb0aae5f6473 WHIRLPOOL b0def6989699f8bb86a512a0210ef435cb867f4e6434d6e3e14d44c9ec019f12b04838633341334a8fcd83f13023dde4935743504ff533b46d424841c2cf6ae1
+DIST slrn-1.0.2.tar.bz2 995433 SHA256 99acbc51e7212ccc5c39556fa8ec6ada772f0bb5cc45a3bb90dadb8fe764fb59 SHA512 264dce88622e544356782c483f3639252ba57408d79775b2cd3ea06962ea3ebc568bc45ed19f1690c66b5b71d82eadeebd62a0bad656b1339ab7b80eb3f3cc5f WHIRLPOOL 831cce64c22fb42d7b6f3ecd6b19e8b6e26b9a25a5c1b75aeea74b9368b09bf5abc8acfc86b7651e528e9db20c4586ba56a05d18ee2c094d752947f832f31e0f
+EBUILD slrn-1.0.2.ebuild 912 SHA256 8be55b84546fcc608f0d8c9cfa436fd298bcb8aeaedb366c36d140a86e3ada72 SHA512 4380069e15b8398c2c1a6b06a3f62e51d7935bfe77c4eb4a5a2ec196dc33c3d0452ce9811bd0f7d38598e3af4079ca9978b4dea4a0a3e7f7e8c8b7ed6889c154 WHIRLPOOL 4effb7808559cbc2860f32a30eac0239418c685f2e92125204a575b731341532b0ffd94bafb801e361bb271b1525eb02882167583697e4b65cc63455e7f4d1f6
+MISC ChangeLog 3228 SHA256 c195c7851faf9270e001b4e4ad5e5bc82d9775e2ca6a79e0b63405ef14d23f6e SHA512 b832b2540f86579252d2adf019ffcb30b5d09110e1b4b49ef9d3dca3275a55b2a3bd25515e84170a5c158cb619cb90302d5417bea7f057e97eaae153e72c3b65 WHIRLPOOL 2eab1b7bbb11bd5c1d20ff49be9529d04caa357da7f2064f845418c0e6f70497658e7d25d337929ca2815a6f0c47c92ed022ee17b24d6ba9ba241a6846b8d75a
+MISC ChangeLog-2015 10363 SHA256 aed372a0972ef294a427ec97a1dd4624ec8b5026ff91e40d0daa2e35bb63ed83 SHA512 35d714af08837fb25f9e89143ddac40a4f5cdb8eaf64e1e0b101108d5d0c5709850cd151984af4d6fe82913d50fc65e2f06728cf71f8d8de510f95ba8b2c16d5 WHIRLPOOL 6171afd9bb085f939ae6e35da997a36459ae243f4e5b7295ba84b73806ebaa31b6919197f18bf26997ef35057273934bfb32e53ff2422adcf91ced47eb8bd895
+MISC metadata.xml 451 SHA256 1a535c35044518e702226ecd863b102dac653a949eebef37ea9b64e1c5d6156f SHA512 9d3b5849e6bafbc2f0b9154f81078b4808d7b58cf03747655a3953696d7c147bb162340b07ada8dd2ec1576824fb5ddcda972f5950fbdf7f2ee5534cc0f0fa93 WHIRLPOOL cf4c120ac662335d48539616838f81c00ea8851b224df738f5cd7c8c3f3a7426f634af15dea4048f7733c78894a36e565b4249e666eab6867efe1b64e0052e3c
diff --git a/net-nntp/slrn/files/slrn-1.0.2-make.patch b/net-nntp/slrn/files/slrn-1.0.2-make.patch
new file mode 100644
index 000000000000..e03fbb472c36
--- /dev/null
+++ b/net-nntp/slrn/files/slrn-1.0.2-make.patch
@@ -0,0 +1,36 @@
+--- slrn-1.0.2/src/Makefile.in
++++ slrn-1.0.2/src/Makefile.in
+@@ -153,7 +153,7 @@
+ $(MKINSDIR) $(DEST_SLRN_LIB_DIR)
+ $(MKINSDIR) $(DEST_SLRN_SLANG_DIR)
+ # $(MKINSDIR) $(DEST_CONFDIR)
+-installdocs:
++installdocs: installdirs
+ @for i in $(MAN_FILES); \
+ do \
+ echo $(INSTALL_DATA) $$i $(DEST_MANDIR)/man1/; \
+@@ -186,7 +186,7 @@
+ exit 1; \
+ fi; \
+ done
+-installslang:
++installslang: installdirs
+ @files=$(CONF_FILES); \
+ for i in $$files; \
+ do \
+@@ -204,11 +204,11 @@
+ exit 1; \
+ fi; \
+ done
+-installlocales:
++installlocales: installdirs
+ -cd ../po; $(MAKE) DESTDIR=$(DESTDIR) LOCALEDIR=$(LOCALEDIR) install
+-installbin:
+- $(INSTALL) -m 755 -s $(OBJDIR)/slrn $(DEST_BINDIR)
+- -$(INSTALL) -m 755 -s $(OBJDIR)/slrnpull $(DEST_BINDIR)
++installbin: installdirs
++ $(INSTALL) -m 755 $(OBJDIR)/slrn $(DEST_BINDIR)
++ -$(INSTALL) -m 755 $(OBJDIR)/slrnpull $(DEST_BINDIR)
+ install: all installdirs installbin installdocs installslang installlocales
+
+ # The symlinks target is for my own private use. It simply creates the object
diff --git a/net-nntp/slrn/metadata.xml b/net-nntp/slrn/metadata.xml
new file mode 100644
index 000000000000..acd015295060
--- /dev/null
+++ b/net-nntp/slrn/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <!-- maintainer-needed -->
+ <use>
+ <flag name="uudeview">Add support for yEnc coding and more using
+ <pkg>dev-libs/uulib</pkg></flag>
+ <flag name="canlock">Add support for cancel locks via
+ <pkg>net-libs/canlock</pkg></flag>
+ </use>
+ <upstream>
+ <remote-id type="sourceforge">slrn</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/net-nntp/slrn/slrn-1.0.2.ebuild b/net-nntp/slrn/slrn-1.0.2.ebuild
new file mode 100644
index 000000000000..678b2492814f
--- /dev/null
+++ b/net-nntp/slrn/slrn-1.0.2.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit autotools-utils
+
+MY_P="${PN}_${PV/_/~}"
+
+DESCRIPTION="A s-lang based newsreader"
+HOMEPAGE="http://slrn.sourceforge.net/"
+SRC_URI="http://jedsoft.org/releases/${PN}/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux"
+IUSE="canlock nls ssl uudeview"
+
+RDEPEND="virtual/mta
+ app-arch/sharutils
+ >=sys-libs/slang-2.1.3
+ canlock? ( net-libs/canlock )
+ ssl? ( dev-libs/openssl )
+ uudeview? ( dev-libs/uulib )"
+DEPEND="${RDEPEND}
+ nls? ( sys-devel/gettext )"
+
+AUTOTOOLS_IN_SOURCE_BUILD=1
+PATCHES=( "${FILESDIR}"/${P}-make.patch )
+
+src_configure() {
+ local myeconfargs=(
+ --with-docdir="${EPREFIX}"/usr/share/doc/${PF}
+ --with-slrnpull
+ $(use_with canlock)
+ $(use_with uudeview uu)
+ $(use_enable nls)
+ $(use_with ssl)
+ )
+
+ autotools-utils_src_configure
+}