UPDATE: devel/py-dulwich

2020-05-16 Thread Todd C . Miller
Update py-dulwich to 0.19.16 and make python3 the default flavor.
Passes its tests and verified working with mercurial 5.3.2 and the
latest hg-git from foss.heptapod.net.

We don't have hg-git in ports anymore but that is still the main
consumer of dulwich.  Now that mercurial has moved to python3,
dulwich should as well.

 - todd

Index: Makefile
===
RCS file: /cvs/ports/devel/py-dulwich/Makefile,v
retrieving revision 1.35
diff -u -p -u -r1.35 Makefile
--- Makefile12 Jul 2019 20:45:47 -  1.35
+++ Makefile14 May 2020 17:23:21 -
@@ -2,10 +2,9 @@
 
 COMMENT =  pure Python implementation of Git file formats and 
protocols
 
-MODPY_EGG_VERSION =0.19.3
+MODPY_EGG_VERSION =0.19.16
 DISTNAME = dulwich-${MODPY_EGG_VERSION}
 PKGNAME =  py-${DISTNAME}
-REVISION = 0
 
 CATEGORIES =   devel
 
@@ -20,12 +19,15 @@ MODULES =   lang/python
 MODPY_PI = Yes
 MODPY_SETUPTOOLS = Yes
 
-RUN_DEPENDS =  net/py-geventhttpclient
+FLAVORS =  python3
+FLAVOR =   python3
+
+RUN_DEPENDS =  net/py-geventhttpclient${MODPY_FLAVOR}
 
 TEST_DEPENDS = devel/git,-main \
-   devel/py-fastimport \
-   devel/py-greenlet \
-   devel/py-mock
+   devel/py-fastimport${MODPY_FLAVOR} \
+   devel/py-greenlet${MODPY_FLAVOR} \
+   devel/py-mock${MODPY_FLAVOR}
 
 MAKE_ENV +=LC_CTYPE=en_US.UTF-8
 GIT =  ${LOCALBASE}/bin/git
Index: distinfo
===
RCS file: /cvs/ports/devel/py-dulwich/distinfo,v
retrieving revision 1.18
diff -u -p -u -r1.18 distinfo
--- distinfo25 Dec 2018 12:00:08 -  1.18
+++ distinfo14 May 2020 16:52:13 -
@@ -1,2 +1,2 @@
-SHA256 (dulwich-0.19.3.tar.gz) = DRq2rfXo6bwwzObi+STKBuUCQfsbsXpYX8jZjjwJxKQ=
-SIZE (dulwich-0.19.3.tar.gz) = 345823
+SHA256 (dulwich-0.19.16.tar.gz) = 90VhxEi/tvBMB95zHBGBrkKAAX91mwuwT6V3CqhMqFA=
+SIZE (dulwich-0.19.16.tar.gz) = 375483
Index: pkg/PLIST
===
RCS file: /cvs/ports/devel/py-dulwich/pkg/PLIST,v
retrieving revision 1.11
diff -u -p -u -r1.11 PLIST
--- pkg/PLIST   25 Dec 2018 12:00:08 -  1.11
+++ pkg/PLIST   14 May 2020 17:31:47 -
@@ -10,103 +10,151 @@ lib/python${MODPY_VERSION}/site-packages
 
lib/python${MODPY_VERSION}/site-packages/dulwich-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/requires.txt
 
lib/python${MODPY_VERSION}/site-packages/dulwich-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/top_level.txt
 lib/python${MODPY_VERSION}/site-packages/dulwich/__init__.py
-lib/python${MODPY_VERSION}/site-packages/dulwich/__init__.pyc
+${MODPY_COMMENT}lib/python${MODPY_VERSION}/site-packages/dulwich/${MODPY_PYCACHE}/
+lib/python${MODPY_VERSION}/site-packages/dulwich/${MODPY_PYCACHE}__init__.${MODPY_PYC_MAGIC_TAG}pyc
+lib/python${MODPY_VERSION}/site-packages/dulwich/${MODPY_PYCACHE}archive.${MODPY_PYC_MAGIC_TAG}pyc
+lib/python${MODPY_VERSION}/site-packages/dulwich/${MODPY_PYCACHE}client.${MODPY_PYC_MAGIC_TAG}pyc
+lib/python${MODPY_VERSION}/site-packages/dulwich/${MODPY_PYCACHE}config.${MODPY_PYC_MAGIC_TAG}pyc
+lib/python${MODPY_VERSION}/site-packages/dulwich/${MODPY_PYCACHE}diff_tree.${MODPY_PYC_MAGIC_TAG}pyc
+lib/python${MODPY_VERSION}/site-packages/dulwich/${MODPY_PYCACHE}errors.${MODPY_PYC_MAGIC_TAG}pyc
+lib/python${MODPY_VERSION}/site-packages/dulwich/${MODPY_PYCACHE}fastexport.${MODPY_PYC_MAGIC_TAG}pyc
+lib/python${MODPY_VERSION}/site-packages/dulwich/${MODPY_PYCACHE}file.${MODPY_PYC_MAGIC_TAG}pyc
+lib/python${MODPY_VERSION}/site-packages/dulwich/${MODPY_PYCACHE}greenthreads.${MODPY_PYC_MAGIC_TAG}pyc
+lib/python${MODPY_VERSION}/site-packages/dulwich/${MODPY_PYCACHE}hooks.${MODPY_PYC_MAGIC_TAG}pyc
+lib/python${MODPY_VERSION}/site-packages/dulwich/${MODPY_PYCACHE}ignore.${MODPY_PYC_MAGIC_TAG}pyc
+lib/python${MODPY_VERSION}/site-packages/dulwich/${MODPY_PYCACHE}index.${MODPY_PYC_MAGIC_TAG}pyc
+lib/python${MODPY_VERSION}/site-packages/dulwich/${MODPY_PYCACHE}lfs.${MODPY_PYC_MAGIC_TAG}pyc
+lib/python${MODPY_VERSION}/site-packages/dulwich/${MODPY_PYCACHE}line_ending.${MODPY_PYC_MAGIC_TAG}pyc
+lib/python${MODPY_VERSION}/site-packages/dulwich/${MODPY_PYCACHE}log_utils.${MODPY_PYC_MAGIC_TAG}pyc
+lib/python${MODPY_VERSION}/site-packages/dulwich/${MODPY_PYCACHE}lru_cache.${MODPY_PYC_MAGIC_TAG}pyc
+lib/python${MODPY_VERSION}/site-packages/dulwich/${MODPY_PYCACHE}mailmap.${MODPY_PYC_MAGIC_TAG}pyc
+lib/python${MODPY_VERSION}/site-packages/dulwich/${MODPY_PYCACHE}object_store.${MODPY_PYC_MAGIC_TAG}pyc
+lib/python${MODPY_VERSION}/site-packages/dulwich/${MODPY_PYCACHE}objects.${MODPY_PYC_MAGIC_TAG}pyc
+lib/python${MODPY_VERSION}/site-packages/dulwich/${MODPY_PYCACHE}objectspec.${MODPY_PYC_MAGIC_TAG}pyc

CVS: cvs.openbsd.org: ports

2020-05-14 Thread Todd C . Miller
CVSROOT:/cvs
Module name:ports
Changes by: mill...@cvs.openbsd.org 2020/05/14 10:06:02

Modified files:
textproc   : Makefile 

Log message:
+codespell



CVS: cvs.openbsd.org: ports

2020-05-14 Thread Todd C . Miller
CVSROOT:/cvs
Module name:ports
Changes by: mill...@cvs.openbsd.org 2020/05/14 10:02:09

Log message:
Import codespell, a source code spell checker.
OK kmos@ sthen@

Status:

Vendor Tag: millert
Release Tags:   millert_20200514

N ports/textproc/codespell/Makefile
N ports/textproc/codespell/distinfo
N ports/textproc/codespell/pkg/DESCR
N ports/textproc/codespell/pkg/PLIST

No conflicts created by this import



Re: NEW: textproc/py-codespell

2020-05-14 Thread Todd C . Miller
On Thu, 14 May 2020 10:37:28 -0400, Kurt Mosiejczuk wrote:

> Attached is my counter-proposal. It seems to be just a program that is run,
> not a library, so just have it be textproc/codespell. I also had to add
> some dependencies for it to work properly. They don't list it in setup.py
> or setup.cfg but it needs devel/py-chardet as a RUN_DEPENDS and 
> devel/py-test-cov for a TEST_DEPENDS. One test also depends on it being
> already installed so I made it have a self-dependency.

That's fine, I wasn't sure whether or not it should have a py-
prefix since some python programs seem to use that too.

> Since it's not going to be py-codespell, I switched to 
> MODPY_DEFAULT_VERSION_3 rather than having the FLAVOR.

Makes sense.

Thanks for your help!

 - todd



NEW: textproc/py-codespell

2020-05-14 Thread Todd C . Miller
---
Codespell is a source code spell checker.

Fix common misspellings in text files. It's designed primarily for
checking misspelled words in source code, but it can be used with
other files as well.
---

I've tried to follow some of the existing python ports with respect
to python3.  Let me know if I've goofed anything up :-)

 - todd


py-codespell.tgz
Description: application/tar-gz


NEW: mb2md

2020-01-31 Thread Todd C . Miller
mb2md is a utility to convert mbox mailboxes to Maildir format.
Since there has been talk of changing the default mailbox format
for smtpd, it would be nice to have a conversion program in ports.

I've included patches from debian and created a basic man page from
the documentation in the script itself.  I'm not really interested
in taking the time to make the man page beautiful.  If someone else
is so inclined, more power to them...

 - todd


mb2md.tgz
Description: Binary data


Re: Missing CVEs in quirks

2020-01-31 Thread Todd C . Miller
On Fri, 31 Jan 2020 06:27:46 +0100, Rafael Sadowski wrote:

> The diff contains some forgotten CVE entries in quirks. I went through
> all the January commits and looked for CVE in the commit msg.

No objection from me.

 - todd



CVS: cvs.openbsd.org: ports

2020-01-30 Thread Todd C . Miller
CVSROOT:/cvs
Module name:ports
Changes by: mill...@cvs.openbsd.org 2020/01/30 11:47:11

Modified files:
security/sudo  : Makefile distinfo 

Log message:
Update sudo to 1.8.31:

* Fixed CVE-2019-18634, a buffer overflow when the "pwfeedback"
sudoers option is enabled on systems with uni-directional pipes.

* The "sudoedit_checkdir" option now treats a user-owned directory
as writable, even if it does not have the write bit set at the
time of check.  Symbolic links will no longer be followed by
sudoedit in any user-owned directory.  Bug #912

* Fixed sudoedit on macOS 10.15 and above where the root file system
is mounted read-only.  Bug #913.

* Fixed a crash introduced in sudo 1.8.30 when suspending sudo
at the password prompt.  Bug #914.

* Fixed compilation on systems where the mmap MAP_ANON flag
is not available.  Bug #915.



CVS: cvs.openbsd.org: ports

2019-12-31 Thread Todd C . Miller
CVSROOT:/cvs
Module name:ports
Changes by: mill...@cvs.openbsd.org 2019/12/31 14:54:25

