mirror of
https://github.com/AGWA/git-crypt.git
synced 2025-12-25 12:24:20 -08:00
Streamline the instructions a bit. Mention the Debian/Ubuntu and RHEL/CentOS packages for each dependency.
59 lines
1.7 KiB
Plaintext
59 lines
1.7 KiB
Plaintext
DEPENDENCIES
|
|
|
|
To build git-crypt, you need:
|
|
|
|
Debian/Ubuntu package RHEL/CentOS package
|
|
-----------------------------------------------------------------------------
|
|
Make make make
|
|
A C++ compiler (e.g. gcc) g++ gcc-c++
|
|
OpenSSL development files libssl-dev openssl-devel
|
|
|
|
|
|
To use git-crypt, you need:
|
|
|
|
Debian/Ubuntu package RHEL/CentOS package
|
|
-----------------------------------------------------------------------------
|
|
Git 1.7.2 or newer git git
|
|
OpenSSL openssl openssl
|
|
|
|
|
|
BUILDING GIT-CRYPT
|
|
|
|
Run:
|
|
|
|
$ make
|
|
$ make install
|
|
|
|
To install to a specific location:
|
|
|
|
$ make install PREFIX=/usr/local
|
|
|
|
Or, just copy the git-crypt binary to wherever is most convenient for you.
|
|
|
|
|
|
BUILDING A DEBIAN PACKAGE
|
|
|
|
Debian packaging can be found in the 'debian' branch of the project
|
|
Git repository. The package is built using git-buildpackage as follows:
|
|
|
|
$ git checkout debian
|
|
$ git-buildpackage -uc -us
|
|
|
|
|
|
INSTALLING ON MAC OS X
|
|
|
|
Using the brew package manager, simply run:
|
|
|
|
$ brew install git-crypt
|
|
|
|
|
|
EXPERIMENTAL WINDOWS SUPPORT
|
|
|
|
git-crypt should build on Windows with MinGW, although the build system
|
|
is not yet finalized so you will need to pass your own CXX, CXXFLAGS, and
|
|
LDFLAGS variables to make. Additionally, Windows support is less tested
|
|
and does not currently create key files with restrictive permissions,
|
|
making it unsuitable for use on a multi-user system. Windows support
|
|
will mature in a future version of git-crypt. Bug reports and patches
|
|
are most welcome!
|