linbpq/debian/patches/makefile

22 lines
549 B
Makefile
Raw Normal View History

2023-07-18 01:26:17 +01:00
--- a/makefile
+++ b/makefile
@@ -29,11 +29,15 @@
linbpq: $(OBJS)
gcc $(OBJS) -Xlinker -Map=output.map -l:libminiupnpc.a -lrt -lm -lz -lpthread -lconfig -lpcap -o linbpq
- sudo setcap "CAP_NET_ADMIN=ep CAP_NET_RAW=ep CAP_NET_BIND_SERVICE=ep" linbpq
+# setcap "CAP_NET_ADMIN=ep CAP_NET_RAW=ep CAP_NET_BIND_SERVICE=ep" linbpq
+
+install:
2023-12-16 14:40:33 +00:00
+ install -b -m 755 -D -d debian/linbpq/usr/sbin
+ install -b -m 755 -s -p linbpq debian/linbpq/usr/sbin
2023-07-18 01:26:17 +01:00
-include *.d
clean :
- rm *.d
- rm linbpq $(OBJS)
2024-03-26 21:00:18 +00:00
+ $(RM) *.d
+ $(RM) linbpq $(OBJS)
2023-07-18 01:26:17 +01:00