diff options
author | Antoine Brodin <antoine@FreeBSD.org> | 2017-03-21 21:59:31 +0000 |
---|---|---|
committer | Antoine Brodin <antoine@FreeBSD.org> | 2017-03-21 21:59:31 +0000 |
commit | 7cfe69b5842cdb1ef6fbef80bffbc8f2651889a8 (patch) | |
tree | 2b6d3a0598b45365f230c6f61cf8d8d784b7016d /net/samba36/files/patch-source3__utils__net.c | |
parent | Upgrade to 1.5.29. (diff) |
- Add USES=samba to handle dependency on samba
Valid ARGS: build, env, lib, run (default: build,run)
- Add SAMBA_DEFAULT to bsd.default-versions.mk (default: 4.3)
- Remove obsolete samba36 ports
- Modify samba4x ports to install libsmbclient
- Convert the ports tree to USES=samba
Reviewed by: mat
Differential Revision: https://reviews.freebsd.org/D8919
Diffstat (limited to 'net/samba36/files/patch-source3__utils__net.c')
-rw-r--r-- | net/samba36/files/patch-source3__utils__net.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/net/samba36/files/patch-source3__utils__net.c b/net/samba36/files/patch-source3__utils__net.c deleted file mode 100644 index aa4853a7624e..000000000000 --- a/net/samba36/files/patch-source3__utils__net.c +++ /dev/null @@ -1,18 +0,0 @@ ---- ./source3/utils/net.c.orig 2013-01-29 08:49:31.000000000 +0000 -+++ ./source3/utils/net.c 2013-01-31 15:04:24.069877314 +0000 -@@ -898,8 +898,13 @@ - set_global_myname(c->opt_requester_name); - } - -- if (!c->opt_user_name && getenv("LOGNAME")) { -- c->opt_user_name = getenv("LOGNAME"); -+ if (!c->opt_user_name) { -+ if(getenv("LOGNAME")) -+ c->opt_user_name = getenv("LOGNAME"); -+ else -+ d_fprintf(stderr, -+ _("Environment LOGNAME is not defined." -+ " Trying anonymous access.\n")); - } - - if (!c->opt_workgroup) { |