OpenBSD CVS

CVS log for src/usr.sbin/smtpd/Attic/table_sqlite.c


[BACK] Up to [local] / src / usr.sbin / smtpd

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.18, Mon Nov 30 19:54:25 2015 UTC (8 years, 6 months ago) by jung
Branch: MAIN
CVS Tags: HEAD
Changes since 1.17: +1 -1 lines
FILE REMOVED

remove table-passwd, table-sqlite, and table-ldap
about 4k lines seldom used code

people who rely on this install mail/opensmtpd-extras

direction discussed (and agreed) with many

ok gilles

Revision 1.17 / (download) - annotate - [select for diffs], Sun Oct 11 12:50:00 2015 UTC (8 years, 7 months ago) by sunil
Branch: MAIN
Changes since 1.16: +6 -17 lines
Diff to previous 1.16 (colored)

Convert some fgetln to getline.

Ok gilles@, giovanni@, millert@

Revision 1.16 / (download) - annotate - [select for diffs], Tue Jan 20 17:37:54 2015 UTC (9 years, 4 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_5_8_BASE, OPENBSD_5_8, OPENBSD_5_7_BASE, OPENBSD_5_7
Changes since 1.15: +8 -1 lines
Diff to previous 1.15 (colored)

use <limits.h> comprehensively.  For now try to push <> includes to
each .c file, and out of the .h files.  To avoid overinclude.
ok gilles, in principle.  If this has been done right, -portable should
become easier to maintain.

Revision 1.15 / (download) - annotate - [select for diffs], Fri Jan 16 06:40:21 2015 UTC (9 years, 4 months ago) by deraadt
Branch: MAIN
Changes since 1.14: +2 -1 lines
Diff to previous 1.14 (colored)

Replace <sys/param.h> with <limits.h> and other less dirty headers where
possible.  Annotate <sys/param.h> lines with their current reasons.  Switch
to PATH_MAX, NGROUPS_MAX, HOST_NAME_MAX+1, LOGIN_NAME_MAX, etc.  Change
MIN() and MAX() to local definitions of MINIMUM() and MAXIMUM() where
sensible to avoid pulling in the pollution.  These are the files confirmed
through binary verification.
ok guenther, millert, doug (helped with the verification protocol)

Revision 1.14 / (download) - annotate - [select for diffs], Tue Jul 8 13:49:09 2014 UTC (9 years, 11 months ago) by eric
Branch: MAIN
CVS Tags: OPENBSD_5_6_BASE, OPENBSD_5_6
Changes since 1.13: +8 -9 lines
Diff to previous 1.13 (colored)

Update the table API: lookup functions can take an optional parameters
dictionnary (currently not set). While there, add a helper for forking
external backends, and remove unused table functions.

ok gilles@

Revision 1.13 / (download) - annotate - [select for diffs], Tue Jul 1 17:33:51 2014 UTC (9 years, 11 months ago) by matthieu
Branch: MAIN
Changes since 1.12: +3 -3 lines
Diff to previous 1.12 (colored)

Fix snprintf() return value tests. ok gilles@

Revision 1.12 / (download) - annotate - [select for diffs], Tue Jun 10 16:43:46 2014 UTC (10 years ago) by gilles
Branch: MAIN
Changes since 1.11: +2 -1 lines
Diff to previous 1.11 (colored)

we should really zero a buffer we strlcat to otherwise aliases resolution
really resolves nothing :-)

Revision 1.11 / (download) - annotate - [select for diffs], Thu Dec 26 17:25:32 2013 UTC (10 years, 5 months ago) by eric
Branch: MAIN
CVS Tags: OPENBSD_5_5_BASE, OPENBSD_5_5
Changes since 1.10: +3 -3 lines
Diff to previous 1.10 (colored)

bcopy -> memmove
bzero -> memset

Revision 1.10 / (download) - annotate - [select for diffs], Thu Nov 28 10:43:37 2013 UTC (10 years, 6 months ago) by eric
Branch: MAIN
Changes since 1.9: +4 -4 lines
Diff to previous 1.9 (colored)

