Commit

Add openbsd-wip tree
Daniel Moch committed 4 years ago (Tree)

Diffstat

 openbsd-wip/mail/notmuch/Makefile | 8 
 openbsd-wip/mail/notmuch/Makefile.inc | 13 
 openbsd-wip/mail/notmuch/notmuch/Makefile | 79 
 openbsd-wip/mail/notmuch/notmuch/distinfo | 2 
 openbsd-wip/mail/notmuch/notmuch/patches/patch-Makefile_global | 14 
 openbsd-wip/mail/notmuch/notmuch/patches/patch-Makefile_local | 14 
 openbsd-wip/mail/notmuch/notmuch/patches/patch-bindings_python_notmuch_globals_py | 14 
 openbsd-wip/mail/notmuch/notmuch/patches/patch-configure | 17 
 openbsd-wip/mail/notmuch/notmuch/patches/patch-devel_RELEASING | 14 
 openbsd-wip/mail/notmuch/notmuch/patches/patch-devel_nmbug_doc_conf_py | 14 
 openbsd-wip/mail/notmuch/notmuch/patches/patch-doc_conf_py | 14 
 openbsd-wip/mail/notmuch/notmuch/patches/patch-emacs_Makefile_local | 13 
 openbsd-wip/mail/notmuch/notmuch/patches/patch-lib_Makefile_local | 45 
 openbsd-wip/mail/notmuch/notmuch/patches/patch-lib_notmuch_h | 16 
 openbsd-wip/mail/notmuch/notmuch/patches/patch-notmuch-dump_c | 31 
 openbsd-wip/mail/notmuch/notmuch/patches/patch-notmuch-restore_c | 16 
 openbsd-wip/mail/notmuch/notmuch/patches/patch-test_T360-symbol-hiding_sh | 14 
 openbsd-wip/mail/notmuch/notmuch/patches/patch-test_test-lib-OPENBSD_sh | 15 
 openbsd-wip/mail/notmuch/notmuch/pkg/DESCR-emacs | 1 
 openbsd-wip/mail/notmuch/notmuch/pkg/DESCR-main | 9 
 openbsd-wip/mail/notmuch/notmuch/pkg/PLIST-emacs | 50 
 openbsd-wip/mail/notmuch/notmuch/pkg/PLIST-main | 46 
 openbsd-wip/mail/notmuch/py-notmuch/Makefile | 17 
 openbsd-wip/mail/notmuch/py-notmuch/distinfo | 2 
 openbsd-wip/mail/notmuch/py-notmuch/patches/patch-bindings_python_notmuch_globals_py | 14 
 openbsd-wip/mail/notmuch/py-notmuch/pkg/DESCR | 1 
 openbsd-wip/mail/notmuch/py-notmuch/pkg/PLIST | 32 

openbsd-wip/mail/notmuch/Makefile (created)

1 +# $OpenBSD: Makefile.template,v 1.54 2008/01/13 16:43:57 espie Exp $
2 +
3 +SUBDIR =
4 +SUBDIR += notmuch
5 +SUBDIR += py-notmuch
6 +SUBDIR += py-notmuch,python3
7 +
8 +.include <bsd.port.subdir.mk>

openbsd-wip/mail/notmuch/Makefile.inc (created)

1 +# $OpenBSD$
2 +
3 +V = 0.29.3
4 +DISTNAME = notmuch-$V
5 +EXTRACT_SUFX = .tar.xz
6 +
7 +CATEGORIES = mail databases openbsd-wip
8 +
9 +HOMEPAGE = https://notmuchmail.org/
10 +MASTER_SITES = https://notmuchmail.org/releases/
11 +
12 +# GPLv3+
13 +PERMIT_PACKAGE = Yes

openbsd-wip/mail/notmuch/notmuch/Makefile (created)

