/[baselayout]/trunk/src
Gentoo

Log of /trunk/src

View Directory Listing Directory Listing



Revision 1349 - Directory Listing
Modified Tue Jul 26 09:04:24 2005 UTC (7 years, 9 months ago) by azarah
Remove the parallel depend stuff from the awk backend.

Revision 1321 - Directory Listing
Modified Wed Jul 20 05:23:35 2005 UTC (7 years, 10 months ago) by vapier
reorder LDFLAGS so static compiling works #99615 by Alexander Skwar

Revision 1311 - Directory Listing
Modified Sat Jul 16 15:51:10 2005 UTC (7 years, 10 months ago) by azarah
Add Darwin support for start-stop-daemon, bug #82421.

Revision 1131 - Directory Listing
Modified Fri May 13 05:24:43 2005 UTC (8 years ago) by vapier
add update from upstream ssd to detect kfbsd #80021


Revision 1109 - Directory Listing
Modified Wed Apr 27 02:39:54 2005 UTC (8 years ago) by vapier
sync special var list with portages env-update #88819


Revision 1092 - Directory Listing
Modified Thu Apr 14 22:12:23 2005 UTC (8 years, 1 month ago) by azarah
15 Apr 2005 Martin Schlemmer <azarah@gentoo.org>

        * parse.c: Do not source rc.conf for every script - once is enough.


Revision 1091 - Directory Listing
Modified Thu Apr 14 21:14:32 2005 UTC (8 years, 1 month ago) by azarah
14 Apr 2005 Martin Schlemmer <azarah@gentoo.org>

        * depscan.c: Update error comments for stage name changes some time
        back.


Revision 1090 - Directory Listing
Modified Thu Apr 14 21:13:37 2005 UTC (8 years, 1 month ago) by azarah
14 Apr 2005 Martin Schlemmer <azarah@gentoo.org>

        * parse.c,
        * parse.h: Do not try to extract the depend() function from the
        scripts, but rather source the whole file.  This way we can detect
        syntax errors, etc.  Little bit slower, but not much.


Revision 1076 - Directory Listing
Modified Thu Apr 7 11:50:17 2005 UTC (8 years, 1 month ago) by azarah
07 Apr 2005 Martin Schlemmer <azarah@gentoo.org>

        * test-regex.c: Add two more tests.

        * depscan.c
        * misc.c
        * misc.h: Add basic klibc support.  I need to add a mkstemp
        implementation to get it done properly.


Revision 1048 - Directory Listing
Modified Sat Mar 12 08:35:32 2005 UTC (8 years, 2 months ago) by azarah
12 Mar 2005 Martin Schlemmer <azarah@gentoo.org>

        * Makefile: Also remove the tests in the clean target.


Revision 1042 - Directory Listing
Modified Thu Mar 10 22:34:36 2005 UTC (8 years, 2 months ago) by azarah
11 Mar 2005 Martin Schlemmer <azarah@gentoo.org>

        * test-regex.c: Add a few strings and patterns.  Enable tests to
        specify if they should fail or pass.


Revision 1041 - Directory Listing
Modified Thu Mar 10 21:02:05 2005 UTC (8 years, 2 months ago) by azarah
10 Mar 2005 Martin Schlemmer <azarah@gentoo.org>

        * test-regex.c: New file
        * Makefile: Add check target to compile and run tests
        * simple-regex.c (__match_wildcard): Get recursion right so that we
        do not match a wildcard _and_ inc data_p if there are still other
        wildcards (?, *) that could match.


Revision 1040 - Directory Listing
Modified Thu Mar 10 20:52:50 2005 UTC (8 years, 2 months ago) by azarah
10 Mar 2005 Martin Schlemmer <azarah@gentoo.org>

        * Makefile
        * depend.c
        * simple-regex.c: Override the debug/warning CFLAGS.  Kill a few
        warnings.


Revision 1038 - Directory Listing
Modified Thu Mar 10 17:00:04 2005 UTC (8 years, 2 months ago) by azarah
The system() stuff in *depends.awk should be dosystem().


