diff options
author | Cédric Krier <cedk@gentoo.org> | 2007-01-23 22:57:57 +0000 |
---|---|---|
committer | Cédric Krier <cedk@gentoo.org> | 2007-01-23 22:57:57 +0000 |
commit | f8753d2609a0ea1dff62a0007d5e46c07d1a4b80 (patch) | |
tree | a24dd657754b7bf4babc7bb38150ba7fb1143ddf /net-news | |
parent | Cleanup. (diff) | |
download | historical-f8753d2609a0ea1dff62a0007d5e46c07d1a4b80.tar.gz historical-f8753d2609a0ea1dff62a0007d5e46c07d1a4b80.tar.bz2 historical-f8753d2609a0ea1dff62a0007d5e46c07d1a4b80.zip |
net-news/snownews: Add patch for bug #163439
Package-Manager: portage-2.1.1-r2
Diffstat (limited to 'net-news')
-rw-r--r-- | net-news/snownews/ChangeLog | 8 | ||||
-rw-r--r-- | net-news/snownews/Manifest | 29 | ||||
-rw-r--r-- | net-news/snownews/files/digest-snownews-1.5.7-r2 | 3 | ||||
-rw-r--r-- | net-news/snownews/files/snownews-1.5.7-manpath.patch | 36 | ||||
-rw-r--r-- | net-news/snownews/snownews-1.5.7-r2.ebuild | 58 |
5 files changed, 119 insertions, 15 deletions
diff --git a/net-news/snownews/ChangeLog b/net-news/snownews/ChangeLog index 6bebc7aabf89..67a76befd96e 100644 --- a/net-news/snownews/ChangeLog +++ b/net-news/snownews/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-news/snownews # Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-news/snownews/ChangeLog,v 1.10 2007/01/22 17:28:38 gustavoz Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-news/snownews/ChangeLog,v 1.11 2007/01/23 22:57:57 cedk Exp $ + +*snownews-1.5.7-r2 (23 Jan 2007) + + 23 Jan 2007; Cedric Krier <cedk@gentoo.org> + +files/snownews-1.5.7-manpath.patch, +snownews-1.5.7-r2.ebuild: + Add patch for bug #163439 22 Jan 2007; Gustavo Zacarias <gustavoz@gentoo.org> snownews-1.5.7-r1.ebuild: diff --git a/net-news/snownews/Manifest b/net-news/snownews/Manifest index 0d8f2c3d3bd0..28e7043e35b5 100644 --- a/net-news/snownews/Manifest +++ b/net-news/snownews/Manifest @@ -1,6 +1,7 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - +AUX snownews-1.5.7-manpath.patch 1345 RMD160 87008a4a0203e00ea11e26547ccbb8224230bf5b SHA1 0beb65da40ce59592a08bd9a76cfba041d2ded9e SHA256 552963658a07483ec753295e549ac4b51419f710320548dcef25926d69cf883d +MD5 3f1bf6704189304329b10e41adf6e4b5 files/snownews-1.5.7-manpath.patch 1345 +RMD160 87008a4a0203e00ea11e26547ccbb8224230bf5b files/snownews-1.5.7-manpath.patch 1345 +SHA256 552963658a07483ec753295e549ac4b51419f710320548dcef25926d69cf883d files/snownews-1.5.7-manpath.patch 1345 AUX snownews-1.5.7-stdint.patch 405 RMD160 bfe2b19ea3a3987ca76cc7437ebe6d6dddd94b13 SHA1 7a5175326884fe4c9135b299901cf516ef58e9f9 SHA256 4f5a6b426759b6d69dc0fb716c62ed8d3296a40ee8715a054046a5abffe0bb71 MD5 1c77b8f397931b3c9660ff82cd57b509 files/snownews-1.5.7-stdint.patch 405 RMD160 bfe2b19ea3a3987ca76cc7437ebe6d6dddd94b13 files/snownews-1.5.7-stdint.patch 405 @@ -20,14 +21,18 @@ EBUILD snownews-1.5.7-r1.ebuild 1412 RMD160 28938ea4b21f5a1f4ec383aadad6a3d592e2 MD5 c06cbe3e4a0302f6bd9a4abee8c407f3 snownews-1.5.7-r1.ebuild 1412 RMD160 28938ea4b21f5a1f4ec383aadad6a3d592e2fbc2 snownews-1.5.7-r1.ebuild 1412 SHA256 c15f53ab53c092816d364a62376fbad8759064fb79efe03da58d66323b009a86 snownews-1.5.7-r1.ebuild 1412 +EBUILD snownews-1.5.7-r2.ebuild 1467 RMD160 a9b2ad10717c8cbd901894724657fb5bef857bab SHA1 aa4f3b1e077e4669d22dd19e8d0c26c1fc362458 SHA256 e40135ac16a31a4bb04ce0faa286c214850b89ddf4ab5dc8cd9b204ef02900d2 +MD5 4e044ba4a308e99ab9e7859df7f418b9 snownews-1.5.7-r2.ebuild 1467 +RMD160 a9b2ad10717c8cbd901894724657fb5bef857bab snownews-1.5.7-r2.ebuild 1467 +SHA256 e40135ac16a31a4bb04ce0faa286c214850b89ddf4ab5dc8cd9b204ef02900d2 snownews-1.5.7-r2.ebuild 1467 EBUILD snownews-1.5.7.ebuild 839 RMD160 7d278d0256134a4a48d5f7f91baeb4b8944fe7db SHA1 1dc990ea97bbb2fdbf80f2c5d8e2eb7243d35544 SHA256 b79425bd4f6697bf0f1051ffa42e859df6646a0c4230adfefc7a69dbab1a5108 MD5 b647fa09ac3b3642c4fb9d1eb4ec1641 snownews-1.5.7.ebuild 839 RMD160 7d278d0256134a4a48d5f7f91baeb4b8944fe7db snownews-1.5.7.ebuild 839 SHA256 b79425bd4f6697bf0f1051ffa42e859df6646a0c4230adfefc7a69dbab1a5108 snownews-1.5.7.ebuild 839 -MISC ChangeLog 4137 RMD160 49b282723bee3a26b1293988680792d181807458 SHA1 76685bd814db41ace74dfb6b25c70ea65716feb8 SHA256 5654a30832c5c6fe089fb46954b7413033c6236fec982f72a7e7c6892e2a3e49 -MD5 56ff10a3fe40c0ee7888465b827b3591 ChangeLog 4137 -RMD160 49b282723bee3a26b1293988680792d181807458 ChangeLog 4137 -SHA256 5654a30832c5c6fe089fb46954b7413033c6236fec982f72a7e7c6892e2a3e49 ChangeLog 4137 +MISC ChangeLog 4308 RMD160 04bd9b530fe9d39b62af9c064c501f27812b9e03 SHA1 3af269b04643f574785830e3f674137b7eccaf34 SHA256 cd65cf058c84c6e559bff1e73cb6a798879ec1b24f724c0c2e5d3ef2ebdf59f7 +MD5 24128a7a2ce5b93b8bc70bab97366f85 ChangeLog 4308 +RMD160 04bd9b530fe9d39b62af9c064c501f27812b9e03 ChangeLog 4308 +SHA256 cd65cf058c84c6e559bff1e73cb6a798879ec1b24f724c0c2e5d3ef2ebdf59f7 ChangeLog 4308 MISC metadata.xml 247 RMD160 74386d37b44f1f52420db27eb065704ca3792b08 SHA1 331e0cb0393cba71957b85acbcb170a77905e70e SHA256 5b84266e8a80e0234bbc5d8ad1a1d5d878c1960f7a1aba1871c0d3b281e9ff8f MD5 da0803ad643ac095cd9d5362bf5f52c0 metadata.xml 247 RMD160 74386d37b44f1f52420db27eb065704ca3792b08 metadata.xml 247 @@ -44,10 +49,6 @@ SHA256 71232be022f670e904e4321b351ac1519f0a5fc6a6718e96fdfa41703d445bf1 files/di MD5 1fc4e84641edc28432b818c65e6c4318 files/digest-snownews-1.5.7-r1 244 RMD160 cd39674a9e013b41c82e0c1d1018ebe708fb086f files/digest-snownews-1.5.7-r1 244 SHA256 71232be022f670e904e4321b351ac1519f0a5fc6a6718e96fdfa41703d445bf1 files/digest-snownews-1.5.7-r1 244 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.6-ecc01.6 (GNU/Linux) - -iD8DBQFFtPROKRy60XGEcJIRAvOuAJ9hFET2hAVF/F5IFEwLTwMntj0xyACgnnjR -J0VmXM3zF/bT56hrR11P05A= -=QDRi ------END PGP SIGNATURE----- +MD5 1fc4e84641edc28432b818c65e6c4318 files/digest-snownews-1.5.7-r2 244 +RMD160 cd39674a9e013b41c82e0c1d1018ebe708fb086f files/digest-snownews-1.5.7-r2 244 +SHA256 71232be022f670e904e4321b351ac1519f0a5fc6a6718e96fdfa41703d445bf1 files/digest-snownews-1.5.7-r2 244 diff --git a/net-news/snownews/files/digest-snownews-1.5.7-r2 b/net-news/snownews/files/digest-snownews-1.5.7-r2 new file mode 100644 index 000000000000..f72c0b1bb94b --- /dev/null +++ b/net-news/snownews/files/digest-snownews-1.5.7-r2 @@ -0,0 +1,3 @@ +MD5 75ffa004e755a233f49b1cdfcd9e3d85 snownews-1.5.7.tar.gz 161504 +RMD160 5aa839bb92a8ee51b2b1fda74ddf22279665061b snownews-1.5.7.tar.gz 161504 +SHA256 1afab69e03f351e670187ba35cea363aa6113a44b8fe243ca98835b89e672653 snownews-1.5.7.tar.gz 161504 diff --git a/net-news/snownews/files/snownews-1.5.7-manpath.patch b/net-news/snownews/files/snownews-1.5.7-manpath.patch new file mode 100644 index 000000000000..b6bd7553c839 --- /dev/null +++ b/net-news/snownews/files/snownews-1.5.7-manpath.patch @@ -0,0 +1,36 @@ +diff -ru snownews-1.5.7~/Makefile snownews-1.5.7/Makefile +--- snownews-1.5.7~/Makefile 2007-01-23 23:49:40.000000000 +0100 ++++ snownews-1.5.7/Makefile 2007-01-23 23:49:53.000000000 +0100 +@@ -2,6 +2,7 @@ + MAKE= make + INSTALL= install + LOCALEPATH= $(PREFIX)/share/locale ++MANPATH= $(PREFIX)/share + + ### Compiler/linker flags ### + ### Generated via configure ### +@@ -75,17 +76,17 @@ + done + + install-man: manpages +- if [ ! -d "$(DESTDIR)$(PREFIX)/man/man1" ]; then \ +- mkdir -p $(DESTDIR)$(PREFIX)/man/man1; \ ++ if [ ! -d "$(DESTDIR)$(MANPATH)/man/man1" ]; then \ ++ mkdir -p $(DESTDIR)$(MANPATH)/man/man1; \ + fi +- $(INSTALL) -m 0644 $(MAN)/snownews.1 $(DESTDIR)$(PREFIX)/man/man1 +- $(INSTALL) -m 0644 $(MAN)/opml2snow.1 $(DESTDIR)$(PREFIX)/man/man1 ++ $(INSTALL) -m 0644 $(MAN)/snownews.1 $(DESTDIR)$(MANPATH)/man/man1 ++ $(INSTALL) -m 0644 $(MAN)/opml2snow.1 $(DESTDIR)$(MANPATH)/man/man1 + + for L in $(LANGS); do \ +- if [ ! -d "$(DESTDIR)$(PREFIX)/man/$$L/man1" ]; then \ +- mkdir -p $(DESTDIR)$(PREFIX)/man/$$L/man1; \ ++ if [ ! -d "$(DESTDIR)$(MANPATH)/man/$$L/man1" ]; then \ ++ mkdir -p $(DESTDIR)$(MANPATH)/man/$$L/man1; \ + fi; \ +- $(INSTALL) -m 0644 $(MAN)/$$L/snownews.1 $(DESTDIR)$(PREFIX)/man/$$L/man1; \ ++ $(INSTALL) -m 0644 $(MAN)/$$L/snownews.1 $(DESTDIR)$(MANPATH)/man/$$L/man1; \ + done + + ### Cleanup ### diff --git a/net-news/snownews/snownews-1.5.7-r2.ebuild b/net-news/snownews/snownews-1.5.7-r2.ebuild new file mode 100644 index 000000000000..14b13567e4ba --- /dev/null +++ b/net-news/snownews/snownews-1.5.7-r2.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-news/snownews/snownews-1.5.7-r2.ebuild,v 1.1 2007/01/23 22:57:57 cedk Exp $ + +inherit eutils toolchain-funcs + +DESCRIPTION="Snownews, a text-mode RSS/RDF newsreader" +HOMEPAGE="http://snownews.kcore.de/" +SRC_URI="http://home.kcore.de/~kiza/software/snownews/download/${P}.tar.gz" +LICENSE="GPL-2" + +SLOT="0" +KEYWORDS="~amd64 ~ppc ~sparc ~x86" +IUSE="unicode" + +DEPEND=">=dev-libs/libxml2-2.5.6 + >=sys-libs/ncurses-5.3" + +RDEPEND="dev-perl/XML-LibXML + dev-perl/XML-LibXSLT + dev-perl/libwww-perl" + +pkg_setup() { + if use unicode && ! built_with_use sys-libs/ncurses unicode; then + eerror "sys-libs/ncurses must be build with unicode" + die "${PN} requires sys-libs/ncurses with USE=unicode" + fi +} + +src_unpack() { + unpack ${A} + cd "${S}" + + sed -i -e "s/-O2//" \ + configure + + sed -i -e 's/$(INSTALL) -s/$(INSTALL)/' \ + Makefile + + #Bug #121805 + epatch "${FILESDIR}"/${P}-stdint.patch + + #Bug #163439 + epatch "${FILESDIR}"/${P}-manpath.patch +} + +src_compile() { + local conf="--prefix=/usr" + use unicode && conf="${conf} --charset=UTF-8" + ./configure ${conf} || die "configure failed" + emake CC="$(tc-getCC)" EXTRA_CFLAGS="${CFLAGS}" EXTRA_LDFLAGS="${LDFLAGS}" || die "emake failed" +} + +src_install() { + emake PREFIX="${D}/usr" install || die "make install failed" + + dodoc AUTHOR CREDITS README README.colors README.de README.patching +} |