Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
clamav
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
clamav
Commits
cbcd41ce
Commit
cbcd41ce
authored
Jan 18, 2021
by
Vladimir Bashkirtsev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Configured daemon
parent
520f590d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
1 deletion
+11
-1
Makefile
Makefile
+11
-1
No files found.
Makefile
View file @
cbcd41ce
all
:
freshclam-config
all
:
freshclam-config
clamd-config
rm
/etc/passwd
rm
/etc/passwd
mv
-v
/data/etc/passwd /etc/passwd
mv
-v
/data/etc/passwd /etc/passwd
rm
/etc/group
rm
/etc/group
...
@@ -28,6 +28,9 @@ all: freshclam-config
...
@@ -28,6 +28,9 @@ all: freshclam-config
$(MAKE)
-C
clamav-0.102.4
install
$(MAKE)
-C
clamav-0.102.4
install
install
-d
-m755
-o
clamav
-g
clamav /usr/share/clamav
install
-d
-m755
-o
clamav
-g
clamav /usr/share/clamav
@
echo
"
$$
FRESHCLAM_CONFIG"
>
/etc/freshclam.conf
@
echo
"
$$
FRESHCLAM_CONFIG"
>
/etc/freshclam.conf
systemctl
enable
clamav-freshclam
@
echo
"
$$
CLAMD_CONFIG"
>
/etc/clamd.conf
systemctl
enable
clamav-daemon
rm
-rf
clamav-0.102.4
rm
-rf
clamav-0.102.4
freshclam-config
:
freshclam-config
:
...
@@ -35,3 +38,10 @@ define FRESHCLAM_CONFIG
...
@@ -35,3 +38,10 @@ define FRESHCLAM_CONFIG
DatabaseMirror
database.clamav.net
DatabaseMirror
database.clamav.net
endef
endef
export
FRESHCLAM_CONFIG
export
FRESHCLAM_CONFIG
clamd-config
:
define
CLAMD_CONFIG
TCPAddr
127.0.0.1
User
clamav
endef
export
CLAMD_CONFIG
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