diff --git a/common/shlibs b/common/shlibs index 338fede96e..2afcbb9a6d 100644 --- a/common/shlibs +++ b/common/shlibs @@ -3986,3 +3986,4 @@ libgumbo.so.1 gumbo-parser-0.10.1_2 libmariadb.so.3 libmariadbclient-10.5.9_1 libmariadbd.so.19 libmariadbclient-10.5.9_1 libinstpatch-1.0.so.2 libinstpatch-1.1.6_1 +libbasu.so.0 basu-0.2.0_1 diff --git a/srcpkgs/basu-devel b/srcpkgs/basu-devel new file mode 120000 index 0000000000..a25387954c --- /dev/null +++ b/srcpkgs/basu-devel @@ -0,0 +1 @@ +basu \ No newline at end of file diff --git a/srcpkgs/basu/patches/uid-nobody.patch b/srcpkgs/basu/patches/uid-nobody.patch new file mode 100644 index 0000000000..27524c0f47 --- /dev/null +++ b/srcpkgs/basu/patches/uid-nobody.patch @@ -0,0 +1,11 @@ +--- src/basic/user-util.h ++++ src/basic/user-util.h +@@ -17,7 +17,7 @@ char* uid_to_name(uid_t uid); + + #define UID_INVALID ((uid_t) -1) + +-#define UID_NOBODY ((uid_t) 65534U) ++#define UID_NOBODY ((uid_t) 99U) + + bool synthesize_nobody(void); + diff --git a/srcpkgs/basu/template b/srcpkgs/basu/template new file mode 100644 index 0000000000..1a3614b781 --- /dev/null +++ b/srcpkgs/basu/template @@ -0,0 +1,23 @@ +# Template file for 'basu' +pkgname=basu +version=0.2.0 +revision=1 +build_style=meson +configure_args="-Dwerror=false" +hostmakedepends="gperf" +short_desc="SD-Bus library extracted from systemd" +maintainer="Anubhav Kini " +license="LGPL-2.1-or-later" +homepage="https://github.com/emersion/basu" +distfiles="${homepage}/releases/download/v${version}/${pkgname}-${version}.tar.gz" +checksum=e2fda9b69fc6c4530173fcf8db94c29aa5f3ed932d948cc6a31892623cde5e4b + +basu-devel_package() { + short_desc+=" - development files" + depends="${sourcepkg}>=${version}_${revision}" + pkg_install() { + vmove usr/include + vmove usr/lib/pkgconfig + vmove "usr/lib/*.so" + } +}