Modified files:
security/sudo  : Makefile distinfo 
security/sudo/pkg: PLIST 

Log message:
Update sudo to 1.8.30:

* Fixed a warning on macOS introduced in sudo 1.8.29 when sudo
attempts to set the open file limit to unlimited.  Bug #904.

* Sudo now closes file descriptors before changing uids.  This
prevents a non-root process from interfering with sudo's ability
to close file descriptors on systems that support the prlimit(2)
system call.

* Sudo now treats an attempt to run "sudo sudoedit" as simply
"sudoedit".  If the sudoers file contains a fully-qualified path
to sudoedit, sudo will now treat it simply as "sudoedit" (with
no path).  Visudo will will now treat a fully-qualified path
to sudoedit as an error.  Bug #871.

* Fixed a bug introduced in sudo 1.8.28 where sudo would warn about
a missing /etc/environment file on AIX and Linux when PAM is not
enabled.  Bug #907

* Fixed a bug on Linux introduced in sudo 1.8.29 that prevented
the askpass program from running due to an unlimited stack size
resource limit.  Bug #908.

* If a group provider plugin has optional arguments, the argument list
passed to the plugin is now NULL terminated as per the documentation.

* The user's time stamp file is now only updated if both authentication
and approval phases succeed.  This is consistent with the behavior
of sudo prior to version 1.8.23.  Bug #910

* The new allow_unknown_runas_id sudoers setting can be used to
enable or disable the use of unknown user or group IDs.  Previously,
sudo would always allow unknown user or group IDs if the sudoers
entry permitted it, including via the "ALL" alias.  As of sudo
1.8.30, the admin must explicitly enable support for unknown IDs.

* The new runas_check_shell sudoers setting can be used to require
that the runas user have a shell listed in the /etc/shells file.
On many systems, users such as "bin", do not have a valid shell
and this flag can be used to prevent commands from being run as
those users.

* Fixed a problem restoring the SELinux tty context during reboot
if mctransd is killed before sudo finishes.  GitHub Issue #17.

* Fixed an intermittent warning on NetBSD when sudo restores the
initial stack size limit.



CVS: cvs.openbsd.org: ports

2019-10-28 Thread Todd C . Miller
CVSROOT:/cvs
Module name:ports
Changes by: mill...@cvs.openbsd.org 2019/10/28 09:02:49

Modified files:
security/sudo  : Makefile distinfo 

Log message:
Update sudo to 1.8.29:

* The cvtsudoers command will now reject non-LDIF input when converting
from LDIF format to sudoers or JSON formats.

* The new log_allowed and log_denied sudoers settings make it possible
to disable logging and auditing of allowed and/or denied commands.

* The umask is now handled differently on systems with PAM or login.conf.
If the umask is explicitly set in sudoers, that value is used regardless
of what PAM or login.conf may specify.  However, if the umask is not
explicitly set in sudoers, PAM or login.conf may now override the default
sudoers umask.  Bug #900.

* For "make install", the sudoers file is no longer checked for syntax
errors when DESTDIR is set.  The default sudoers file includes the
contents of /etc/sudoers.d which may not be readable as non-root.
Bug #902.

* Sudo now sets most resource limits to their maximum value to avoid
problems caused by insufficient resources, such as an inability to
allocate memory or open files and pipes.

* Fixed a regression introduced in sudo 1.8.28 where sudo would refuse
to run if the parent process was not associated with a session.
This was due to sudo passing a session ID of -1 to the plugin.



CVS: cvs.openbsd.org: ports

2019-10-16 Thread Todd C . Miller
CVSROOT:/cvs
Module name:ports
Changes by: mill...@cvs.openbsd.org 2019/10/16 09:09:25

Modified files:
security/sudo  : Makefile distinfo 

Log message:
Sudo 1.8.28p1 fixes a minor regression introduced in 1.8.28.



CVS: cvs.openbsd.org: ports

2019-10-14 Thread Todd C . Miller
CVSROOT:/cvs
Module name:ports
Changes by: mill...@cvs.openbsd.org 2019/10/14 09:17:27

Modified files:
security/sudo  : Makefile distinfo 

Log message:
Update sudo to 1.8.28, fixes CVE-2019-14287
See https://www.sudo.ws/alerts/minus_1_uid.html for details



Re: [FIX] mozilla ComputeRandomAllocationAddress

2019-10-01 Thread Todd C . Miller
On Tue, 01 Oct 2019 07:47:44 -0600, "Theo de Raadt" wrote:

> Still, I'm astounded.  I haven't seen any other program trying to do this,
> and I doubt even mozilla has sufficient braintrust to review the impact
> of this decision on all the platforms they run.  Just weird.

The funny thing is they got the idea from the Windows code in V8.
I don't know if chrome tries to do anything like this on non-Windows
platforms.

 - todd



NEW: devel/py-misaka

2019-07-17 Thread Todd C . Miller
[Now with the attachment...]

I'm working on a port for isso (https://github.com/posativ/isso)
and one of its depencencies is misaka, a CFFI-based binding for
Hoedown, a fast markdown processing library written in C.  It
features a fast HTML renderer and functionality to make custom
renderers (e.g. man pages or LaTeX).  Misaka comes with an embedded
copy of hoedown (which is often how hoedown is used).

It's been a while since I've done a new port and my python skills
are a bit rough.  However, misaka passes all its tests so I have
some confidence that it works.

 - todd


py-misaka.tgz
Description: application/tar-gz


NEW: devel/py-misaka

2019-07-17 Thread Todd C . Miller
I'm working on a port for isso (https://github.com/posativ/isso)
and one of its depencencies is misaka, a CFFI-based binding for
Hoedown, a fast markdown processing library written in C.  It
features a fast HTML renderer and functionality to make custom
renderers (e.g. man pages or LaTeX).  Misaka comes with an embedded
copy of hoedown (which is often how hoedown is used).

It's been a while since I've done a new port and my python skills
are a bit rough.  However, misaka passes all its tests so I have
some confidence that it works.

 - todd

#application/x-tar-gz /tmp/py-misaka.tgz; filename="py-misaka.tgz"



CVS: cvs.openbsd.org: ports

2019-01-12 Thread Todd C . Miller
CVSROOT:/cvs
Module name:ports
Changes by: mill...@cvs.openbsd.org 2019/01/12 19:58:15

Modified files:
security/sudo  : Makefile distinfo 

Log message:
Update to sudo 1.8.27



CVS: cvs.openbsd.org: ports

2018-12-25 Thread Todd C . Miller
CVSROOT:/cvs
Module name:ports
Changes by: mill...@cvs.openbsd.org 2018/12/25 05:00:08

Modified files:
devel/py-dulwich: Makefile distinfo 
devel/py-dulwich/pkg: PLIST 

Log message:
Update py-dulwich to 0.19.3, required by newer versions of hg-git.
OK czarkoff@



CVS: cvs.openbsd.org: ports

2018-11-16 Thread Todd C . Miller
CVSROOT:/cvs
Module name:ports
Changes by: mill...@cvs.openbsd.org 2018/11/16 06:19:23

Modified files:
security/sudo  : Makefile distinfo 
security/sudo/pkg: PLIST 

Log message:
Update to sudo 1.8.26
The PLIST file was missing cvtsudoers(1) which was added in 1.8.23



CVS: cvs.openbsd.org: ports

2018-09-03 Thread Todd C . Miller
CVSROOT:/cvs
Module name:ports
Changes by: mill...@cvs.openbsd.org 2018/09/03 21:01:00

Modified files:
security/sudo  : Makefile distinfo 

Log message:
Update to sudo 1.8.25



CVS: cvs.openbsd.org: ports

2018-08-18 Thread Todd C . Miller
CVSROOT:/cvs
Module name:ports
Changes by: mill...@cvs.openbsd.org 2018/08/18 15:40:09

Modified files:
security/sudo  : Makefile distinfo 

Log message:
Update to sudo 1.8.24



CVS: cvs.openbsd.org: ports

2018-08-01 Thread Todd C . Miller
CVSROOT:/cvs
Module name:ports
Changes by: mill...@cvs.openbsd.org 2018/08/01 09:02:18

Modified files:
net/fping  : Makefile 
net/fping/patches: patch-src_fping_c 

Log message:
Add "id" pledge for setuid() and drop it immediately after the
call to setuid().  OK sthen@



CVS: cvs.openbsd.org: ports

2018-04-30 Thread Todd C . Miller
CVSROOT:/cvs
Module name:ports
Changes by: mill...@cvs.openbsd.org 2018/04/30 14:55:38

Modified files:
security/sudo  : Makefile distinfo 

Log message:
Update to sudo 1.8.23



CVS: cvs.openbsd.org: ports

2018-02-01 Thread Todd C . Miller
CVSROOT:/cvs
Module name:ports
Changes by: mill...@cvs.openbsd.org 2018/02/01 20:55:42

Modified files:
mail/nmh   : Makefile 

Log message:
Remove ac_cv_header_db_h from CONFIGURE_ENV, it has not been used
by nmh's configure script since 2005 when the ndbm detection was
rewritten.  OK bentley@ sthen@



mail/nmh: bogus CONFIGURE_ENV

2018-02-01 Thread Todd C. Miller
There's nothing in the current nmh configure script that sets
ac_cv_header_db_h.  This dates from a time when nmh's ndbm configure
checks chose db.h over ndbm.h.  It hasn't been needed since 2005
when the ndbm detection was rewritten.

 - todd

Index: mail/nmh/Makefile
===
RCS file: /cvs/ports/mail/nmh/Makefile,v
retrieving revision 1.42
diff -u -p -u -r1.42 Makefile
--- mail/nmh/Makefile   30 Nov 2017 11:14:53 -  1.42
+++ mail/nmh/Makefile   1 Feb 2018 18:30:01 -
@@ -29,8 +29,7 @@ RUN_DEPENDS=  mail/p5-MIME-tools \
 FLAVORS=   sasl
 FLAVOR?=
 
-CONFIGURE_ENV= ac_cv_header_db_h=no \
-   CPPFLAGS="-I${LOCALBASE}/include" \
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
 USE_GROFF =Yes
 



CVS: cvs.openbsd.org: ports

2018-01-16 Thread Todd C . Miller
CVSROOT:/cvs
Module name:ports
Changes by: mill...@cvs.openbsd.org 2018/01/16 06:24:06

Modified files:
security/sudo  : Makefile distinfo 
security/sudo/pkg: PLIST 

Log message:
Update to sudo 1.8.22



CVS: cvs.openbsd.org: ports

2017-09-07 Thread Todd C . Miller
CVSROOT:/cvs
Module name:ports
Changes by: mill...@cvs.openbsd.org 2017/09/07 06:03:07

Modified files:
security/sudo  : Makefile distinfo 

Log message:
Update to sudo 1.8.21p2



CVS: cvs.openbsd.org: ports

2017-09-01 Thread Todd C . Miller
CVSROOT:/cvs
Module name:ports
Changes by: mill...@cvs.openbsd.org 2017/09/01 15:36:55

Modified files:
security/sudo  : Makefile distinfo 

