summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/CHANGES-20124
-rw-r--r--multimedia/libmp4v2/distinfo4
-rw-r--r--pkgtools/pkg_install/PLIST12
-rw-r--r--security/cyrus-sasl/Makefile4
-rw-r--r--sysutils/checkperms/PLIST3
-rwxr-xr-xtextproc/mdoclint/files/mdoclint56
-rwxr-xr-xtextproc/mdoclint/files/mdoclint.116
7 files changed, 64 insertions, 35 deletions
diff --git a/doc/CHANGES-2012 b/doc/CHANGES-2012
index 469f8a93068..f18c7a1412f 100644
--- a/doc/CHANGES-2012
+++ b/doc/CHANGES-2012
@@ -1,4 +1,4 @@
-$NetBSD: CHANGES-2012,v 1.565 2012/02/22 15:31:05 wiz Exp $
+$NetBSD: CHANGES-2012,v 1.566 2012/02/22 15:31:34 wiz Exp $
Changes to the packages collection and infrastructure in 2012:
@@ -805,4 +805,4 @@ Changes to the packages collection and infrastructure in 2012:
Updated www/firefox36-l10n to 3.6.27 [obache 2012-02-22]
Updated editors/OmegaT to 2.5.1.01 [ryoon 2012-02-22]
Updated security/putty to 0.62 [wiz 2012-02-22]
- Removed security/putty-devel [wiz 2012-02-22]
+ Removed security/putty-devel successor security/putty [wiz 2012-02-22]
diff --git a/multimedia/libmp4v2/distinfo b/multimedia/libmp4v2/distinfo
index 5d5abac24d9..fea0938798b 100644
--- a/multimedia/libmp4v2/distinfo
+++ b/multimedia/libmp4v2/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.7 2012/01/11 15:43:44 hans Exp $
+$NetBSD: distinfo,v 1.8 2012/02/22 15:31:34 wiz Exp $
SHA1 (mpeg4ip-1.6.1.tar.gz) = 2af97fc0da6a5c0bcb7b433c6715967487b80e38
RMD160 (mpeg4ip-1.6.1.tar.gz) = ee8375d9581cccbbf685f730bb36f3866eaf12f7
@@ -15,3 +15,5 @@ SHA1 (patch-ai) = 8815f81cc09bb36944bf33691aaf9060b545c76e
SHA1 (patch-aj) = f0aeab4c17bb8a737a9ae3d4385c9f2989540ea7
SHA1 (patch-ak) = 36da5d4d2824cc8b3ac62e10924058dd651cb2a7
SHA1 (patch-al) = 9ddfdeb35655c739c230d66f20e205b899af0b48
+SHA1 (patch-lib_mp4v2_mp4file__io.cpp) = 52977b7d2fc8a8c3cb5920000cd70048b570eabc
+SHA1 (patch-lib_mp4v2_virtual__io.cpp) = 7542f36520358ee2d2db63f77f5382c1571deba6
diff --git a/pkgtools/pkg_install/PLIST b/pkgtools/pkg_install/PLIST
index beb48418457..cb8b1f27da3 100644
--- a/pkgtools/pkg_install/PLIST
+++ b/pkgtools/pkg_install/PLIST
@@ -1,14 +1,4 @@
-@comment $NetBSD: PLIST,v 1.12 2010/03/19 12:49:53 wiz Exp $
-man/cat1/pkg_add.0
-man/cat1/pkg_admin.0
-man/cat1/pkg_create.0
-man/cat1/pkg_delete.0
-man/cat1/pkg_info.0
-man/cat5/pkg_install.conf.0
-man/cat5/pkg_summary.0
-man/cat7/pkgsrc.0
-man/cat8/audit-packages.0
-man/cat8/download-vulnerability-list.0
+@comment $NetBSD: PLIST,v 1.13 2012/02/22 15:31:34 wiz Exp $
man/man1/pkg_add.1
man/man1/pkg_admin.1
man/man1/pkg_create.1
diff --git a/security/cyrus-sasl/Makefile b/security/cyrus-sasl/Makefile
index 90f7bc922d0..3afbd212bd1 100644
--- a/security/cyrus-sasl/Makefile
+++ b/security/cyrus-sasl/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.60 2012/02/10 15:34:10 wiz Exp $
+# $NetBSD: Makefile,v 1.61 2012/02/22 15:31:34 wiz Exp $
SVR4_PKGNAME= csasl
COMMENT= Simple Authentication and Security Layer
@@ -7,6 +7,8 @@ PKG_DESTDIR_SUPPORT= user-destdir
.include "Makefile.common"
+CPPFLAGS+= -DPIC -fPIC
+
.if exists(/usr/include/ndbm.h) && ${OPSYS} != "Linux"
SASL_DBTYPE?= ndbm
.else
diff --git a/sysutils/checkperms/PLIST b/sysutils/checkperms/PLIST
index f9d7fda8408..13a1ffca1d9 100644
--- a/sysutils/checkperms/PLIST
+++ b/sysutils/checkperms/PLIST
@@ -1,4 +1,3 @@
-@comment $NetBSD: PLIST,v 1.2 2006/11/04 07:47:23 rillig Exp $
+@comment $NetBSD: PLIST,v 1.3 2012/02/22 15:31:34 wiz Exp $
bin/checkperms
-man/cat1/checkperms.0
man/man1/checkperms.1
diff --git a/textproc/mdoclint/files/mdoclint b/textproc/mdoclint/files/mdoclint
index 0e9f5581e47..6b2440c168e 100755
--- a/textproc/mdoclint/files/mdoclint
+++ b/textproc/mdoclint/files/mdoclint
@@ -1,7 +1,7 @@
#!@PERL5@
#
# $OpenBSD: mdoclint,v 1.14 2009/04/13 12:40:05 espie Exp $
-# $NetBSD: mdoclint,v 1.17 2012/01/02 18:01:00 wiz Exp $
+# $NetBSD: mdoclint,v 1.18 2012/02/22 15:31:35 wiz Exp $
#
# Copyright (c) 2001-2012 Thomas Klausner
# All rights reserved.
@@ -42,15 +42,15 @@ use constant {
};
use vars qw(
- $opt_a $opt_D $opt_d $opt_e $opt_F $opt_f $opt_H $opt_h $opt_m
- $opt_n $opt_o $opt_P $opt_p $opt_r $opt_S $opt_s $opt_v $opt_w
+ $opt_A $opt_a $opt_D $opt_d $opt_e $opt_F $opt_f $opt_H $opt_h $opt_m
+ $opt_n $opt_O $opt_o $opt_P $opt_p $opt_r $opt_S $opt_s $opt_v $opt_w
$opt_X $opt_x
);
my $arch=`uname -m`;
chomp($arch);
-my $options="aDdeFfHhmnoPprSsvwXx";
+my $options="AaDdeFfHhmnOoPprSsvwXx";
sub usage
{
@@ -59,6 +59,7 @@ sub usage
print STDERR <<"EOF";
mdoclint: verify man page correctness
usage: mdoclint [-$options] file ...
+ -A warn about missing .An in AUTHORS section
-a warn about SEE ALSO section problems
-D warn about bad casing and archs in .Dt
-d warn about bad date strings (in .Dd only)
@@ -69,6 +70,7 @@ usage: mdoclint [-$options] file ...
-h display this help text
-m warn about man pages that are not in mdoc(7) format
-n warn about .Nd's ending in '.'
+ -O warn about unsorted .It arguments
-o warn about non-empty .Os strings
-P warn about paragraph problems
-p warn about punctuation problems
@@ -181,19 +183,37 @@ sub warning
print STDOUT "$self->{fn}:$extra$self->{ln}: ", join('', @_), "\n";
}
+my $order = " !\"#\$\%&'()*+,-./:;<=>?[\\]^_{|}~".
+ "0123456789".
+ "AaBbCcDdEeFfGgHhIiJjKkLlMmNnOoPpQqRrSsTtUuVvWwXxYyZz";
+
+sub forder {
+ my ($a, $b, $c, $len, $i);
+ $a = $_[0];
+ $b = $_[1];
+ $len = (length($a) < length($b))? length($a) : length($b);
+ for($i = 0; $i<=$len; $i++) {
+ $c = (index($order,substr($a,$i,1)) <=> index($order,substr($b,$i,1)));
+ if($c){ return $c };
+ }
+ return (length($a) <=> length($b));
+}
+
+
sub handle_options
{
getopts($options);
$opt_h and usage();
# default to all warnings if no flag is set
- unless ($opt_a or $opt_D or $opt_d or $opt_e or $opt_f or $opt_H
- or $opt_m or $opt_n or $opt_o or $opt_P or $opt_p or $opt_r
- or $opt_S or $opt_s or $opt_X or $opt_x) {
- $opt_a = $opt_D = $opt_d = $opt_f = $opt_m =
- $opt_n = $opt_o = $opt_P = $opt_p = $opt_r = $opt_S =
+ unless ($opt_A or $opt_a or $opt_D or $opt_d or $opt_e
+ or $opt_f or $opt_H or $opt_m or $opt_n or $opt_O
+ or $opt_o or $opt_P or $opt_p or $opt_r
+ or $opt_S or $opt_s or $opt_X or $opt_x) {
+ $opt_A = $opt_a = $opt_D = $opt_d = $opt_f = $opt_m =
+ $opt_n = $opt_O = $opt_o = $opt_P = $opt_p = $opt_r = $opt_S =
$opt_s = $opt_X = $opt_x = 1;
- $opt_e = 1 if NETBSD;
+ $opt_e = 1 if NETBSD;
}
}
@@ -315,7 +335,7 @@ sub set_section_header
}
if ($s->{lastline} =~ /^\.Pp/o) {
- $s->warning("Paragraph problem: section header after .Pp")
+ $s->warning("Paragraph problem: section header after .Pp")
if $opt_P;
}
@@ -344,12 +364,12 @@ sub process_line
s/\s+$//o;
}
if (/\$OpenBSD\b.*\$/o) {
- $s->{oxrcsidseen} = 1;
+ $s->{oxrcsidseen}++;
# nothing else to do
return "$_\n";
}
if (/[\$]NetBSD\b.*\$/o) {
- $s->{nxrcsidseen} = 1;
+ $s->{nxrcsidseen}++;
# nothing else to do
return "$_\n";
}
@@ -439,7 +459,7 @@ sub process_line
. "`$short{$1}': `$_'") if $opt_X;
}
if (/^\./o and (/Bx (Open)/o or /Bx (Free)/o or /Bx (Net)/o)) {
- $s->warning("`.Bx $1' found -- use $short{$1} instead")
+ $s->warning("`.Bx $1' found -- use $short{$1} instead")
if $opt_X;
}
if (/^\.Os\s+(.+)/o) {
@@ -546,9 +566,15 @@ sub finish
if (NETBSD and not $s->{nxrcsidseen}) {
$s->warning("Missing RCS Id") if $opt_r;
}
+ if (NETBSD and ($s->{nxrcsidseen} > 1)) {
+ $s->warning("RCS Id seen twice") if $opt_r;
+ }
if (OPENBSD and not $s->{oxrcsidseen}) {
$s->warning("Missing RCS Id") if $opt_r;
}
+ if (OPENBSD and ($s->{oxrcsidseen} > 1)) {
+ $s->warning("RCS Id seen twice") if $opt_r;
+ }
if ($s->{lastline} =~ /^\.Pp/o) {
$s->warning("Paragraph problem: .Pp at EOF") if $opt_P;
@@ -587,7 +613,7 @@ sub handle_file
open OUT, ">$_[0].new" or
die "can't open output file `$_[0].new'";
for my $l (@{$parser->{all}}) {
- print OUT $l
+ print OUT $l
}
close OUT;
system("mv -i $_[0].new $_[0]");
diff --git a/textproc/mdoclint/files/mdoclint.1 b/textproc/mdoclint/files/mdoclint.1
index 879ffe8dd0d..b474a230951 100755
--- a/textproc/mdoclint/files/mdoclint.1
+++ b/textproc/mdoclint/files/mdoclint.1
@@ -1,7 +1,7 @@
.\" $OpenBSD: mdoclint.1,v 1.7 2009/04/13 19:06:38 jmc Exp $
-.\" $NetBSD: mdoclint.1,v 1.5 2011/09/26 12:46:29 wiz Exp $
+.\" $NetBSD: mdoclint.1,v 1.6 2012/02/22 15:31:35 wiz Exp $
.\"
-.\" Copyright (c) 2001-2009 Thomas Klausner
+.\" Copyright (c) 2001-2011 Thomas Klausner
.\" All rights reserved.
.\"
.\" Redistribution and use in source and binary forms, with or without
@@ -33,7 +33,7 @@
.Nd man page verifier
.Sh SYNOPSIS
.Nm
-.Op Fl aDdeFfHhmnoPprSsvwXx
+.Op Fl AaDdeFfHhmnOoPprSsvwXx
.Ar
.Sh DESCRIPTION
.Nm
@@ -47,6 +47,12 @@ is assumed (that is, everything except
.Pp
The options are as follows:
.Bl -tag -width xxxx -compact
+.It Fl A
+Warn if the
+.Dq .An
+macro (author) markup is not used in the
+.Sx AUTHORS
+section.
.It Fl a
Warn about some possible problems in the
.Sx SEE ALSO
@@ -91,6 +97,10 @@ format.
.It Fl n
Warn when the .Nd macro's argument ends in a dot, that is
.Sq \&. .
+.It Fl O
+Warn about unsorted
+.Dq .It
+macros.
.It Fl o
Warn when the .Os macro has an argument (it shouldn't have one at
least in the base system, because on