Revision 1037 - Directory Listing
Modified Thu Mar 10 16:40:13 2005 UTC (8 years, 2 months ago) by azarah
10 Mar 2005 Martin Schlemmer <azarah@gentoo.org>

        * Makefile
        * depend.c
        * simple-regex.c: Override the debug/warning CFLAGS.  Kill a few
        warnings.


Revision 994 - Directory Listing
Modified Wed Feb 23 17:47:43 2005 UTC (8 years, 2 months ago) by azarah
Add use tempory file for deptree, bug #48303, thanks to patch from
Stefan Hoefer <stefan@hoefer.ch>.


Revision 988 - Directory Listing
Modified Wed Feb 23 11:48:27 2005 UTC (8 years, 2 months ago) by azarah
* misc.c: Fix memory leak in mktree().


Revision 973 - Directory Listing
Modified Fri Feb 18 00:04:52 2005 UTC (8 years, 3 months ago) by azarah
Makefile: Add -fbounds-checking support when DEBUG=1.
misc.h: Scrap STRING_LIST_FOR_EACH_SAFE() and recode from scratch fixing
        invalid pointer operations.
misc.c: Remove the last strlen() from strndup() that caused an overrun.


Revision 972 - Directory Listing
Modified Thu Feb 17 20:11:50 2005 UTC (8 years, 3 months ago) by azarah
misc.c: Fix overrun in strndup(), thanks to report from
        Ned Ludd <solar@gentoo.org>.


Revision 971 - Directory Listing
Modified Thu Feb 17 19:05:25 2005 UTC (8 years, 3 months ago) by azarah
debug.h, misc.h, simple-regex.c: Print debug/errors to stderr, patch from
                                 Ned Ludd <solar@gentoo.org>


Revision 970 - Directory Listing
Modified Thu Feb 17 17:26:48 2005 UTC (8 years, 3 months ago) by azarah
debug.h: Replace invalid EXIT_FAILSTATUS with EXIT_FAILURE.
parse.c: Modify parse_print_body() to be more ash friendly - suggestions
         from Ned Ludd <solar@gentoo.org>.


Revision 969 - Directory Listing
Modified Thu Feb 17 16:10:49 2005 UTC (8 years, 3 months ago) by azarah
debug.h: Remove the 'errno = ESPIPE' in DBG_MSG() for now, as it seems to
         be fixed by the select() changes.


Revision 968 - Directory Listing
Modified Thu Feb 17 15:53:27 2005 UTC (8 years, 3 months ago) by azarah
parse.c: Disable write select() for now, as it is not needed.


Revision 967 - Directory Listing
Modified Thu Feb 17 15:31:44 2005 UTC (8 years, 3 months ago) by azarah
depscan.c: Only print EINFO msg if we actually update the cache.
parse.c: Rename write_output() macro to PRINT_TO_BUFFER().


Revision 966 - Directory Listing
Modified Thu Feb 17 15:01:51 2005 UTC (8 years, 3 months ago) by azarah
parse.c, parse.h: Rewrote large parts of generate_stage[12]() and their
              machanics to use select() when writing to the pipes.
              This fixes a buffering issue where too much data would
              cause the write to be truncated, and the read pipe would
              then wait forever.


Revision 965 - Directory Listing
Modified Thu Feb 17 00:17:42 2005 UTC (8 years, 3 months ago) by azarah
misc.c: Fix gbasename() to compile under gcc-2.95.3.
parse.c: Switch to stdio based io for reading pipes in generate_stage2().


Revision 964 - Directory Listing
Modified Wed Feb 16 23:12:14 2005 UTC (8 years, 3 months ago) by azarah
misc.c, misc.h: Add gbasename() that is similar to GNU's basename().
parse.c: Use gbasename() instead of POSIX version.


Revision 963 - Directory Listing
Modified Wed Feb 16 22:52:39 2005 UTC (8 years, 3 months ago) by azarah
parse.c: Fix write_legacy_stage3() to quote the mtime in its output.


Revision 962 - Directory Listing
Modified Wed Feb 16 22:48:55 2005 UTC (8 years, 3 months ago) by azarah
misc.c, parse.c: Change type of length from int to size_t to avoid warnings
                 when compiled for darwin.


