Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge branch 'master' into portableopensmtpd-201211152324p1 | Gilles Chehade | 2012-11-15 | 1 | -3/+5 |
|\ | |||||
| * | yeah I know ...opensmtpd-201211152234 | Gilles Chehade | 2012-11-15 | 1 | -2/+4 |
| | | |||||
| * | really fix fuckup | Gilles Chehade | 2012-11-15 | 1 | -2/+2 |
| | | |||||
| * | fix fuckup in publish.sh | Gilles Chehade | 2012-11-15 | 1 | -1/+1 |
| | | |||||
* | | fix merge master conflicts | Charles Longeau | 2012-11-15 | 56 | -1968/+2281 |
|\| | |||||
| * | Merge branch 'cleanup' | Gilles Chehade | 2012-11-15 | 48 | -668/+963 |
| |\ | | | | | | | | | | | | | | | | | | | | | | Conflicts: smtpd/lka.c smtpd/smtpd.h smtpd/table_db.c smtpd/table_static.c | ||||
| | * | finish KNF | Gilles Chehade | 2012-11-15 | 2 | -129/+150 |
| | | | |||||
| | * | knf nightmare | Gilles Chehade | 2012-11-15 | 8 | -95/+128 |
| | | | |||||
| | * | KNF, KNF, KNF | Gilles Chehade | 2012-11-15 | 4 | -68/+63 |
| | | | |||||
| | * | yup, more KNF | Gilles Chehade | 2012-11-15 | 2 | -31/+51 |
| | | | |||||
| | * | KNF | Gilles Chehade | 2012-11-15 | 2 | -23/+33 |
| | | | |||||
| | * | KNF | Gilles Chehade | 2012-11-15 | 5 | -74/+104 |
| | | | |||||
| | * | TONS of KNF | Gilles Chehade | 2012-11-15 | 24 | -258/+324 |
| | | | |||||
| * | | remove deprecated API | Gilles Chehade | 2012-11-15 | 2 | -122/+0 |
| | | | |||||
| * | | - rework the table API: | Gilles Chehade | 2012-11-15 | 10 | -156/+310 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * allow lookup() to return an error status * allow lookup() to *not* allocate if we just want to check - adapt the static and db table backends to the new API - adapt every caller to the new API - introduce table_getpwnam, the first K_USERINFO capable backend | ||||
| * | | tweak syntax slightly to provide simpler semantic for backend/paths | Gilles Chehade | 2012-11-15 | 1 | -4/+5 |
| |/ | | | | | | | combinations | ||||
| * | cosmethic | Gilles Chehade | 2012-11-15 | 1 | -9/+19 |
| | | |||||
| * | struct table_userinfo for the K_USERINFO service | Gilles Chehade | 2012-11-15 | 1 | -0/+8 |
| | | |||||
| * | introduce table services, unused yet | Gilles Chehade | 2012-11-15 | 4 | -20/+24 |
| | | |||||
| * | struct table *m -> struct table *t; | Gilles Chehade | 2012-11-15 | 5 | -80/+80 |
| | | |||||
| * | table->m_* -> table->t_* | Gilles Chehade | 2012-11-15 | 10 | -102/+102 |
| | | |||||
| * | - remove last occurences of "map" wording in log messages | Gilles Chehade | 2012-11-15 | 5 | -6/+6 |
| | | | | | | | | - smtpctl update map -> smtpctl update table in smtpctl.8 | ||||
| * | remove unneeded proto | Gilles Chehade | 2012-11-15 | 1 | -1/+0 |
| | | |||||
| * | - more "map" -> "table" | Gilles Chehade | 2012-11-15 | 11 | -334/+334 |
| | | | | | | | | | | - map.c -> table.c - map_*.c -> table_*.c | ||||
| * | struct map -> struct table | Gilles Chehade | 2012-11-15 | 13 | -124/+124 |
| | | | | | | | | struct map_backend -> struct table_backend | ||||
| * | - more MAP -> TABLE | Gilles Chehade | 2012-11-15 | 7 | -21/+21 |
| | | |||||
| * | MAX_MAPSOURCE_SIZE -> MAX_TABLE_BACKEND_SIZE | Gilles Chehade | 2012-11-15 | 1 | -2/+2 |
| | | |||||
| * | Merge branch 'master' into table | Gilles Chehade | 2012-11-15 | 3 | -5/+5 |
| |\ | | | | | | | | | | | | | Conflicts: smtpd/smtpd.h | ||||
| | * | - fix warnings caused by me not having enough coffee | Gilles Chehade | 2012-11-15 | 3 | -5/+5 |
| | | | | | | | | | | | | - change update() handler prototype to return an int | ||||
| * | | - enum map_type -> enum table_type | Gilles Chehade | 2012-11-15 | 4 | -20/+20 |
| | | | | | | | | | | | | - enum map_kind -> enum table_kind | ||||
| * | | authmap -> authtable | Gilles Chehade | 2012-11-15 | 4 | -10/+17 |
| | | | |||||
| * | | PURGE_MAPS -> PURGE_TABLES | Gilles Chehade | 2012-11-15 | 3 | -3/+3 |
| | | | |||||
| * | | env->sc_maps -> env->sc_tables | Gilles Chehade | 2012-11-15 | 6 | -29/+29 |
| |/ | |||||
| * | - "file" becomes an alias to static map | Gilles Chehade | 2012-11-15 | 1 | -3/+1 |
| | | |||||
| * | - cleanup in the map code: | Gilles Chehade | 2012-11-15 | 8 | -206/+163 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * a map now has a pointer to its backend to avoid having calls to map_backend_lookup() all over the place * remove map_file, no longer relevant: to avoid a file map from returning partial results if queried while being written to, we recently had the file backend convert file into a static map internally. by rearranging a bit of code, map_file can bite the dust and users not even notice. * default table backend is now static if not provided, the file backend no longer exists. * the map API now provides a config() handler which is called at smtpd.conf parse time, allowing for spotting badly crafted external configurations (/etc/mail/aliases for instance) earlier. * map_config_parser() is introduced to allow a backend to fill a static configuration map from a file consisting of either lists or key/value entries. | ||||
| * | - fix 'smtpctl update map' which has been broken after the cleanup | Gilles Chehade | 2012-11-15 | 2 | -3/+4 |
| | | | | | | | | of smtpctl's nested loops | ||||
* | | Merge branch 'master' into portable | Eric Faurot | 2012-11-14 | 1 | -3/+3 |
|\| | |||||
| * | return immediatly on QOP_LEARN. | Eric Faurot | 2012-11-14 | 1 | -3/+3 |
| | | |||||
* | | Merge branch 'master' into portable | Gilles Chehade | 2012-11-14 | 4 | -143/+193 |
|\| | | | | | | | | | Conflicts: smtpd/parse.y | ||||
| * | - AUTH should take a table not a string, fix the syntax | Gilles Chehade | 2012-11-14 | 1 | -24/+18 |
| | | | | | | | | - make a few map -> table changes in parse.y error messages | ||||
| * | start renaming producers from "map" to "table" since that's where | Gilles Chehade | 2012-11-14 | 1 | -15/+15 |
| | | | | | | | | we're heading | ||||
| * | update man page to match reality | Gilles Chehade | 2012-11-14 | 1 | -6/+5 |
| | | |||||
| * | - simplify grammar further | Gilles Chehade | 2012-11-14 | 2 | -42/+40 |
| | | |||||
| * | - add support for typed tables: dynamic, list and hash | Gilles Chehade | 2012-11-14 | 2 | -10/+57 |
| | | | | | | | | | | | | | | | | | | * dynamic: looks up content from an external source; * list: contains a list of string values; * hash: contains a mapping of key => values; - in parse.y add checks to ensure maps of wrong types aren't used in an inappropriate context; | ||||
| * | Merge branch 'parse_y' | Gilles Chehade | 2012-11-14 | 2 | -88/+100 |
| |\ | |||||
| | * | Merge branch 'master' into parse_y | Gilles Chehade | 2012-11-14 | 10 | -231/+362 |
| | |\ | |||||
| | * \ | Merge branch 'master' into parse_y | Gilles Chehade | 2012-11-14 | 5 | -50/+40 |
| | |\ \ | | | | | | | | | | | | | | | | | | | | | Conflicts: smtpd/parse.y | ||||
| | * | | | various syntax improvements | Gilles Chehade | 2012-11-14 | 2 | -101/+94 |
| | | | | | |||||
* | | | | | Merge branch 'master' into portable | Eric Faurot | 2012-11-14 | 17 | -342/+360 |
|\| | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: smtpd/parse.y | ||||
| * | | | | Merge branch 'master' of ssh.poolp.org:/git/opensmtpd | Eric Faurot | 2012-11-14 | 1 | -4/+1 |
| |\ \ \ \ | | | |_|/ | | |/| | |