1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256
|
revision 3.0
apt-move:
* Changed defaults in apt-move.conf to something a bit more
reasonable for the average system.
* Removed checks for installed packages.
* Added support for mirroring the source as well as the binary
packages ('use the source, Luke!')
* Clarified (I think) the license for package.
* Found a situation where the MAXDELETE percentage calculation
would end up dividing by zero, so I added a bypass if that
occurs.
* added -v switch for more verbose rsync output.
install:
* Added install for apt-move.cron script provided by
Greg Norris <haphazard@socket.net>.
* Added checks for installed packages.
* changed so that the manpage that comes with the distribution is
not gzipped until after it is installed in the MANDIR. (so my
patches will work on it as well)
-- Michael Merten <mikemerten@yahoo.com> 1999/08/17 13:55:43 UTC
revision 2.7
apt-move:
* changed uses of install(1) -D to -d and -m
to work with older versions of install(1)
* use install(1) to create destination directory before running rsync.
* changed all functions to silently ignore the .exclude file if
none exists.
install:
* changed uses of install(1) -D to -d and -m
to work with older versions of install(1)
* fixed syntax error in the for loop for obsolete files.
-- Michael Merten <mikemerten@yahoo.com> 1999/08/15 16:55:91 UTC
revision 2.6
apt-move:
* fixed a few more typos in the startup code.
* added new exclude option to print list of files excluded from
the mirror.
* added -b operation, and removed the runmirror script and runsync
link. Also removed their manpages.
* added stop option to kill -b scripts.
install:
* added code to read old config file, if it exists, and
build a new one from the old settings, while saving a backup.
-- Michael Merten <mikemerten@yahoo.com> 1999/08/12 14:09:06
revision 2.5
apt-move:
* found bug where I used the wrong exclude file for the sync
option.
* Fixed bug where I misspelled the include file for the sync
option.
-- Michael Merten <mikemerten@yahoo.com> 1999/08/12 17:20:50
revision 2.4
apt-move:
* Fixed bug (reported by Wim Kerkhoff) where I misstyped the
dpkg --get-selections command in sync funct.
-- Michael Merten <mikemerten@yahoo.com> 1999/08/12 16:59:43
revision 2.3
* Updated all documentation files.
* moved info from README.* files into manpages.
* moved INSTALL file to README file.
* removed CHANGELOG.* files and added changelog file.
apt-move:
* Added creation of temp files using tempfile. Moved them from
/var/tmp to /tmp.
* Added logic to determine current distribution names from a listing
of the remote debian/dists directory obtained by rsync. Removed
DEB* settings from config file.
* Updated usage message.
* Added logic to allow command line switches (-f & -t) instead of
the force and test words.
* Added logic to allow multiple options to be specified on the
command line, with semi-intelligent parsing.
* Added options to directly access the getfiles and domove functions,
and modified the delete and packages functions to refer only to
their respective functions.
* Modified usage function to exit with 1 instead of returning 0.
* Simplified logic in the getfiles, runmirror and runsync functions.
* Changed return code for .kill from 1 to 16.
* Moved the 'remove excluded files' part of runmirror function into
the dodeletes function. Removed --delete option from all rsync
invocations.
* Added execution of dpkg-name to fix package files before moving them.
* moved creation of temp excl file to the makelist function.
* Added excluded files to list of obsolete files before making the
MAXDELETE calculation.
* niced all find and dpkg-scanpackages calls.
* removed nested double quotes from the MAXDELETE case statement.
* removed references to .stop file.
* added runsync function, and sync option.
* modified error message (#2) to apply only to non-us site config.
* added error message (#4) for now mandatory us site config.
* Changed error message (#7) to indicate invalid DIST config.
* added error message (#15) for missing master ls file.
runmirror:
* Added runsync link, and logic for the sync option.
* moved usage message to a function and updated new syntax.
* added logic to read switches -ft and pass them on to apt-move
* changed LOGFILE and MONITOR to /dev/null if not configured.
* changed kill option to stop.
* added manpages for runmirror and runsync.
install:
* added logic to detect existing files and prompt for delete.
* added logic to detect -f switch and force deletes.
* added support for new manpages.
-- Michael Merten <mikemerten@yahoo.com> 1999/08/12 14:32:57
revision 2.2
apt-move:
* Rewrote all mkdirhier function calls to use the /usr/bin/install
program instead.
* Removed the mkdirhier function.
* Removed error code 4 (used by mkdirhier).
runmirror:
* bumped revision to match apt-move.
* changed script name from mirror to runmirror. Suggested by
Oliver Elphick.
* fixed config file test to exit with 1 on error.
* added test and additional logic for LOGFILE and MONITOR settings.
* removed header function (it was only used in one place).
* removed stop option and modified usage message.
install:
* initial version
-- Michael Merten <mikemerten@yahoo.com> 1999/08/10 13:36:24
revision 2.1
apt-move:
* Fixed bug where I tested for '' instead of '.' as the output of
the dirname command when executed for a pathname without a path
(i.e. a base filename). Reported by Wim Kerkhoff.
* Added display of current config settings when printing error messages.
-- Michael Merten <mikemerten@yahoo.com> 1999/08/10 03:56:10
revision 2.0
apt-move:
* Major rewrite of code (so much changed that rcsdiff gave up and
started quoting entire sections)
* Major changes in error detection, handling, and reporting.
* Simplified code in a lot of places.
* Reorganized and added code to verify some of the config options.
* Added code and usage for the force parameter.
* Renamed 'rsync' option to 'mirror'.
* Removed silly comments from several places.
* Removed several unnecessary variables.
* Removed dists loop from all functions... now only supports ONE
dist at a time.
* Simplified slink/non-US code.
* removed makedirs function completely.
* rearranged and simplified runmirror function.
* Added getout and printerr functions.
* added test for the bc package
* removed dodeletes function call from the mirror option.
* bumped revision to 2.0
mirror:
* cleaned up comments and output messages.
* changed rsync option to mirror.
-- Michael Merten <mikemerten@yahoo.com> 1999/08/09 15:11:19
revision 1.4
apt-move:
* moved all configuration to the /etc/apt-move.conf file.
* changed variables NODEL to DELETE, and DOIT to TEST, and reversed
the logic for them. Makes more sense when reading the code.
* completely rewrote the getfiles function. Now, instead of trying
to get every combination of packages and override files, it only
retrieves the ones for the sections you mirror (per config file).
Also now correctly handles non-standard stable/non-US directory.
* completely rewrote the runmirror function. Now can mirror any
portion of the debian mirror site. It will retrieve the files for
every section you have configured in /etc/apt-move.conf.
* added better error checking, error reporting, and .kill/.stop
handling in every function.
* added getout() error function that correctly differentiates between
a manual script .kill and an actual function error.
* completely rewrote the main program logic so that the return code
from every function is checked, and the script will now abort
properly when an error occurs.
* cleaned up code in all sections.
* tested mirror run for unstable/main (this is all I mirror).
Will have to rely on someone else to test the other distros/sections.
mirror:
* moved all config options to the apt-move.conf file.
* changed MIRRORDIR references to LOCALDIR
-- Michael Merten <mikemerten@yahoo.com> 1999/08/08 16:03:59
revision 1.3
apt-move:
* cleaned up code and comments in various places.
* added notation about manpage in the file header comments.
* removed comments about not using '.' in LOCALDIR configuration.
* changed APTCACHE variable name to FILECACHE.
* removed unused APTLISTS variable.
* rewrote all uses of the debian/indices directory to instead use
the debian/.apt-move directory.
* removed apt-get package dependancy.
* rewrote showusage function to mention the manpage.
* forced creation of the .apt-move directory in the getfiles function.
* added ftp site config check and bypass logic to the runmirror and
getfiles functions.
* added safety check to prevent dodeletes and dopackages functions
from working if the master packages and override files don't exist.
* added verbose flag to rsync options for runmirror function.
* added quiet flag to rsync options for getfiles function.
mirror:
* added copyright and license statement.
-- Michael Merten <mikemerten@yahoo.com> 1999/08/08 02:53:16
revision 1.2
apt-move:
* cleaned up code in several places.
* added a mkdirhier function and removed dependancy on xlib6g-dev
package.
* modified rsync function to obey the NODEL config variable.
-- Michael Merten <mikemerten@yahoo.com> 1999/08/07 02:38:57
revision 1.1
apt-move:
Initial revision
mirror:
Initial revision
-- Michael Merten <mikemerten@yahoo.com> 1999/08/07 00:15:01
=============================================================================
|