Merge pull request #5236 from xant0me/sklogw-branch
New package: sklogw-0.1
This commit is contained in:
commit
540cbc7846
|
@ -0,0 +1,6 @@
|
|||
#!/usr/bin/sh
|
||||
|
||||
#finish script
|
||||
|
||||
rm -rf /var/cache_dns
|
||||
cp -rp /tmp/cache_dns /var/cache_dns
|
|
@ -0,0 +1,5 @@
|
|||
#!/usr/bin/sh
|
||||
|
||||
#log script
|
||||
[ -d /var/log/sklogw ] || mkdir -p /var/log/sklogw
|
||||
exec svlogd -ttt /var/log/sklogw
|
|
@ -0,0 +1,7 @@
|
|||
#!/usr/bin/sh
|
||||
|
||||
# copy the persistant cache to the in memory tmpfs
|
||||
rm -rf /tmp/cache_dns
|
||||
cp -rp /var/cache/dns /tmp/cache_dns
|
||||
chmod 700 -R /tmp/cache_dns
|
||||
exec sklogw
|
|
@ -0,0 +1,17 @@
|
|||
# Template file for 'sklogw'
|
||||
pkgname=sklogw
|
||||
version=0.1
|
||||
revision=1
|
||||
short_desc="A simple cache for dns query"
|
||||
maintainer="xant0me <xant0me@openmailbox.org>"
|
||||
license="MIT"
|
||||
homepage="https://framagit.org/xant0me/cache_dns"
|
||||
distfiles="https://framagit.org/xant0me/cache_dns/repository/archive.tar.gz?ref=v${version}>sklogw-${version}.tar.gz"
|
||||
checksum="7f28ab7f6b9a1cee4f16a49c3314b72f6bb192c3e4a119d4a3aa0de300e80b04"
|
||||
build_style="gnu-makefile"
|
||||
wrksrc="cache_dns-v0.1-e3aff30a1afa1819384cb66ac0252f472d45bb9a"
|
||||
|
||||
post_install() {
|
||||
vlicense LICENSE
|
||||
vsv sklogw
|
||||
}
|
Loading…
Reference in New Issue