Opened 3 years ago
Last modified 3 years ago
#12658 new Bug report
libfilezilla: impersonation code is Linux-specific
Reported by: | Thomas Klausner | Owned by: | |
---|---|---|---|
Priority: | normal | Component: | libfilezilla |
Keywords: | Cc: | ||
Component version: | Operating system type: | BSD | |
Operating system version: |
Description
The new impersonation code does not build on (Net)BSD.
crypt.h and shadow.h are Linux-specific.
I'll attach a patch to show what is needed to make this compile on NetBSD, but of course proper support would be preferred.
Attachments (1)
Change History (5)
by , 3 years ago
Attachment: | patch-lib_impersonation.cpp added |
---|
comment:1 by , 3 years ago
comment:2 by , 3 years ago
Status: | new → moreinfo |
---|
How can a program verify user passwords on NetBSD?
Is there a preprocessor define to specifically detect NetBSD?
comment:3 by , 3 years ago
Why does NetBSD have no crypt_r()? crypt() is not thread-safe. Should be easy to add such a function, please let the NetBSD developers know. Re-open this ticket once this function has been added to NetBSD.
comment:4 by , 3 years ago
Status: | moreinfo → new |
---|
I've asked the NetBSD developers about this.
NetBSD's compiler defines a NetBSD symbol you can check. (i.e. underscore-underscore-NetBSD-underscore-underscore)
Related: #12554