Matthew Wild
|
59c0104106
|
pposix, mod_posix: Bump pposix version number
|
2009-07-23 03:47:06 +01:00 |
|
Matthew Wild
|
1e86adb619
|
pposix: Add setgid() function
|
2009-07-23 03:40:01 +01:00 |
|
Matthew Wild
|
015da98269
|
pposix: Change LOG_EMERG -> LOG_CRIT, which makes more sense, thanks to intosi for reporting and an initial patch
|
2009-07-21 13:21:52 +01:00 |
|
Matthew Wild
|
b0c602ba74
|
Close std{in,out,err} when daemonizing
|
2009-05-22 14:48:34 +01:00 |
|
Matthew Wild
|
fcd300734f
|
Makefiles: Add signal.so to install targets
|
2009-04-12 03:02:51 +01:00 |
|
Matthew Wild
|
9008dd1e1c
|
util.lsignal: Add lsignal library for catching POSIX signals
|
2009-04-12 02:53:50 +01:00 |
|
Matthew Wild
|
23e9b6c71a
|
Makefiles, util.signal: Add lsignal library for catching POSIX signals
|
2009-04-12 02:53:00 +01:00 |
|
Matthew Wild
|
c80f91dc02
|
0.3->0.4
|
2009-03-20 20:16:25 +00:00 |
|
Matthew Wild
|
8cb5eb1311
|
pposix: Standardize error messages
|
2009-03-03 17:25:20 +00:00 |
|
Matthew Wild
|
c3ca79a8e4
|
pposix: Small fix for copyright notice
|
2009-03-03 17:24:56 +00:00 |
|
Tobias Markmann
|
3d1e7adbbc
|
Make the code actually build.
|
2009-02-22 20:57:57 +01:00 |
|
Tobias Markmann
|
70e434d505
|
Added missing code.
|
2009-02-22 20:55:06 +01:00 |
|
Tobias Markmann
|
57ad1b3a49
|
Adding setrlimits() binding.
|
2009-02-22 20:35:41 +01:00 |
|
Matthew Wild
|
82d6c67565
|
util.pposix: Add getuid/setuid (we don't use them yet)
|
2009-02-15 15:56:04 +00:00 |
|
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!
|
2009-02-14 15:38:37 +00:00 |
|
Matthew Wild
|
5f37a23f35
|
util.pposix: Fix incompatible pointer type compiler warnings
|
2009-02-13 15:01:46 +00:00 |
|
Matthew Wild
|
25d0df0a5b
|
Licensing/version updates for some files (forgot to commit, doh...)
|
2009-02-02 18:03:18 +00:00 |
|
Matthew Wild
|
02d83854f0
|
Remove redundant linking in util-src modules' Makefile
|
2009-02-02 18:02:20 +00:00 |
|
Matthew Wild
|
dbbaf43f8c
|
pposix: Remove debug line
|
2009-01-16 05:22:28 +00:00 |
|
Matthew Wild
|
26e856e3d1
|
pposix: Add syslog_setmask (use config: minimum_log_level = 'warn' etc.)
|
2009-01-16 05:20:04 +00:00 |
|
Matthew Wild
|
43c5e28558
|
pposix: Add _NAME and _VERSION
|
2009-01-16 04:57:36 +00:00 |
|
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.
|
2009-01-15 20:59:36 +00:00 |
|
Matthew Wild
|
333914c98d
|
mod_posix: Support for logging to syslog (log = 'syslog' in config)
|
2009-01-15 20:06:41 +00:00 |
|
Matthew Wild
|
a3737f12ad
|
Makefile fix for clean target
|
2008-12-28 05:09:38 +00:00 |
|
Waqas Hussain
|
f7596f63cf
|
Fixed util.encodings.base64.decode to not truncate results when encountering an '=' before the end of the given input.
|
2008-12-08 03:19:11 +05:00 |
|
Matthew Wild
|
f53f472410
|
Remove some debugging from pposix.c
|
2008-12-06 23:22:35 +00:00 |
|
Matthew Wild
|
8b821c21d3
|
Add posix support library, and adjust makefiles for it
|
2008-12-06 23:20:59 +00:00 |
|
Matthew Wild
|
d1d7509f31
|
Fix Makefile to link with Lua again
|
2008-12-03 20:00:17 +00:00 |
|
Matthew Wild
|
87703412c1
|
Fix configure to save LFLAGS, and also set proper defaults for all sensible OSes
|
2008-12-03 19:55:57 +00:00 |
|
Tobias Markmann
|
d2d44b512b
|
Making makefile work under OS X finally. Yeah OS X's gcc is a little bit strange.
|
2008-12-03 20:32:03 +01:00 |
|
Matthew Wild
|
72f6ff8408
|
and the C files too
|
2008-12-03 14:45:03 +00:00 |
|
Matthew Wild
|
464b5d6c0f
|
Use install to strip symbols
|
2008-11-30 19:36:30 +00:00 |
|
Matthew Wild
|
da2f3ee85a
|
Potential fixes for building on Mac OSX
|
2008-11-30 19:02:00 +00:00 |
|
Matthew Wild
|
e6c50bbe65
|
Add -fPIC to util-src/Makefile
|
2008-11-29 22:20:59 +00:00 |
|
Tobias Markmann
|
abf0d19152
|
Forced merge.
|
2008-11-29 11:24:59 +01:00 |
|
Matthew Wild
|
dcf87bb7c9
|
Add a top-level Makefile and ./configure script. Update util-src Makefile for this.
|
2008-11-29 02:07:33 +00:00 |
|
Tobias Markmann
|
a718775bd4
|
Use unsigned int instead of uint because uint is already in use on OS X.
|
2008-11-28 19:24:08 +01:00 |
|
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.
|
2008-11-28 18:36:04 +01:00 |
|
Tobias Markmann
|
8e2b0deb94
|
Do idna_to_ascii when building own response.
|
2008-11-28 18:32:54 +01:00 |
|
Waqas Hussain
|
4287b7555a
|
Added make.bat for windows
|
2008-11-27 22:28:33 +05:00 |
|
Waqas Hussain
|
194ce23871
|
Removed MS specific preprocessor statements from the Makefile
|
2008-11-27 22:27:25 +05:00 |
|
Waqas Hussain
|
f33e964604
|
Makefile now works on windows with Microsoft's compiler
|
2008-11-27 21:49:31 +05:00 |
|
Waqas Hussain
|
2fdb13c54d
|
Minor changes to C files (to prevent compiler warnings)
|
2008-11-27 21:47:13 +05:00 |
|
Matthew Wild
|
1985b40ecf
|
Fix for hashes.c and encodings.c to rename luaopen for util_*
|
2008-11-26 22:45:33 +00:00 |
|
Matthew Wild
|
78cffc8a02
|
Add rough Makefile for util-src/
|
2008-11-26 02:21:18 +00:00 |
|
Waqas Hussain
|
15d8fc0d62
|
Removed commented code
|
2008-11-26 01:55:07 +05:00 |
|
Waqas Hussain
|
e7e668c24b
|
Added util-src/hashes.c - support for sha1, sha256 and md5 hashes
|
2008-11-26 01:46:16 +05:00 |
|
Waqas Hussain
|
8eb8f73b07
|
Added util-src/encodings.c - support for base64, stringprep and idna encodings
|
2008-11-26 01:45:25 +05:00 |
|