On Tue, Dec 31, 2019 at 08:14:53AM +0100, Landry Breuil wrote:
> yes, if you directly use gpgme, only declaring it as a dependency is
> fine, the others will come with it. Personally i dont use this gpg fancy
> stuff (so havent looked at the configure bits details, nor the
> pledge/unveil stuff), but this new mcds version still works fine
> querying my carddav server. Thanks!

Perfect, thanks for the explination. I've only started using the GPG
stuff on my work laptop, as I don't want my passwords on it in clear
text. Sure I have full disk encryption, but still.

> Only nit: if you change the version, you can remove REVISION.
> with that fixed, ok landry@

OK, here's a patch with it removed.

Thanks
Tim


Index: Makefile
===================================================================
RCS file: /cvs/ports/productivity/mcds/Makefile,v
retrieving revision 1.3
diff -u -p -r1.3 Makefile
--- Makefile    12 Jul 2019 20:48:59 -0000      1.3
+++ Makefile    1 Jan 2020 18:19:26 -0000
@@ -2,23 +2,24 @@
 
 COMMENT =              tty-based carddav search tool
 
-V =                    0.9
+V =                    1.4
 DISTNAME =             mcds-${V}
 CATEGORIES =           productivity
-REVISION =             0
 
 MAINTAINER =           Timothy Brown <[email protected]>
 
 # GPLv3+
 PERMIT_PACKAGE =       Yes
 
-WANTLIB =              c curl iconv intl xml2
+# uses pledge()
+WANTLIB =              assuan c curl gpg-error gpgme iconv intl xml2
 
 MASTER_SITES =         https://github.com/t-brown/mcds/releases/download/v${V}/
 
 LIB_DEPENDS =          devel/gettext,-runtime \
                        net/curl \
-                       textproc/libxml
+                       textproc/libxml \
+                       security/gpgme
 
 CONFIGURE_STYLE =      gnu
 
Index: distinfo
===================================================================
RCS file: /cvs/ports/productivity/mcds/distinfo,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 distinfo
--- distinfo    2 May 2019 15:52:58 -0000       1.1.1.1
+++ distinfo    1 Jan 2020 18:19:26 -0000
@@ -1,2 +1,2 @@
-SHA256 (mcds-0.9.tar.gz) = p+H8Q94kiHDDo/pV570uCXZki5YnyC41tUDx8HgARKc=
-SIZE (mcds-0.9.tar.gz) = 194620
+SHA256 (mcds-1.4.tar.gz) = nKLv7jvl1kWYBfP8HmBoWRTdJLZ2jrkiVGD/s8bsXQg=
+SIZE (mcds-1.4.tar.gz) = 202318
Index: pkg/DESCR
===================================================================
RCS file: /cvs/ports/productivity/mcds/pkg/DESCR,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 DESCR
--- pkg/DESCR   2 May 2019 15:52:58 -0000       1.1.1.1
+++ pkg/DESCR   1 Jan 2020 18:19:26 -0000
@@ -1,2 +1,2 @@
 Mcds is a command line tool primarily used as a search query plugin for mutt
-to query a carddav server.
+to query a CardDav server.

Reply via email to