summaryrefslogtreecommitdiffstats
path: root/usr.sbin/mergemaster
Commit message (Collapse)AuthorAgeFilesLines
...
* mdoc(7) police:ru2001-07-051-6/+7
| | | | | | | | | | Use -tag list in the FILES section to work around the bug when .Pa font is not restored to its original value if one of the -hang, -ohang, or -inset lists is used in the FILES section. (The fix for the bug has just been submitted to the GNU Groff maintainers.) Also, fixed the Handbook reference in the SEE ALSO.
* Work around the problem in RELENG_4 where the file doesn't actuallydougb2001-06-201-7/+13
| | | | | | | | | | exist, and therefore mm_install is returning the "fail" value of the test instead of the "success" value for install. This change is a no-op on HEAD, but since the only harm on RELENG_4 ATM is a spurious warning it can follow the usual MFC practice. Submitted by: A cast of thousands :-/
* Add the last of the compatibility mods from openbsd. Neatly, thedougb2001-05-301-9/+14
| | | | | | | | | "install && rm" change fits in with the new FreeBSD default of copy instead of move for install. Changing the order of the deletion of the spurious password files doesn't affect FreeBSD functionality, but it's done in such a way as not to matter. Obtained from: Christian Weisgerber <naddy@mips.inka.de>
* Various fixes, including suggestions from some thoughtful folks, thanks.dougb2001-05-281-18/+47
| | | | | | | | | * Minor umask portability change (Christian Weisgerber <naddy@mips.inka.de>) * Clarify default value of the "run it now" option (bmah) * Make "run it now" $DESTDIR safe (bsd) * Handle installation of hard links for /.profile and /.cshrc properly when the auto-install option is selected * Fix some more whitespace issues
* Clarify handling of /etc/mergemaster.rc and $HOME/.mergemasterrcdougb2001-05-281-1/+6
|
* Be more consistent with the terminology, referring to "temporary anddougb2001-05-281-2/+2
| | | | | | | installed" instead of "old and new". Inspired by the somewhat non-linear PR, which really didn't have a fix, per se. PR: conf/27235 Roelof Osinga <roelof@eboa.com>
* Fix a problem when user selects -a (auto run) but we encounter a filedougb2001-05-281-1/+16
| | | | | | | | | | missing on the system. Instead of passing it by, mm was prompting... bad mm, no cookie! Brought to my attention by the PR, but the fix needed to be tweaked to handle the auto-install option as well. PR: misc/25731 Gilbert Gong <ggong@cal.alumni.berkeley.edu>
* Whitespace only changes to try and fit a little better into 80 columns.dougb2001-05-281-15/+20
|
* mdoc(7) police: normalize .Nd.ru2001-04-181-1/+1
|
* beforeinstall -> SCRIPTS.ru2001-04-071-4/+1
|
* Change NO_MAKEDEV to a finer granularity method:asmodai2001-03-291-1/+1
| | | | | | | | | | NO_MAKEDEV_INSTALL and NO_MAKEDEV_RUN. The former implying the latter. The names imply what they do. The last commit by DES based on a PR defeated the original idea behind NO_MAKEDEV, which was not to run MAKEDEV, but to do the installation of MAKEDEV. This should satisfy both parties on the MAKEDEV challenge. Reflect this in mergemaster, this might later on be decided to be set to NO_MAKEDEV_INSTALL, for now I kept to the old behaviour.
* - Backout botched attempt to introduce MANSECT feature.ru2001-03-261-1/+1
| | | | - MAN[1-9] -> MAN.
* * Add two requested features, source'ing of /etc/mergemaster.rc, anddougb2001-03-052-17/+66
| | | | | | | | | | | | | | asking the user to actually run the recommended commands related to installation of files such as aliases or login.conf. * Return to using grep for CVS $Id comparison. Using ident caused too many problems for people with local CVS/RCS tags in their stuff. Attempt to make portability a little easier to maintain in spite of this change by defining the name of the tag to search for. This is a slightly different change that solves the problem in the PR. PR: bin/24564 Submitted by: Tony Finch <dot@dotat.at>
* Prepare for mdoc(7)NG.ru2000-12-271-4/+3
|
* mdoc(7) police: use the new features of the Nm macro.ru2000-11-201-1/+1
|
* mdoc(7) police: use certified section headers wherever possible.ru2000-11-171-1/+1
|
* Use Fx macro wherever possible.ru2000-11-141-1/+2
|
* * Reduce diffs to RELENG_4 by specifying a full path to sysctldougb2000-11-092-4/+10
| | | | | | | | | | | | | | | * Adjust a little whitespace * Make the distrib-dirs/mtree on DESTDIR conditional on user actually specifying a DESTDIR. This seemed like a safe way to get the right directories and permissions in the installed tree since 'make installworld' does the same thing, but in practice too many people have custom hacks that we should leave unmolested. Still need to find a way to deal with 'install -d' and permissions on nonexistent directories in the middle of the path, but this is at least no worse that it was before. PR: bin/22661
* Reorder one of the new features based on experience. Since the numberdougb2000-11-011-12/+12
| | | | | | | of files auto-installed during an upgrade from a really old system can get quite long, and it's piped to the PAGER already, print that first, then print any of the 4 two-line messages that might apply.
* Add several new features, reorder some code, and continue with thedougb2000-10-302-97/+194
| | | | | | | | | | | | | | | | | | | | | | | | | process of making the script more cross platform friendly. * Add -i option to automatically install files that do not exist on the system already. * Add the ability to specify DESTDIR. * Allow the user to specify scripts to run right before the comparison starts, and when mm is done. This will allow the user to specify customized local behavior, and implement features such as automatically deleting files. * Document the above changes in the man page. * Switch to using 'ident' for the CVS Id comparison, which should help with portability, and makes it faster. * Reorder, and in one case fix some code by doing things in ways that make more sense. * Check to see if the file exists on the system before doing the comparisons. This saves CPU cycles, and streamlines the auto-install process. I used bits and pieces of suggestions and patches from various people, ultimately too numerous to name. Which is not to say that they were not both appreciated, and helpful in achieving the ultimate result.
* Update copyrightdougb2000-10-291-1/+1
|
* More changes that don't modify functionality.dougb2000-10-291-60/+76
| | | | | | | * More whitespace * Change read -p to echo -n/read to help support portability * Genericize an informational message regarding /.cshrc and /.profile for the same reason
* Whitespace only. Make the style of the contributed sections consistent withdougb2000-10-291-133/+134
| | | | the rest of the file. (Read, put it back the way I like it.)
* Almost a year exactly from when I first imported mergemaster at freebsdcon,billf2000-10-261-2/+1
| | | | remove myself as co-maintainer and let Doug handle all the fun.
* Make mergemaster ignore files in /dev if /dev is a devfs.ben2000-08-261-1/+6
| | | | Approved by: Doug Barton <Doug@gorean.org>
* Use new aliases path (/etc/mail/aliases)gshapiro2000-08-131-1/+1
| | | | Approved by: Doug Barton <DougB@gorean.org>
* Be more careful about selecting a PAGER.brian2000-08-091-7/+14
| | | | | | Improve the question asked when the PAGER is invalid. Submitted by: Doug Barton <DougB@gorean.org>
* Update link to Making the World tutorial (now in the handbook)marko2000-08-071-2/+2
|
* Actually accept 'm' as a PAGER query response to mean 'more'.bsd2000-05-121-1/+1
|
* Make mergemaster only take single letters for options as well as loopalfred2000-04-021-114/+167
| | | | | | | | | | | | | | | | asking a question again if given an invalid input instead of assuming what the user wants. /etc is not the place to make assumptions when given invalid input. Reformat some of the more convoluted code into seperate functions instead of being inline using tabs instead of space indents. Allow the user to view merged files they created with sdiff. Allow the user to redisplay the diff between the installed file and the new file again. Time wasted waiting for review: 1 month 2 weeks
* Remove single-space hard sentence breaks. These degrade the qualitysheldonh2000-03-011-23/+46
| | | | | of the typeset output, tend to make diffs harder to read and provide bad examples for new-comers to mdoc.
* Use the new (Hi rwatson!) NO_MAKEDEV when making our temproot.billf2000-02-121-1/+1
| | | | | Submitted by: Doug Barton <Doug@gorean.org> (maintainer) Approved by: you-know-who.
* Allow $PAGER to have arguments.billf2000-02-081-1/+1
| | | | | | Submitted by: brian Reviewed by: Doug Barton <Doug@gorean.org> Approved by: jkh
* ``mergemaster'' was repo-copied to ``mergemaster.sh'' as it's a shell script.chris1999-11-012-686/+1
| | | | | | | Delete the original mergemaster and modify Makefile to install mergemaster.sh. Seen no problem with by: billf No objections by: Doug Barton
* Add IGNORE_MOTD to allow the sysadmin to ignore (likely) differences inbillf1999-10-263-0/+18
| | | | | | the FreeBSD default motd and the system motd Submitted by: author
* Use $FreeBSD$ (instead of the author's $Revision$) to report thebillf1999-10-262-6/+2
| | | | | | version number now that we have it. Reviewed by: author
* freebsd -> FreeBSDbillf1999-10-261-1/+1
|
* Add $FreeBSD$billf1999-10-261-2/+1
| | | | Submitted by: chris
* Co-MAINTAINER this module.billf1999-10-261-0/+1
|
* Add $FreeBSD$billf1999-10-252-0/+2
|
* mergemaster bmake glue.billf1999-10-201-0/+11
|
* Import mergemaster into the tree, a product of freebsdcon.billf1999-10-203-0/+1634
Submitted by: Doug Barton <doug@gorean.org>
OpenPOWER on IntegriCloud