diff options
Diffstat (limited to 'app-misc/note')
-rw-r--r-- | app-misc/note/ChangeLog | 15 | ||||
-rw-r--r-- | app-misc/note/Manifest | 6 | ||||
-rw-r--r-- | app-misc/note/files/digest-note-1.3.1 | 1 | ||||
-rw-r--r-- | app-misc/note/files/digest-note-1.3.1-r1 | 1 | ||||
-rw-r--r-- | app-misc/note/metadata.xml | 9 | ||||
-rw-r--r-- | app-misc/note/note-1.3.1-r1.ebuild | 78 | ||||
-rw-r--r-- | app-misc/note/note-1.3.1.ebuild | 25 |
7 files changed, 135 insertions, 0 deletions
diff --git a/app-misc/note/ChangeLog b/app-misc/note/ChangeLog new file mode 100644 index 00000000..69dff5b2 --- /dev/null +++ b/app-misc/note/ChangeLog @@ -0,0 +1,15 @@ +# ChangeLog for app-misc/note +# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2 +# $Header: $ + +*note-1.3.1-r1 (10 Mar 2005) + + 10 Mar 2005; Bertrand Jacquin <beber.gentoo@gmail.com> + +note-1.3.1-r1.ebuild: + Add more USE flag. + +*note-1.3.1 (10 Mar 2005) + + 10 Mar 2005; Bertrand Jacquin <beber.gentoo@gmail.com> + +note-1.3.1.ebuild: + Version Bump. diff --git a/app-misc/note/Manifest b/app-misc/note/Manifest new file mode 100644 index 00000000..a329b001 --- /dev/null +++ b/app-misc/note/Manifest @@ -0,0 +1,6 @@ +MD5 836ae0155c86f91adcef1dab895a43fa note-1.3.1.ebuild 626 +MD5 590dedf6f95b12c09913bb9adb7e0fa8 note-1.3.1-r1.ebuild 2444 +MD5 b289e29565ef6087b241d3811a817ad5 ChangeLog 372 +MD5 a26b2af52a90ba476496df1f2b945e02 metadata.xml 252 +MD5 29132429cc12f4060c04fc92116f1818 files/digest-note-1.3.1-r1 61 +MD5 29132429cc12f4060c04fc92116f1818 files/digest-note-1.3.1 61 diff --git a/app-misc/note/files/digest-note-1.3.1 b/app-misc/note/files/digest-note-1.3.1 new file mode 100644 index 00000000..93507968 --- /dev/null +++ b/app-misc/note/files/digest-note-1.3.1 @@ -0,0 +1 @@ +MD5 32f8f9fef293135acee5bd9e3314e141 note-1.3.1.tar.gz 42146 diff --git a/app-misc/note/files/digest-note-1.3.1-r1 b/app-misc/note/files/digest-note-1.3.1-r1 new file mode 100644 index 00000000..93507968 --- /dev/null +++ b/app-misc/note/files/digest-note-1.3.1-r1 @@ -0,0 +1 @@ +MD5 32f8f9fef293135acee5bd9e3314e141 note-1.3.1.tar.gz 42146 diff --git a/app-misc/note/metadata.xml b/app-misc/note/metadata.xml new file mode 100644 index 00000000..c6b49db3 --- /dev/null +++ b/app-misc/note/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer> + <email>beber.gentoo@gmail.com</email> + <name>Bertrand Jacquin</name> + <description/> +</maintainer> +</pkgmetadata> diff --git a/app-misc/note/note-1.3.1-r1.ebuild b/app-misc/note/note-1.3.1-r1.ebuild new file mode 100644 index 00000000..90b088a2 --- /dev/null +++ b/app-misc/note/note-1.3.1-r1.ebuild @@ -0,0 +1,78 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header + +inherit perl-module + +DESCRIPTION="a note taking perl program" +HOMEPAGE="http://www.daemon.de/NOTE" +SRC_URI="ftp://ftp.daemon.de/scip/Apps/note/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~amd64" +IUSE="crypt mysql text dbm general" + +# inherit perl-module cause depend on dev-lang/perl +DEPEND="dev-perl/TermReadKey + dev-perl/Term-ReadLine-Perl + crypt? ( dev-perl/crypt-cbc dev-perl/Crypt-Blowfish dev-perl/Crypt-DES ) + mysql? ( dev-db/mysql dev-perl/DBD-mysql ) + general? ( dev-perl/config-general ) + text? ( perl-core/Storable )" + +src_install() { + perl-module_src_install || die "perl-module_src_install failed" + + # Adding some basic utitily for testing note + dodir /usr/share/${PN} + cp ${S}/bin/stresstest.sh ${D}/usr/share/${PN} + + # Adding some help for mysql backend driver + if use mysql; then + dodir /usr/share/${PN}/mysql + cp -r ${S}/mysql ${D}/usr/share/${PN} + fi + + # Adding a sample configuration file + dodir /etc + cp ${S}/config/noterc ${D}/etc + + # Supressing file not needed + for v in mysql text dbm general; do + if ! use ${v}; then + for u in `find ${D} -type f -name *${v}.*pm`; do + rm ${u} + done + fi + done + + dodoc README Changelog TODO UPGRADE VERSION +} + +pkg_postinst() +{ + einfo "" + einfo "Note permit you to use many backend driver for storage" + einfo "Here, you can defined which you want install my USE flag" + einfo "Driver available :" + einfo " binary Always installed, default mode, store data in binary mode" + einfo " mysql Allow to store your note in a mysql db" + einfo " dbm Allow to store your note in a dbm db" + einfo " text Use a serializer to store data" + einfo " general Store your note in a plain-text file (Very usefull)" + einfo "" + einfo "So if you want to use a driver that is not in your USE flag" + einfo "You can specify one (or many) like that :" + einfo " USE=\"-mysql general\" emerge note" + einfo "or (better way)" + einfo " echo \"app-misc/note -mysql general\" >> /etc/portage/package.use" + einfo "" + einfo "A default config file is available is /etc/noterc" + einfo "Modify it to specify which backend you want to use and many other things" + einfo "You can also have a per user noterc in ~/.noterc" + einfo "" + einfo "Have a look on /usr/share/note" + einfo "There are many informations about mysql (if you use the USE flag mysql) backend and a stresstest script" + einfo "" +} diff --git a/app-misc/note/note-1.3.1.ebuild b/app-misc/note/note-1.3.1.ebuild new file mode 100644 index 00000000..43dbf26f --- /dev/null +++ b/app-misc/note/note-1.3.1.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit perl-module + +DESCRIPTION="a note taking perl program" +HOMEPAGE="http://www.daemon.de/NOTE" +SRC_URI="ftp://ftp.daemon.de/scip/Apps/note/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~amd64" +IUSE="crypt mysql plain-text" + +DEPEND="dev-perl/TermReadKey + dev-perl/Term-ReadLine-Perl + crypt? ( dev-perl/crypt-cbc dev-perl/Crypt-Blowfish dev-perl/Crypt-DES ) + mysql? ( dev-db/mysql dev-perl/DBD-mysql ) + plain-text? ( dev-perl/config-general )" + +src_install() { + perl-module_src_install + dodoc README +} |