buildprocess: Add extra metadata to pak lfs files

* Add a Summary and Services field to all pak lfs files
* Replace occurances of INSTALL_INITSCRIPT with new INSTALL_INITSCRIPTS
  macro in all pak lfs files.

Signed-off-by: Robin Roevens <robin.roevens@disroot.org>
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
This commit is contained in:
Robin Roevens
2022-01-31 23:40:47 +01:00
committed by Peter Müller
parent a9d98b3491
commit f15707c78c
196 changed files with 844 additions and 69 deletions

View File

@@ -24,6 +24,8 @@
include Config
SUMMARY = A perl written Intrusion Prevention System
VER = 2.0.2
THISAPP = guardian-$(VER)
@@ -37,6 +39,8 @@ PAK_VER = 25
DEPS = perl-inotify2 perl-Net-IP
SERVICES = guardian
###############################################################################
# Top-level Rules
###############################################################################
@@ -97,7 +101,7 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
touch /var/log/guardian/guardian.log
#install initscripts
$(call INSTALL_INITSCRIPT,guardian)
$(call INSTALL_INITSCRIPTS,$(SERVICES))
# Create symlinks for runlevel interaction.
ln -svf /etc/rc.d/init.d/guardian /etc/rc.d/rc3.d/S45guardian