summaryrefslogtreecommitdiff
path: root/x11-plugins/wmbiff
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /x11-plugins/wmbiff
reinit the tree, so we can have metadata
Diffstat (limited to 'x11-plugins/wmbiff')
-rw-r--r--x11-plugins/wmbiff/Manifest10
-rw-r--r--x11-plugins/wmbiff/files/wmbiff-0.4.27-invalid-strncpy.patch17
-rw-r--r--x11-plugins/wmbiff/metadata.xml9
-rw-r--r--x11-plugins/wmbiff/wmbiff-0.4.28.ebuild39
-rw-r--r--x11-plugins/wmbiff/wmbiff-0.4.30.ebuild38
-rw-r--r--x11-plugins/wmbiff/wmbiff-0.4.31.ebuild38
6 files changed, 151 insertions, 0 deletions
diff --git a/x11-plugins/wmbiff/Manifest b/x11-plugins/wmbiff/Manifest
new file mode 100644
index 000000000000..7d01f396485a
--- /dev/null
+++ b/x11-plugins/wmbiff/Manifest
@@ -0,0 +1,10 @@
+AUX wmbiff-0.4.27-invalid-strncpy.patch 816 SHA256 0a80d77cd22cac62041e73731761c84826e1bc3a96093e3ce0d43422796f7d96 SHA512 7881bfa7b1febb4aeba8f530aa5670fba3b8a688876c2eb5b316ae34f5eddf44e90ce00973c1df34c571e14c55573653485e94b6d17a253edd041aa13e7a2dba WHIRLPOOL 058a077d01181f02b393b5dc19c554ae4fdbe0561d91dc6563126808360531ca9cc12764b6325af43a5346bb905b1eadd4d183e45d0c161939d4a16d942f3efa
+DIST wmbiff-0.4.28.tar.gz 111398 SHA256 6e2acd3268dad93c596e4eae6ccf4407667f07226cf61dd7cfa312ae5e42dbc1 SHA512 a17fd4b4c3de09a907b7ffccc50f4560a7fddd5cb4dd01c72460806dc55259ba0b587d75f7505171a2a833f6735ddc4ded0a484d4227bfd552cc7343d79d7720 WHIRLPOOL c4a0c54f41a3ae33785364ea3bca808bc5b0c801a87ea33bd569f8fac9bb7632155af5d666bc7b3dbfe10fbebb8b2202fccb49266ded3fd299f2e0ac2749785c
+DIST wmbiff-0.4.30.tar.gz 269315 SHA256 0dae00ebe377ffc0f37565cf6fdc84a4fc9896a2421826909b0ab5abd5fa4f2a SHA512 10b5a6673763a48694cb9cd87f5972c09b0fc50acedde7658133830a06dea8c98ffb9943591cbef802330862d7ccf7a7322d7e9e25ee82209b5a0e40a22353b4 WHIRLPOOL 37e1b34f21daf2d51c2960151f7601056316dcba71b0ec850edc0ea3fe3925ca669fe846b44307a2c304f5c92dec12845ca33a8a3c64a49455844bc6cc7626b6
+DIST wmbiff-0.4.31.tar.gz 269883 SHA256 56c32f9a0c6b6ad7b0c39ff742eebd61257634f4d4e6c4bb446b7be749b4a6a5 SHA512 768207887e92edc4a36f02d6b048cc393e75f9ccabca86f54368fafbd822bb6de5258890395da3f3e7a4f4f951628d15796d38e315b1176c6a3e084d10c167cc WHIRLPOOL 40c164ab7d8cd5e11c530c7a82875543c31d94a4cb212ead7b8a3ff3ea6521a31d1956317bfd34454c61400eb45ff7fc065d694a9a5b582d13dbd4c9b0551902
+EBUILD wmbiff-0.4.28.ebuild 842 SHA256 1d2f8a26169326d8695366982a6caab19160846b72aee5f4a73e727d1774b085 SHA512 402f34e44cb5d242ad36e24bffbbdafd5b12901d4fdb960569e2644a94bdc84f1c2df58d38d5ca3aefca4f4c76b32ffc896cf2d21d9ac7148605008b15e0553d WHIRLPOOL 7a67773dadc623640226464c1d8e78836ad14ecf7140ef302be5588adbad9af57343445f07c985b890c936cc303d43e38aef57291b4b9813c7f73d4c85780069
+EBUILD wmbiff-0.4.30.ebuild 821 SHA256 d1330a5c8445e84f0182b4f5b8f7546dc0039c3a833b2e2eec316587024cc02d SHA512 9de3bacf4f75d0076d4169c36cd0c2485f772868cef72762fe2125e5d760913fd4b044e3f14e96a9ddf220d3bdc75567183998b0ff336b7ef3e4f765146d6a14 WHIRLPOOL a98ef70b3a452e4bc3d505ed0e92a98a8de84810ec5c40836642e23e1b9d7e9287b14907e46ae1ae061d31679a0de3cf247212704264e2e829cd2adb4a59e00e
+EBUILD wmbiff-0.4.31.ebuild 821 SHA256 bbc9a0be1280f66323fda125b41d47c12fd1fe39e1e1376057a0996d93107ce3 SHA512 f246c6c70bc52f919bd51955d0c32dd4e46774e3dc60cf540907a11548baa0ece298e5f4034a75ce6defbbce53d95f27267624f3f7011e359e0a2557273e4261 WHIRLPOOL 41f141f13d7457dd3035a739ef497b5a44beb8dc919cce51118ae29d7d9970129794a06d5edaec5112a6dd1230274bdc7388d1f105a9b1cb99be10ad009af273
+MISC ChangeLog 3458 SHA256 68b40e40d16be3e6e40d0ba41f32774503ef8e525fba1a50638169d8dcdc4d9e SHA512 b390bf1cedd4b070d8a5ada06f897473dc6d080dd18e20eb4161f3dc3874461058afb8eef0dce6b3b62a4d88db9c93ce0166a197f1c53d70b459238c239565dc WHIRLPOOL 054de99a51d23bf526289da6e9baccab0e17e6dbe67142a52941d8c82001b77162b3aeb777ff2656e0f15f58afe3db91a9dd308c57f2fac53d2a96d9ad7797c2
+MISC ChangeLog-2015 5799 SHA256 c9a3b701b346f4621e73565f77a9f08a9474ab5ea29b3b12ae2c905806b0ac01 SHA512 2dd61ff0034dcee13e1d059c2213f1ece126a969f0bcbab40327c635a8b5478695fdb703fb85becd41d31e36dbcf6cd591c27a62053400014cebe39251063906 WHIRLPOOL 7c1cf1e96a0b1e57982d383f9467a8d6dd7d4183c06b5d1e2bdc17a320016dd0390f2529103adf2592107244db1201a362c136abe4757dca048447a3cc145ff1
+MISC metadata.xml 249 SHA256 ab0de85cc2ebef9f9bca3773395bc5c909312efb834a8b3948806c1b00dee4e5 SHA512 1a1312bb0e9f74f1e3852218d8fd4817fbad3bc65633cecbe8735607bc33c1e05b414c2628ff3f6e24dfc4a3999de7191f6cdadd2161b03cf614d5b6f24fab8d WHIRLPOOL 3d7026fc5a045f5c90505dab413fe4534364d8c9a47c053ffbfaf3579478e55f77427eb00b05bd4c593a372c69eefae5ca93a2bab9398f52d20d374c2265fb2d
diff --git a/x11-plugins/wmbiff/files/wmbiff-0.4.27-invalid-strncpy.patch b/x11-plugins/wmbiff/files/wmbiff-0.4.27-invalid-strncpy.patch
new file mode 100644
index 000000000000..07f9bad989d6
--- /dev/null
+++ b/x11-plugins/wmbiff/files/wmbiff-0.4.27-invalid-strncpy.patch
@@ -0,0 +1,17 @@
+This corrupted the path for me before, so it couldn't find the file. Presumably since the glibc change to copy stuff backwards.
+
+diff -pudr wmbiff-0.4.27/wmbiff/mboxClient.c wmbiff-0.4.27-mik/wmbiff/mboxClient.c
+--- wmbiff-0.4.27/wmbiff/mboxClient.c 2004-03-28 01:28:58.000000000 +0100
++++ wmbiff-0.4.27-mik/wmbiff/mboxClient.c 2011-09-16 09:54:22.834144487 +0200
+@@ -149,7 +149,10 @@ int mboxCreate(Pop3 pc, const char *str)
+ DM(pc, DEBUG_ERROR, "mbox '%s' is too long.\n", str + 5);
+ memset(pc->path, 0, BUF_BIG);
+ } else {
+- strncpy(pc->path, str + 5, BUF_BIG - 1); /* cut off ``mbox:'' */
++ /* str is always pc.path, so we can't use strncpy */
++ int len = strlen(str + 5);
++ memmove(pc->path, str + 5, min(len, BUF_BIG - 1)); /* cut off ``mbox:'' */
++ pc->path[len] = '\0';
+ }
+ }
+
diff --git a/x11-plugins/wmbiff/metadata.xml b/x11-plugins/wmbiff/metadata.xml
new file mode 100644
index 000000000000..1d5e6504004e
--- /dev/null
+++ b/x11-plugins/wmbiff/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 type="person">
+ <email>voyageur@gentoo.org</email>
+ <name>Bernard Cafarelli</name>
+</maintainer>
+
+</pkgmetadata>
diff --git a/x11-plugins/wmbiff/wmbiff-0.4.28.ebuild b/x11-plugins/wmbiff/wmbiff-0.4.28.ebuild
new file mode 100644
index 000000000000..1fcbbc671d14
--- /dev/null
+++ b/x11-plugins/wmbiff/wmbiff-0.4.28.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit autotools eutils
+
+DESCRIPTION="WMBiff is a dock applet for WindowMaker which can monitor up to 5 mailboxes"
+HOMEPAGE="http://www.dockapps.net/wmbiff"
+SRC_URI="https://dev.gentoo.org/~voyageur/distfiles/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ppc x86"
+IUSE="crypt"
+
+RDEPEND="x11-libs/libX11
+ x11-libs/libXext
+ x11-libs/libXpm
+ crypt? (
+ >=dev-libs/libgcrypt-1.2.1:0
+ >=net-libs/gnutls-2.2.0
+ )"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ x11-proto/xextproto
+ x11-proto/xproto"
+
+S=${WORKDIR}/dockapps
+
+DOCS="ChangeLog FAQ NEWS README TODO wmbiff/sample.wmbiffrc"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PN}-0.4.27-invalid-strncpy.patch
+ eautoreconf
+}
+
+src_configure() {
+ econf $(use_enable crypt crypto)
+}
diff --git a/x11-plugins/wmbiff/wmbiff-0.4.30.ebuild b/x11-plugins/wmbiff/wmbiff-0.4.30.ebuild
new file mode 100644
index 000000000000..bf91fc7affc6
--- /dev/null
+++ b/x11-plugins/wmbiff/wmbiff-0.4.30.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit autotools eutils
+
+DESCRIPTION="WMBiff is a dock applet for WindowMaker which can monitor up to 5 mailboxes"
+HOMEPAGE="http://www.dockapps.net/wmbiff"
+SRC_URI="http://www.dockapps.net/download/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="crypt"
+
+RDEPEND="x11-libs/libX11
+ x11-libs/libXext
+ x11-libs/libXpm
+ crypt? (
+ >=dev-libs/libgcrypt-1.2.1:0
+ >=net-libs/gnutls-2.2.0
+ )"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ x11-proto/xextproto
+ x11-proto/xproto"
+
+DOCS="ChangeLog FAQ NEWS README TODO wmbiff/sample.wmbiffrc"
+
+src_prepare() {
+ default
+ eapply "${FILESDIR}"/${PN}-0.4.27-invalid-strncpy.patch
+ eautoreconf
+}
+
+src_configure() {
+ econf $(use_enable crypt crypto)
+}
diff --git a/x11-plugins/wmbiff/wmbiff-0.4.31.ebuild b/x11-plugins/wmbiff/wmbiff-0.4.31.ebuild
new file mode 100644
index 000000000000..a38c9e70a1e4
--- /dev/null
+++ b/x11-plugins/wmbiff/wmbiff-0.4.31.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit autotools eutils
+
+DESCRIPTION="WMBiff is a dock applet for WindowMaker which can monitor up to 5 mailboxes"
+HOMEPAGE="http://www.dockapps.net/wmbiff"
+SRC_URI="http://www.dockapps.net/download/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="crypt"
+
+RDEPEND="x11-libs/libX11
+ x11-libs/libXext
+ x11-libs/libXpm
+ crypt? (
+ >=dev-libs/libgcrypt-1.2.1:0
+ >=net-libs/gnutls-2.2.0
+ )"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ x11-proto/xextproto
+ x11-proto/xproto"
+
+DOCS="ChangeLog FAQ NEWS README TODO wmbiff/sample.wmbiffrc"
+
+src_prepare() {
+ default
+ eapply "${FILESDIR}"/${PN}-0.4.27-invalid-strncpy.patch
+ eautoreconf
+}
+
+src_configure() {
+ econf $(use_enable crypt crypto)
+}