repo, branch HEADlist/download/sync packs with remote repositories
f751e7e38b8a532548b1ad1de251567bed0887cf2017-11-27T07:49:09Z2017-11-27T07:49:09ZUse binary signatures for packsz3bracontactatz3bradotorgcommit f751e7e38b8a532548b1ad1de251567bed0887cf
parent 9740af45a711fa311b55c34e74ecdbf0fd097eee
Author: z3bra <contactatz3bradotorg>
Date: Mon, 27 Nov 2017 08:49:09 +0100
Use binary signatures for packs
9740af45a711fa311b55c34e74ecdbf0fd097eee2017-11-27T07:48:48Z2017-11-27T07:48:48ZMake installing untrusted packs scarierz3bracontactatz3bradotorgcommit 9740af45a711fa311b55c34e74ecdbf0fd097eee
parent ebc4a2bd4e1b087652ee804241fd982a2592d82b
Author: z3bra <contactatz3bradotorg>
Date: Mon, 27 Nov 2017 08:48:48 +0100
Make installing untrusted packs scarier
ebc4a2bd4e1b087652ee804241fd982a2592d82b2017-05-16T18:03:12Z2017-05-16T18:03:12ZMake pack verification optionnalz3bracontactatz3bradotorgcommit ebc4a2bd4e1b087652ee804241fd982a2592d82b
parent d3a89dc9b29fb289077b2f9c6c5e46a7f420b8dc
Author: z3bra <contactatz3bradotorg>
Date: Tue, 16 May 2017 20:03:12 +0200
Make pack verification optionnal
Pack verification can now be disabled using the -u flag (for untrusted).
This allow caching packs even if there is no signature or if we don't
have the public key.
d3a89dc9b29fb289077b2f9c6c5e46a7f420b8dc2017-05-16T06:51:02Z2017-05-16T06:51:02ZAdd verbosityz3bracontactatz3bradotorgcommit d3a89dc9b29fb289077b2f9c6c5e46a7f420b8dc
parent e8fc243b56c73fc572bf53ab92497b3ebf1352d1
Author: z3bra <contactatz3bradotorg>
Date: Tue, 16 May 2017 08:51:02 +0200
Add verbosity
e8fc243b56c73fc572bf53ab92497b3ebf1352d12017-05-16T06:20:57Z2017-05-16T06:20:57ZPrint URL in verbose modez3bracontactatz3bradotorgcommit e8fc243b56c73fc572bf53ab92497b3ebf1352d1
parent e25fbde7a78df5278bbcb634bfd694eec7b501e7
Author: z3bra <contactatz3bradotorg>
Date: Tue, 16 May 2017 08:20:57 +0200
Print URL in verbose mode
e25fbde7a78df5278bbcb634bfd694eec7b501e72017-05-04T11:52:49Z2017-05-04T11:52:49ZFix makefile/mkfile quirksz3bracontactatz3bradotorgcommit e25fbde7a78df5278bbcb634bfd694eec7b501e7
parent ebfc5f6438f11297572ae07d75bd0fa57f1261df
Author: z3bra <contactatz3bradotorg>
Date: Thu, 4 May 2017 13:52:49 +0200
Fix makefile/mkfile quirks
ebfc5f6438f11297572ae07d75bd0fa57f1261df2017-05-04T11:44:10Z2017-05-04T11:44:10ZAllow disabling signature checkingz3bracontactatz3bradotorgcommit ebfc5f6438f11297572ae07d75bd0fa57f1261df
parent ec303804d9ff0363169e863506238d7096f45bfb
Author: z3bra <contactatz3bradotorg>
Date: Thu, 4 May 2017 13:44:10 +0200
Allow disabling signature checking
A compile time flag allow disabling calls too sick(1) completely.
ec303804d9ff0363169e863506238d7096f45bfb2017-05-04T11:30:41Z2017-05-04T11:30:41ZAdd pack checking with sick(1)z3bracontactatz3bradotorgcommit ec303804d9ff0363169e863506238d7096f45bfb
parent 81dc1063bc4d2c14ed10f5f2c8b2aec3392391dd
Author: z3bra <contactatz3bradotorg>
Date: Thu, 4 May 2017 13:30:41 +0200
Add pack checking with sick(1)
Packs downloaded will now be checked against the local keyring using
sick[0]. Packs won't be written on disk if the signature does not
match any of the private key in the KEYRING (check sick(1) for more
informations)
[0] http://z3bra.org/sick
81dc1063bc4d2c14ed10f5f2c8b2aec3392391dd2017-04-28T22:28:23Z2017-04-28T22:28:23ZAdd README for the projectz3bracontactatz3bradotorgcommit 81dc1063bc4d2c14ed10f5f2c8b2aec3392391dd
parent 949380fb7c6ff87c565d290d93ac2c528572f821
Author: z3bra <contactatz3bradotorg>
Date: Sat, 29 Apr 2017 00:28:23 +0200
Add README for the project
949380fb7c6ff87c565d290d93ac2c528572f8212017-04-28T22:27:42Z2017-04-28T22:27:42ZAdd makefile for weak mindsz3bracontactatz3bradotorgcommit 949380fb7c6ff87c565d290d93ac2c528572f821
parent 45b5355116912d982fa1faf5f9f965ddfb03675a
Author: z3bra <contactatz3bradotorg>
Date: Sat, 29 Apr 2017 00:27:42 +0200
Add makefile for weak minds
45b5355116912d982fa1faf5f9f965ddfb03675a2016-12-16T19:19:58Z2016-12-16T19:19:58ZUpdate default repo.confz3bracontactatz3bradotorgcommit 45b5355116912d982fa1faf5f9f965ddfb03675a
parent c9a46b26415259bce16fe70e56f262674c2c3f14
Author: z3bra <contactatz3bradotorg>
Date: Fri, 16 Dec 2016 20:19:58 +0100
Update default repo.conf
c9a46b26415259bce16fe70e56f262674c2c3f142016-12-16T19:19:38Z2016-12-16T19:19:38ZExpose local repository to the config filez3bracontactatz3bradotorgcommit c9a46b26415259bce16fe70e56f262674c2c3f14
parent f041e2995a070bdc5a4c72b757ec8d2649e1ba70
Author: z3bra <contactatz3bradotorg>
Date: Fri, 16 Dec 2016 20:19:38 +0100
Expose local repository to the config file
f041e2995a070bdc5a4c72b757ec8d2649e1ba702016-12-16T18:43:11Z2016-12-16T18:43:11ZAdd manpage for repo(1)z3bracontactatz3bradotorgcommit f041e2995a070bdc5a4c72b757ec8d2649e1ba70
parent 0e998e2d515a046c7438d1ad1679a8f34f3ac023
Author: z3bra <contactatz3bradotorg>
Date: Fri, 16 Dec 2016 19:43:11 +0100
Add manpage for repo(1)
0e998e2d515a046c7438d1ad1679a8f34f3ac0232016-12-16T10:42:03Z2016-12-16T10:42:03Zrepogen: utility to generate repository listingsz3bracontactatz3bradotorgcommit 0e998e2d515a046c7438d1ad1679a8f34f3ac023
parent 1966d66302e577e563df9b2402ccc5803e3729b4
Author: z3bra <contactatz3bradotorg>
Date: Fri, 16 Dec 2016 11:42:03 +0100
repogen: utility to generate repository listings
1966d66302e577e563df9b2402ccc5803e3729b42016-12-16T10:39:21Z2016-12-16T10:39:21ZMeaningful error message for wrong file formatz3bracontactatz3bradotorgcommit 1966d66302e577e563df9b2402ccc5803e3729b4
parent acd2ded6f787d04551b3a00ed601d57cc136a900
Author: z3bra <contactatz3bradotorg>
Date: Fri, 16 Dec 2016 11:39:21 +0100
Meaningful error message for wrong file format
acd2ded6f787d04551b3a00ed601d57cc136a9002016-12-16T09:25:28Z2016-12-16T09:25:28ZPut real values as default locationsz3bracontactatz3bradotorgcommit acd2ded6f787d04551b3a00ed601d57cc136a900
parent d848175e1616dd7bf2a2ad2ad3cc3fc1030297d8
Author: z3bra <contactatz3bradotorg>
Date: Fri, 16 Dec 2016 10:25:28 +0100
Put real values as default locations
d848175e1616dd7bf2a2ad2ad3cc3fc1030297d82016-12-16T09:23:33Z2016-12-16T09:23:33ZRemove default repositoryz3bracontactatz3bradotorgcommit d848175e1616dd7bf2a2ad2ad3cc3fc1030297d8
parent 782e12892286906e5cb3c244d96959725342dbb2
Author: z3bra <contactatz3bradotorg>
Date: Fri, 16 Dec 2016 10:23:33 +0100
Remove default repository
782e12892286906e5cb3c244d96959725342dbb22016-12-16T09:20:12Z2016-12-16T09:20:12ZAllow forcing download of a remote filez3bracontactatz3bradotorgcommit 782e12892286906e5cb3c244d96959725342dbb2
parent 849be1f67dcdad023ac817558bf918606a3acf35
Author: z3bra <contactatz3bradotorg>
Date: Fri, 16 Dec 2016 10:20:12 +0100
Allow forcing download of a remote file
849be1f67dcdad023ac817558bf918606a3acf352016-12-16T01:41:37Z2016-12-16T01:41:37ZOnly download files when neededz3brawillyatmailoodotorgcommit 849be1f67dcdad023ac817558bf918606a3acf35
parent d9c5e6e1e01b02087fc1a6c209bcf0c857b91eb6
Author: z3bra <willyatmailoodotorg>
Date: Fri, 16 Dec 2016 02:41:37 +0100
Only download files when needed
d9c5e6e1e01b02087fc1a6c209bcf0c857b91eb62016-12-16T01:27:53Z2016-12-16T01:28:56ZExit with FAIL status if curl failsz3brawillyatmailoodotorgcommit d9c5e6e1e01b02087fc1a6c209bcf0c857b91eb6
parent 97ca69b8babb740a48a72c13847d0e85b8c9d3be
Author: z3bra <willyatmailoodotorg>
Date: Fri, 16 Dec 2016 02:27:53 +0100
Exit with FAIL status if curl fails
97ca69b8babb740a48a72c13847d0e85b8c9d3be2016-12-15T23:14:01Z2016-12-16T01:28:56ZAdd verbose flagz3bracontactatz3bradotorgcommit 97ca69b8babb740a48a72c13847d0e85b8c9d3be
parent 110669539bbb56f912cbea54c0601bb81136da88
Author: z3bra <contactatz3bradotorg>
Date: Fri, 16 Dec 2016 00:14:01 +0100
Add verbose flag
110669539bbb56f912cbea54c0601bb81136da882016-12-15T23:19:25Z2016-12-15T23:19:25ZAdd flag to specify config file on the command linez3brawillyatmailoodotorgcommit 110669539bbb56f912cbea54c0601bb81136da88
parent ce27affb8e47c3b19dc0a013dde121a4d80da3d8
Author: z3bra <willyatmailoodotorg>
Date: Fri, 16 Dec 2016 00:19:25 +0100
Add flag to specify config file on the command line
ce27affb8e47c3b19dc0a013dde121a4d80da3d82016-12-15T23:09:09Z2016-12-15T23:09:09ZRead repositories from configuration filez3brawillyatmailoodotorgcommit ce27affb8e47c3b19dc0a013dde121a4d80da3d8
parent fc22815052fc6ece27897b0e94c06784a5e9b574
Author: z3bra <willyatmailoodotorg>
Date: Fri, 16 Dec 2016 00:09:09 +0100
Read repositories from configuration file
fc22815052fc6ece27897b0e94c06784a5e9b5742016-12-15T21:34:23Z2016-12-15T21:34:23ZRename functionsz3bracontactatz3bradotorgcommit fc22815052fc6ece27897b0e94c06784a5e9b574
parent dd25eabbe37570395ca70bfdf9f0c60d62a27691
Author: z3bra <contactatz3bradotorg>
Date: Thu, 15 Dec 2016 22:34:23 +0100
Rename functions
dd25eabbe37570395ca70bfdf9f0c60d62a276912016-12-15T17:42:10Z2016-12-15T17:42:14ZMove sscanf() logic in local_load() functionsz3bracontactatz3bradotorgcommit dd25eabbe37570395ca70bfdf9f0c60d62a27691
parent be9bf8a9d75a32005bdd5cb7f9d50b04416f84a6
Author: z3bra <contactatz3bradotorg>
Date: Thu, 15 Dec 2016 18:42:10 +0100
Move sscanf() logic in local_load() functions
be9bf8a9d75a32005bdd5cb7f9d50b04416f84a62016-12-15T16:32:39Z2016-12-15T16:32:39ZRemove dynamic allocation from local_load()z3bracontactatz3bradotorgcommit be9bf8a9d75a32005bdd5cb7f9d50b04416f84a6
parent 3f6ad1133fe13890816944190faf7a5665c1fef5
Author: z3bra <contactatz3bradotorg>
Date: Thu, 15 Dec 2016 17:32:39 +0100
Remove dynamic allocation from local_load()
3f6ad1133fe13890816944190faf7a5665c1fef52016-12-15T16:32:17Z2016-12-15T16:32:17ZAllow specifying repositories on the command linez3bracontactatz3bradotorgcommit 3f6ad1133fe13890816944190faf7a5665c1fef5
parent 523e7584df1482ff45876c584df693848f03516d
Author: z3bra <contactatz3bradotorg>
Date: Thu, 15 Dec 2016 17:32:17 +0100
Allow specifying repositories on the command line
523e7584df1482ff45876c584df693848f03516d2016-12-15T16:31:50Z2016-12-15T16:31:50ZRemove function local_list()z3bracontactatz3bradotorgcommit 523e7584df1482ff45876c584df693848f03516d
parent a3970bdfaa5cd9b7300827205f9875fc29ec736b
Author: z3bra <contactatz3bradotorg>
Date: Thu, 15 Dec 2016 17:31:50 +0100
Remove function local_list()
a3970bdfaa5cd9b7300827205f9875fc29ec736b2016-12-15T16:29:05Z2016-12-15T16:29:09ZMake remote_sync() implementation simplerz3bracontactatz3bradotorgcommit a3970bdfaa5cd9b7300827205f9875fc29ec736b
parent b7ea949712bf597433985871df74f03857f52e03
Author: z3bra <contactatz3bradotorg>
Date: Thu, 15 Dec 2016 17:29:05 +0100
Make remote_sync() implementation simpler
The process of openning a file to write has now been moved OUTSIDE the
remote_sync() function to make the function more generic and thus
simpler to use.
b7ea949712bf597433985871df74f03857f52e032016-12-15T15:37:50Z2016-12-15T15:37:50ZChange pack struct to replace filename with urlz3bracontactatz3bradotorgcommit b7ea949712bf597433985871df74f03857f52e03
parent 1d72afb000e9e17e819f142023034a6efc344aef
Author: z3bra <contactatz3bradotorg>
Date: Thu, 15 Dec 2016 16:37:50 +0100
Change pack struct to replace filename with url
1d72afb000e9e17e819f142023034a6efc344aef2016-12-15T10:26:00Z2016-12-15T10:26:00ZMakes repos a tailq linked-listz3bracontactatz3bradotorgcommit 1d72afb000e9e17e819f142023034a6efc344aef
parent 268212a0aea3fae8f59c6484866fe33fab2a2638
Author: z3bra <contactatz3bradotorg>
Date: Thu, 15 Dec 2016 11:26:00 +0100
Makes repos a tailq linked-list
268212a0aea3fae8f59c6484866fe33fab2a26382016-12-15T09:59:35Z2016-12-15T10:23:06ZRemove calls to mkdir()z3bracontactatz3bradotorgcommit 268212a0aea3fae8f59c6484866fe33fab2a2638
parent 1ed45f78e709a131a34d15c47b95cd41d53ceec8
Author: z3bra <contactatz3bradotorg>
Date: Thu, 15 Dec 2016 10:59:35 +0100
Remove calls to mkdir()
Directory should be created beforhand, so it's not our job to create it.
1ed45f78e709a131a34d15c47b95cd41d53ceec82016-12-15T09:53:29Z2016-12-15T09:56:50ZRemove static linkingz3bracontactatz3bradotorgcommit 1ed45f78e709a131a34d15c47b95cd41d53ceec8
parent 4bac36e604cf02941aaab5f76eade66ceeeaa43a
Author: z3bra <contactatz3bradotorg>
Date: Thu, 15 Dec 2016 10:53:29 +0100
Remove static linking
libcrypto pulls the libdl library, which require dynamic linking to
dlopen().
For now we keep using dynamic linking as a quick fix to focus on the
main program.
4bac36e604cf02941aaab5f76eade66ceeeaa43a2016-12-15T09:53:11Z2016-12-15T09:53:11ZUse TAILQ instead of SLISTz3bracontactatz3bradotorgcommit 4bac36e604cf02941aaab5f76eade66ceeeaa43a
parent 6652abe7cecd4d2cbaa54939be7dc492041e0906
Author: z3bra <contactatz3bradotorg>
Date: Thu, 15 Dec 2016 10:53:11 +0100
Use TAILQ instead of SLIST
6652abe7cecd4d2cbaa54939be7dc492041e09062016-12-10T09:31:04Z2016-12-10T09:31:04ZEncode URLs for downloadz3brawillyatmailoodotorgcommit 6652abe7cecd4d2cbaa54939be7dc492041e0906
parent 88f39d240294f086e3fb6d3155cfb398d273038e
Author: z3bra <willyatmailoodotorg>
Date: Sat, 10 Dec 2016 10:31:04 +0100
Encode URLs for download
88f39d240294f086e3fb6d3155cfb398d273038e2016-12-10T09:19:38Z2016-12-10T09:19:38ZLet remote_sync() sync any given filenamez3brawillyatmailoodotorgcommit 88f39d240294f086e3fb6d3155cfb398d273038e
parent 88561a75de8adb2f555403958572a5167d9ea575
Author: z3bra <willyatmailoodotorg>
Date: Sat, 10 Dec 2016 10:19:38 +0100
Let remote_sync() sync any given filename
88561a75de8adb2f555403958572a5167d9ea5752016-12-10T08:55:34Z2016-12-10T08:55:34ZLoad packs from repo filez3brawillyatmailoodotorgcommit 88561a75de8adb2f555403958572a5167d9ea575
parent 255d98c6c20cb6db83a1a61e7c9bf8d7630baed5
Author: z3bra <willyatmailoodotorg>
Date: Sat, 10 Dec 2016 09:55:34 +0100
Load packs from repo file
255d98c6c20cb6db83a1a61e7c9bf8d7630baed52016-12-10T08:18:09Z2016-12-10T08:18:09ZRecreate local repo upon syncz3brawillyatmailoodotorgcommit 255d98c6c20cb6db83a1a61e7c9bf8d7630baed5
parent 598515bc64f263d554b574f3c4452bb626d3d23b
Author: z3bra <willyatmailoodotorg>
Date: Sat, 10 Dec 2016 09:18:09 +0100
Recreate local repo upon sync
598515bc64f263d554b574f3c4452bb626d3d23b2016-12-10T08:01:50Z2016-12-10T08:01:50ZInitial commitz3brawillyatmailoodotorgcommit 598515bc64f263d554b574f3c4452bb626d3d23b
Author: z3bra <willyatmailoodotorg>
Date: Sat, 10 Dec 2016 09:01:50 +0100
Initial commit