--- toast 2004/01/29 03:38:25 1.279 +++ toast 2004/02/02 00:14:15 1.280 @@ -3,7 +3,7 @@ ############################################################################## # # # This entire file is toast, a program for installing and managing software. # -# Copyright (C) 2003 Jacques Frechet. # +# Copyright (C) 2003-2003 Jacques Frechet. # # Note that this file contains Version 2 of the GNU General Public License, # # which includes its own copyright notice. # # # @@ -43,7 +43,7 @@ my($myname, $myversion, $mytimestamp, $myauthor) = ($1, $2, $3, $4); $myversion .= "+" if $5; # if this version may contain changes not in RCS my($myurl) = "http://www.toastball.net/toast/"; -my($mycopyright) = "Copyright (C) 2003 Jacques Frechet"; +my($mycopyright) = "Copyright (C) 2003-2004 Jacques Frechet"; my($genby) = "generated by $myname version $myversion [$myurl]"; $myname eq "toast" && $myauthor eq "zaphod" || die; # avoid accidents w/ CVS @@ -2013,6 +2013,8 @@ $defdebug #endif +struct timeval; /* to match the utimes() prototype that SunOS pulls in... */ + #ifdef DEBUG #define debug(fmt, args...) do { fprintf(DEBUG, "$myname: " fmt "\\n", ## args); fflush(DEBUG); } while(0) #else @@ -2171,7 +2173,7 @@ wrap0 int rename(const char *pathname1, const char *pathname2); wrap0 int unlink(const char *pathname); wrap int utime(const char *pathname, void *foo); - wrap int utimes(const char *pathname, void *foo); + wrap int utimes(const char *pathname, struct timeval *tvp); suppress int chown(const char *pathname, int user, int group); suppress int lchown(const char *pathname, int user, int group); suppress int fchown(int fd, int user, int group); @@ -5570,6 +5572,9 @@ Wish list: + - optionally set CPATH, LIBRARY_PATH, LD_RUN_PATH, etc. during build + - add a command to set PATH, MANPATH, INFOPATH, etc. in user's shell + - when building linux, default to using /proc/kconfig.gz if present? - work around lack of getenv(), mkdir(), etc. in microperl...? - "toast upgrade" w/o args should imply --nostoponerror or something - "toast arm" should move armed packages to top of stacking order @@ -5583,6 +5588,8 @@ - share rewriting code between command wrappers and shared library - come up with a better way to deal with gnome (guess dependencies?) - figure out where to go with "toast edit" (or document it as-is) + - let the user give a hash for each explicit URL; verify hashes + - find, download, and verify hashes, PGP signatures, etc. - find a way to rebuild indices for apropos by default - fold archives by URL and/or hash? - zsh completions! @@ -5621,7 +5628,7 @@ =head1 COPYRIGHT -This manual is part of B<toast>. Copyright (C) 2003 Jacques Frechet. +This manual is part of B<toast>. Copyright (C) 2003-2004 Jacques Frechet. B<toast> is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the