Revision 961 - Directory Listing
Modified Wed Feb 16 22:33:17 2005 UTC (8 years, 3 months ago) by azarah
misc.c, misc.h: Add strndup() instead of relying on glibc's implementation
            (should fix some issues on bsd and darwin).
depend.c, simple-regex.c: Do not define _GNU_SOURCE, but rather use our
                      strndup() from misc.h.
parse.c: Do not define _GNU_SOURCE, but rather use our strndup() from
     misc.h.  Also change all usage of basename() to conform to POSIX,
     and not use the GNU variants.


Revision 960 - Directory Listing
Modified Wed Feb 16 21:19:59 2005 UTC (8 years, 3 months ago) by azarah
depscan.c: Add uid check and quit if user is not root.


Revision 959 - Directory Listing
Modified Wed Feb 16 21:11:00 2005 UTC (8 years, 3 months ago) by azarah
depend.c, depend.h: Change service_type_names declaration in depend.h to
                    extern and move the definition to depend.c to avoid
                    warnings.


Revision 958 - Directory Listing
Modified Wed Feb 16 20:58:36 2005 UTC (8 years, 3 months ago) by azarah
Add README.


Revision 957 - Directory Listing
Modified Wed Feb 16 20:38:20 2005 UTC (8 years, 3 months ago) by azarah
depscan.c: Add delete_var_dirs() to delete volatile directories in svcdir.
           Change 'char *' declarations for create_directory() and
           create_var_dirs() to 'const char*'.
misc.h, misc.c: Add rmtree() function.  Fix ls_dir() not to include '.'
                and '..' in its listing.  Fix segfault in ls_dir() if the
                file list is empty.


Revision 956 - Directory Listing
Modified Wed Feb 16 18:39:29 2005 UTC (8 years, 3 months ago) by azarah
Add Header tags to all source files and Makefile.


Revision 955 - Directory Listing
Modified Wed Feb 16 18:25:42 2005 UTC (8 years, 3 months ago) by azarah
debug.h: perror() set errno to ESPIPE for some reason - restore errno after
         calling perror().
depscan.c: Add code to create svcdir and co if missing.
misc.c: Add missing '\n' to DBG_MSG in mktree().
misc.h: Add a comment about strcatpaths() allocating the memory needed.


Revision 954 - Directory Listing
Modified Wed Feb 16 15:16:55 2005 UTC (8 years, 3 months ago) by azarah
Remove redundent test file.


Revision 953 - Directory Listing
Modified Wed Feb 16 15:15:14 2005 UTC (8 years, 3 months ago) by azarah
.cvsignore


Revision 952 - Directory Listing
Modified Wed Feb 16 15:13:21 2005 UTC (8 years, 3 months ago) by azarah
Initial checkin.


Revision 835 - Directory Listing
Modified Wed Jan 12 04:34:31 2005 UTC (8 years, 4 months ago) by vapier
grammar fixes #77565


Revision 810 - Directory Listing
Modified Thu Dec 23 19:17:37 2004 UTC (8 years, 5 months ago) by vapier
.cvsignore


Revision 809 - Directory Listing
Modified Thu Dec 23 19:17:05 2004 UTC (8 years, 5 months ago) by vapier
merge freebsd fixes


Revision 695 - Directory Listing
Modified Mon Nov 15 16:23:41 2004 UTC (8 years, 6 months ago) by vapier
stop using /etc/conf.d/basic


Revision 595 - Directory Listing
Modified Wed Oct 6 21:12:49 2004 UTC (8 years, 7 months ago) by vapier
beautify it in the Gentoo style and add some comments


Revision 590 - Directory Listing
Modified Wed Oct 6 01:17:27 2004 UTC (8 years, 7 months ago) by vapier
selinux update


Revision 541 - Directory Listing
Modified Mon Aug 23 06:39:42 2004 UTC (8 years, 9 months ago) by vapier
fix copyright lines


Revision 530 - Directory Listing
Modified Mon Aug 2 19:33:50 2004 UTC (8 years, 9 months ago) by agriffis
Fix bug 54275: Don't set INFODIR.  The correct variable used by texinfo is INFOPATH, which is already set in 00basic.  Setting INFODIR is useless, and breaks a NetBSD cross compile from Gentoo


Revision 521 - Directory Listing
Modified Tue Jul 20 03:43:18 2004 UTC (8 years, 10 months ago) by agriffis
Fix bug 38743: strip leading and trailing spaces from variable values in genenviron.awk.  Thanks to Marius Mauch for the patch.


Revision 503 - Directory Listing
Modified Mon May 10 14:55:31 2004 UTC (9 years ago) by agriffis
Fix bug 50434: The new version of start-stop-daemon changes directory to / by default unless --chdir is specified.  Revert this behavior to maintain working directory.  This fixes openvpn startup (probably among other things)


Revision 490 - Directory Listing
Modified Tue May 4 02:32:04 2004 UTC (9 years ago) by agriffis
Resync with debian start-stop-daemon for bug 22686 (start-stop-daemon in baselayout doesn't allow altered nicelevel)


Revision 484 - Directory Listing
Modified Wed Apr 21 17:09:18 2004 UTC (9 years, 1 month ago) by vapier
update copyright years


Revision 483 - Directory Listing
Modified Fri Apr 16 03:50:21 2004 UTC (9 years, 1 month ago) by agriffis
rc-scripts-1.4.9 -- Fix bug 47111 (severe depcache problems) with tons of help from dswhite42 and the rest of the crew in that bug.  Thanks guys!


Revision 474 - Directory Listing
Modified Wed Mar 3 19:55:07 2004 UTC (9 years, 2 months ago) by vapier
gcc 2.x fix #43097


Revision 469 - Directory Listing
Modified Thu Feb 26 17:29:43 2004 UTC (9 years, 2 months ago) by azarah
Update to enable checking of mtimes on rc-scripts, and auto running
depscan.sh if needed.  Also try to run depscan.sh when RC_GOT_DEPTREE_INFO
is not set instead of just erroring.


Revision 464 - Directory Listing
Modified Mon Feb 9 18:40:44 2004 UTC (9 years, 3 months ago) by azarah
Add SELinux modifications to /sbin/runscript.  This allows runscript to
make sure it is running in the right domain.  Patch done by
Chris PeBenito <pebenito@gentoo.org>.


Revision 458 - Directory Listing
Modified Fri Feb 6 19:33:59 2004 UTC (9 years, 3 months ago) by azarah
More livecd fixes


Revision 454 - Directory Listing
Modified Mon Dec 29 01:00:27 2003 UTC (9 years, 4 months ago) by azarah
Update /sbin/depscan.sh, /sbin/env-update.sh, src/awk/cachedepends.awk,
src/awk/gendepends.awk and src/awk/genenviron.awk to use ENVIRON rather
then gawk -v.  Also add some tests to see if we got the environment
variables.


Revision 442 - Directory Listing
Modified Sat Nov 15 15:42:10 2003 UTC (9 years, 6 months ago) by azarah
Add a warning to cachedepends.awk if a rc-script's name ends in
'.sh', bug #33134.  Add better error checking to /sbin/depscan.sh.


Revision 427 - Directory Listing
Modified Sun Oct 26 17:48:23 2003 UTC (9 years, 6 months ago) by azarah
Do not use depinfo_<scriptname>() functions to set rc_<type> variables, bug #24092


Revision 389 - Directory Listing
Modified Mon Jul 28 01:23:46 2003 UTC (9 years, 9 months ago) by azarah
adelie fixes, add better logger support


Revision 376 - Directory Listing
Modified Wed Jul 16 18:27:55 2003 UTC (9 years, 10 months ago) by azarah
more fixes


Revision 373 - Directory Listing
Modified Thu Jul 3 04:23:33 2003 UTC (9 years, 10 months ago) by robbat2
remove lockfile


Revision 372 - Directory Listing
Modified Thu Jul 3 02:13:47 2003 UTC (9 years, 10 months ago) by robbat2
Add frozen lock support


Revision 365 - Directory Listing
Modified Wed May 21 08:00:55 2003 UTC (10 years ago) by azarah
bugfixes


Revision 364 - Directory Listing
Modified Tue May 20 19:28:57 2003 UTC (10 years ago) by azarah
bugfix release


Revision 362 - Directory Listing
Modified Wed May 14 20:30:05 2003 UTC (10 years ago) by azarah
fix net.ppp0 issues for kppp; dependency fixes


Revision 361 - Directory Listing
Modified Mon May 12 22:51:10 2003 UTC (10 years ago) by azarah
More circular depend detection fixes


Revision 360 - Directory Listing
Modified Mon May 12 21:23:05 2003 UTC (10 years ago) by azarah
some more fixes


Revision 359 - Directory Listing
Modified Sun May 11 23:32:47 2003 UTC (10 years ago) by azarah
new release; supporting parallel startup and new dep system with many fixes


Revision 357 - Directory Listing
Modified Wed May 7 22:30:20 2003 UTC (10 years ago) by azarah
cleanup gendepends.awk


Revision 348 - Directory Listing
Modified Wed Apr 9 19:06:34 2003 UTC (10 years, 1 month ago) by azarah
add check to genenviron.awk


Revision 345 - Directory Listing
Modified Sun Apr 6 16:28:27 2003 UTC (10 years, 1 month ago) by azarah
various fixes; moved .c files to src


Revision 330 - Directory Listing
Modified Fri Feb 28 15:45:35 2003 UTC (10 years, 2 months ago) by azarah
many fixes/optimizations


Revision 319 - Directory Listing
Modified Thu Feb 6 02:08:05 2003 UTC (10 years, 3 months ago) by azarah
form fix


Revision 318 - Directory Listing
Modified Thu Feb 6 02:00:01 2003 UTC (10 years, 3 months ago) by azarah
update cachedepends.awk to properly setup environment


Revision 297 - Directory Listing
Modified Mon Jan 6 21:32:44 2003 UTC (10 years, 4 months ago) by azarah
lot of changes; hopeful release of rc-scripts-1.4.3.0


Revision 294 - Directory Listing
Modified Thu Jan 2 22:20:02 2003 UTC (10 years, 4 months ago) by azarah
small fixes and enhancements


Revision 290 - Directory Listing
Modified Wed Dec 25 20:43:00 2002 UTC (10 years, 4 months ago) by azarah
fix stripping all '=' for rc-envupdate.sh; fix rc-envupdate.sh not handeling CONFIG_PROTECT* properly


Revision 287 - Directory Listing
Modified Sat Dec 21 22:16:28 2002 UTC (10 years, 5 months ago) by azarah
fixes


Revision 285 - Directory Listing
Modified Wed Dec 11 20:56:23 2002 UTC (10 years, 5 months ago) by azarah
fix dups in /etc/profile.env


Revision 279 - Directory Listing
Modified Wed Dec 4 00:43:27 2002 UTC (10 years, 5 months ago) by azarah
add profile headers


Revision 271 - Directory Listing
Modified Mon Nov 25 22:24:08 2002 UTC (10 years, 5 months ago) by azarah
import Adelie Cluster stuff


Revision 269 - Directory Listing
Modified Mon Nov 18 19:39:22 2002 UTC (10 years, 6 months ago) by azarah
fix config files; fix awk module on non x86 archs


Revision 268 - Directory Listing
Modified Mon Nov 18 15:15:08 2002 UTC (10 years, 6 months ago) by azarah
add some checks


Revision 266 - Directory Listing
Modified Mon Nov 18 13:07:02 2002 UTC (10 years, 6 months ago) by azarah
change license


Revision 264 - Directory Listing
Modified Mon Nov 18 12:26:20 2002 UTC (10 years, 6 months ago) by azarah
awk version of rc-envupdate.sh


Revision 261 - Directory Listing
Modified Mon Nov 18 09:02:26 2002 UTC (10 years, 6 months ago) by azarah
fix using /usr/bin/find


Revision 260 - Directory Listing
Modified Sun Nov 17 20:13:01 2002 UTC (10 years, 6 months ago) by azarah
add functions.awk


Revision 259 - Directory Listing
Modified Sun Nov 17 19:33:01 2002 UTC (10 years, 6 months ago) by azarah
some sanity checks


Revision 258 - Directory Listing
Added Sun Nov 17 17:11:09 2002 UTC (10 years, 6 months ago) by azarah
new version with super fast depscan.sh


Sticky Revision:
(Current path doesn't exist after revision 2545)

  ViewVC Help
Powered by ViewVC 1.1.13