The postrm script was missing shebang. Postrm scripts are packaged and
executed directly and not sourced by default script (as in case of prerm
and postinst).
Also move some indents around to not confuse reader. The section in
postinst was indented to same level as grep "condition" but is on same
level as initial grep (not part of that "condition").
Signed-off-by: Karel Kočí <karel.koci@nic.cz>
Disable dynamic libraries and enable LTO
Only use `--enable-libc-musl` when musl is selected
Shrinks ipk size by about 200KB
Signed-off-by: Deng Qingfang <dengqf6@mail2.sysu.edu.cn>
Fixes at least CVE-2018-0502 and CVE-2018-13259
Added PKG_CPE_ID for proper CVE tracking.
Added PKG_BUILD_PARALLEL for faster compilation.
Some small reorganization for consistency between packages.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
As indicated in https://github.com/openwrt/packages/issues/5514 zsh is compiled with --enable-cap option but libcap is not listed in dependencies
Signed-off-by: Jakub Tymejczyk <jakub@tymejczyk.pl>
fix Makefile chmod (644)
replace MD5SUM with HASH
add PKG_MIRROR_HASH when PKG_SOURCE_PROTO:=git
(PKG_SOURCE_PROTO:=svn tarballs are not reproducible for now)
Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>