1 2008-04-09 Sebastien Pouliot <sebastien@ximian.com>
3 * gacutil.exe.sources: Use the StrongNameManager.cs file from sn
4 (located in ../security/).
5 * StrongNameManager.cs: Removed. Two copies (sn and corlib) are
8 2008-04-09 Gert Driesen <drieseng@users.sourceforge.net>
10 * driver.cs: Use Mono.Security.StrongNameManager to perform strongname
11 verification. This reduces verbosity of install action and fixes bug
13 * gacutil.exe.sources: Added StrongNameManager.cs.
14 * StrongNameManager.cs: Copied from Mono.Security in corlib.
16 2008-03-14 Paolo Molaro <lupus@ximian.com>
18 * driver.cs: added a bootstrap option to ignore sn failures for now
19 when bootstrapping a build. The option name will periodically change
20 so no one else can use it.
22 2008-03-14 Atsushi Enomoto <atsushi@ximian.com>
24 * driver.cs : temporarily disable r98206 strongname check
25 until the build gets fixed.
27 Thu Mar 13 22:33:36 CET 2008 Paolo Molaro <lupus@ximian.com>
29 * driver.cs: run sn on the assembly to ensure it is strongly named.
31 2007-12-28 Gert Driesen <drieseng@users.sourceforge.net>
33 * driver.cs: Ignore the /nologo option instead of considering it to
34 be part of the assembly (file) name. Modified Uninstall to take ref
35 arguments for number of uninstalled assemblies and number of failures,
36 and bool for indicating whether it's being executed in list mode.
37 Depending on the command, report the number of assemblies that were
38 processed, uninstalled, installed and the number of failures. Updated
39 failure messages for install command to include path of assembly that
40 is being installed. In Uninstall, only increment failure count for a
41 no-match condition and only process first match when executing in list
42 mode. In InstallFromList and UninstallFromList, skip lines containing
43 only whitespace characters. In non-list mode, the uninstall command
44 reports success if there are no matches for the specified assembly
45 name. In list-mode, the uninstall command reports an error if there's
46 no match for at least one of the specified assembly names. The version
47 number of the assembly - that you want to uninstall or for which you
48 want a list of assemblies that are in the GAC - can be partial and
49 will then match the version numbers starting with that text. Removed
50 unused CombinePatchs method.
53 2007-01-21 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
55 * driver.cs: accept absolute *nix paths for library names without
56 getting them confused with options
58 2006-07-24 Alp Toker <alp@atoker.com>
60 * driver.cs: Minor typo fixes in comments and informational output.
62 2006-04-12 Miguel de Icaza <miguel@novell.com>
64 * driver.cs: Delete the target file before copying over, this will
65 ensure that if some running application is using the assembly or
66 any of its datafiles, it does not get corrupted by an install.
68 2005-10-26 Geoff Norton <gnorton@customerdna.com>
70 * driver.cs: Do not match every item with a blank string. Fixes
73 2005-09-10 Miguel de Icaza <miguel@novell.com>
75 * driver.cs: Only symlink if the file that we are symlking to
76 exists. This fixes all the stale symlinks on $prefix/mono/1.0/
77 to config files that do not exist.
79 2005-09-05 Miguel de Icaza <miguel@novell.com>
81 * driver.cs (Uninstall): Add workaround, Directory.GetFiles does
82 not return symlinks inside the directories which makes this break
83 on uninstall (make distcheck on monodoc exposed this).
85 2005-07-01 Carlos Alberto Cortez <calberto.cortez@gmail.com>
87 * driver.cs (Install): Copy the linked resource files
88 for the assembly when installing it.
90 2005-05-20 Ben Maurer <bmaurer@ximian.com>
92 * driver.cs (Main): If the switch argument isn't actually a
93 switch, treat it like a file. Fixes 73405.
95 2005-03-14 Raja R Harinath <rharinath@novell.com>
97 * Makefile (PROGRAM): Make profile-specific during
100 2005-01-18 Raja R Harinath <rharinath@novell.com>
102 * driver.cs (Install): Restore fix from 2004-12-08.
104 2005-01-13 Mike Kestner <mkestner@novell.com>
106 * driver.cs: use relative symlinks for the package dir.
108 2005-01-11 Jackson Harper <jackson@ximian.com>
110 * driver.cs: Make sure the actual assembly file exists when
111 listing assemblies. Some packages don't remove the entire
112 directory so we get existing directories without assemblies in
115 2004-12-08 Raja R Harinath <rharinath@novell.com>
117 * driver.cs (Symlink): Pass additional parameter: the name of the
118 dll being installed. If needed copy that file, not 'oldpath',
119 since 'oldpath' need not be a valid file (esp. on DESTDIR builds).
122 2004-07-28 Jackson Harper <jackson@ximian.com>
124 * driver.cs: Check for and install .mdb (debuger symbol files).
126 2004-07-15 Jackson Harper <jackson@ximian.com>
128 * driver.cs: MONO_GAC_PREFIX not MONO_GAC_PATH.
130 2004-06-15 Jackson Harper <jackson@ximian.com>
132 * driver.cs: Ensure that the -gacdir ends with /lib if it does not
133 appened one. The reason for this is that the runtime expects it,
134 and existing makefiles user -gacdir $(destdir)/$(libdir) so auto
135 appending it without checking would break many things.
137 2004-06-10 Jackson Harper <jackson@ximian.com>
139 * driver.cs: We don't need to check if the canidate is a file in
140 IsSwitch anymore as some other commandline handling will take care
143 2004-06-10 Jackson Harper <jackson@ximian.com>
145 * driver.cs: Don't append gacdir to /root. This breaks
146 everything. Will add another option for doing this if its needed.
148 2004-06-09 Jackson Harper <jackson@ximian.com>
150 * gacutil.exe.sources: Make the new gacutil the default and return
151 seats to their upright position.
153 2004-06-08 Jackson Harper <jackson@ximian.com>
155 * driver.cs: When checking refs don't bother using an AppDomain
156 and load the assembly using the code base so we get the right
157 one. Print out the name of the non strong named assembly if one is
160 2004-06-08 Jackson Harper <jackson@ximian.com>
162 * driver.cs Add install from list and uninstall from list
163 commands. Allow options to come before commands. Add the /silent
164 option so we can shut the tool up. And use returns instead of
165 Environment.Exit where appropriate.
167 2004-06-07 Jackson Harper <jackson@ximian.com>
169 * driver.cs: Add -check_refs option to check if all referenced
170 assemblies are stron named. Fix some pathing issues when create
171 links for packaged. Update todds (C) info.
173 2004-06-05 Miguel de Icaza <miguel@ximian.com>
175 * gacutil.cs: GetAssemblyInfo might return null now, check for
178 Add try/catch to GetAssemblyInfo.
180 2004-05-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
182 * gacutil.cs: when -il, don't stop if one assembly fails to install.
184 2004-05-21 Jackson Harper <jackson@ximian.com>
186 * driver.cs: More fiddling with paths.
188 2004-05-21 Jackson Harper <jackson@ximian.com>
190 * driver.cs: Allow the root and gacdir to both be specified. In
191 this case they are combined.
193 2004-05-21 Jackson Harper <jackson@ximian.com>
195 * driver.cs: Do not allow gacdir and root to be specified at the
196 same time. Cleanup help. Add help for options.
198 2004-05-21 Jackson Harper <jackson@ximian.com>
200 * driver.cs: Add uninstall-specific option. This takes an assembly
201 file and uninstalls a matching named one from the GAC. Fix search
202 string shenanigans when uninstalling.
204 2004-05-21 Jackson Harper <jackson@ximian.com>
206 * driver.cs: This is the new gacutil. Right now it wont get built,
207 after I do a little more testing I will make it the built/installed
210 2004-05-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
212 * gacutil.cs: force = true requested by Miguel.
214 2004-05-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
217 (InstallAssembly): use Array.IndexOf to search for "/f", "-f" or
218 "--force" instead of expecting it in a fixed place.
220 2004-05-14 Todd Berman <tberman@sevenl.net>
222 * gacutil.cs: Remove old file/symlink, thanks urs.
224 2004-05-14 Jackson Harper <jackson@ximian.com>
226 * gacutil.cs: Always install the package files.
228 2004-05-04 Jackson Harper <jackson@ximian.com>
230 * gacutil.cs: We need to overwrite existing libraries if they
231 already exist in the package directory on windows. Also made the
232 code somewhat readable with 80 cols.
234 2004-05-03 Todd Berman <tberman@sevenl.net>
236 * gacutil.cs: potential fix for miguel.
238 2004-05-03 Todd Berman <tberman@sevenl.net>
240 * gacutil.cs: support /package in /u now as well.
242 2004-05-03 Todd Berman <tberman@sevenl.net>
244 * gacutil.cs: Add /package support. Seriously going to rewrite cmdline
245 handling *asap* cause this is just wrong.
247 2004-05-01 Todd Berman <tberman@sevenl.net>
249 * gacutil.cs: copy the config file, not the assembly again.
251 2004-05-01 Todd Berman <tberman@sevenl.net>
253 * gacutil.cs: ack, miguel is right, cmdline handling needs some love.
255 2004-04-30 Todd Berman <tberman@sevenl.net>
257 * gacutil.cs: cleanup help.
259 2004-04-30 Todd Berman <tberman@sevenl.net>
261 * gacutil.cs: remove /prefix, now --root and /root
263 2004-04-30 Todd Berman <tberman@sevenl.net>
265 * gacutil.cs: Change the way of handling the /prefix stuff.
266 Now all gacbased operations will work with /prefix or --root. This
267 *MUST* be at the end of the commandline for it to work.
268 Also note, that in a Makefile changing /i to /u will not work, as the
269 gac uninstalls based on AssemblyName.Name, so forexample:
271 gacutil /i some/path/blah/System.dll --root /usr/lib/somefakegac
275 gacutil /u System --root /usr/lib/somefakegac
279 2004-04-30 Miguel de Icaza <miguel@ximian.com>
281 * gacutil.cs: Rename /prefix with /libdir, Append mono/gac to
284 2004-04-30 Jackson Harper <jackson@ximian.com>
286 * gacutil.cs: Install config files.
288 2004-04-30 Jackson Harper <jackson@ximian.com>
290 * gacutil.cs: Use invariant culture for ToLower. Patch from Urs Muff.
292 2004-04-30 Todd Berman <tberman@sevenl.net>
294 * gacutil.cs: Add a missing .Trim ()
296 2004-04-29 Jackson Harper <jackson@ximian.com>
298 * gacutil.cs: Allow a prefix to be specified. This is only for
299 packaging if you install to some wack prefix it wont work.
301 2004-04-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
303 * gacutil.cs: return non-zero when something fails.
305 2004-04-29 Todd Berman <tberman@sevenl.net>
307 * gacutil.cs: Add assembly name to installation message.
309 2004-04-27 Jackson Harper <jackson@ximian.com>
311 * gacutil.cs: Temporarily disable strong name verification when
314 2004-04-27 Jackson Harper <jackson@ximian.com>
316 * gacutil.cs: Remove hack for removing strong name headers. The
317 strong name type now handles these properly and this screwed up
320 2004-03-25 Jackson Harper <jackson@ximian.com>
322 * gacutil.cs: Add culture to assemblies version string.
324 2003-12-10 Todd Berman <tberman@gentoo.org>
326 * gacutil.cs: Properly detect and fail gracefully on ms.net runtime
330 2003-12-10 Zoltan Varga <vargaz@freemail.hu>
332 * gacutil.cs: Fix binding flags.
334 * gacutil.cs: Applied patch from Todd Berman (tbermann@gentoo.org).
335 Use Environment.GacPath () instead of hardcoding the GAC path.
337 2003-11-16 Sebastien Pouliot <spouliot@videotron.ca>
339 * gacutil.cs: Added strongname validation
340 * Makefile: Added a reference to Mono.Security assembly.
342 2003-11-16 Todd Berman <tberman@gentoo.org>
344 * gacutil.cs: /il functionality
345 * gacutil.cs: /ul functionality
347 * gacutil.cs: help text added.
349 2003-11-15 Todd Berman <tberman@gentoo.org>
351 * gacutil.cs: Added reference counting for installation and deletion.
352 An assembly will have a RefCount of 1 if --force is used.
353 * gacutil.cs: Changed ... + Path.DirSepChar + ... to Path.Combine
354 Thanks to Ben Maurer. Turns out code marked as potentially not
355 needed was not needed, now refcounting with /u assemblyname works
357 * gacutil.cs: Incorporated uac (User Assembly Cache), needs some
358 machine.config security checking as well.
360 2003-11-14 Todd Berman <tberman@gentoo.org>
362 * gacutil.cs: added proper removal of assemblies, now the version=
364 * gacutil.exe: somehow got added, removing, duh.
366 2003-11-12 Todd Berman <tberman@gentoo.org>
372 * gacutil.exe.sources: