Index: ossp-pkg/rc/00TODO RCS File: /v/ossp/cvs/ossp-pkg/rc/00TODO,v rcsdiff -q -kk '-r1.2' '-r1.3' -u '/v/ossp/cvs/ossp-pkg/rc/00TODO,v' 2>/dev/null --- 00TODO 2002/01/07 10:52:51 1.2 +++ 00TODO 2002/01/08 15:49:02 1.3 @@ -1,8 +1,13 @@ -00TODO: Tasks left to accomplish before the rc utility is complete +00TODO: Tasks left to accomplish before rc is complete Consider - Develop return code and error definitions unique to OpenPKG - Enclose rc.c in its own project and write autoconf logic + Make return code and error definitions unique to OSSP rc. + Enclose rc.c in its own project and write autoconf logic. Must do - Translate rc bourne shell script to ANSI C + Translate rc bourne shell script to ANSI C. + If a variable is defined for which no default exists, warn user (Scholli.) + Avoid a silent failure when giving non-existent run commands (Marcus.) + +Automated environment + Solve problem discussed at OpenPKG eval meeting. Index: ossp-pkg/rc/rc.c RCS File: /v/ossp/cvs/ossp-pkg/rc/rc.c,v rcsdiff -q -kk '-r1.1' '-r1.2' -u '/v/ossp/cvs/ossp-pkg/rc/rc.c,v' 2>/dev/null --- rc.c 2002/01/04 17:14:45 1.1 +++ rc.c 2002/01/08 15:49:02 1.2 @@ -1,11 +1,10 @@ -/* -** OpenPKG rc - Run-Command Handling for OpenPKG -** Copyright (c) 2000-2001 Ralf S. Engelschall -** Copyright (c) 2001-2002 The OpenPKG Project (http://www.openpkg.org/) -** Copyright (c) 2001-2002 Cable & Wireless Deutschland (http://www.cw.com/de/) +/* rc - OSSP Runcommand processor +** Copyright (c) 2002 Cable & Wireless Deutschland GmbH +** Copyright (c) 2002 The OSSP Project +** Copyright (c) 2002 Ralf S. Engelschall ** -** This file is part of OpenPKG, a packaging facility which can be -** found at http://www.openpkg.org/ +** This file is part of OSSP rc, a portable Runcommand processor +** which can be found at http://www.ossp.org/pkg/rc/ ** ** Permission to use, copy, modify, and distribute this software for ** any purpose with or without fee is hereby granted, provided that @@ -25,7 +24,7 @@ ** OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF ** SUCH DAMAGE. ** -** rc.c: run-command processor ANSI C source file +** rc.c: Runcommand processor ANSI C source file */ #include Index: ossp-pkg/rc/rc.h RCS File: /v/ossp/cvs/ossp-pkg/rc/rc.h,v rcsdiff -q -kk '-r1.1' '-r1.2' -u '/v/ossp/cvs/ossp-pkg/rc/rc.h,v' 2>/dev/null --- rc.h 2002/01/04 17:14:45 1.1 +++ rc.h 2002/01/08 15:49:02 1.2 @@ -1,11 +1,10 @@ -/* -** OpenPKG rc - Run-Command Handling for OpenPKG -** Copyright (c) 2000-2001 Ralf S. Engelschall -** Copyright (c) 2001-2002 The OpenPKG Project (http://www.openpkg.org/) -** Copyright (c) 2001-2002 Cable & Wireless Deutschland (http://www.cw.com/de/) +/* rc - OSSP Runcommand processor +** Copyright (c) 2002 Cable & Wireless Deutschland GmbH +** Copyright (c) 2002 The OSSP Project +** Copyright (c) 2002 Ralf S. Engelschall ** -** This file is part of OpenPKG, a packaging facility which can be -** found at http://www.openpkg.org/ +** This file is part of OSSP rc, a portable Runcommand processor +** which can be found at http://www.ossp.org/pkg/rc/ ** ** Permission to use, copy, modify, and distribute this software for ** any purpose with or without fee is hereby granted, provided that @@ -25,11 +24,11 @@ ** OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF ** SUCH DAMAGE. ** -** rc.h: run-command processor ANSI C header file +** rc.h: Runcommand processor ANSI C public header file */ -#ifndef __OPENPKGRC_H__ -#define __OPENPKGRC_H__ +#ifndef __OSSPRC_H__ +#define __OSSPRC_H__ /* compensate for poor standard environments */ #ifndef NULL @@ -44,4 +43,4 @@ #define TRUE (!FALSE) #endif -#endif /* __OPENPKGRC_H__ */ +#endif /* __OSSPRC_H__ */