Log message:
Update to sudo 1.8.21p1



CVS: cvs.openbsd.org: ports

2017-08-24 Thread Todd C . Miller
CVSROOT:/cvs
Module name:ports
Changes by: mill...@cvs.openbsd.org 2017/08/24 05:48:41

Modified files:
security/sudo  : Makefile distinfo 

Log message:
Update to sudo 1.8.21



Re: clang breakage: memtest86+

2017-08-11 Thread Todd C. Miller
On Fri, 11 Aug 2017 17:29:23 -0400, Jeremie Courreges-Anglas wrote:

> So with this diff memtest86+ doesn't work any more on naddy's x230
> (it did with /usr/bin/gcc).  Using gcc from ports doesn't help.

Have you tried building it without optimization?

 - todd



Re: [PATCH] textproc/ispell segfaults immediately on being run

2017-06-03 Thread Todd C. Miller
On Sat, 03 Jun 2017 10:59:17 +0100, Stuart Henderson wrote:

> I don't know if it's related, but one thing which does stick out is that
> this is happening just after a qsort() and the implementation of this
> was changed recently in libc (17-30 May). CC'ing millert just in case.

Backing out qsort.c all the way to rev 1.13 didn't change the
behavior.  It still crashes using the hash file.

 - todd



CVS: cvs.openbsd.org: ports

2017-05-31 Thread Todd C . Miller
CVSROOT:/cvs
Module name:ports
Changes by: mill...@cvs.openbsd.org 2017/05/31 14:33:44

Modified files:
security/sudo  : Makefile distinfo 

Log message:
update to sudo 1.8.20p2; no real change on OpenBSD



CVS: cvs.openbsd.org: ports

2017-05-30 Thread Todd C . Miller
CVSROOT:/cvs
Module name:ports
Changes by: mill...@cvs.openbsd.org 2017/05/30 13:55:15

Modified files:
security/sudo  : Makefile distinfo 

Log message:
update to sudo 1.8.20p1



CVS: cvs.openbsd.org: ports

2017-05-10 Thread Todd C . Miller
CVSROOT:/cvs
Module name:ports
Changes by: mill...@cvs.openbsd.org 2017/05/10 10:07:54

Modified files:
security/sudo  : Makefile distinfo 

Log message:
update to sudo 1.8.20



Re: textproc/agrep: "fix" or kill?

2017-04-12 Thread Todd C. Miller
We already have the superior TRE version of agrep in ports.  Why
do we need the old agrep?

 - todd



CVS: cvs.openbsd.org: ports

2017-01-14 Thread Todd C . Miller
CVSROOT:/cvs
Module name:ports
Changes by: mill...@cvs.openbsd.org 2017/01/14 09:39:24

Modified files:
security/sudo  : Makefile distinfo 

Log message:
update to sudo 1.8.19p2



CVS: cvs.openbsd.org: ports

2016-12-20 Thread Todd C . Miller
CVSROOT:/cvs
Module name:ports
Changes by: mill...@cvs.openbsd.org 2016/12/20 10:35:18

Modified files:
security/sudo  : Makefile distinfo 

Log message:
Update to sudo 1.8.19p1



CVS: cvs.openbsd.org: ports

2016-12-20 Thread Todd C . Miller
CVSROOT:/cvs
Module name:ports
Changes by: mill...@cvs.openbsd.org 2016/12/20 06:21:59

Modified files:
security/sudo  : Makefile distinfo 

Log message:
Update to sudo 1.8.19



CVS: cvs.openbsd.org: ports

2016-10-26 Thread Todd C . Miller
CVSROOT:/cvs
Module name:ports
Changes by: mill...@cvs.openbsd.org 2016/10/26 15:23:10

Modified files:
security/sudo  : Makefile distinfo 

Log message:
Update to sudo 1.8.18p1



Re: p5-BSD-Random use libc

2016-10-12 Thread Todd C. Miller
On Wed, 12 Oct 2016 17:46:20 +0200, Alexander Bluhm wrote:

> My idea of the p5-BSD-arc4random port in OpenBSD is to keep the API
> of the BSD::arc4random Perl module, but use our libc functions
> internally.  This has been done with BSD::arc4random::arc4random()
> a while ago, but BSD::arc4random::arc4random_bytes() and
> BSD::arc4random::arc4random_uniform() still use a pure Perl
> implementation.  I think that should be replaced with our
> arc4random_buf(3) and arc4random_uniform(3) in libc.

Using the libc interface instead of pure Perl makes the most sense
here.  That way improvements in the libc arc4random(3) propagate
to the Perl version automatically.

OK millert@

 - todd



CVS: cvs.openbsd.org: ports

2016-09-21 Thread Todd C . Miller
CVSROOT:/cvs
Module name:ports
Changes by: mill...@cvs.openbsd.org 2016/09/21 06:31:34

Modified files:
security/sudo  : Makefile distinfo 

Log message:
Update to sudo 1.8.18



CVS: cvs.openbsd.org: ports

2016-06-22 Thread Todd C . Miller
CVSROOT:/cvs
Module name:ports
Changes by: mill...@cvs.openbsd.org 2016/06/22 14:40:13

Modified files:
security/sudo  : Makefile distinfo 

Log message:
Update to sudo 1.8.17p1



CVS: cvs.openbsd.org: ports

2016-06-20 Thread Todd C . Miller
CVSROOT:/cvs
Module name:ports
Changes by: mill...@cvs.openbsd.org 2016/06/20 10:34:26

Modified files:
security/sudo  : Makefile distinfo 

Log message:
Update to sudo 1.8.17



Re: sudo-1.8.16p0 on 2016-06-02 snapshot: Bad system call

2016-06-03 Thread Todd C. Miller
Perhaps your sudo binary is linked with an old libc that used
sys_osendsyslog?

 - todd



Re: [bug] gzip archives created with pkg_create have wrong data sizes

2016-04-25 Thread Todd C. Miller
On Mon, 25 Apr 2016 18:24:53 -0400, dan mclaughlin wrote:

> is it? one of the reasons i brought it up is that in gzip(1) it seems pretty
> clear that it is supposed to be the file size 

The original file size (and thus compression ratio) is not stored
in the gzip archive, it is computed by gzip(1) on the fly by
decompressing the file and keeping track of how many bytes were
read vs. how many would have been written.

 - todd



fix or delete graphics/giftrans?

2016-03-20 Thread Todd C. Miller
graphics/giftrans hasn't worked for a very long time as the path
to the rgb.txt file is wrong.  I suspect most people just use
netpbm or similar.  I fixed the port but ended up not using it.

 - todd

Index: graphics/giftrans/Makefile
===
RCS file: /cvs/ports/graphics/giftrans/Makefile,v
retrieving revision 1.20
diff -u -p -u -r1.20 Makefile
--- graphics/giftrans/Makefile  8 Oct 2015 12:02:03 -   1.20
+++ graphics/giftrans/Makefile  9 Oct 2015 13:41:28 -
@@ -4,6 +4,7 @@ COMMENT=handle GIF89a transparent optio
 
 DISTNAME=  giftrans
 PKGNAME=giftrans-1.12
+REVISION=  0
 CATEGORIES=graphics
 
 # BSD-like, badly worded
@@ -15,7 +16,7 @@ MASTER_SITES= ftp://ftp.lab.kdd.co.jp/in
 NO_TEST=   Yes
 
 do-configure:
-   @sed -i 's,/usr/lib,${X11BASE}/lib,g' ${WRKSRC}/giftrans.c
+   @sed -i 's,/usr/lib,${X11BASE}/share,g' ${WRKSRC}/giftrans.c
 
 do-build:
cd ${WRKSRC} && ${CC} ${CFLAGS} giftrans.c -o giftrans



CVS: cvs.openbsd.org: ports

2016-03-19 Thread Todd C . Miller
CVSROOT:/cvs
Module name:ports
Changes by: mill...@cvs.openbsd.org 2016/03/19 09:06:42

Modified files:
graphics/giftrans: Makefile 

Log message:
Fix path to rgb.txt; OK ajacoutot@



CVS: cvs.openbsd.org: ports

2016-03-19 Thread Todd C . Miller
CVSROOT:/cvs
Module name:ports
Changes by: mill...@cvs.openbsd.org 2016/03/17 16:53:06

Modified files:
security/sudo  : Makefile distinfo 

Log message:
Update to sudo 1.8.16



CVS: cvs.openbsd.org: ports

2015-11-03 Thread Todd C . Miller
CVSROOT:/cvs
Module name:ports
Changes by: mill...@cvs.openbsd.org 2015/11/03 18:52:24

Modified files:
security/sudo  : Makefile distinfo 

Log message:
Update sudo package to 1.8.15



CVS: cvs.openbsd.org: ports

2015-07-23 Thread Todd C. Miller
CVSROOT:/cvs
Module name:ports
Changes by: mill...@cvs.openbsd.org 2015/07/23 14:51:10

Modified files:
security/sudo  : Makefile distinfo 

Log message:
Update to sudo-1.8.14p3



CVS: cvs.openbsd.org: ports

2015-07-17 Thread Todd C. Miller
CVSROOT:/cvs
Module name:ports
Changes by: mill...@cvs.openbsd.org 2015/07/17 09:51:32

Modified files:
security/sudo  : Makefile distinfo 
Removed files:
security/sudo/patches: patch-Makefile_in patch-configure 
   patch-configure_ac 
   patch-examples_Makefile_in 
   patch-lib_util_Makefile_in 
   patch-lib_zlib_Makefile_in 
   patch-plugins_group_file_Makefile_in 
   patch-plugins_sample_Makefile_in 
   patch-plugins_sudoers_Makefile_in 
   patch-plugins_system_group_Makefile_in 
   patch-src_Makefile_in 

Log message:
Update to sudo 1.8.14



CVS: cvs.openbsd.org: ports

2015-07-04 Thread Todd C. Miller
CVSROOT:/cvs
Module name:ports
Changes by: mill...@cvs.openbsd.org 2015/07/04 07:54:49

Modified files:
security/sudo  : Makefile 
security/sudo/pkg: PLIST 

Log message:
Install sudoers sampe mode 0440.  From Tim van der Molen.



CVS: cvs.openbsd.org: ports

2015-06-22 Thread Todd C. Miller
CVSROOT:/cvs
Module name:ports
Changes by: mill...@cvs.openbsd.org 2015/06/22 09:52:16

Log message:
Import sudo-1.8.13, OK jca@

This will replace the ancient version of sudo in base (1.7.2p8).

Status:

Vendor Tag: millert
Release Tags:   millert_2015-Jun-22

N ports/security/sudo/Makefile
N ports/security/sudo/distinfo
N ports/security/sudo/pkg/DESCR
N ports/security/sudo/pkg/PLIST
N ports/security/sudo/pkg/PFRAG.shared
N ports/security/sudo/pkg/MESSAGE
N ports/security/sudo/patches/patch-lib_util_Makefile_in
N ports/security/sudo/patches/patch-lib_zlib_Makefile_in
N ports/security/sudo/patches/patch-plugins_group_file_Makefile_in
N ports/security/sudo/patches/patch-plugins_sample_Makefile_in
N ports/security/sudo/patches/patch-plugins_sudoers_Makefile_in
N ports/security/sudo/patches/patch-plugins_system_group_Makefile_in
N ports/security/sudo/patches/patch-src_Makefile_in
N ports/security/sudo/patches/patch-examples_Makefile_in
N ports/security/sudo/patches/patch-Makefile_in
N ports/security/sudo/patches/patch-configure
N ports/security/sudo/patches/patch-configure_ac
N ports/security/sudo/files/sudoers

