diff options
Diffstat (limited to 'app-misc/geneweb')
-rw-r--r-- | app-misc/geneweb/ChangeLog | 11 | ||||
-rw-r--r-- | app-misc/geneweb/Manifest | 28 | ||||
-rw-r--r-- | app-misc/geneweb/files/digest-geneweb-5.00 | 3 | ||||
-rw-r--r-- | app-misc/geneweb/files/geneweb-5.00-gentoo.patch | 13 | ||||
-rw-r--r-- | app-misc/geneweb/files/geneweb.confd | 6 | ||||
-rw-r--r-- | app-misc/geneweb/files/geneweb.initd | 20 | ||||
-rw-r--r-- | app-misc/geneweb/geneweb-5.00.ebuild | 55 | ||||
-rw-r--r-- | app-misc/geneweb/metadata.xml | 15 |
8 files changed, 151 insertions, 0 deletions
diff --git a/app-misc/geneweb/ChangeLog b/app-misc/geneweb/ChangeLog new file mode 100644 index 000000000000..6bda44ed8d81 --- /dev/null +++ b/app-misc/geneweb/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for app-misc/geneweb +# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-misc/geneweb/ChangeLog,v 1.1 2007/08/18 14:21:28 tupone Exp $ + +*geneweb-5.00 (18 Aug 2007) + + 18 Aug 2007; Tupone Alfredo <tupone@gentoo.org> + +files/geneweb-5.00-gentoo.patch, +files/geneweb.confd, + +files/geneweb.initd, +metadata.xml, +geneweb-5.00.ebuild: + New ebuild. Based on bug #22239 by David Grant + diff --git a/app-misc/geneweb/Manifest b/app-misc/geneweb/Manifest new file mode 100644 index 000000000000..507e6762b8be --- /dev/null +++ b/app-misc/geneweb/Manifest @@ -0,0 +1,28 @@ +AUX geneweb-5.00-gentoo.patch 376 RMD160 474477fbae0816168f42ea2ee31a15895a776b50 SHA1 f4a09ed22849f9160a54c66dfb2afd8112396b51 SHA256 119255b891a9b8241321a496e1ee779d599a32318c13bb8803185ddea69cdf36 +MD5 cf86b4c4e077983833f0d4525cf47612 files/geneweb-5.00-gentoo.patch 376 +RMD160 474477fbae0816168f42ea2ee31a15895a776b50 files/geneweb-5.00-gentoo.patch 376 +SHA256 119255b891a9b8241321a496e1ee779d599a32318c13bb8803185ddea69cdf36 files/geneweb-5.00-gentoo.patch 376 +AUX geneweb.confd 67 RMD160 4de8a9e76c426dc7435d197bef470ea369be3b1d SHA1 a20103555d17633fc08dfc442e746d4fe117867b SHA256 0b2044dc633d95f953b9af6964a54c07d60784dda03c970dba97ca1026c016f1 +MD5 a59fa58bd202ef1d57d6e65115054185 files/geneweb.confd 67 +RMD160 4de8a9e76c426dc7435d197bef470ea369be3b1d files/geneweb.confd 67 +SHA256 0b2044dc633d95f953b9af6964a54c07d60784dda03c970dba97ca1026c016f1 files/geneweb.confd 67 +AUX geneweb.initd 441 RMD160 240e2173fc5559fd9670aa4489f355193caf2a7e SHA1 9afb488d614a124be8d46607ac3d76c0d59a2395 SHA256 f9430e7d87c06ca202ea5ed13c4a8b6b20c79975a919bcae1fabce57721fccbb +MD5 8b709817f27b14f91a01e0ef89c17e4e files/geneweb.initd 441 +RMD160 240e2173fc5559fd9670aa4489f355193caf2a7e files/geneweb.initd 441 +SHA256 f9430e7d87c06ca202ea5ed13c4a8b6b20c79975a919bcae1fabce57721fccbb files/geneweb.initd 441 +DIST geneweb-5.00.tgz 1379144 RMD160 11e0c02292802155dd6af57548cd5bdf95296d74 SHA1 e15ce1dbfafb05bf568c32dbcb2eb85f14029a99 SHA256 88d2e07af61795d4247281d584144c3ac1a914f790f696581f0e1ab087b0ee74 +EBUILD geneweb-5.00.ebuild 1661 RMD160 a0376b62cc9367c5ce73b2a2bf6a4a1d865ed9a6 SHA1 420efb469bc198a78ead9701b6a2eb30326f3df2 SHA256 62c918c9eae9c7b2f1040346bae9f842efe484cef4e7b4c280d7a19f417a101c +MD5 1463dbefd80d56d4bedc219d47dd801c geneweb-5.00.ebuild 1661 +RMD160 a0376b62cc9367c5ce73b2a2bf6a4a1d865ed9a6 geneweb-5.00.ebuild 1661 +SHA256 62c918c9eae9c7b2f1040346bae9f842efe484cef4e7b4c280d7a19f417a101c geneweb-5.00.ebuild 1661 +MISC ChangeLog 365 RMD160 de4aa7efd62ca06aadf92963cbba1f996c621728 SHA1 511ae4a6de25690a7d0a2c13f371f560c42a5959 SHA256 af9f5da349b98ac7499d8194c2375fd9fdb31a0e11035bce67f329c5861c4094 +MD5 a3ae6b16b9a706ac632e26f8a90db2c3 ChangeLog 365 +RMD160 de4aa7efd62ca06aadf92963cbba1f996c621728 ChangeLog 365 +SHA256 af9f5da349b98ac7499d8194c2375fd9fdb31a0e11035bce67f329c5861c4094 ChangeLog 365 +MISC metadata.xml 559 RMD160 eac709327f92e4d5bd2b113a0a8805d71c889bd9 SHA1 f986ef9f7888818851cb65dee4eb0c38efbd339e SHA256 7ac848c91324d25cdb689b7a6063e68115d9e1f4616293fb052224a826701df8 +MD5 aef933dd772a50c5f49e28af3a0c7419 metadata.xml 559 +RMD160 eac709327f92e4d5bd2b113a0a8805d71c889bd9 metadata.xml 559 +SHA256 7ac848c91324d25cdb689b7a6063e68115d9e1f4616293fb052224a826701df8 metadata.xml 559 +MD5 ea106205d194811f616002f1b933fb3e files/digest-geneweb-5.00 232 +RMD160 d31f4bdc097ad2d015aa2d8fbac39a594d284b30 files/digest-geneweb-5.00 232 +SHA256 96f4543c9c32622cec4e44fe829030f4826622cb64a2f11a3f43b69bdb478847 files/digest-geneweb-5.00 232 diff --git a/app-misc/geneweb/files/digest-geneweb-5.00 b/app-misc/geneweb/files/digest-geneweb-5.00 new file mode 100644 index 000000000000..138dc63658f4 --- /dev/null +++ b/app-misc/geneweb/files/digest-geneweb-5.00 @@ -0,0 +1,3 @@ +MD5 11f194a28bf4a9eb08590adad911cf80 geneweb-5.00.tgz 1379144 +RMD160 11e0c02292802155dd6af57548cd5bdf95296d74 geneweb-5.00.tgz 1379144 +SHA256 88d2e07af61795d4247281d584144c3ac1a914f790f696581f0e1ab087b0ee74 geneweb-5.00.tgz 1379144 diff --git a/app-misc/geneweb/files/geneweb-5.00-gentoo.patch b/app-misc/geneweb/files/geneweb-5.00-gentoo.patch new file mode 100644 index 000000000000..fa3001aec4b9 --- /dev/null +++ b/app-misc/geneweb/files/geneweb-5.00-gentoo.patch @@ -0,0 +1,13 @@ +--- setup/setup.ml.old 2007-08-07 19:25:13.000000000 +0200 ++++ setup/setup.ml 2007-08-07 19:24:59.000000000 +0200 +@@ -5,8 +5,8 @@ + + value port = ref 2316; + value default_lang = ref "en"; +-value setup_dir = ref "."; +-value bin_dir = ref ""; ++value setup_dir = ref "/usr/share/geneweb"; ++value bin_dir = ref "/usr/bin"; + value lang_param = ref ""; + value only_file = ref ""; + diff --git a/app-misc/geneweb/files/geneweb.confd b/app-misc/geneweb/files/geneweb.confd new file mode 100644 index 000000000000..3a93f09d8f19 --- /dev/null +++ b/app-misc/geneweb/files/geneweb.confd @@ -0,0 +1,6 @@ +# +# GeneWeb Configuration Data +# + +# The default language +LANG="it" diff --git a/app-misc/geneweb/files/geneweb.initd b/app-misc/geneweb/files/geneweb.initd new file mode 100644 index 000000000000..560825f0617d --- /dev/null +++ b/app-misc/geneweb/files/geneweb.initd @@ -0,0 +1,20 @@ +#!/sbin/runscript +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-misc/geneweb/files/geneweb.initd,v 1.1 2007/08/18 14:21:28 tupone Exp $ + +depend() { + need net +} + +start() { + ebegin "Starting geneweb server" + start-stop-daemon -S -c geneweb -x /usr/bin/gwd -- -bd /var/lib/geneweb -lang $LANG -log /var/log/geneweb.log -daemon + eend $? +} + +stop() { + ebegin "Stopping geneweb server" + start-stop-daemon -K -c geneweb -x /usr/bin/gwd + eend $? +} diff --git a/app-misc/geneweb/geneweb-5.00.ebuild b/app-misc/geneweb/geneweb-5.00.ebuild new file mode 100644 index 000000000000..ea7c3903cb8d --- /dev/null +++ b/app-misc/geneweb/geneweb-5.00.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-misc/geneweb/geneweb-5.00.ebuild,v 1.1 2007/08/18 14:21:28 tupone Exp $ + +inherit eutils + +DESCRIPTION="Genealogy software program with a Web interface." +HOMEPAGE="http://cristal.inria.fr/~ddr/GeneWeb/" +SRC_URI="ftp://ftp.inria.fr/INRIA/Projects/cristal/${PN}/Src/${P}.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +DEPEND="dev-lang/ocaml" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${P}-gentoo.patch + sed -i -e "s:@GENTOO_DATADIR@:/usr/share/${PN}:" \ + setup/setup.ml || die "Failed sed for gentoo path" +} + +src_install() { + # Install binaries + dobin src/{consang,check_base,gwc,gwd,gwu} \ + ged2gwb/ged2gwb gwb2ged/gwb2ged setup/gwsetup \ + || die "Failed installing binaries" + # Install manpages + doman man/* || die "Failed installing man pages" + + # Install doc + dodoc ICHANGES etc/LISEZMOI.distrib.txt etc/README.distrib.txt \ + CHANGES etc/a.gwf etc/LISEZMOI.distrib.txt README.distrib.txt + insinto /usr/share/doc/${PF}/contrib + doins -r contrib/{misc,templ} || die "Failed installing contributions" + + make distrib || die "Failed making distrib" + insinto /usr/share/${PN} + doins -r distribution/gw/{doc,etc,gwd.arg,images,lang,only.txt,setup} \ + || die "Failed installing data" + insinto /usr/lib/${PN} + doins -r distribution/gw/gwtp_tmp/* || die "Failed installing CGI program" + + newinitd "${FILESDIR}/geneweb.initd" geneweb + newconfd "${FILESDIR}/geneweb.confd" geneweb +} + +pkg_postinst() { + enewuser geneweb "" "/bin/bash" /var/lib/geneweb + einfo "A CGI program has been installed in /usr/lib/${PN}. Follow the" + einfo "instructions on the README in that directory to use it" +} diff --git a/app-misc/geneweb/metadata.xml b/app-misc/geneweb/metadata.xml new file mode 100644 index 000000000000..803d45fd0a3c --- /dev/null +++ b/app-misc/geneweb/metadata.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>no-herd</herd> +<maintainer> +<email>tupone@gentoo.org</email> +<name>Tupone Alfredo</name> +</maintainer> +<longdescription lang="en"> +GeneWeb is a genealogy software program with a Web interface. It can be used +off-line or in a Web environment. It uses very efficient techniques of +relationship and consanguinity computing, developed in collaboration with Didier +Rémy, research Director at INRIA. +</longdescription> +</pkgmetadata> |