Skip to content

Commit

Permalink
Update README for ppa
Browse files Browse the repository at this point in the history
  • Loading branch information
ppomes committed Nov 8, 2021
1 parent 25813be commit ff45348
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@ Example to create both a real crypted (sensitive) backup and an anonymized (non-
mysqldump mydb | tee >(myanon -f myanon.cfg | gzip > mydb_anon.sql.gz) | gpg -e -r [email protected] > mydb.sql.gz.gpg
```

## Build Requirements
## Installation from sources

### Build Requirements

- autoconf
- automake
Expand All @@ -43,15 +45,16 @@ $ brew install autoconf automake flex bison
```
(Please ensure binaries installed by brew are in your $PATH)

## Build
### Build/Install

```
./autogen.sh
./configure
make
make install
```

## Compilation/link flags
### Compilation/link flags

Flags are controlled by using CFLAGS/LDFLAGS when invoking make.
To create a debug build:
Expand All @@ -65,8 +68,12 @@ make LDFLAGS="-static"
```


## Run/Tests
### Run/Tests
```
main/myanon -f tests/test1.conf < tests/test1.sql
zcat tests/test2.sql.gz | main/myanon -f tests/test2.conf
```

## Installation from packages (Ubuntu)

A PPA is available at: https://launchpad.net/~pierrepomes/+archive/ubuntu/myanon

0 comments on commit ff45348

Please sign in to comment.