diff options
author | Ryan Phillips <rphillips@gentoo.org> | 2005-06-30 22:01:34 +0000 |
---|---|---|
committer | Ryan Phillips <rphillips@gentoo.org> | 2005-06-30 22:01:34 +0000 |
commit | c5059f4d0c0810bac13ae71de6b3590656690e2a (patch) | |
tree | d9612eef733aecbb5c31b734bd69b818cc5960a4 /app-misc/note | |
parent | Fix use invocation (diff) | |
download | gentoo-2-c5059f4d0c0810bac13ae71de6b3590656690e2a.tar.gz gentoo-2-c5059f4d0c0810bac13ae71de6b3590656690e2a.tar.bz2 gentoo-2-c5059f4d0c0810bac13ae71de6b3590656690e2a.zip |
version bump. Thanks to Bertrand Jacquin
(Portage version: 2.0.51.22-r1)
Diffstat (limited to 'app-misc/note')
-rw-r--r-- | app-misc/note/ChangeLog | 7 | ||||
-rw-r--r-- | app-misc/note/Manifest | 8 | ||||
-rw-r--r-- | app-misc/note/files/digest-note-1.3.1 | 1 | ||||
-rw-r--r-- | app-misc/note/note-1.3.1.ebuild | 78 |
4 files changed, 90 insertions, 4 deletions
diff --git a/app-misc/note/ChangeLog b/app-misc/note/ChangeLog index 09e1de53aac0..0ee422dc205c 100644 --- a/app-misc/note/ChangeLog +++ b/app-misc/note/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for app-misc/note # Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-misc/note/ChangeLog,v 1.8 2005/06/05 11:53:32 hansmi Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-misc/note/ChangeLog,v 1.9 2005/06/30 22:01:34 rphillips Exp $ + +*note-1.3.1 (30 Jun 2005) + + 30 Jun 2005; <rphillips@gentoo.org> +note-1.3.1.ebuild: + version bump. Thanks to Bertrand Jacquin 05 Jun 2005; Michael Hanselmann <hansmi@gentoo.org> note-1.2.5-r1.ebuild: Stable on ppc. diff --git a/app-misc/note/Manifest b/app-misc/note/Manifest index 8c5f8f19c750..e3407c34a767 100644 --- a/app-misc/note/Manifest +++ b/app-misc/note/Manifest @@ -1,6 +1,8 @@ -MD5 059733ad92a101895ce18a1120b6eb55 metadata.xml 225 -MD5 8f4d6a85ab5a8f9a79db2e196566e829 ChangeLog 796 MD5 84385484c1e7d49795cf448e6de9e94c note-1.2.5.ebuild 595 MD5 ab07f6344182e97acf5cd3b8a37ed31f note-1.2.5-r1.ebuild 679 -MD5 3d085f1802e378a2e32d3f11e93272f7 files/digest-note-1.2.5 61 +MD5 392a623c233886df599469b0661e431c note-1.3.1.ebuild 2445 +MD5 9ffceeb9f1d77c992b4412891b5a16dc ChangeLog 925 +MD5 059733ad92a101895ce18a1120b6eb55 metadata.xml 225 MD5 3d085f1802e378a2e32d3f11e93272f7 files/digest-note-1.2.5-r1 61 +MD5 3d085f1802e378a2e32d3f11e93272f7 files/digest-note-1.2.5 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 000000000000..93507968662a --- /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/note-1.3.1.ebuild b/app-misc/note/note-1.3.1.ebuild new file mode 100644 index 000000000000..9a1b7b9ea4e1 --- /dev/null +++ b/app-misc/note/note-1.3.1.ebuild @@ -0,0 +1,78 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-misc/note/note-1.3.1.ebuild,v 1.1 2005/06/30 22:01:34 rphillips Exp $ + +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" +IUSE="crypt mysql dbm" + +# inherit perl-module cause depend on dev-lang/perl +DEPEND="dev-perl/TermReadKey + dev-perl/Term-ReadLine-Perl + perl-core/Storable + dev-perl/config-general + crypt? ( dev-perl/crypt-cbc dev-perl/Crypt-Blowfish dev-perl/Crypt-DES ) + mysql? ( dev-db/mysql dev-perl/DBD-mysql )" + +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 "" +} |