aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Moved limits.h precedenceJoseph Hunkeler2012-05-251-1/+1
|
* PATH_MAX is not defined in limits.h (randomly?) so if it is undefined at ↵Joseph Hunkeler2012-05-251-3/+8
| | | | compile time, it will no longer fail to build.
* Part of configure changeJoseph Hunkeler2012-05-251-2/+2
|
* Instead of detecting the host type, you may use --enable-compat instead.Joseph Hunkeler2012-05-259-64/+85
| | | | | Enabling compat will build and link against a static library containing string functions not found in older version of glibc.
* PlaceholderJoseph Hunkeler2012-05-251-0/+21
|
* Modified configure scriptJoseph Hunkeler2012-05-252-61/+28
|
* Remove strcasestr() and strchrnul() checks from configure, using ↵Alan Brault2012-05-2516-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 commitJoseph Hunkeler2012-05-2536-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 FMTLISTJoseph Hunkeler2012-05-251-1/+1
|
* -Wextra unsupported by gccJoseph Hunkeler2012-05-251-1/+1
|
* Prototype for version() addedJoseph Hunkeler2012-05-251-1/+2
|
* Removed. No static compiling on solaris.Joseph Hunkeler2012-05-251-10/+0
|
* Utilizing static progname variable. Local variables removed from functions ↵Joseph Hunkeler2012-05-252-6/+20
| | | | that used it. Added version().
* Removed duser.h from source listJoseph Hunkeler2012-05-253-5/+5
|
* Initial commitJoseph Hunkeler2012-05-251-0/+8
|
* Added license headerJoseph Hunkeler2012-05-251-0/+20
|
* Added license headerJoseph Hunkeler2012-05-251-0/+20
|
* Added missing function prototypes.Joseph Hunkeler2012-05-251-0/+5
|
* Moved most functions into other source files.Joseph Hunkeler2012-05-251-590/+0
|
* Initial commit. For static compiling.Joseph Hunkeler2012-05-252-0/+21
|
* Stripped binariesJoseph Hunkeler2012-05-252-5/+5
|
* Initial commit after breaking up duser.c into more chunks.Joseph Hunkeler2012-05-252-0/+632
|
* Added 'AUTHORS'Joseph Hunkeler2012-05-251-0/+1
|
* 'status' will return the failure of access() nowJoseph Hunkeler2012-05-251-1/+1
|
* cfg.c now depends on cfg.hJoseph Hunkeler2012-05-254-5/+6
| | | | | duser.c depends on cfg.h Removed cfg prototypes from duser.h
* Initial commitJoseph Hunkeler2012-05-252-0/+92
|
* Initial commitJoseph Hunkeler2012-05-251-0/+26
|
* Added cleanJoseph Hunkeler2012-05-251-1/+3
|
* This will build on Solaris >10Joseph Hunkeler2012-05-251-0/+10
|
* GNU GPLv3 licensing added.Joseph Hunkeler2012-05-255-0/+755
|
* Fixed Solaris 10 segfault. If list_path was null, snprintf would write bad ↵Joseph Hunkeler2012-05-252-64/+90
| | | | data into the filename. While loop in user_cmd() was removed because it was never used as intended.
* Debugging disabledJoseph Hunkeler2012-05-252-5/+9
| | | | Program name is now global
* Command line argument "new" addedJoseph Hunkeler2012-05-252-1/+70
| | | | user_new_list() function added
* Starting to port to Solaris 10... sigh.Joseph Hunkeler2012-05-252-1/+25
|
* Removed include for <tre/regex.h>Joseph Hunkeler2012-05-251-1/+0
|
* Initial commitJoseph Hunkeler2012-05-251-0/+66
|
* Added cfg_open(), cfg_get_key(), and cfg_close()Joseph Hunkeler2012-05-253-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 dependencyJoseph Hunkeler2012-05-251-2/+2
|
* Uniformed errors now.Joseph Hunkeler2012-05-251-11/+21
| | | | Trying to add the user_add stuff a little
* Fixed bug where (rec = NULL) caused user_del to flip out.Joseph Hunkeler2012-05-252-2/+21
| | | | Adding code to add a user to a list
* List deletion activeJoseph Hunkeler2012-05-251-3/+51
|
* Working delete-all command "delA"Joseph Hunkeler2012-05-253-164/+259
|
* Added log.c and duser.hJoseph Hunkeler2012-05-251-1/+1
|
* Deletion code is now working. Original file is replaced with temp dataJoseph Hunkeler2012-05-251-56/+78
|
* Initial commitJoseph Hunkeler2012-05-252-0/+106
|
* Removing getoptJoseph Hunkeler2012-05-251-56/+157
|
* user_del is now capable of removing text from the temp files.Joseph Hunkeler2011-03-251-10/+13
| | | | still does not modify original files
* Need to work around writing as binary. Otherwise almost functional.Joseph Hunkeler2011-03-251-7/+9
| | | | find_in_file_ex needs tweaking for return value
* Debug configJoseph Hunkeler2011-03-241-1/+1
|
* Adding user_del and testing temporary file usageJoseph Hunkeler2011-03-241-20/+203
|