|
@@ -3,7 +3,7 @@
|
|
|
# Uncomment to enable verbose debhelper output
|
|
# Uncomment to enable verbose debhelper output
|
|
|
#export DH_VERBOSE = 1
|
|
#export DH_VERBOSE = 1
|
|
|
|
|
|
|
|
-PACKAGE = squidstats
|
|
|
|
|
|
|
+PACKAGE = SquidStats
|
|
|
DESTDIR = $(CURDIR)/debian/$(PACKAGE)
|
|
DESTDIR = $(CURDIR)/debian/$(PACKAGE)
|
|
|
INSTALL_ROOT = /opt/SquidStats
|
|
INSTALL_ROOT = /opt/SquidStats
|
|
|
OPT_DIR = $(DESTDIR)$(INSTALL_ROOT)
|
|
OPT_DIR = $(DESTDIR)$(INSTALL_ROOT)
|
|
@@ -40,7 +40,7 @@ override_dh_auto_install:
|
|
|
cp -r utils/ $(APP_DEST)/
|
|
cp -r utils/ $(APP_DEST)/
|
|
|
|
|
|
|
|
# ── Configuration template ───────────────────────────────────────────
|
|
# ── Configuration template ───────────────────────────────────────────
|
|
|
- install -m 0640 example.env $(DESTDIR)/etc/$(PACKAGE)/squidstats.env
|
|
|
|
|
|
|
+ install -m 0640 example.env $(DESTDIR)/opt/$(PACKAGE)/app/.env
|
|
|
|
|
|
|
|
override_dh_auto_test:
|
|
override_dh_auto_test:
|
|
|
@echo "Tests are run in a separate CI stage; skipping here."
|
|
@echo "Tests are run in a separate CI stage; skipping here."
|
|
@@ -52,4 +52,4 @@ override_dh_strip:
|
|
|
override_dh_fixperms:
|
|
override_dh_fixperms:
|
|
|
dh_fixperms
|
|
dh_fixperms
|
|
|
# Config file must not be world-readable (may contain secrets)
|
|
# Config file must not be world-readable (may contain secrets)
|
|
|
- chmod 0640 $(DESTDIR)/etc/$(PACKAGE)/squidstats.env 2>/dev/null || true
|
|
|
|
|
|
|
+ chmod 0640 $(DESTDIR)/opt/$(PACKAGE)/app/.env 2>/dev/null || true
|