2014-07-18 16:45:16 +00:00
|
|
|
# Template file for 'socklog'
|
|
|
|
pkgname=socklog
|
|
|
|
version=2.1.0
|
|
|
|
revision=1
|
|
|
|
wrksrc=admin/${pkgname}-${version}
|
|
|
|
short_desc="Small and secure syslogd replacement for use with runit"
|
|
|
|
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
|
|
|
|
license="custom"
|
|
|
|
homepage="http://smarden.org/socklog/"
|
2014-10-31 14:27:14 +00:00
|
|
|
update_site="http://smarden.org/socklog/install.html"
|
2014-07-18 16:45:16 +00:00
|
|
|
distfiles="http://smarden.org/socklog/${pkgname}-${version}.tar.gz"
|
|
|
|
checksum=aa869a787ee004da4e5509b5a0031bcc17a4ab4ac650c2ce8d4e488123acb455
|
|
|
|
|
|
|
|
build_options="static"
|
|
|
|
|
|
|
|
do_build() {
|
2014-11-23 13:58:24 +00:00
|
|
|
if [ "$build_option_static" ]; then
|
|
|
|
LDFLAGS+=" -static"
|
|
|
|
fi
|
2014-07-18 16:45:16 +00:00
|
|
|
echo "$CC -D_GNU_SOURCE $CFLAGS" >src/conf-cc
|
|
|
|
echo "$CC $LDFLAGS -Wl,-z -Wl,noexecstack" >src/conf-ld
|
|
|
|
package/compile
|
|
|
|
}
|
|
|
|
|
|
|
|
do_install() {
|
|
|
|
for bin in command/*; do
|
|
|
|
vbin $bin
|
|
|
|
done
|
|
|
|
for man in man/*; do
|
|
|
|
vman $man
|
|
|
|
done
|
|
|
|
for doc in doc/*.html; do
|
|
|
|
vdoc $doc
|
|
|
|
done
|
|
|
|
vlicense package/COPYING
|
|
|
|
}
|