From a7eae94c319cddc2a5af474f4b406b2ee19cc531 Mon Sep 17 00:00:00 2001 From: Torsten Veller Date: Wed, 15 Apr 2009 12:24:23 +0200 Subject: Move mail-client/topal -> net-mail/topal. --- net-mail/topal/Manifest | 4 ++ net-mail/topal/files/64-Makefile.patch | 72 ++++++++++++++++++++++++++++++++++ net-mail/topal/metadata.xml | 18 +++++++++ net-mail/topal/topal-64.ebuild | 37 +++++++++++++++++ 4 files changed, 131 insertions(+) create mode 100644 net-mail/topal/Manifest create mode 100644 net-mail/topal/files/64-Makefile.patch create mode 100644 net-mail/topal/metadata.xml create mode 100644 net-mail/topal/topal-64.ebuild (limited to 'net-mail/topal') diff --git a/net-mail/topal/Manifest b/net-mail/topal/Manifest new file mode 100644 index 0000000..9c0bf83 --- /dev/null +++ b/net-mail/topal/Manifest @@ -0,0 +1,4 @@ +AUX 64-Makefile.patch 2183 RMD160 8c977dbeccd6eafa17b6fe505cefc068f0de21f0 SHA1 db1b9ff9083573ebb474151956f53ce06f448ae1 SHA256 c351531c0ff084025d1aa8820f690406a34a3cb022239154995d192557226cf8 +DIST topal-package-64.tgz 170401 RMD160 69e5bdd0b2956fc4ead3815304d7e4def4f99292 SHA1 e2939bcff099e8d32e30dc1eef025f9b29b1053a SHA256 e44b879a8e8d96d5f0cad9e2b68056ba05fe4267a6f4d2d50325164be3f48cd5 +EBUILD topal-64.ebuild 844 RMD160 3ac1b4c5cab8b965f6615fd68926b9055248691e SHA1 ccfd89da0612ea1e8b96b09ba884be2daba41771 SHA256 2ed3e6aa5b781739ab989341bfbe251b338a1734c5af7ac4ace80f7ea684138b +MISC metadata.xml 540 RMD160 1428d043dd9338de2992725991c86298ba19859d SHA1 bf78851007dd3020e11ee2af85a783b4969eb8ca SHA256 991affeb5d4d9dc14595f664aee756ea0eb7b08d130af5140112b01d7b798b87 diff --git a/net-mail/topal/files/64-Makefile.patch b/net-mail/topal/files/64-Makefile.patch new file mode 100644 index 0000000..cbf6d58 --- /dev/null +++ b/net-mail/topal/files/64-Makefile.patch @@ -0,0 +1,72 @@ +diff -ur topal-64-orig/MIME-tool/Makefile topal-64/MIME-tool/Makefile +--- topal-64-orig/MIME-tool/Makefile 2008-10-24 12:16:45.000000000 +0200 ++++ topal-64/MIME-tool/Makefile 2009-04-15 12:00:52.000000000 +0200 +@@ -1,10 +1,13 @@ + .PHONY: all clean realclean distrib + ++CC=gcc ++CFLAGS=-Wall -O2 ++LDFLAGS= ++ + all: mime-tool + + mime-tool: mime.c +- gcc -Wall -O2 -o mime-tool mime.c +- -strip mime-tool ++ $(CC) $(CFLAGS) $(LDFLAGS) -o mime-tool mime.c + + realclean: clean + -rm mime-tool +diff -ur topal-64-orig/Makefile topal-64/Makefile +--- topal-64-orig/Makefile 2008-10-24 12:16:45.000000000 +0200 ++++ topal-64/Makefile 2009-04-15 12:06:07.000000000 +0200 +@@ -36,26 +36,28 @@ + INSTALLPATHDOC ?= $(INSTALLPATH)/share/doc/topal + INSTALLPATHPATCHES ?= $(INSTALLPATH)/share/topal/patches + ++CC=gcc ++CFLAGS=-Wall -O2 ++ + # The default action. + all: topal mime-tool README.txt + + all2: package distrib + + ada-readline-c.o: ada-readline-c.c +- gcc -c -Wall -O2 $(TOPALDEBUG) ada-readline-c.c ++ $(CC) -c $(CFLAGS) $(TOPALDEBUG) ada-readline-c.c + + ada-echo-c.o: ada-echo-c.c +- gcc -c -Wall -O2 $(TOPALDEBUG) ada-echo-c.c ++ $(CC) -c $(CFLAGS) $(TOPALDEBUG) ada-echo-c.c + + externals-c.o: externals-c.c +- gcc -c -Wall -O2 $(TOPALDEBUG) externals-c.c ++ $(CC) -c $(CFLAGS) $(TOPALDEBUG) externals-c.c + + mime-tool: +- make -C MIME-tool ++ $(MAKE) -C MIME-tool + + topal: $(TOPALDEPS) + gnatmake -gnatwa -gnato -O2 $(TOPALDEBUG) topal +- -strip topal + + topal.gz: topal + gzip -c9 topal > topal.gz +@@ -87,11 +89,11 @@ + + install: all + install -d $(INSTALLPATHBIN) $(INSTALLPATHDOC) $(INSTALLPATHMAN)/man1 $(INSTALLPATHPATCHES) +- install -m 755 -s topal $(INSTALLPATHBIN) +- install -m 644 README.html README.txt COPYING $(INSTALLPATHDOC) ++ install -m 755 topal $(INSTALLPATHBIN) ++ install -m 644 README.txt $(INSTALLPATHDOC) + install -m 644 topal.man $(INSTALLPATHMAN)/man1/topal.1 +- install -m 644 pine-*.patch alpine-*.patch $(INSTALLPATHPATCHES) +- install -m 755 -s MIME-tool/mime-tool $(INSTALLPATHBIN) ++ install -m 644 alpine-*.patch $(INSTALLPATHPATCHES) ++ install -m 755 MIME-tool/mime-tool $(INSTALLPATHBIN) + install -m 644 MIME-tool/mime-tool.man $(INSTALLPATHMAN)/man1/mime-tool.1 + + clean: diff --git a/net-mail/topal/metadata.xml b/net-mail/topal/metadata.xml new file mode 100644 index 0000000..685a1f0 --- /dev/null +++ b/net-mail/topal/metadata.xml @@ -0,0 +1,18 @@ + + + + net-mail + + sascha.lucas@rus.uni-stuttgart.de + Sascha Lucas + + + tove@gentoo.org + Torsten Veller + + + Topal is a glue program that links GnuPG and Pine/Alpine. It offers + facilities to encrypt, decrypt, sign and verify emails. + + + diff --git a/net-mail/topal/topal-64.ebuild b/net-mail/topal/topal-64.ebuild new file mode 100644 index 0000000..ad4a566 --- /dev/null +++ b/net-mail/topal/topal-64.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=2 + +inherit toolchain-funcs eutils + +DESCRIPTION="Topal is a 'glue' program that links GnuPG and Pine/Alpine." +HOMEPAGE="http://homepage.ntlworld.com/phil.brooke/topal/" +SRC_URI="http://homepage.ntlworld.com/phil.brooke/topal/rel-${PV}/topal-package-${PV}.tgz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~x86" +IUSE="" + +DEPEND=">=virtual/gnat-4.2" +RDEPEND=">=app-crypt/gnupg-2.0.7-r1 + net-mail/metamail" + +src_prepare() { + epatch "${FILESDIR}"/${PV}-Makefile.patch +} + +src_compile() { + emake -j1 CC="$(tc-getCC)" CFLAGS="${CFLAGS}" || die "make failed" +} + +src_install() { + emake install \ + INSTALLPATH="${D}"/usr \ + INSTALLPATHDOC="${D}"/usr/share/doc/${PF} \ + || die "make install failed" + dohtml "${S}"/README.html ||ide +} + -- cgit v1.2.3-65-gdbad