26 Commits

Author SHA1 Message Date
Eric F Crist
a8d43bc3cf
Release v3.1.5
* update build script to sign/verify using gpg
* update ChangeLog for release

Signed-off-by: Eric F Crist <ecrist@secure-computing.net>
2023-06-10 09:01:27 -05:00
Eric F Crist
2dcbb64058
update python call, remove test pki on build
Helps with preventing #571 again by removing the test pki that may
exist.  The build script now removes it if present.

Update the python call the python3 so it works on macOS like in master.

Signed-off-by: Eric F Crist <ecrist@secure-computing.net>
2022-05-18 08:08:25 -05:00
a1346054
212c18a83c
Trim excess whitespace 2021-10-21 14:21:00 +00:00
a1346054
20b4d2cbcc
Fix shellcheck warning 2021-10-21 14:08:25 +00:00
Eric F Crist
3e93f925d3
Add version output option and info
Now supports both --version and "version and outputs detailed version
information.  Tested on FreeBSD, macOS, and Windows 10 64-bit.

Sample Output:

EasyRSA Version Information
Version:     git-development
Generated:   Tue Apr 14 18:54:42 CDT 2020
SSL Lib:     OpenSSL 1.1.1a-freebsd  20 Nov 2018
Git Commit:  f0129cfe6222820a85db2d394ab73d3c7759c5be
Source Repo: https://github.com/OpenVPN/easy-rsa

This closes #372

Signed-off-by: Eric F Crist <ecrist@secure-computing.net>
2020-04-14 19:10:07 -05:00
Eric F Crist
38c42b22d6
neuter SC, WIP
Signed-off-by: Eric F Crist <ecrist@secure-computing.net>
2019-04-18 06:50:57 -05:00
Eric F Crist
ca33f84aa2
Add win32 OpenSSL binaries, update build
New build script changes to handle win32/win64 openssl binaries.
There's more to do here with copying out the README files and such, but
this should be a good working start.

Signed-off-by: Eric F Crist <ecrist@secure-computing.net>
2019-02-07 18:08:39 -06:00
Luiz Angelo Daros de Luca
6827b51b5c
Multiple fix for build-dist.sh
* Added --no-windows, --no-unix and no --no-compress to skip some
build steps.
* Use cp in a Linux and FreeBSD compatible way
* Set 'sed -i' backup extension (Linux and FreeBSD compatible)
  (Linux regression from f0204c160b3cbdc041a91f2861febab24b7f5f76)
* Fix zip location to match tar (fixing also --bin-dest for win32)
* Align (y/n) with question in confirm

Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
2019-01-30 13:59:48 -02:00
Eric F Crist
6bba336750
Missed file from 446a58f
I somehow missed adding this change, even though the file was part of
the commit.  git is hard.

Signed-off-by: Eric F Crist <ecrist@secure-computing.net>
2018-10-02 10:39:37 -05:00
Eric F Crist
f0204c160b
Fix minor build-dist.sh issues
* Use ~KEY~ pattern for replacement instead of ~~~, which doesn't scale.
* Include an empty string following -i for sed.  This prevents the extra
files from showing up with -e.

Signed-off-by: Eric F Crist <ecrist@secure-computing.net>
2018-10-02 10:34:50 -05:00
Eric F Crist
1eccb90148 Correct sed work on version replacement
Signed-off-by: Eric F Crist <ecrist@secure-computing.net>
2018-08-23 17:01:55 -05:00
Eric F Crist
376c62f2b8 Update default certificate length, comments
- Resolve #57, set default certificate length to 1080 days, leaves CA
  certifcates at 3650
- Add EasyRSA version to certificate comment for later troubleshooting
  and identification.

Signed-off-by: Eric F Crist <ecrist@secure-computing.net>
2018-08-23 16:51:17 -05:00
Eric F Crist
ef2e21e757 More breakage for automated tests
Signed-off-by: Eric F Crist <ecrist@secure-computing.net>
2018-01-03 19:34:45 -06:00
Eric F Crist
b5803ee9e3 More travis-ci related cleanup
* Remove SC2006 from shellcheck: bashism
* Put variable declarations on separate lines (SC1007)
* Remove "local" from Windows sh script (SC2039)
* Remove "x" variable define from read in Windows sh script (SC2034)

Signed-off-by: Eric F Crist <ecrist@secure-computing.net>
2017-12-14 08:35:41 -06:00
Eric F Crist
fe7cbae65d unix2dos and fix tar command
* Run the Windows specific files through unix2dos for easier consumption
* Modify the tar command options to better support "build" on FreeBSD

Signed-off-by: Eric F Crist <ecrist@secure-computing.net>
2017-12-14 07:34:56 -06:00
Eric F Crist
47d5477266 More fixes for #165
Signed-off-by: Eric F Crist <ecrist@secure-computing.net>
2017-12-07 20:24:41 -06:00
Eric F Crist
cb58cfdfe2 Merge branch 'michalsarna-master'
Signed-off-by: Eric F Crist <ecrist@secure-computing.net>
2017-09-12 08:10:04 -05:00
Alon Bar-Lev
11f7ea139d build: minor cleanups
1. remove bash as POSIX shell can be used.
2. simplify usage print.
3. add quotes where missing.

Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com>
2017-09-12 08:41:24 +03:00
Eric F Crist
a675fc9941 Correct --copy-ext var, update changelog
Signed-off-by: Eric F Crist <ecrist@secure-computing.net>
2017-09-02 09:40:12 -05:00
Thomas Szteliga
29d4dee508 Fixes #91 basename: invalid option -- 's'. 2016-03-21 17:25:58 +01:00
Eric F Crist
6e643f7224 Corrected output path for zip file in build tool
Signed-off-by: Eric F Crist <ecrist@secure-computing.net>
2015-10-25 22:51:55 -05:00
Eric F Crist
d92d29803b Repackaging to include Windows utilities needed.
In the 3.0.0 release, Windows utilities were mistakenly omitted from the
package.  The build utility has been updated to include these files, as
well as to convert the .md documentation files to html.

Signed-off-by: Eric F Crist <ecrist@secure-computing.net>
2015-10-25 22:37:17 -05:00
Eric F Crist
ed597da0fc Prepare for v3.0.0 release
* Update ChangeLog to reflect minor last-minute commits.
* Modify build-dist.sh to create both zip and tgz files
* Add notable changes to Upgrade-Notes
2015-09-02 19:53:04 -05:00
Josh Cepek
fcc4547542 Add build-dist packaging script; update Building docs
This initial packaging script creates a release-ready tarball for
Unix-alikes. Windows support will be added in a separate commit.

Signed-off-by: Josh Cepek <josh.cepek@usa.net>
2013-12-12 12:29:29 -06:00
Josh Cepek
d5516d5f5d Windows: make builds easier by using a matching dir structure
Now the entire distro/windows/ dir contents can be copied into a staging
dir during release prep.

Signed-off-by: Josh Cepek <josh.cepek@usa.net>
2013-12-01 14:42:36 -06:00
Josh Cepek
9fc55916a1 Add Building info
Signed-off-by: Josh Cepek <josh.cepek@usa.net>
2013-11-30 18:43:48 -06:00