Skip to content
Permalink
cfce7a5f90
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
MarIuX-specific:
Prevent the need for bee-unfriendly `chown` on a folder which isn't used
anyway. This would only bee needed if it wasn't masked by mxtools.

To solve the problem of bee beeing (!) unable to `chown` we should add some
`ExecStartPre` mechanics like seen in mxtools.

Leaving the `sed`-in-`$B` bug untouched for awareness 8-)

```
# ./contentdiff.pl /usr/share/bee/unbound-*/CONTENT /scratch/local/bee-root/unbound/unbound-1.13.1-1/image/
0 : /usr/share/bee/unbound-1.13.1-0.x86_64/CONTENT
1 : /scratch/local/bee-root/unbound/unbound-1.13.1-1/image/
 0 | 1 | t |  mode |  acc  | uid | gid | nln | file
 X | - | d | 040755|   0755|   98|    0|    2| /var/lib/unbound
 56 entries
```
2 contributors

Users who have contributed to this file

@pmenzel @wwwutz
executable file 47 lines (35 sloc) 1.08 KB
#!/usr/bin/env beesh
# BEE_VERSION unbound-1.13.1-1
# SRCURL[0]="https://www.unbound.net/downloads/unbound-${PKGVERSION}.tar.gz"
SRCURL[0]="https://beehive.molgen.mpg.de/0cd660a40d733acc6e7cce43731cac62/unbound-1.13.1.tar.gz"
# PATCHURL+=()
# build_in_sourcedir
# sourcesubdir_append src
#mee_extract() {
# bee_extract "${@}"
#}
#mee_patch() {
# bee_patch "${@}"
#}
mee_configure() {
bee_configure \
--disable-static \
--enable-systemd \
--with-pidfile="/run/unbound.pid" \
--with-rootkey-file="/var/lib/unbound/root.key"
}
mee_build() {
bee_build
ln -sf ${S}/testdata ${B}/testdata
start_cmd make check
}
#mee_install() {
# bee_install
#}
## by default this may be 'make install DESTDIR="${D}"'
mee_install_post() {
start_cmd mv ${D}/etc/unbound/unbound.conf{,.sample}
start_cmd install -m 644 -D -t ${D}/lib/systemd/system ${B}/contrib/unbound.{service,socket}
# start_cmd sed -i '/^ReadWritePaths=/ s,$, /var/lib/unbound,' ${B}/contrib/unbound.service
# start_cmd install -o unbound -m 755 -d ${D}/var/lib/unbound
}