unsigned char casts for ctype
ok gilles@

Revision 1.9 / (download) - annotate - [select for diffs], Mon Nov 18 11:47:16 2013 UTC (10 years, 6 months ago) by eric
Branch: MAIN
Changes since 1.8: +2 -2 lines
Diff to previous 1.8 (colored)

change dict_poproot() prototype: do not take key placeholder parameter as
it can't work that way.

Revision 1.8 / (download) - annotate - [select for diffs], Sat Oct 26 12:27:59 2013 UTC (10 years, 7 months ago) by eric
Branch: MAIN
Changes since 1.7: +3 -3 lines
Diff to previous 1.7 (colored)

%i -> %d in format strings

Revision 1.7 / (download) - annotate - [select for diffs], Thu Oct 24 20:26:45 2013 UTC (10 years, 7 months ago) by eric
Branch: MAIN
Changes since 1.6: +6 -6 lines
Diff to previous 1.6 (colored)

fix USERINFO and CREDENTIALS lookups in experimental sqlite backend.

Revision 1.6 / (download) - annotate - [select for diffs], Mon Jul 22 13:14:49 2013 UTC (10 years, 10 months ago) by eric
Branch: MAIN
CVS Tags: OPENBSD_5_4_BASE, OPENBSD_5_4
Changes since 1.5: +2 -1 lines
Diff to previous 1.5 (colored)

use unistd.h instead of getopt.h

Revision 1.5 / (download) - annotate - [select for diffs], Sun Jul 21 09:25:38 2013 UTC (10 years, 10 months ago) by eric
Branch: MAIN
Changes since 1.4: +4 -4 lines
Diff to previous 1.4 (colored)

tweak log messages

Revision 1.4 / (download) - annotate - [select for diffs], Sat Jul 20 09:06:46 2013 UTC (10 years, 10 months ago) by eric
Branch: MAIN
Changes since 1.3: +437 -312 lines
Diff to previous 1.3 (colored)

Update ldap and sqlite table backends and provide them as external backends.

Revision 1.3 / (download) - annotate - [select for diffs], Fri May 24 17:03:14 2013 UTC (11 years ago) by eric
Branch: MAIN
Changes since 1.2: +59 -91 lines
Diff to previous 1.2 (colored)

sync with OpenSMTPD 5.3.2

ok gilles@

Revision 1.2 / (download) - annotate - [select for diffs], Thu Jan 31 18:34:43 2013 UTC (11 years, 4 months ago) by eric
Branch: MAIN
CVS Tags: OPENBSD_5_3_BASE, OPENBSD_5_3
Changes since 1.1: +2 -1 lines
Diff to previous 1.1 (colored)

assorted fixes spotted by Coverity.
some log message updates.

ok gilles@

Revision 1.1 / (download) - annotate - [select for diffs], Sat Jan 26 09:37:24 2013 UTC (11 years, 4 months ago) by gilles
Branch: MAIN

Sync with our smtpd repo:

* first bricks of ldap and sqlite support (not finished but both working)
* new table API to replace map API, all lookups are done through tables
* improved handling of temporary errors throughout the daemon
* improved scheduler and mta logic: connection reuse, optimizes batches
* improved queue: more tolerant to admin errors, new layout, less disk-IO
* improved memory usage under high load
* SSL certs/keys isolated to lookup process to avoid facing network
* VIRTUAL support improved, fully virtual setups possible now
* runtime tracing of processes through smtpctl trace
* ssl_privsep.c sync-ed with relayd
* ssl.c no longer contains smtpd specific interfaces
* smtpd-specific ssl bits moved to ssl_smtpd.c
* update mail address in copyright

FLUSH YOUR QUEUE. FLUSH YOUR QUEUE. FLUSH YOUR QUEUE. FLUSH YOUR QUEUE.

smtpd.conf(5) simplified, it will require adaptations

ok eric@

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.