Commit Graph
9 Commits
Author SHA1 Message Date
Yuxiang Zhu 6e99ee00db RPM packaging: replace udns with c-ares (#1662) 2017-09-04 15:27:04 +08:00
Rayson Zhu 135ceedb14 revert pwd->name to user when error occurs (#979) 2016-11-28 22:02:45 -06:00
Rayson Zhu 4034190b15 Change supplementary groups after setgid. (#977) 2016-11-28 16:42:35 -06:00
Rayson Zhu 07d2b1a005 exit when running as a nonexistent user and warn when running as root 2016-11-14 21:14:06 +08:00
Rayson Zhu 1e8a631885 fix permission check on operating iptables (#947) 2016-11-14 04:47:33 -06:00
Rayson Zhu d1765df9f9 support ipv6_first option in config file (#946) 2016-11-13 23:32:43 -06:00
Rayson Zhu 69a08675c4 Make genrpm.sh a little safer. (#895)
1. Remove function `get_att_val`:
That function uses `eval` to set default values for bash variables.
Because it is very dangerous to use `eval` (someone call it the plague of shell scripting), I'd like to use the bash builtin to do that.
2. Double quote all variables to avoid unexpected expansion when using it.
2016-10-21 11:05:50 +08:00
Rayson Zhu e5d53933d5 Fix missing dependencies (#894)
* Add missing build dependencies to RPM spec

* Fail if `asciidoc` or `xmlto` not found
2016-10-21 11:05:42 +08:00
Rayson Zhu 0230620c27 Include shadowsocks-libev-*.service files for RPM packages (#886) 2016-10-16 09:40:29 +08:00