diff options
Diffstat (limited to 'www-apps/wiliki')
-rw-r--r-- | www-apps/wiliki/Manifest | 7 | ||||
-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 | 21 | ||||
-rw-r--r-- | www-apps/wiliki/wiliki-0.6.1.ebuild | 63 |
5 files changed, 125 insertions, 0 deletions
diff --git a/www-apps/wiliki/Manifest b/www-apps/wiliki/Manifest new file mode 100644 index 000000000000..649c17e881b9 --- /dev/null +++ b/www-apps/wiliki/Manifest @@ -0,0 +1,7 @@ +AUX wiliki-0.6.1-cgi-gentoo.patch 812 SHA256 2e0f8e5d8a381524ad4e4e1793a2edbe9a925b0f9387fd2c3f8262f3c0165551 SHA512 46f1972f046d07a4bc0f5ce17d57bf6211588128f3b8e0387d13fa3c6d75ea72f8b514955960332de6d4befbd00174965f113ab50fc3cb38202b3c356b052673 WHIRLPOOL ce2e850d10c6bb3228ce7ef819ebc77ec623ac3dcee9c32d69e4d7018292f1a5c5950a2bcd0c2e82e381196962b69b29891b05444e103cb02f3751c76914de4a +AUX wiliki-po-gentoo.patch 426 SHA256 67f584a529abb63d17810ea5833638ea4d543f50dafae212657174006acbc968 SHA512 0d4eaedff0debe4e964bb4a0a8cdf348b8a4996e4ef403f4e66c8ea57e4b3080c8c33bfb293fe117e86ab3057039da365fdd44349bca26b0319f65a50e6d7cd5 WHIRLPOOL 8f6cc05ea9dc528297346f63f54a7c9c086ec69389f29d11476c02e0dec08b9a463cbe75505010e1f1f03d8b3dc53ac7e524e89b2b0435ab6fd8f389886271d3 +DIST WiLiKi-0.6.1.tgz 123954 SHA256 060b612c09d132932c56be7beadb61abb4bf7d6f25743ba016639e5e40c9254d SHA512 de781f028d38edd37db43384dbdc8a57e9fbfd8b71f12c24840a90a6f000b0a2a85425f5cf3b49c5837bc3d104e2080dbb9c8e763cea54121dac779e3c5d7021 WHIRLPOOL 8b02675ca91fcaba5514688e76b19ad5f2dd17240fa8928dde051fdd6743265e25a205ec90a4e4c7b46cb3a7514eed5111a2428369d55b499f6c364c4e7dd041 +EBUILD wiliki-0.6.1.ebuild 1434 SHA256 b928edfc25799b8bfa245de1adaeceacf59263becd8533a5febbf337c015d520 SHA512 64b3c6a1dea7a8961dc2b44c0989525adb2a601083bf42f719250d5edee4625ffa9b9f548d23b27a23e2f747a9b9a05678ff027bbf473afac994287bc54ac897 WHIRLPOOL 7e6936c0c983a0dd8a19a206dbd091a80507f4e646b323fdb201123b15f28709450838b57f103c293a773c45c61c57d2ab3d4f99bace26d1be959d778269be92 +MISC ChangeLog 2495 SHA256 7087703f24fd537c7892738ad1ea18580f4c34dcad02c9016a5dd60e71b4b8c0 SHA512 feaf13a5ecb59b496138b55680188ae71454a64d8f534fb7929cad28266e31345d3f012f15c467a62e42656719359c9370fef78219c9749af6d64d3f9ca6f4cf WHIRLPOOL fe5c80c085b2213dc60c7044fbc999e0b34dc560c19a7d5bc8ae832b792f20542d8330ca203d2c8fd310ea5235281a7a67350b93fea32dc61968621c4d88514b +MISC ChangeLog-2015 550 SHA256 34bd1697bd09184712042fc23d1034678a3f70f951f8479f2c1293c33962941e SHA512 845452519602d7cf5af8058e9dca47cb52b7b66ada29868282fb1682a8c6c9002304dad0343a8825a15c8eebcb69302847dd61c5ac9ed5e803b88d7d37e72ee0 WHIRLPOOL 64730a9a5234e1edc91f822b04411cc3afeaabe7aa744f6034e62c3d9253c7e251ee03df8b97c29da8cf0049e1df3dafb3fcd9c6f0b58719f9b2fdcfa0d1a9a7 +MISC metadata.xml 692 SHA256 bcb460b88e9574db363bfc9625e2191f951dee1ec3bec50b64133e26a3908a27 SHA512 ed8c01a0526eeb75e36d011af5a619a9882ca2e511e48a8b2dd914545d097968958c000c3898a97b2f60b6f42c81efc25e64ab2442a1bcedec952c764ee5b7e1 WHIRLPOOL 74a60a3e0a2376fc4f8e263ee16a476d4b09df52a483fd082a5d32d5b5a949a8025a94312132369a5256724a1fd093d468cb90bb18889c76c9cdcdfe16dc56af 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..c51eae6b19fe --- /dev/null +++ b/www-apps/wiliki/metadata.xml @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>scheme@gentoo.org</email> + <name>Gentoo Scheme Project</name> + </maintainer> + <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..b3d0f900c446 --- /dev/null +++ b/www-apps/wiliki/wiliki-0.6.1.ebuild @@ -0,0 +1,63 @@ +# 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 +} |