pkgsrc-Changes archive

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

CVS commit: pkgsrc/www/mailman3-web



Module Name:    pkgsrc
Committed By:   markd
Date:           Sat Jun 10 06:00:53 UTC 2023

Modified Files:
        pkgsrc/www/mailman3-web: Makefile distinfo
Added Files:
        pkgsrc/www/mailman3-web/patches: patch-mailman__web_settings_mailman.py

Log Message:
mailman3-web: fix path for fulltext_index


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 pkgsrc/www/mailman3-web/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/www/mailman3-web/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/www/mailman3-web/patches/patch-mailman__web_settings_mailman.py

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

Modified files:

Index: pkgsrc/www/mailman3-web/Makefile
diff -u pkgsrc/www/mailman3-web/Makefile:1.2 pkgsrc/www/mailman3-web/Makefile:1.3
--- pkgsrc/www/mailman3-web/Makefile:1.2        Tue Jun  6 12:42:40 2023
+++ pkgsrc/www/mailman3-web/Makefile    Sat Jun 10 06:00:53 2023
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.2 2023/06/06 12:42:40 riastradh Exp $
+# $NetBSD: Makefile,v 1.3 2023/06/10 06:00:53 markd Exp $
 
 DISTNAME=      mailman-web-0.0.6
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
+PKGREVISION=   1
 CATEGORIES=    www python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=m/mailman-web/}
 
@@ -28,6 +29,7 @@ SUBST_CLASSES+=               fhs
 SUBST_STAGE.fhs=       pre-configure
 SUBST_FILES.fhs=       mailman_web/manage.py
 SUBST_FILES.fhs+=      mailman_web/settings/base.py
+SUBST_FILES.fhs+=      mailman_web/settings/mailman.py
 SUBST_FILES.fhs+=      crontab.sample
 SUBST_MESSAGE.fhs=     Fixing default paths
 SUBST_VARS.fhs=                PKG_SYSCONFDIR PREFIX VARBASE

Index: pkgsrc/www/mailman3-web/distinfo
diff -u pkgsrc/www/mailman3-web/distinfo:1.1 pkgsrc/www/mailman3-web/distinfo:1.2
--- pkgsrc/www/mailman3-web/distinfo:1.1        Sun Jun  4 03:42:22 2023
+++ pkgsrc/www/mailman3-web/distinfo    Sat Jun 10 06:00:53 2023
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.1 2023/06/04 03:42:22 markd Exp $
+$NetBSD: distinfo,v 1.2 2023/06/10 06:00:53 markd Exp $
 
 BLAKE2s (mailman-web-0.0.6.tar.gz) = d6e674b082e1ed1dc4d1ad31f151b125955f2d665420c24b25d7f0055b73e93f
 SHA512 (mailman-web-0.0.6.tar.gz) = db1844f77c38469dab0f8aedd2efcebe2ae6a58877ba99b8489ebec7d05fba5f448a1952d2275b5db7c62e5f8641d5bcdd42915ae44aeb1a27c7063efde12906
 Size (mailman-web-0.0.6.tar.gz) = 24775 bytes
 SHA1 (patch-mailman__web_manage.py) = dc7ba1e520869d93bedb4dedb8ac8c92ca362cd8
 SHA1 (patch-mailman__web_settings_base.py) = 3f9aa8af506f1d3b988a3a0da7193efa2e993668
+SHA1 (patch-mailman__web_settings_mailman.py) = cc6a776d6a53b959ec34637d801fa7cdf329b0bd

Added files:

Index: pkgsrc/www/mailman3-web/patches/patch-mailman__web_settings_mailman.py
diff -u /dev/null pkgsrc/www/mailman3-web/patches/patch-mailman__web_settings_mailman.py:1.1
--- /dev/null   Sat Jun 10 06:00:54 2023
+++ pkgsrc/www/mailman3-web/patches/patch-mailman__web_settings_mailman.py      Sat Jun 10 06:00:53 2023
@@ -0,0 +1,15 @@
+$NetBSD: patch-mailman__web_settings_mailman.py,v 1.1 2023/06/10 06:00:53 markd Exp $
+
+configure paths
+
+--- mailman_web/settings/mailman.py.orig       2022-09-10 14:41:36.000000000 +0000
++++ mailman_web/settings/mailman.py
+@@ -93,7 +93,7 @@ AUTHENTICATION_BACKENDS = (
+ HAYSTACK_CONNECTIONS = {
+     'default': {
+         'ENGINE': 'haystack.backends.whoosh_backend.WhooshEngine',
+-        'PATH': "fulltext_index",
++        'PATH': "@VARBASE@/lib/mailman-web/data/fulltext_index",
+         # You can also use the Xapian engine, it's faster and more accurate,
+         # but requires another library.
+         # http://django-haystack.readthedocs.io/en/v2.4.1/installing_search_engines.html#xapian



Home | Main Index | Thread Index | Old Index