No conflicts created by this import



CVS: cvs.openbsd.org: ports

2015-06-22 Thread Todd C. Miller
CVSROOT:/cvs
Module name:ports
Changes by: mill...@cvs.openbsd.org 2015/06/22 20:24:29

Modified files:
security   : Makefile 

Log message:
Add sudo



Re: moving sudo to ports

2015-06-19 Thread Todd C. Miller
On Sat, 20 Jun 2015 02:38:35 +0200, =?utf-8?Q?J=C3=A9r=C3=A9mie_Courr=C3=A8ges-
Anglas?= wrote:

 - the certificate for https://www.sudo.ws can't be validated by ftp(1),
   download falls back to FTP sites.

I'll just make this http:// then.

 - s/Execute/execute/ in COMMENT (I don't think this idiom is stated
   anywhere)

Fixed.

 - I see libtool --tag=disable-static.  What about vax, which doesn't
   have shared libs support?  Should this port have SHARED_ONLY=Yes?

No, it is correct as-is, on Vax it will build everything static.
I have tested it both with and without shared libs.  You can verify
by setting NO_SHARED_LIBS=yes.

 - the ldap FLAVOR misses WANTLIB items:
 
   WANTLIB += crypto lber-2.4 ldap-2.4 sasl2 ssl

Thanks, fixed.

 Can't spot anything else, appears to run ''make build'' fine.
 
  - todd



Re: moving sudo to ports

2015-06-19 Thread Todd C. Miller
Updated port incorporating feedback from jca@.

I no longer have a real vax to test with but I've verified that it
works as expected with NO_SHARED_LIBS=yes

 - todd


sudo.tgz
Description: application/tar-gz


moving sudo to ports

2015-06-18 Thread Todd C. Miller
After discussions with Theo we've agreed to move sudo from base to
ports.  That way people who want sudo can run a modern version, as
opposed to the ancient thing in base.  This also makes it possible
to have an ldap flavor.

I need some help from ports@ to make this happen.  I have the
beginnings of a port but am unusure how to have an /etc/sudoers
file installed if there is not already one present.  Ports that
wrap sudo will also need to add a dependency on the sudo package.

My WIP port of sudo 1.8.13 is:
ftp://ftp.sudo.ws/pub/millert/sudo/sudo-port.shar

 - todd



Re: moving sudo to ports

2015-06-18 Thread Todd C. Miller
With some help from espie@ I've got the sudo port in what I think
is fairly good shape.  I've included a tarball of it below.

The port includes a few patches from the upcoming sudo 1.8.14 release
to make packaging it easier and to support overriding LIBTOOL.

 - todd


sudo.tgz
Description: application/tar-gz


Re: mj2.org

2015-03-13 Thread Todd C. Miller
On Tue, 10 Mar 2015 16:29:41 -, Kevin Chadwick wrote:

 I am looking into using majordomo with opensmtpd and I am unsure
 whether to use majordomo from ports or majordomo from mj2.org.
 
 Any advice?

The OpenBSD list machine uses mj2 but it will take some minor patches
to make it work with modern perl.  Unfortunately, mj2 is effectively
abandonware at ths point.

 - todd



CVS: cvs.openbsd.org: ports

2015-01-12 Thread Todd C. Miller
CVSROOT:/cvs
Module name:ports
Changes by: mill...@cvs.openbsd.org 2015/01/12 06:10:11

Modified files:
shells/tcsh: Makefile 
Added files:
shells/tcsh/patches: patch-ed_refresh_c 

Log message:
Fix a crash when clearing a long line, tcsh bug #412
OK jasper@ jca@



Re: shells/tcsh: fix annoying crash on long lines

2015-01-08 Thread Todd C. Miller
On Tue, 06 Jan 2015 15:02:16 -0700, Todd C. Miller wrote:

 I've just submitted this to the tcsh mantis but since it is a crasher
 that bites me often, I think it makes sense to fix it in the port
 too.
 
 Full details at:
 http://bugs.gw.com/view.php?id=412

The fix has been committed to the tcsh repo, though I don't know
how often they do releases.

 - todd



shells/tcsh: fix annoying crash on long lines

2015-01-06 Thread Todd C. Miller
I've just submitted this to the tcsh mantis but since it is a crasher
that bites me often, I think it makes sense to fix it in the port
too.

Full details at:
http://bugs.gw.com/view.php?id=412

 - todd

Index: shells/tcsh/Makefile
===
RCS file: /cvs/ports/shells/tcsh/Makefile,v
retrieving revision 1.51
diff -u -r1.51 Makefile
--- shells/tcsh/Makefile11 Mar 2013 11:41:29 -  1.51
+++ shells/tcsh/Makefile6 Jan 2015 21:34:44 -
@@ -3,7 +3,7 @@
 COMMENT=   extended C-shell with many useful features
 
 DISTNAME=  tcsh-6.18.01
-REVISION=  0
+REVISION=  1
 CATEGORIES=shells
 HOMEPAGE=  http://www.tcsh.org/
 
Index: shells/tcsh/patches/patch-ed_refresh_c
===
RCS file: shells/tcsh/patches/patch-ed_refresh_c
diff -N shells/tcsh/patches/patch-ed_refresh_c
--- /dev/null   1 Jan 1970 00:00:00 -
+++ shells/tcsh/patches/patch-ed_refresh_c  6 Jan 2015 21:59:46 -
@@ -0,0 +1,16 @@
+$OpenBSD$
+
+Fix out of bounds crash in emacs mode when erasing long lines.
+See http://bugs.gw.com/view.php?id=412
+
+--- ed.refresh.c.orig  Tue Jan  6 14:30:14 2015
 ed.refresh.c   Tue Jan  6 14:26:58 2015
+@@ -1299,7 +1299,7 @@ ClearDisp(void)
+ CursorV = 0;  /* clear the display buffer */
+ CursorH = 0;
+ for (i = 0; i  TermV; i++)
+-  (void) memset(Display[i], 0, TermH * sizeof(Display[0][0]));
++  (void) memset(Display[i], 0, (TermH + 1) * sizeof(Display[0][0]));
+ OldvcV = 0;
+ litlen = 0;
+ }



CVS: cvs.openbsd.org: ports

2014-12-25 Thread Todd C. Miller
CVSROOT:/cvs
Module name:ports
Changes by: mill...@cvs.openbsd.org 2014/12/25 08:53:29

Modified files:
www/p5-Plack   : Makefile 

Log message:
Update RUN_DEPENDS to include the modules needed for FCGI support.
OK maintainer.



CVS: cvs.openbsd.org: ports

2014-12-19 Thread Todd C. Miller
CVSROOT:/cvs
Module name:ports
Changes by: mill...@cvs.openbsd.org 2014/12/19 09:30:25

Modified files:
devel/p5-Module-Build-Tiny: Makefile distinfo 

Log message:
Update to Module-Build-Tiny-0.039; OK afresh1@



CVS: cvs.openbsd.org: ports

2014-12-19 Thread Todd C. Miller
CVSROOT:/cvs
Module name:ports
Changes by: mill...@cvs.openbsd.org 2014/12/19 10:05:05

ports/devel/p5-File-pushd/pkg

Update of /cvs/ports/devel/p5-File-pushd/pkg
In directory cvs.openbsd.org:/tmp/cvs-serv17421/p5-File-pushd/pkg

Log Message:
Directory /cvs/ports/devel/p5-File-pushd/pkg added to the repository



CVS: cvs.openbsd.org: ports

2014-12-19 Thread Todd C. Miller
CVSROOT:/cvs
Module name:ports
Changes by: mill...@cvs.openbsd.org 2014/12/19 10:04:58

ports/devel/p5-File-pushd

Update of /cvs/ports/devel/p5-File-pushd
In directory cvs.openbsd.org:/tmp/cvs-serv11915/p5-File-pushd

Log Message:
Directory /cvs/ports/devel/p5-File-pushd added to the repository



CVS: cvs.openbsd.org: ports

2014-12-19 Thread Todd C. Miller
CVSROOT:/cvs
Module name:ports
Changes by: mill...@cvs.openbsd.org 2014/12/19 10:07:46

Added files:
devel/p5-File-pushd: Makefile distinfo 
devel/p5-File-pushd/pkg: DESCR PLIST 

Log message:
File::pushd does a temporary chdir that is easily and automatically
reverted, similar to pushd in some Unix command shells.
OK benoit@ landry@ sthen@



CVS: cvs.openbsd.org: ports

2014-12-19 Thread Todd C. Miller
CVSROOT:/cvs
Module name:ports
Changes by: mill...@cvs.openbsd.org 2014/12/19 10:08:15

ports/www/p5-CGI-Compile

Update of /cvs/ports/www/p5-CGI-Compile
In directory cvs.openbsd.org:/tmp/cvs-serv28360/p5-CGI-Compile

Log Message:
Directory /cvs/ports/www/p5-CGI-Compile added to the repository



CVS: cvs.openbsd.org: ports

2014-12-19 Thread Todd C. Miller
CVSROOT:/cvs
Module name:ports
Changes by: mill...@cvs.openbsd.org 2014/12/19 10:08:27

ports/www/p5-CGI-Compile/pkg

Update of /cvs/ports/www/p5-CGI-Compile/pkg
In directory cvs.openbsd.org:/tmp/cvs-serv28738/p5-CGI-Compile/pkg

Log Message:
Directory /cvs/ports/www/p5-CGI-Compile/pkg added to the repository



CVS: cvs.openbsd.org: ports

2014-12-19 Thread Todd C. Miller
CVSROOT:/cvs
Module name:ports
Changes by: mill...@cvs.openbsd.org 2014/12/19 10:10:58

Added files:
www/p5-CGI-Compile: Makefile distinfo 
www/p5-CGI-Compile/pkg: DESCR PLIST 

Log message:
CGI::Compile is an utility to compile CGI scripts into a code reference.
OK landry@ sthen@



p5-Plack: update RUN_DEPENDS for FCGI

2014-12-19 Thread Todd C. Miller
This updates RUN_DEPENDS to include modules needed for FCGI support.
I bumped the REVISION but if that's not right please let me know.

Comments or OKs?

 - todd

Index: www/p5-Plack/Makefile
===
RCS file: /cvs/ports/www/p5-Plack/Makefile,v
retrieving revision 1.6
diff -u -r1.6 Makefile
--- www/p5-Plack/Makefile   10 Sep 2014 06:35:19 -  1.6
+++ www/p5-Plack/Makefile   19 Dec 2014 17:12:21 -
@@ -3,7 +3,7 @@
 COMMENT =  interface between perl web frameworks and web servers
 
 MODULES =  cpan
