Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
U
unbound
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
certo
unbound
Commits
fbadac1a
Commit
fbadac1a
authored
Feb 18, 2021
by
Vladimir Bashkirtsev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Initial commit
parents
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
49 additions
and
0 deletions
+49
-0
Makefile
Makefile
+49
-0
unbound-1.13.1.tar.gz
unbound-1.13.1.tar.gz
+0
-0
No files found.
Makefile
0 → 100644
View file @
fbadac1a
all
:
unbound-service
rm
/etc/passwd
mv
-v
/data/etc/passwd /etc/passwd
rm
/etc/group
mv
-v
/data/etc/group /etc/group
rm
/etc/shadow
mv
-v
/data/etc/shadow /etc/shadow
rm
/etc/gshadow
mv
-v
/data/etc/gshadow /etc/gshadow
groupadd
-g
88 unbound
useradd
-c
"Unbound DNS Resolver"
-d
/var/lib/unbound
-g
unbound
-s
/bin/false
-u
88 unbound
rm
/etc/passwd-
rm
/etc/group-
rm
/etc/shadow-
rm
/etc/gshadow-
mv
-v
/etc/passwd /data/etc/passwd
ln
-sv
/data/etc/passwd /etc/passwd
mv
-v
/etc/group /data/etc/group
ln
-sv
/data/etc/group /etc/group
mv
-v
/etc/shadow /data/etc/shadow
ln
-sv
/data/etc/shadow /etc/shadow
mv
-v
/etc/gshadow /data/etc/gshadow
ln
-sv
/data/etc/gshadow /etc/gshadow
tar
xf unbound-1.13.1.tar.gz
cd
unbound-1.13.1
&&
./configure
--prefix
=
/usr
--sysconfdir
=
/etc
--disable-static
--with-pidfile
=
/run/unbound.pid
--with-libevent
$(MAKE)
-C
unbound-1.13.1
$(MAKE)
-C
unbound-1.13.1 check
$(MAKE)
-C
unbound-1.13.1
install
mv
-v
/usr/sbin/unbound-host /usr/bin/
@
echo
"
$$
UNBOUND_SERVICE"
>
/lib/systemd/system/unbound.service
systemctl
enable
unbound.service
rm
-rf
unbound-1.13.1
unbound-service
:
define
UNBOUND_SERVICE
[Unit]
Description
=
Unbound DNS Resolver
After
=
network.target
[Service]
PIDFile
=
/run/unbound.pid
ExecStart
=
/usr/sbin/unbound
-d
ExecReload
=
/bin/kill
-HUP
$MAINPID
Restart
=
always
[Install]
WantedBy
=
multi-user.target
endef
export
UNBOUND_SERVICE
unbound-1.13.1.tar.gz
0 → 100644
View file @
fbadac1a
File added
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment