1
1
Fork
You've already forked smarc
0
static web mail archive generator https://projects.omarpolo.com/smarc.html
  • C 76.4%
  • Perl 9.7%
  • Roff 6.6%
  • Makefile 4.1%
  • CSS 1.3%
  • Other 1.9%
2024年08月28日 10:26:50 +00:00
.mblaze typo; resolve filter-ignore from $PATH 2023年05月07日 11:57:02 +00:00
keys keys for 0.5 2024年01月10日 10:46:49 +00:00
msearchd switch log implementation 2023年10月16日 11:05:20 +00:00
templates move the search link to a template 2024年01月10日 10:46:46 +00:00
.gitignore ignore .sig files too 2023年10月16日 11:21:08 +00:00
CHANGES CHANGES for 0.4 2024年01月10日 10:46:49 +00:00
configure rename project: gotmarc -> smarc 2023年05月07日 07:22:27 +00:00
filter-ignore exports (some) parts of the email 2022年08月24日 10:33:53 +00:00
Makefile bump version 2024年01月10日 10:46:49 +00:00
mexp mexp: fix humanize() 2024年08月28日 10:26:50 +00:00
mkindex typo 2024年08月09日 09:04:21 +00:00
pe rename project: gotmarc -> smarc 2023年05月07日 07:22:27 +00:00
README tweak readme 2024年07月18日 21:50:08 +00:00
smarc prune away unresolved messages 2024年08月09日 09:42:41 +00:00
smarc.1 mention the search-link.html template in FILES 2024年01月10日 10:46:49 +00:00
smarc.7 reccommended -> recommended 2023年09月11日 10:09:33 +00:00
SMArc.pm move the search link to a template 2024年01月10日 10:46:46 +00:00
smingest fmt 2023年07月01日 10:00:04 +00:00
smingest.1 rename project: gotmarc -> smarc 2023年05月07日 07:22:27 +00:00
style.css msearchd: show excerpt of search results 2023年09月03日 18:58:26 +00:00
TODO add a feature request 2024年07月18日 21:55:57 +00:00

SMARC -- static web mail archive generator
==========================================
A collection of scripts to generate a static mail archive from a
Maildir; originally intended to provide a public web interface for the
Game of Trees mailing list, now flexible enough to be used for other
lists.
The static site generator depends on perl and mblaze, the web search
component on libevent and sqlite3.
How it works
------------
smarc(1) incrementally generate a set of static files from a maildir,
smingest(1) to populate an sqlite3 database to provide a search
facility for the msearchd(8) web interface.
smarc(7) documents the steps needed for a first setup, how to operate it
and tips for maintaining multiple archives.
Building
--------
To compile it, run
	$ ./configure
	$ make
	# make install
Several parameters can be passed to the `configure' script to customize
the build:
 --mandir or MANDIR			Where to install man pages
 --perllib or PERLLIB			Where to install the perl module
 --prefix or PREFIX			Where to install, /usr/local
 --realsysconfdir or REALSYSCONFDIR	"Real" sysconfdir
 --sharedir or SHAREDIR			$PREFIX/share by default
 --sysconfdir or SYSCONFDIR		/etc
 --wwwuser or WWWUSER			Name of the user used by msearchd
and also:
 CC		The C compiler
 CFLAGS		Flags for the C compiler
 LDFLAGS	Flags for the linker
 PKG_CONFIG	pkg-config program, use `no' or empty to disable usage
The variables can also be set in the environment for the configure
script to pick them up.
The difference between REALSYSCONFDIR and SYSCONFDIR is to accomodate
the packaging on some systems. For example, on OpenBSD SYSCONFDIR is
pointed at /usr/local/share/examples and the port then copies the files
in /etc, to allow the user to freely change some files and keep edits
across package updates.
smarc always installs in SYSCONFDIR but at runtime looks into
REALSYSCONFDIR.
License
-------
smarc, smingest and msearchd are released in the public domain. The
configure script loosely based on oconfigure and is released under the
terms of ISC license. Some OpenBSD-compats are included to build on
multiple platforms, these are released under a BSD-style license.
See the first lines of each file for the copyright owners.