1 +# $OpenBSD: Makefile.template,v 1.54 2008/01/13 16:43:57 espie Exp $
2 +
3 +COMMENT-main = mail indexer, tagger and threader
4 +COMMENT-emacs = Emacs bindings for notmuch
5 +
6 +PKGNAME-main = notmuch-${V}
7 +PKGNAME-emacs = notmuch-emacs-${V}
8 +
9 +SHARED_LIBS += notmuch 0.0
10 +
11 +MULTI_PACKAGES = -main -emacs
12 +DEBUG_PACKAGES = -main
13 +
14 +COMPILER= base-clang ports-gcc
15 +
16 +WANTLIB-main += ${COMPILER_LIBCXX} c glib-2.0 gmime-3.0
17 +WANTLIB-main += gobject-2.0 intl m talloc xapian z
18 +
19 +LIB_DEPENDS = databases/xapian-core \
20 + devel/libtalloc \
21 + mail/gmime30
22 +
23 +RUN_DEPENDS-emacs = devel/desktop-file-utils \
24 + databases/xapian-core \
25 + editors/emacs \
26 + ${FULLPKGNAME-main}:${FULLPKGPATH-main}
27 +
28 +BUILD_DEPENDS = devel/doxygen \
29 + editors/emacs,gtk3 \
30 + shells/bash \
31 + textproc/py-sphinx
32 +
33 +TEST_DEPENDS = devel/gdb \
34 + misc/dtach \
35 + security/gnupg \
36 + sysutils/coreutils \
37 + ${FULLPKGNAME-main}:${FULLPKGPATH-main}
38 +
39 +MODULES = lang/python
40 +MODPY_RUNDEP = No
41 +USE_GMAKE = Yes
42 +CONFIGURE_STYLE = simple
43 +CONFIGURE_ARGS = --mandir=${PREFIX}/man \
44 + --infodir=${PREFIX}/info \
45 + --sysconfdir=${SYSCONFDIR} \
46 + --bashcompletiondir=${PREFIX}/share/notmuch/bash_completion.d
47 +CONFIGURE_ENV = PYTHON=${MODPY_BIN}
48 +MAKE_FLAGS = V=1
49 +
50 +LIBnotmuch_MAJOR = ${LIBnotmuch_VERSION:R}
51 +LIBnotmuch_MINOR = ${LIBnotmuch_VERSION:E}
52 +SUBST_VARS = LIBnotmuch_MAJOR LIBnotmuch_MINOR NOTMUCH_LIBV
53 +
54 +# known problems:
55 +# - emacs.65 and gzip hang so the tests are disabled below
56 +# - SIGSEGV in various tests (incl. T150-tagging,
57 +# T240-dump-restore, T600-named-queries)
58 +# - T750-user-header hits what looks like a use-after-free
59 +TEST_FLAGS = V=1 \
60 + NOTMUCH_TEST_SERIALIZE=1 \
61 + NOTMUCH_SKIP_TESTS="emacs.65 gzip" \
62 + TEST_CFLAGS="-O0 -g -I${LOCALBASE}/include -L${LOCALBASE}/lib"
63 +TEST_TARGET = test
64 +
65 +post-extract:
66 + cd ${WRKSRC}/test; [ -r test-lib-OPENBSD.sh ] || \
67 + cp test-lib-FREEBSD.sh test-lib-OPENBSD.sh
68 +
69 +# Avoid conflict with C++20 <version>, also see patches
70 +pre-configure:
71 + cd ${WRKSRC}; mv version version.txt; \
72 + ${SUBST_CMD} lib/notmuch.h
73 +
74 +post-install:
75 + rm ${PREFIX}/man/man1/notmuch-setup.1.gz
76 + gunzip ${PREFIX}/man/*/*gz
77 + ln -s notmuch.1 ${PREFIX}/man/man1/notmuch-setup.1
78 +
79 +.include <bsd.port.mk>

openbsd-wip/mail/notmuch/notmuch/distinfo (created)

1 +SHA256 (notmuch-0.29.3.tar.xz) = 1fcEuacjleQzA96bH02OFN0nvzZG/bs3S7Pbt9FQ3DU=
2 +SIZE (notmuch-0.29.3.tar.xz) = 660536

openbsd-wip/mail/notmuch/notmuch/patches/patch-Makefile_global (created)

1 +$OpenBSD$
2 +
3 +Index: Makefile.global
4 +--- Makefile.global.orig
5 ++++ Makefile.global
6 +@@ -16,7 +16,7 @@ else
7 + DATE:=$(shell date +%F)
8 + endif
9 +
10 +-VERSION:=$(shell cat ${srcdir}/version)
11 ++VERSION:=$(shell cat ${srcdir}/version.txt)
12 + ELPA_VERSION:=$(subst ~,_,$(VERSION))
13 + ifeq ($(filter release release-message pre-release update-versions,$(MAKECMDGOALS)),)
14 + ifeq ($(IS_GIT),yes)

openbsd-wip/mail/notmuch/notmuch/patches/patch-Makefile_local (created)

1 +$OpenBSD$
2 +
3 +Index: Makefile.local
4 +--- Makefile.local.orig
5 ++++ Makefile.local
6 +@@ -19,7 +19,7 @@ endif
7 +
8 + # Depend (also) on the file 'version'. In case of ifeq ($(IS_GIT),yes)
9 + # this file may already have been updated.
10 +-version.stamp: $(srcdir)/version
11 ++version.stamp: $(srcdir)/version.txt
12 + echo $(VERSION) > $@
13 +
14 + $(TAR_FILE):

openbsd-wip/mail/notmuch/notmuch/patches/patch-bindings_python_notmuch_globals_py (created)

1 +$OpenBSD$
2 +
3 +Index: bindings/python/notmuch/globals.py
4 +--- bindings/python/notmuch/globals.py.orig
5 ++++ bindings/python/notmuch/globals.py
6 +@@ -27,7 +27,7 @@ try:
7 + if uname()[0] == 'Darwin':
8 + nmlib = CDLL("libnotmuch.{0:s}.dylib".format(SOVERSION))
9 + else:
10 +- nmlib = CDLL("libnotmuch.so.{0:s}".format(SOVERSION))
11 ++ nmlib = CDLL("libnotmuch.so")
12 + except:
13 + raise ImportError("Could not find shared 'notmuch' library.")
14 +

openbsd-wip/mail/notmuch/notmuch/patches/patch-configure (created)

1 +$OpenBSD$
2 +
3 +Index: configure
4 +--- configure.orig
5 ++++ configure
6 +@@ -588,9 +588,9 @@ if ! pkg-config --exists zlib; then
7 + rm -f compat/gen_zlib_pc
8 + fi
9 +
10 +-printf "Checking for zlib (>= 1.2.5.2)... "
11 ++printf "Checking for zlib (>= 1.2.3)... "
12 + have_zlib=0
13 +-if pkg-config --atleast-version=1.2.5.2 zlib; then
14 ++if pkg-config --atleast-version=1.2.3 zlib; then
15 + printf "Yes.\n"
16 + have_zlib=1
17 + zlib_cflags=$(pkg-config --cflags zlib)

openbsd-wip/mail/notmuch/notmuch/patches/patch-devel_RELEASING (created)

1 +$OpenBSD$
2 +
3 +Index: devel/RELEASING
4 +--- devel/RELEASING.orig
5 ++++ devel/RELEASING
6 +@@ -62,7 +62,7 @@ repository. From here, there are just a few steps to r
7 + be "1.0.1" and a subsequent bug-fix release would be "1.0.2"
8 + etc.
9 +
10 +- When you are happy with the file 'version', run
11 ++ When you are happy with the file 'version.txt', run
12 +
13 + make update-versions
14 +

openbsd-wip/mail/notmuch/notmuch/patches/patch-devel_nmbug_doc_conf_py (created)

1 +$OpenBSD$
2 +
3 +Index: devel/nmbug/doc/conf.py
4 +--- devel/nmbug/doc/conf.py.orig
5 ++++ devel/nmbug/doc/conf.py
6 +@@ -17,7 +17,7 @@ location = os.path.dirname(__file__)
7 +
8 + dirname = location
9 + while True:
10 +- version_file = os.path.join(dirname, 'version')
11 ++ version_file = os.path.join(dirname, 'version.txt')
12 + if os.path.exists(version_file):
13 + with open(version_file,'r') as f:
14 + version = f.read().strip()

openbsd-wip/mail/notmuch/notmuch/patches/patch-doc_conf_py (created)

1 +$OpenBSD$
2 +
3 +Index: doc/conf.py
4 +--- doc/conf.py.orig
5 ++++ doc/conf.py
6 +@@ -17,7 +17,7 @@ copyright = u'2009-2019, Carl Worth and many others'
7 + location = os.path.dirname(__file__)
8 +
9 + for pathdir in ['.', '..']:
10 +- version_file = os.path.join(location,pathdir,'version')
11 ++ version_file = os.path.join(location,pathdir,'version.txt')
12 + if os.path.exists(version_file):
13 + with open(version_file,'r') as infile:
14 + version=infile.read().replace('\n','')

openbsd-wip/mail/notmuch/notmuch/patches/patch-emacs_Makefile_local (created)

1 +$OpenBSD$
2 +
3 +Index: emacs/Makefile.local
4 +--- emacs/Makefile.local.orig
5 ++++ emacs/Makefile.local
6 +@@ -128,7 +128,6 @@ endif
7 + ifeq ($(WITH_DESKTOP),1)
8 + mkdir -p "$(DESTDIR)$(desktop_dir)"
9 + desktop-file-install --mode 0644 --dir "$(DESTDIR)$(desktop_dir)" $(emacs_mua_desktop)
10 +- -update-desktop-database "$(DESTDIR)$(desktop_dir)"
11 + endif
12 +
13 + CLEAN := $(CLEAN) $(emacs_bytecode) $(dir)/notmuch-version.el $(dir)/notmuch-pkg.el \

openbsd-wip/mail/notmuch/notmuch/patches/patch-lib_Makefile_local (created)

1 +$OpenBSD$
2 +
3 +Index: lib/Makefile.local
4 +--- lib/Makefile.local.orig
5 ++++ lib/Makefile.local
6 +@@ -16,9 +16,15 @@ LIBNAME = libnotmuch.$(LIBNOTMUCH_VERSION_MAJOR).$(LIB
7 + LIBRARY_LINK_FLAG = -dynamiclib -install_name $(libdir)/$(SONAME) -compatibility_version $(LIBNOTMUCH_VERSION_MAJOR).$(LIBNOTMUCH_VERSION_MINOR) -current_version $(LIBNOTMUCH_VERSION_MAJOR).$(LIBNOTMUCH_VERSION_MINOR).$(LIBNOTMUCH_VERSION_RELEASE)
8 + else
9 + LIBRARY_SUFFIX = so
10 ++ifeq ($(PLATFORM),OPENBSD)
11 ++LINKER_NAME = libnotmuch.$(LIBRARY_SUFFIX).$(LIBNOTMUCH_VERSION_MAJOR).$(LIBNOTMUCH_VERSION_MINOR)
12 ++SONAME = $(LINKER_NAME)
13 ++LIBNAME = $(SONAME)
14 ++else
15 + LINKER_NAME = libnotmuch.$(LIBRARY_SUFFIX)
16 + SONAME = $(LINKER_NAME).$(LIBNOTMUCH_VERSION_MAJOR)
17 + LIBNAME = $(SONAME).$(LIBNOTMUCH_VERSION_MINOR).$(LIBNOTMUCH_VERSION_RELEASE)
18 ++endif
19 + LIBRARY_LINK_FLAG = -shared -Wl,--version-script=$(srcdir)/$(lib)/notmuch.sym,-soname=$(SONAME) $(NO_UNDEFINED_LDFLAGS)
20 + ifeq ($(PLATFORM),OPENBSD)
21 + LIBRARY_LINK_FLAG += -lc
22 +@@ -69,19 +75,23 @@ $(dir)/libnotmuch.a: $(libnotmuch_modules)
23 + $(dir)/$(LIBNAME): $(libnotmuch_modules) util/libnotmuch_util.a parse-time-string/libparse-time-string.a
24 + $(call quiet,CXX $(CXXFLAGS)) $(libnotmuch_modules) $(FINAL_LIBNOTMUCH_LDFLAGS) $(LIBRARY_LINK_FLAG) -o $@ util/libnotmuch_util.a parse-time-string/libparse-time-string.a
25 +
26 ++ifneq ($(SONAME),$(LINKER_NAME))
27 + $(dir)/$(SONAME): $(dir)/$(LIBNAME)
28 + ln -sf $(LIBNAME) $@
29 +
30 + $(dir)/$(LINKER_NAME): $(dir)/$(SONAME)
31 + ln -sf $(LIBNAME) $@
32 ++endif
33 +
34 + install: install-$(dir)
35 +
36 + install-$(dir): $(dir)/$(LIBNAME)
37 + mkdir -p "$(DESTDIR)$(libdir)/"
38 + install -m0644 "$(lib)/$(LIBNAME)" "$(DESTDIR)$(libdir)/"
39 ++ifneq ($(SONAME),$(LINKER_NAME))
40 + ln -sf $(LIBNAME) "$(DESTDIR)$(libdir)/$(SONAME)"
41 + ln -sf $(LIBNAME) "$(DESTDIR)$(libdir)/$(LINKER_NAME)"
42 ++endif
43 + mkdir -p "$(DESTDIR)$(includedir)"
44 + install -m0644 "$(srcdir)/$(lib)/notmuch.h" "$(DESTDIR)$(includedir)/"
45 + $(LIBRARY_INSTALL_POST_COMMAND)

openbsd-wip/mail/notmuch/notmuch/patches/patch-lib_notmuch_h (created)

1 +$OpenBSD$
2 +
3 +Index: lib/notmuch.h
4 +--- lib/notmuch.h.orig
5 ++++ lib/notmuch.h
6 +@@ -57,8 +57,8 @@ NOTMUCH_BEGIN_DECLS
7 + * The library version number. This must agree with the soname
8 + * version in Makefile.local.
9 + */
10 +-#define LIBNOTMUCH_MAJOR_VERSION 5
11 +-#define LIBNOTMUCH_MINOR_VERSION 2
12 ++#define LIBNOTMUCH_MAJOR_VERSION ${LIBnotmuch_MAJOR}
13 ++#define LIBNOTMUCH_MINOR_VERSION ${LIBnotmuch_MINOR}
14 + #define LIBNOTMUCH_MICRO_VERSION 0
15 +
16 +

