From ca9627e70852f6b2e835660df870fe3ab405882d Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Sun, 1 Sep 2019 00:00:32 +0200 Subject: Initial import --- net-nntp/colobus/Manifest | 3 +++ net-nntp/colobus/colobus-2.1-r1.ebuild | 34 +++++++++++++++++++++++++++++++++ net-nntp/colobus/files/colobus-ds.patch | 12 ++++++++++++ 3 files changed, 49 insertions(+) create mode 100644 net-nntp/colobus/Manifest create mode 100644 net-nntp/colobus/colobus-2.1-r1.ebuild create mode 100644 net-nntp/colobus/files/colobus-ds.patch (limited to 'net-nntp') diff --git a/net-nntp/colobus/Manifest b/net-nntp/colobus/Manifest new file mode 100644 index 0000000..8dbbaa5 --- /dev/null +++ b/net-nntp/colobus/Manifest @@ -0,0 +1,3 @@ +AUX colobus-ds.patch 414 RMD160 ca634239d33cd2885ec076372ce6033b6e5e1866 SHA1 c332f09a5009b01619b4afccc552fd24630bb8f7 SHA256 1e3ad00dd2153d7bda4e9f2dff89d59cab0bfe5b6885c42a17a9927219c6ec7d +DIST colobus-2.1.tar.gz 56965 RMD160 acb2189bc229ac45d56607fd331277ab8f91930b SHA1 08c2b7614efcb565f95c3453e07eea7eaff459a3 SHA256 a51f20fe1ba6c57e673ad5b387cca8d9d5c2f6b511de802234100a19b83f7d2d +EBUILD colobus-2.1-r1.ebuild 783 RMD160 6d09ac16c07a409f01421e22caac38692fd6eb7f SHA1 163db2b8c22a54df25cb4d55f714caf3bd1db402 SHA256 8cafe35c74f39e3de695977da1146670206072daafab3f8f2479813cfac6275c diff --git a/net-nntp/colobus/colobus-2.1-r1.ebuild b/net-nntp/colobus/colobus-2.1-r1.ebuild new file mode 100644 index 0000000..a289e49 --- /dev/null +++ b/net-nntp/colobus/colobus-2.1-r1.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit eutils + +DESCRIPTION="colobus" +HOMEPAGE="http://trainedmonkey.com/colobus/" +SRC_URI="http://trainedmonkey.com/colobus/${P}.tar.gz" +LICENSE="GPL-2" +SLOT="0" +IUSE="" +KEYWORDS="amd64 x86" +DEPEND="" +RDEPEND="dev-lang/perl + dev-perl/DBI + perl-core/Digest-MD5 + dev-perl/MailTools" +#RDEPEND="" + + +#S="${WORKDIR}/${P/_/}" + +src_install() { + mkdir -p ${D}/usr/lib/ + tar xzf ${DISTDIR}/${P}.tar.gz -C ${D}/usr/lib + EPATCH_OPTS="-p1 -d ${D}/usr/lib/${P}" epatch ${FILESDIR}/colobus-ds.patch + + + mkdir -p ${D}/etc/cron.hourly/ + echo "(cd /usr/lib/${P} && ./colobus-archive -a >/dev/null)" > ${D}/etc/cron.hourly/colobus.sh + chmod 0755 ${D}/etc/cron.hourly/colobus.sh + +} diff --git a/net-nntp/colobus/files/colobus-ds.patch b/net-nntp/colobus/files/colobus-ds.patch new file mode 100644 index 0000000..70aad50 --- /dev/null +++ b/net-nntp/colobus/files/colobus-ds.patch @@ -0,0 +1,12 @@ +diff -dPNur colobus-2.0/colobus.sql colobus-2.0-new/colobus.sql +--- colobus-2.0/colobus.sql 2004-05-16 06:44:19.000000000 +0500 ++++ colobus-2.0-new/colobus.sql 2004-07-21 21:04:23.000000000 +0500 +@@ -8,6 +8,8 @@ + -- Table structure for table `header` + -- + ++CREATE DATABASE IF NOT EXISTS colobus; ++USE colobus; + DROP TABLE IF EXISTS header; + CREATE TABLE header ( + grp smallint(5) unsigned NOT NULL default '0', -- cgit v1.2.3