[Midnightbsd-cvs] src [11896] modernize
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Tue Jul 17 20:57:18 EDT 2018
Revision: 11896
http://svnweb.midnightbsd.org/src/?rev=11896
Author: laffer1
Date: 2018-07-17 20:57:17 -0400 (Tue, 17 Jul 2018)
Log Message:
-----------
modernize
Modified Paths:
--------------
trunk/games/caesar/Makefile
trunk/games/caesar/caesar.6
trunk/games/caesar/caesar.c
trunk/games/caesar/rot13.sh
Property Changed:
----------------
trunk/games/caesar/caesar.6
trunk/games/caesar/rot13.sh
Modified: trunk/games/caesar/Makefile
===================================================================
--- trunk/games/caesar/Makefile 2018-07-18 00:56:35 UTC (rev 11895)
+++ trunk/games/caesar/Makefile 2018-07-18 00:57:17 UTC (rev 11896)
@@ -1,6 +1,6 @@
+# $MidnightBSD$
# @(#)Makefile 8.1 (Berkeley) 5/31/93
-# $FreeBSD: src/games/caesar/Makefile,v 1.10 2005/05/01 19:34:22 stefanf Exp $
-# $MidnightBSD$
+# $FreeBSD: stable/10/games/caesar/Makefile 203923 2010-02-15 14:32:00Z uqs $
PROG= caesar
DPADD= ${LIBM}
@@ -9,6 +9,4 @@
MAN= caesar.6
MLINKS= caesar.6 rot13.6
-WARNS?= 6
-
.include <bsd.prog.mk>
Modified: trunk/games/caesar/caesar.6
===================================================================
--- trunk/games/caesar/caesar.6 2018-07-18 00:56:35 UTC (rev 11895)
+++ trunk/games/caesar/caesar.6 2018-07-18 00:57:17 UTC (rev 11896)
@@ -1,3 +1,4 @@
+.\" $MidnightBSD$
.\" Copyright (c) 1989, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
.\"
@@ -9,11 +10,7 @@
.\" 2. Redistributions in binary form must reproduce the above copyright
.\" notice, this list of conditions and the following disclaimer in the
.\" documentation and/or other materials provided with the distribution.
-.\" 3. All advertising materials mentioning features or use of this software
-.\" must display the following acknowledgement:
-.\" This product includes software developed by the University of
-.\" California, Berkeley and its contributors.
-.\" 4. Neither the name of the University nor the names of its contributors
+.\" 3. Neither the name of the University nor the names of its contributors
.\" may be used to endorse or promote products derived from this software
.\" without specific prior written permission.
.\"
@@ -30,8 +27,7 @@
.\" SUCH DAMAGE.
.\"
.\" @(#)caesar.6 8.2 (Berkeley) 11/16/93
-.\" $FreeBSD: src/games/caesar/caesar.6,v 1.9 2003/05/16 21:26:39 ru Exp $
-.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/games/caesar/caesar.6 216239 2010-12-06 19:12:51Z uqs $
.\"
.Dd November 16, 1993
.Dt CAESAR 6
@@ -59,13 +55,11 @@
a rotation value of 13 will be used.
.Pp
The frequency (from most common to least) of English letters is as follows:
-.Pp
.Bd -ragged -offset indent
ETAONRISHDLFCMUGPYWBVKXJQZ
.Ed
.Pp
Their frequencies as a percentage are as follows:
-.Pp
.Bd -ragged -offset indent
E(13), T(10.5), A(8.1), O(7.9), N(7.1), R(6.8), I(6.3), S(6.1), H(5.2),
D(3.8), L(3.4), F(2.9), C(2.7), M(2.5), U(2.4), G(2),
Property changes on: trunk/games/caesar/caesar.6
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Modified: trunk/games/caesar/caesar.c
===================================================================
--- trunk/games/caesar/caesar.c 2018-07-18 00:56:35 UTC (rev 11895)
+++ trunk/games/caesar/caesar.c 2018-07-18 00:57:17 UTC (rev 11896)
@@ -1,3 +1,4 @@
+/* $MidnightBSD$ */
/*
* Copyright (c) 1989, 1993
* The Regents of the University of California. All rights reserved.
@@ -18,11 +19,7 @@
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
- * 3. All advertising materials mentioning features or use of this software
- * must display the following acknowledgement:
- * This product includes software developed by the University of
- * California, Berkeley and its contributors.
- * 4. Neither the name of the University nor the names of its contributors
+ * 3. Neither the name of the University nor the names of its contributors
* may be used to endorse or promote products derived from this software
* without specific prior written permission.
*
@@ -51,8 +48,7 @@
#endif /* not lint */
#endif
#include <sys/cdefs.h>
-__MBSDID("$MidnightBSD$");
-__FBSDID("$FreeBSD: src/games/caesar/caesar.c,v 1.14 2005/05/01 19:34:22 stefanf Exp $");
+__FBSDID("$FreeBSD: stable/10/games/caesar/caesar.c 241846 2012-10-22 03:06:53Z eadler $");
#include <errno.h>
#include <math.h>
Modified: trunk/games/caesar/rot13.sh
===================================================================
--- trunk/games/caesar/rot13.sh 2018-07-18 00:56:35 UTC (rev 11895)
+++ trunk/games/caesar/rot13.sh 2018-07-18 00:57:17 UTC (rev 11896)
@@ -11,11 +11,7 @@
# 2. Redistributions in binary form must reproduce the above copyright
# notice, this list of conditions and the following disclaimer in the
# documentation and/or other materials provided with the distribution.
-# 3. All advertising materials mentioning features or use of this software
-# must display the following acknowledgement:
-# This product includes software developed by the University of
-# California, Berkeley and its contributors.
-# 4. Neither the name of the University nor the names of its contributors
+# 3. Neither the name of the University nor the names of its contributors
# may be used to endorse or promote products derived from this software
# without specific prior written permission.
#
@@ -33,6 +29,5 @@
#
# @(#)rot13.sh 8.1 (Berkeley) 5/31/93
# $MidnightBSD$
-#
exec /usr/games/caesar 13 "$@"
Property changes on: trunk/games/caesar/rot13.sh
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
More information about the Midnightbsd-cvs
mailing list