openbsd-wip/mail/notmuch/notmuch/patches/patch-notmuch-dump_c (created)

1 +$OpenBSD$
2 +
3 +OpenBSD zlib is too old for gzclose_w
4 +
5 +XXX various problems in gzip-related regression tests. many of them die with
6 +segfaults; suspect the naive s/gzclose_w/gzclose/ may result in use-after-free
7 +with the second gzclose call. some hang and are disabled in the port Makefile
8 +by TEST_FLAGS=NOTMUCH_SKIP_TESTS="[..]" - should be reenabled if testing any
9 +fixes to this.
10 +
11 +Index: notmuch-dump.c
12 +--- notmuch-dump.c.orig
13 ++++ notmuch-dump.c
14 +@@ -329,7 +329,7 @@ notmuch_database_dump (notmuch_database_t *notmuch,
15 + }
16 + }
17 +
18 +- ret = gzclose_w (output);
19 ++ ret = gzclose (output);
20 + if (ret) {
21 + fprintf (stderr, "Error closing %s: %s\n", name_for_error,
22 + gzerror (output, NULL));
23 +@@ -350,7 +350,7 @@ notmuch_database_dump (notmuch_database_t *notmuch,
24 + }
25 + DONE:
26 + if (ret != EXIT_SUCCESS && output)
27 +- (void) gzclose_w (output);
28 ++ (void) gzclose (output);
29 +
30 + if (ret != EXIT_SUCCESS && output_file_name)
31 + (void) unlink (tempname);

openbsd-wip/mail/notmuch/notmuch/patches/patch-notmuch-restore_c (created)

1 +$OpenBSD$
2 +
3 +OpenBSD zlib is too old for gzclose_r.
4 +
5 +Index: notmuch-restore.c
6 +--- notmuch-restore.c.orig
7 ++++ notmuch-restore.c
8 +@@ -449,7 +449,7 @@ notmuch_restore_command (notmuch_config_t *config, int
9 + if (notmuch)
10 + notmuch_database_destroy (notmuch);
11 +
12 +- if (input && gzclose_r (input)) {
13 ++ if (input && gzclose (input)) {
14 + fprintf (stderr, "Error closing %s: %s\n",
15 + name_for_error, gzerror (input, NULL));
16 + ret = EXIT_FAILURE;

openbsd-wip/mail/notmuch/notmuch/patches/patch-test_T360-symbol-hiding_sh (created)

1 +$OpenBSD$
2 +
3 +Index: test/T360-symbol-hiding.sh
4 +--- test/T360-symbol-hiding.sh.orig
5 ++++ test/T360-symbol-hiding.sh
6 +@@ -26,7 +26,7 @@ test_begin_subtest 'checking output'
7 + test_expect_equal "$result" "$output"
8 +
9 + test_begin_subtest 'comparing existing to exported symbols'
10 +-nm -P $NOTMUCH_BUILDDIR/lib/libnotmuch.so | awk '$2 == "T" && $1 ~ "^notmuch" {print $1}' | sort | uniq > ACTUAL
11 ++nm -P $NOTMUCH_BUILDDIR/lib/libnotmuch.so* | awk '$2 == "T" && $1 ~ "^notmuch" {print $1}' | sort | uniq > ACTUAL
12 + sed -n 's/^\(notmuch_[a-zA-Z0-9_]*\)[[:blank:]]*(.*/\1/p' $NOTMUCH_SRCDIR/lib/notmuch.h | sort | uniq > EXPORTED
13 + test_expect_equal_file EXPORTED ACTUAL
14 +

openbsd-wip/mail/notmuch/notmuch/patches/patch-test_test-lib-OPENBSD_sh (created)

1 +$OpenBSD$
2 +
3 +Index: test/test-lib-OPENBSD.sh
4 +--- test/test-lib-OPENBSD.sh.orig
5 ++++ test/test-lib-OPENBSD.sh
6 +@@ -4,6 +4,8 @@ if command -v gdate >/dev/null
7 + date () { gdate "$@"; }
8 + base64 () { gbase64 "$@"; }
9 + wc () { gwc "$@"; }
10 +- sed () { gsed "$@"; }
11 ++ seq () { gseq "$@"; }
12 ++ stat () { gstat "$@"; }
13 + sha256sum () { gsha256sum "$@"; }
14 ++ gdb () { egdb "$@"; }
15 + fi

openbsd-wip/mail/notmuch/notmuch/pkg/DESCR-emacs (created)

1 +The necessary runtime to run notmuch inside Emacs.

openbsd-wip/mail/notmuch/notmuch/pkg/DESCR-main (created)

1 +Notmuch is a mail indexing program providing a fast tag-based email
2 +reader with global search to use within a text editor.
3 +
4 +"Notmuch is not much of an email program. It doesn't receive messages
5 +(no POP or IMAP suport). It doesn't send messages (no mail composer,
6 +no network code at all). And for what it does do (email search)
7 +that work is provided by an external library, Xapian. So if Notmuch
8 +provides no user interface and Xapian does all the heavy lifting,
9 +then what's left here? Not much."

openbsd-wip/mail/notmuch/notmuch/pkg/PLIST-emacs (created)

1 +@comment $OpenBSD: PLIST-main,v$
2 +bin/notmuch-emacs-mua
3 +@info info/notmuch-emacs-mua.info
4 +@info info/notmuch-emacs.info
5 +@man man/man1/notmuch-emacs-mua.1
6 +share/applications/notmuch-emacs-mua.desktop
7 +share/emacs/site-lisp/coolj.el
8 +share/emacs/site-lisp/coolj.elc
9 +share/emacs/site-lisp/notmuch-address.el
10 +share/emacs/site-lisp/notmuch-address.elc
11 +share/emacs/site-lisp/notmuch-company.el
12 +share/emacs/site-lisp/notmuch-company.elc
13 +share/emacs/site-lisp/notmuch-compat.el
14 +share/emacs/site-lisp/notmuch-compat.elc
15 +share/emacs/site-lisp/notmuch-crypto.el
16 +share/emacs/site-lisp/notmuch-crypto.elc
17 +share/emacs/site-lisp/notmuch-draft.el
18 +share/emacs/site-lisp/notmuch-draft.elc
19 +share/emacs/site-lisp/notmuch-hello.el
20 +share/emacs/site-lisp/notmuch-hello.elc
21 +share/emacs/site-lisp/notmuch-jump.el
22 +share/emacs/site-lisp/notmuch-jump.elc
23 +share/emacs/site-lisp/notmuch-lib.el
24 +share/emacs/site-lisp/notmuch-lib.elc
25 +share/emacs/site-lisp/notmuch-logo.png
26 +share/emacs/site-lisp/notmuch-maildir-fcc.el
27 +share/emacs/site-lisp/notmuch-maildir-fcc.elc
28 +share/emacs/site-lisp/notmuch-message.el
29 +share/emacs/site-lisp/notmuch-message.elc
30 +share/emacs/site-lisp/notmuch-mua.el
31 +share/emacs/site-lisp/notmuch-mua.elc
32 +share/emacs/site-lisp/notmuch-parser.el
33 +share/emacs/site-lisp/notmuch-parser.elc
34 +share/emacs/site-lisp/notmuch-print.el
35 +share/emacs/site-lisp/notmuch-print.elc
36 +share/emacs/site-lisp/notmuch-query.el
37 +share/emacs/site-lisp/notmuch-query.elc
38 +share/emacs/site-lisp/notmuch-show.el
39 +share/emacs/site-lisp/notmuch-show.elc
40 +share/emacs/site-lisp/notmuch-tag.el
41 +share/emacs/site-lisp/notmuch-tag.elc
42 +share/emacs/site-lisp/notmuch-tree.el
43 +share/emacs/site-lisp/notmuch-tree.elc
44 +share/emacs/site-lisp/notmuch-version.el
45 +share/emacs/site-lisp/notmuch-version.elc
46 +share/emacs/site-lisp/notmuch-wash.el
47 +share/emacs/site-lisp/notmuch-wash.elc
48 +share/emacs/site-lisp/notmuch.el
49 +share/emacs/site-lisp/notmuch.elc
50 +@tag update-desktop-database

openbsd-wip/mail/notmuch/notmuch/pkg/PLIST-main (created)

1 +@comment $OpenBSD: PLIST-main,v$
2 +@bin bin/notmuch
3 +include/notmuch.h
4 +@info info/notmuch-address.info
5 +@info info/notmuch-compact.info
6 +@info info/notmuch-config.info
7 +@info info/notmuch-count.info
8 +@info info/notmuch-dump.info
9 +@info info/notmuch-hooks.info
10 +@info info/notmuch-insert.info
11 +@info info/notmuch-new.info
12 +@info info/notmuch-properties.info
13 +@info info/notmuch-reindex.info
14 +@info info/notmuch-reply.info
15 +@info info/notmuch-restore.info
16 +@info info/notmuch-search-terms.info
17 +@info info/notmuch-search.info
18 +@info info/notmuch-show.info
19 +@info info/notmuch-tag.info
20 +@info info/notmuch.info
21 +@lib lib/libnotmuch.so.${LIBnotmuch_VERSION}
22 +@man man/man1/notmuch-address.1
23 +@man man/man1/notmuch-compact.1
24 +@man man/man1/notmuch-config.1
25 +@man man/man1/notmuch-count.1
26 +@man man/man1/notmuch-dump.1
27 +@man man/man1/notmuch-insert.1
28 +@man man/man1/notmuch-new.1
29 +@man man/man1/notmuch-reindex.1
30 +@man man/man1/notmuch-reply.1
31 +@man man/man1/notmuch-restore.1
32 +@man man/man1/notmuch-search.1
33 +@man man/man1/notmuch-setup.1
34 +@man man/man1/notmuch-show.1
35 +@man man/man1/notmuch-tag.1
36 +@man man/man1/notmuch.1
37 +@man man/man3/notmuch.3
38 +@man man/man5/notmuch-hooks.5
39 +@man man/man7/notmuch-properties.7
40 +@man man/man7/notmuch-search-terms.7
41 +share/zsh/
42 +share/zsh/functions/
43 +share/zsh/functions/Completion/
44 +share/zsh/functions/Completion/Unix/
45 +share/zsh/functions/Completion/Unix/_email-notmuch
46 +share/zsh/functions/Completion/Unix/_notmuch

openbsd-wip/mail/notmuch/py-notmuch/Makefile (created)

1 +# $OpenBSD: Makefile.template,v 1.54 2008/01/13 16:43:57 espie Exp $
2 +
3 +COMMENT = Python bindings for notmuch
4 +
5 +PKGNAME = py-notmuch-${V}
6 +
7 +MODULES = lang/python
8 +MODPY_EGG_VERSION = ${V}
9 +
10 +FLAVORS = python3
11 +FLAVOR ?=
12 +
13 +RUN_DEPENDS = openbsd-wip/mail/notmuch/notmuch
14 +
15 +WRKSRC = ${WRKDIST}/bindings/python
16 +
17 +.include <bsd.port.mk>

openbsd-wip/mail/notmuch/py-notmuch/distinfo (created)

1 +SHA256 (notmuch-0.29.3.tar.xz) = 1fcEuacjleQzA96bH02OFN0nvzZG/bs3S7Pbt9FQ3DU=
2 +SIZE (notmuch-0.29.3.tar.xz) = 660536

openbsd-wip/mail/notmuch/py-notmuch/patches/patch-bindings_python_notmuch_globals_py (created)

1 +$OpenBSD$
2 +
3 +Index: bindings/python/notmuch/globals.py
4 +--- bindings/python/notmuch/globals.py.orig
5 ++++ bindings/python/notmuch/globals.py
6 +@@ -27,7 +27,7 @@ try:
7 + if uname()[0] == 'Darwin':
8 + nmlib = CDLL("libnotmuch.{0:s}.dylib".format(SOVERSION))
9 + else:
10 +- nmlib = CDLL("libnotmuch.so.{0:s}".format(SOVERSION))
11 ++ nmlib = CDLL("libnotmuch.so")
12 + except:
13 + raise ImportError("Could not find shared 'notmuch' library.")
14 +

openbsd-wip/mail/notmuch/py-notmuch/pkg/DESCR (created)

1 +The bindings necessary to interact with Notmuch from within Python.

openbsd-wip/mail/notmuch/py-notmuch/pkg/PLIST (created)

1 +@comment $OpenBSD: PLIST,v$
2 +lib/python${MODPY_VERSION}/site-packages/notmuch/
3 +lib/python${MODPY_VERSION}/site-packages/notmuch-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info
4 +lib/python${MODPY_VERSION}/site-packages/notmuch/__init__.py
5 +${MODPY_COMMENT}lib/python${MODPY_VERSION}/site-packages/notmuch/${MODPY_PYCACHE}/
6 +lib/python${MODPY_VERSION}/site-packages/notmuch/${MODPY_PYCACHE}__init__.${MODPY_PYC_MAGIC_TAG}pyc
7 +lib/python${MODPY_VERSION}/site-packages/notmuch/${MODPY_PYCACHE}compat.${MODPY_PYC_MAGIC_TAG}pyc
8 +lib/python${MODPY_VERSION}/site-packages/notmuch/${MODPY_PYCACHE}database.${MODPY_PYC_MAGIC_TAG}pyc
9 +lib/python${MODPY_VERSION}/site-packages/notmuch/${MODPY_PYCACHE}directory.${MODPY_PYC_MAGIC_TAG}pyc
10 +lib/python${MODPY_VERSION}/site-packages/notmuch/${MODPY_PYCACHE}errors.${MODPY_PYC_MAGIC_TAG}pyc
11 +lib/python${MODPY_VERSION}/site-packages/notmuch/${MODPY_PYCACHE}filenames.${MODPY_PYC_MAGIC_TAG}pyc
12 +lib/python${MODPY_VERSION}/site-packages/notmuch/${MODPY_PYCACHE}globals.${MODPY_PYC_MAGIC_TAG}pyc
13 +lib/python${MODPY_VERSION}/site-packages/notmuch/${MODPY_PYCACHE}message.${MODPY_PYC_MAGIC_TAG}pyc
14 +lib/python${MODPY_VERSION}/site-packages/notmuch/${MODPY_PYCACHE}messages.${MODPY_PYC_MAGIC_TAG}pyc
15 +lib/python${MODPY_VERSION}/site-packages/notmuch/${MODPY_PYCACHE}query.${MODPY_PYC_MAGIC_TAG}pyc
16 +lib/python${MODPY_VERSION}/site-packages/notmuch/${MODPY_PYCACHE}tag.${MODPY_PYC_MAGIC_TAG}pyc
17 +lib/python${MODPY_VERSION}/site-packages/notmuch/${MODPY_PYCACHE}thread.${MODPY_PYC_MAGIC_TAG}pyc
18 +lib/python${MODPY_VERSION}/site-packages/notmuch/${MODPY_PYCACHE}threads.${MODPY_PYC_MAGIC_TAG}pyc
19 +lib/python${MODPY_VERSION}/site-packages/notmuch/${MODPY_PYCACHE}version.${MODPY_PYC_MAGIC_TAG}pyc
20 +lib/python${MODPY_VERSION}/site-packages/notmuch/compat.py
21 +lib/python${MODPY_VERSION}/site-packages/notmuch/database.py
22 +lib/python${MODPY_VERSION}/site-packages/notmuch/directory.py
23 +lib/python${MODPY_VERSION}/site-packages/notmuch/errors.py
24 +lib/python${MODPY_VERSION}/site-packages/notmuch/filenames.py
25 +lib/python${MODPY_VERSION}/site-packages/notmuch/globals.py
26 +lib/python${MODPY_VERSION}/site-packages/notmuch/message.py
27 +lib/python${MODPY_VERSION}/site-packages/notmuch/messages.py
28 +lib/python${MODPY_VERSION}/site-packages/notmuch/query.py
29 +lib/python${MODPY_VERSION}/site-packages/notmuch/tag.py
30 +lib/python${MODPY_VERSION}/site-packages/notmuch/thread.py
31 +lib/python${MODPY_VERSION}/site-packages/notmuch/threads.py
32 +lib/python${MODPY_VERSION}/site-packages/notmuch/version.py