Unverified Commit 99fe4a8b authored by Arne Keller's avatar Arne Keller Committed by GitHub
Browse files

netatalk: 4.1.2 -> 4.2.0 (#394933)

parents fc6df187 5ecb2f29
Loading
Loading
Loading
Loading
+29 −0
Original line number Diff line number Diff line
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 (
+13 −0
Original line number Diff line number Diff line
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
Original line number Diff line number Diff line
@@ -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"