diff options
author | Alfredo Tupone <tupone@gentoo.org> | 2007-08-18 14:21:28 +0000 |
---|---|---|
committer | Alfredo Tupone <tupone@gentoo.org> | 2007-08-18 14:21:28 +0000 |
commit | 2a73f717fd3f8c59b3207a6c239ef8661386c109 (patch) | |
tree | cd5b561dbd40e809a0e40abbc324539e2a2c3c72 /app-misc | |
parent | Stable on amd64 wrt bug #189264 (diff) | |
download | historical-2a73f717fd3f8c59b3207a6c239ef8661386c109.tar.gz historical-2a73f717fd3f8c59b3207a6c239ef8661386c109.tar.bz2 historical-2a73f717fd3f8c59b3207a6c239ef8661386c109.zip |
New ebuild. Based on bug #22239
Package-Manager: portage-2.1.2.11
Diffstat (limited to 'app-misc')
-rw-r--r-- | app-misc/geneweb/ChangeLog | 11 | ||||
-rw-r--r-- | app-misc/geneweb/Manifest | 38 | ||||
-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, 161 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..1c4e32df2827 --- /dev/null +++ b/app-misc/geneweb/Manifest @@ -0,0 +1,38 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +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 539 RMD160 7598ae2d7b6a168a61942919b5e960732fa157fc SHA1 b660d4a2823cb8cab1bc476c1ca043af5a0a764a SHA256 b8542f690d933f6fa844cce3e74eec3d625a92e8bd825a8c71b2097b61b60973 +MD5 a8da97dd0b59418d432ca23170c1d842 files/geneweb.initd 539 +RMD160 7598ae2d7b6a168a61942919b5e960732fa157fc files/geneweb.initd 539 +SHA256 b8542f690d933f6fa844cce3e74eec3d625a92e8bd825a8c71b2097b61b60973 files/geneweb.initd 539 +DIST geneweb-5.00.tgz 1379144 RMD160 11e0c02292802155dd6af57548cd5bdf95296d74 SHA1 e15ce1dbfafb05bf568c32dbcb2eb85f14029a99 SHA256 88d2e07af61795d4247281d584144c3ac1a914f790f696581f0e1ab087b0ee74 +EBUILD geneweb-5.00.ebuild 1759 RMD160 9133a46759c2587d55d6002905fbbbd2129b8c97 SHA1 bbf3d4949c1b3db6caf1e117ee80569cdcebe190 SHA256 7ed96f6d73cdb8b9bfa1235703919de5df2e56bd25afe0e18c2415dd799d8134 +MD5 6d579416cdfd152802e7e613ca8d81ad geneweb-5.00.ebuild 1759 +RMD160 9133a46759c2587d55d6002905fbbbd2129b8c97 geneweb-5.00.ebuild 1759 +SHA256 7ed96f6d73cdb8b9bfa1235703919de5df2e56bd25afe0e18c2415dd799d8134 geneweb-5.00.ebuild 1759 +MISC ChangeLog 453 RMD160 70e02c25c3040a479fb1497b83537da3880a9001 SHA1 98ed354158a9a01c770cfba651799a6aee46a9a4 SHA256 36cc092c555be4fe0efaa4d9bbc93979f41be0e5a209c580a318859d8e817578 +MD5 f3bf0d718352d80cef198f5b3a3fe7f5 ChangeLog 453 +RMD160 70e02c25c3040a479fb1497b83537da3880a9001 ChangeLog 453 +SHA256 36cc092c555be4fe0efaa4d9bbc93979f41be0e5a209c580a318859d8e817578 ChangeLog 453 +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 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.7 (GNU/Linux) + +iD8DBQFGxwBxRmMZkarFlIwRAtMWAKDTH08uvRwL9lb6zQm4jceq2nmUxwCeImTb +glNID3J4l9cY+T5oNTBZAGw= +=g855 +-----END PGP SIGNATURE----- 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> |