diff options
Diffstat (limited to 'net/netatalk4/files/patch-config_meson.build')
-rw-r--r-- | net/netatalk4/files/patch-config_meson.build | 67 |
1 files changed, 67 insertions, 0 deletions
diff --git a/net/netatalk4/files/patch-config_meson.build b/net/netatalk4/files/patch-config_meson.build new file mode 100644 index 000000000000..a8dc29c35c28 --- /dev/null +++ b/net/netatalk4/files/patch-config_meson.build @@ -0,0 +1,67 @@ +--- config/meson.build.orig 2025-02-10 20:41:20 UTC ++++ config/meson.build +@@ -4,59 +4,23 @@ afp_conf = configure_file( + configuration: cdata, + ) + +-if ( +- fs.exists(pkgconfdir / 'afp.conf') +- and not get_option('with-overwrite') +-) +- message('will not replace existing', pkgconfdir / 'afp.conf') +-else +- install_data(afp_conf, install_dir: pkgconfdir) +-endif ++install_data(afp_conf, rename: 'afp.conf.sample', install_dir: pkgconfdir) + + if have_spotlight + dbus_session_conf = configure_file( + input: 'dbus-session.conf.in', +- output: 'dbus-session.conf', ++ output: 'dbus-session.conf.netatalk', + configuration: cdata, + ) + +- if ( +- fs.exists(pkgconfdir / 'dbus-session.conf') +- and not get_option('with-overwrite') +- ) +- message('will not replace existing', pkgconfdir / 'dbus-session.conf') +- else +- install_data(dbus_session_conf, install_dir: pkgconfdir) +- endif ++ install_data(dbus_session_conf, install_dir: pkgconfdir) + endif + + if have_afpstats +- if ( +- fs.exists(dbus_sysconfpath / 'netatalk-dbus.conf') +- and not get_option('with-overwrite') +- ) +- message('will not replace existing', dbus_sysconfpath / 'netatalk-dbus.conf') +- else +- install_data('netatalk-dbus.conf', install_dir: dbus_sysconfpath) +- endif ++ install_data('netatalk-dbus.conf', install_dir: dbus_sysconfpath) + endif + +-static_conf_files = ['extmap.conf'] +- +-if have_appletalk +- static_conf_files += ['atalkd.conf', 'macipgw.conf', 'papd.conf'] +-endif +- +-foreach file : static_conf_files +- if ( +- fs.exists(pkgconfdir / file) +- and not get_option('with-overwrite') +- ) +- message('will not replace existing', pkgconfdir / file) +- else +- install_data(file, install_dir: pkgconfdir) +- endif +-endforeach ++install_data('extmap.conf', rename: 'extmap.conf.sample', install_dir: pkgconfdir) + + if ( + fs.exists('/etc/ld.so.conf.d') |