WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
File tree Expand file tree Collapse file tree 5 files changed +5
-5
lines changed
utils/packaging/daemon/rpm Expand file tree Collapse file tree 5 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -9,13 +9,13 @@ install:
99 @mkdir -p $(DESTDIR ) /etc/opensnitchd/tasks
1010 @install -Dm755 opensnitchd \
1111 -t $(DESTDIR )$(PREFIX ) /bin/
12- @install -Dm644 opensnitchd.service \
12+ @install -Dm644 data/init/ opensnitchd.service \
1313 -t $(DESTDIR ) /etc/systemd/system/
14- @install -Dm644 default-config.json \
14+ @install -Dm644 data/ default-config.json \
1515 -t $(DESTDIR ) /etc/opensnitchd/
16- @install -Dm644 system-fw.json \
16+ @install -Dm644 data/ system-fw.json \
1717 -t $(DESTDIR ) /etc/opensnitchd/
18- @install -Dm644 network_aliases.json \
18+ @install -Dm644 data/ network_aliases.json \
1919 -t $(DESTDIR ) /etc/opensnitchd/
2020 @install -Dm600 data/rules/* $(DESTDIR ) /etc/opensnitchd/rules/
2121 @install -Dm600 data/tasks/tasks.json $(DESTDIR ) /etc/opensnitchd/tasks/
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ go build -o opensnitchd .
4444mkdir -p %{buildroot }/usr/bin/ %{buildroot }/usr/lib/opensnitchd/ebpf/ %{buildroot }/usr/lib/systemd/system/ %{buildroot }/etc/opensnitchd/rules %{buildroot }/etc/opensnitchd/tasks %{buildroot }/etc/logrotate.d
4545sed -i ' s/\/usr\/local/\/usr/' daemon/opensnitchd.service
4646install -m 755 daemon/opensnitchd %{buildroot }/usr/bin/opensnitchd
47- install -m 644 daemon/opensnitchd.service %{buildroot }/usr/lib/systemd/system/opensnitch.service
47+ install -m 644 daemon/data/init/ opensnitchd.service %{buildroot }/usr/lib/systemd/system/opensnitch.service
4848install -m 644 utils/packaging/daemon/deb/debian/opensnitch.logrotate %{buildroot }/etc/logrotate.d/opensnitch
4949
5050B= ""
You can’t perform that action at this time.
0 commit comments