Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Part of configure change | Joseph Hunkeler | 2012-05-25 | 1 | -2/+2 |
| | |||||
* | Instead of detecting the host type, you may use --enable-compat instead. | Joseph Hunkeler | 2012-05-25 | 9 | -64/+85 |
| | | | | | Enabling compat will build and link against a static library containing string functions not found in older version of glibc. | ||||
* | Placeholder | Joseph Hunkeler | 2012-05-25 | 1 | -0/+21 |
| | |||||
* | Modified configure script | Joseph Hunkeler | 2012-05-25 | 2 | -61/+28 |
| | |||||
* | Remove strcasestr() and strchrnul() checks from configure, using ↵ | Alan Brault | 2012-05-25 | 16 | -103/+105 |
| | | | | | | | | | | | | | libdusercompat.a instead Fix Makefile.am bad entry Clean up compat, bring in strcasestr from OpenBSD and strchrnul from uclibc and separate the headers. Remove config.h from strchrnul.c; not needed Fix numerous shadow declaration bugs that could cause problems for Solaris libc Fix bad prototype using in unlink() | ||||
* | Initial commit | Joseph Hunkeler | 2012-05-25 | 36 | -69/+39390 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Partial autotools conversion to help out Joe More autotools migration More autotools migration Add platform detection for Linux vs Solaris Move CFG_PATH out of duser.h and put into configure via --with-config-path Forgot to define ifdef for HAVE_CONFIG_H sigh Add configure checks for strchrnul() and strcasestr() and config.h entries Add __NLINUX__ and __NSOLARIS__ platform checks to configure and config.h entries Forgot compat.c for Solaris platforms sigh Fix spelling mistake: comat.c -> compat.c Fixed typo Make strcasestr() and strchrnul() into separate compat files Force everyone to use compat functions not just Solaris Remove libsysfs from buildconf Add libtool support (needed for libdusercompat.a) | ||||
* | List format uses define FMTLIST | Joseph Hunkeler | 2012-05-25 | 1 | -1/+1 |
| | |||||
* | -Wextra unsupported by gcc | Joseph Hunkeler | 2012-05-25 | 1 | -1/+1 |
| | |||||
* | Prototype for version() added | Joseph Hunkeler | 2012-05-25 | 1 | -1/+2 |
| | |||||
* | Removed. No static compiling on solaris. | Joseph Hunkeler | 2012-05-25 | 1 | -10/+0 |
| | |||||
* | Utilizing static progname variable. Local variables removed from functions ↵ | Joseph Hunkeler | 2012-05-25 | 2 | -6/+20 |
| | | | | that used it. Added version(). | ||||
* | Removed duser.h from source list | Joseph Hunkeler | 2012-05-25 | 3 | -5/+5 |
| | |||||
* | Initial commit | Joseph Hunkeler | 2012-05-25 | 1 | -0/+8 |
| | |||||
* | Added license header | Joseph Hunkeler | 2012-05-25 | 1 | -0/+20 |
| | |||||
* | Added license header | Joseph Hunkeler | 2012-05-25 | 1 | -0/+20 |
| | |||||
* | Added missing function prototypes. | Joseph Hunkeler | 2012-05-25 | 1 | -0/+5 |
| | |||||
* | Moved most functions into other source files. | Joseph Hunkeler | 2012-05-25 | 1 | -590/+0 |
| | |||||
* | Initial commit. For static compiling. | Joseph Hunkeler | 2012-05-25 | 2 | -0/+21 |
| | |||||
* | Stripped binaries | Joseph Hunkeler | 2012-05-25 | 2 | -5/+5 |
| | |||||
* | Initial commit after breaking up duser.c into more chunks. | Joseph Hunkeler | 2012-05-25 | 2 | -0/+632 |
| | |||||
* | Added 'AUTHORS' | Joseph Hunkeler | 2012-05-25 | 1 | -0/+1 |
| | |||||
* | 'status' will return the failure of access() now | Joseph Hunkeler | 2012-05-25 | 1 | -1/+1 |
| | |||||
* | cfg.c now depends on cfg.h | Joseph Hunkeler | 2012-05-25 | 4 | -5/+6 |
| | | | | | duser.c depends on cfg.h Removed cfg prototypes from duser.h | ||||
* | Initial commit | Joseph Hunkeler | 2012-05-25 | 2 | -0/+92 |
| | |||||
* | Initial commit | Joseph Hunkeler | 2012-05-25 | 1 | -0/+26 |
| | |||||
* | Added clean | Joseph Hunkeler | 2012-05-25 | 1 | -1/+3 |
| | |||||
* | This will build on Solaris >10 | Joseph Hunkeler | 2012-05-25 | 1 | -0/+10 |
| | |||||
* | GNU GPLv3 licensing added. | Joseph Hunkeler | 2012-05-25 | 5 | -0/+755 |
| | |||||
* | Fixed Solaris 10 segfault. If list_path was null, snprintf would write bad ↵ | Joseph Hunkeler | 2012-05-25 | 2 | -64/+90 |
| | | | | data into the filename. While loop in user_cmd() was removed because it was never used as intended. | ||||
* | Debugging disabled | Joseph Hunkeler | 2012-05-25 | 2 | -5/+9 |
| | | | | Program name is now global | ||||
* | Command line argument "new" added | Joseph Hunkeler | 2012-05-25 | 2 | -1/+70 |
| | | | | user_new_list() function added | ||||
* | Starting to port to Solaris 10... sigh. | Joseph Hunkeler | 2012-05-25 | 2 | -1/+25 |
| | |||||
* | Removed include for <tre/regex.h> | Joseph Hunkeler | 2012-05-25 | 1 | -1/+0 |
| | |||||
* | Initial commit | Joseph Hunkeler | 2012-05-25 | 1 | -0/+66 |
| | |||||
* | Added cfg_open(), cfg_get_key(), and cfg_close() | Joseph Hunkeler | 2012-05-25 | 3 | -49/+159 |
| | | | | | | | | | | | | | | | | Added configuration file parsing, and removed constants (list_path, LOGFILE). CFG_PATH is defined in duser.h and will need to be changed before compiling. Removed basename in favor of libgen.h Log no longer reports DELETE ALL/SINGLE. Just DELETE. Fixed a ridiculous file truncation mistake in user_del(). Removed dependency on libtre... it sucks. Decided to go with libc searching -- seems to work better. (strfind()) We now validate strings passed as arguments to make sure they cannot cause arbitrary code execution, or accidental damage. (strval()) Added match column to list output. user_add was truncating files... fixed. CMD_FLAG_ADD will verify adding addresses to a mailing list. CMD_FLAG_MOD will display a temporary error (not done) If a corrupt record ever occurs it returns -1. | ||||
* | Removed libtre dependency | Joseph Hunkeler | 2012-05-25 | 1 | -2/+2 |
| | |||||
* | Uniformed errors now. | Joseph Hunkeler | 2012-05-25 | 1 | -11/+21 |
| | | | | Trying to add the user_add stuff a little | ||||
* | Fixed bug where (rec = NULL) caused user_del to flip out. | Joseph Hunkeler | 2012-05-25 | 2 | -2/+21 |
| | | | | Adding code to add a user to a list | ||||
* | List deletion active | Joseph Hunkeler | 2012-05-25 | 1 | -3/+51 |
| | |||||
* | Working delete-all command "delA" | Joseph Hunkeler | 2012-05-25 | 3 | -164/+259 |
| | |||||
* | Added log.c and duser.h | Joseph Hunkeler | 2012-05-25 | 1 | -1/+1 |
| | |||||
* | Deletion code is now working. Original file is replaced with temp data | Joseph Hunkeler | 2012-05-25 | 1 | -56/+78 |
| | |||||
* | Initial commit | Joseph Hunkeler | 2012-05-25 | 2 | -0/+106 |
| | |||||
* | Removing getopt | Joseph Hunkeler | 2012-05-25 | 1 | -56/+157 |
| | |||||
* | user_del is now capable of removing text from the temp files. | Joseph Hunkeler | 2011-03-25 | 1 | -10/+13 |
| | | | | still does not modify original files | ||||
* | Need to work around writing as binary. Otherwise almost functional. | Joseph Hunkeler | 2011-03-25 | 1 | -7/+9 |
| | | | | find_in_file_ex needs tweaking for return value | ||||
* | Debug config | Joseph Hunkeler | 2011-03-24 | 1 | -1/+1 |
| | |||||
* | Adding user_del and testing temporary file usage | Joseph Hunkeler | 2011-03-24 | 1 | -20/+203 |
| | |||||
* | Initial commit | Joseph Hunkeler | 2011-03-23 | 2 | -0/+167 |