diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /www-apps/wiliki | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'www-apps/wiliki')
-rw-r--r-- | www-apps/wiliki/Manifest | 1 | ||||
-rw-r--r-- | www-apps/wiliki/files/wiliki-0.6.1-cgi-gentoo.patch | 23 | ||||
-rw-r--r-- | www-apps/wiliki/files/wiliki-po-gentoo.patch | 11 | ||||
-rw-r--r-- | www-apps/wiliki/metadata.xml | 18 | ||||
-rw-r--r-- | www-apps/wiliki/wiliki-0.6.1.ebuild | 64 |
5 files changed, 117 insertions, 0 deletions
diff --git a/www-apps/wiliki/Manifest b/www-apps/wiliki/Manifest new file mode 100644 index 000000000000..11583438d0fc --- /dev/null +++ b/www-apps/wiliki/Manifest @@ -0,0 +1 @@ +DIST WiLiKi-0.6.1.tgz 123954 SHA256 060b612c09d132932c56be7beadb61abb4bf7d6f25743ba016639e5e40c9254d 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 new file mode 100644 index 000000000000..55def56d0510 --- /dev/null +++ b/www-apps/wiliki/files/wiliki-0.6.1-cgi-gentoo.patch @@ -0,0 +1,23 @@ +--- src/wiliki.cgi.orig 2008-01-11 08:52:19.000000000 -0500 ++++ src/wiliki.cgi 2009-01-30 11:54:41.000000000 -0500 +@@ -52,13 +52,13 @@ + (define (main args) + (wiliki-main + (make <wiliki> +- :db-path "/home/shiro/data/wikidata.dbm" +- :top-page "WiLiKi" +- :title "MyWiliki" +- :description "Shiro's Wiliki Site" +- :style-sheet "wiliki.css" +- :language 'jp +- :charsets '((jp . euc-jp) (en . euc-jp)) ++ :db-path "/var/www/localhost/wiliki-0.6.1/data/wikidata.dbm" ++ :top-page "Gentoo WiLiKi" ++ :title "Gentoo Wiliki" ++ :description "Gentoo Wiliki Site" ++ :style-sheet "/wiliki/wiliki.css" ++ :language 'en ++ :charsets '((en . utf-8) (jp . euc-jp) (en . euc-jp)) + :image-urls '((#/^http:\/\/sourceforge.net\/sflogo/ allow)) + :debug-level 0 + ))) diff --git a/www-apps/wiliki/files/wiliki-po-gentoo.patch b/www-apps/wiliki/files/wiliki-po-gentoo.patch new file mode 100644 index 000000000000..3e5e93f79436 --- /dev/null +++ b/www-apps/wiliki/files/wiliki-po-gentoo.patch @@ -0,0 +1,11 @@ +--- 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 @@ + PO_FILES = $(addsuffix .po,$(ALL_LINGUAS)) + MO_FILES = $(addsuffix .gmo,$(ALL_LINGUAS)) + +-MSGDIR = $(datadir)/locale/$$lingua/LC_MESSAGES/ ++MSGDIR = $(DESTDIR)/$(datadir)/locale/$$lingua/LC_MESSAGES/ + + POTFILES = $(top_srcdir)/src/wiliki.scm \ + $(top_srcdir)/src/wiliki/db.scm \ diff --git a/www-apps/wiliki/metadata.xml b/www-apps/wiliki/metadata.xml new file mode 100644 index 000000000000..81aa0dcdd197 --- /dev/null +++ b/www-apps/wiliki/metadata.xml @@ -0,0 +1,18 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>scheme</herd> + <longdescription> + WiLiKi is a lightweight Wiki Engine written in Scheme. + + WiLiKi is yet another Wiki-clone suitable for intra-net collaborative work + in multilingual environment. The features include multiple back-end + databases, permission and version control, and easy access from other + programs. + + http://practical-scheme.net/wiliki/ + </longdescription> + <upstream> + <remote-id type="sourceforge">wiliki</remote-id> + </upstream> +</pkgmetadata> diff --git a/www-apps/wiliki/wiliki-0.6.1.ebuild b/www-apps/wiliki/wiliki-0.6.1.ebuild new file mode 100644 index 000000000000..c4793d2765df --- /dev/null +++ b/www-apps/wiliki/wiliki-0.6.1.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +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 +} |