Compare commits

..

No commits in common. "dd5fefe22d6f32b19769fa52c38a7fa08f54d118" and "d17f37b3c5c4ffa3482100e6e434861df0047907" have entirely different histories.

11 changed files with 85 additions and 20 deletions

1
.gitignore vendored
View File

@ -1,6 +1,5 @@
Makefile Makefile
config.h config.h
config.h.in
config.log config.log
config.status config.status
src/*.o src/*.o

View File

@ -5,15 +5,11 @@
Autoconf and Automake are used, and the most basic compilation procedure consists of: Autoconf and Automake are used, and the most basic compilation procedure consists of:
``` ```
autoreconf --install
./configure ./configure
make make
make install # root rights probably needed here, prefix with sudo in such case make install # root rights probably needed here, prefix with sudo in such case
``` ```
(Invocation of `autoreconf` is only required if the source tree has been cloned from the
git repository.)
To see the list of flags accepted by the configure script, run: To see the list of flags accepted by the configure script, run:
``` ```
@ -22,5 +18,5 @@ To see the list of flags accepted by the configure script, run:
Optionally, `mboxgrep` can be linked with the following libraries: Optionally, `mboxgrep` can be linked with the following libraries:
- PCRE2, to enable support for regular expressions compatible with Perl 5; - PCRE, to enable support for regular expressions compatible with Perl 5;
- zlib and bzlib, to enable support for compressed mbox folders. - zlib and bzlib, to enable support for compressed mbox folders.

View File

@ -1,11 +1,5 @@
# Changes of mboxgrep # Changes of mboxgrep
## Changes since 0.7.11
- Port to the pcre2 library (pcre1 is no longer supported).
- Check command-line options for conflicting matchers and actions.
- Various minor code cleanups.
## Changes since 0.7.10 ## Changes since 0.7.10
- GNU Automake is now utilized instead of manually written Makefile.in files. - GNU Automake is now utilized instead of manually written Makefile.in files.

View File

@ -1,7 +1,7 @@
# mboxgrep - selects e-mail messages matching a pattern # mboxgrep - selects e-mail messages matching a pattern
`mboxgrep` is a `grep(1)`-like tool which scans mailboxes and selects `mboxgrep` is a `grep(1)`-like tool which scans mailboxes and selects
e-mail messages matching a pattern. e-mail messages matching pattern.
Full description of mboxgrep is contained in the documentation, Full description of mboxgrep is contained in the documentation,
which is provided both in manpage and texinfo format, to satisfy which is provided both in manpage and texinfo format, to satisfy

View File

@ -3,7 +3,7 @@
## Behavior ## Behavior
- [x] use cryptographic hashes for detecting duplicate messages - [x] use cryptographic hashes for detecting duplicate messages
- [x] add checking for conflicting command-line options - [ ] add checking for conflicting command-line options
- [ ] support for deletion of messages after being matched and displayed - [ ] support for deletion of messages after being matched and displayed
- [x] ignore .overview when grepping Gnus folders - [x] ignore .overview when grepping Gnus folders
- [x] inverted matching - [x] inverted matching

View File

@ -18,7 +18,7 @@
# Process this file with autoconf to produce a configure script. # Process this file with autoconf to produce a configure script.
# Yawn. # Yawn.
AC_INIT([mboxgrep], [0.7.12], [dspiljar@datatipp.se], [mboxgrep], [https://www.mboxgrep.org/]) AC_INIT([mboxgrep], [0.7.11], [dspiljar@datatipp.se], [mboxgrep], [https://www.mboxgrep.org/])
#AM_INIT_AUTOMAKE #AM_INIT_AUTOMAKE
AM_INIT_AUTOMAKE([foreign]) AM_INIT_AUTOMAKE([foreign])
AC_LANG([C]) AC_LANG([C])

View File

@ -1,4 +1,4 @@
.TH MBOXGREP 1 "20 May 2023" .TH MBOXGREP 1 "24 Mar 2023"
.SH NAME .SH NAME
mboxgrep \- displays email messages matching a pattern mboxgrep \- displays email messages matching a pattern
.SH SYNOPSIS .SH SYNOPSIS
@ -10,7 +10,7 @@ mboxgrep \- displays email messages matching a pattern
This manual page refers to This manual page refers to
.B mboxgrep .B mboxgrep
version version
.BR 0.7.12 . .BR 0.7.11 .
.PP .PP
.B mboxgrep .B mboxgrep
scans a scans a

Binary file not shown.

View File

@ -5,8 +5,8 @@
@setchapternewpage odd @setchapternewpage odd
@set EDITION 0.7 @set EDITION 0.7
@set VERSION 0.7.12 @set VERSION 0.7.11
@set UPDATED 20 May 2023 @set UPDATED 24 Mar 2023
@dircategory Mail @dircategory Mail
@direntry @direntry

76
src/config.h.in Normal file
View File

@ -0,0 +1,76 @@
/* src/config.h.in. Generated from configure.ac by autoheader. */
/* Define to 1 if you have the <dirent.h> header file, and it defines `DIR'.
*/
#undef HAVE_DIRENT_H
/* Define to 1 if you have the `fcntl' function. */
#undef HAVE_FCNTL
/* Define to 1 if you have the `flock' function. */
#undef HAVE_FLOCK
/* Define to 1 if you have the `fts_open' function. */
#undef HAVE_FTS_OPEN
/* Define to 1 if you have the `ftw' function. */
#undef HAVE_FTW
/* Define to 1 if you have the `bz2' library (-lbz2). */
#undef HAVE_LIBBZ2
/* Define to 1 if you have the `dmalloc' library (-ldmalloc). */
#undef HAVE_LIBDMALLOC
/* Define to 1 if you have the `garfield' library (-lgarfield). */
#undef HAVE_LIBGARFIELD
/* Define to 1 if you have the `pcre2' library (-lpcre2). */
#undef HAVE_LIBPCRE2
/* Define to 1 if you have the `z' library (-lz). */
#undef HAVE_LIBZ
/* Define to 1 if you have the <ndir.h> header file, and it defines `DIR'. */
#undef HAVE_NDIR_H
/* Define to 1 if you have the `regcomp' function. */
#undef HAVE_REGCOMP
/* Define to 1 if you have the `strptime' function. */
#undef HAVE_STRPTIME
/* Define to 1 if you have the <sys/dir.h> header file, and it defines `DIR'.
*/
#undef HAVE_SYS_DIR_H
/* Define to 1 if you have the <sys/ndir.h> header file, and it defines `DIR'.
*/
#undef HAVE_SYS_NDIR_H
/* Name of package */
#undef PACKAGE
/* Define to the address where bug reports for this package should be sent. */
#undef PACKAGE_BUGREPORT
/* Define to the full name of this package. */
#undef PACKAGE_NAME
/* Define to the full name and version of this package. */
#undef PACKAGE_STRING
/* Define to the one symbol short name of this package. */
#undef PACKAGE_TARNAME
/* Define to the home page for this package. */
#undef PACKAGE_URL
/* Define to the version of this package. */
#undef PACKAGE_VERSION
/* Define to 1 if you have the ANSI C header files. */
#undef STDC_HEADERS
/* Version number of package */
#undef VERSION

View File

@ -21,7 +21,7 @@
#define MBOXGREP_H #define MBOXGREP_H
#define APPNAME "mboxgrep" #define APPNAME "mboxgrep"
#define VERSION "0.7.12" #define VERSION "0.7.11"
#define BUGREPORT_ADDR "dspiljar AT datatipp.se" #define BUGREPORT_ADDR "dspiljar AT datatipp.se"
#define HOST_NAME_SIZE 256 #define HOST_NAME_SIZE 256