Commit Graph

23 Commits

Author SHA1 Message Date
Leo 8eeca0adad *: say we are using GPL-2.0-only 2020-10-23 11:39:18 -03:00
Leo d4c670bc44 Add support for the SUDO variable
This can be used to pick another tool to elevate privileges.
2020-03-23 13:09:15 +00:00
Sören Tempel d5f4982a9a abuild-keygen: make size of private key configurable
Previously, a key size of 2048 bits was hardcoded. While this is still
the default, it can now be changed. Additionally, the default key size
might be changed to 4096 in the future.
2019-12-23 15:12:14 +01:00
Natanael Copa c486b3b4f3 allow override sharedir for testing
Aloow overrid sharedir with global ABUILD_SHAREDIR so we test the local
functions.sh instead of a system installed functions.sh
2019-11-07 11:42:23 +00:00
Natanael Copa f3dc428ea0 rename datadir -> sharedir
abuild uses datadir as local variable in various functions. Rename the
global datadir to sharedir to avoid confusion.
2019-11-07 11:42:23 +00:00
Jakub Jirutka 35077b43e8 replace deprecated `...` syntax with $(...) in shell scripts 2016-08-23 00:09:07 +02:00
Jakub Jirutka 948fedc5f7 indent heredocs when possible 2016-08-23 00:09:06 +02:00
Natanael Copa cc5688e048 abuild-keygen: cosmetic improvement on help text 2013-10-25 07:27:34 +00:00
Natanael Copa 4757588caf functions: rename abuild_ver to program_version 2013-10-25 07:26:22 +00:00
Natanael Copa 1822f3f624 functions: rename prog to program 2013-10-25 07:24:46 +00:00
Dubiousjim cfa6c7d67a various: fancier readconfig, permit env overrides 2013-07-09 07:13:46 +00:00
Dubiousjim b2d6b47be1 various: s/echo/msg/, s/echo/error/, tweak error messages 2013-07-09 07:12:56 +00:00
Dubiousjim 83ff539cb7 abuild_keygen: several tweaks
* make vars local
* refactor calculation of default_name
* make non_interactive=1
* tweak error message
* tweak sed command
2013-07-09 07:00:41 +00:00
Dubiousjim ef9fb52908 various: use long options, rework usages 2013-07-09 06:59:30 +00:00
Dubiousjim db1314ac55 various: move conf-loading and i/o to functions 2013-07-09 06:44:01 +00:00
Dubiousjim 42b0e019b9 abuild-keygen: refactor 2013-07-09 06:39:37 +00:00
Dubiousjim 811a215018 various: tweak opening comments, whitespace
Also remove incomplete efforts at listing "Depends on: ..."
2013-07-08 14:49:36 +00:00
Natanael Copa 05c2443ad1 abuild-keygen: implement -q for quiet mode 2010-12-20 13:33:45 +00:00
Natanael Copa 18fa4231dc abuild-keygen: implement -n for non-interactive mode 2010-12-20 13:22:29 +00:00
Natanael Copa 5fa6ba1c8f abuild-keygen: append hex timestamp to default key name 2009-07-24 19:12:56 +00:00
Natanael Copa c6bb16a9f9 abuild-keygen: use -a to add the needed config setting
So basicly, running 'abuild-keygen -a -i' will be all you need to do to
be able to use abuild-sign and install the signed packages.
2009-07-23 06:38:52 +00:00
Natanael Copa ce020315fd abuild-keygen: support for -i to install pubkey to /etc/apk/keys 2009-07-22 14:16:58 +00:00
Natanael Copa 9a62271545 abuild-keygen: new utility to generate keys for signing packages 2009-07-22 09:46:24 +00:00