summaryrefslogtreecommitdiff
path: root/net-mail/mswatch
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 /net-mail/mswatch
reinit the tree, so we can have metadata
Diffstat (limited to 'net-mail/mswatch')
-rw-r--r--net-mail/mswatch/Manifest7
-rw-r--r--net-mail/mswatch/files/mswatch-1.2.0-gcc47.patch26
-rw-r--r--net-mail/mswatch/files/mswatch-1.2.0-gcc6.patch12
-rw-r--r--net-mail/mswatch/metadata.xml11
-rw-r--r--net-mail/mswatch/mswatch-1.2.0-r1.ebuild39
5 files changed, 95 insertions, 0 deletions
diff --git a/net-mail/mswatch/Manifest b/net-mail/mswatch/Manifest
new file mode 100644
index 000000000000..fd3f4c9c9ac2
--- /dev/null
+++ b/net-mail/mswatch/Manifest
@@ -0,0 +1,7 @@
+AUX mswatch-1.2.0-gcc47.patch 565 SHA256 5fa3edf35bcf8f887b0a59138aca77bf64fbe52c90229ca1d178399cbf920181 SHA512 ad46ba2610303b55a1c30060af407a127847a175e86fb5c9a292fe18874ae0a2b042982890bc013385b5bba82e723a6df64c65e53a8bad39e51c35777d370d1b WHIRLPOOL 4e21a1cd0e79c046bb48668758a6c4c313bc755955778e0a5fe33511686444f69503a73f72414b11db0a2139b066888319cac5d76247a9cc691cec4738d48b04
+AUX mswatch-1.2.0-gcc6.patch 317 SHA256 4e931c11c3e89853a76d9dbddfb512ea4338c7165a1e338c370a8c7919675a48 SHA512 5f73a6251fbc9308a02343c66a1ccf00917bd6af4469cdd0f1559fab89ebace0e24a6371ba21089b659d212f225091bdf2ff6843b4372fc9f2356add5dd555ec WHIRLPOOL 02e0f7289118b5804bdb1ea903d38ee7f738a50d64573eddb6c489ae14077fb4f4d68c81786a3bd610b6617b7fdbd7d3f8628e121861c21ff44a4b2029739170
+DIST mswatch-1.2.0.tar.gz 434986 SHA256 2623514442237e11c91a06ab406d9594669ddb70fd1d55b84371ea613e8ac1a7 SHA512 c6774993909cb066514cb0ceb163bfd5e023d357435c6779d2d049cc9d56a278d5502193af1f4f5d6af264ff041b43b6c0fe2c400f775e8c22ed395a183c75f9 WHIRLPOOL c5ce2269cbc73fb4e057261751ba43077c4cf4204033ce21bbfb80ede981476c5385080d4d07505c1d8a12812c758e0a573d477f3c5c6451126996bc5b758e35
+EBUILD mswatch-1.2.0-r1.ebuild 787 SHA256 ebba983bb76b8569406dbc928829721a81fded1424dfe7c01d66b0927970f804 SHA512 0d24dcd36d4f8ca9b56db7162287c1adf95f7807954b414b0117e3b2038c6b764c0be530892b574972018ad7c3863a2c7d0514cc46e6626f8572e79e66d1eaee WHIRLPOOL b345fcb897e32af15e838ac0c010bbb327d0b2a63fbbaeff489c031976f153460f1b706e22c6d873e1fbd1444a897778281e7de55f6fe37d5f415f2ec488fd78
+MISC ChangeLog 2461 SHA256 75f86ec32a0df33c6816ee7ebb4c9b0b9d6caa71cf2c3436410d3f4ced02f458 SHA512 695bb14bc072eb6b1fbc587cb7c97861f2c6e7eead90f7b18afb3c3073d07ce29b4e5f04787d73b5e482a2bb7b7cfb2ccd610938092a11f9ccf3759992bb5c71 WHIRLPOOL 02769a87d41fa54830d4389f7eed633d7a834aa9a8216d1e9e60d611492dcce6f37fdf230eb2ac5b7da2b1bcae30309c365d76680890f8a83b30e54a50d89ef8
+MISC ChangeLog-2015 822 SHA256 f2a774b40d2ce01a807615b3ba017de3300dad02553df866b0980cf8d62d3a9d SHA512 82bbbe25b59afb5a49d71359fa00a8a74c06f2c5d04a1bae5b8392429deddd5ce9da35956b7c7b5a98815e6be249e24925b04978c198059af2079d2ce9d7e962 WHIRLPOOL a73d6d6103fd7ac2b590cf4e53e101290af00acd6a8ee28888a535bcad324c8ac89e5b5c375ae8cb0b4ca7584dd4de9818fc7c6edafc636106c4fdba8eee78c0
+MISC metadata.xml 321 SHA256 c61f6a0a9f93a81dc676737aff4cbf28ce5186d91e7b1be3c6fc3682ff397217 SHA512 44d9882a384a0f72548bf129bde41a91419939e38d7f5faf4c4ed9fc79d6e5d96c674e0c7098479efc118d58938d3f2f0168a304604bb87023b78ed89744f631 WHIRLPOOL a211c3cc6a180b1355079b21f484e154dfe469d71befb62cb42620c4d4ff6c12cbfa4d04f4f09a0c9e95875f9985197bb26cc09756f432490ef7b841733b9c9e
diff --git a/net-mail/mswatch/files/mswatch-1.2.0-gcc47.patch b/net-mail/mswatch/files/mswatch-1.2.0-gcc47.patch
new file mode 100644
index 000000000000..c11052164c66
--- /dev/null
+++ b/net-mail/mswatch/files/mswatch-1.2.0-gcc47.patch
@@ -0,0 +1,26 @@
+ https://bugs.gentoo.org/424673
+
+ src/lib/util.cc | 1 +
+ src/watch_maildirs/inotify/state.cc | 1 +
+ 2 files changed, 2 insertions(+)
+
+--- a/src/lib/util.cc
++++ b/src/lib/util.cc
+@@ -6,6 +6,7 @@
+ #include <stdlib.h>
+ #include <string.h>
+ #include <time.h>
++#include <unistd.h>
+
+ #include <sstream>
+ #include <string>
+--- a/src/watch_maildirs/inotify/state.cc
++++ b/src/watch_maildirs/inotify/state.cc
+@@ -1,6 +1,7 @@
+ #include <assert.h>
+ #include <stdlib.h>
+ #include <stdio.h>
++#include <unistd.h>
+
+ #include "lib/util.h"
+ #include "state.h"
diff --git a/net-mail/mswatch/files/mswatch-1.2.0-gcc6.patch b/net-mail/mswatch/files/mswatch-1.2.0-gcc6.patch
new file mode 100644
index 000000000000..2b4fa4ce5d2b
--- /dev/null
+++ b/net-mail/mswatch/files/mswatch-1.2.0-gcc6.patch
@@ -0,0 +1,12 @@
+--- mswatch-1.2.0/src/lib/util.h.old 2016-09-23 19:09:54.195069503 -0400
++++ mswatch-1.2.0/src/lib/util.h 2016-09-23 19:10:04.663460768 -0400
+@@ -21,9 +21,6 @@
+
+ void drain_fd(int fd);
+
+-// static assert, for compile-time assertion checking
+-#define static_assert(x) switch (x) case 0: case (x):
+-
+ __END_DECLS
+
+
diff --git a/net-mail/mswatch/metadata.xml b/net-mail/mswatch/metadata.xml
new file mode 100644
index 000000000000..42d60d817d52
--- /dev/null
+++ b/net-mail/mswatch/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>net-mail@gentoo.org</email>
+ <name>Net-Mail</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="sourceforge">mswatch</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/net-mail/mswatch/mswatch-1.2.0-r1.ebuild b/net-mail/mswatch/mswatch-1.2.0-r1.ebuild
new file mode 100644
index 000000000000..06d3a3d17125
--- /dev/null
+++ b/net-mail/mswatch/mswatch-1.2.0-r1.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit linux-info ltprune
+
+DESCRIPTION="A utility to watch mailstores for changes and initiate mailbox syncs"
+HOMEPAGE="http://mswatch.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="static-libs"
+
+RDEPEND=">=dev-libs/glib-2.6:2"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+"
+
+CONFIG_CHECK="~INOTIFY_USER"
+ERROR_INOTIFY_USER="${P} requires in-kernel inotify support."
+
+PATCHES=(
+ "${FILESDIR}"/${P}-gcc47.patch
+ "${FILESDIR}"/${P}-gcc6.patch
+)
+
+src_configure() {
+ econf \
+ --with-notify=inotify \
+ --enable-shared \
+ $(use_enable static-libs static)
+}
+
+src_install() {
+ default
+ prune_libtool_files
+}