-REVISION = 1
+REVISION = 2
 DISTNAME = Plack-0.9980
 CATEGORIES =   www
 MAINTAINER =   Abel Abraham Camarillo Ojeda acam...@verlet.org
@@ -14,14 +14,18 @@
 BUILD_DEPENDS =${RUN_DEPENDS}
 RUN_DEPENDS =  devel/p5-Devel-StackTrace=1.23 \
devel/p5-Devel-StackTrace-AsHTML=0.11 \
+   devel/p5-File-pushd \
devel/p5-File-ShareDir=1.00 \
devel/p5-Hash-MultiValue=0.05 \
devel/p5-Test-Requires \
devel/p5-Try-Tiny \
net/p5-Test-TCP=0.11 \
sysutils/p5-Filesys-Notify-Simple \
+   www/fcgi \
www/p5-libwww=5.814 \
www/p5-libapreq \
+   www/p5-CGI-Compile \
+   www/p5-FCGI-ProcManager \
www/p5-HTTP-Body=1.06 \
www/p5-URI=1.36
 



NEW: www/p5-FCGI

2014-12-18 Thread Todd C. Miller
I was surprised to find that we don't already have p5-FCGI in ports.
It is required to run p5-Plack in FCGI mode.

Any comments on OKs?  I'd like to have all the dependencies for
p5-Plack in FCGI mode available.

 - todd


p5-FCGI.tgz
Description: application/tar-gz


Re: NEW: www/p5-FCGI

2014-12-18 Thread Todd C. Miller
On Thu, 18 Dec 2014 18:43:42 +0100, Antoine Jacoutot wrote:

 Wouldn't this warrant a SHARED_ONLY=Yes and a plists merge?

Updated package that uses SHARED_ONLY=Yes and gets rid of PFRAG.shared.

 - todd


p5-FCGI.tgz
Description: application/tar-gz


Re: NEW: www/p5-FCGI

2014-12-18 Thread Todd C. Miller
On Thu, 18 Dec 2014 18:01:21 +, Stuart Henderson wrote:

 Is this different to what's in www/fcgi?

Yes, it is different from the fastcgi.com stuff.

 - todd



Re: NEW: www/p5-FCGI

2014-12-18 Thread Todd C. Miller
On Thu, 18 Dec 2014 18:01:21 +, Stuart Henderson wrote:

 Is this different to what's in www/fcgi?

It looks like the file name will conflict with what is in www/fcgi.
Since plack seems to work OK with www/fcgi you can just ignore this.

 - todd



UPDATE: devel/p5-Module-Build-Tiny 0.039

2014-12-18 Thread Todd C. Miller
I need a newer version of p5-Module-Build-Tiny for the www/p5-CGI-Compile
port I am about to submit.

 - todd

Index: devel/p5-Module-Build-Tiny/Makefile
===
RCS file: /cvs/ports/devel/p5-Module-Build-Tiny/Makefile,v
retrieving revision 1.2
diff -u -r1.2 Makefile
--- devel/p5-Module-Build-Tiny/Makefile 27 Apr 2014 09:54:37 -  1.2
+++ devel/p5-Module-Build-Tiny/Makefile 18 Dec 2014 23:37:48 -
@@ -2,8 +2,7 @@
 
 COMMENT =  tiny replacement for Module::Build
 
-DISTNAME = Module-Build-Tiny-0.035
-REVISION = 0
+DISTNAME = Module-Build-Tiny-0.039
 CATEGORIES =   devel
 
 MAINTAINER =   Andrew Fresh afre...@openbsd.org
Index: devel/p5-Module-Build-Tiny/distinfo
===
RCS file: /cvs/ports/devel/p5-Module-Build-Tiny/distinfo,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 distinfo
--- devel/p5-Module-Build-Tiny/distinfo 26 Apr 2014 22:13:12 -  1.1.1.1
+++ devel/p5-Module-Build-Tiny/distinfo 18 Dec 2014 23:38:00 -
@@ -1,2 +1,2 @@
-SHA256 (Module-Build-Tiny-0.035.tar.gz) = 
UAHGLMW9iH7Ak3nxtC1O0+iq1u6+HdT8zwIDqSklx9c=
-SIZE (Module-Build-Tiny-0.035.tar.gz) = 20312
+SHA256 (Module-Build-Tiny-0.039.tar.gz) = 
fVgP9qzgy+VVvza4bcjqIyWBUwy+quoJvMtXtVeX8Rw=
+SIZE (Module-Build-Tiny-0.039.tar.gz) = 20663



NEW: devel/p5-File-pushd

2014-12-18 Thread Todd C. Miller
p5-File-pushd is required to run plackup in fastcgi mode.  I posted
an older version of it a few months ago.

Comments or OKs?

 - todd


p5-File-pushd.tgz
Description: application/tar-gz


NEW: www/p5-CGI-Compile

2014-12-18 Thread Todd C. Miller
p5-CGI-Compile is required to run plackup in fastcgi mode.  I posted
an older version of this a few months ago.  This one requires the
devel/p5-Module-Build-Tiny update I sent out so I'll wait until
that was in to commit it.

Any comments on it?

 - todd


p5-CGI-Compile.tgz
Description: application/tar-gz


CVS: cvs.openbsd.org: ports

2014-11-06 Thread Todd C. Miller
CVSROOT:/cvs
Module name:ports
Changes by: mill...@cvs.openbsd.org 2014/11/06 19:27:09

Modified files:
misc/py-imdb   : Makefile distinfo 
misc/py-imdb/patches: patch-setup_py 
misc/py-imdb/pkg: PLIST 

Log message:
Update py-imdb to version 5.0 which works with imdb.com once again.
OK sthen@



update misc/py-imdb to 5.0

2014-11-04 Thread Todd C. Miller
The existing version no longer works due to imdb changes.

 - todd

Index: misc/py-imdb/Makefile
===
RCS file: /home/cvs/openbsd/ports/misc/py-imdb/Makefile,v
retrieving revision 1.24
diff -u -r1.24 Makefile
--- misc/py-imdb/Makefile   11 Mar 2013 11:23:58 -  1.24
+++ misc/py-imdb/Makefile   4 Nov 2014 13:06:18 -
@@ -2,10 +2,9 @@
 
 COMMENT =  python package to retrieve data of the IMDb movie database
 
-MODPY_EGG_VERSION = 4.6
+MODPY_EGG_VERSION = 5.0
 DISTNAME = IMDbPY-${MODPY_EGG_VERSION}
 PKGNAME =  py-imdb-${MODPY_EGG_VERSION}
-REVISION = 2
 CATEGORIES =   misc devel
 
 HOMEPAGE = http://imdbpy.sourceforge.net/
Index: misc/py-imdb/distinfo
===
RCS file: /home/cvs/openbsd/ports/misc/py-imdb/distinfo,v
retrieving revision 1.13
diff -u -r1.13 distinfo
--- misc/py-imdb/distinfo   17 Sep 2010 13:25:00 -  1.13
+++ misc/py-imdb/distinfo   4 Nov 2014 13:06:58 -
@@ -1,5 +1,2 @@
-MD5 (IMDbPY-4.6.tar.gz) = h21M0EH6I2M+NjfCK/lWIg==
-RMD160 (IMDbPY-4.6.tar.gz) = 1d77NVbvfMCYiArRCngJVWWIwbg=
-SHA1 (IMDbPY-4.6.tar.gz) = asUsmPqG1aRXlH3I4w/t9eIY/6o=
-SHA256 (IMDbPY-4.6.tar.gz) = XiKHbPIr+ZNGVPQizznZjPc2z0txt3cuK+DBfhIlrY0=
-SIZE (IMDbPY-4.6.tar.gz) = 295677
+SHA256 (IMDbPY-5.0.tar.gz) = MiSoiWhHzduNBJpYeFLGbw8z82yJMRrpqJ/4ftUfwkM=
+SIZE (IMDbPY-5.0.tar.gz) = 367238
Index: misc/py-imdb/patches/patch-setup_py
===
RCS file: /home/cvs/openbsd/ports/misc/py-imdb/patches/patch-setup_py,v
retrieving revision 1.5
diff -u -r1.5 patch-setup_py
--- misc/py-imdb/patches/patch-setup_py 17 Sep 2010 13:25:00 -  1.5
+++ misc/py-imdb/patches/patch-setup_py 4 Nov 2014 13:11:33 -
@@ -1,15 +1,7 @@
 $OpenBSD: patch-setup_py,v 1.5 2010/09/17 13:25:00 millert Exp $
 setup.py.orig  Sat Jun 19 13:47:49 2010
-+++ setup.py   Thu Sep 16 16:07:17 2010
-@@ -2,6 +2,7 @@
- 
- import os
- import sys
-+import re
- import ez_setup
- ez_setup.use_setuptools()
- 
-@@ -70,7 +71,7 @@ scripts = ['./bin/get_first_movie.py',
+--- setup.py.orig  Fri May  2 14:42:07 2014
 setup.py   Tue Nov  4 06:11:26 2014
+@@ -71,7 +71,7 @@ scripts = ['./bin/get_first_movie.py',
  
  # XXX: I'm not sure that 'etc' is a good idea.  Making it an absolute
  #  path seems a recipe for a disaster (with bdist_egg, at least).
@@ -18,7 +10,7 @@
  
  
  # Defining these 'features', it's possible to run commands like:
-@@ -129,7 +130,7 @@ params = {
+@@ -130,7 +130,7 @@ params = {
  'url': home_page,
  'download_url': dwnl_url,
  # Scripts.
@@ -27,25 +19,3 @@
  # Documentation files.
  'data_files': data_files,
  # C extensions.
-@@ -222,17 +223,17 @@ try:
- languages = runRebuildmo()
- else:
- languages = []
--if languages:
--data_files.append(('imdb/locale', ['imdb/locale/imdbpy.pot']))
-+#if languages:
-+#data_files.append(('share/locale', ['imdb/locale/imdbpy.pot']))
- for lang in languages:
- files_found = setuptools.findall('imdb/locale/%s' % lang)
- if not files_found:
- continue
- base_dir = os.path.dirname(files_found[0])
--data_files.append(('imdb/locale', ['imdb/locale/imdbpy-%s.po' % 
lang]))
-+#data_files.append(('share/locale', ['imdb/locale/imdbpy-%s.po' % 
lang]))
- if not base_dir:
- continue
--data_files.append((base_dir, files_found))
-+data_files.append((re.sub('^imdb', 'share', base_dir), files_found))
- setuptools.setup(**params)
- except SystemExit:
- print ERR_MSG
Index: misc/py-imdb/pkg/PLIST
===
RCS file: /home/cvs/openbsd/ports/misc/py-imdb/pkg/PLIST,v
retrieving revision 1.11
diff -u -r1.11 PLIST
--- misc/py-imdb/pkg/PLIST  17 Sep 2010 13:25:00 -  1.11
+++ misc/py-imdb/pkg/PLIST  4 Nov 2014 13:11:59 -
@@ -4,7 +4,6 @@
 
lib/python${MODPY_VERSION}/site-packages/IMDbPY-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/PKG-INFO
 
lib/python${MODPY_VERSION}/site-packages/IMDbPY-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/SOURCES.txt
 
lib/python${MODPY_VERSION}/site-packages/IMDbPY-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/dependency_links.txt
-lib/python${MODPY_VERSION}/site-packages/IMDbPY-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/not-zip-safe
 
lib/python${MODPY_VERSION}/site-packages/IMDbPY-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/requires.txt
 
lib/python${MODPY_VERSION}/site-packages/IMDbPY-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/top_level.txt
 lib/python${MODPY_VERSION}/site-packages/imdb/
@@ -24,19 +23,52 @@
 lib/python${MODPY_VERSION}/site-packages/imdb/_exceptions.pyc
 lib/python${MODPY_VERSION}/site-packages/imdb/_logging.py
 

NEW: www/p5-CGI-Compile

2014-09-02 Thread Todd C. Miller
p5-CGI-Compile is required to run plackup in fastcgi mode.
I use plackup in fastcgi mode to run bugzilla via nginx.
Presumably it could be used with reyk's httpd as well.

Please CC me in replies as I am not subscribed to ports@

 - todd



p5-CGI-Compile.tar.gz
Description: application/tar-gz


NEW: devel/p5-File-pushd

2014-09-02 Thread Todd C. Miller
p5-File-pushd is required to run plackup in fastcgi mode.
I use plackup in fastcgi mode to run bugzilla via nginx.
Presumably it could be used with reyk's httpd as well.

Please CC me in replies as I am not subscribed to ports@

 - todd



p5-File-pushd.tar.gz
Description: application/tar-gz


CVS: cvs.openbsd.org: ports

2014-08-21 Thread Todd C. Miller
CVSROOT:/cvs
Module name:ports
Changes by: mill...@cvs.openbsd.org 2014/08/21 16:31:49

Modified files:
geo/openbsd-developers: Makefile 
geo/openbsd-developers/files: OpenBSD 

Log message:
Update my location since I've moved.



missing p5-CGI-Compile and p5-File-pushd ports?

2014-03-18 Thread Todd C. Miller
In attempting to get Bugzilla to work with Plack (for running under
nginx) I've run into some issues with the p5-Plack port.

1) p5-Plack uses CGI::Compile but there does not appear to be a
   p5-CGI-Compile port.

2) CGI::Compile needs File::Pushd for which we are also missing a
   port.

3) p5-Plack depends on p5-FCGI-ProcManager but this is not
   listed as a dependency.

It's possible that no one's tried to use Plack in FCGI mode before.
I'm probably going to end up using it in standlone server mode since
due issues with FCGI.

I have simple p5-CGI-Compile and p5-File-pushd ports which I can
send if no one else has them in the pipeline.

Please CC me on replies as I am not subscribed to ports@

 - todd



Re: pkg update issues: cups-filters libraries

2013-07-17 Thread Todd C. Miller
On Wed, 17 Jul 2013 12:32:31 +0100, Stuart Henderson wrote:

 [ CC'ing mirrors-discuss; any mirror operators who have plenty of disk
 space (especially second-levels), it would be helpful to switch to using
 --delay-updates in your rsync lines. It won't fix all occurrences of this,
 but should significantly reduce them. ]

I've added --delay-updates to the rsync script used by ftp.usa.openbsd.org.

 - todd



CVS: cvs.openbsd.org: ports

2011-12-14 Thread Todd C. Miller
CVSROOT:/cvs
Module name:ports
Changes by: mill...@cvs.openbsd.org 2011/12/14 07:14:25

Log message:
p5-PostScript-MailLabels port

Status:

Vendor Tag: millert
Release Tags:   millert_2011_Dec_14

N ports/print/p5-PostScript-MailLabels/Makefile
N ports/print/p5-PostScript-MailLabels/distinfo
N ports/print/p5-PostScript-MailLabels/pkg/DESCR
N ports/print/p5-PostScript-MailLabels/pkg/PLIST

No conflicts created by this import



NEW: p5-PostScript-MailLabels 2.30

2011-12-13 Thread Todd C. Miller
PostScript-MailLabels contains modules for creating PostScript files
of mailing address labels, to be printed on standard adhesive-backed
mailing label stock. Flexible enough to tackle other printing tasks,
basically anything requiring a set fields be printed on a regular
grid. Also creates PostScript code for calibrating and testing
mailing label printing.

I use this to print labels for xmas cards...

 - todd


p5-PostScript-MailLabels.shar
Description: Unix shell archive


NEW: p5-PostScript-MailLabels 2.30

2011-12-13 Thread Todd C. Miller
PostScript-MailLabels contains modules for creating PostScript files
of mailing address labels, to be printed on standard adhesive-backed
mailing label stock. Flexible enough to tackle other printing tasks,
basically anything requiring a set fields be printed on a regular
grid. Also creates PostScript code for calibrating and testing
mailing label printing.

I use this to print labels for xmas cards...

 - todd


p5-PostScript-MailLabels.shar
Description: Unix shell archive


Re: Update: www/mongrel2 1.5 - 1.7.5

2011-07-01 Thread Todd C. Miller
I've enabled ALL_STATE in src/lib/libc/time/private.h

 - todd

On Thu, 30 Jun 2011 16:44:35 PDT, Jeremy Evans wrote:

 On 06/30 04:48, Ted Unangst wrote:
  On Thu, Jun 30, 2011, Jeremy Evans wrote:
  
   Regress tests have one failure on both amd64 and i386, a segfault in a
   gmtime call:
   
   Not sure if that's a bug in the test code or a bug in our gmtime
   implementation, though.  Simple testing with a ruby application using
   rack-mongrel2 shows no errors.
  
  Ah, this shit again.  See history for libc/time/localtime.c.  I fixed
  exactly this bug (guess how I found it :)), but it got lost in the
  timezone update.  They appear to have worked this file over harder than
  I did to avoid stack data, but they made it optional and not enabled by
  default. Maybe the patch below is all that's needed?
 
 With this patch, all regress tests pass.  Thanks for the quick feedback.
 
 Jeremy
 
  
  Index: localtime.c
  ===
  RCS file: /home/tedu/cvs/src/lib/libc/time/localtime.c,v
  retrieving revision 1.37
  diff -u -r1.37 localtime.c
  --- localtime.c 25 Apr 2011 13:27:27 -  1.37
  +++ localtime.c 30 Jun 2011 20:45:03 -
  @@ -17,6 +17,8 @@
   #include float.h /* for FLT_MAX and DBL_MAX */
   #include thread_private.h
   
  +#define ALL_STATE
  +
   #ifndef TZ_ABBR_MAX_LEN
   #define TZ_ABBR_MAX_LEN16
   #endif /* !defined TZ_ABBR_MAX_LEN */
 



[NEW] libdiscid - musicbrainz disc ID library

2011-04-22 Thread Todd C. Miller
This can be used by picard to lookup discs by ID in musicbrainz.
The example program can be used to generate a submission url for a
disc so is useful in its own right.  Perhaps it should go in the
bin directory instead of examples?

Note that the musicbrainz disc ID != freedb disc ID.

 - todd



libdiscid.tar.gz
Description: application/tar-gz


Update: databases/p5-DBIx-Class

2011-03-08 Thread Todd C. Miller
Update to 0.08109, needed for latest squeezebox server.

 - todd

Index: databases/p5-DBIx-Class/Makefile
===
RCS file: /home/cvs/openbsd/ports/databases/p5-DBIx-Class/Makefile,v
retrieving revision 1.14
diff -u -r1.14 Makefile
--- databases/p5-DBIx-Class/Makefile3 Dec 2010 11:44:24 -   1.14
+++ databases/p5-DBIx-Class/Makefile20 Feb 2011 21:01:11 -
@@ -3,8 +3,7 @@
 COMMENT=   object-oriented database access
 
 MODULES=   cpan
-DISTNAME=  DBIx-Class-0.08007
-REVISION=  0
+DISTNAME=  DBIx-Class-0.08109
 CATEGORIES=databases devel
 
 # Artistic
@@ -24,10 +23,15 @@
databases/p5-SQL-Abstract \
databases/p5-SQL-Abstract-Limit \
databases/p5-DBI \
+   databases/p5-SQL-Abstract-Limit \
+   databases/p5-DBD-SQLite \
devel/p5-Class-Inspector \
devel/p5-Class-Accessor-Grouped \
devel/p5-Scope-Guard \
-   converters/p5-JSON
+   converters/p5-JSON \
+   converters/p5-JSON-Any \
+   devel/p5-Test-Deep \
+   devel/p5-Test-Warn
 
 REGRESS_DEPENDS=databases/p5-DBD-SQLite \
devel/p5-PadWalker \
Index: databases/p5-DBIx-Class/distinfo
===
RCS file: /home/cvs/openbsd/ports/databases/p5-DBIx-Class/distinfo,v
retrieving revision 1.6
diff -u -r1.6 distinfo
--- databases/p5-DBIx-Class/distinfo25 Oct 2007 21:26:47 -  1.6
+++ databases/p5-DBIx-Class/distinfo16 Nov 2010 18:14:04 -
@@ -1,5 +1,5 @@
-MD5 (DBIx-Class-0.08007.tar.gz) = m2rVVcRjtMMHVBPc5F8LVg==
-RMD160 (DBIx-Class-0.08007.tar.gz) = cbNNEK7gygJYScrDmsK7gyNA1Ho=
-SHA1 (DBIx-Class-0.08007.tar.gz) = IyZe8sBnBLpp6vQI9o8YPWxp2Sg=
-SHA256 (DBIx-Class-0.08007.tar.gz) = 
AKEJ7yd8d7cudxpRHrZorDUO0SUplb6vjytgnGl9vj8=
-SIZE (DBIx-Class-0.08007.tar.gz) = 299370
+MD5 (DBIx-Class-0.08109.tar.gz) = 1k7N/fgGy5rNU8qUWWCJkg==
+RMD160 (DBIx-Class-0.08109.tar.gz) = KmVpDaBPYAg2k679DTZKGhacVqs=
+SHA1 (DBIx-Class-0.08109.tar.gz) = mNF0rjRs06bj8VhCjW1YugoCaR0=
+SHA256 (DBIx-Class-0.08109.tar.gz) = 
4wq7eT+0Og/wVx0wC2q9/6/3VXxyZx4Fuee7jP/jXaw=
+SIZE (DBIx-Class-0.08109.tar.gz) = 445784
Index: databases/p5-DBIx-Class/pkg/PLIST
===
RCS file: /home/cvs/openbsd/ports/databases/p5-DBIx-Class/pkg/PLIST,v
retrieving revision 1.3
diff -u -r1.3 PLIST
--- databases/p5-DBIx-Class/pkg/PLIST   25 Oct 2007 21:26:47 -  1.3
+++ databases/p5-DBIx-Class/pkg/PLIST   16 Nov 2010 19:39:42 -
@@ -6,25 +6,29 @@
 ${P5SITE}/DBIx/Class/AccessorGroup.pm
 ${P5SITE}/DBIx/Class/CDBICompat/
 ${P5SITE}/DBIx/Class/CDBICompat.pm
+${P5SITE}/DBIx/Class/CDBICompat/AbstractSearch.pm
 ${P5SITE}/DBIx/Class/CDBICompat/AccessorMapping.pm
 ${P5SITE}/DBIx/Class/CDBICompat/AttributeAPI.pm
 ${P5SITE}/DBIx/Class/CDBICompat/AutoUpdate.pm
 ${P5SITE}/DBIx/Class/CDBICompat/ColumnCase.pm
 ${P5SITE}/DBIx/Class/CDBICompat/ColumnGroups.pm
+${P5SITE}/DBIx/Class/CDBICompat/ColumnsAsHash.pm
 ${P5SITE}/DBIx/Class/CDBICompat/Constraints.pm
 ${P5SITE}/DBIx/Class/CDBICompat/Constructor.pm
+${P5SITE}/DBIx/Class/CDBICompat/Copy.pm
 ${P5SITE}/DBIx/Class/CDBICompat/DestroyWarning.pm
 ${P5SITE}/DBIx/Class/CDBICompat/GetSet.pm
-${P5SITE}/DBIx/Class/CDBICompat/HasA.pm
-${P5SITE}/DBIx/Class/CDBICompat/HasMany.pm
 ${P5SITE}/DBIx/Class/CDBICompat/ImaDBI.pm
+${P5SITE}/DBIx/Class/CDBICompat/Iterator.pm
 ${P5SITE}/DBIx/Class/CDBICompat/LazyLoading.pm
 ${P5SITE}/DBIx/Class/CDBICompat/LiveObjectIndex.pm
-${P5SITE}/DBIx/Class/CDBICompat/MightHave.pm
-${P5SITE}/DBIx/Class/CDBICompat/ObjIndexStubs.pm
+${P5SITE}/DBIx/Class/CDBICompat/NoObjectIndex.pm
 ${P5SITE}/DBIx/Class/CDBICompat/Pager.pm
 ${P5SITE}/DBIx/Class/CDBICompat/ReadOnly.pm
+${P5SITE}/DBIx/Class/CDBICompat/Relationship.pm
+${P5SITE}/DBIx/Class/CDBICompat/Relationships.pm
 ${P5SITE}/DBIx/Class/CDBICompat/Retrieve.pm
+${P5SITE}/DBIx/Class/CDBICompat/SQLTransformer.pm
 ${P5SITE}/DBIx/Class/CDBICompat/Stringify.pm
 ${P5SITE}/DBIx/Class/CDBICompat/TempColumns.pm
 ${P5SITE}/DBIx/Class/CDBICompat/Triggers.pm
@@ -49,6 +53,7 @@
 ${P5SITE}/DBIx/Class/Manual/Glossary.pod
 ${P5SITE}/DBIx/Class/Manual/Intro.pod
 ${P5SITE}/DBIx/Class/Manual/Joining.pod
+${P5SITE}/DBIx/Class/Manual/Reading.pod
 ${P5SITE}/DBIx/Class/Manual/Troubleshooting.pod
 ${P5SITE}/DBIx/Class/Ordered.pm
 ${P5SITE}/DBIx/Class/PK/
@@ -81,42 +86,67 @@
 ${P5SITE}/DBIx/Class/ResultSource/
 ${P5SITE}/DBIx/Class/ResultSource.pm
 ${P5SITE}/DBIx/Class/ResultSource/Table.pm
+${P5SITE}/DBIx/Class/ResultSource/View.pm
 ${P5SITE}/DBIx/Class/ResultSourceHandle.pm
 ${P5SITE}/DBIx/Class/ResultSourceProxy/
 ${P5SITE}/DBIx/Class/ResultSourceProxy.pm
 ${P5SITE}/DBIx/Class/ResultSourceProxy/Table.pm
 ${P5SITE}/DBIx/Class/Row.pm
+${P5SITE}/DBIx/Class/SQLAHacks/
+${P5SITE}/DBIx/Class/SQLAHacks.pm

Update: databases/p5-SQL-Abstract

2011-03-08 Thread Todd C. Miller
Update to SQL-Abstract-1.56; needed for latest squeezebox server.

 - todd

Index: databases/p5-SQL-Abstract/Makefile
===
RCS file: /home/cvs/openbsd/ports/databases/p5-SQL-Abstract/Makefile,v
retrieving revision 1.8
diff -u -r1.8 Makefile
--- databases/p5-SQL-Abstract/Makefile  3 Dec 2010 11:44:25 -   1.8
+++ databases/p5-SQL-Abstract/Makefile  20 Feb 2011 21:01:38 -
@@ -3,10 +3,9 @@
 COMMENT=   generate SQL from Perl data structures
 
 MODULES=   cpan
-DISTNAME=  SQL-Abstract-1.22
-REVISION=  1
+DISTNAME=  SQL-Abstract-1.56
 CATEGORIES=databases
-EXTRACT_SUFX=  .tgz
+EXTRACT_SUFX=  .tar.gz
 USE_GROFF =Yes
 
 # perl
Index: databases/p5-SQL-Abstract/distinfo
===
RCS file: /home/cvs/openbsd/ports/databases/p5-SQL-Abstract/distinfo,v
retrieving revision 1.5
diff -u -r1.5 distinfo
--- databases/p5-SQL-Abstract/distinfo  27 Jul 2007 19:51:35 -  1.5
+++ databases/p5-SQL-Abstract/distinfo  16 Nov 2010 19:20:38 -
@@ -1,5 +1,5 @@
-MD5 (SQL-Abstract-1.22.tgz) = 48aJyBiVNd9wxl+lIsL0aA==
-RMD160 (SQL-Abstract-1.22.tgz) = S1fR9jQab3ndQexr4n1XM5ElowE=
-SHA1 (SQL-Abstract-1.22.tgz) = C88ZnO0ry2LpuFXEOf2wxEXvif4=
-SHA256 (SQL-Abstract-1.22.tgz) = hxrVcEv4dlmIj2GNddxlg0xMT07u0fFIiI37n30qzkE=
-SIZE (SQL-Abstract-1.22.tgz) = 25159
+MD5 (SQL-Abstract-1.56.tar.gz) = q2STBdQsMLw6uHR1vS4H2Q==
+RMD160 (SQL-Abstract-1.56.tar.gz) = Fq5aFZ8Jcr+XZJl0e7m3o281nuI=
+SHA1 (SQL-Abstract-1.56.tar.gz) = jtdJBXLw9QerfczZYhAd7vpo4qk=
+SHA256 (SQL-Abstract-1.56.tar.gz) = 
DodgQKsShbyYVt8dk6b/pjSAqlQ3FLOZuBRiOgYB2ZE=
+SIZE (SQL-Abstract-1.56.tar.gz) = 58389
Index: databases/p5-SQL-Abstract/pkg/PLIST
===
RCS file: /home/cvs/openbsd/ports/databases/p5-SQL-Abstract/pkg/PLIST,v
retrieving revision 1.3
diff -u -r1.3 PLIST
--- databases/p5-SQL-Abstract/pkg/PLIST 14 Sep 2004 23:31:46 -  1.3
+++ databases/p5-SQL-Abstract/pkg/PLIST 16 Nov 2010 19:20:49 -
@@ -1,4 +1,7 @@
 @comment $OpenBSD: PLIST,v 1.3 2004/09/14 23:31:46 espie Exp $
 ${P5SITE}/SQL/
+${P5SITE}/SQL/Abstract/
 ${P5SITE}/SQL/Abstract.pm
+${P5SITE}/SQL/Abstract/Test.pm
 @man man/man3p/SQL::Abstract.3p
+@man man/man3p/SQL::Abstract::Test.3p



Update: databases/p5-SQL-Abstract-Limit

2011-03-08 Thread Todd C. Miller
Update to SQL-Abstract-Limit-0.13; needed for latest squeezebox server.

 - todd

Index: databases/p5-SQL-Abstract-Limit/Makefile
===
RCS file: /home/cvs/openbsd/ports/databases/p5-SQL-Abstract-Limit/Makefile,v
retrieving revision 1.6
diff -u -r1.6 Makefile
--- databases/p5-SQL-Abstract-Limit/Makefile3 Dec 2010 11:44:25 -   
1.6
+++ databases/p5-SQL-Abstract-Limit/Makefile20 Feb 2011 21:01:44 -
@@ -2,8 +2,7 @@
 
 COMMENT=   portability layer for LIMIT emulation
 
-DISTNAME=  SQL-Abstract-Limit-0.12
-REVISION=  0
+DISTNAME=  SQL-Abstract-Limit-0.13
 CATEGORIES=databases
 MODULES=   cpan
 USE_GROFF =Yes
Index: databases/p5-SQL-Abstract-Limit/distinfo
===
RCS file: /home/cvs/openbsd/ports/databases/p5-SQL-Abstract-Limit/distinfo,v
retrieving revision 1.2
diff -u -r1.2 distinfo
--- databases/p5-SQL-Abstract-Limit/distinfo5 Apr 2007 15:37:50 -   
1.2
+++ databases/p5-SQL-Abstract-Limit/distinfo16 Nov 2010 19:34:23 -
@@ -1,5 +1,5 @@
-MD5 (SQL-Abstract-Limit-0.12.tar.gz) = EnKFsKWfKmcf1MQRNx1Idw==
-RMD160 (SQL-Abstract-Limit-0.12.tar.gz) = 36XNcKmYj8Kvg2M+Gw9lTqDECh8=
-SHA1 (SQL-Abstract-Limit-0.12.tar.gz) = xzNK7VlLW/IOvqbZzijK0idoLsA=
-SHA256 (SQL-Abstract-Limit-0.12.tar.gz) = 
/1hgKPuckJ2hujLUBpfxQXezBwDY1w7IJIX5eugwBq0=
-SIZE (SQL-Abstract-Limit-0.12.tar.gz) = 14295
+MD5 (SQL-Abstract-Limit-0.13.tar.gz) = yrIkPnN564k/x3aXYmZH8Q==
+RMD160 (SQL-Abstract-Limit-0.13.tar.gz) = 4lYFu6D0EgOENh8oBrAeKDNqFV4=
+SHA1 (SQL-Abstract-Limit-0.13.tar.gz) = /yE8xaGeC5OX9PjnbeFlVsi9hOI=
+SHA256 (SQL-Abstract-Limit-0.13.tar.gz) = 
p+DN2p/RT7TaauZ2TKpybXDhmsVfamYBzzWbdf/ZjIc=
+SIZE (SQL-Abstract-Limit-0.13.tar.gz) = 15698



Update: devel/p5-AnyEvent

2011-03-08 Thread Todd C. Miller
Update to AnyEvent-5.202; needed for latest squeezebox server.

 - todd

Index: devel/p5-AnyEvent/Makefile
===
RCS file: /home/cvs/openbsd/ports/devel/p5-AnyEvent/Makefile,v
retrieving revision 1.15
diff -u -r1.15 Makefile
--- devel/p5-AnyEvent/Makefile  3 Dec 2010 11:44:26 -   1.15
+++ devel/p5-AnyEvent/Makefile  20 Feb 2011 21:00:51 -
@@ -3,8 +3,7 @@
 COMMENT=   provide framework for multiple event loops
 
 MODULES=   cpan
-DISTNAME=  AnyEvent-5.201
-REVISION=  0
+DISTNAME=  AnyEvent-5.202
 CATEGORIES=devel
 CPAN_AUTHOR=   MLEHMANN
 USE_GROFF =Yes
Index: devel/p5-AnyEvent/distinfo
===
RCS file: /home/cvs/openbsd/ports/devel/p5-AnyEvent/distinfo,v
retrieving revision 1.11
diff -u -r1.11 distinfo
--- devel/p5-AnyEvent/distinfo  9 Oct 2009 23:24:21 -   1.11
+++ devel/p5-AnyEvent/distinfo  16 Nov 2010 19:57:27 -
@@ -1,5 +1,5 @@
-MD5 (AnyEvent-5.201.tar.gz) = 2S9gij1qMDQ2vCiENbMOiA==
-RMD160 (AnyEvent-5.201.tar.gz) = AiuF/PXEP/yga+nlLJcexdOuGig=
-SHA1 (AnyEvent-5.201.tar.gz) = d2Bhh4mhHpIj1jyr9l6wVzPXOsQ=
-SHA256 (AnyEvent-5.201.tar.gz) = mxCaQUCe5P5F9jHXc8ctxnK26IMaidbVu6uq86Hxj0c=
-SIZE (AnyEvent-5.201.tar.gz) = 181788
+MD5 (AnyEvent-5.202.tar.gz) = u/60a6kMqCgNy1uesBogyQ==
+RMD160 (AnyEvent-5.202.tar.gz) = AZRBvQWbdrX2p0YTmqRFOzQkzj4=
+SHA1 (AnyEvent-5.202.tar.gz) = zEF+5fbZCTBvsKk2oP4Dx/a8G9M=
+SHA256 (AnyEvent-5.202.tar.gz) = QH28Txpog6CvKd3Sd0eYDS/+dTobrbhEnh9h9lzHcSk=
+SIZE (AnyEvent-5.202.tar.gz) = 182205



CVS: cvs.openbsd.org: ports

2010-12-07 Thread Todd C. Miller
CVSROOT:/cvs
Module name:ports
Changes by: mill...@cvs.openbsd.org 2010/12/07 16:08:03

Modified files:
devel/py-hg-git: Makefile distinfo 
Removed files:
devel/py-hg-git/patches: patch-hggit_hgrepo_py 

Log message:
Update py-hg-git to 0.2.5 to work with current mercurial.



CVS: cvs.openbsd.org: ports

2010-12-01 Thread Todd C. Miller
CVSROOT:/cvs
Module name:ports
Changes by: mill...@cvs.openbsd.org 2010/12/01 07:27:57

Log message:
p5-EV port.  Originally from James Wright; OK sthen@

Status:

Vendor Tag: millert
Release Tags:   millert_2010-Dec-01

N ports/devel/p5-EV/distinfo
N ports/devel/p5-EV/Makefile
N ports/devel/p5-EV/pkg/DESCR
N ports/devel/p5-EV/pkg/PLIST

No conflicts created by this import



CVS: cvs.openbsd.org: ports

2010-12-01 Thread Todd C. Miller
CVSROOT:/cvs
Module name:ports
Changes by: mill...@cvs.openbsd.org 2010/12/01 07:29:39

Modified files:
devel  : Makefile 

Log message:
p5-EV port.  Originally from James Wright; OK sthen@



CVS: cvs.openbsd.org: ports

2010-11-20 Thread Todd C. Miller
CVSROOT:/cvs
Module name:ports
Changes by: mill...@cvs.openbsd.org 2010/11/20 08:48:58

Modified files:
audio/picard   : Makefile distinfo 
audio/picard/patches: patch-setup_py 
audio/picard/pkg: PLIST 
Removed files:
audio/picard/patches: patch-picard_const_py 

Log message:
Update picard to version 0.12.1 and link with libavcodec, libavformat
and libofa to support tagging by audio fingerprint.  OK phessler@



CVS: cvs.openbsd.org: ports

2010-11-19 Thread Todd C. Miller
CVSROOT:/cvs
Module name:ports
Changes by: mill...@cvs.openbsd.org 2010/11/19 10:12:15

Log message:
libofa port

Status:

Vendor Tag: millert
Release Tags:   millert_2010-Nov-19

N ports/audio/libofa/Makefile
N ports/audio/libofa/distinfo
N ports/audio/libofa/patches/patch-lib_JAMA_tnt_math_utils_h
N ports/audio/libofa/pkg/DESCR
N ports/audio/libofa/pkg/PLIST
N ports/audio/libofa/pkg/PFRAG.shared

No conflicts created by this import



[NEW] audio/libofa

2010-11-19 Thread Todd C. Miller
The Open Fingerprint Architecture normalizes, extracts frequencies,
and creates an array representing the frequency data in an audio
file.  This data-chunk (so called acoustic fingerprint) was designed
for use with the MusicDNS service and can be used by the MusicBrainz
tagger to identify audio files.

 - todd


libofa.tgz
Description: application/tar-gz


[Update] audio/picard 0.12.1

2010-11-19 Thread Todd C. Miller
This updates picard to version 0.12.1 and links it with the ffmpeg
libs and the libofa port I submitted.

The extra libs allow picard to do audio fingerprinting to classify
files does not otherwise recognize.

 - todd

Index: audio/picard/Makefile
===
RCS file: /home/cvs/openbsd/ports/audio/picard/Makefile,v
retrieving revision 1.8
diff -u -r1.8 Makefile
--- audio/picard/Makefile   15 Nov 2010 00:22:48 -  1.8
+++ audio/picard/Makefile   19 Nov 2010 15:34:55 -
@@ -1,10 +1,9 @@
 # $OpenBSD: Makefile,v 1.8 2010/11/15 00:22:48 espie Exp $
 
-COMMENT =  automatic audio files tagger using the MusicBrainz 
database
+COMMENT =  Automatic audio files tagger using the MusicBrainz 
database
 
-MODPY_EGG_VERSION =0.11
+MODPY_EGG_VERSION =0.12.1
 DISTNAME = picard-${MODPY_EGG_VERSION}
-REVISION = 5
 
 CATEGORIES =   audio
 
@@ -18,7 +17,7 @@
 PERMIT_DISTFILES_CDROM =Yes
 PERMIT_DISTFILES_FTP = Yes
 
-WANTLIB += m stdc++
+WANTLIB += m stdc++ avcodec avformat ofa
 
 MASTER_SITES = ftp://ftp.musicbrainz.org/pub/musicbrainz/picard/
 
@@ -29,11 +28,13 @@
 MODPY_DISTUTILS_INSTALL=install --prefix=${LOCALBASE} --root=${DESTDIR}
 
 # msgfmt
-BUILD_DEPENDS =devel/gettext
+BUILD_DEPENDS =devel/gettext graphics/ffmpeg audio/libofa
 
 RUN_DEPENDS =  py-qt4-=4.1:x11/py-qt4 \
py-mutagen-=1.9:audio/py-mutagen \
-   devel/desktop-file-utils
+   devel/desktop-file-utils \
+   graphics/ffmpeg \
+   audio/libofa
 
 REGRESS_DEPENDS =  ${BASE_PKGPATH}
 
@@ -45,13 +46,14 @@
discnumber.py \
featartist.py \
fix_mp4_meta.py \
-   initials.py \
lastfm/__init__.py \
lastfm/options_lastfm.ui \
lastfm/ui_options_lastfm.py \
+   originalreleasedate.py \
replaygain/__init__.py \
replaygain/options_replaygain.ui \
-   replaygain/ui_options_replaygain.py
+   replaygain/ui_options_replaygain.py \
+   titlecase.py
 
 post-install:
 .for dir in ${PLUGINS_DIRS}
Index: audio/picard/distinfo
===
RCS file: /home/cvs/openbsd/ports/audio/picard/distinfo,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 distinfo
--- audio/picard/distinfo   12 Jul 2009 20:43:22 -  1.1.1.1
+++ audio/picard/distinfo   19 Nov 2010 13:27:32 -
@@ -1,5 +1,5 @@
-MD5 (picard-0.11.tar.gz) = At3P8+IBss9U8bUrAtRPrQ==
-RMD160 (picard-0.11.tar.gz) = II5FYh4QcG/n9RmHGGWbO4XrpKo=
-SHA1 (picard-0.11.tar.gz) = cC5r5tDllch7IeeiCJTQBO/DaT8=
-SHA256 (picard-0.11.tar.gz) = x7UXDtyvw12q/YuZDv3f2leBY0lDLQpqN4afDEgxVqs=
-SIZE (picard-0.11.tar.gz) = 442371
+MD5 (picard-0.12.1.tar.gz) = z+WU1okkr7wHBIiBMClchQ==
+RMD160 (picard-0.12.1.tar.gz) = nZHlP26g/UxKJb0dvYA2pBOXGu8=
+SHA1 (picard-0.12.1.tar.gz) = llQS3pVNKnNIehMytJrHcl5xnww=
+SHA256 (picard-0.12.1.tar.gz) = f/sopHthDEXP2XLqy7ZclaIkrq7QdQ1XxhpH0p+agYM=
+SIZE (picard-0.12.1.tar.gz) = 1361157
Index: audio/picard/patches/patch-picard_const_py
===
RCS file: audio/picard/patches/patch-picard_const_py
diff -N audio/picard/patches/patch-picard_const_py
--- audio/picard/patches/patch-picard_const_py  19 Jul 2009 09:06:43 -  
1.1
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,16 +0,0 @@
-$OpenBSD: patch-picard_const_py,v 1.1 2009/07/19 09:06:43 ajacoutot Exp $
-
-Quick and dirty patch to solve the bug in Picard when we use the command
-pydoc -k. Also make the regress target works.
-
 picard/const.py.orig   Sat Jul 18 00:02:45 2009
-+++ picard/const.pySat Jul 18 00:03:23 2009
-@@ -17,6 +17,8 @@
- # along with this program; if not, write to the Free Software
- # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, 
USA.
-
-+import __builtin__
-+__builtin__.__dict__['N_'] = lambda a: a
-
- # Host for PUID submissions
- PUID_SUBMIT_HOST = musicbrainz.org
Index: audio/picard/patches/patch-setup_py
===
RCS file: /home/cvs/openbsd/ports/audio/picard/patches/patch-setup_py,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 patch-setup_py
--- audio/picard/patches/patch-setup_py 12 Jul 2009 20:43:22 -  1.1.1.1
+++ audio/picard/patches/patch-setup_py 19 Nov 2010 13:22:08 -
@@ -1,7 +1,24 @@
 $OpenBSD: patch-setup_py,v 1.1.1.1 2009/07/12 20:43:22 ajacoutot Exp $
 setup.py.orig  Mon Dec  1 17:27:05 2008
-+++ setup.py   Tue May 26 23:48:01 2009
-@@ -76,7 +76,7 @@ cfg.read(['build.cfg'])
+--- setup.py.orig  Sun Nov  1 

<    1   2   3   >