From 45c8b1fd53574f187c1465f695ad2940b4e4b225 Mon Sep 17 00:00:00 2001 From: Aaron Bauman Date: Sun, 1 Apr 2018 20:18:51 -0400 Subject: www-apps/wiliki: bump to EAPI=6, use HTTPS, and drop old --- .../wiliki/files/wiliki-0.6.1-cgi-gentoo.patch | 4 +- www-apps/wiliki/files/wiliki-po-gentoo.patch | 6 +-- www-apps/wiliki/wiliki-0.6.1-r1.ebuild | 63 ++++++++++++++++++++++ www-apps/wiliki/wiliki-0.6.1.ebuild | 63 ---------------------- 4 files changed, 68 insertions(+), 68 deletions(-) create mode 100644 www-apps/wiliki/wiliki-0.6.1-r1.ebuild delete mode 100644 www-apps/wiliki/wiliki-0.6.1.ebuild (limited to 'www-apps/wiliki') diff --git a/www-apps/wiliki/files/wiliki-0.6.1-cgi-gentoo.patch b/www-apps/wiliki/files/wiliki-0.6.1-cgi-gentoo.patch index 55def56d0510..173f25fc4cad 100644 --- a/www-apps/wiliki/files/wiliki-0.6.1-cgi-gentoo.patch +++ b/www-apps/wiliki/files/wiliki-0.6.1-cgi-gentoo.patch @@ -1,5 +1,5 @@ ---- src/wiliki.cgi.orig 2008-01-11 08:52:19.000000000 -0500 -+++ src/wiliki.cgi 2009-01-30 11:54:41.000000000 -0500 +--- a/src/wiliki.cgi.orig 2008-01-11 08:52:19.000000000 -0500 ++++ b/src/wiliki.cgi 2009-01-30 11:54:41.000000000 -0500 @@ -52,13 +52,13 @@ (define (main args) (wiliki-main diff --git a/www-apps/wiliki/files/wiliki-po-gentoo.patch b/www-apps/wiliki/files/wiliki-po-gentoo.patch index 3e5e93f79436..5ce0cca9736f 100644 --- a/www-apps/wiliki/files/wiliki-po-gentoo.patch +++ b/www-apps/wiliki/files/wiliki-po-gentoo.patch @@ -1,6 +1,6 @@ ---- po/Makefile.in.orig 2008-01-31 21:38:35.000000000 -0500 -+++ po/Makefile.in 2009-01-09 14:34:08.000000000 -0500 -@@ -28,7 +28,7 @@ +--- a/po/Makefile.orig 2018-04-01 19:58:29.879110970 -0400 ++++ b/po/Makefile.in 2018-04-01 19:59:14.929385523 -0400 +@@ -28,7 +28,7 @@ ALL_LINGUAS = @ALL_LINGUAS@ PO_FILES = $(addsuffix .po,$(ALL_LINGUAS)) MO_FILES = $(addsuffix .gmo,$(ALL_LINGUAS)) diff --git a/www-apps/wiliki/wiliki-0.6.1-r1.ebuild b/www-apps/wiliki/wiliki-0.6.1-r1.ebuild new file mode 100644 index 000000000000..4add1c335f63 --- /dev/null +++ b/www-apps/wiliki/wiliki-0.6.1-r1.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit webapp + +MY_PN="WiLiKi" +MY_P=${MY_PN}-${PV} + +DESCRIPTION="WiLiKi is a lightweight Wiki engine written in and running on Gauche Scheme" +HOMEPAGE="https://practical-scheme.net/wiliki/" +SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tgz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="cgi fastcgi" + +DEPEND="dev-scheme/gauche + cgi? ( virtual/httpd-cgi ) + fastcgi? ( virtual/httpd-fastcgi )" +RDEPEND="${DEPEND}" + +need_httpd_cgi + +WEBAPP_MANUAL_SLOT="yes" + +S="${WORKDIR}"/${MY_P} + +PATCHES=( + "${FILESDIR}"/${PN}-po-gentoo.patch + "${FILESDIR}"/${P}-cgi-gentoo.patch +) + +src_install() { + webapp_src_preinst + emake DESTDIR="${D}" install || die "Install failed" + + insinto "${MY_CGIBINDIR}" + doins -r src/wiliki.cgi src/wiliki2.cgi || die "doins failed" + fperms +x "${MY_CGIBINDIR}"/wiliki.cgi || die "fperms failed" + + insinto "${MY_HTDOCSDIR}" + doins src/wiliki.css src/wiliki2.css || die "doins failed" + + dodir "${MY_HOSTROOTDIR}"/${PF}/data || die "dodir failed" + webapp_serverowned "${MY_HOSTROOTDIR}"/${PF}/data + + webapp_src_install +} + +pkg_postinst() { + einfo + einfo "Quickstart:" + einfo " modify wiliki.cgi to customize the WiLiKi's behavior" + einfo " modify wiliki.css to customize the WiLiKi's look" + einfo + einfo " http://localhost/cgi-bin/wiliki.cgi" + einfo + + webapp_pkg_postinst +} diff --git a/www-apps/wiliki/wiliki-0.6.1.ebuild b/www-apps/wiliki/wiliki-0.6.1.ebuild deleted file mode 100644 index b3d0f900c446..000000000000 --- a/www-apps/wiliki/wiliki-0.6.1.ebuild +++ /dev/null @@ -1,63 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="3" - -inherit webapp eutils - -MY_PN="WiLiKi" -MY_P=${MY_PN}-${PV} - -DESCRIPTION="WiLiKi is a lightweight Wiki engine written in and running on Gauche Scheme" -HOMEPAGE="http://practical-scheme.net/wiliki/" -SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tgz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="cgi fastcgi" - -DEPEND="dev-scheme/gauche - cgi? ( virtual/httpd-cgi ) - fastcgi? ( virtual/httpd-fastcgi )" -RDEPEND="${DEPEND}" - -need_httpd_cgi - -WEBAPP_MANUAL_SLOT="yes" - -S="${WORKDIR}"/${MY_P} - -src_prepare() { - epatch "${FILESDIR}"/${PN}-po-gentoo.patch - epatch "${FILESDIR}"/${P}-cgi-gentoo.patch -} - -src_install() { - webapp_src_preinst - emake DESTDIR="${D}" install || die "Install failed" - - insinto "${MY_CGIBINDIR}" - doins -r src/wiliki.cgi src/wiliki2.cgi || die "doins failed" - fperms +x "${MY_CGIBINDIR}"/wiliki.cgi || die "fperms failed" - - insinto "${MY_HTDOCSDIR}" - doins src/wiliki.css src/wiliki2.css || die "doins failed" - - dodir "${MY_HOSTROOTDIR}"/${PF}/data || die "dodir failed" - webapp_serverowned "${MY_HOSTROOTDIR}"/${PF}/data - - webapp_src_install -} - -pkg_postinst() { - einfo - einfo "Quickstart:" - einfo " modify wiliki.cgi to customize the WiLiKi's behavior" - einfo " modify wiliki.css to customize the WiLiKi's look" - einfo - einfo " http://localhost/cgi-bin/wiliki.cgi" - einfo - - webapp_pkg_postinst -} -- cgit v1.2.3-65-gdbad