added my Recipes

This commit is contained in:
2024-07-11 14:16:35 +02:00
parent 38bc4f53ac
commit 09b621d929
7118 changed files with 525762 additions and 3 deletions

View File

@@ -0,0 +1,30 @@
Use /var/lock instead of /var/lock/subsys
Upstream-Status: Inappropriate [configuration]
Index: p910nd/p910nd.8
===================================================================
--- p910nd.orig/p910nd.8 2011-11-14 22:41:41.904615879 +0100
+++ p910nd/p910nd.8 2011-11-14 22:49:52.299047607 +0100
@@ -83,7 +83,7 @@
.SH "SEE ALSO"
printcap(5), hosts_access(5)
.SH FILES
-/var/run/p9100d.pid, /var/lock/subsys/p9100d, /etc/hosts.allow, /etc/hosts.deny
+/var/run/p9100d.pid, /var/lock/p9100d, /etc/hosts.allow, /etc/hosts.deny
.SH COPYRIGHT
.I p910nd
is under the GNU Public License Version 2
Index: p910nd/p910nd.c
===================================================================
--- p910nd.orig/p910nd.c 2011-11-14 22:47:41.986401420 +0100
+++ p910nd/p910nd.c 2011-11-14 22:49:27.274923524 +0100
@@ -122,7 +122,7 @@
#ifdef LOCKFILE_DIR
#define LOCKFILE LOCKFILE_DIR "/p910%cd"
#else
-#define LOCKFILE "/var/lock/subsys/p910%cd"
+#define LOCKFILE "/var/lock/p910%cd"
#endif
#ifndef PRINTERFILE
#define PRINTERFILE "/dev/lp%c"

View File

@@ -0,0 +1,29 @@
DESCRIPTION = "A small network printer daemon for embedded situations that passes the job directly to the printer"
HOMEPAGE = "http://p910nd.sourceforge.net/"
SECTION = "console/utils"
LICENSE = "GPL-2.0-only"
LIC_FILES_CHKSUM = "file://LICENSE.md;md5=3d82780e8917b360cbee7b9ec3e40734"
PR = "r2"
# v0.97
SRCREV = "57ebc07ad8723ea4106090536c58c7f7160743e2"
SRC_URI = "git://github.com/kenyapcomau/p910nd;protocol=https;branch=master \
file://fix-var-lock.patch"
S = "${WORKDIR}/git"
inherit update-rc.d
INITSCRIPT_NAME = "p910nd"
INITSCRIPT_PARAMS = "start 90 2 3 4 5 . stop 60 0 1 6 ."
do_compile () {
${CC} ${CFLAGS} ${LDFLAGS} -o p910nd p910nd.c
}
do_install () {
install -D -m 0755 ${S}/p910nd ${D}${sbindir}/p910nd
install -D -m 0644 ${S}/aux/p910nd.conf ${D}${sysconfdir}/sysconfig/p910nd.conf
install -D -m 0644 ${S}/aux/p910nd.init ${D}${sysconfdir}/init.d/p910nd
}