netatalk: 4.1.2 -> 4.2.0 (#394933)

This commit is contained in:
Arne Keller
2025-04-09 18:23:07 +02:00
committed by GitHub
3 changed files with 54 additions and 4 deletions
@@ -0,0 +1,29 @@
diff --git a/config/meson.build b/config/meson.build
index 4d750dba..f6bd6e6e 100644
--- a/config/meson.build
+++ b/config/meson.build
@@ -55,15 +55,15 @@ elif host_os in ['linux']
cups_libdir = '/usr/lib'
endif
-if have_appletalk and have_cups and cups_libdir != ''
- configure_file(
- input: 'pap.in',
- output: 'pap',
- configuration: cdata,
- install: true,
- install_dir: cups_libdir / 'cups/backend',
- )
-endif
+#if have_appletalk and have_cups and cups_libdir != ''
+# configure_file(
+# input: 'pap.in',
+# output: 'pap',
+# configuration: cdata,
+# install: true,
+# install_dir: cups_libdir / 'cups/backend',
+# )
+#endif
foreach file : static_conf_files
if (
@@ -0,0 +1,13 @@
diff --git a/config/meson.build b/config/meson.build
index 4d750dba..111389e7 100644
--- a/config/meson.build
+++ b/config/meson.build
@@ -89,7 +89,7 @@ if (
)
endif
-install_data('README', install_dir: localstatedir / 'netatalk/CNID')
+# install_data('README', install_dir: localstatedir / 'netatalk/CNID')
if have_pam
subdir('pam')
+12 -4
View File
@@ -23,18 +23,24 @@
glib,
dbus,
docbook-xsl-nons,
libxslt,
cmark-gfm,
iniparser,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "netatalk";
version = "4.1.2";
version = "4.2.0";
src = fetchurl {
url = "mirror://sourceforge/netatalk/netatalk/netatalk-${finalAttrs.version}.tar.xz";
hash = "sha256-qCX2/37+2wm7nKdXJ6tDEmeXAA+Jd123LI2VIL9IHpw=";
hash = "sha256-doqRAU4pjcHRTvKOvjMN2tSZKOPDTzBzU7i90xf1ClI=";
};
patches = [
./0000-no-install-under-usr-cupsd.patch
./0001-no-install-under-var-CNID.patch
];
nativeBuildInputs = [
pkg-config
meson
@@ -59,11 +65,13 @@ stdenv.mkDerivation (finalAttrs: {
perl
dbus
docbook-xsl-nons
libxslt
cmark-gfm
iniparser
];
mesonFlags = [
"-Dwith-appletalk=true"
"-Dwith-statedir-path=/var/lib"
"-Dwith-bdb-path=${db.out}"
"-Dwith-bdb-include-path=${db.dev}/include"
"-Dwith-install-hooks=false"