bump lockfile-progs to 0.1.11 version, provide sus3v legacy patch

This commit is contained in:
Ivan Kuten 2007-10-18 22:23:52 +00:00
parent 0864cb65d7
commit 2b058304a6
2 changed files with 14 additions and 2 deletions

View File

@ -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) {

View File

@ -3,11 +3,11 @@
# lockfile-progs
#
#############################################################
LOCKFILE_PROGS_VERSION=0.1.10
LOCKFILE_PROGS_VERSION=0.1.11
LOCKFILE_PROGS_SOURCE:=lockfile-progs_$(LOCKFILE_PROGS_VERSION).tar.gz
LOCKFILE_PROGS_SITE:=http://ftp.debian.org/debian/pool/main/l/lockfile-progs/
LOCKFILE_PROGS_CAT:=$(ZCAT)
LOCKFILE_PROGS_DIR:=$(BUILD_DIR)/lockfile-progs-$(LOCKFILE_PROGS_VERSION)
LOCKFILE_PROGS_DIR:=$(BUILD_DIR)/sid
LOCKFILE_PROGS_BINARY:=usr/bin/lockfile-create
$(DL_DIR)/$(LOCKFILE_PROGS_SOURCE):
@ -17,6 +17,7 @@ lockfile-progs-source: $(DL_DIR)/$(LOCKFILE_PROGS_SOURCE)
$(LOCKFILE_PROGS_DIR)/.unpacked: $(DL_DIR)/$(LOCKFILE_PROGS_SOURCE)
$(LOCKFILE_PROGS_CAT) $(DL_DIR)/$(LOCKFILE_PROGS_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
toolchain/patch-kernel.sh $(LOCKFILE_PROGS_DIR) package/lockfile-progs/ *.patch
touch $(LOCKFILE_PROGS_DIR)/.unpacked
$(TARGET_DIR)/$(LOCKFILE_PROGS_BINARY): $(LOCKFILE_PROGS_DIR)/.unpacked