Commit Graph

29 Commits

Author SHA1 Message Date
Natanael Copa
672032a4be abuild-sign: dont set timestamp in gzip
This improves reproducibility of builds
2019-11-07 13:23:36 +00:00
Natanael Copa
b80a27b86a abuild-sign: use pigz if available
This is similar to what we do in abuild. It improves performance on
multicore machines.
2019-11-07 13:21:45 +00: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
kpcyrd
ba16a67781 abuild: add SOURCE_DATE_EPOCH support 2019-07-17 13:11:20 +00:00
Andrei Belov
2d2be1ca1b abuild-sign: actually catch errors while signing 2019-03-05 11:42:15 +00:00
Natanael Copa
bbe4a4fdfd abuild-sign: fall back to libressl if openssl is missing
openssl binary may be missing while migrating system from libressl to
openssl. Make sure we can always sign the backage if either is there.
2019-01-10 16:08:51 +00:00
A. Wilcox
597a7f167b abuild: call tar portably 2017-06-23 11:27:41 +03:00
Jakub Jirutka
454beb0c5c abuild-sign: indent heredoc 2016-11-23 21:59:12 +01: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
b53d4ad7de abuild-sign: add -e/--installed option
This is supposed to be used in abuild only to make it possible to exit
with error early, before package is built, in case the signing key is
missing.
2013-10-25 07:57:35 +00:00
Natanael Copa
c28aa71335 abuild-sign: cosmetic improvement of help text 2013-10-25 07:28:55 +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
7a628e7dc4 abuild-sign: fix a race condition 2013-07-09 07:02:43 +00:00
Dubiousjim
ad61123797 abuild-sign: wrap cd in a subshell, use set -e 2013-07-09 07:02:36 +00:00
Dubiousjim
3eac277542 abuild-sign: make vars local 2013-07-09 07:01:07 +00:00
Dubiousjim
8aa5e21322 abuild-sign: reformat error output 2013-07-09 07:00:53 +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
144ee3f113 abuild-sign: refactor 2013-07-09 06:39:46 +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
b35b56943e abuild-sign: remove temp signature 2009-11-02 18:33:30 +00:00
Natanael Copa
64baa7c505 abuild-sign: set permissions on signed index to 644
mktemp set it to 600 so we need to manually set it to 644
2009-09-14 08:41:55 +00:00
Natanael Copa
17c6ce7ada abuild-sign: use mktemp for temp files. add -q option for quiet 2009-07-23 08:42:34 +00:00
Natanael Copa
571e056711 abuild-sign: initial commit
we can only sign indexes so far
2009-07-22 15:11:25 +00:00