Ticket #64396: Portfile.diff
File Portfile.diff, 2.8 KB (added by BjarneDMat, 3 years ago) |
---|
-
Portfile
old new 1 1 # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 2 2 3 3 PortSystem 1.0 4 PortGroup legacysupport 1.1 4 5 5 6 name samba4 6 7 conflicts samba3 7 version 4.1 4.78 revision 19 checksums rmd160 732a018b5b97e9efc91efd1b2d3540c23aec1dca\10 sha256 6f50353f9602aa20245eb18ceb00e7e5ec793df0974aebd5254c38f16d8f1906\11 size 186685928 version 4.15.3 9 revision 0 10 checksums rmd160 0d4a2443d6e3f53268389e3504ef97765ac8b9be \ 11 sha256 519399404391550345846768ea4dd0fe7fcb04e20c2b891b5eeb02e5554137db \ 12 size 19272345 12 13 13 14 categories net 14 15 platforms darwin … … 31 32 port:libarchive \ 32 33 port:libiconv \ 33 34 path:lib/libldap.dylib:openldap \ 34 port:p5. 28-parse-yapp \35 port:p5.32-parse-yapp \ 35 36 port:popt \ 36 port:python3 8\37 port:python39 \ 37 38 port:readline \ 38 39 port:zlib 39 40 40 41 patch.pre_args -p1 41 42 42 platform darwin {43 # fix missing header44 patchfiles-append \45 patch-fix-debug.diff46 47 # patch "get_user_groups: failed to get the unix group list" on48 # macOS49 #50 # Samba fails on macOS when current user belongs to more than 1651 # groups.52 #53 # The 16 group limit is returned by sysconf when asked for54 # _SC_NGROUPS_MAX; this is apparently due to OS X's nested groups;55 # while the call to getgrouplist returns a flat (not nested) group56 # list. getgrouplist will happily return the first 16 groups but57 # still return a -1 return code, indicating failure. Hence the58 # strange maximum of 16 groups on OS X.59 #60 # https://github.com/Homebrew/legacy-homebrew/issues/595461 patchfiles-append \62 patch-macos-grouplimit.diff63 }64 65 43 # patch to disable building documentation on MacOS 66 44 # this enables us to have a working samba4 port without docs, 67 45 # rather than not having samba4 at all. Can be removed when 68 46 # doc build issues are resolved. 69 47 patchfiles-append patch-no-xsltproc.diff 70 48 71 configure.perl ${prefix}/bin/perl5. 2872 configure.python ${prefix}/bin/python3. 849 configure.perl ${prefix}/bin/perl5.32 50 configure.python ${prefix}/bin/python3.9 73 51 configure.env-append \ 74 YAPP=${prefix}/bin/yapp-5. 2852 YAPP=${prefix}/bin/yapp-5.32 75 53 configure.cmd ${configure.python} ./buildtools/bin/waf configure 76 54 configure.args -C \ 77 55 --enable-fhs \