Commit e07ba25
authored
fix(packaging): declare libcap dependency for setcap (deb + rpm) (#24)
The post-install scripts run 'setcap cap_net_admin+ep' to grant CAP_NET_ADMIN,
without which akon cannot create the TUN device. setcap was not declared as a
package dependency, so on a system lacking it the install only printed a warning
and akon silently failed to connect until libcap was installed manually.
Declare the dependency so the package manager pulls it in:
- deb: depends = libcap2-bin
- rpm: requires libcap1 parent b51cc2d commit e07ba25
1 file changed
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
33 | 36 | | |
34 | 37 | | |
35 | 38 | | |
| |||
40 | 43 | | |
41 | 44 | | |
42 | 45 | | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
43 | 49 | | |
44 | 50 | | |
45 | 51 | | |
| |||
0 commit comments