Commit Graph

44 Commits (b35bf3760e750fa55ea3ad5d4e97c59ba2eda9a1)

Author SHA1 Message Date
Matthew Wild fcd300734f Makefiles: Add signal.so to install targets 17 years ago
Matthew Wild 9008dd1e1c util.lsignal: Add lsignal library for catching POSIX signals 17 years ago
Matthew Wild 23e9b6c71a Makefiles, util.signal: Add lsignal library for catching POSIX signals 17 years ago
Matthew Wild c80f91dc02 0.3->0.4 17 years ago
Matthew Wild 8cb5eb1311 pposix: Standardize error messages 17 years ago
Matthew Wild c3ca79a8e4 pposix: Small fix for copyright notice 17 years ago
Tobias Markmann 3d1e7adbbc Make the code actually build. 17 years ago
Tobias Markmann 70e434d505 Added missing code. 17 years ago
Tobias Markmann 57ad1b3a49 Adding setrlimits() binding. 17 years ago
Matthew Wild 82d6c67565 util.pposix: Add getuid/setuid (we don't use them yet) 17 years ago
Matthew Wild 6f1ac0657b Use $CC, $LD in Makefile. Add --c-compiler, --linker flags to ./configure script. Add --lflags to ./configure script. Thanks to Lorenzo for the initial patch! 17 years ago
Matthew Wild 5f37a23f35 util.pposix: Fix incompatible pointer type compiler warnings 17 years ago
Matthew Wild 25d0df0a5b Licensing/version updates for some files (forgot to commit, doh...) 17 years ago
Matthew Wild 02d83854f0 Remove redundant linking in util-src modules' Makefile 17 years ago
Matthew Wild dbbaf43f8c pposix: Remove debug line 17 years ago
Matthew Wild 26e856e3d1 pposix: Add syslog_setmask (use config: minimum_log_level = 'warn' etc.) 17 years ago
Matthew Wild 43c5e28558 pposix: Add _NAME and _VERSION 17 years ago
Matthew Wild b1f16033b0 mod_posix/pposix: Fix reporting of incorrect PID on daemonization. Log correct PID, and support writing a pidfile (pidfile = '/path/to/prosody.pid' in config). Added getpid() to pposix and improved function names. 17 years ago
Matthew Wild 333914c98d mod_posix: Support for logging to syslog (log = 'syslog' in config) 17 years ago
Matthew Wild a3737f12ad Makefile fix for clean target 17 years ago
Waqas Hussain f7596f63cf Fixed util.encodings.base64.decode to not truncate results when encountering an '=' before the end of the given input. 17 years ago
Matthew Wild f53f472410 Remove some debugging from pposix.c 17 years ago
Matthew Wild 8b821c21d3 Add posix support library, and adjust makefiles for it 17 years ago
Matthew Wild d1d7509f31 Fix Makefile to link with Lua again 17 years ago
Matthew Wild 87703412c1 Fix configure to save LFLAGS, and also set proper defaults for all sensible OSes 17 years ago
Tobias Markmann d2d44b512b Making makefile work under OS X finally. Yeah OS X's gcc is a little bit strange. 17 years ago
Matthew Wild 72f6ff8408 and the C files too 17 years ago
Matthew Wild 464b5d6c0f Use install to strip symbols 17 years ago
Matthew Wild da2f3ee85a Potential fixes for building on Mac OSX 17 years ago
Matthew Wild e6c50bbe65 Add -fPIC to util-src/Makefile 17 years ago
Matthew Wild dcf87bb7c9 Add a top-level Makefile and ./configure script. Update util-src Makefile for this. 17 years ago
Tobias Markmann a718775bd4 Use unsigned int instead of uint because uint is already in use on OS X. 17 years ago
Tobias Markmann 0df2b3f0c5 To use free you should include stdlib.h rather than malloc.h according to man page of free() and various C reference websites. 17 years ago
Tobias Markmann 8e2b0deb94 Do idna_to_ascii when building own response. 17 years ago
Waqas Hussain 4287b7555a Added make.bat for windows 17 years ago
Waqas Hussain 194ce23871 Removed MS specific preprocessor statements from the Makefile 17 years ago
Waqas Hussain f33e964604 Makefile now works on windows with Microsoft's compiler 17 years ago
Waqas Hussain 2fdb13c54d Minor changes to C files (to prevent compiler warnings) 17 years ago
Matthew Wild 1985b40ecf Fix for hashes.c and encodings.c to rename luaopen for util_* 17 years ago
Matthew Wild 78cffc8a02 Add rough Makefile for util-src/ 17 years ago
Waqas Hussain 15d8fc0d62 Removed commented code 17 years ago
Waqas Hussain e7e668c24b Added util-src/hashes.c - support for sha1, sha256 and md5 hashes 17 years ago
Waqas Hussain 8eb8f73b07 Added util-src/encodings.c - support for base64, stringprep and idna encodings 17 years ago