Commits
- Commit:
4fccd2fe0ffbbc668b66abe63614470635f92f1b
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: configure: split out dependencies
Rather than assume all dependencies are required for all programs, split
them out.
This will make packaging easier, as well as splitting the code to use
subprojects.
Note that due to the use of config.h semantics, in most cases the
got_compat.h header file is now at the top of the .c file it is included
in, so that it can handle the system header inclusion properly.
- Commit:
8b925c6ccd3968917253ea191906a1710c40ed2d
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: add back sys/queue.h
Now that the handling of including sys/queue.h is better, there's no
need to remove those lines from the source. Copy the location of those
original sys/queue.h lines from upstream at the same line number, so as
to avoid any conflicts in the future.
- Commit:
ff5e1f096349d36a0ba772c0d78a21b2ab54e060
- From:
- Josh Rickmar <jrick@zettaport.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
add signer_id option to got.conf(5)
Setting this option will cause 'got tag' to sign all created tags using
the SSH key, unless overridden by the -s flag.
ok stsp@
- Commit:
aef4f7aea3885b494c4f36a018806b25d60c86d7
- From:
- Josh Rickmar <jrick@zettaport.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
add missing revoked_signers grammar to got.conf(5)
ok stsp@
- Commit:
459c9b5d729663985a65eb88b5bb8955ca336251
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
rename got.conf(5) mirror-references to mirror_references for consistency
Existing configuration files will keep working for now since the old name
with dashes is still recognized by the config parser.
- Commit:
25eb584767361afbce3002356d91ff8d0a2a0ec0
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
rename got.conf(5) fetch-all-branches to fetch_all_branches for consistency
Existing configuration files will keep working for now since the old name
with dashes is still recognized by the config parser.
- Commit:
871bd038071fdaf6129995ef9f56226616b47d25
- From:
- Josh Rickmar <jrick@zettaport.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
create and verify tags signed by SSH keys
This adds a new -s flag to 'got tag' that specifies the signer
identity (for example, a key file) of the tagger. The tag object will
include a signature that validates each of the tag object headers and
the tag message.
Verifying these signed tags requires maintaining an allowed signers
file which maps signer identities (i.e. the email address of the
tagger) to SSH public keys. See ssh-keygen(1) for more details of the
allowed signers file. After creating this file and providing the path
to it in got.conf(5) using the allowed_signers option, tags may be
verified using with 'got tag -V tag_name'. The return code will be
non-zero if a signature fails to verify.
ok stsp@
- Commit:
ef20f542049f5928fa256eb470801089d0b1048b
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
build with -Wmissing-prototypes
ok stsp@
- Commit:
81e077a6cea50b04ac9be4f63abd004846653251
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: improve macos compat with bison/openssl
Some MacOS systems might not have GNU Bison installed, or have openssl
installed. In such instances the host versions of those can be used,
with a few tweaks around the edges to make them work.
This commit addresses these by:
* Relaxing a HAVE_CRYPTO check for __APPLE__, since the inclusion of the
machine-specific headers isn't dependent on openssl being installed;
* If the non-GNU version of bison on MacOS is being used, define any
missing YY* variables, and add a compiler #warning so we log
something.
This also updates the CI scripts to default to the system versions of
bison and removes openssl as a core dependency -- it's more likely
openssl is going to be installed, so removing it here will mean we can
catch the case for just the MacOS-specific failures, and the inclusion
of openssl on other OSes should cover the rest.
Noticed by Evan Silberman
- Commit:
bb27d0d133cd61dc95e337e9d53e611557532338
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
sync with OpenBSD parse.y
Explicitly cast "char" to "unsigned char" when assigned to "int"
to prevent sign extension from breaking comparions against EOF or
passing invalid arguments to ctype functions.
- Commit:
ccd081e7f1f2b65ac6191c78813dcd622b559dd0
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
pull in a type fix from the OpenBSD parse.y template
Original commit message by deraadt:
(unsigned) means (unsigned int) which on ptrdiff_t or size_t or other
larger types really is a range reduction...
Almost any cast to (unsigned) is a bug.
- Commit:
1a670123c8051c6431567498c037c5df89fbcf51
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
fix unsigned/signed char mismatch in parse.y
ok stsp
- Commit:
dd038bc6ec835ad3fd3c0b5303b8af9ad506c8cc
- From:
- Thomas Adam <thomas@xteddy.org>
- Via:
- Thomas Adam <thomas.adam@smoothwall.net>
- Date:
portable: initial Linux compilation
This commit modifies the GoT main branch to be able to compile it under
linux.
- Commit:
abc59930d57a2d46c310e1b0c758c948554bc1af
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Date:
indentation fixes
- Commit:
c2d7bc3f2831dfbe9406b0858dbae9384247467d
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
remove superfluous strdup(3) from parse.y files; Patch by Martin Vahlensieck
- Commit:
f08eaca092150217800d58a98ee47b078ef8689b
- From:
- Tracey Emery <tracey@traceyemery.net>
- Date:
reintroduce allowing empty fetch and send blocks with correct grammar. ok stsp@
- Commit:
6480c871c8f9ffdce90c10e7a7313e1187de019a
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
provide separate send {} and fetch {} configuration blocks in got.conf
Feature requested by naddy.
ok naddy, who also suggested some tweaks that will arrive shortly
- Commit:
92952c0ecd960182cd5822e21126351bff23ad61
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
stop allowing empty send {} or fetch {} blocks; yacc complained about grammar
yacc has been complaining about "shift/reduce conflicts" since
commit 16c4be8c1cab9456f9dd0468c27f8ab73235737e
Revert that change for now. Not sure how it can be done properly.
In any case, allowing empty config blocks is not very important.
- Commit:
7c84ef0790275b20085c4f2f5d6543da4fa9cb27
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
reject port number zero
- Commit:
aaf30ee7d7d84dcb4161aea893265400f9f19c13
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
rename variables to avoid too much repetition of the term 'repo'
- Commit:
26ac815fc44811dc1fa663baa02c1a65836dd649
- From:
- Tracey Emery <tracey@traceyemery.net>
- Date:
remove unused name variables, noticed by naddy@
- Commit:
0ff2bf469bd8c4cf24498832b2937041076a7d7f
- From:
- Tracey Emery <tracey@traceyemery.net>
- Date:
clean up weird grammar. not sure what i was thinking.
- Commit:
16c4be8c1cab9456f9dd0468c27f8ab73235737e
- From:
- Tracey Emery <tracey@traceyemery.net>
- Date:
fix to allow empty send and fetch blocks, ok stsp@
- Commit:
cfd923335bc72b12508df8bafe2f19ea43ddd4ad
- From:
- Tracey Emery <tracey@traceyemery.net>
- Date:
add send and fetch plumbing to parser for got.conf
This is the beginning of support for naddy's suggestion to break this out
similar to git. More code to come from stsp.
ok stsp@
- Commit:
99495ddb79841fe89b0746d35a49bb81e9220096
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
add a 'reference' directive to remote repositories in got.conf(5)
Make use of this in 'got clone' to persist -R option arguments given on
the command line in the cloned repository's got.conf(5) file.