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,27 @@
From fda0ff49968aebc7b27f9711cf6eb7f6c560adc1 Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Tue, 25 Jul 2017 18:28:15 -0700
Subject: [PATCH] Makefile.am: Link with libm for powl() API
Upstream-Status: Pending
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
Makefile.am | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile.am b/Makefile.am
index 779416a..67e2cc3 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -82,7 +82,7 @@ endif
userhelper_SOURCES = userhelper.c userhelper.h shvar.c shvar.h
userhelper_CPPFLAGS = $(AM_CPPFLAGS) -DSYSCONFDIR='"$(sysconfdir)"'
userhelper_LDADD = liblib.a $(LIBUSER_LIBS) $(GLIB_LIBS) $(PAM_LIBS) -lm \
- $(SELINUX_LIBS) $(EFENCE_LIBS)
+ $(SELINUX_LIBS) $(EFENCE_LIBS) -lm
if GTK
userinfo_SOURCES = userinfo.c
--
2.31.1

View File

@@ -0,0 +1,27 @@
From c77e3f0d4560797f7dc56549ae5ebcc035714a4d Mon Sep 17 00:00:00 2001
From: Hongxu Jia <hongxu.jia@windriver.com>
Date: Thu, 20 Jul 2017 23:20:53 -0400
Subject: [PATCH] fix compile failure against musl C library
Upstream-Status: Pending
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
---
usermount.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/usermount.c b/usermount.c
index 3aafadd..4107027 100644
--- a/usermount.c
+++ b/usermount.c
@@ -46,6 +46,7 @@
#include <limits.h>
#include <locale.h>
#include <mntent.h>
+#include <paths.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
--
2.8.1

View File

@@ -0,0 +1,30 @@
SUMMARY = "Tools for certain user account management tasks"
DESCRIPTION = "The usermode contains the userhelper program, which can be used to allow configured \
programs to be run with superuser privileges by ordinary users, and several \
graphical tools for users: \
* userinfo allows users to change their finger information. \
* usermount lets users mount, unmount, and format filesystems. \
* userpasswd allows users to change their passwords. \
"
HOMEPAGE = "https://pagure.io/usermode"
LICENSE = "GPL-2.0-or-later"
LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552"
DEPENDS = "libuser ${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)} \
gtk+ desktop-file-utils-native \
startup-notification intltool-native \
util-linux \
"
SRC_URI = "https://releases.pagure.org/${BPN}/${BPN}-${PV}.tar.xz \
file://0001-fix-compile-failure-against-musl-C-library.patch \
file://0001-Makefile.am-Link-with-libm-for-powl-API.patch \
"
SRC_URI[sha256sum] = "e7f58712b12175965b3a21522052863a061f3f1a888df3ffbe713b434f80254f"
REQUIRED_DISTRO_FEATURES = "x11 pam"
inherit features_check autotools gettext pkgconfig
EXTRA_OEMAKE += "INSTALL='install -p'"