pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/mail/cyrus-imapd38



Module Name:    pkgsrc
Committed By:   nia
Date:           Wed Mar 18 18:17:27 UTC 2026

Modified Files:
        pkgsrc/mail/cyrus-imapd38: Makefile distinfo options.mk
Added Files:
        pkgsrc/mail/cyrus-imapd38/patches: patch-lib_ptrarray.c

Log Message:
cyrus-imapd38: Fixes for various platforms.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/mail/cyrus-imapd38/Makefile \
    pkgsrc/mail/cyrus-imapd38/distinfo pkgsrc/mail/cyrus-imapd38/options.mk
cvs rdiff -u -r0 -r1.1 pkgsrc/mail/cyrus-imapd38/patches/patch-lib_ptrarray.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/mail/cyrus-imapd38/Makefile
diff -u pkgsrc/mail/cyrus-imapd38/Makefile:1.1 pkgsrc/mail/cyrus-imapd38/Makefile:1.2
--- pkgsrc/mail/cyrus-imapd38/Makefile:1.1      Mon Mar  9 03:22:44 2026
+++ pkgsrc/mail/cyrus-imapd38/Makefile  Wed Mar 18 18:17:27 2026
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2026/03/09 03:22:44 jnemeth Exp $
+# $NetBSD: Makefile,v 1.2 2026/03/18 18:17:27 nia Exp $
 
 DISTNAME=      cyrus-imapd-3.8.6
 CATEGORIES=    mail
@@ -13,7 +13,7 @@ LICENSE=      original-bsd # like license
 MAKE_JOBS_SAFE=        no
 
 USE_TOOLS+=            perl:run makedepend pkg-config gmake bison bash:run
-USE_TOOLS+=            autoconf automake autoreconf
+USE_TOOLS+=            autoconf automake autoreconf flex
 USE_LANGUAGES+=                c c++
 USE_PKGLOCALEDIR=      yes
 GNU_CONFIGURE=         yes
@@ -54,6 +54,9 @@ CONFIGURE_ARGS+=      --enable-replication
 
 CONFIGURE_ARGS+=       andrew_cv_runpath_switch=${COMPILER_RPATH_FLAG}
 
+LDFLAGS.FreeBSD+=      -lm
+LDFLAGS.OpenBSD+=      -lm
+
 .include "options.mk"
 
 MAKE_ENV+=             PERL=${PERL5:Q}
@@ -77,6 +80,8 @@ REPLACE_PERL+=                tools/mkimap
 REPLACE_PERL+=         tools/mknewsgroups
 REPLACE_PERL+=         tools/rehash
 
+REPLACE_SH+=           perl/imap/cyradm.sh
+
 # Override default Perl install location
 SUBST_CLASSES+=                perldir
 SUBST_STAGE.perldir=   post-configure
Index: pkgsrc/mail/cyrus-imapd38/distinfo
diff -u pkgsrc/mail/cyrus-imapd38/distinfo:1.1 pkgsrc/mail/cyrus-imapd38/distinfo:1.2
--- pkgsrc/mail/cyrus-imapd38/distinfo:1.1      Mon Mar  9 03:22:44 2026
+++ pkgsrc/mail/cyrus-imapd38/distinfo  Wed Mar 18 18:17:27 2026
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.1 2026/03/09 03:22:44 jnemeth Exp $
+$NetBSD: distinfo,v 1.2 2026/03/18 18:17:27 nia Exp $
 
 BLAKE2s (cyrus-imapd-3.8.6.tar.gz) = 836d0fb39163ef20e2f4239aeb672fb2025eaeff06f01229221ad16b5f237f0c
 SHA512 (cyrus-imapd-3.8.6.tar.gz) = 998a4f4fbb2b3c350a964ac16229b74b0a433cbb8fce246c5d72cf32d9482381d4085f5712c6a901163e8003ef6da1e0a592a218f19349d8f37627935efee87f
@@ -8,3 +8,4 @@ SHA1 (patch-ao) = c01c9d32b4d73cbc32d2ad
 SHA1 (patch-aq) = bedd7e2d8e751577fa02f8f4cd91c00bd20b8a21
 SHA1 (patch-configure) = 3d44f8ba4f6cd829c4adf83a2a0c4e829386b514
 SHA1 (patch-imap_idlemsg.c) = fa7e0a66702a200112cf6ad8d65f22e0a2d5b1f6
+SHA1 (patch-lib_ptrarray.c) = ecd40f40094e2ba764f240cceaeb6c90a9dc89f0
Index: pkgsrc/mail/cyrus-imapd38/options.mk
diff -u pkgsrc/mail/cyrus-imapd38/options.mk:1.1 pkgsrc/mail/cyrus-imapd38/options.mk:1.2
--- pkgsrc/mail/cyrus-imapd38/options.mk:1.1    Mon Mar  9 03:22:44 2026
+++ pkgsrc/mail/cyrus-imapd38/options.mk        Wed Mar 18 18:17:27 2026
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.1 2026/03/09 03:22:44 jnemeth Exp $
+# $NetBSD: options.mk,v 1.2 2026/03/18 18:17:27 nia Exp $
 #
 
 PKG_OPTIONS_VAR=       PKG_OPTIONS.cyrus-imapd
@@ -8,8 +8,6 @@ PKG_SUGGESTED_OPTIONS=  pcre
 
 .include "../../mk/bsd.options.mk"
 
-PLIST_VARS+=   ldap
-
 .if !empty(PKG_OPTIONS:Mkerberos)
 .  if empty(PKG_OPTIONS:Mgssapi)
 PKG_OPTIONS+=  gssapi
@@ -66,7 +64,6 @@ generate-compile-et:
 .if !empty(PKG_OPTIONS:Mldap)
 .  include "../../databases/openldap-client/buildlink3.mk"
 CONFIGURE_ARGS+=       --with-ldap=${BUILDLINK_PREFIX.openldap-client}
-PLIST.ldap=            yes
 .else
 CONFIGURE_ARGS+=       --without-ldap
 .endif

Added files:

Index: pkgsrc/mail/cyrus-imapd38/patches/patch-lib_ptrarray.c
diff -u /dev/null pkgsrc/mail/cyrus-imapd38/patches/patch-lib_ptrarray.c:1.1
--- /dev/null   Wed Mar 18 18:17:27 2026
+++ pkgsrc/mail/cyrus-imapd38/patches/patch-lib_ptrarray.c      Wed Mar 18 18:17:27 2026
@@ -0,0 +1,14 @@
+$NetBSD: patch-lib_ptrarray.c,v 1.1 2026/03/18 18:17:27 nia Exp $
+
+Fix implicit declaration of string functions.
+
+--- lib/ptrarray.c.orig        2025-06-27 02:57:49.000000000 +0000
++++ lib/ptrarray.c
+@@ -45,6 +45,7 @@
+ 
+ #include "ptrarray.h"
+ #include <memory.h>
++#include <string.h>
+ #include "util.h"
+ #include "xmalloc.h"
+ 



Home | Main Index | Thread Index | Old Index