c-icap-mkbdb(8)
π c-icap-mkbdb β the manual, bestie edition π
okay so. you know c-icap? the ICAP server? this little cutie right here, c-icap-mkbdb, lives in section 8 of the System Manager's Manual, and it's basically the ICAP clientutility that makes Berkeley DB lookup tables for you. say it with me: Berkeley DB lookup tables. slay.
β¨ NAME β¨
c-icap-mkbdb β simple ICAP clientutility to create Berkeley DB lookup tables π
πΈ SYNOPSIS πΈ
c-icap-mkbdb [ -V ] [ -VV ] [ -d debug_level ] [ -i file.txt ] [ -o file.db ] [ -t string|int|ip ] [ -v string|int|ip ] [ --dump ]
like. that's the whole vibe. short, iconic, no notes. π
π¦ DESCRIPTION π¦
okay so the c-icap-mkbdb utility can be used to create Berkeley DB databases which can be used as lookup tables by the c-icap server. that's it. that's the job. it's giving "I make the databases so the server can look things up." main character energy, honestly. π₯
π OPTIONS π
-Vβ Print version. that's it bestie, just the version. π«Ά-VVβ Print build informations. yes, the double V. it's a whole different thing. build infos, not just version. iykyk. β¨-ddebug_level β The debug level. crank it up when you want to see literally everything. π-ifile.txt β The file contains the data (required). no cap, this one is NOT optional, you need it. and the line format of this file must be:
key: value1, value2, ....
yes the dots are real, copy them exactly, don't come for me. π
-ofile.db β The database to be created. this is where your little creation goes. π-tstring|int|ip β The type of the key. selectstringfor string keys,intfor integer keys oripfor using IP addresses as keys. and the"string"is the default. π-vstring|int|ip β The type of the values. the"string"is the default. same energy as-tbut for values, not keys, don't mix them up. π-ppage_size[k] β The page size to use. can not be less than512bytes or greater than64k. read the berkeleyDB manual for default values, because we are not the manual for default values. π§--btreeβ Use B-Tree as access method for the database. by default uses Hash. choose your fighter. β--dumpβ Do not update the database just dump it to the screen. it's giving "look, don't touch." π
π EXAMPLES π
c-icap-mkbdb -o keys -i keys.txtIt builds thekeysBerkeley DB database, using string type for keys and values. the classic. the blueprint. πc-icap-mkbdb -o keys --dumpDump the contents of thekeysdatabase. no changes, just vibes and output. πΈ
π₯ SEE ALSO π₯
go read those too, bestie, they're all in the family. π«Ά
π AUTHOR π
Tsantilas Christos. we love a credited author. periodt. π
and that's the whole page!! π« written for c_icap 0.5.10 β this manual is c-icap-mkbdb(8), and yes, that's the version and that's the section, mwah. π go build some databases, bestie, you're gonna eat. πβ¨
π¦ where this page comes from
- debian bookworm: c-icap 1:0.5.10-4 Β· LGPL-2.1-or-later
- debian trixie: c-icap 1:0.5.10-6.1+b2 Β· LGPL-2.1-or-later
- ubuntu noble: c-icap 1:0.5.10-6.1build2 Β· LGPL-2.1-or-later
- ubuntu questing: c-icap 1:0.5.10-7
- ubuntu resolute: c-icap 1:0.5.10-7build1 Β· LGPL-2.1-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms