initial buildroot for linux 5.15
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
--- /lockfile-progs.orig.c 2007-10-11 10:32:09.000000000 -0300
|
||||
+++ /lockfile-progs.c 2007-10-11 10:32:28.000000000 -0300
|
||||
@@ -93,7 +93,7 @@
|
||||
{ NULL, 0, NULL, 0 }
|
||||
};
|
||||
|
||||
- char *cmd_name = rindex(argv[0], '/');
|
||||
+ char *cmd_name = strrchr(argv[0], '/');
|
||||
int mail_cmd_p = 0;
|
||||
|
||||
if(cmd_name != NULL) {
|
||||
@@ -0,0 +1,6 @@
|
||||
config BR2_PACKAGE_LOCKFILE_PROGS
|
||||
bool "lockfile programs"
|
||||
depends on BR2_USE_MMU # liblockfile
|
||||
select BR2_PACKAGE_LIBLOCKFILE
|
||||
help
|
||||
Build lockfile utility programs.
|
||||
@@ -0,0 +1,5 @@
|
||||
# From https://snapshot.debian.org/archive/debian/20210903T205304Z/pool/main/l/lockfile-progs/lockfile-progs_0.1.19.dsc
|
||||
sha256 2c5704b01c8f474f82921780e4592a927b2bf6a6d7616354a6c5d7cd5664857e lockfile-progs_0.1.19.tar.gz
|
||||
|
||||
# Hash for license file
|
||||
sha256 dcc100d4161cc0b7177545ab6e47216f84857cda3843847c792a25289852dcaa COPYING
|
||||
@@ -0,0 +1,28 @@
|
||||
################################################################################
|
||||
#
|
||||
# lockfile-progs
|
||||
#
|
||||
################################################################################
|
||||
|
||||
LOCKFILE_PROGS_VERSION = 0.1.19
|
||||
LOCKFILE_PROGS_SOURCE = lockfile-progs_$(LOCKFILE_PROGS_VERSION).tar.gz
|
||||
LOCKFILE_PROGS_SITE = http://snapshot.debian.org/archive/debian/20210903T205304Z/pool/main/l/lockfile-progs
|
||||
LOCKFILE_PROGS_DEPENDENCIES = liblockfile
|
||||
LOCKFILE_PROGS_LICENSE = GPL-2.0
|
||||
LOCKFILE_PROGS_LICENSE_FILES = COPYING
|
||||
|
||||
LOCKFILE_PROGS_BINS = \
|
||||
$(addprefix lockfile-,check create remove touch) \
|
||||
$(addprefix mail-,lock touchlock unlock)
|
||||
|
||||
define LOCKFILE_PROGS_BUILD_CMDS
|
||||
$(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D)
|
||||
endef
|
||||
|
||||
define LOCKFILE_PROGS_INSTALL_TARGET_CMDS
|
||||
for i in $(LOCKFILE_PROGS_BINS); do \
|
||||
$(INSTALL) -D -m 755 $(@D)/bin/$$i $(TARGET_DIR)/usr/bin/$$i || exit 1; \
|
||||
done
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
||||
Reference in New Issue
Block a user