wok-next view netselect/stuff/patches/netselect-0.4.patch @ rev 21573

updated dansguardian (2.10.1.1 -> 2.12.0.3)
author Hans-G?nter Theisgen
date Mon Jun 22 17:38:17 2020 +0100 (2020-06-22)
parents
children
line source
1 --- a/Makefile
2 +++ b/Makefile
3 @@ -1,6 +1,6 @@
4 -PREFIX = /usr/local
5 +PREFIX = /usr
6 BINDEST = ${PREFIX}/bin
7 -MANDEST = ${PREFIX}/man/man1
8 +MANDEST = ${PREFIX}/share/man/man1
10 CC = gcc
11 CFLAGS = -O2 -Wall -I. -g
12 @@ -29,13 +29,13 @@
13 chown root netselect && chmod u+s netselect
14 endif
16 - -install -d ${BINDEST}
17 - -install -d ${MANDEST}
18 + -install -d ${DESTDIR}${BINDEST}
19 + -install -d ${DESTDIR}${MANDEST}
20 install -o root -g root -m 4755 \
21 - netselect${BINSUFFIX} ${BINDEST}
22 - install -o root -g root -m 0755 netselect-apt ${BINDEST}
23 - install -o root -g root -m 0644 netselect.1 ${MANDEST}
24 - install -o root -g root -m 0644 netselect-apt.1 ${MANDEST}
25 + netselect${BINSUFFIX} ${DESTDIR}${BINDEST}
26 + install -o root -g root -m 0755 netselect-apt ${DESTDIR}${BINDEST}
27 + install -o root -g root -m 0644 netselect.1 ${DESTDIR}${MANDEST}
28 + install -o root -g root -m 0644 netselect-apt.1 ${DESTDIR}${MANDEST}
31 uninstall: