3e092163e5
All the packages in this list have the following properties * units are provided by buildroot in the package directory * the SYSTEMD_INSTALL_INIT_HOOK is exactly equivalent to what the [Install] section of the unit does The fix removes the soflinking in the .mk file Signed-off-by: Jérémy Rosen <jeremy.rosen@smile.fr> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
36 lines
1.1 KiB
Makefile
36 lines
1.1 KiB
Makefile
################################################################################
|
|
#
|
|
# sysklogd
|
|
#
|
|
################################################################################
|
|
|
|
SYSKLOGD_VERSION = 1.6
|
|
SYSKLOGD_SITE = $(call github,troglobit,sysklogd,v$(SYSKLOGD_VERSION))
|
|
SYSKLOGD_LICENSE = GPL-2.0+
|
|
SYSKLOGD_LICENSE_FILES = COPYING
|
|
# From git
|
|
SYSKLOGD_AUTORECONF = YES
|
|
|
|
define SYSKLOGD_INSTALL_SAMPLE_CONFIG
|
|
$(INSTALL) -D -m 0644 package/sysklogd/syslog.conf \
|
|
$(TARGET_DIR)/etc/syslog.conf
|
|
endef
|
|
|
|
SYSKLOGD_POST_INSTALL_TARGET_HOOKS += SYSKLOGD_INSTALL_SAMPLE_CONFIG
|
|
|
|
define SYSKLOGD_INSTALL_INIT_SYSV
|
|
$(INSTALL) -m 755 -D package/sysklogd/S01syslogd \
|
|
$(TARGET_DIR)/etc/init.d/S01syslogd
|
|
$(INSTALL) -m 755 -D package/sysklogd/S02klogd \
|
|
$(TARGET_DIR)/etc/init.d/S02klogd
|
|
endef
|
|
|
|
define SYSKLOGD_INSTALL_INIT_SYSTEMD
|
|
$(INSTALL) -D -m 644 $(SYSKLOGD_PKGDIR)/syslogd.service \
|
|
$(TARGET_DIR)/usr/lib/systemd/system/syslogd.service
|
|
$(INSTALL) -D -m 644 $(SYSKLOGD_PKGDIR)/klogd.service \
|
|
$(TARGET_DIR)/usr/lib/systemd/system/klogd.service
|
|
endef
|
|
|
|
$(eval $(autotools-package))
|