Re: NEW: security/dicepassc

2017-03-01 Thread Mikolaj Kucharski
On Sat, Feb 25, 2017 at 09:52:09PM +, Mikolaj Kucharski wrote:
> > Can you add 
> > # uses pledge()
> > just before WANTLIB?
> > 
> > With that, ok danj@ if someone wants to import it.
> 
> Updated port attached.

Ping.

https://marc.info/?l=openbsd-ports=148805954307219=2

-- 
best regards
q#



Re: NEW: security/dicepassc

2017-02-24 Thread Mikolaj Kucharski
On Fri, Feb 17, 2017 at 11:24:22PM +, Mikolaj Kucharski wrote:
> On Wed, Feb 15, 2017 at 10:03:30PM +0000, Mikolaj Kucharski wrote:
> > On Thu, Feb 09, 2017 at 02:50:12PM +0100, Andre Stoebe wrote:
> > > Hi,
> > > 
> > > attached is dicepassc, a small utility I wrote.
> > > 
> > > Comment:
> > > passphrase generator based on Diceware and EFF wordlists
> > > 
> > > Homepage:
> > > https://www.nul.space/dicepassc/
> > > 
> > > Regards
> > > Andre
> > 
> > 
> > Updated port which respects PREFIX based on Andre's earlier submission.
> > 
> 
> Any other feedback? Would it be possible to commit this to the tree?
> 
> https://marc.info/?l=openbsd-ports=148719622528886=2
> 

Kind reminder.

-- 
best regards
q#



Re: acme-tiny: Agreement URL does not match the current one

2017-02-17 Thread Mikolaj Kucharski
In case someone still is using acme-tiny from ports, could this be commited?

https://marc.info/?l=openbsd-ports=148723786606765=raw

On Thu, Feb 16, 2017 at 09:37:32AM +, Mikolaj Kucharski wrote:
> On Sun, Nov 13, 2016 at 09:00:58PM -0500, Predrag Punosevac wrote:
> > I am trying to migrate few web sites to https using free certificates
> > from Let's Encrypt. Since I am not crazy about installing official
> > certbot client I went for acme-tiny. It seems to be broken
> > 
> > # uname -a
> > OpenBSD horae.autonlab.org 6.0 GENERIC.MP#2 amd64
> > 
> > ValueError: Error registering: 400 {
> >   "type": "urn:acme:error:malformed",
> >   "detail": "Provided agreement URL
> > [https://letsencrypt.org/documents/LE-SA-v1.0.1-July-27-2015.pdf] does
> > not match current agreement URL
> > [https://letsencrypt.org/documents/LE-SA-v1.1.1-August-1-2016.pdf];,
> >   "status": 400
> > }
> > 
> > This seems well known bug
> > 
> > http://lists.alioth.debian.org/pipermail/letsencrypt-devel/Week-of-Mon-20160808/000784.html
> > 
> > Best,
> > Predrag
> 
> Below diff should fix it.
> 
> 
> Index: Makefile
> ===
> RCS file: /cvs/ports/security/letsencrypt/acme-tiny/Makefile,v
> retrieving revision 1.4
> diff -u -p -u -r1.4 Makefile
> --- Makefile  10 May 2016 09:36:22 -  1.4
> +++ Makefile  16 Feb 2017 09:34:37 -
> @@ -2,7 +2,7 @@
>  
>  COMMENT= small 3rd-party letsencrypt client
>  
> -DISTNAME=acme-tiny-20160326
> +DISTNAME=acme-tiny-20160818
>  
>  HOMEPAGE=https://github.com/diafygi/acme-tiny
>  
> @@ -13,7 +13,7 @@ PERMIT_PACKAGE_CDROM=   Yes
>  
>  GH_ACCOUNT=  diafygi
>  GH_PROJECT=  acme-tiny
> -GH_COMMIT=   7a5a2558c8d6e5ab2a59b9fec9633d9e63127971
> +GH_COMMIT=   daba51d37efd7c1f205f9da383b9b09968e30d29
>  
>  MODPY_PI=No
>  MODPY_SETUPTOOLS= No
> Index: distinfo
> ===
> RCS file: /cvs/ports/security/letsencrypt/acme-tiny/distinfo,v
> retrieving revision 1.2
> diff -u -p -u -r1.2 distinfo
> --- distinfo  10 May 2016 09:36:22 -  1.2
> +++ distinfo  16 Feb 2017 09:34:37 -
> @@ -1,2 +1,2 @@
> -SHA256 (acme-tiny-20160326.tar.gz) = 
> mVLEyoVNzzNuFMgAH7uSnLzyth6t7ehSgKdlRN+XAUQ=
> -SIZE (acme-tiny-20160326.tar.gz) = 10519
> +SHA256 (acme-tiny-20160818.tar.gz) = 
> rvJUHHJwqapNTOSVCdag9I5Z7MwRbfD+fe/nffck9UQ=
> +SIZE (acme-tiny-20160818.tar.gz) = 10510
> 

-- 
best regards
q#



Re: NEW: security/dicepassc

2017-02-17 Thread Mikolaj Kucharski
On Wed, Feb 15, 2017 at 10:03:30PM +, Mikolaj Kucharski wrote:
> On Thu, Feb 09, 2017 at 02:50:12PM +0100, Andre Stoebe wrote:
> > Hi,
> > 
> > attached is dicepassc, a small utility I wrote.
> > 
> > Comment:
> > passphrase generator based on Diceware and EFF wordlists
> > 
> > Homepage:
> > https://www.nul.space/dicepassc/
> > 
> > Regards
> > Andre
> 
> 
> Updated port which respects PREFIX based on Andre's earlier submission.
> 

Any other feedback? Would it be possible to commit this to the tree?

https://marc.info/?l=openbsd-ports=148719622528886=2

-- 
best regards
q#



Re: acme-tiny: Agreement URL does not match the current one

2017-02-16 Thread Mikolaj Kucharski
On Sun, Nov 13, 2016 at 09:00:58PM -0500, Predrag Punosevac wrote:
> I am trying to migrate few web sites to https using free certificates
> from Let's Encrypt. Since I am not crazy about installing official
> certbot client I went for acme-tiny. It seems to be broken
> 
> # uname -a
> OpenBSD horae.autonlab.org 6.0 GENERIC.MP#2 amd64
> 
> ValueError: Error registering: 400 {
>   "type": "urn:acme:error:malformed",
>   "detail": "Provided agreement URL
> [https://letsencrypt.org/documents/LE-SA-v1.0.1-July-27-2015.pdf] does
> not match current agreement URL
> [https://letsencrypt.org/documents/LE-SA-v1.1.1-August-1-2016.pdf];,
>   "status": 400
> }
> 
> This seems well known bug
> 
> http://lists.alioth.debian.org/pipermail/letsencrypt-devel/Week-of-Mon-20160808/000784.html
> 
> Best,
> Predrag

Below diff should fix it.


Index: Makefile
===
RCS file: /cvs/ports/security/letsencrypt/acme-tiny/Makefile,v
retrieving revision 1.4
diff -u -p -u -r1.4 Makefile
--- Makefile10 May 2016 09:36:22 -  1.4
+++ Makefile16 Feb 2017 09:34:37 -
@@ -2,7 +2,7 @@
 
 COMMENT=   small 3rd-party letsencrypt client
 
-DISTNAME=  acme-tiny-20160326
+DISTNAME=  acme-tiny-20160818
 
 HOMEPAGE=  https://github.com/diafygi/acme-tiny
 
@@ -13,7 +13,7 @@ PERMIT_PACKAGE_CDROM= Yes
 
 GH_ACCOUNT=diafygi
 GH_PROJECT=acme-tiny
-GH_COMMIT= 7a5a2558c8d6e5ab2a59b9fec9633d9e63127971
+GH_COMMIT= daba51d37efd7c1f205f9da383b9b09968e30d29
 
 MODPY_PI=  No
 MODPY_SETUPTOOLS= No
Index: distinfo
===
RCS file: /cvs/ports/security/letsencrypt/acme-tiny/distinfo,v
retrieving revision 1.2
diff -u -p -u -r1.2 distinfo
--- distinfo10 May 2016 09:36:22 -  1.2
+++ distinfo16 Feb 2017 09:34:37 -
@@ -1,2 +1,2 @@
-SHA256 (acme-tiny-20160326.tar.gz) = 
mVLEyoVNzzNuFMgAH7uSnLzyth6t7ehSgKdlRN+XAUQ=
-SIZE (acme-tiny-20160326.tar.gz) = 10519
+SHA256 (acme-tiny-20160818.tar.gz) = 
rvJUHHJwqapNTOSVCdag9I5Z7MwRbfD+fe/nffck9UQ=
+SIZE (acme-tiny-20160818.tar.gz) = 10510

-- 
best regards
q#



Re: NEW: security/dicepassc

2017-02-15 Thread Mikolaj Kucharski
On Thu, Feb 09, 2017 at 02:50:12PM +0100, Andre Stoebe wrote:
> Hi,
> 
> attached is dicepassc, a small utility I wrote.
> 
> Comment:
> passphrase generator based on Diceware and EFF wordlists
> 
> Homepage:
> https://www.nul.space/dicepassc/
> 
> Regards
> Andre


Updated port which respects PREFIX based on Andre's earlier submission.

-- 
best regards
q#


dicepassc.port-v2.tar.gz
Description: application/tar-gz


Re: NEW: security/dicepassc

2017-02-14 Thread Mikolaj Kucharski
On Mon, Feb 13, 2017 at 11:06:12PM +0100, Andre Stoebe wrote:
> On 12.02.2017 20:34, Mikolaj Kucharski wrote:
> > portcheck didn't complain, make lib-depends-check is happy too.
> > 
> > However I see that in sources of the app you hardcode `/usr/local`
> > path. I think it would be better to add to the ports Makefile something
> > as follows:
> > 
> > 
> > --- MakefileThu Feb  9 10:32:39 2017
> > +++ Makefile.newSun Feb 12 19:30:38 2017
> > @@ -19,4 +19,8 @@
> >  
> >  NO_TEST =  Yes
> >  
> > +pre-configure:
> > +   sed -i -e "s,/usr/local,${PREFIX},g;" \
> > +   ${WRKSRC}/Makefile ${WRKSRC}/dicepassc.c ${WRKSRC}/dicepassc.1
> > +
> >  .include 
> 
> Hi,
> 
> thanks for the feedback.
> 
> You're right, PREFIX isn't honored at all which bothers me too, now
> that I understand a bit better. I'm actually quite inexperienced with
> make and thankful that bsd.prog.mk does most of the work for me...
> 
> Would it be better to handle it in the sources? I did some tests with
> sed (for the manual) and a preprocessor define (for the c file) to set
> the paths based on PREFIX. But I wonder if that's overkill... After
> all it's an OpenBSD-only application.
> 
> Regards
> Andre
> 
> Something like this:
> 
> PROG= dicepassc
> SRCS= ${PROG}.c
> MAN=  ${PROG}.1
> MDOC= ${PROG}.mdoc
> 
> PREFIX?=  /usr/local
> BINDIR=   ${PREFIX}/bin
> MANDIR=   ${PREFIX}/man/man
> SHAREDIR= ${PREFIX}/share
> WORDLISTDIR=  ${SHAREDIR}/${PROG}
> 
> CFLAGS+=  -g -W -Wall -Werror
> CFLAGS+=  -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations
> CFLAGS+=  -Wshadow -Wpointer-arith -Wcast-qual -Wsign-compare
> CFLAGS+=  -DWORDLISTDIR=${WORDLISTDIR}
> 
> CLEANFILES+=  ${MAN}
> 
> ${MAN}: ${MDOC}
>   sed -e "s,WORDLISTDIR,${WORDLISTDIR},g" ${MDOC} >${MAN}
> 
> afterinstall:
>   ${INSTALL} -d -o${SHAREOWN} -g${SHAREGRP} -m${DIRMODE} \
>   ${DESTDIR}${WORDLISTDIR}
>   ${INSTALL} ${INSTALL_COPY} -o${SHAREOWN} -g${SHAREGRP} -m${SHAREMODE} \
>   wordlists/diceware.wordlist \
>   wordlists/eff_large.wordlist \
>   wordlists/eff_short_1.wordlist \
>   ${DESTDIR}${WORDLISTDIR}
> 
> .include 

This seems reasonable to me, even though it may be an overkill, if you
are targeting only OpenBSD.

-- 
best regards
q#



Re: NEW: security/dicepassc

2017-02-12 Thread Mikolaj Kucharski
On Thu, Feb 09, 2017 at 02:50:12PM +0100, Andre Stoebe wrote:
> Hi,
> 
> attached is dicepassc, a small utility I wrote.
> 
> Comment:
> passphrase generator based on Diceware and EFF wordlists
> 
> Homepage:
> https://www.nul.space/dicepassc/
> 
> Regards
> Andre

portcheck didn't complain, make lib-depends-check is happy too.

However I see that in sources of the app you hardcode `/usr/local`
path. I think it would be better to add to the ports Makefile something
as follows:


--- MakefileThu Feb  9 10:32:39 2017
+++ Makefile.newSun Feb 12 19:30:38 2017
@@ -19,4 +19,8 @@
 
 NO_TEST =  Yes
 
+pre-configure:
+   sed -i -e "s,/usr/local,${PREFIX},g;" \
+   ${WRKSRC}/Makefile ${WRKSRC}/dicepassc.c ${WRKSRC}/dicepassc.1
+
 .include 


-- 
best regards
q#



Re: LibreOffice Crash if started other than opening a document

2017-01-06 Thread Mikolaj Kucharski
I had similar issue, was not even aware of it. For me following command
makes it work again:

rm -rf ~/.config/libreoffice

It was on:

OpenBSD 6.0-current (GENERIC.MP) #97: Tue Jan  3 00:47:09 MST 2017
bu...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP

with libreoffice-5.2.4.2p0v0 packaged at 2017-01-05T14:48:47Z


On Thu, Jan 05, 2017 at 09:30:08PM -0600, Ed Ahlsen-Girard wrote:
> First message December 21, no replies. Text below is the Document
> Foundation bugzilla bug and exchange with developers there.
> 
> I'm baffled that nobody else seems to has seen this.
> 
> Description:
> If LibreOffice is opened from the command line or from the cwm start
> menu, it displays a dialog box to the effect that due to an unexpected
> error, LibreOffice crashed, that documents that had been open will be
> recovered. In the case when there had not be a real crash, the are no
> files in the list to choose recovery for. Closing the dialog box ends
> the program. If the command line is used, this error appears in the
> terminal window: Warning: failed to launch javaldx - java may not
> function correctly
...

-- 
best regards
q#



Re: UPDATE: textproc/p5-Text-Unidecode 1.30

2016-12-24 Thread Mikolaj Kucharski
Hi,

Ping.

https://marc.info/?l=openbsd-ports=148217662701202=2

On Mon, Dec 19, 2016 at 06:43:29PM +, Mikolaj Kucharski wrote:
> Hi,
> 
> Maintainer update to 1.30 from 1.27.
> 
> ChangeLog says:
> 
> 2016-11-26   Sean M. Burke  sbu...@cpan.org
>   * Release 1.30
>   * Many many (forty?) tables were missing the final character! Fixed.
>   * Minor stuff:
>. Added just a few Arabesque things to U+FD__
>. Renamed t/00400_just_load_module.t
>   to t/00400_just_load_main_module.t
>. This is the first time non-7bit data appears in any Unidecode/x__.pm
>  files, although it is just in comments. (In x02.pm, x03.pm, xfd.pm)
>  But this is just THE SHAPE OF THINGS TO COME.
>   * Oh look, I blinked and a year went by. I've been spending about the
> past *two* years trying to think of how Unidecode v2-and-later's data
> tables should work.
>   * TODO: Kill the surrogatey "xD8", "xD9", "xDA", "xDB" blocks,
> and actually handle surrogates (when properly encoded).
>   * TODO: Inaugurate the (private) Text::Unidecode::Blackbox namespace.
> 
> http://cpansearch.perl.org/src/SBURKE/Text-Unidecode-1.30/ChangeLog
> 
> 
> make test finshes with: All tests successful.
> 
> Used it today with Polish letters and it seems to work.

-- 
best regards
q#



UPDATE: textproc/p5-Text-Unidecode 1.30

2016-12-19 Thread Mikolaj Kucharski
Hi,

Maintainer update to 1.30 from 1.27.

ChangeLog says:

2016-11-26   Sean M. Burke  sbu...@cpan.org
* Release 1.30
* Many many (forty?) tables were missing the final character! Fixed.
* Minor stuff:
 . Added just a few Arabesque things to U+FD__
 . Renamed t/00400_just_load_module.t
to t/00400_just_load_main_module.t
 . This is the first time non-7bit data appears in any Unidecode/x__.pm
   files, although it is just in comments. (In x02.pm, x03.pm, xfd.pm)
   But this is just THE SHAPE OF THINGS TO COME.
* Oh look, I blinked and a year went by. I've been spending about the
  past *two* years trying to think of how Unidecode v2-and-later's data
  tables should work.
* TODO: Kill the surrogatey "xD8", "xD9", "xDA", "xDB" blocks,
  and actually handle surrogates (when properly encoded).
* TODO: Inaugurate the (private) Text::Unidecode::Blackbox namespace.

http://cpansearch.perl.org/src/SBURKE/Text-Unidecode-1.30/ChangeLog


make test finshes with: All tests successful.

Used it today with Polish letters and it seems to work.


Index: Makefile
===
RCS file: /cvs/ports/textproc/p5-Text-Unidecode/Makefile,v
retrieving revision 1.15
diff -u -p -r1.15 Makefile
--- Makefile20 Mar 2016 19:57:10 -  1.15
+++ Makefile19 Dec 2016 18:34:36 -
@@ -4,7 +4,7 @@ COMMENT =   US-ASCII transliterations of U
 
 MODULES =  cpan
 PKG_ARCH = *
-DISTNAME = Text-Unidecode-1.27
+DISTNAME = Text-Unidecode-1.30
 CATEGORIES =   textproc
 
 MAINTAINER =   Mikolaj Kucharski <miko...@kucharski.name>
Index: distinfo
===
RCS file: /cvs/ports/textproc/p5-Text-Unidecode/distinfo,v
retrieving revision 1.6
diff -u -p -r1.6 distinfo
--- distinfo13 Mar 2016 11:59:50 -  1.6
+++ distinfo19 Dec 2016 18:34:36 -
@@ -1,2 +1,2 @@
-SHA256 (Text-Unidecode-1.27.tar.gz) = 
EYdqkPDOhY0xID6A1ikAODu2Qu2KRwxnU5tgfyp3LQI=
-SIZE (Text-Unidecode-1.27.tar.gz) = 134929
+SHA256 (Text-Unidecode-1.30.tar.gz) = 
bCTxTdwdIOJhYcIHtzyhhO7S71fwi1+y7hlubi6IscY=
+SIZE (Text-Unidecode-1.30.tar.gz) = 137977


-- 
best regards
q#



Re: pledge par2cmdline

2016-06-14 Thread Mikolaj Kucharski
On Tue, Jun 14, 2016 at 01:09:15PM +1200, Carlin Bingham wrote:
> If you think upstream will take this I'm happy for you to try and get it
> commited.

I think it's worth a try. More pledge(2) patches is accepted upstream
the better.

-- 
best regards
q#



Re: pledge par2cmdline

2016-06-13 Thread Mikolaj Kucharski
On Mon, Jun 13, 2016 at 07:35:23PM +0200, Sebastien Marie wrote:
> On Sun, Jun 12, 2016 at 09:17:27PM +0100, Mikolaj Kucharski wrote:
> > Will you be driving this to get merged upstream Carlin?
> 
> Trying to push it upstream would be a good thing.

I can fill pull request if you want. However if Carlin wrote the diffs I
think it would be better if he drives this, but I don't mind doing it.
Just let me know.

-- 
best regards
q#



Re: pledge par2cmdline

2016-06-12 Thread Mikolaj Kucharski
Hi,

This looks good to me. I did make test on what is currently in the ports
tree (below diff) and tested Carlin's changes agains what is on GitHub
and patches apply cleanly (as there ware no a lot of changes between
0.6.14 release and current master).

Will you be driving this to get merged upstream Carlin?


On Sun, Jun 12, 2016 at 02:52:45AM +1200, Carlin Bingham wrote:
> On Sat, Jun 11, 2016 at 09:27:58AM +0200, Sebastien Marie wrote:
> > 
> > the promises seems correct to me, but patches needs some comments (based
> > on your previous description for example).
> > 
> > it is OK semarie@ (with additionnal comments), but I would be glad to
> > have maintener point of vue too.
> > 
> > thanks.
> 
> Updated patch with comments.
> 
> 
> --
> Carlin
> 
> 
> 
> Index: archivers/par2cmdline/Makefile
> ===
> RCS file: /cvs/ports/archivers/par2cmdline/Makefile,v
> retrieving revision 1.11
> diff -u -p -u -r1.11 Makefile
> --- archivers/par2cmdline/Makefile5 Oct 2015 16:50:14 -   1.11
> +++ archivers/par2cmdline/Makefile11 Jun 2016 14:44:22 -
> @@ -5,6 +5,7 @@ COMMENT = command line implementation of
>  V =  0.6.14
>  DISTNAME =   par2cmdline-$V
>  DISTFILES =  ${DISTNAME}{v$V}.tar.gz
> +REVISION =   0
>  
>  CATEGORIES = archivers
>  
> @@ -13,6 +14,7 @@ HOMEPAGE =  https://github.com/BlackIkeEa
>  # GPLv2+
>  PERMIT_PACKAGE_CDROM =   Yes
>  
> +# uses pledge()
>  WANTLIB =c m stdc++
>  
>  MAINTAINER = Mikolaj Kucharski <miko...@kucharski.name>
> Index: archivers/par2cmdline/patches/patch-configure_ac
> ===
> RCS file: archivers/par2cmdline/patches/patch-configure_ac
> diff -N archivers/par2cmdline/patches/patch-configure_ac
> --- /dev/null 1 Jan 1970 00:00:00 -
> +++ archivers/par2cmdline/patches/patch-configure_ac  11 Jun 2016 14:44:22 
> -
> @@ -0,0 +1,11 @@
> +$OpenBSD$
> +--- configure.ac.origWed Jun  8 23:30:46 2016
>  configure.ac Wed Jun  8 23:31:20 2016
> +@@ -56,6 +56,7 @@ dnl Checks for library functions.
> + AC_FUNC_MEMCMP
> + AC_CHECK_FUNCS([stricmp] [strcasecmp])
> + AC_CHECK_FUNCS([strchr] [memcpy])
> ++AC_CHECK_FUNCS([pledge])
> + 
> + AC_CHECK_FUNCS([getopt] [getopt_long])
> + 
> Index: archivers/par2cmdline/patches/patch-par1repairer_cpp
> ===
> RCS file: archivers/par2cmdline/patches/patch-par1repairer_cpp
> diff -N archivers/par2cmdline/patches/patch-par1repairer_cpp
> --- /dev/null 1 Jan 1970 00:00:00 -
> +++ archivers/par2cmdline/patches/patch-par1repairer_cpp  11 Jun 2016 
> 14:44:22 -
> @@ -0,0 +1,25 @@
> +$OpenBSD$
> +
> +pledge:
> +'par2 repair' with par1 files - stdio rpath cpath
> +once the target files have been opened for writing, wpath is no
> +longer required, cpath must be kept to delete partial files in
> +case of an error
> +
> +--- par1repairer.cpp.origWed Jun  8 23:41:11 2016
>  par1repairer.cpp Wed Jun  8 23:42:01 2016
> +@@ -157,6 +157,14 @@ Result Par1Repairer::Process(const CommandLine 
> + if (!CreateTargetFiles())
> +   return eFileIOError;
> + 
> ++#ifdef HAVE_PLEDGE
> ++if (pledge("stdio rpath cpath", NULL) == -1)
> ++{
> ++  cerr << "pledge failed" << endl;
> ++  return eLogicError;
> ++}
> ++#endif
> ++
> + // Work out which data blocks are available, which need to be 
> recreated, 
> + // and compute the appropriate Reed Solomon matrix.
> + if (!ComputeRSmatrix())
> Index: archivers/par2cmdline/patches/patch-par2cmdline_cpp
> ===
> RCS file: archivers/par2cmdline/patches/patch-par2cmdline_cpp
> diff -N archivers/par2cmdline/patches/patch-par2cmdline_cpp
> --- /dev/null 1 Jan 1970 00:00:00 -
> +++ archivers/par2cmdline/patches/patch-par2cmdline_cpp   11 Jun 2016 
> 14:44:22 -
> @@ -0,0 +1,57 @@
> +$OpenBSD$
> +
> +pledge:
> +'par2 create' - stdio rpath wpath cpath
> +creates and writes par files
> +
> +'par2 repair' - stdio rpath wpath cpath
> +renames and deletes partial/damaged files, writes repaired files
> +
> +'par2 verify' - stdio rpath cpath
> +may delete par files, only if -p option was given, otherwise
> +cpath is not required
> +
> +--- par2cmdline.cpp.orig Wed Jun  8 23:31:42 2016
>  par2cmdline.cpp  Wed Jun  8 23:38:36 2016

Re: NEW sysutils/exfat-utils 1.2.3 port

2016-06-03 Thread Mikolaj Kucharski
On Tue, May 31, 2016 at 09:11:16PM +0100, Mikolaj Kucharski wrote:
> On Mon, May 30, 2016 at 11:01:12PM +0100, Mikolaj Kucharski wrote:
> > Hi,
> > 
> > Another port handful while dealing with exFAT filesystem. Quote from
> > DESCR:
> > 
> > > Utilities to manage extended file allocation table filesystem. This
> > > package provides tools to create, check and label the filesystem.
> > >
> > > It contains dumpexfat to dump properties of the filesystem, exfatfsck to
> > > report errors found on a exFAT filesystem, exfatlabel to label a exFAT
> > > filesystem and mkexfatfs to create a exFAT filesystem.
> > 
> > I didn't find nicer way for automake no-installman option in
> > configure.ac, so decided to patch Makefile.in files.
> 
> New port with modified permit lines, based on discussion in fuse-exfat
> thread.

Upstream decided to install manual pages by default and released 1.2.4.
Patches are not needed any more. Updated port of exfat-utils attached.

-- 
best regards
q#


exfat-utils-1.2.4-port.tgz
Description: application/tar-gz


Re: NEW sysutils/fuse-exfat 1.2.3 port

2016-06-03 Thread Mikolaj Kucharski
On Tue, May 31, 2016 at 09:09:43PM +0100, Mikolaj Kucharski wrote:
> On Tue, May 31, 2016 at 03:31:14PM +0200, Dmitrij D. Czarkoff wrote:
> > Mikolaj Kucharski said:
> > > Are you saying I should modify port to include:
> > > 
> > > PERMIT_PACKAGE_CDROM =patents
> > > PERMIT_PACKAGE_FTP =  Yes
> > 
> > This is what we normally do in such cases.  I would be happy to import
> > it with this change.  OK?
> 
> Yeah, that sounds fine. I'm attaching new port which includes above
> permit lines and also some other tiny changes.

Upstream decided to install manual pages by default and released 1.2.4.
Patches are not needed any more. Updated port of fuse-exfat attached.

-- 
best regards
q#


fuse-exfat-1.2.4-port.tgz
Description: application/tar-gz


Re: NEW sysutils/exfat-utils 1.2.3 port

2016-05-31 Thread Mikolaj Kucharski
On Mon, May 30, 2016 at 11:01:12PM +0100, Mikolaj Kucharski wrote:
> Hi,
> 
> Another port handful while dealing with exFAT filesystem. Quote from
> DESCR:
> 
> > Utilities to manage extended file allocation table filesystem. This
> > package provides tools to create, check and label the filesystem.
> >
> > It contains dumpexfat to dump properties of the filesystem, exfatfsck to
> > report errors found on a exFAT filesystem, exfatlabel to label a exFAT
> > filesystem and mkexfatfs to create a exFAT filesystem.
> 
> I didn't find nicer way for automake no-installman option in
> configure.ac, so decided to patch Makefile.in files.

New port with modified permit lines, based on discussion in fuse-exfat
thread.

-- 
best regards
q#


exfat-utils-1.2.3-port-v2.tgz
Description: application/tar-gz


Re: NEW sysutils/fuse-exfat 1.2.3 port

2016-05-31 Thread Mikolaj Kucharski
On Tue, May 31, 2016 at 03:31:14PM +0200, Dmitrij D. Czarkoff wrote:
> Mikolaj Kucharski said:
> > Are you saying I should modify port to include:
> > 
> > PERMIT_PACKAGE_CDROM =  patents
> > PERMIT_PACKAGE_FTP =Yes
> 
> This is what we normally do in such cases.  I would be happy to import
> it with this change.  OK?

Yeah, that sounds fine. I'm attaching new port which includes above
permit lines and also some other tiny changes.

-- 
best regards
q#


fuse-exfat-1.2.3-port-v2.tgz
Description: application/tar-gz


Re: NEW sysutils/fuse-exfat 1.2.3 port

2016-05-31 Thread Mikolaj Kucharski
Ray,

On Tue, May 31, 2016 at 03:18:02PM +0800, Ray Lai wrote:
> On Tue, May 31, 2016 at 4:28 AM, Mikolaj Kucharski <miko...@kucharski.name>
> wrote:
> > New port of fuse-exfat, quote form DESCR:
> > >  fuse-exfat aims to provide a full-featured exFAT file system
> > >  implementaiton for Unix-like systems as a FUSE module.
> > 
> > Tested on SDXC card with exFAT. Seems to work, both read and write.
> 
> There may be patent issues:
> http://www.linux-magazine.com/Issues/2013/156/exFAT-Filesystem

Are you saying I should modify port to include:

PERMIT_PACKAGE_CDROM =  patents
PERMIT_PACKAGE_FTP =Yes

I'm not sure, how should I modify the port after your comment.

-- 
best regards
q#



NEW sysutils/exfat-utils 1.2.3 port

2016-05-30 Thread Mikolaj Kucharski
Hi,

Another port handful while dealing with exFAT filesystem. Quote from
DESCR:

> Utilities to manage extended file allocation table filesystem. This
> package provides tools to create, check and label the filesystem.
>
> It contains dumpexfat to dump properties of the filesystem, exfatfsck to
> report errors found on a exFAT filesystem, exfatlabel to label a exFAT
> filesystem and mkexfatfs to create a exFAT filesystem.

I didn't find nicer way for automake no-installman option in
configure.ac, so decided to patch Makefile.in files.

-- 
best regards
q#


exfat-utils-1.2.3-port.tgz
Description: application/tar-gz


Re: NEW sysutils/fuse-exfat 1.2.3 port

2016-05-30 Thread Mikolaj Kucharski
Sorry, for unrelated distfile inside the port tarball.

-- 
best regards
q#



Re: [update] SABnzbd to 1.0.0

2016-03-20 Thread Mikolaj Kucharski
On Fri, Mar 18, 2016 at 10:31:02AM +1300, Carlin Bingham wrote:
> Here it is with the redundant EXTRACT_SUFX fixed.

This seems to work fine. I did need to repair the queue, like advised
in the sabnzbd release notes to see queue from the previous sabnzbd
version. So far didn't notice any issues. Tested on amd64.

Not sure would be useful to put short note about the upgrade in a
package readme file?


> Index: news/sabnzbd/Makefile
> ===
> RCS file: /cvs/ports/news/sabnzbd/Makefile,v
> retrieving revision 1.7
> diff -u -p -u -r1.7 Makefile
> --- news/sabnzbd/Makefile 2 Nov 2015 11:56:54 -   1.7
> +++ news/sabnzbd/Makefile 17 Mar 2016 20:12:30 -
> @@ -1,18 +1,17 @@
>  # $OpenBSD: Makefile,v 1.7 2015/11/02 11:56:54 espie Exp $
>  
>  COMMENT =retrieve and process nzb-files via web interface
> -VERSION =0.7.20
> +VERSION =1.0.0
>  DISTNAME =   SABnzbd-${VERSION}-src
>  PKGNAME =sabnzbd-${VERSION}
>  CATEGORIES = news
>  HOMEPAGE =   http://sabnzbd.org/
>  MAINTAINER = Marcus Glocker 
> -REVISION =   0
>  
>  # GPLv2
>  PERMIT_PACKAGE_CDROM =   Yes
>  
> -MASTER_SITES =   ${MASTER_SITE_SOURCEFORGE:=sabnzbdplus/}
> +MASTER_SITES =   
> https://github.com/sabnzbd/sabnzbd/releases/download/${VERSION}/
>  
>  MODULES =lang/python
>  
> Index: news/sabnzbd/distinfo
> ===
> RCS file: /cvs/ports/news/sabnzbd/distinfo,v
> retrieving revision 1.3
> diff -u -p -u -r1.3 distinfo
> --- news/sabnzbd/distinfo 17 Apr 2015 11:43:09 -  1.3
> +++ news/sabnzbd/distinfo 17 Mar 2016 20:12:30 -
> @@ -1,2 +1,2 @@
> -SHA256 (SABnzbd-0.7.20-src.tar.gz) = 
> ILOkYToOze3k/f62KK6AbkWKwab7aEMGMo3U7R+vh0I=
> -SIZE (SABnzbd-0.7.20-src.tar.gz) = 2389762
> +SHA256 (SABnzbd-1.0.0-src.tar.gz) = 
> dXPfr9bztR6Jn0dDbeDgs9joOlaOKm8PPaCqofPUz6o=
> +SIZE (SABnzbd-1.0.0-src.tar.gz) = 2973807
> Index: news/sabnzbd/pkg/PLIST
> ===
> RCS file: /cvs/ports/news/sabnzbd/pkg/PLIST,v
> retrieving revision 1.3
> diff -u -p -u -r1.3 PLIST
> --- news/sabnzbd/pkg/PLIST17 Apr 2015 11:43:09 -  1.3
> +++ news/sabnzbd/pkg/PLIST17 Mar 2016 20:12:31 -
> @@ -9,29 +9,32 @@ bin/sabnzbd
>  @group
>  lib/python${MODPY_VERSION}/site-packages/sabnzbd/
>  lib/python${MODPY_VERSION}/site-packages/sabnzbd/ABOUT.txt
> -lib/python${MODPY_VERSION}/site-packages/sabnzbd/CHANGELOG.txt
>  lib/python${MODPY_VERSION}/site-packages/sabnzbd/COPYRIGHT.txt
>  lib/python${MODPY_VERSION}/site-packages/sabnzbd/GPL2.txt
>  lib/python${MODPY_VERSION}/site-packages/sabnzbd/GPL3.txt
>  lib/python${MODPY_VERSION}/site-packages/sabnzbd/INSTALL.txt
>  lib/python${MODPY_VERSION}/site-packages/sabnzbd/ISSUES.txt
> +lib/python${MODPY_VERSION}/site-packages/sabnzbd/LICENSE.txt
>  lib/python${MODPY_VERSION}/site-packages/sabnzbd/PKG-INFO
>  lib/python${MODPY_VERSION}/site-packages/sabnzbd/README.txt
>  lib/python${MODPY_VERSION}/site-packages/sabnzbd/SABHelper.py
>  lib/python${MODPY_VERSION}/site-packages/sabnzbd/SABHelper.pyc
>  lib/python${MODPY_VERSION}/site-packages/sabnzbd/SABnzbd.py
>  lib/python${MODPY_VERSION}/site-packages/sabnzbd/SABnzbd.pyc
> -lib/python${MODPY_VERSION}/site-packages/sabnzbd/Sample-PostProc.cmd
> -lib/python${MODPY_VERSION}/site-packages/sabnzbd/Sample-PostProc.sh
>  lib/python${MODPY_VERSION}/site-packages/sabnzbd/cherrypy/
>  lib/python${MODPY_VERSION}/site-packages/sabnzbd/cherrypy/LICENSE.txt
> +lib/python${MODPY_VERSION}/site-packages/sabnzbd/cherrypy/Patch-for-CP-3.8.0.diff
>  lib/python${MODPY_VERSION}/site-packages/sabnzbd/cherrypy/VERSION.txt
>  lib/python${MODPY_VERSION}/site-packages/sabnzbd/cherrypy/__init__.py
>  lib/python${MODPY_VERSION}/site-packages/sabnzbd/cherrypy/__init__.pyc
> -lib/python${MODPY_VERSION}/site-packages/sabnzbd/cherrypy/_cpcgifs.py
> -lib/python${MODPY_VERSION}/site-packages/sabnzbd/cherrypy/_cpcgifs.pyc
> +lib/python${MODPY_VERSION}/site-packages/sabnzbd/cherrypy/__main__.py
> +lib/python${MODPY_VERSION}/site-packages/sabnzbd/cherrypy/__main__.pyc
>  lib/python${MODPY_VERSION}/site-packages/sabnzbd/cherrypy/_cpchecker.py
>  lib/python${MODPY_VERSION}/site-packages/sabnzbd/cherrypy/_cpchecker.pyc
> +lib/python${MODPY_VERSION}/site-packages/sabnzbd/cherrypy/_cpcompat.py
> +lib/python${MODPY_VERSION}/site-packages/sabnzbd/cherrypy/_cpcompat.pyc
> +lib/python${MODPY_VERSION}/site-packages/sabnzbd/cherrypy/_cpcompat_subprocess.py
> +lib/python${MODPY_VERSION}/site-packages/sabnzbd/cherrypy/_cpcompat_subprocess.pyc
>  lib/python${MODPY_VERSION}/site-packages/sabnzbd/cherrypy/_cpconfig.py
>  

UPDATE: textproc/p5-Text-Unidecode 1.27

2016-03-13 Thread Mikolaj Kucharski
Hi,

Update to 1.27. As makefile is very simple and my initiall change was
just version bump, I've also modified whitespaces around equal signs.
Regress tests pass. ChangeLog at:

http://cpansearch.perl.org/src/SBURKE/Text-Unidecode-1.27/ChangeLog


Index: Makefile
===
RCS file: /cvs/ports/textproc/p5-Text-Unidecode/Makefile,v
retrieving revision 1.13
diff -u -p -u -r1.13 Makefile
--- Makefile13 Dec 2014 10:48:15 -  1.13
+++ Makefile13 Mar 2016 10:11:34 -
@@ -1,14 +1,14 @@
 # $OpenBSD: Makefile,v 1.13 2014/12/13 10:48:15 benoit Exp $
 
-COMMENT=   US-ASCII transliterations of Unicode text
+COMMENT =  US-ASCII transliterations of Unicode text
 
-MODULES=   cpan
-DISTNAME=  Text-Unidecode-1.23
-CATEGORIES=textproc
+MODULES =  cpan
+DISTNAME = Text-Unidecode-1.27
+CATEGORIES =   textproc
 
-MAINTAINER=Mikolaj Kucharski <miko...@kucharski.name>
+MAINTAINER =   Mikolaj Kucharski <miko...@kucharski.name>
 
 # Perl
-PERMIT_PACKAGE_CDROM=  Yes
+PERMIT_PACKAGE_CDROM = Yes
 
 .include 
Index: distinfo
===
RCS file: /cvs/ports/textproc/p5-Text-Unidecode/distinfo,v
retrieving revision 1.5
diff -u -p -u -r1.5 distinfo
--- distinfo13 Dec 2014 10:48:15 -  1.5
+++ distinfo13 Mar 2016 10:11:34 -
@@ -1,2 +1,2 @@
-SHA256 (Text-Unidecode-1.23.tar.gz) = 
yx12HtzU6iV2NyZDRxPDFX1IrH11vie+0QvAqk7B1tY=
-SIZE (Text-Unidecode-1.23.tar.gz) = 130431
+SHA256 (Text-Unidecode-1.27.tar.gz) = 
EYdqkPDOhY0xID6A1ikAODu2Qu2KRwxnU5tgfyp3LQI=
+SIZE (Text-Unidecode-1.27.tar.gz) = 134929


-- 
best regards
q#



Re: NEW: net/p5-NetAddr-MAC

2016-03-11 Thread Mikolaj Kucharski
On Thu, Mar 03, 2016 at 01:14:16PM +, Mikolaj Kucharski wrote:
> On Mon, Feb 29, 2016 at 11:07:25PM +, Stuart Henderson wrote:
> > portgen uses cpan as a default CATEGORIES entry, but I don't think
> > it should actually be included in port Makefiles. (If we do want to
> > add that as a real category then it should be done in cpan.port.mk,
> > but I don't think it's really useful).
> > 
> > Rest looks reasonable but DESCR could maybe do with being fleshed
> > out a bit, the first 2 paragraphs of
> > http://search.cpan.org/~djzort/NetAddr-MAC-0.94/lib/NetAddr/MAC.pm#DESCRIPTION
> > look suitable.
> 
> - removed cpan from categories
> - modified comment line
> - modified description of the package
> 

Ping

https://marc.info/?t=14567040261=1=2

-- 
best regards
q#



NEW: net/p5-NetAddr-MAC

2016-02-28 Thread Mikolaj Kucharski
Hi,

Perl module to handle hardware MAC addresses (EUI-48 and EUI-64)

Regress test pass. Port generated with portgen(1)

Comments?

-- 
best regards
q#


p5-NetAddr-MAC.tgz
Description: application/tar-gz


NEW: books/rfc again

2015-11-20 Thread Mikolaj Kucharski
Hi,

I like simple port shared by Peter few weeks ago. Here is
slightly tweaked version with manpage from David Dahlberg.

I found this port useful. Comments?

I didn't address issue with changing rfc-index.txt and bcp-index.txt
files. Should they be packaged by hand and hosted in separate tarball
for example?

-- 
best regards
q#


books-rfc.tgz
Description: application/tar-gz


Does wpa_supplicant needs revision bump, network stack changes?

2015-10-08 Thread Mikolaj Kucharski
Hi,

This question is probably not only about wpa_supplicant, but I was
affected by that one port, so will write what I've noticed.

I've upgraded to:

OpenBSD 5.8-current (GENERIC.MP) #1440: Thu Oct  8 07:52:55 MDT 2015
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP

and upgraded all ports to the latest snapshot (for example
wpa_supplicant-2.5, digital-signature signify:2015-10-06T16:46:04Z)

After reboot I could not connect to wifi and to wired networks with
wpa_supplicant as it failed in both cases as follows:

# wpa_supplicant -c /etc/wpa_supplicant.conf -D openbsd -i iwn0
Successfully initialized wpa_supplicant
Failed to get link-level address for interface 'iwn0'.

I've recompiled the package and pkg_add -Dinstalled it and it's all good
now. However, I've looked at security/wpa_supplicant ports directory and
pkg_info -f output for old and new package and I don't see any wantlib
bumps in binary package nor revision bumps in the port.

Does that mean if someone installs wpa_supplicant today like me and
later new package snapshot arrives with fixed wpa_supplicant, it will
not get upgraded, right?

Should wpa_supplicant (and maybe other networking ports) get rev bump?

I'm not sure what changed recently in networking stack to affect this.

-- 
best regards
q#



Re: UPDATE: par2cmdline 0.6.14 + fix for recovery issues

2015-10-05 Thread Mikolaj Kucharski
On Mon, Oct 05, 2015 at 01:40:16PM +0200, Jrmie Courr??ges-Anglas wrote:
> Mikolaj: note that upstream already has AC_C_BIGENDIAN in its
> configure.ac and already uses it... *except* when the system has an
>  include file.  That special case is where the bug was
> introduced; what was the reason for this special case?

Okay, I've looked at all this again and I think I know what you mean.
That part of the code which I think you are referring to (#if
HAVE_ENDIAN_H in par2cmdline.h) didn't change. There was par2cmdline 0.4
in OpenBSD 5.5 and exactly the same version is in OpenBSD 5.6 and
__BYTE_ORDER define stopped to be defined properly in 5.6.

Your question pointed me to look at endian.h detection under OpenBSD 5.5
and 5.6 for par2cmdline 0.4 (as update to 0.6.14 is unrelated to
endianess problem) and bingo:

OpenBSD 5.5:

checking endian.h usability... no
checking endian.h presence... no
checking for endian.h... no


OpenBSD 5.6:

checking endian.h usability... yes
checking endian.h presence... yes
checking for endian.h... yes


config.log for 5.5 says:

configure:4611: checking endian.h usability
configure:4623: cc -c -O2 -pipe  conftest.c >&5
conftest.c:63:20: error: endian.h: No such file or directory


openbsd55$ find /usr/include/ | grep endian.h
/usr/include/amd64/endian.h
/usr/include/sys/endian.h

openbsd56$ find /usr/include/ | grep endian.h
/usr/include/amd64/endian.h
/usr/include/endian.h
/usr/include/sys/_endian.h
/usr/include/sys/endian.h


However, I'm still not sure how to answer your question, about why they
wrote par2cmdline.h the way it's written, if it's that what you are actually
asking for, Jeremie.

-- 
best regards
q#



Re: UPDATE: par2cmdline 0.6.14 + fix for recovery issues

2015-10-05 Thread Mikolaj Kucharski
On Mon, Oct 05, 2015 at 01:40:16PM +0200, Jrmie Courr??ges-Anglas wrote:
> Stuart Henderson <st...@openbsd.org> writes:
> 
> > On 2015/10/04 22:41, Mikolaj Kucharski wrote:
> >> On Sun, Oct 04, 2015 at 10:15:12PM +0100, Mikolaj Kucharski wrote:
> >> > I would appreciate if someone look is my change sane. As this is long
> >> > overdue update from 0.4 to 0.6 which has also different upstream, I
> >> > decided to include whitespace changes in Makefile, as this update is
> >> > intrusive.
> >> 
> >> - switch to sed -i
> >> - fix regress tests
> >> - all regress tests pass
> >
> > Looks good to me. The patch-README diff in your mail doesn't apply
> > directly, but it's just 'cvs rm' anyway so that's easy to fix.
> >
> > Would you be interested in taking MAINTAINER?
> 
> FWIW, looks good to me too, ok jca@
> 
> Mikolaj: note that upstream already has AC_C_BIGENDIAN in its
> configure.ac and already uses it... *except* when the system has an
>  include file.  That special case is where the bug was
> introduced; what was the reason for this special case?

I would need to look into this, as at the moment I'm not sure what do
you mean. I'm not that familiar with autotools magic.

I'm not upstream, so I don't know what was the reason for this special
case.

> Which reminds me that some versions of AC_C_BIGENDIAN are broken on
> powerpc...

-- 
best regards
q#



Re: UPDATE: par2cmdline 0.6.14 + fix for recovery issues

2015-10-05 Thread Mikolaj Kucharski
On Mon, Oct 05, 2015 at 10:33:03AM +0100, Stuart Henderson wrote:
> On 2015/10/04 22:41, Mikolaj Kucharski wrote:
> > On Sun, Oct 04, 2015 at 10:15:12PM +0100, Mikolaj Kucharski wrote:
> > > I would appreciate if someone look is my change sane. As this is long
> > > overdue update from 0.4 to 0.6 which has also different upstream, I
> > > decided to include whitespace changes in Makefile, as this update is
> > > intrusive.
> > 
> > - switch to sed -i
> > - fix regress tests
> > - all regress tests pass
> 
> Looks good to me. The patch-README diff in your mail doesn't apply
> directly, but it's just 'cvs rm' anyway so that's easy to fix.

Maybe because ^M got list.

> Would you be interested in taking MAINTAINER?

Sure, I think I can take it.

-- 
best regards
q#



UPDATE: par2cmdline 0.6.14 + fix for recovery issues

2015-10-04 Thread Mikolaj Kucharski
Hi,

I finally looked into the issue with par2cmdline and it seems that
somewhere between OpenBSD 5.5 and 5.6 behaviour changed in gcc and
it surfaced issue with defines in par2cmdline.

Below patch updates par2cmdline to 0.6.14 and includes my patch
which seems to fix the issue for me.

Discussion around this problem started in this thread on ports@

https://marc.info/?t=14306977903=1=2

I've reported this problem to upstream:

https://github.com/Parchive/par2cmdline/issues/55

and my pull request is at:

https://github.com/Parchive/par2cmdline/pull/60

I would appreciate if someone look is my change sane. As this is long
overdue update from 0.4 to 0.6 which has also different upstream, I
decided to include whitespace changes in Makefile, as this update is
intrusive.



Index: Makefile
===
RCS file: /cvs/ports/archivers/par2cmdline/Makefile,v
retrieving revision 1.10
diff -u -p -u -r1.10 Makefile
--- Makefile19 Apr 2015 17:52:47 -  1.10
+++ Makefile4 Oct 2015 17:42:30 -
@@ -1,22 +1,44 @@
 # $OpenBSD: Makefile,v 1.10 2015/04/19 17:52:47 jca Exp $
 
-COMMENT=   command line implementation of the PAR v2.0 specification
-DISTNAME=  par2cmdline-0.4
-REVISION=  2
-CATEGORIES=archivers
-MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=parchive/}
+COMMENT =  command line implementation of the PAR v2.0 specification
 
-HOMEPAGE=  http://parchive.sourceforge.net/\#client_par2cmdline
+V =0.6.14
+DISTNAME = par2cmdline-$V
+DISTFILES =${DISTNAME}{v$V}.tar.gz
 
-# GPL
-PERMIT_PACKAGE_CDROM=  Yes
+CATEGORIES =   archivers
 
-WANTLIB=   c m stdc++
+HOMEPAGE = https://github.com/BlackIkeEagle/par2cmdline/
 
-CONFIGURE_STYLE=gnu
+# GPLv2+
+PERMIT_PACKAGE_CDROM = Yes
+
+WANTLIB =  c m stdc++
+
+MASTER_SITES = ${HOMEPAGE}archive/
+
+BUILD_DEPENDS =${MODGNU_AUTOCONF_DEPENDS} \
+   ${MODGNU_AUTOMAKE_DEPENDS}
+
+CONFIGURE_STYLE =  gnu
+
+AUTOCONF_VERSION = 2.69
+AUTOMAKE_VERSION = 1.15
+
+MAKE_ENV = AUTOCONF_VERSION=${AUTOCONF_VERSION} \
+   AUTOMAKE_VERSION=${AUTOMAKE_VERSION}
+
+post-patch:
+   cd ${WRKSRC}; \
+   export AUTOCONF_VERSION=${AUTOCONF_VERSION}; \
+   export AUTOMAKE_VERSION=${AUTOMAKE_VERSION}; \
+   aclocal; automake --add-missing; autoconf
 
 post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/par2cmdline
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/par2cmdline
+
+pre-test:
+   perl -pi -e 's,^tar -xf,tar -xzf,' ${WRKSRC}/tests/test*
 
 .include 
Index: distinfo
===
RCS file: /cvs/ports/archivers/par2cmdline/distinfo,v
retrieving revision 1.5
diff -u -p -u -r1.5 distinfo
--- distinfo4 Apr 2013 16:03:56 -   1.5
+++ distinfo4 Oct 2015 17:42:30 -
@@ -1,2 +1,2 @@
-SHA256 (par2cmdline-0.4.tar.gz) = njK32897yoJJ+YgkdX1IaHFBVv4idlFlBM0m9zbp9nc=
-SIZE (par2cmdline-0.4.tar.gz) = 239312
+SHA256 (par2cmdline-0.6.14.tar.gz) = 
L9gxupJNnw7NkkLKRVUbaZXt4e0oGveaow50kNVZbno=
+SIZE (par2cmdline-0.6.14.tar.gz) = 3539262
Index: patches/patch-Makefile_in
===
RCS file: patches/patch-Makefile_in
diff -N patches/patch-Makefile_in
--- patches/patch-Makefile_in   27 Jun 2004 23:06:47 -  1.2
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,11 +0,0 @@
-$OpenBSD: patch-Makefile_in,v 1.2 2004/06/27 23:06:47 jolan Exp $
 Makefile.in.orig   Mon Apr 12 11:44:18 2004
-+++ Makefile.inSun Jun 27 17:56:29 2004
-@@ -669,7 +669,6 @@ install-data-am:
- 
- install-exec-am: install-binPROGRAMS
-   @$(NORMAL_INSTALL)
--  $(MAKE) $(AM_MAKEFLAGS) install-exec-hook
- 
- install-info: install-info-am
- 
Index: patches/patch-README
===
RCS file: patches/patch-README
diff -N patches/patch-README
--- patches/patch-README9 May 2010 15:30:53 -   1.2
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,16 +0,0 @@
-$OpenBSD: patch-README,v 1.2 2010/05/09 15:30:53 robert Exp $
 README.origThu Apr 22 16:46:05 2004
-+++ README Sun May  9 17:23:38 2010
-@@ -81,12 +81,6 @@ The command line parameters for par2cmdline are as fol
- par2 v(erify) [options]  [files]
- par2 r(epair) [options]  [files]
- 
--  Also:
--
--par2create [options]  [files]
--par2verify [options]  [files]
--par2repair [options]  [files]
--
-   Options:
- 
- -b  : Set the Block-Count
Index: patches/patch-diskfile_cpp
===
RCS file: patches/patch-diskfile_cpp
diff -N patches/patch-diskfile_cpp
--- patches/patch-diskfile_cpp  9 May 2010 15:30:53 -   1.3
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,21 +0,0 @@
-$OpenBSD: patch-diskfile_cpp,v 1.3 2010/05/09 

Re: UPDATE: par2cmdline 0.6.14 + fix for recovery issues

2015-10-04 Thread Mikolaj Kucharski
On Sun, Oct 04, 2015 at 10:15:12PM +0100, Mikolaj Kucharski wrote:
> Hi,
> 
> I finally looked into the issue with par2cmdline and it seems that
> somewhere between OpenBSD 5.5 and 5.6 behaviour changed in gcc and
> it surfaced issue with defines in par2cmdline.
> 
> Below patch updates par2cmdline to 0.6.14 and includes my patch
> which seems to fix the issue for me.
> 
> Discussion around this problem started in this thread on ports@
> 
>   https://marc.info/?t=14306977903=1=2
> 
> I've reported this problem to upstream:
> 
>   https://github.com/Parchive/par2cmdline/issues/55
> 
> and my pull request is at:
> 
>   https://github.com/Parchive/par2cmdline/pull/60
> 
> I would appreciate if someone look is my change sane. As this is long
> overdue update from 0.4 to 0.6 which has also different upstream, I
> decided to include whitespace changes in Makefile, as this update is
> intrusive.

- switch to sed -i
- fix regress tests
- all regress tests pass


Index: Makefile
===
RCS file: /cvs/ports/archivers/par2cmdline/Makefile,v
retrieving revision 1.10
diff -u -p -u -r1.10 Makefile
--- Makefile19 Apr 2015 17:52:47 -  1.10
+++ Makefile4 Oct 2015 21:37:28 -
@@ -1,22 +1,44 @@
 # $OpenBSD: Makefile,v 1.10 2015/04/19 17:52:47 jca Exp $
 
-COMMENT=   command line implementation of the PAR v2.0 specification
-DISTNAME=  par2cmdline-0.4
-REVISION=  2
-CATEGORIES=archivers
-MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=parchive/}
+COMMENT =  command line implementation of the PAR v2.0 specification
 
-HOMEPAGE=  http://parchive.sourceforge.net/\#client_par2cmdline
+V =0.6.14
+DISTNAME = par2cmdline-$V
+DISTFILES =${DISTNAME}{v$V}.tar.gz
 
-# GPL
-PERMIT_PACKAGE_CDROM=  Yes
+CATEGORIES =   archivers
 
-WANTLIB=   c m stdc++
+HOMEPAGE = https://github.com/BlackIkeEagle/par2cmdline/
 
-CONFIGURE_STYLE=gnu
+# GPLv2+
+PERMIT_PACKAGE_CDROM = Yes
+
+WANTLIB =  c m stdc++
+
+MASTER_SITES = ${HOMEPAGE}archive/
+
+BUILD_DEPENDS =${MODGNU_AUTOCONF_DEPENDS} \
+   ${MODGNU_AUTOMAKE_DEPENDS}
+
+CONFIGURE_STYLE =  gnu
+
+AUTOCONF_VERSION = 2.69
+AUTOMAKE_VERSION = 1.15
+
+MAKE_ENV = AUTOCONF_VERSION=${AUTOCONF_VERSION} \
+   AUTOMAKE_VERSION=${AUTOMAKE_VERSION}
+
+post-patch:
+   cd ${WRKSRC}; \
+   export AUTOCONF_VERSION=${AUTOCONF_VERSION}; \
+   export AUTOMAKE_VERSION=${AUTOMAKE_VERSION}; \
+   aclocal; automake --add-missing; autoconf
 
 post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/par2cmdline
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/par2cmdline
+
+pre-test:
+   sed -i -e 's,^tar -xf,tar -xzf,' ${WRKSRC}/tests/test*
 
 .include 
Index: distinfo
===
RCS file: /cvs/ports/archivers/par2cmdline/distinfo,v
retrieving revision 1.5
diff -u -p -u -r1.5 distinfo
--- distinfo4 Apr 2013 16:03:56 -   1.5
+++ distinfo4 Oct 2015 21:37:28 -
@@ -1,2 +1,2 @@
-SHA256 (par2cmdline-0.4.tar.gz) = njK32897yoJJ+YgkdX1IaHFBVv4idlFlBM0m9zbp9nc=
-SIZE (par2cmdline-0.4.tar.gz) = 239312
+SHA256 (par2cmdline-0.6.14.tar.gz) = 
L9gxupJNnw7NkkLKRVUbaZXt4e0oGveaow50kNVZbno=
+SIZE (par2cmdline-0.6.14.tar.gz) = 3539262
Index: patches/patch-Makefile_in
===
RCS file: patches/patch-Makefile_in
diff -N patches/patch-Makefile_in
--- patches/patch-Makefile_in   27 Jun 2004 23:06:47 -  1.2
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,11 +0,0 @@
-$OpenBSD: patch-Makefile_in,v 1.2 2004/06/27 23:06:47 jolan Exp $
 Makefile.in.orig   Mon Apr 12 11:44:18 2004
-+++ Makefile.inSun Jun 27 17:56:29 2004
-@@ -669,7 +669,6 @@ install-data-am:
- 
- install-exec-am: install-binPROGRAMS
-   @$(NORMAL_INSTALL)
--  $(MAKE) $(AM_MAKEFLAGS) install-exec-hook
- 
- install-info: install-info-am
- 
Index: patches/patch-README
===
RCS file: patches/patch-README
diff -N patches/patch-README
--- patches/patch-README9 May 2010 15:30:53 -   1.2
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,16 +0,0 @@
-$OpenBSD: patch-README,v 1.2 2010/05/09 15:30:53 robert Exp $
 README.origThu Apr 22 16:46:05 2004
-+++ README Sun May  9 17:23:38 2010
-@@ -81,12 +81,6 @@ The command line parameters for par2cmdline are as fol
- par2 v(erify) [options]  [files]
- par2 r(epair) [options]  [files]
- 
--  Also:
--
--par2create [options]  [files]
--par2verify [options]  [files]
--par2repair [options]  [files]
--
-   Options:
- 
- -b  : Set the Block-Count
Index: patches/patch-diskfile_cpp

openvpn-2.3.8p1 segv in libcrypto BN_bn2dec on OpenBSD/i386 current Sep 16, 2015

2015-09-17 Thread Mikolaj Kucharski
Hi,

Does anyone see this as well? I've just upgraded to:

OpenBSD 5.8-current (GENERIC) #1164: Wed Sep 16 21:16:53 MDT 2015
dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC

and to openvpn-2.3.8 from packages but it segfaulted during connecting
by remote client. Then I've recompiled by hand with DEBUG='-g' from
ports and now running openvpn-2.3.8p1, but facing the same issue.

To be able to get core dump, needed to run openvpn as root, but the same
segfault happens when openvpn drops priviliges.

Before that I was running snapshot from Aug 13 with packages and I
didn't had that problem.

Let me know if you need any more info.


# /usr/local/sbin/openvpn --cd /etc/openvpn --config server.conf --mtu-test
Thu Sep 17 22:16:17 2015 OpenVPN 2.3.8 i386-unknown-openbsd5.8 [SSL (OpenSSL)] 
[LZO] [MH] [IPv6] built on Sep 17 2015
Thu Sep 17 22:16:17 2015 library versions: LibreSSL 2.3.0, LZO 2.09
Thu Sep 17 22:16:17 2015 mlockall call succeeded
Thu Sep 17 22:16:17 2015 WARNING: you are using chroot without specifying user 
and group -- this may cause the chroot jail to be insecure
Thu Sep 17 22:16:22 2015 Diffie-Hellman initialized with 4096 bit key
Thu Sep 17 22:16:22 2015 Control Channel Authentication: using 'certs/hmac.key' 
as a OpenVPN static key file
Thu Sep 17 22:16:22 2015 Outgoing Control Channel Authentication: Using 512 bit 
message hash 'SHA512' for HMAC authentication
Thu Sep 17 22:16:22 2015 Incoming Control Channel Authentication: Using 512 bit 
message hash 'SHA512' for HMAC authentication
Thu Sep 17 22:16:22 2015 Socket Buffers: R=[41600->65536] S=[9216->65536]
Thu Sep 17 22:16:22 2015 TUN/TAP device tun2 exists previously, keep at program 
end
Thu Sep 17 22:16:22 2015 TUN/TAP device /dev/tun2 opened
Thu Sep 17 22:16:22 2015 do_ifconfig, tt->ipv6=1, tt->did_ifconfig_ipv6_setup=1
Thu Sep 17 22:16:22 2015 /sbin/ifconfig tun2 192.168.202.1 192.168.202.1 mtu 
1500 netmask 255.255.255.0 up -link0
Thu Sep 17 22:16:22 2015 /sbin/ifconfig tun2 inet6 
2001:::::::1/64
Thu Sep 17 22:16:22 2015 add_route_ipv6(2001:::::::/64 
-> 2001:::::::1 metric 0) dev tun2
Thu Sep 17 22:16:22 2015 /sbin/route add -inet6 
2001::::::: -prefixlen 64 
2001:::::::1
route: writing to routing socket: File exists
add net 2001:::::::: gateway 
2001:::::::1: File exists
Thu Sep 17 22:16:22 2015 ERROR: OpenBSD route add -inet6 command failed: 
external program exited with error status: 1
Thu Sep 17 22:16:22 2015 /sbin/route add -net 192.168.202.0 192.168.202.1 
-netmask 255.255.255.0
add net 192.168.202.0: gateway 192.168.202.1
Thu Sep 17 22:16:22 2015 chroot to '/var/openvpn' and cd to '/' succeeded
Thu Sep 17 22:16:22 2015 UDPv4 link local (bound): [undef]
Thu Sep 17 22:16:22 2015 UDPv4 link remote: [undef]
Thu Sep 17 22:16:22 2015 MULTI: multi_init called, r=256 v=256
Thu Sep 17 22:16:22 2015 IFCONFIG POOL IPv6: (IPv4) size=252, size_ipv6=65536, 
netbits=64, base_ipv6=2001:::::::1000
Thu Sep 17 22:16:22 2015 IFCONFIG POOL: base=192.168.202.2 size=252, ipv6=1
Thu Sep 17 22:16:22 2015 Initialization Sequence Completed
Thu Sep 17 22:16:32 2015 83.xxx.xxx.xxx:48100 TLS: Initial packet from 
[AF_INET]83.xxx.xxx.xxx:48100, sid=41b68ea4 12015b6e
Segmentation fault (core dumped) 



(gdb) bt
#0  BN_bn2dec (a=0x805e8460) at 
/usr/src/lib/libcrypto/crypto/../../libssl/src/crypto/bn/bn_print.c:117
#1  0x179a2aa0 in backend_x509_get_serial (cert=0x8308b500, gc=0xcf7d0320) at 
/home/ports/obj/openvpn-2.3.8/openvpn-2.3.8/src/openvpn/ssl_verify_openssl.c:229
#2  0x179a0345 in verify_cert_set_env (x509_track=, 
common_name=, subject=, cert_depth=, peer_cert=, es=0x78d2d230) at 
/home/ports/obj/openvpn-2.3.8/openvpn-2.3.8/src/openvpn/ssl_verify.c:438
#3  verify_cert (session=0x8130a6bc, cert=0x8308b500, cert_depth=0) at 
/home/ports/obj/openvpn-2.3.8/openvpn-2.3.8/src/openvpn/ssl_verify.c:665
#4  0x179a2d26 in verify_callback (preverify_ok=1, ctx=0xcf7d05d4) at 
/home/ports/obj/openvpn-2.3.8/openvpn-2.3.8/src/openvpn/ssl_verify_openssl.c:84
#5  0x05aebfcf in internal_verify (ctx=0xcf7d05d4) at 
/usr/src/lib/libcrypto/crypto/../../libssl/src/crypto/x509/x509_vfy.c:1612
#6  0x05aed6b2 in X509_verify_cert (ctx=0xcf7d05d4) at 
/usr/src/lib/libcrypto/crypto/../../libssl/src/crypto/x509/x509_vfy.c:374
#7  0x092eab0a in ssl_verify_cert_chain (s=0x87394000, sk=0x847b88c0) at 
/usr/src/lib/libssl/ssl/../../libssl/src/ssl/ssl_cert.c:452
#8  0x092e57d4 in ssl3_get_client_certificate (s=0x87394000) at 
/usr/src/lib/libssl/ssl/../../libssl/src/ssl/s3_srvr.c:2385
#9  0x092e96e5 in ssl3_accept (s=0x87394000) at 
/usr/src/lib/libssl/ssl/../../libssl/src/ssl/s3_srvr.c:447
#10 0x092d7f5a in ssl3_read_bytes (s=0x87394000, type=23, buf=0x87395800 "", 
len=2048, peek=0) at /usr/src/lib/libssl/ssl/../../libssl/src/ssl/s3_pkt.c:890
#11 0x092d8f96 in 

Re: openvpn-2.3.8p1 segv in libcrypto BN_bn2dec on OpenBSD/i386 current Sep 16, 2015

2015-09-17 Thread Mikolaj Kucharski
Hi,

On Thu, Sep 17, 2015 at 11:19:59PM +0100, Stuart Henderson wrote:
> CC'ing tech@.
> 
> The last commit to bn_print.c is wrong, it dereferences t while it's still 
> NULL.
> 
> Backout diff below.

Thanks Stuart, recompiling libcrypto with your diff fixed the problem.
OpenVPN doesn't crash any more. Thanks.

-- 
best regards
q#



Re: update: textproc/p5-XML-LibXML textproc/p5-XML-LibXSLT

2015-07-01 Thread Mikolaj Kucharski
Hi,

On Wed, Jul 01, 2015 at 10:38:46PM +0200, Alexander Bluhm wrote:
  @comment $OpenBSD: PLIST,v 1.19 2014/06/14 23:26:02 sthen Exp $
 +@conflict p5-XML-LibXML-Common-*

I'm not sure, but should that PLIST change include @pkgpath marker for
the removed port too?

-- 
best regards
q#



Re: par2cmdline: Main packet not found.

2015-06-29 Thread Mikolaj Kucharski
On Mon, Jun 29, 2015 at 10:09:07AM +0100, Stuart Henderson wrote:
  Giving that 0.6.13 doesn't fix all the problems, I would prefer for now
  to keep changes to minimum and push below update. Tested on current
  amd64.
 
 I don't really understand the point in adding a patch that breaks things
 in the same way as 0.6.13. Surely it's better to just update so at least
 we're using the same code other people use?

If you prefer that way, I don't have that strong opinion about it. It's
fine by me to upgrade to the latest par2cmdline from GitHub.

-- 
best regards
q#



Re: par2cmdline: Main packet not found.

2015-06-26 Thread Mikolaj Kucharski
Hi,

On Tue, May 05, 2015 at 09:09:53PM +0100, Stuart Henderson wrote:
 On 2015/05/04 02:59, heigo wrote:
  par2cmdline doesn't work on 5.7/amd64, just exits with the message:
  Main packet not found.
  
  Works fine on the same machine under 5.5.
  Tried 5.6 also, same result as 5.7.
  
  h.
  
 
 Is this any better? It does not pass all self-tests but might be
 worth committing if it's an improvement over what we have currently.
 
...

I can conform that par2 0.4 stopped working between 5.5 and 5.6 and for
me it constantly gives:

Main packet not found.

I've tested your update to 0.6.12 Stuart, and it is better, as it
properly loads all packets from par2 files, but that version is not able
to repair broken collections.

I've narrowed down which patch fixes breakage for 5.5 - 5.6 change
(main packet not found error) unfortunately par2 0.4 with below changes
also is not able to repair collections like 0.6.13 (I've also tested).

Giving that 0.6.13 doesn't fix all the problems, I would prefer for now
to keep changes to minimum and push below update. Tested on current
amd64.

So currently, below patch and latest 0.6.13 can verify collections, but
are not able to repair them :/


Index: Makefile
===
RCS file: /cvs/ports/archivers/par2cmdline/Makefile,v
retrieving revision 1.10
diff -u -p -u -r1.10 Makefile
--- Makefile19 Apr 2015 17:52:47 -  1.10
+++ Makefile27 Jun 2015 02:34:43 -
@@ -2,7 +2,7 @@
 
 COMMENT=   command line implementation of the PAR v2.0 specification
 DISTNAME=  par2cmdline-0.4
-REVISION=  2
+REVISION=  3
 CATEGORIES=archivers
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=parchive/}
 
Index: patches/patch-letype_h
===
RCS file: patches/patch-letype_h
diff -N patches/patch-letype_h
--- /dev/null   1 Jan 1970 00:00:00 -
+++ patches/patch-letype_h  27 Jun 2015 02:34:43 -
@@ -0,0 +1,151 @@
+$OpenBSD$
+
+- upstream github commit 4a4179f1e42bc11bbcc9d24554690d3bc5c31b38
+
+--- letype.h.orig  Mon May 26 19:01:17 2003
 letype.h   Sat Jun 27 03:02:25 2015
+@@ -28,44 +28,15 @@ typedef u64 leu64;
+ 
+ #else
+ 
+-class leu16
++struct leu16
+ {
+-public:
+-  leu16(void);
+-
+-  leu16(const leu16 other);
+-  leu16 operator=(const leu16 other);
+-
+-  leu16(const u16 other);
+   leu16 operator=(const u16 other);
+ 
+   operator u16(void) const;
+ 
+-protected:
+   u16 value;
+ };
+ 
+-inline leu16::leu16(void)
+-{
+-}
+-
+-inline leu16::leu16(const leu16 other)
+-: value(other.value)
+-{
+-}
+-
+-inline leu16 leu16::operator =(const leu16 other)
+-{
+-  value = other.value;
+-  return *this;
+-}
+-
+-inline leu16::leu16(const u16 other)
+-{
+-  ((unsigned char*)value)[0] = (unsigned char)((other  0)  0xff);
+-  ((unsigned char*)value)[1] = (unsigned char)((other  8)  0xff);
+-}
+-
+ inline leu16 leu16::operator=(const u16 other)
+ {
+   ((unsigned char*)value)[0] = (unsigned char)((other  0)  0xff);
+@@ -81,46 +52,15 @@ inline leu16::operator u16(void) const
+ }
+ 
+ 
+-class leu32
++struct leu32
+ {
+-public:
+-  leu32(void);
+-
+-  leu32(const leu32 other);
+-  leu32 operator=(const leu32 other);
+-
+-  leu32(const u32 other);
+   leu32 operator=(const u32 other);
+ 
+   operator u32(void) const;
+ 
+-protected:
+   u32 value;
+ };
+ 
+-inline leu32::leu32(void)
+-{
+-}
+-
+-inline leu32::leu32(const leu32 other)
+-: value(other.value)
+-{
+-}
+-
+-inline leu32 leu32::operator =(const leu32 other)
+-{
+-  value = other.value;
+-  return *this;
+-}
+-
+-inline leu32::leu32(const u32 other)
+-{
+-  ((unsigned char*)value)[0] = (unsigned char)((other  0)  0xff);
+-  ((unsigned char*)value)[1] = (unsigned char)((other  8)  0xff);
+-  ((unsigned char*)value)[2] = (unsigned char)((other  16)  0xff);
+-  ((unsigned char*)value)[3] = (unsigned char)((other  24)  0xff);
+-}
+-
+ inline leu32 leu32::operator=(const u32 other)
+ {
+   ((unsigned char*)value)[0] = (unsigned char)((other  0)  0xff);
+@@ -140,49 +80,14 @@ inline leu32::operator u32(void) const
+ }
+ 
+ 
+-class leu64
++struct leu64
+ {
+-public:
+-  leu64(void);
+-
+-  leu64(const leu64 other);
+-  leu64 operator=(const leu64 other);
+-
+-  leu64(const u64 other);
+   leu64 operator=(const u64 other);
+ 
+   operator u64(void) const;
+ 
+-protected:
+   u64 value;
+ };
+-
+-inline leu64::leu64(void)
+-{
+-}
+-
+-inline leu64::leu64(const leu64 other)
+-: value(other.value)
+-{
+-}
+-
+-inline leu64 leu64::operator =(const leu64 other)
+-{
+-  value = other.value;
+-  return *this;
+-}
+-
+-inline leu64::leu64(const u64 other)
+-{
+-  ((unsigned char*)value)[0] = (unsigned char)((other  0)  0xff);
+-  ((unsigned char*)value)[1] = (unsigned char)((other  8)  0xff);
+-  ((unsigned char*)value)[2] = (unsigned char)((other  16)  0xff);
+-  ((unsigned char*)value)[3] = (unsigned char)((other  24)  0xff);
+-  ((unsigned char*)value)[4] = (unsigned char)((other  32)  

Re: gnome - can't load library 'libmozjs-24.so.0.0'

2015-05-23 Thread Mikolaj Kucharski
On Sun, May 24, 2015 at 02:40:57AM +0200, Adam Wolk wrote:
 How do I get mozjs 24?

# pkglocate libmozjs-24.so.0.0 
spidermonkey-24.2.0p1:devel/spidermonkey:/usr/local/lib/libmozjs-24.so.0.0

-- 
best regards
q#



UPDATE: math/p5-Math-Base36 to 0.14

2015-04-19 Thread Mikolaj Kucharski
Hi,

Regress test pass in i386.

0.14 2015-04-02
 - Avoid negative repeat count warnings generated from new perls (RT
#103266) 


Index: Makefile
===
RCS file: /cvs/ports/math/p5-Math-Base36/Makefile,v
retrieving revision 1.9
diff -u -r1.9 Makefile
--- Makefile19 Jan 2015 06:54:37 -  1.9
+++ Makefile19 Apr 2015 11:52:26 -
@@ -3,7 +3,7 @@
 COMMENT =  encoding and decoding of base36 strings
 
 MODULES =  cpan
-DISTNAME = Math-Base36-0.13
+DISTNAME = Math-Base36-0.14
 CATEGORIES =   math
 
 MAINTAINER =   Mikolaj Kucharski miko...@kucharski.name
Index: distinfo
===
RCS file: /cvs/ports/math/p5-Math-Base36/distinfo,v
retrieving revision 1.4
diff -u -r1.4 distinfo
--- distinfo19 Jan 2015 06:54:37 -  1.4
+++ distinfo19 Apr 2015 11:52:26 -
@@ -1,2 +1,2 @@
-SHA256 (Math-Base36-0.13.tar.gz) = JheoigH2EJvt7AAdg+ZcH4iua31KnsIIrPTuTmopBYk=
-SIZE (Math-Base36-0.13.tar.gz) = 20368
+SHA256 (Math-Base36-0.14.tar.gz) = 7tzIyyK49rbAd0LlWTH26dA3cdIh0LdmOfGKO30Z9H8=
+SIZE (Math-Base36-0.14.tar.gz) = 20428


-- 
best regards
q#



PATCH: par2cmdline crash with -q option

2015-04-19 Thread Mikolaj Kucharski
Hi,

Cli currently core dumps when executed with -q or -qq option. Below
patch fixes the issue.


Index: Makefile
===
RCS file: /cvs/ports/archivers/par2cmdline/Makefile,v
retrieving revision 1.9
diff -u -r1.9 Makefile
--- Makefile10 Mar 2013 22:28:04 -  1.9
+++ Makefile19 Apr 2015 10:06:06 -
@@ -2,6 +2,7 @@
 
 COMMENT=   command line implementation of the PAR v2.0 specification
 DISTNAME=  par2cmdline-0.4
+REVISION=  2
 CATEGORIES=archivers
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=parchive/}
 
@@ -10,7 +11,6 @@
 # GPL
 PERMIT_PACKAGE_CDROM=  Yes
 
-REVISION = 1
 WANTLIB=   c m stdc++
 
 CONFIGURE_STYLE=gnu
Index: patches/patch-par2creatorsourcefile_cpp
===
RCS file: patches/patch-par2creatorsourcefile_cpp
diff -N patches/patch-par2creatorsourcefile_cpp
--- /dev/null   1 Jan 1970 00:00:00 -
+++ patches/patch-par2creatorsourcefile_cpp 19 Apr 2015 10:06:06 -
@@ -0,0 +1,20 @@
+$OpenBSD$
+
+- par2 crash with -q or -qq: https://bugs.debian.org/299658 and 
http://sf.net/p/parchive/bugs/37/
+
+--- par2creatorsourcefile.cpp.orig Thu Apr 15 14:45:23 2004
 par2creatorsourcefile.cpp  Sun Apr 19 10:57:32 2015
+@@ -213,11 +213,12 @@ bool Par2CreatorSourceFile::Open(CommandLine::NoiseLev
+ }
+   }
+ 
++  offset += want;
++
+   if (noiselevel  CommandLine::nlQuiet)
+   {
+ // Display progress
+ u32 oldfraction = (u32)(1000 * offset / filesize);
+-offset += want;
+ u32 newfraction = (u32)(1000 * offset / filesize);
+ if (oldfraction != newfraction)
+ {

-- 
best regards
q#



devel/jsoncpp fails to build on i386 - integer constant is too large

2015-03-28 Thread Mikolaj Kucharski
Hi,

jsoncpp-0.10.0 fails to compile on i386 with following error:

src/test_lib_json/main.cpp:1243: error: integer constant is too large for 
'long' type

applying below patch fixes the issue:

--- src/test_lib_json/main.cpp.orig Sun Mar 15 19:25:04 2015
+++ src/test_lib_json/main.cpp  Sun Mar 29 00:03:38 2015
@@ -1240,7 +1240,7 @@ JSONTEST_FIXTURE(ValueTest, nonIntegers) {
 
   // A 16-digit floating point number.
   val = Json::Value(219902322000.0f);
-  JSONTEST_ASSERT_EQUAL(float(219902322000), val.asFloat());
+  JSONTEST_ASSERT_EQUAL(float(219902322000LL), val.asFloat());
   JSONTEST_ASSERT_STRING_EQUAL(219902322000,
normalizeFloatingPointStr(val.asString()));
 

-- 
best regards
q#



UPDATE: math/p5-Math-Base36

2015-01-18 Thread Mikolaj Kucharski
Hi,

Simple update to 0.13. Upstream Changes file says:

0.13 2015-01-17
 - handle large base-10 numbers when encoding (GH #2)


Regress tests pass on i386.



Index: Makefile
===
RCS file: /cvs/ports/math/p5-Math-Base36/Makefile,v
retrieving revision 1.8
diff -u -r1.8 Makefile
--- Makefile18 Apr 2013 23:44:51 -  1.8
+++ Makefile18 Jan 2015 23:11:02 -
@@ -3,7 +3,7 @@
 COMMENT =  encoding and decoding of base36 strings
 
 MODULES =  cpan
-DISTNAME = Math-Base36-0.12
+DISTNAME = Math-Base36-0.13
 CATEGORIES =   math
 
 MAINTAINER =   Mikolaj Kucharski miko...@kucharski.name
Index: distinfo
===
RCS file: /cvs/ports/math/p5-Math-Base36/distinfo,v
retrieving revision 1.3
diff -u -r1.3 distinfo
--- distinfo18 Apr 2013 23:44:51 -  1.3
+++ distinfo18 Jan 2015 23:11:02 -
@@ -1,2 +1,2 @@
-SHA256 (Math-Base36-0.12.tar.gz) = z8YxLxU+yTD9BBcv3H2jAeGJbNHa5C5he+DLDeHP3xc=
-SIZE (Math-Base36-0.12.tar.gz) = 20272
+SHA256 (Math-Base36-0.13.tar.gz) = JheoigH2EJvt7AAdg+ZcH4iua31KnsIIrPTuTmopBYk=
+SIZE (Math-Base36-0.13.tar.gz) = 20368


-- 
best regards
q#



Re: First attempt at ports: password-store

2015-01-08 Thread Mikolaj Kucharski
On Thu, Jan 08, 2015 at 01:17:31PM +0100, Stefan Sperling wrote:
 BUILD_DEPENDS =   devel/gmake archivers/xz

Also, I see you have USE_GMAKE=Yes, so I don't think you need to build
depends on devel/gmake. That dependency will be added automatically by
bsd.port.mk(5).

I also concur what Stefan wrote about package name. I would leave it as
password-store.

Looking at README file in password-store's git repo, it looks like
content for pkg/DESCR and you have already good description for it, so I
don't think there is a need for post-install part at all, as I wouldn't
include license file too.

In post-extract I would use ${INSTALL_SCRIPT} or ${INSTALL_DATA} instead
of cp(1), depending should openbsd.sh have executable bit set or not.
Please, use ${FILESDIR}/openbsd.sh instead of files/openbsd.sh to copy
the file to target location.

-- 
best regards
q#



Re: First attempt at ports: password-store

2015-01-08 Thread Mikolaj Kucharski
On Thu, Jan 08, 2015 at 09:52:31AM +, David Dahlberg wrote:
 Hi *,
 
 this is my first attempt at porting an application (password-store)
 to OpenBSD. Would you please comment on whether it is usable and/or
 where and how to improve it?

I didn't look at the distfile of password-store, but only to upstream's
git repo. You may considering to include the completion files for bash
and zsh. I don't think we have fish in ports. However completion files
can wait for another update if you wish.

Did you consider to take maintainership of the port, while you are
submitting it?

-- 
best regards
q#



Re: First attempt at ports: password-store

2015-01-08 Thread Mikolaj Kucharski
On Thu, Jan 08, 2015 at 01:11:59PM +, Dahlberg, David wrote:
  In post-extract I would use ${INSTALL_SCRIPT} or ${INSTALL_DATA} instead
  of cp(1), depending should openbsd.sh have executable bit set or not.
  Please, use ${FILESDIR}/openbsd.sh instead of files/openbsd.sh to copy
  the file to target location.
 
 Indeed. Thanks for pointing me at it.

Please ignore ${INSTALL_xxx} part above, per Stuart Henderson's comments
in other email. Using cp(1) should be fine while copying into ${WRKDIST}

-- 
best regards
q#



Re: First attempt at ports: password-store

2015-01-08 Thread Mikolaj Kucharski
On Thu, Jan 08, 2015 at 03:44:40PM +, David Dahlberg wrote:
 Attached is a new version, which addresses all (non-controversial)
 remarks. As for Linux and OSX, the OpenBSD-specific script is now also
 able to edit temporarily decypted passwords in a ramdisk instead of
 regular /tmp.

Empty line in Makefile after $OpenBSD$ keyword.

As tree(1) is already run depends, I would stay below with it. Any
reason you are changing it to find(1)?

@@ -343,8 +343,8 @@ cmd_show() {
 cmd_find() {
[[ -z $@ ]]  die Usage: $PROGRAM $COMMAND pass-names...
IFS=, eval 'echo Search Terms: $*'
-   local terms=*$(printf '%s*|*' $@)
-   tree -C -l --noreport -P ${terms%|*} --prune --matchdirs 
--ignore-case $PREFIX | tail -n +2 | sed 's/\.gpg$//'
+local esc_prefix=`echo $PREFIX | sed 's#/#\\\/#g'`
+find $PREFIX -name *$@* | sed -e s/^$esc_prefix\//\| / -e 
's/\.gpg$//'
 }
 
 cmd_grep() {
@@ -352,7 +352,7 @@ cmd_grep() {


What do you think about below change? Be aware, didn't tested it with
pass(1)

--- files/openbsd.shThu Jan  8 12:33:37 2015
+++ files/openbsd.shThu Jan  8 16:24:39 2015
@@ -6,7 +6,7 @@
 local warn=1
 [[ $1 == nowarn ]]  warn=0
local template=$PROGRAM.X
-   if sysctl kern.usermount | grep -q =1$; then
+   if [ `sysctl -n kern.usermount` == 1 ]; then
 SECURE_TMPDIR=$(mktemp -d ${TMPDIR:-/tmp}/$template)
 mount -t tmpfs -o -s16M tmpfs $SECURE_TMPDIR || die Error: 
could not create tmpfs.
 unmount_tmpdir() {


In general, your port reads fine. I'm not sure where would be better
place to put completion and other files. As a side note, in OpenBSD
ports, examples are usually placed under:

${PREFIX}/share/examples/${PKGNAME}

However, not sure is that applicable for this port. I will let othes
comment on this.

-- 
best regards
q#



Re: UPDATE: net/p5-IO-Interface

2014-12-28 Thread Mikolaj Kucharski
Ping.

http://marc.info/?l=openbsd-portsm=141939772827352w=2

On Wed, Dec 24, 2014 at 05:08:23AM +, Mikolaj Kucharski wrote:
 On Wed, Dec 24, 2014 at 03:07:00AM +, Mikolaj Kucharski wrote:
  On Sat, Dec 20, 2014 at 11:51:24PM +, ni...@openbsd.org wrote:
   amd64 regression test failed...
  
  Thank you for your report!
  
  Upstream switched from ExtUtils::MakeMaker to Module::Build and that
  resulted in important CFLAGs missing during compilation.
  
  I've opened issue on GitHub about this.
  
  Any comments about below patch?
  
  For me regress passes in i386 and amd64.
  
 
 WANTLIB seems not needed any more, however not sure about SHARED_ONLY,
 as make port-lib-depends-check complains about:
 
 Extra:  perl.17
 
 
 Index: Makefile
 ===
 RCS file: /cvs/ports/net/p5-IO-Interface/Makefile,v
 retrieving revision 1.19
 diff -u -r1.19 Makefile
 --- Makefile  14 Jun 2014 23:25:42 -  1.19
 +++ Makefile  24 Dec 2014 04:54:35 -
 @@ -1,19 +1,23 @@
  # $OpenBSD: Makefile,v 1.19 2014/06/14 23:25:42 sthen Exp $
  
 -SHARED_ONLY= Yes
 +SHARED_ONLY =Yes
  
 -COMMENT= module for access to network card configuration information
 +COMMENT =module for access to network card configuration information
  
 -MODULES= cpan
 -DISTNAME=IO-Interface-1.06
 -REVISION=1
 -CATEGORIES=  net
 +MODULES =cpan
 +DISTNAME =   IO-Interface-1.09
 +CATEGORIES = net
  
 -MAINTAINER=  Kevin Lo ke...@openbsd.org
 +HOMEPAGE =   https://github.com/lstein/LibIO-Interface-Perl
 +
 +MAINTAINER = Mikolaj Kucharski miko...@kucharski.name
  
  # Artistic/GPL
 -PERMIT_PACKAGE_CDROM=   Yes
 +PERMIT_PACKAGE_CDROM =   Yes
 +
 +CONFIGURE_STYLE =modbuild
  
 -WANTLIB += c
 +# upstream switched to modbuild, commit c4de691
 +CFLAGS = -D__USE_BSD -DSIOCGIFCONF -DHAVE_SOCKADDR_DL_STRUCT 
 -DUSE_GETIFADDRS
  
  .include bsd.port.mk
 Index: distinfo
 ===
 RCS file: /cvs/ports/net/p5-IO-Interface/distinfo,v
 retrieving revision 1.7
 diff -u -r1.7 distinfo
 --- distinfo  25 Jul 2011 14:22:42 -  1.7
 +++ distinfo  24 Dec 2014 04:54:35 -
 @@ -1,5 +1,2 @@
 -MD5 (IO-Interface-1.06.tar.gz) = fXfQ8j7n9XcQn8Xw5n4KSw==
 -RMD160 (IO-Interface-1.06.tar.gz) = 8Go0QDlu7qfLCZJ3eFcb2TzxA0Q=
 -SHA1 (IO-Interface-1.06.tar.gz) = 13XoQDSHyjrYavnbOYStGbDAyZc=
 -SHA256 (IO-Interface-1.06.tar.gz) = 
 bAe8nOvOwuxYpuaWmhTI1PSVmGkzLVPqs7ZQeVQc33c=
 -SIZE (IO-Interface-1.06.tar.gz) = 10339
 +SHA256 (IO-Interface-1.09.tar.gz) = 
 5j6BxS6x4OYOwtmD9VUtJJPhFxeZJclnV/I8S9n6cTo=
 +SIZE (IO-Interface-1.09.tar.gz) = 16414
 Index: patches/patch-Interface_xs
 ===
 RCS file: patches/patch-Interface_xs
 diff -N patches/patch-Interface_xs
 --- patches/patch-Interface_xs30 Aug 2010 03:48:17 -  1.2
 +++ /dev/null 1 Jan 1970 00:00:00 -
 @@ -1,75 +0,0 @@
 -
 -NetBSD and OpenBSD don't set the address family on the netmask address.
 -Work around that by just setting the address family field after ioctl() and
 -before checking it.
 -
 -if_hwaddr() was broken, code looping all interfaces was causing segmentation
 -fault on freeifaddrs()
 -
 -$OpenBSD: patch-Interface_xs,v 1.2 2010/08/30 03:48:17 kevlo Exp $
  Interface.xs.origFri Jun  6 16:51:42 2008
 -+++ Interface.xs Sun Aug 29 01:53:48 2010
 -@@ -2,6 +2,9 @@
 - #include perl.h
 - #include XSUB.h
 - 
 -+#include stdio.h
 -+#include string.h
 -+
 - /* socket definitions */
 - #include sys/types.h
 - #include sys/socket.h
 -@@ -511,6 +514,9 @@ if_netmask(sock, name, ...)
 -   operation = SIOCGIFNETMASK;
 -  }
 -  if (!Ioctl(sock,operation,ifr)) XSRETURN_UNDEF;
 -+#if defined(__NetBSD__) || defined(__OpenBSD__)
 -+ ifr.ifr_addr.sa_family = AF_INET;
 -+#endif
 -  if (ifr.ifr_addr.sa_family != AF_INET) croak (Address is not in the 
 AF_INET family.\n);
 -  RETVAL = inet_ntoa(((struct sockaddr_in*) ifr.ifr_addr)-sin_addr);
 - #endif
 -@@ -566,7 +572,7 @@ if_hwaddr(sock, name, ...)
 -  IOCTL_CMD_Toperation;
 -  struct ifreq   ifr;
 - #if (defined(USE_GETIFADDRS)  defined(HAVE_SOCKADDR_DL_STRUCT))
 -- struct ifaddrs* ifap = NULL;
 -+ struct ifaddrs *ifap, *ifa;
 -  struct sockaddr_dl* sdl;
 -  sa_family_t  family;
 -  char *sdlname, *haddr, *s;
 -@@ -582,20 +588,17 @@ if_hwaddr(sock, name, ...)
 - #if (defined(USE_GETIFADDRS)  defined(HAVE_SOCKADDR_DL_STRUCT))
 -  getifaddrs(ifap);
 - 
 -- while(1) {
 --   if (ifap == NULL) break;
 --   if (strncmp(name, ifap - ifa_name, IFNAMSIZ) == 0) {
 -- family = ifap - ifa_addr - sa_family;
 -+ for (ifa = ifap; ifa; ifa = ifa-ifa_next) {
 -+   if (strncmp(name, ifa-ifa_name, IFNAMSIZ) == 0) {
 -+ family = ifa-ifa_addr-sa_family;
 -  if (family == AF_LINK) {
 --   sdl = (struct sockaddr_dl *) ifap-ifa_addr

Re: UPDATE: net/p5-IO-Interface

2014-12-23 Thread Mikolaj Kucharski
On Sat, Dec 20, 2014 at 11:51:24PM +, ni...@openbsd.org wrote:
 amd64 regression test failed...

Thank you for your report!

Upstream switched from ExtUtils::MakeMaker to Module::Build and that
resulted in important CFLAGs missing during compilation.

I've opened issue on GitHub about this.

Any comments about below patch?

For me regress passes in i386 and amd64.


Index: Makefile
===
RCS file: /cvs/ports/net/p5-IO-Interface/Makefile,v
retrieving revision 1.19
diff -u -r1.19 Makefile
--- Makefile14 Jun 2014 23:25:42 -  1.19
+++ Makefile24 Dec 2014 02:08:04 -
@@ -1,19 +1,25 @@
 # $OpenBSD: Makefile,v 1.19 2014/06/14 23:25:42 sthen Exp $
 
-SHARED_ONLY=   Yes
+SHARED_ONLY =  Yes
 
-COMMENT=   module for access to network card configuration information
+COMMENT =  module for access to network card configuration information
 
-MODULES=   cpan
-DISTNAME=  IO-Interface-1.06
-REVISION=  1
-CATEGORIES=net
+MODULES =  cpan
+DISTNAME = IO-Interface-1.09
+CATEGORIES =   net
 
-MAINTAINER=Kevin Lo ke...@openbsd.org
+HOMEPAGE = https://github.com/lstein/LibIO-Interface-Perl
+
+MAINTAINER =   Mikolaj Kucharski miko...@kucharski.name
 
 # Artistic/GPL
-PERMIT_PACKAGE_CDROM=   Yes
+PERMIT_PACKAGE_CDROM = Yes
 
 WANTLIB += c
+
+CONFIGURE_STYLE =  modbuild
+
+# upstream switched to modbuild, commit c4de691
+CFLAGS +=  -D__USE_BSD -DSIOCGIFCONF -DHAVE_SOCKADDR_DL_STRUCT 
-DUSE_GETIFADDRS
 
 .include bsd.port.mk
Index: distinfo
===
RCS file: /cvs/ports/net/p5-IO-Interface/distinfo,v
retrieving revision 1.7
diff -u -r1.7 distinfo
--- distinfo25 Jul 2011 14:22:42 -  1.7
+++ distinfo24 Dec 2014 02:08:04 -
@@ -1,5 +1,2 @@
-MD5 (IO-Interface-1.06.tar.gz) = fXfQ8j7n9XcQn8Xw5n4KSw==
-RMD160 (IO-Interface-1.06.tar.gz) = 8Go0QDlu7qfLCZJ3eFcb2TzxA0Q=
-SHA1 (IO-Interface-1.06.tar.gz) = 13XoQDSHyjrYavnbOYStGbDAyZc=
-SHA256 (IO-Interface-1.06.tar.gz) = 
bAe8nOvOwuxYpuaWmhTI1PSVmGkzLVPqs7ZQeVQc33c=
-SIZE (IO-Interface-1.06.tar.gz) = 10339
+SHA256 (IO-Interface-1.09.tar.gz) = 
5j6BxS6x4OYOwtmD9VUtJJPhFxeZJclnV/I8S9n6cTo=
+SIZE (IO-Interface-1.09.tar.gz) = 16414
Index: patches/patch-Interface_xs
===
RCS file: patches/patch-Interface_xs
diff -N patches/patch-Interface_xs
--- patches/patch-Interface_xs  30 Aug 2010 03:48:17 -  1.2
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,75 +0,0 @@
-
-NetBSD and OpenBSD don't set the address family on the netmask address.
-Work around that by just setting the address family field after ioctl() and
-before checking it.
-
-if_hwaddr() was broken, code looping all interfaces was causing segmentation
-fault on freeifaddrs()
-
-$OpenBSD: patch-Interface_xs,v 1.2 2010/08/30 03:48:17 kevlo Exp $
 Interface.xs.orig  Fri Jun  6 16:51:42 2008
-+++ Interface.xs   Sun Aug 29 01:53:48 2010
-@@ -2,6 +2,9 @@
- #include perl.h
- #include XSUB.h
- 
-+#include stdio.h
-+#include string.h
-+
- /* socket definitions */
- #include sys/types.h
- #include sys/socket.h
-@@ -511,6 +514,9 @@ if_netmask(sock, name, ...)
- operation = SIOCGIFNETMASK;
-  }
-  if (!Ioctl(sock,operation,ifr)) XSRETURN_UNDEF;
-+#if defined(__NetBSD__) || defined(__OpenBSD__)
-+ ifr.ifr_addr.sa_family = AF_INET;
-+#endif
-  if (ifr.ifr_addr.sa_family != AF_INET) croak (Address is not in the 
AF_INET family.\n);
-  RETVAL = inet_ntoa(((struct sockaddr_in*) ifr.ifr_addr)-sin_addr);
- #endif
-@@ -566,7 +572,7 @@ if_hwaddr(sock, name, ...)
-  IOCTL_CMD_Toperation;
-  struct ifreq   ifr;
- #if (defined(USE_GETIFADDRS)  defined(HAVE_SOCKADDR_DL_STRUCT))
-- struct ifaddrs* ifap = NULL;
-+ struct ifaddrs *ifap, *ifa;
-  struct sockaddr_dl* sdl;
-  sa_family_t  family;
-  char *sdlname, *haddr, *s;
-@@ -582,20 +588,17 @@ if_hwaddr(sock, name, ...)
- #if (defined(USE_GETIFADDRS)  defined(HAVE_SOCKADDR_DL_STRUCT))
-  getifaddrs(ifap);
- 
-- while(1) {
--   if (ifap == NULL) break;
--   if (strncmp(name, ifap - ifa_name, IFNAMSIZ) == 0) {
-- family = ifap - ifa_addr - sa_family;
-+ for (ifa = ifap; ifa; ifa = ifa-ifa_next) {
-+   if (strncmp(name, ifa-ifa_name, IFNAMSIZ) == 0) {
-+ family = ifa-ifa_addr-sa_family;
-  if (family == AF_LINK) {
--   sdl = (struct sockaddr_dl *) ifap-ifa_addr;
-+   sdl = (struct sockaddr_dl *) ifa-ifa_addr;
-haddr = sdl-sdl_data + sdl-sdl_nlen;
-hlen = sdl-sdl_alen;
-break;
-  }
-}
--   ifap = ifap - ifa_next;
-  } 
-- freeifaddrs(ifap);
- 
-  s = hwaddr; 
-  s[0] = '\0';
-@@ -608,6 +611,9 @@ if_hwaddr(sock, name, ...)
-  s += len;
-}
-  }
-+
-+ freeifaddrs(ifap);
-+
-  RETVAL = hwaddr;
- #elif (defined(HAS_IOCTL

Re: UPDATE: net/p5-IO-Interface

2014-12-23 Thread Mikolaj Kucharski
On Wed, Dec 24, 2014 at 03:07:00AM +, Mikolaj Kucharski wrote:
 On Sat, Dec 20, 2014 at 11:51:24PM +, ni...@openbsd.org wrote:
  amd64 regression test failed...
 
 Thank you for your report!
 
 Upstream switched from ExtUtils::MakeMaker to Module::Build and that
 resulted in important CFLAGs missing during compilation.
 
 I've opened issue on GitHub about this.
 
 Any comments about below patch?
 
 For me regress passes in i386 and amd64.
 

WANTLIB seems not needed any more, however not sure about SHARED_ONLY,
as make port-lib-depends-check complains about:

Extra:  perl.17


Index: Makefile
===
RCS file: /cvs/ports/net/p5-IO-Interface/Makefile,v
retrieving revision 1.19
diff -u -r1.19 Makefile
--- Makefile14 Jun 2014 23:25:42 -  1.19
+++ Makefile24 Dec 2014 04:54:35 -
@@ -1,19 +1,23 @@
 # $OpenBSD: Makefile,v 1.19 2014/06/14 23:25:42 sthen Exp $
 
-SHARED_ONLY=   Yes
+SHARED_ONLY =  Yes
 
-COMMENT=   module for access to network card configuration information
+COMMENT =  module for access to network card configuration information
 
-MODULES=   cpan
-DISTNAME=  IO-Interface-1.06
-REVISION=  1
-CATEGORIES=net
+MODULES =  cpan
+DISTNAME = IO-Interface-1.09
+CATEGORIES =   net
 
-MAINTAINER=Kevin Lo ke...@openbsd.org
+HOMEPAGE = https://github.com/lstein/LibIO-Interface-Perl
+
+MAINTAINER =   Mikolaj Kucharski miko...@kucharski.name
 
 # Artistic/GPL
-PERMIT_PACKAGE_CDROM=   Yes
+PERMIT_PACKAGE_CDROM = Yes
+
+CONFIGURE_STYLE =  modbuild
 
-WANTLIB += c
+# upstream switched to modbuild, commit c4de691
+CFLAGS =   -D__USE_BSD -DSIOCGIFCONF -DHAVE_SOCKADDR_DL_STRUCT 
-DUSE_GETIFADDRS
 
 .include bsd.port.mk
Index: distinfo
===
RCS file: /cvs/ports/net/p5-IO-Interface/distinfo,v
retrieving revision 1.7
diff -u -r1.7 distinfo
--- distinfo25 Jul 2011 14:22:42 -  1.7
+++ distinfo24 Dec 2014 04:54:35 -
@@ -1,5 +1,2 @@
-MD5 (IO-Interface-1.06.tar.gz) = fXfQ8j7n9XcQn8Xw5n4KSw==
-RMD160 (IO-Interface-1.06.tar.gz) = 8Go0QDlu7qfLCZJ3eFcb2TzxA0Q=
-SHA1 (IO-Interface-1.06.tar.gz) = 13XoQDSHyjrYavnbOYStGbDAyZc=
-SHA256 (IO-Interface-1.06.tar.gz) = 
bAe8nOvOwuxYpuaWmhTI1PSVmGkzLVPqs7ZQeVQc33c=
-SIZE (IO-Interface-1.06.tar.gz) = 10339
+SHA256 (IO-Interface-1.09.tar.gz) = 
5j6BxS6x4OYOwtmD9VUtJJPhFxeZJclnV/I8S9n6cTo=
+SIZE (IO-Interface-1.09.tar.gz) = 16414
Index: patches/patch-Interface_xs
===
RCS file: patches/patch-Interface_xs
diff -N patches/patch-Interface_xs
--- patches/patch-Interface_xs  30 Aug 2010 03:48:17 -  1.2
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,75 +0,0 @@
-
-NetBSD and OpenBSD don't set the address family on the netmask address.
-Work around that by just setting the address family field after ioctl() and
-before checking it.
-
-if_hwaddr() was broken, code looping all interfaces was causing segmentation
-fault on freeifaddrs()
-
-$OpenBSD: patch-Interface_xs,v 1.2 2010/08/30 03:48:17 kevlo Exp $
 Interface.xs.orig  Fri Jun  6 16:51:42 2008
-+++ Interface.xs   Sun Aug 29 01:53:48 2010
-@@ -2,6 +2,9 @@
- #include perl.h
- #include XSUB.h
- 
-+#include stdio.h
-+#include string.h
-+
- /* socket definitions */
- #include sys/types.h
- #include sys/socket.h
-@@ -511,6 +514,9 @@ if_netmask(sock, name, ...)
- operation = SIOCGIFNETMASK;
-  }
-  if (!Ioctl(sock,operation,ifr)) XSRETURN_UNDEF;
-+#if defined(__NetBSD__) || defined(__OpenBSD__)
-+ ifr.ifr_addr.sa_family = AF_INET;
-+#endif
-  if (ifr.ifr_addr.sa_family != AF_INET) croak (Address is not in the 
AF_INET family.\n);
-  RETVAL = inet_ntoa(((struct sockaddr_in*) ifr.ifr_addr)-sin_addr);
- #endif
-@@ -566,7 +572,7 @@ if_hwaddr(sock, name, ...)
-  IOCTL_CMD_Toperation;
-  struct ifreq   ifr;
- #if (defined(USE_GETIFADDRS)  defined(HAVE_SOCKADDR_DL_STRUCT))
-- struct ifaddrs* ifap = NULL;
-+ struct ifaddrs *ifap, *ifa;
-  struct sockaddr_dl* sdl;
-  sa_family_t  family;
-  char *sdlname, *haddr, *s;
-@@ -582,20 +588,17 @@ if_hwaddr(sock, name, ...)
- #if (defined(USE_GETIFADDRS)  defined(HAVE_SOCKADDR_DL_STRUCT))
-  getifaddrs(ifap);
- 
-- while(1) {
--   if (ifap == NULL) break;
--   if (strncmp(name, ifap - ifa_name, IFNAMSIZ) == 0) {
-- family = ifap - ifa_addr - sa_family;
-+ for (ifa = ifap; ifa; ifa = ifa-ifa_next) {
-+   if (strncmp(name, ifa-ifa_name, IFNAMSIZ) == 0) {
-+ family = ifa-ifa_addr-sa_family;
-  if (family == AF_LINK) {
--   sdl = (struct sockaddr_dl *) ifap-ifa_addr;
-+   sdl = (struct sockaddr_dl *) ifa-ifa_addr;
-haddr = sdl-sdl_data + sdl-sdl_nlen;
-hlen = sdl-sdl_alen;
-break;
-  }
-}
--   ifap = ifap - ifa_next;
-  } 
-- freeifaddrs(ifap

Re: UPDATE: net/p5-IO-Interface

2014-12-20 Thread Mikolaj Kucharski
I've managed to reach Kevin Lo via kevlo at kevlo org and he is okay
with me taking over the port. He no longer uses p5-IO-Interface.

Okays?

http://marc.info/?l=openbsd-portsm=141842591206803w=2


On Fri, Dec 12, 2014 at 11:11:29PM +, Mikolaj Kucharski wrote:
 Hi,
 
 Update to 1.09 which integrates all our patches. I've send update with
 older version to kevlo@ but got bounce email. I'm cc'ing him again. If
 email still bounces and I will not get any reply from him via the list,
 I'm willing to take maintainership. While at it, I thought Makefile is
 simple enough to add whitespace changes.
 
 Upstream ChangeLog at:
 http://cpansearch.perl.org/src/LDS/IO-Interface-1.09/Changes
 
 Regress test pass for me in i386 and my test scripts work as expected.
 

-- 
best regards
q#



Re: UPDATE: p5-Text-Unidecode 1.23

2014-12-12 Thread Mikolaj Kucharski
On Tue, Dec 09, 2014 at 04:55:23AM +, Mikolaj Kucharski wrote:
 On Mon, Dec 08, 2014 at 12:35:36PM +, ni...@openbsd.org wrote:
  Build and tested on amd64, Ok.
 
 Any other okays?
 

Ping.

http://marc.info/?l=openbsd-portsm=141802489707190w=2

-- 
best regards
q#



Re: UPDATE: net/p5-IO-Interface

2014-12-12 Thread Mikolaj Kucharski
Hi,

Update to 1.09 which integrates all our patches. I've send update with
older version to kevlo@ but got bounce email. I'm cc'ing him again. If
email still bounces and I will not get any reply from him via the list,
I'm willing to take maintainership. While at it, I thought Makefile is
simple enough to add whitespace changes.

Upstream ChangeLog at:
http://cpansearch.perl.org/src/LDS/IO-Interface-1.09/Changes

Regress test pass for me in i386 and my test scripts work as expected.


Index: Makefile
===
RCS file: /cvs/ports/net/p5-IO-Interface/Makefile,v
retrieving revision 1.19
diff -u -r1.19 Makefile
--- Makefile14 Jun 2014 23:25:42 -  1.19
+++ Makefile12 Dec 2014 23:04:29 -
@@ -1,19 +1,22 @@
 # $OpenBSD: Makefile,v 1.19 2014/06/14 23:25:42 sthen Exp $
 
-SHARED_ONLY=   Yes
+SHARED_ONLY =  Yes
 
-COMMENT=   module for access to network card configuration information
+COMMENT =  module for access to network card configuration information
 
-MODULES=   cpan
-DISTNAME=  IO-Interface-1.06
-REVISION=  1
-CATEGORIES=net
+MODULES =  cpan
+DISTNAME = IO-Interface-1.09
+CATEGORIES =   net
 
-MAINTAINER=Kevin Lo ke...@openbsd.org
+HOMEPAGE = https://github.com/lstein/LibIO-Interface-Perl
+
+MAINTAINER =   Mikolaj Kucharski miko...@kucharski.name
 
 # Artistic/GPL
-PERMIT_PACKAGE_CDROM=   Yes
+PERMIT_PACKAGE_CDROM = Yes
 
 WANTLIB += c
+
+CONFIGURE_STYLE =  modbuild
 
 .include bsd.port.mk
Index: distinfo
===
RCS file: /cvs/ports/net/p5-IO-Interface/distinfo,v
retrieving revision 1.7
diff -u -r1.7 distinfo
--- distinfo25 Jul 2011 14:22:42 -  1.7
+++ distinfo12 Dec 2014 23:04:29 -
@@ -1,5 +1,2 @@
-MD5 (IO-Interface-1.06.tar.gz) = fXfQ8j7n9XcQn8Xw5n4KSw==
-RMD160 (IO-Interface-1.06.tar.gz) = 8Go0QDlu7qfLCZJ3eFcb2TzxA0Q=
-SHA1 (IO-Interface-1.06.tar.gz) = 13XoQDSHyjrYavnbOYStGbDAyZc=
-SHA256 (IO-Interface-1.06.tar.gz) = 
bAe8nOvOwuxYpuaWmhTI1PSVmGkzLVPqs7ZQeVQc33c=
-SIZE (IO-Interface-1.06.tar.gz) = 10339
+SHA256 (IO-Interface-1.09.tar.gz) = 
5j6BxS6x4OYOwtmD9VUtJJPhFxeZJclnV/I8S9n6cTo=
+SIZE (IO-Interface-1.09.tar.gz) = 16414
Index: patches/patch-Interface_xs
===
RCS file: patches/patch-Interface_xs
diff -N patches/patch-Interface_xs
--- patches/patch-Interface_xs  30 Aug 2010 03:48:17 -  1.2
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,75 +0,0 @@
-
-NetBSD and OpenBSD don't set the address family on the netmask address.
-Work around that by just setting the address family field after ioctl() and
-before checking it.
-
-if_hwaddr() was broken, code looping all interfaces was causing segmentation
-fault on freeifaddrs()
-
-$OpenBSD: patch-Interface_xs,v 1.2 2010/08/30 03:48:17 kevlo Exp $
 Interface.xs.orig  Fri Jun  6 16:51:42 2008
-+++ Interface.xs   Sun Aug 29 01:53:48 2010
-@@ -2,6 +2,9 @@
- #include perl.h
- #include XSUB.h
- 
-+#include stdio.h
-+#include string.h
-+
- /* socket definitions */
- #include sys/types.h
- #include sys/socket.h
-@@ -511,6 +514,9 @@ if_netmask(sock, name, ...)
- operation = SIOCGIFNETMASK;
-  }
-  if (!Ioctl(sock,operation,ifr)) XSRETURN_UNDEF;
-+#if defined(__NetBSD__) || defined(__OpenBSD__)
-+ ifr.ifr_addr.sa_family = AF_INET;
-+#endif
-  if (ifr.ifr_addr.sa_family != AF_INET) croak (Address is not in the 
AF_INET family.\n);
-  RETVAL = inet_ntoa(((struct sockaddr_in*) ifr.ifr_addr)-sin_addr);
- #endif
-@@ -566,7 +572,7 @@ if_hwaddr(sock, name, ...)
-  IOCTL_CMD_Toperation;
-  struct ifreq   ifr;
- #if (defined(USE_GETIFADDRS)  defined(HAVE_SOCKADDR_DL_STRUCT))
-- struct ifaddrs* ifap = NULL;
-+ struct ifaddrs *ifap, *ifa;
-  struct sockaddr_dl* sdl;
-  sa_family_t  family;
-  char *sdlname, *haddr, *s;
-@@ -582,20 +588,17 @@ if_hwaddr(sock, name, ...)
- #if (defined(USE_GETIFADDRS)  defined(HAVE_SOCKADDR_DL_STRUCT))
-  getifaddrs(ifap);
- 
-- while(1) {
--   if (ifap == NULL) break;
--   if (strncmp(name, ifap - ifa_name, IFNAMSIZ) == 0) {
-- family = ifap - ifa_addr - sa_family;
-+ for (ifa = ifap; ifa; ifa = ifa-ifa_next) {
-+   if (strncmp(name, ifa-ifa_name, IFNAMSIZ) == 0) {
-+ family = ifa-ifa_addr-sa_family;
-  if (family == AF_LINK) {
--   sdl = (struct sockaddr_dl *) ifap-ifa_addr;
-+   sdl = (struct sockaddr_dl *) ifa-ifa_addr;
-haddr = sdl-sdl_data + sdl-sdl_nlen;
-hlen = sdl-sdl_alen;
-break;
-  }
-}
--   ifap = ifap - ifa_next;
-  } 
-- freeifaddrs(ifap);
- 
-  s = hwaddr; 
-  s[0] = '\0';
-@@ -608,6 +611,9 @@ if_hwaddr(sock, name, ...)
-  s += len;
-}
-  }
-+
-+ freeifaddrs(ifap);
-+
-  RETVAL = hwaddr;
- #elif (defined(HAS_IOCTL)  defined(SIOCGIFHWADDR

Re: UPDATE: p5-Text-Unidecode 1.23

2014-12-08 Thread Mikolaj Kucharski
On Mon, Dec 08, 2014 at 12:35:36PM +, ni...@openbsd.org wrote:
 Build and tested on amd64, Ok.

Any other okays?

-- 
best regards
q#



UPDATE: p5-Text-Unidecode 1.23

2014-12-07 Thread Mikolaj Kucharski
Hi,

This is a bugfix release.

- update to 1.23
- whitespace fixes
- small descr reorg
- regress tests pass

Upstream ChangeLog at:
http://cpansearch.perl.org/src/SBURKE/Text-Unidecode-1.23/ChangeLog


Index: Makefile
===
RCS file: /cvs/ports/textproc/p5-Text-Unidecode/Makefile,v
retrieving revision 1.12
diff -u -r1.12 Makefile
--- Makefile22 Nov 2014 21:39:23 -  1.12
+++ Makefile8 Dec 2014 07:41:27 -
@@ -3,12 +3,12 @@
 COMMENT=   US-ASCII transliterations of Unicode text
 
 MODULES=   cpan
-DISTNAME=  Text-Unidecode-1.22
+DISTNAME=  Text-Unidecode-1.23
 CATEGORIES=textproc
 
 MAINTAINER=Mikolaj Kucharski miko...@kucharski.name
 
 # Perl
-PERMIT_PACKAGE_CDROM=   Yes
+PERMIT_PACKAGE_CDROM=  Yes
 
 .include bsd.port.mk
Index: distinfo
===
RCS file: /cvs/ports/textproc/p5-Text-Unidecode/distinfo,v
retrieving revision 1.4
diff -u -r1.4 distinfo
--- distinfo22 Nov 2014 21:39:23 -  1.4
+++ distinfo8 Dec 2014 07:41:27 -
@@ -1,2 +1,2 @@
-SHA256 (Text-Unidecode-1.22.tar.gz) = 
3XbwHIsehlu7AqbHGeshrbdkUeqPSSgbwFExnjT63bw=
-SIZE (Text-Unidecode-1.22.tar.gz) = 129557
+SHA256 (Text-Unidecode-1.23.tar.gz) = 
yx12HtzU6iV2NyZDRxPDFX1IrH11vie+0QvAqk7B1tY=
+SIZE (Text-Unidecode-1.23.tar.gz) = 130431
Index: pkg/DESCR
===
RCS file: /cvs/ports/textproc/p5-Text-Unidecode/pkg/DESCR,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 DESCR
--- pkg/DESCR   5 Dec 2001 07:49:28 -   1.1.1.1
+++ pkg/DESCR   8 Dec 2014 07:41:27 -
@@ -1,6 +1,6 @@
 Text::Unidecode provides is a function, `unidecode(...)' that takes
-Unicode data and tries to represent it in US-ASCII characters 
-(i.e., the universally displayable characters between 0x00 and 0x7F).
-The representation is almost always an attempt at *transliteration*
--- i.e., conveying, in Roman letters, the pronunciation expressed by 
-the text in some other writing system.
+Unicode data and tries to represent it in US-ASCII characters, the
+universally displayable characters between 0x00 and 0x7F. The
+representation is almost always an attempt at *transliteration* -- i.e.,
+conveying, in Roman letters, the pronunciation expressed by the text in
+some other writing system.


-- 
best regards
q#



UPDATE: p5-Text-Unidecode

2014-11-22 Thread Mikolaj Kucharski
Hi,

Update to the latest version on CPAN.

- regress tests pass
- maintainer email bounces, if not one objects I can take it
- unify license line
- drop use_groff as manpage looks almost identical with mandoc and
  groff, however not sure is should I do this as:

   $ mandoc -Tlint -Werror Text\:\:Unidecode.3p   
   mandoc: Text::Unidecode.3p:35:2: ERROR: skipping unknown macro: 'br\
   mandoc: Text::Unidecode.3p:118:50: ERROR: escaped character not allowed in a 
name: .4m'\h

Upstream changelog at:

   http://cpansearch.perl.org/src/SBURKE/Text-Unidecode-1.22/ChangeLog

Index: Makefile
===
RCS file: /cvs/ports/textproc/p5-Text-Unidecode/Makefile,v
retrieving revision 1.11
diff -u -r1.11 Makefile
--- Makefile11 Mar 2013 11:42:44 -  1.11
+++ Makefile22 Nov 2014 17:13:26 -
@@ -3,14 +3,12 @@
 COMMENT=   US-ASCII transliterations of Unicode text
 
 MODULES=   cpan
-DISTNAME=  Text-Unidecode-0.04
-REVISION=  1
+DISTNAME=  Text-Unidecode-1.22
 CATEGORIES=textproc
-USE_GROFF =Yes
 
-MAINTAINER=Kevin Lo ke...@openbsd.org
+MAINTAINER=Mikolaj Kucharski miko...@kucharski.name
 
-# GPL/Artistic
+# Perl
 PERMIT_PACKAGE_CDROM=   Yes
 
 .include bsd.port.mk
Index: distinfo
===
RCS file: /cvs/ports/textproc/p5-Text-Unidecode/distinfo,v
retrieving revision 1.3
diff -u -r1.3 distinfo
--- distinfo5 Apr 2007 17:26:18 -   1.3
+++ distinfo22 Nov 2014 17:13:26 -
@@ -1,5 +1,2 @@
-MD5 (Text-Unidecode-0.04.tar.gz) = Bva92zlqs4aqZqK8igTfdg==
-RMD160 (Text-Unidecode-0.04.tar.gz) = SlbFt0lIlMUW4B+Y7Hrxxxk6fVs=
-SHA1 (Text-Unidecode-0.04.tar.gz) = uvPi+QAR4l+xDLTUet5TzDl3s68=
-SHA256 (Text-Unidecode-0.04.tar.gz) = 
Rz2gH9SCn84xg+9sXYkyopqafCjuZfBmNCBpqHvhawY=
-SIZE (Text-Unidecode-0.04.tar.gz) = 103091
+SHA256 (Text-Unidecode-1.22.tar.gz) = 
3XbwHIsehlu7AqbHGeshrbdkUeqPSSgbwFExnjT63bw=
+SIZE (Text-Unidecode-1.22.tar.gz) = 129557
Index: pkg/PLIST
===
RCS file: /cvs/ports/textproc/p5-Text-Unidecode/pkg/PLIST,v
retrieving revision 1.4
diff -u -r1.4 PLIST
--- pkg/PLIST   15 Sep 2004 18:44:05 -  1.4
+++ pkg/PLIST   22 Nov 2014 17:13:26 -
@@ -10,6 +10,7 @@
 ${P5SITE}/Text/Unidecode/x05.pm
 ${P5SITE}/Text/Unidecode/x06.pm
 ${P5SITE}/Text/Unidecode/x07.pm
+${P5SITE}/Text/Unidecode/x08.pm
 ${P5SITE}/Text/Unidecode/x09.pm
 ${P5SITE}/Text/Unidecode/x0a.pm
 ${P5SITE}/Text/Unidecode/x0b.pm
@@ -26,6 +27,11 @@
 ${P5SITE}/Text/Unidecode/x16.pm
 ${P5SITE}/Text/Unidecode/x17.pm
 ${P5SITE}/Text/Unidecode/x18.pm
+${P5SITE}/Text/Unidecode/x19.pm
+${P5SITE}/Text/Unidecode/x1a.pm
+${P5SITE}/Text/Unidecode/x1b.pm
+${P5SITE}/Text/Unidecode/x1c.pm
+${P5SITE}/Text/Unidecode/x1d.pm
 ${P5SITE}/Text/Unidecode/x1e.pm
 ${P5SITE}/Text/Unidecode/x1f.pm
 ${P5SITE}/Text/Unidecode/x20.pm
@@ -37,12 +43,42 @@
 ${P5SITE}/Text/Unidecode/x26.pm
 ${P5SITE}/Text/Unidecode/x27.pm
 ${P5SITE}/Text/Unidecode/x28.pm
+${P5SITE}/Text/Unidecode/x29.pm
+${P5SITE}/Text/Unidecode/x2a.pm
+${P5SITE}/Text/Unidecode/x2b.pm
+${P5SITE}/Text/Unidecode/x2c.pm
+${P5SITE}/Text/Unidecode/x2d.pm
 ${P5SITE}/Text/Unidecode/x2e.pm
 ${P5SITE}/Text/Unidecode/x2f.pm
 ${P5SITE}/Text/Unidecode/x30.pm
 ${P5SITE}/Text/Unidecode/x31.pm
 ${P5SITE}/Text/Unidecode/x32.pm
 ${P5SITE}/Text/Unidecode/x33.pm
+${P5SITE}/Text/Unidecode/x34.pm
+${P5SITE}/Text/Unidecode/x35.pm
+${P5SITE}/Text/Unidecode/x36.pm
+${P5SITE}/Text/Unidecode/x37.pm
+${P5SITE}/Text/Unidecode/x38.pm
+${P5SITE}/Text/Unidecode/x39.pm
+${P5SITE}/Text/Unidecode/x3a.pm
+${P5SITE}/Text/Unidecode/x3b.pm
+${P5SITE}/Text/Unidecode/x3c.pm
+${P5SITE}/Text/Unidecode/x3d.pm
+${P5SITE}/Text/Unidecode/x3e.pm
+${P5SITE}/Text/Unidecode/x3f.pm
+${P5SITE}/Text/Unidecode/x40.pm
+${P5SITE}/Text/Unidecode/x41.pm
+${P5SITE}/Text/Unidecode/x42.pm
+${P5SITE}/Text/Unidecode/x43.pm
+${P5SITE}/Text/Unidecode/x44.pm
+${P5SITE}/Text/Unidecode/x45.pm
+${P5SITE}/Text/Unidecode/x46.pm
+${P5SITE}/Text/Unidecode/x47.pm
+${P5SITE}/Text/Unidecode/x48.pm
+${P5SITE}/Text/Unidecode/x49.pm
+${P5SITE}/Text/Unidecode/x4a.pm
+${P5SITE}/Text/Unidecode/x4b.pm
+${P5SITE}/Text/Unidecode/x4c.pm
 ${P5SITE}/Text/Unidecode/x4d.pm
 ${P5SITE}/Text/Unidecode/x4e.pm
 ${P5SITE}/Text/Unidecode/x4f.pm
@@ -131,6 +167,13 @@
 ${P5SITE}/Text/Unidecode/xa2.pm
 ${P5SITE}/Text/Unidecode/xa3.pm
 ${P5SITE}/Text/Unidecode/xa4.pm
+${P5SITE}/Text/Unidecode/xa5.pm
+${P5SITE}/Text/Unidecode/xa6.pm
+${P5SITE}/Text/Unidecode/xa7.pm
+${P5SITE}/Text/Unidecode/xa8.pm
+${P5SITE}/Text/Unidecode/xa9.pm
+${P5SITE}/Text/Unidecode/xaa.pm
+${P5SITE}/Text/Unidecode/xab.pm
 ${P5SITE}/Text/Unidecode/xac.pm
 ${P5SITE}/Text/Unidecode/xad.pm
 ${P5SITE}/Text/Unidecode/xae.pm
@@ -175,6 +218,39 @@
 ${P5SITE}/Text/Unidecode/xd5.pm
 ${P5SITE}/Text/Unidecode/xd6.pm
 ${P5SITE}/Text/Unidecode/xd7.pm
+${P5SITE}/Text/Unidecode/xd8.pm
+${P5SITE}/Text/Unidecode/xd9

Re: UPDATE: p5-Text-Unidecode

2014-11-22 Thread Mikolaj Kucharski
On Sat, Nov 22, 2014 at 10:13:06PM +0100, Giovanni Bechis wrote:
 $ mandoc -Tlint -Werror Text\:\:Unidecode.3p   
 mandoc: Text::Unidecode.3p:35:2: ERROR: skipping unknown macro: 'br\
 mandoc: Text::Unidecode.3p:118:50: ERROR: escaped character not allowed 
  in a name: .4m'\h
  
 this has been fixed in roff.c rev. 1.111.

Indeed, I've just upgraded to the latest snapshot and error is gone.

-- 
best regards
q#



Re: Clean test depends as well on clean=depends

2014-11-22 Thread Mikolaj Kucharski
Ping?

On Mon, Jun 03, 2013 at 08:28:32PM +0100, Mikolaj Kucharski wrote:
 Any other comments?
 
 http://marc.info/?l=openbsd-portsm=136702261620950w=2
 
 On Thu, May 23, 2013 at 10:31:10PM +0200, Matthias Kilian wrote:
  On Sat, Apr 27, 2013 at 01:30:03AM +0100, Mikolaj Kucharski wrote:
   Does it make sense for you? I often would like to clean everything, run,
   build and test depends, but currently this is not the case. Comments?
  
  I think this is fine and should go in.
  
  If anyone wants to commit: ok kili@ (I have some more diffs in
  bsd.port.mk and am too much a slacker to move those away).
  
   Index: infrastructure/mk/bsd.port.mk
   ===
   RCS file: /cvs/ports/infrastructure/mk/bsd.port.mk,v
   retrieving revision 1.1222
   diff -u -r1.1222 bsd.port.mk
   --- infrastructure/mk/bsd.port.mk 8 Apr 2013 16:45:06 -   1.1222
   +++ infrastructure/mk/bsd.port.mk 27 Apr 2013 00:27:33 -
   @@ -2890,7 +2890,8 @@

_internal-clean:
.if ${_clean:Mdepends}  ${_CLEANDEPENDS:L} == yes
   - @PKGPATH=${PKGPATH} ${MAKE} all-dir-depends|${_sort_dependencies}|while 
   read subdir; do \
   + @PKGPATH=${PKGPATH} ${MAKE} all-dir-depends test-dir-depends | \
   + ${_sort_dependencies}|while read subdir; do \
 ${_flavor_fragment}; \
 eval $$toset ${MAKE} _CLEANDEPENDS=No clean; \
 done
   
 

-- 
best regards
q#



Re: wget - SSL handshake failed

2014-11-19 Thread Mikolaj Kucharski
I can confirm that below diff, makes wget work on TLSv1.2-only site again.


On Wed, Nov 19, 2014 at 09:04:55PM +0100, Jérémie Courr??ges-Anglas wrote:
 Index: patches/patch-src_openssl_c
 ===
 RCS file: /cvs/ports/net/wget/patches/patch-src_openssl_c,v
 retrieving revision 1.8
 diff -u -p -r1.8 patch-src_openssl_c
 --- patches/patch-src_openssl_c   5 Nov 2014 22:11:40 -   1.8
 +++ patches/patch-src_openssl_c   19 Nov 2014 19:17:15 -
 @@ -1,6 +1,6 @@
  $OpenBSD: patch-src_openssl_c,v 1.8 2014/11/05 22:11:40 naddy Exp $
  --- src/openssl.c.orig   Mon Oct 27 09:15:33 2014
 -+++ src/openssl.cTue Nov  4 22:27:21 2014
  src/openssl.cWed Nov 19 20:17:05 2014
  @@ -89,9 +89,11 @@ init_prng (void)
 if (RAND_status ())
   return;
 @@ -13,3 +13,12 @@ $OpenBSD: patch-src_openssl_c,v 1.8 2014
   
 if (RAND_status ())
   return;
 +@@ -213,6 +215,8 @@ ssl_init (void)
 +   break;
 + case secure_protocol_auto:
 + case secure_protocol_pfs:
 ++  meth = SSLv23_client_method ();
 ++  break;
 + case secure_protocol_tlsv1:
 +   meth = TLSv1_client_method ();
 +   break;
 

-- 
best regards
q#



Re: wget - SSL handshake failed

2014-11-19 Thread Mikolaj Kucharski
I've tested below patch and results seems to be good:


for i in www.secure.io www.secure.io:8443 www.amazon.com www.google.com 
www.facebook.com
do
  for j in auto sslv2 sslv3 tlsv1 tlsv1_1 tlsv1_2 pfs
  do
echo === wget -S -O /dev/null --progress dot:mega --secure-protocol $j 
https://$i/ ===
wget -S -O /dev/null --progress dot:mega --secure-protocol $j https://$i/
echo
echo
  done
done


However, with sslv2 wget ends up with 'Abort trap (core dumped)'. I did
expect that sslv2 will not work, but didn't expect it will core dump.
Otherwise it looks good to me.



On Wed, Nov 19, 2014 at 10:05:24PM +0100, Jérémie Courr??ges-Anglas wrote:
 So, here's a patch that makes wget use TLSv1+ instead of TLSv1.0 by
 default - and with --secure-protocol=pfs - while making sure that we
 don't accept SSLv[23].
 
 Index: Makefile
 ===
 RCS file: /cvs/ports/net/wget/Makefile,v
 retrieving revision 1.64
 diff -u -p -r1.64 Makefile
 --- Makefile  5 Nov 2014 22:11:40 -   1.64
 +++ Makefile  19 Nov 2014 20:56:37 -
 @@ -3,6 +3,7 @@
  COMMENT =retrieve files from the web via HTTP, HTTPS and FTP
  
  DISTNAME =   wget-1.16
 +REVISION =   0
  CATEGORIES = net
  
  HOMEPAGE =   https://www.gnu.org/software/wget/
 Index: patches/patch-src_openssl_c
 ===
 RCS file: /cvs/ports/net/wget/patches/patch-src_openssl_c,v
 retrieving revision 1.8
 diff -u -p -r1.8 patch-src_openssl_c
 --- patches/patch-src_openssl_c   5 Nov 2014 22:11:40 -   1.8
 +++ patches/patch-src_openssl_c   19 Nov 2014 20:21:35 -
 @@ -1,6 +1,6 @@
  $OpenBSD: patch-src_openssl_c,v 1.8 2014/11/05 22:11:40 naddy Exp $
  --- src/openssl.c.orig   Mon Oct 27 09:15:33 2014
 -+++ src/openssl.cTue Nov  4 22:27:21 2014
  src/openssl.cWed Nov 19 21:21:07 2014
  @@ -89,9 +89,11 @@ init_prng (void)
 if (RAND_status ())
   return;
 @@ -13,3 +13,32 @@ $OpenBSD: patch-src_openssl_c,v 1.8 2014
   
 if (RAND_status ())
   return;
 +@@ -201,6 +203,8 @@ ssl_init (void)
 +   SSLeay_add_all_algorithms ();
 +   SSLeay_add_ssl_algorithms ();
 + 
 ++  long ssl_options = 0;
 ++
 +   switch (opt.secure_protocol)
 + {
 + #ifndef OPENSSL_NO_SSL2
 +@@ -213,6 +217,9 @@ ssl_init (void)
 +   break;
 + case secure_protocol_auto:
 + case secure_protocol_pfs:
 ++  meth = SSLv23_client_method ();
 ++  ssl_options |= SSL_OP_NO_SSLv2 | SSL_OP_NO_SSLv3;
 ++  break;
 + case secure_protocol_tlsv1:
 +   meth = TLSv1_client_method ();
 +   break;
 +@@ -233,6 +240,9 @@ ssl_init (void)
 +   ssl_ctx = SSL_CTX_new ((SSL_METHOD *)meth);
 +   if (!ssl_ctx)
 + goto error;
 ++
 ++  if (ssl_options)
 ++SSL_CTX_set_options (ssl_ctx, ssl_options);
 + 
 +   /* OpenSSL ciphers: https://www.openssl.org/docs/apps/ciphers.html
 +* Since we want a good protection, we also use HIGH (that excludes MD4 
 ciphers and some more)
 

-- 
best regards
q#



Re: NEW: converters/uudeview

2014-11-18 Thread Mikolaj Kucharski
Hi,

This is updated port of uudeview with changes after feedback from Vadim
Zhukov and with changes send off the list from Jeremie Courreges-Anglas.

Attached port has also one more change from Debian, which was not
included in my previous port. I tried to describe changes based on
their package ChangeLog, but didn't found all details.

See updated port, does it look good for you guys now?


Initial thread at http://marc.info/?t=13861460404r=1w=2


Information for inst:uudeview-0.5.20

Comment:
uu/xx/Base64/BinHex/yEnc decoder and encoder

Description:
This is a powerful program at which you can throw a mess of unordered
files in any of BinHex, uuencoded, xxencoded, Base64 or yEnc formats
and expect them all to be properly decoded. These formats are
frequently encountered when sending binary files via news or mail.

WWW: http://www.fpx.de/fp/Software/UUDeview/


-- 
best regards
q#


uudeview.tgz
Description: application/tar-gz


Re: NEW: converters/uudeview

2014-11-18 Thread Mikolaj Kucharski
On Wed, Nov 19, 2014 at 12:50:14AM +0100, Dmitrij D. Czarkoff wrote:
 Mikolaj Kucharski said:
  Description:
  This is a powerful program at which you can throw a mess of unordered
   ^^
 Please, edit this away.  It reads like spam, which is not the feeling
 one would like to have reading output of pkg_info.
 

Before I send new tarball, does below text sound right to you? If yes,
then I will send update port.


Program at which you can throw a mess of unordered files in any of
BinHex, uuencoded, xxencoded, Base64 or yEnc formats and expect them all
to be properly decoded. These formats are frequently encountered when
sending binary files via news or mail.

-- 
best regards
q#



Re: NEW: converters/uudeview

2014-11-18 Thread Mikolaj Kucharski
On Tue, Nov 18, 2014 at 07:11:00PM -0500, Brad Smith wrote:
 On 11/18/14 18:50, Dmitrij D. Czarkoff wrote:
  Mikolaj Kucharski said:
  Description:
  This is a powerful program at which you can throw a mess of unordered
 ^^
  Please, edit this away.  It reads like spam, which is not the feeling
  one would like to have reading output of pkg_info.
 
 There is nothing wrong with what was written there. It sounds kind
 of odd but it sounds like something written by someone whose primary
 language is not English.

If any of the commiters are fine with the port and would like to import
it, feel free to pick whichever (accurate) description for the port you
prefer.

-- 
best regards
q#



wget - SSL handshake failed

2014-11-18 Thread Mikolaj Kucharski
Hi,

I didn't notice when it started, as ftp and curl just work, but wget
fails for following https site:


# wget --debug -O /dev/null https://www.secure.io/
Setting --output-document (outputdocument) to /dev/null
DEBUG output created by Wget 1.16 on openbsd5.6.

URI encoding = '646'
converted 'https://www.secure.io/' (646) - 'https://www.secure.io/' (UTF-8)
--2014-11-19 06:16:36--  https://www.secure.io/
Resolving www.secure.io (www.secure.io)... 91.121.99.69
Caching www.secure.io = 91.121.99.69
Connecting to www.secure.io (www.secure.io)|91.121.99.69|:443...  connected.
Created socket 4.
Releasing 0x0f3e66393ae0 (new refcount 1).
Initiating SSL handshake.
SSL handshake failed.
Closed fd 4
Unable to establish SSL connection.


Above wget output is from:

OpenBSD 5.6-current (GENERIC) #549: Tue Nov 18 09:04:20 MST 2014
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC

webserver is nginx-1.7.7p0 running on:

OpenBSD 5.6-current (GENERIC) #523: Tue Nov 18 08:49:39 MST 2014
dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC


nginx has following settings in its config file:

ssl_protocols TLSv1.2;
ssl_ciphers TLSv1+HIGH@STRENGTH:!ADH:!aNULL;
ssl_prefer_server_ciphers on;


If you need more details, let me know.

-- 
best regards
q#



UPDATE: textproc/p5-XML-TreePP to 0.43

2014-11-17 Thread Mikolaj Kucharski
Hi,

Upstream was fast and incorporated our patches, new version just
released to CPAN. All regress pass like before (+1 skipped test).

2014/11/17 (0.43)
* Sync OpenBSD patches from their Ports tree. thanks to kucharskim
  https://github.com/kawanet/XML-TreePP/pull/3
* README.md added


Index: Makefile
===
RCS file: /cvs/ports/textproc/p5-XML-TreePP/Makefile,v
retrieving revision 1.3
diff -u -r1.3 Makefile
--- Makefile16 Nov 2014 16:13:20 -  1.3
+++ Makefile17 Nov 2014 09:37:24 -
@@ -2,7 +2,7 @@
 
 COMMENT =  pure Perl implementation for parsing/writing XML documents
 
-DISTNAME = XML-TreePP-0.42
+DISTNAME = XML-TreePP-0.43
 CATEGORIES =   textproc
 CPAN_AUTHOR =  KAWASAKI
 
Index: distinfo
===
RCS file: /cvs/ports/textproc/p5-XML-TreePP/distinfo,v
retrieving revision 1.2
diff -u -r1.2 distinfo
--- distinfo16 Nov 2014 16:13:20 -  1.2
+++ distinfo17 Nov 2014 09:37:24 -
@@ -1,2 +1,2 @@
-SHA256 (XML-TreePP-0.42.tar.gz) = JOwBKJocTzSisa+0KalMd34c9I5wM/2owow6FEDn9vQ=
-SIZE (XML-TreePP-0.42.tar.gz) = 89741
+SHA256 (XML-TreePP-0.43.tar.gz) = f74tZDCGAFmJSu7r911MrPG/jXt1KU64fY4VAvgb12A=
+SIZE (XML-TreePP-0.43.tar.gz) = 91382
Index: patches/patch-lib_XML_TreePP_pm
===
RCS file: patches/patch-lib_XML_TreePP_pm
diff -N patches/patch-lib_XML_TreePP_pm
--- patches/patch-lib_XML_TreePP_pm 16 Nov 2014 16:13:20 -  1.2
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,14 +0,0 @@
-$OpenBSD: patch-lib_XML_TreePP_pm,v 1.2 2014/11/16 16:13:20 benoit Exp $
-
-timeout of 10 seconds is way too low, stick with defaults
-
 lib/XML/TreePP.pm.orig Thu Nov  7 12:21:51 2013
-+++ lib/XML/TreePP.pm  Sun Nov 16 13:35:48 2014
-@@ -635,7 +635,6 @@ sub parsehttp_lwp {
- my $ua = $self-{lwp_useragent} if exists $self-{lwp_useragent};
- if ( ! ref $ua ) {
- $ua = LWP::UserAgent-new();
--$ua-timeout(10);
- $ua-env_proxy();
- $ua-agent( $self-{__user_agent} ) if defined $self-{__user_agent};
- } else {
Index: patches/patch-t_09_http-lite_t
===
RCS file: patches/patch-t_09_http-lite_t
diff -N patches/patch-t_09_http-lite_t
--- patches/patch-t_09_http-lite_t  16 Nov 2014 16:13:20 -  1.2
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,19 +0,0 @@
-$OpenBSD: patch-t_09_http-lite_t,v 1.2 2014/11/16 16:13:20 benoit Exp $
-
-use.perl.org returns http 500, use different rss feed
-
 t/09_http-lite.t.orig  Thu Nov  7 11:43:16 2013
-+++ t/09_http-lite.t   Sun Nov 16 13:47:39 2014
-@@ -21,10 +21,10 @@ sub parsehttp_get {
- my $tpp = XML::TreePP-new();
- my $name = ( $0 =~ m#([^/:\\]+)$# )[0];
- $tpp-set( user_agent = $name  );
--my $url = http://use.perl.org/index.rss;;
-+my $url = http://rss.slashdot.org/Slashdot/slashdot;;
- my $tree = $tpp-parsehttp( GET = $url );
- ok( ref $tree, $url );
--like( $tree-{rdf:RDF}-{channel}-{link}, qr{^http://}, $url link );
-+like( $tree-{rss}-{channel}-{link}, qr{^http://}, $url link );
- }
- # 
- sub parsehttp_post {
Index: patches/patch-t_10_http-lwp_t
===
RCS file: patches/patch-t_10_http-lwp_t
diff -N patches/patch-t_10_http-lwp_t
--- patches/patch-t_10_http-lwp_t   16 Nov 2014 16:13:20 -  1.2
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,19 +0,0 @@
-$OpenBSD: patch-t_10_http-lwp_t,v 1.2 2014/11/16 16:13:20 benoit Exp $
-
-use.perl.org returns http 500, use different rss feed
-
 t/10_http-lwp.t.orig   Thu Nov  7 11:43:16 2013
-+++ t/10_http-lwp.tSun Nov 16 13:48:10 2014
-@@ -21,10 +21,10 @@ sub parsehttp_get {
- my $tpp = XML::TreePP-new();
- my $name = ( $0 =~ m#([^/:\\]+)$# )[0];
- $tpp-set( user_agent = $name  );
--my $url = http://use.perl.org/index.rss;;
-+my $url = http://rss.slashdot.org/Slashdot/slashdot;;
- my $tree = $tpp-parsehttp( GET = $url );
- ok( ref $tree, $url );
--like( $tree-{rdf:RDF}-{channel}-{link}, qr{^http://}, $url link );
-+like( $tree-{rss}-{channel}-{link}, qr{^http://}, $url link );
- }
- # 
- sub parsehttp_post {


-- 
best regards
q#



UPDATE: textproc/p5-XML-TreePP to 0.42

2014-11-16 Thread Mikolaj Kucharski
Hi,

This is based on update received off the list from Benoit Lecocq. I did
some additional white space changes and dropped removal of
TreePP.pm.orig via pre-configure. Personally I would prefer to have it
around for update-patches. I've also fixed 09_http-lite.t and
10_http-lwp.t regress tests. They all pass (one test file is skipped,
but it was like that before). Changes from upstream say:

2013/11/07 (0.42)
* add empty_element_tag_end option. thanks to Songmu
  https://github.com/kawanet/XML-TreePP/pull/2
* ensure unicode transmitted proprely. thanks to xenoterracide
  https://github.com/kawanet/XML-TreePP/pull/1
* it requires LWP 5.811 or later to use add_content_utf8 method in
  HTTP::Message
* source repository is now on github
  https://github.com/kawanet/XML-TreePP




Index: Makefile
===
RCS file: /cvs/ports/textproc/p5-XML-TreePP/Makefile,v
retrieving revision 1.2
diff -u -r1.2 Makefile
--- Makefile11 Mar 2013 11:42:45 -  1.2
+++ Makefile16 Nov 2014 14:10:17 -
@@ -2,10 +2,12 @@
 
 COMMENT =  pure Perl implementation for parsing/writing XML documents
 
-DISTNAME = XML-TreePP-0.41
+DISTNAME = XML-TreePP-0.42
 CATEGORIES =   textproc
 CPAN_AUTHOR =  KAWASAKI
 
+HOMEPAGE = https://github.com/kawanet/XML-TreePP
+
 MAINTAINER =   Mikolaj Kucharski miko...@kucharski.name
 
 # Perl
@@ -13,13 +15,13 @@
 
 MODULES =  cpan
 
-RUN_DEPENDS =  p5-libwww-*|p5-HTTP-Lite-*:www/p5-libwww
+RUN_DEPENDS =  p5-libwww-*|p5-HTTP-Lite-*:www/p5-libwww
 TEST_DEPENDS = converters/p5-Jcode \
-   devel/p5-Test-Pod \
-   devel/p5-Tie-IxHash \
-   www/p5-HTTP-Lite \
-   www/p5-libwww
+   devel/p5-Test-Pod \
+   devel/p5-Tie-IxHash \
+   www/p5-HTTP-Lite \
+   www/p5-libwww
 
-TEST_FLAGS =   MORE_TESTS=Yes
+TEST_FLAGS =   MORE_TESTS=Yes
 
 .include bsd.port.mk
Index: distinfo
===
RCS file: /cvs/ports/textproc/p5-XML-TreePP/distinfo,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 distinfo
--- distinfo24 Jan 2012 00:25:56 -  1.1.1.1
+++ distinfo16 Nov 2014 14:10:17 -
@@ -1,5 +1,2 @@
-MD5 (XML-TreePP-0.41.tar.gz) = PpmaxRkWPPPKtw0+6NQLNA==
-RMD160 (XML-TreePP-0.41.tar.gz) = qfikfmoseBS6Z40aw2r6txzYDtw=
-SHA1 (XML-TreePP-0.41.tar.gz) = yhZBPrewwCPQpjQ8cIYd5UTTvCs=
-SHA256 (XML-TreePP-0.41.tar.gz) = qoytZ/EO4FXKBmL44Sn86gMi+jsdqevVUNMJT+oNch4=
-SIZE (XML-TreePP-0.41.tar.gz) = 96333
+SHA256 (XML-TreePP-0.42.tar.gz) = JOwBKJocTzSisa+0KalMd34c9I5wM/2owow6FEDn9vQ=
+SIZE (XML-TreePP-0.42.tar.gz) = 89741
Index: patches/patch-lib_XML_TreePP_pm
===
RCS file: /cvs/ports/textproc/p5-XML-TreePP/patches/patch-lib_XML_TreePP_pm,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 patch-lib_XML_TreePP_pm
--- patches/patch-lib_XML_TreePP_pm 24 Jan 2012 00:25:56 -  1.1.1.1
+++ patches/patch-lib_XML_TreePP_pm 16 Nov 2014 14:10:17 -
@@ -2,9 +2,9 @@
 
 timeout of 10 seconds is way too low, stick with defaults
 
 lib/XML/TreePP.pm.orig Sun Oct 31 10:47:03 2010
-+++ lib/XML/TreePP.pm  Sun Jan 16 14:40:59 2011
-@@ -627,7 +627,6 @@ sub parsehttp_lwp {
+--- lib/XML/TreePP.pm.orig Thu Nov  7 12:21:51 2013
 lib/XML/TreePP.pm  Sun Nov 16 13:35:48 2014
+@@ -635,7 +635,6 @@ sub parsehttp_lwp {
  my $ua = $self-{lwp_useragent} if exists $self-{lwp_useragent};
  if ( ! ref $ua ) {
  $ua = LWP::UserAgent-new();
Index: patches/patch-t_09_http-lite_t
===
RCS file: /cvs/ports/textproc/p5-XML-TreePP/patches/patch-t_09_http-lite_t,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 patch-t_09_http-lite_t
--- patches/patch-t_09_http-lite_t  24 Jan 2012 00:25:56 -  1.1.1.1
+++ patches/patch-t_09_http-lite_t  16 Nov 2014 14:10:17 -
@@ -2,9 +2,9 @@
 
 use.perl.org returns http 500, use different rss feed
 
 t/09_http-lite.t.orig  Sat Nov 21 05:19:02 2009
-+++ t/09_http-lite.t   Mon Jan 23 22:34:12 2012
-@@ -21,7 +21,7 @@ sub parsehttp_get {
+--- t/09_http-lite.t.orig  Thu Nov  7 11:43:16 2013
 t/09_http-lite.t   Sun Nov 16 13:47:39 2014
+@@ -21,10 +21,10 @@ sub parsehttp_get {
  my $tpp = XML::TreePP-new();
  my $name = ( $0 =~ m#([^/:\\]+)$# )[0];
  $tpp-set( user_agent = $name  );
@@ -12,4 +12,8 @@
 +my $url = http://rss.slashdot.org/Slashdot/slashdot;;
  my $tree = $tpp-parsehttp( GET = $url );
  ok( ref $tree, $url );
- like( $tree-{rdf:RDF}-{channel}-{link}, qr{^http://}, $url link );
+-like( $tree-{rdf:RDF}-{channel}-{link}, qr{^http://}, $url link );
++like( $tree-{rss}-{channel}-{link}, qr{^http://}, $url link

UPDATE: net/p5-IO-Interface

2014-11-16 Thread Mikolaj Kucharski
Hi,

Upstream released new version with part of our patch included, however
it looks to me it was bad merge, so we still need to modify Interface.xs
to make it compile :/

Otherwise it should be the same like p5-IO-Interface-1.06p1. It works
for me and tiny regress also passes:


===  Regression tests for p5-IO-Interface-1.07
PERL_DL_NONLAZY=1 /usr/bin/perl -MExtUtils::Command::MM -e test_harness(0, 
'blib/lib', 'blib/arch') t/*.t
t/basic.t ... ok
t/simple.t .. ok
All tests successful.
Files=2, Tests=16,  0 wallclock secs ( 0.01 usr  0.03 sys +  0.10 cusr
0.03 csys =  0.17 CPU)
Result: PASS


I've contacted the author, but didn't get any reply yet.



Index: Makefile
===
RCS file: /cvs/ports/net/p5-IO-Interface/Makefile,v
retrieving revision 1.19
diff -u -r1.19 Makefile
--- Makefile14 Jun 2014 23:25:42 -  1.19
+++ Makefile16 Nov 2014 23:45:43 -
@@ -5,8 +5,7 @@
 COMMENT=   module for access to network card configuration information
 
 MODULES=   cpan
-DISTNAME=  IO-Interface-1.06
-REVISION=  1
+DISTNAME=  IO-Interface-1.07
 CATEGORIES=net
 
 MAINTAINER=Kevin Lo ke...@openbsd.org
Index: distinfo
===
RCS file: /cvs/ports/net/p5-IO-Interface/distinfo,v
retrieving revision 1.7
diff -u -r1.7 distinfo
--- distinfo25 Jul 2011 14:22:42 -  1.7
+++ distinfo16 Nov 2014 23:45:43 -
@@ -1,5 +1,2 @@
-MD5 (IO-Interface-1.06.tar.gz) = fXfQ8j7n9XcQn8Xw5n4KSw==
-RMD160 (IO-Interface-1.06.tar.gz) = 8Go0QDlu7qfLCZJ3eFcb2TzxA0Q=
-SHA1 (IO-Interface-1.06.tar.gz) = 13XoQDSHyjrYavnbOYStGbDAyZc=
-SHA256 (IO-Interface-1.06.tar.gz) = 
bAe8nOvOwuxYpuaWmhTI1PSVmGkzLVPqs7ZQeVQc33c=
-SIZE (IO-Interface-1.06.tar.gz) = 10339
+SHA256 (IO-Interface-1.07.tar.gz) = 
YBYvnepo0ETmG6DpCgGPHgL2VN7PNDII2cwsbSsQglg=
+SIZE (IO-Interface-1.07.tar.gz) = 10324
Index: patches/patch-Interface_xs
===
RCS file: /cvs/ports/net/p5-IO-Interface/patches/patch-Interface_xs,v
retrieving revision 1.2
diff -u -r1.2 patch-Interface_xs
--- patches/patch-Interface_xs  30 Aug 2010 03:48:17 -  1.2
+++ patches/patch-Interface_xs  16 Nov 2014 23:45:43 -
@@ -3,12 +3,11 @@
 Work around that by just setting the address family field after ioctl() and
 before checking it.
 
-if_hwaddr() was broken, code looping all interfaces was causing segmentation
-fault on freeifaddrs()
+Bad merge of previous patch. Upstream contacted.
 
 $OpenBSD: patch-Interface_xs,v 1.2 2010/08/30 03:48:17 kevlo Exp $
 Interface.xs.orig  Fri Jun  6 16:51:42 2008
-+++ Interface.xs   Sun Aug 29 01:53:48 2010
+--- Interface.xs.orig  Mon Jun  9 02:28:48 2014
 Interface.xs   Sun Nov 16 15:06:08 2014
 @@ -2,6 +2,9 @@
  #include perl.h
  #include XSUB.h
@@ -29,31 +28,15 @@
   if (ifr.ifr_addr.sa_family != AF_INET) croak (Address is not in the 
AF_INET family.\n);
   RETVAL = inet_ntoa(((struct sockaddr_in*) ifr.ifr_addr)-sin_addr);
  #endif
-@@ -566,7 +572,7 @@ if_hwaddr(sock, name, ...)
-  IOCTL_CMD_Toperation;
-  struct ifreq   ifr;
- #if (defined(USE_GETIFADDRS)  defined(HAVE_SOCKADDR_DL_STRUCT))
-- struct ifaddrs* ifap = NULL;
-+ struct ifaddrs *ifap, *ifa;
-  struct sockaddr_dl* sdl;
-  sa_family_t  family;
-  char *sdlname, *haddr, *s;
-@@ -582,20 +588,17 @@ if_hwaddr(sock, name, ...)
+@@ -582,7 +588,6 @@ if_hwaddr(sock, name, ...)
  #if (defined(USE_GETIFADDRS)  defined(HAVE_SOCKADDR_DL_STRUCT))
   getifaddrs(ifap);
  
 - while(1) {
--   if (ifap == NULL) break;
--   if (strncmp(name, ifap - ifa_name, IFNAMSIZ) == 0) {
-- family = ifap - ifa_addr - sa_family;
-+ for (ifa = ifap; ifa; ifa = ifa-ifa_next) {
-+   if (strncmp(name, ifa-ifa_name, IFNAMSIZ) == 0) {
-+ family = ifa-ifa_addr-sa_family;
-  if (family == AF_LINK) {
--   sdl = (struct sockaddr_dl *) ifap-ifa_addr;
-+   sdl = (struct sockaddr_dl *) ifa-ifa_addr;
-haddr = sdl-sdl_data + sdl-sdl_nlen;
-hlen = sdl-sdl_alen;
+  for (ifa = ifap; ifa; ifa = ifa-ifa_next) {
+if (strncmp(name, ifa-ifa_name, IFNAMSIZ) == 0) {
+  family = ifa-ifa_addr-sa_family;
+@@ -593,9 +598,7 @@ if_hwaddr(sock, name, ...)
 break;
   }
 }
@@ -63,13 +46,3 @@
  
   s = hwaddr; 
   s[0] = '\0';
-@@ -608,6 +611,9 @@ if_hwaddr(sock, name, ...)
-  s += len;
-}
-  }
-+
-+ freeifaddrs(ifap);
-+
-  RETVAL = hwaddr;
- #elif (defined(HAS_IOCTL)  defined(SIOCGIFHWADDR))
-  bzero((void*)ifr,sizeof(struct ifreq));


-- 
best regards
q#



nginx, NGINX_DIR and SUBST_VARS

2014-11-09 Thread Mikolaj Kucharski
Hi,

I think NGINX_DIR may be missing from SUBST_VARS. Looking at the
Makefile I see something like this:

$ grep SUBST_VARS /usr/ports/www/nginx/Makefile 
SUBST_VARS= NGINX_DIR
SUBST_VARS= FLAVOR_COMMA

If you have nginx installed have a look at output of
ls -lh /usr/local/ or at output of pkglocate NGINX_DIR

-- 
best regards
q#



Re: UPDATE net/iftop to 1.0pre4

2014-08-19 Thread Mikolaj Kucharski
Ping

http://marc.info/?l=openbsd-portsm=140771169802733w=2

On Mon, Aug 11, 2014 at 12:01:09AM +0100, Mikolaj Kucharski wrote:
 Hi,
 
 Simple update, with my very limited testing. It seems to work for me.
 I don't use this port, just found it out of date, when giving it a test
 run. Port update includes:
 
 - mandoc -Tlint -Werror seems happy, drop groff dependency
 - fix wantlibs to make port-lib-depends-check happy
 - fix small typo
 - add OpenBSD cvs tag, to make portcheck happy
 - remove maintainer per his request
 
 
 Below list is based on modifications to ChangeLog between 1.0pre2 and pre4:
 
 * Remove blinking cursor from UI
 * Treat multicast packets as incoming, rather than incoming (IPv4) or not at
   all (IPv6).
 * Minor fixes to the man page
 * Man page documentation of -t mode
 * Added text output mode (-t option)
 * Compile time warning fixes
 * Fix for memory leak when DNS resolution is turned off
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=677141
 * Multiple portability fixes
 * Updates to licence text (change in FSF address)
 * Avoid an assertion failure if an invalid (as in outside of IPv4 or IPv6)
   address family is encountered (Red Hat bugs #839750, #847124, #868065, 
 #961236
   and #1007434)
 * Fix to avoid system call in text mode wherever possible
 * Enable building iftop with more recent versions of autoconf/automake
 * Added missing docs for -m option.
 
 
 This is based on my previous update to pre3:
 
   http://marc.info/?l=openbsd-portsm=138966895717715w=2
 
 
 
 Index: Makefile
 ===
 RCS file: /cvs/ports/net/iftop/Makefile,v
 retrieving revision 1.10
 diff -u -r1.10 Makefile
 --- Makefile  15 Nov 2013 14:23:14 -  1.10
 +++ Makefile  10 Aug 2014 21:52:45 -
 @@ -2,22 +2,18 @@
  
  COMMENT =display bandwidth usage on an interface
  
 -DISTNAME =   iftop-1.0pre2
 -REVISION =   0
 +DISTNAME =   iftop-1.0pre4
  CATEGORIES = net
  
  HOMEPAGE =   http://www.ex-parrot.com/~pdw/iftop/
  
 -MAINTAINER = Girish Venkatachalam girish1...@gmail.com
 -
  # GPLv2
  PERMIT_PACKAGE_CDROM =   Yes
  
 -WANTLIB =c ncursesw m pcap pthread
 +WANTLIB =c curses m pcap pthread
  
  MASTER_SITES =   ${HOMEPAGE}download/
  
 -USE_GROFF =  Yes
  CONFIGURE_STYLE =gnu
  
  NO_TEST =Yes
 Index: distinfo
 ===
 RCS file: /cvs/ports/net/iftop/distinfo,v
 retrieving revision 1.2
 diff -u -r1.2 distinfo
 --- distinfo  16 Jul 2012 08:49:38 -  1.2
 +++ distinfo  10 Aug 2014 21:52:45 -
 @@ -1,5 +1,2 @@
 -MD5 (iftop-1.0pre2.tar.gz) = /vUhpJ7AEiRY0CxkISrzxQ==
 -RMD160 (iftop-1.0pre2.tar.gz) = ARrEOVFOvdF9RBwdlyUSQhTxkqw=
 -SHA1 (iftop-1.0pre2.tar.gz) = 1NxHP4JjGSM02mKJtp4QKkrn354=
 -SHA256 (iftop-1.0pre2.tar.gz) = GxkwN7swGa+uiM2UyHRoqsSwRdgauBbtjS9IlxaxQCc=
 -SIZE (iftop-1.0pre2.tar.gz) = 172736
 +SHA256 (iftop-1.0pre4.tar.gz) = 9zPu6jcadXf4/jU9ht2I0W9bKi5wK9lvX/ssGX2bT5c=
 +SIZE (iftop-1.0pre4.tar.gz) = 204665
 Index: patches/patch-iptop.c
 ===
 RCS file: /cvs/ports/net/iftop/patches/patch-iptop.c,v
 retrieving revision 1.3
 diff -u -r1.3 patch-iptop.c
 --- patches/patch-iptop.c 16 Jul 2012 08:49:38 -  1.3
 +++ patches/patch-iptop.c 10 Aug 2014 21:52:45 -
 @@ -1,5 +1,6 @@
  iftop.c.orig Tue Oct  4 14:30:37 2011
 -+++ iftop.c  Fri Jan 20 06:40:39 2012
 +$OpenBSD$
 +--- iftop.c.orig Wed Jan  1 15:20:10 2014
  iftop.c  Tue Jan 14 00:51:01 2014
  @@ -28,6 +28,8 @@
   #include string.h
   #include unistd.h
 @@ -9,7 +10,16 @@
   
   #include iftop.h
   #include addr_hash.h
 -@@ -763,10 +765,13 @@ void packet_loop(void* ptr) {
 +@@ -768,7 +770,7 @@ void packet_init() {
 + else {
 + fprintf(stderr, Unsupported datalink type: %d\n
 + Please email p...@ex-parrot.com, quoting the datalink type 
 and what you were\n
 +-trying to do at the time\n., dlt);
 ++trying to do at the time.\n, dlt);
 + exit(1);
 + }
 + 
 +@@ -790,10 +792,13 @@ void packet_loop(void* ptr) {
* Entry point. See usage(). */
   int main(int argc, char **argv) {
   pthread_t thread;
 @@ -24,7 +34,7 @@
   /* TODO: tidy this up */
   /* read command line options and config file */   
   config_init();
 -@@ -776,12 +781,16 @@ int main(int argc, char **argv) {
 +@@ -803,12 +808,16 @@ int main(int argc, char **argv) {
   read_config(options.config_file, options.config_file_specified);
   options_make();
   

-- 
best regards
q#



UPDATE net/iftop to 1.0pre4

2014-08-10 Thread Mikolaj Kucharski
Hi,

Simple update, with my very limited testing. It seems to work for me.
I don't use this port, just found it out of date, when giving it a test
run. Port update includes:

- mandoc -Tlint -Werror seems happy, drop groff dependency
- fix wantlibs to make port-lib-depends-check happy
- fix small typo
- add OpenBSD cvs tag, to make portcheck happy
- remove maintainer per his request


Below list is based on modifications to ChangeLog between 1.0pre2 and pre4:

* Remove blinking cursor from UI
* Treat multicast packets as incoming, rather than incoming (IPv4) or not at
  all (IPv6).
* Minor fixes to the man page
* Man page documentation of -t mode
* Added text output mode (-t option)
* Compile time warning fixes
* Fix for memory leak when DNS resolution is turned off
  http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=677141
* Multiple portability fixes
* Updates to licence text (change in FSF address)
* Avoid an assertion failure if an invalid (as in outside of IPv4 or IPv6)
  address family is encountered (Red Hat bugs #839750, #847124, #868065, #961236
  and #1007434)
* Fix to avoid system call in text mode wherever possible
* Enable building iftop with more recent versions of autoconf/automake
* Added missing docs for -m option.


This is based on my previous update to pre3:

http://marc.info/?l=openbsd-portsm=138966895717715w=2



Index: Makefile
===
RCS file: /cvs/ports/net/iftop/Makefile,v
retrieving revision 1.10
diff -u -r1.10 Makefile
--- Makefile15 Nov 2013 14:23:14 -  1.10
+++ Makefile10 Aug 2014 21:52:45 -
@@ -2,22 +2,18 @@
 
 COMMENT =  display bandwidth usage on an interface
 
-DISTNAME = iftop-1.0pre2
-REVISION = 0
+DISTNAME = iftop-1.0pre4
 CATEGORIES =   net
 
 HOMEPAGE = http://www.ex-parrot.com/~pdw/iftop/
 
-MAINTAINER =   Girish Venkatachalam girish1...@gmail.com
-
 # GPLv2
 PERMIT_PACKAGE_CDROM = Yes
 
-WANTLIB =  c ncursesw m pcap pthread
+WANTLIB =  c curses m pcap pthread
 
 MASTER_SITES = ${HOMEPAGE}download/
 
-USE_GROFF =Yes
 CONFIGURE_STYLE =  gnu
 
 NO_TEST =  Yes
Index: distinfo
===
RCS file: /cvs/ports/net/iftop/distinfo,v
retrieving revision 1.2
diff -u -r1.2 distinfo
--- distinfo16 Jul 2012 08:49:38 -  1.2
+++ distinfo10 Aug 2014 21:52:45 -
@@ -1,5 +1,2 @@
-MD5 (iftop-1.0pre2.tar.gz) = /vUhpJ7AEiRY0CxkISrzxQ==
-RMD160 (iftop-1.0pre2.tar.gz) = ARrEOVFOvdF9RBwdlyUSQhTxkqw=
-SHA1 (iftop-1.0pre2.tar.gz) = 1NxHP4JjGSM02mKJtp4QKkrn354=
-SHA256 (iftop-1.0pre2.tar.gz) = GxkwN7swGa+uiM2UyHRoqsSwRdgauBbtjS9IlxaxQCc=
-SIZE (iftop-1.0pre2.tar.gz) = 172736
+SHA256 (iftop-1.0pre4.tar.gz) = 9zPu6jcadXf4/jU9ht2I0W9bKi5wK9lvX/ssGX2bT5c=
+SIZE (iftop-1.0pre4.tar.gz) = 204665
Index: patches/patch-iptop.c
===
RCS file: /cvs/ports/net/iftop/patches/patch-iptop.c,v
retrieving revision 1.3
diff -u -r1.3 patch-iptop.c
--- patches/patch-iptop.c   16 Jul 2012 08:49:38 -  1.3
+++ patches/patch-iptop.c   10 Aug 2014 21:52:45 -
@@ -1,5 +1,6 @@
 iftop.c.orig   Tue Oct  4 14:30:37 2011
-+++ iftop.cFri Jan 20 06:40:39 2012
+$OpenBSD$
+--- iftop.c.orig   Wed Jan  1 15:20:10 2014
 iftop.cTue Jan 14 00:51:01 2014
 @@ -28,6 +28,8 @@
  #include string.h
  #include unistd.h
@@ -9,7 +10,16 @@
  
  #include iftop.h
  #include addr_hash.h
-@@ -763,10 +765,13 @@ void packet_loop(void* ptr) {
+@@ -768,7 +770,7 @@ void packet_init() {
+ else {
+ fprintf(stderr, Unsupported datalink type: %d\n
+ Please email p...@ex-parrot.com, quoting the datalink type 
and what you were\n
+-trying to do at the time\n., dlt);
++trying to do at the time.\n, dlt);
+ exit(1);
+ }
+ 
+@@ -790,10 +792,13 @@ void packet_loop(void* ptr) {
   * Entry point. See usage(). */
  int main(int argc, char **argv) {
  pthread_t thread;
@@ -24,7 +34,7 @@
  /* TODO: tidy this up */
  /* read command line options and config file */   
  config_init();
-@@ -776,12 +781,16 @@ int main(int argc, char **argv) {
+@@ -803,12 +808,16 @@ int main(int argc, char **argv) {
  read_config(options.config_file, options.config_file_specified);
  options_make();
  

-- 
best regards
q#



Re: sysutils/cdrtools HOMEPAGE/MATSER_SITES fix

2014-06-09 Thread Mikolaj Kucharski
On Mon, Jun 09, 2014 at 03:46:35PM +0200, Rafael Sadowski wrote:
 -HOMEPAGE=http://cdrecord.berlios.de/private/cdrecord.html
 +HOMEPAGE=http://freecode.com/projects/cdrecord

I think new url should be

http://cdrtools.sourceforge.net/private/cdrecord.html

-- 
best regards
q#



Re: sysutils/cdrtools HOMEPAGE/MATSER_SITES fix

2014-06-09 Thread Mikolaj Kucharski
You also need to bump revision, when changing HOMEPAGE.

-- 
best regards
q#



msmtp: cannot initialize TLS library: /dev/arandom: input error

2014-04-18 Thread Mikolaj Kucharski
I'm aware that OpenSSL work is going on at full steam, but just want to
be sure that you guys are aware of this:


$ msmtp -S --host example.com --tls --tls-trust-file /etc/ssl/cert.pem
msmtp: cannot initialize TLS library: /dev/arandom: input error

$ ldd `which msmtp`
/usr/local/bin/msmtp:
StartEnd  Type Open Ref GrpRef Name
1645d000 36464000 exe  10   0  /usr/local/bin/msmtp
0d681000 2d68e000 rlib 01   0  /usr/lib/libssl.so.23.0
0330a000 2334c000 rlib 01   0  /usr/lib/libcrypto.so.24.0
0c10d000 2c139000 rlib 01   0  /usr/local/lib/libidn.so.17.0
02c27000 22c2b000 rlib 02   0  /usr/local/lib/libintl.so.6.0
051a4000 25284000 rlib 03   0  /usr/local/lib/libiconv.so.6.0
02481000 224b1000 rlib 01   0  /usr/lib/libc.so.74.0
013ae000 013ae000 rtld 01   0  /usr/libexec/ld.so

$ sysctl -n kern.version
OpenBSD 5.5-current (GENERIC) #48: Tue Apr 15 15:49:15 MDT 2014
dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC

-- 
best regards
q#



Re: UPDATE net/iftop to 1.0pre3

2014-02-08 Thread Mikolaj Kucharski
No reply from maintainer. Other okays?

http://marc.info/?l=openbsd-portsm=138966895717715w=2

On Tue, Jan 14, 2014 at 03:08:46AM +, Mikolaj Kucharski wrote:
 Hi,
 
 Simple update, seems to work for me. Looking at 
 
 - mandoc -Tlint -Werror seems happy, drop groff dependency
 - fix wanrlibs to make port-lib-depends-check happy
 - fix small typo
 
 Below list based on modifications to ChangeLog between 1.0pre2 and pre3:
 
 
 * Remove blinking cursor from UI
 * Treat multicast packets as incoming, rather than incoming (IPv4) or not at
   all (IPv6).
 * Minor fixes to the man page
 * Added text output mode (-t option)
 * Fix for memory leak when DNS resolution is turned off
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=677141
 * Multiple portability fixes
 * Updates to licence text (change in FSF address)
 * Avoid an assertion failure if an invalid (as in outside of IPv4 or IPv6)
   address family is encountered (Red Hat bugs #839750, #847124, #868065, 
 #961236
   and #1007434)
 * Added missing docs for -m option.
 
 
 

-- 
best regards
q#



UPDATE net/iftop to 1.0pre3

2014-01-13 Thread Mikolaj Kucharski
Hi,

Simple update, seems to work for me. Looking at 

- mandoc -Tlint -Werror seems happy, drop groff dependency
- fix wanrlibs to make port-lib-depends-check happy
- fix small typo

Below list based on modifications to ChangeLog between 1.0pre2 and pre3:


* Remove blinking cursor from UI
* Treat multicast packets as incoming, rather than incoming (IPv4) or not at
  all (IPv6).
* Minor fixes to the man page
* Added text output mode (-t option)
* Fix for memory leak when DNS resolution is turned off
  http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=677141
* Multiple portability fixes
* Updates to licence text (change in FSF address)
* Avoid an assertion failure if an invalid (as in outside of IPv4 or IPv6)
  address family is encountered (Red Hat bugs #839750, #847124, #868065, #961236
  and #1007434)
* Added missing docs for -m option.



Index: Makefile
===
RCS file: /cvs/ports/net/iftop/Makefile,v
retrieving revision 1.10
diff -u -r1.10 Makefile
--- Makefile15 Nov 2013 14:23:14 -  1.10
+++ Makefile14 Jan 2014 02:54:03 -
@@ -2,8 +2,7 @@
 
 COMMENT =  display bandwidth usage on an interface
 
-DISTNAME = iftop-1.0pre2
-REVISION = 0
+DISTNAME = iftop-1.0pre3
 CATEGORIES =   net
 
 HOMEPAGE = http://www.ex-parrot.com/~pdw/iftop/
@@ -13,11 +12,10 @@
 # GPLv2
 PERMIT_PACKAGE_CDROM = Yes
 
-WANTLIB =  c ncursesw m pcap pthread
+WANTLIB =  c curses m pcap pthread
 
 MASTER_SITES = ${HOMEPAGE}download/
 
-USE_GROFF =Yes
 CONFIGURE_STYLE =  gnu
 
 NO_TEST =  Yes
Index: distinfo
===
RCS file: /cvs/ports/net/iftop/distinfo,v
retrieving revision 1.2
diff -u -r1.2 distinfo
--- distinfo16 Jul 2012 08:49:38 -  1.2
+++ distinfo14 Jan 2014 02:54:03 -
@@ -1,5 +1,2 @@
-MD5 (iftop-1.0pre2.tar.gz) = /vUhpJ7AEiRY0CxkISrzxQ==
-RMD160 (iftop-1.0pre2.tar.gz) = ARrEOVFOvdF9RBwdlyUSQhTxkqw=
-SHA1 (iftop-1.0pre2.tar.gz) = 1NxHP4JjGSM02mKJtp4QKkrn354=
-SHA256 (iftop-1.0pre2.tar.gz) = GxkwN7swGa+uiM2UyHRoqsSwRdgauBbtjS9IlxaxQCc=
-SIZE (iftop-1.0pre2.tar.gz) = 172736
+SHA256 (iftop-1.0pre3.tar.gz) = apAMVquH9CSQZuYqCH9JYDiydi+WFS2nR++3tl18DBU=
+SIZE (iftop-1.0pre3.tar.gz) = 196516
Index: patches/patch-iptop.c
===
RCS file: /cvs/ports/net/iftop/patches/patch-iptop.c,v
retrieving revision 1.3
diff -u -r1.3 patch-iptop.c
--- patches/patch-iptop.c   16 Jul 2012 08:49:38 -  1.3
+++ patches/patch-iptop.c   14 Jan 2014 02:54:03 -
@@ -1,5 +1,5 @@
 iftop.c.orig   Tue Oct  4 14:30:37 2011
-+++ iftop.cFri Jan 20 06:40:39 2012
+--- iftop.c.orig   Wed Jan  1 15:20:10 2014
 iftop.cTue Jan 14 00:51:01 2014
 @@ -28,6 +28,8 @@
  #include string.h
  #include unistd.h
@@ -9,7 +9,16 @@
  
  #include iftop.h
  #include addr_hash.h
-@@ -763,10 +765,13 @@ void packet_loop(void* ptr) {
+@@ -768,7 +770,7 @@ void packet_init() {
+ else {
+ fprintf(stderr, Unsupported datalink type: %d\n
+ Please email p...@ex-parrot.com, quoting the datalink type 
and what you were\n
+-trying to do at the time\n., dlt);
++trying to do at the time.\n, dlt);
+ exit(1);
+ }
+ 
+@@ -790,10 +792,13 @@ void packet_loop(void* ptr) {
   * Entry point. See usage(). */
  int main(int argc, char **argv) {
  pthread_t thread;
@@ -24,7 +33,7 @@
  /* TODO: tidy this up */
  /* read command line options and config file */   
  config_init();
-@@ -776,12 +781,16 @@ int main(int argc, char **argv) {
+@@ -803,12 +808,16 @@ int main(int argc, char **argv) {
  read_config(options.config_file, options.config_file_specified);
  options_make();
  

-- 
best regards
q#



Re: NEW: converters/uudeview

2014-01-07 Thread Mikolaj Kucharski
Ping. Port at:

http://marc.info/?l=openbsd-portsm=138614602418802w=2

On Wed, Dec 04, 2013 at 08:33:23AM +, Mikolaj Kucharski wrote:
 Hi,
 
 I've incorporated some Debian patches, via Dag Wieers's src.rpm (also in
 Gentoo[1]). I don't use nor need TK version of the script, so I've
 disabled it. I've looked into it though and configure doesn't handle
 detection well enough. I think it can go as is, without xdeview.
 
 Comment:
 program for uu/xx/Base64/BinHex/yEnc de/encoding
 
 Description:
 This is a powerful program at which you can throw a mess of unordered
 files in any of BinHex, uuencoded, xxencoded, Base64 or yEnc formats
 and expect them all to be properly decoded. These formats are
 frequently encountered when sending binary files via news or mail.
 
 WWW: http://www.fpx.de/fp/Software/UUDeview/
 
 
 References:
  1. 
 http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/app-text/uudeview/files/
 

-- 
best regards
q#



Re: UPDATE: fonts/dina-fonts

2013-12-29 Thread Mikolaj Kucharski
On Sun, Dec 29, 2013 at 06:33:27PM +0100, Rafael Sadowski wrote:
 +SHA256 (Dina.zip) = H1G7pT91pk0ti9A36OD4S2+AZOUKcu6VQDO+3hc1CM8=
 +SIZE (Dina.zip) = 68023

You should make distfile name more unique, in case you update the port
in the future.

-- 
best regards
q#



Re: NEW: converters/uudeview

2013-12-25 Thread Mikolaj Kucharski
Anyone happy to commit this?

On Sat, Dec 14, 2013 at 12:22:52AM +, Mikolaj Kucharski wrote:
 Kind reminder.
 
 On Sat, Dec 07, 2013 at 12:20:03PM +, Mikolaj Kucharski wrote:
  Ping,
  
  Port at http://marc.info/?l=openbsd-portsm=138614602418802w=2
  
  
  On Wed, Dec 04, 2013 at 08:33:23AM +, Mikolaj Kucharski wrote:
   Hi,
   
   I've incorporated some Debian patches, via Dag Wieers's src.rpm (also in
   Gentoo[1]). I don't use nor need TK version of the script, so I've
   disabled it. I've looked into it though and configure doesn't handle
   detection well enough. I think it can go as is, without xdeview.
   
   Comment:
   program for uu/xx/Base64/BinHex/yEnc de/encoding
   
   Description:
   This is a powerful program at which you can throw a mess of unordered
   files in any of BinHex, uuencoded, xxencoded, Base64 or yEnc formats
   and expect them all to be properly decoded. These formats are
   frequently encountered when sending binary files via news or mail.
   
   WWW: http://www.fpx.de/fp/Software/UUDeview/
   
   
   References:
1. 
   http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/app-text/uudeview/files/
   
  
 

-- 
best regards
q#



Re: NEW: converters/uudeview

2013-12-13 Thread Mikolaj Kucharski
Kind reminder.

On Sat, Dec 07, 2013 at 12:20:03PM +, Mikolaj Kucharski wrote:
 Ping,
 
 Port at http://marc.info/?l=openbsd-portsm=138614602418802w=2
 
 
 On Wed, Dec 04, 2013 at 08:33:23AM +, Mikolaj Kucharski wrote:
  Hi,
  
  I've incorporated some Debian patches, via Dag Wieers's src.rpm (also in
  Gentoo[1]). I don't use nor need TK version of the script, so I've
  disabled it. I've looked into it though and configure doesn't handle
  detection well enough. I think it can go as is, without xdeview.
  
  Comment:
  program for uu/xx/Base64/BinHex/yEnc de/encoding
  
  Description:
  This is a powerful program at which you can throw a mess of unordered
  files in any of BinHex, uuencoded, xxencoded, Base64 or yEnc formats
  and expect them all to be properly decoded. These formats are
  frequently encountered when sending binary files via news or mail.
  
  WWW: http://www.fpx.de/fp/Software/UUDeview/
  
  
  References:
   1. 
  http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/app-text/uudeview/files/
  
 

-- 
best regards
q#



Re: NEW: converters/uudeview

2013-12-07 Thread Mikolaj Kucharski
Ping,

Port at http://marc.info/?l=openbsd-portsm=138614602418802w=2


On Wed, Dec 04, 2013 at 08:33:23AM +, Mikolaj Kucharski wrote:
 Hi,
 
 I've incorporated some Debian patches, via Dag Wieers's src.rpm (also in
 Gentoo[1]). I don't use nor need TK version of the script, so I've
 disabled it. I've looked into it though and configure doesn't handle
 detection well enough. I think it can go as is, without xdeview.
 
 Comment:
 program for uu/xx/Base64/BinHex/yEnc de/encoding
 
 Description:
 This is a powerful program at which you can throw a mess of unordered
 files in any of BinHex, uuencoded, xxencoded, Base64 or yEnc formats
 and expect them all to be properly decoded. These formats are
 frequently encountered when sending binary files via news or mail.
 
 WWW: http://www.fpx.de/fp/Software/UUDeview/
 
 
 References:
  1. 
 http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/app-text/uudeview/files/
 


-- 
best regards
q#



NEW: converters/uudeview

2013-12-04 Thread Mikolaj Kucharski
Hi,

I've incorporated some Debian patches, via Dag Wieers's src.rpm (also in
Gentoo[1]). I don't use nor need TK version of the script, so I've
disabled it. I've looked into it though and configure doesn't handle
detection well enough. I think it can go as is, without xdeview.

Comment:
program for uu/xx/Base64/BinHex/yEnc de/encoding

Description:
This is a powerful program at which you can throw a mess of unordered
files in any of BinHex, uuencoded, xxencoded, Base64 or yEnc formats
and expect them all to be properly decoded. These formats are
frequently encountered when sending binary files via news or mail.

WWW: http://www.fpx.de/fp/Software/UUDeview/


References:
 1. 
http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/app-text/uudeview/files/

-- 
best regards
q#


uudeview-0.5.20.tgz
Description: application/tar-gz


PATCH: more verbose comment about epoch in packages-specs.7

2013-12-02 Thread Mikolaj Kucharski
Hi,

It comes back every now and then. Do below sentences make sense?




Index: ./share/man/man7/packages-specs.7
===
RCS file: /cvs/src/share/man/man7/packages-specs.7,v
retrieving revision 1.24
diff -u -r1.24 packages-specs.7
--- ./share/man/man7/packages-specs.7   12 Oct 2012 16:17:02 -  1.24
+++ ./share/man/man7/packages-specs.7   2 Dec 2013 18:07:47 -
@@ -145,11 +145,21 @@
 .El
 .Pp
 In some rare cases, version numbering changes completely upstream.
-A version style marker, of the form
+A version style marker called epoch, of the form
 .Sq v0 ,
 .Sq v1 ...
 can be appended to the version number (after the patch level)
 to denote the new numbering scheme.
+Anything with
+.Sq v0
+is more recent than anything without it.
+Epoch marker is bumped only when version number goes backward,
+and is needed for the package tools to know that package should be updated,
+even if the version number is lower.
+Once added to the package it can never go away nor be bumped down.
+Besides using epoch marker when upstream changes numbering scheme,
+it can also be used when package needs to be rolled back to older upstream
+version.
 See
 .Ev EPOCH
 in
@@ -257,7 +267,7 @@
 .Pp
 If the flavor specification is left blank, any flavor will do.
 Note that most default package names don't contain flavor specification,
-which means that any flavor will do
+which means that any flavor will do.
 For instance, in
 .Bd -literal -offset indent
 LIB_DEPENDS = graphics/aalib


-- 
best regards
q#



Re: sqlports won't build with PORTSDIR_PATH=/usr/ports/mystuff:/usr/ports

2013-10-31 Thread Mikolaj Kucharski
I've wrote about this in the past, bit didn't get what Marc meant.

http://marc.info/?t=13678521982r=1w=2


On Thu, Oct 31, 2013 at 03:38:20PM +0400, Vadim Zhukov wrote:
 31.10.2013 13:32  Brett Mahar brett.ma...@gmx.com 
 ??:
 
  Hi espie@ and ports@,
 
  When I type env SUBPACKAGE=-main make install sqlports errors out as
 below.
 
  Since the error says Stop in /usr/ports/mystuff/mail, I rm -rf
 /usr/ports/mystuff/ and then sqlports built fine.
 
  Is there some way I can make it ignore my PORTSDIR_PATH without editing
 my mk.conf each time I build it?
 
 make PORTSDIR_PATH=/usr/ports ...
 
  Brett.
 
 
  My /etc/mk.conf:
 
  PORTSDIR_PATH=/usr/ports/mystuff:/usr/ports
  USE_SYSTRACE=Yes
  FORCE_UPDATES=Yes
 
  # ls /usr/ports/mystuff/
  mail/ net/  www/  x11/
 
  ...
  +++ lang/ucblogo
  +++ lang/unicon
  +++ lang/vala
  +++ lang/verilator
  make: don't know how to make dump-vars
  Stop in /usr/ports/mystuff/mail
  *** Error 1 in /usr/ports 
  (infrastructure/mk/bsd.port.subdir.mk:147'dump-vars')
  mail: exiting with an error
  Can't call method value on an undefined value at
 /usr/ports/databases/sqlports/files/PkgPath.pm line 48, $fd line 150158.
  PkgPath::flavor('PkgPath=HASH(0x3148b76c940)') called at
 /usr/ports/infrastructure/lib/DPB/BasePkgPath.pm line 233
 
 DPB::BasePkgPath::handle_default_flavor('PkgPath=HASH(0x3148b76c940)',
 'HASH(0x3148fc5f868)', 'MyTreeWalker=HASH(0x31492676970)') called at
 /usr/ports/infrastructure/lib/DPB/BasePkgPath.pm line 198
  DPB::BasePkgPath::handle_equivalences('PkgPath',
 'MyTreeWalker=HASH(0x31492676970)', 'HASH(0x31497682028)', undef) called at
 /usr/ports/databases/sqlports/files/mksqlitedb line 90
  TreeWalker::__ANON__ called at
 /usr/ports/databases/sqlports/files/mksqlitedb line 104
  TreeWalker::parse_dump('MyTreeWalker=HASH(0x31492676970)',
 'GLOB(0x3148fc4ca48)', undef) called at
 /usr/ports/databases/sqlports/files/mksqlitedb line 193
  MyTreeWalker::parse_dump('MyTreeWalker=HASH(0x31492676970)',
 'GLOB(0x3148fc4ca48)', undef) called at
 /usr/ports/databases/sqlports/files/mksqlitedb line 69
  TreeWalker::dump_dirs('MyTreeWalker=HASH(0x31492676970)', undef)
 called at /usr/ports/databases/sqlports/files/mksqlitedb line 140
  TreeWalker::dump_all_dirs('MyTreeWalker=HASH(0x31492676970)')
 called at /usr/ports/databases/sqlports/files/mksqlitedb line 256
  Issuing rollback() due to DESTROY without explicit disconnect() of
 DBD::SQLite::db handle
 dbname=/usr/ports/pobj/sqlports-2.9/sqlports-2.9/sqlports-compact at
 /usr/ports/databases/sqlports/files/PkgPath.pm line 48.
  eval {...} called at
 /usr/ports/databases/sqlports/files/PkgPath.pm line 48
  Issuing rollback() due to DESTROY without explicit disconnect() of
 DBD::SQLite::db handle
 dbname=/usr/ports/pobj/sqlports-2.9/sqlports-2.9/sqlports at
 /usr/ports/databases/sqlports/files/PkgPath.pm line 48.
  eval {...} called at
 /usr/ports/databases/sqlports/files/PkgPath.pm line 48
  *** Error 255 in . (Makefile:21 'do-build': @cd /usr/ports 
 PORTSDIR=/usr/ports perl /usr/ports/databases/sqlports/files/mksqlitedb -v
 /us...)
  *** Error 1 in . 
  (/usr/ports/infrastructure/mk/bsd.port.mk:2650'/usr/ports/pobj/sqlports-2.9/.build_done')
  *** Error 1 in . 
  (/usr/ports/infrastructure/mk/bsd.port.mk:1851'/usr/ports/packages/amd64/all/sqlports-2.9.tgz')
  *** Error 1 in . 
  (/usr/ports/infrastructure/mk/bsd.port.mk:2403'_internal-package')
  *** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2383 'package')
  *** Error 1 in . 
  (/usr/ports/infrastructure/mk/bsd.port.mk:1868'/var/db/pkg/sqlports-2.9/+CONTENTS')
  *** Error 1 in /usr/ports/databases/sqlports
 (/usr/ports/infrastructure/mk/bsd.port.mk:2383 'install')
 

-- 
best regards
q#



Re: PATCH: update of p5-WWW-YouTube-Download to 0.56

2013-10-03 Thread Mikolaj Kucharski
On Fri, Sep 27, 2013 at 05:50:07AM +0100, Mikolaj Kucharski wrote:
 Hi,
 
 General improvements of the tool, previous patch integrated upstream:
 
 http://cpansearch.perl.org/src/XAICRON/WWW-YouTube-Download-0.56/Changes
 
 new patch for better signatures support.
 

Unbreak again. This is far from perfect. I'm wondering should I switch
to Python (youtube-dl) and should we drop this port from the tree.
Upstream recently isn't that responsive as well. However, for now, I
would like to get this in.


Index: Makefile
===
RCS file: /cvs/ports/www/p5-WWW-YouTube-Download/Makefile,v
retrieving revision 1.10
diff -u -r1.10 Makefile
--- Makefile27 Apr 2013 14:29:08 -  1.10
+++ Makefile3 Oct 2013 21:37:29 -
@@ -3,7 +3,7 @@
 COMMENT =  simple YouTube interface for downloading videos
 
 MODULES =  cpan
-DISTNAME = WWW-YouTube-Download-0.50
+DISTNAME = WWW-YouTube-Download-0.56
 CATEGORIES =   www
 
 MAINTAINER =   Mikolaj Kucharski miko...@kucharski.name
Index: distinfo
===
RCS file: /cvs/ports/www/p5-WWW-YouTube-Download/distinfo,v
retrieving revision 1.8
diff -u -r1.8 distinfo
--- distinfo27 Apr 2013 14:29:08 -  1.8
+++ distinfo3 Oct 2013 21:37:29 -
@@ -1,2 +1,2 @@
-SHA256 (WWW-YouTube-Download-0.50.tar.gz) = 
n1w2E5c7wSdkGv7eroQcctZCPpXTzS8F9g0wqqYu9yE=
-SIZE (WWW-YouTube-Download-0.50.tar.gz) = 19826
+SHA256 (WWW-YouTube-Download-0.56.tar.gz) = 
C3/97l4cKrT9dY5cdi2q/hd9psBUocUr+sbaxpmAgso=
+SIZE (WWW-YouTube-Download-0.56.tar.gz) = 23453
Index: patches/patch-lib_WWW_YouTube_Download_pm
===
RCS file: 
/cvs/ports/www/p5-WWW-YouTube-Download/patches/patch-lib_WWW_YouTube_Download_pm,v
retrieving revision 1.5
diff -u -r1.5 patch-lib_WWW_YouTube_Download_pm
--- patches/patch-lib_WWW_YouTube_Download_pm   27 Apr 2013 14:29:09 -  
1.5
+++ patches/patch-lib_WWW_YouTube_Download_pm   3 Oct 2013 21:37:29 -
@@ -1,15 +1,65 @@
-$OpenBSD: patch-lib_WWW_YouTube_Download_pm,v 1.5 2013/04/27 14:29:09 sthen 
Exp $
+$OpenBSD$
 
-- support one more url type
+- sync with youtube-dl 2013.10.01.1
+- fix for signature 82 based on yt-dl's automatic signatures
 
 lib/WWW/YouTube/Download.pm.orig   Fri Apr 19 18:50:43 2013
-+++ lib/WWW/YouTube/Download.pmSat Apr 27 12:33:16 2013
-@@ -271,7 +271,7 @@ sub _suffix {
+--- lib/WWW/YouTube/Download.pm.orig   Tue Jul 30 08:14:47 2013
 lib/WWW/YouTube/Download.pmThu Oct  3 22:30:12 2013
+@@ -248,37 +248,36 @@ sub _sigdecode {
+ my @s = @_;
  
- sub _video_id {
- my $stuff = shift;
--if ($stuff =~ m{/.*?[?;!]v=([^#?=/;]+)}) {
-+if ($stuff =~ m{/.*?[?;!](?:v|video_id)=([^#?=/;]+)}) {
- return $1;
+ # based on youtube_dl/extractor/youtube.py from yt-dl.org
+-if (@s == 92) {
+-  return ($s[25], @s[3..24], $s[0], @s[26..41], $s[79], @s[43..78], 
$s[91], @s[80..82]);
++if (@s == 93) {
++return (reverse(@s[30..86]), $s[88], reverse(@s[6..28]));
++} elsif (@s == 92) {
++return ($s[25], @s[3..24], $s[0], @s[26..41], $s[79], @s[43..78], 
$s[91], @s[80..82]);
++} elsif (@s == 91) {
++return (reverse(@s[28..84]), $s[86], reverse(@s[6..26]));
+ } elsif (@s == 90) {
+-  return ($s[25], @s[3..24], $s[2], @s[26..39], $s[77], @s[41..76], 
$s[89], @s[78..80]);
++return ($s[25], @s[3..24], $s[2], @s[26..39], $s[77], @s[41..76], 
$s[89], @s[78..80]);
++} elsif (@s == 89) {
++return (reverse(@s[79..84]), $s[87], reverse(@s[61..77]), $s[0], 
reverse(@s[4..59]));
+ } elsif (@s == 88) {
+-return ($s[48], reverse(@s[68..81]), $s[82], reverse(@s[63..66]), 
$s[85],
+-reverse(@s[49..61]), $s[67], reverse(@s[13..47]), $s[3],
+-reverse(@s[4..11]), $s[2], $s[12]);
++return (@s[7..27], $s[87], @s[29..44], $s[55], @s[46..54], $s[2], 
@s[56..86], $s[28]);
+ } elsif (@s == 87) {
+-return (@s[4..22], $s[86], @s[24..84]);
++return (@s[6..26], $s[4], @s[28..38], $s[27], @s[40..58], $s[2], 
@s[60..86]);
+ } elsif (@s == 86) {
+-return (@s[2..62], $s[82], @s[64..81], $s[63]);
++return (reverse(@s[73..80]), $s[16], reverse(@s[40..71]), $s[72], 
reverse(@s[17..38]), $s[82], reverse(@s[0..15]));
+ } elsif (@s == 85) {
+-   return (@s[2..7], $s[0], @s[9..20], $s[65], @s[22..64], $s[84], 
@s[66..81], $s[21]);
++return (@s[3..10], $s[0], @s[12..54], $s[84], @s[56..83]);
+ } elsif (@s == 84) {
+-return (reverse(@s[37..83]), $s[2], reverse(@s[27..35]), $s[3],
+-reverse(@s[4..25]), $s[26]);
++return (reverse(@s[71..78]), $s[14], reverse(@s[38..69]), $s[70], 
reverse(@s[15..36]), $s[80], reverse(@s[0..13]));
+ } elsif (@s == 83) {
+-return ($s[6], @s[3..5], $s[33], @s[7..23], $s[0], @s[25..32], 
$s[53], @s[34..52

PATCH: update of p5-WWW-YouTube-Download to 0.56

2013-09-26 Thread Mikolaj Kucharski
Hi,

General improvements of the tool, previous patch integrated upstream:

http://cpansearch.perl.org/src/XAICRON/WWW-YouTube-Download-0.56/Changes

new patch for better signatures support.



Index: Makefile
===
RCS file: /cvs/ports/www/p5-WWW-YouTube-Download/Makefile,v
retrieving revision 1.10
diff -u -r1.10 Makefile
--- Makefile27 Apr 2013 14:29:08 -  1.10
+++ Makefile27 Sep 2013 04:04:23 -
@@ -3,7 +3,7 @@
 COMMENT =  simple YouTube interface for downloading videos
 
 MODULES =  cpan
-DISTNAME = WWW-YouTube-Download-0.50
+DISTNAME = WWW-YouTube-Download-0.56
 CATEGORIES =   www
 
 MAINTAINER =   Mikolaj Kucharski miko...@kucharski.name
Index: distinfo
===
RCS file: /cvs/ports/www/p5-WWW-YouTube-Download/distinfo,v
retrieving revision 1.8
diff -u -r1.8 distinfo
--- distinfo27 Apr 2013 14:29:08 -  1.8
+++ distinfo27 Sep 2013 04:04:23 -
@@ -1,2 +1,2 @@
-SHA256 (WWW-YouTube-Download-0.50.tar.gz) = 
n1w2E5c7wSdkGv7eroQcctZCPpXTzS8F9g0wqqYu9yE=
-SIZE (WWW-YouTube-Download-0.50.tar.gz) = 19826
+SHA256 (WWW-YouTube-Download-0.56.tar.gz) = 
C3/97l4cKrT9dY5cdi2q/hd9psBUocUr+sbaxpmAgso=
+SIZE (WWW-YouTube-Download-0.56.tar.gz) = 23453
Index: patches/patch-lib_WWW_YouTube_Download_pm
===
RCS file: 
/cvs/ports/www/p5-WWW-YouTube-Download/patches/patch-lib_WWW_YouTube_Download_pm,v
retrieving revision 1.5
diff -u -r1.5 patch-lib_WWW_YouTube_Download_pm
--- patches/patch-lib_WWW_YouTube_Download_pm   27 Apr 2013 14:29:09 -  
1.5
+++ patches/patch-lib_WWW_YouTube_Download_pm   27 Sep 2013 04:04:23 -
@@ -1,15 +1,65 @@
-$OpenBSD: patch-lib_WWW_YouTube_Download_pm,v 1.5 2013/04/27 14:29:09 sthen 
Exp $
+$OpenBSD$
 
-- support one more url type
+- sync with youtube-dl 2013.09.24.2
+- fix for signature 83 based on yt-dl's automatic signatures
 
 lib/WWW/YouTube/Download.pm.orig   Fri Apr 19 18:50:43 2013
-+++ lib/WWW/YouTube/Download.pmSat Apr 27 12:33:16 2013
-@@ -271,7 +271,7 @@ sub _suffix {
+--- lib/WWW/YouTube/Download.pm.orig   Tue Jul 30 08:14:47 2013
 lib/WWW/YouTube/Download.pmFri Sep 27 04:58:40 2013
+@@ -248,37 +248,36 @@ sub _sigdecode {
+ my @s = @_;
  
- sub _video_id {
- my $stuff = shift;
--if ($stuff =~ m{/.*?[?;!]v=([^#?=/;]+)}) {
-+if ($stuff =~ m{/.*?[?;!](?:v|video_id)=([^#?=/;]+)}) {
- return $1;
+ # based on youtube_dl/extractor/youtube.py from yt-dl.org
+-if (@s == 92) {
+-  return ($s[25], @s[3..24], $s[0], @s[26..41], $s[79], @s[43..78], 
$s[91], @s[80..82]);
++if (@s == 93) {
++return (reverse(@s[30..86]), $s[88], reverse(@s[6..28]));
++} elsif (@s == 92) {
++return ($s[25], @s[3..24], $s[0], @s[26..41], $s[79], @s[43..78], 
$s[91], @s[80..82]);
++} elsif (@s == 91) {
++return (reverse(@s[28..84]), $s[86], reverse(@s[6..26]));
+ } elsif (@s == 90) {
+-  return ($s[25], @s[3..24], $s[2], @s[26..39], $s[77], @s[41..76], 
$s[89], @s[78..80]);
++return ($s[25], @s[3..24], $s[2], @s[26..39], $s[77], @s[41..76], 
$s[89], @s[78..80]);
++} elsif (@s == 89) {
++return (reverse(@s[79..84]), $s[87], reverse(@s[61..77]), $s[0], 
reverse(@s[4..59]));
+ } elsif (@s == 88) {
+-return ($s[48], reverse(@s[68..81]), $s[82], reverse(@s[63..66]), 
$s[85],
+-reverse(@s[49..61]), $s[67], reverse(@s[13..47]), $s[3],
+-reverse(@s[4..11]), $s[2], $s[12]);
++return (@s[7..27], $s[87], @s[29..44], $s[55], @s[46..54], $s[2], 
@s[56..86], $s[28]);
+ } elsif (@s == 87) {
+-return (@s[4..22], $s[86], @s[24..84]);
++return (@s[6..26], $s[4], @s[28..38], $s[27], @s[40..58], $s[2], 
@s[60..86]);
+ } elsif (@s == 86) {
+-return (@s[2..62], $s[82], @s[64..81], $s[63]);
++return (reverse(@s[73..80]), $s[16], reverse(@s[40..71]), $s[72], 
reverse(@s[17..38]), $s[82], reverse(@s[0..15]));
+ } elsif (@s == 85) {
+-   return (@s[2..7], $s[0], @s[9..20], $s[65], @s[22..64], $s[84], 
@s[66..81], $s[21]);
++return (@s[3..10], $s[0], @s[12..54], $s[84], @s[56..83]);
+ } elsif (@s == 84) {
+-return (reverse(@s[37..83]), $s[2], reverse(@s[27..35]), $s[3],
+-reverse(@s[4..25]), $s[26]);
++return (reverse(@s[71..78]), $s[14], reverse(@s[38..69]), $s[70], 
reverse(@s[15..36]), $s[80], reverse(@s[0..13]));
+ } elsif (@s == 83) {
+-return ($s[6], @s[3..5], $s[33], @s[7..23], $s[0], @s[25..32], 
$s[53], @s[34..52], $s[24], @s[54..82]);
++return (reverse(@s[64..80]), $s[0], reverse(@s[1..62]), $s[63]);
+ } elsif (@s == 82) {
+-return ($s[36], reverse(@s[68..79]), $s[81], reverse(@s[41..66]), 
$s[33],
+-reverse(@s[37..39]), $s[40], $s[35], $s[0], $s[67],
+-reverse(@s

PATCH: update of p5-WWW-YouTube-Download to 0.54

2013-07-07 Thread Mikolaj Kucharski
Hi,

General improvements of the tool, previous patch integrated upstream:

http://cpansearch.perl.org/src/XAICRON/WWW-YouTube-Download-0.54/Changes

also, new patch for better signatures support, sent upstream.




Index: Makefile
===
RCS file: /cvs/ports/www/p5-WWW-YouTube-Download/Makefile,v
retrieving revision 1.10
diff -u -r1.10 Makefile
--- Makefile27 Apr 2013 14:29:08 -  1.10
+++ Makefile8 Jul 2013 01:10:10 -
@@ -3,7 +3,7 @@
 COMMENT =  simple YouTube interface for downloading videos
 
 MODULES =  cpan
-DISTNAME = WWW-YouTube-Download-0.50
+DISTNAME = WWW-YouTube-Download-0.54
 CATEGORIES =   www
 
 MAINTAINER =   Mikolaj Kucharski miko...@kucharski.name
Index: distinfo
===
RCS file: /cvs/ports/www/p5-WWW-YouTube-Download/distinfo,v
retrieving revision 1.8
diff -u -r1.8 distinfo
--- distinfo27 Apr 2013 14:29:08 -  1.8
+++ distinfo8 Jul 2013 01:10:10 -
@@ -1,2 +1,2 @@
-SHA256 (WWW-YouTube-Download-0.50.tar.gz) = 
n1w2E5c7wSdkGv7eroQcctZCPpXTzS8F9g0wqqYu9yE=
-SIZE (WWW-YouTube-Download-0.50.tar.gz) = 19826
+SHA256 (WWW-YouTube-Download-0.54.tar.gz) = 
eq816OYty7oukfZZuw9XzqU6Ld2ubsIvx2czJYK34OM=
+SIZE (WWW-YouTube-Download-0.54.tar.gz) = 21556
Index: patches/patch-lib_WWW_YouTube_Download_pm
===
RCS file: 
/cvs/ports/www/p5-WWW-YouTube-Download/patches/patch-lib_WWW_YouTube_Download_pm,v
retrieving revision 1.5
diff -u -r1.5 patch-lib_WWW_YouTube_Download_pm
--- patches/patch-lib_WWW_YouTube_Download_pm   27 Apr 2013 14:29:09 -  
1.5
+++ patches/patch-lib_WWW_YouTube_Download_pm   8 Jul 2013 01:10:10 -
@@ -1,15 +1,75 @@
-$OpenBSD: patch-lib_WWW_YouTube_Download_pm,v 1.5 2013/04/27 14:29:09 sthen 
Exp $
+$OpenBSD$
 
-- support one more url type
+- better encoded signatures support, based on yt-dl.org
 
 lib/WWW/YouTube/Download.pm.orig   Fri Apr 19 18:50:43 2013
-+++ lib/WWW/YouTube/Download.pmSat Apr 27 12:33:16 2013
-@@ -271,7 +271,7 @@ sub _suffix {
+--- lib/WWW/YouTube/Download.pm.orig   Fri Jul  5 19:29:59 2013
 lib/WWW/YouTube/Download.pmMon Jul  8 01:45:43 2013
+@@ -244,25 +244,43 @@ sub _parse_fmt_map {
+ return $fmt_map;
+ }
  
- sub _video_id {
- my $stuff = shift;
--if ($stuff =~ m{/.*?[?;!]v=([^#?=/;]+)}) {
-+if ($stuff =~ m{/.*?[?;!](?:v|video_id)=([^#?=/;]+)}) {
- return $1;
+-sub _swapelement {
+-my ($pos, @list) = @_;
+-my $first = $list[0];
+-my $other = $list[$pos % scalar(@list)];
+-$list[0] = $other;
+-$list[$pos] = $first;
+-return @list;
++sub _sigdecode {
++my @s = @_;
++
++# based on youtube_dl/extractor/youtube.py from yt-dl.org
++if (@s == 88) {
++return ($s[48], reverse(@s[68..81]), $s[82], reverse(@s[63..66]), 
$s[85],
++reverse(@s[49..61]), $s[67], reverse(@s[13..47]), $s[3], 
++reverse(@s[4..11]), $s[2], $s[12]);
++} elsif (@s == 87) {
++return ($s[62], reverse(@s[63..82]), $s[83], reverse(@s[53..61]), 
$s[0],
++reverse(@s[3..51]));
++} elsif (@s == 86) {
++return (@s[2..62], $s[82], @s[64..81], $s[63]);
++} elsif (@s == 85) {
++   return ($s[76], reverse(@s[77..82]), $s[83], reverse(@s[61..75]), 
$s[0],
++   reverse(@s[51..59]), $s[1], reverse(@s[3..49]));
++} elsif (@s == 84) {
++return (reverse(@s[37..83]), $s[2], reverse(@s[27..35]), $s[3],
++reverse(@s[4..25]), $s[26]);
++} elsif (@s == 83) {
++return ($s[52], reverse(@s[56..81]), $s[2], reverse(@s[53..54]), 
$s[82],
++reverse(@s[37..51]), $s[55], reverse(@s[3..35]), $s[36]);
++} elsif (@s == 82) {
++return ($s[36], reverse(@s[68..79]), $s[81], reverse(@s[41..66]), 
$s[33],
++reverse(@s[37..39]), $s[40], $s[35], $s[0], $s[67],
++reverse(@s[1..32]), $s[34]);
++}
++
++return ();# fail
+ }
+ 
+-# taken from https://gist.github.com/anonymous/e40cb4a1ba3c71f16c05
+-sub _sigdecode {
++sub _getsig {
+ my $sig = shift;
+-Carp::croak 'Unable to find signature.' unless $sig;
+-my @sig = split(//, $sig);
+-@sig = reverse(_swapelement(52, @sig));
+-@sig = @sig[3..$#sig];
+-@sig = reverse(_swapelement(21, @sig));
+-@sig = @sig[3..$#sig];
+-return join('', reverse(@sig));
++croak 'Unable to find signature' unless $sig;
++my @sig = _sigdecode(split(//, $sig));
++croak Unable to decode signature $sig unless @sig;
++return join('', @sig);
+ }
+ 
+ sub _parse_stream_map {
+@@ -272,7 +290,7 @@ sub _parse_stream_map {
+ my $uri = URI-new;
+ $uri-query($stuff);
+ my $query = +{ $uri-query_form };
+-my $sig = $query-{sig} || _sigdecode($query-{s});
++my $sig = $query-{sig} || _getsig($query-{s

Re: Clean test depends as well on clean=depends

2013-06-03 Thread Mikolaj Kucharski
Any other comments?

http://marc.info/?l=openbsd-portsm=136702261620950w=2

On Thu, May 23, 2013 at 10:31:10PM +0200, Matthias Kilian wrote:
 On Sat, Apr 27, 2013 at 01:30:03AM +0100, Mikolaj Kucharski wrote:
  Does it make sense for you? I often would like to clean everything, run,
  build and test depends, but currently this is not the case. Comments?
 
 I think this is fine and should go in.
 
 If anyone wants to commit: ok kili@ (I have some more diffs in
 bsd.port.mk and am too much a slacker to move those away).
 
  Index: infrastructure/mk/bsd.port.mk
  ===
  RCS file: /cvs/ports/infrastructure/mk/bsd.port.mk,v
  retrieving revision 1.1222
  diff -u -r1.1222 bsd.port.mk
  --- infrastructure/mk/bsd.port.mk   8 Apr 2013 16:45:06 -   1.1222
  +++ infrastructure/mk/bsd.port.mk   27 Apr 2013 00:27:33 -
  @@ -2890,7 +2890,8 @@
   
   _internal-clean:
   .if ${_clean:Mdepends}  ${_CLEANDEPENDS:L} == yes
  -   @PKGPATH=${PKGPATH} ${MAKE} all-dir-depends|${_sort_dependencies}|while 
  read subdir; do \
  +   @PKGPATH=${PKGPATH} ${MAKE} all-dir-depends test-dir-depends | \
  +   ${_sort_dependencies}|while read subdir; do \
  ${_flavor_fragment}; \
  eval $$toset ${MAKE} _CLEANDEPENDS=No clean; \
  done
  

-- 
best regards
q#



Re: PATCH: Less error noise in build logs when package in cache is missing

2013-06-03 Thread Mikolaj Kucharski
Marc,

Could you again consider below change, given my earlier comments?


http://marc.info/?t=13687118445r=1w=2


On Sun, May 26, 2013 at 01:21:00PM +0100, Mikolaj Kucharski wrote:
 On Sun, May 26, 2013 at 01:34:47PM +0200, Marc Espie wrote:
  I definitely vote against it.
  I really need those errors.
  
  You're only thinking of the cases where the error lies in the port, I also
  have to live with the cases where there is something fishy with the
  infrastructure.
  
  So that's a big NO, NO WAY from me.
 
 I still think it's worth to get this in. Looking at my patched
 bsd.port.mk file, the patch modifies line 1839 in below snippet and as
 far as I understand that make file, code jumps from line 1839 to line
 1821. I agreed that my patch can hide problem in line 1822 if mkdir
 fails. However pkg_add execution in line 1824 has already stdout and
 stderr redirected to /dev/null, so my change hides that mkdir execution.
 Taking all above into account, I'm not sure to what infrastructure
 problems are you referring to Marc. I'm not convinced my patch is
 bad idea.
 
 
   1819.for _S in ${MULTI_PACKAGES}
   1820
   1821${_CACHE_REPO}/${_PKGFILE${_S}}:
   1822@mkdir -p ${@D}
   1823@${ECHO_MSG} -n ===  Looking for ${_PKGFILE${_S}} in 
 \$$PKG_PATH - 
   1824@if ${SETENV} ${_TERM_ENV} PKG_CACHE=${_CACHE_REPO} 
 PKG_PATH=${_CACHE_REPO}:${_PKG_REPO}:${PACKAGE_REPOSITORY}/${NO_ARCH}/:${PKG_PATH}
  ${_PKG_ADD} -n -q ${_PKG_ADD_FORCE} -D installed -D downgrade 
 ${_PKGFILE${_S}} /dev/null 21; then \
   1825${ECHO_MSG} found; \
   1826exit 0; \
   1827else \
   1828${ECHO_MSG} not found; \
   1829exit 1; \
   1830fi
   1831
   1832
   1833# The real package
   1834
   1835${_PACKAGE_COOKIE${_S}}:
   1836@mkdir -p ${@D} ${_TMP_REPO}
   1837.  if ${FETCH_PACKAGES:L} == yes  
 !defined(_TRIED_FETCHING_${_PACKAGE_COOKIE${_S}})
   1838@f=${_CACHE_REPO}/${_PKGFILE${_S}}; \
   1839cd ${.CURDIR}  ${MAKE} $$f 2/dev/null  \
   1840{ ln $$f $@ 2/dev/null || cp -p $$f $@ ; } || \
   1841cd ${.CURDIR}  ${MAKE} 
 _TRIED_FETCHING_${_PACKAGE_COOKIE${_S}}=Yes _internal-package-only
   1842.  else
   1843@${_MAKE} ${_PACKAGE_COOKIE_DEPS}
   1844# What PACKAGE normally does:
 
 

-- 
best regards
q#



Re: PATCH: Less error noise in build logs when package in cache is missing

2013-05-26 Thread Mikolaj Kucharski
Comments?

http://marc.info/?l=openbsd-portsm=136871182828326w=2

Regards,
 Mikolaj

On Thu, May 16, 2013 at 02:34:47PM +0100, Mikolaj Kucharski wrote:
 Hi,
 
 Here is beginning of a build log of random port:
 
 
 ===  Looking for unrar-4.20v1.tgz in $PKG_PATH - not found
 *** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:1824
 '/usr/ports/packages/i386/cache//unrar-4.20v1.tgz': @if /usr/bin/env -i
 PKG_...)
 ===  Checking files for unrar-4.20v1
 `/usr/ports/distfiles/unrarsrc-4.2.4.tar.gz' is up to date.
  (SHA256) unrarsrc-4.2.4.tar.gz: OK
 ===  Verifying specs: c crypto m stdc++ c crypto m stdc++
 ===  found c.68.0 crypto.22.0 m.8.0 stdc++.55.0
 ===  Extracting for unrar-4.20v1
 ===  Patching for unrar-4.20v1
 ===  Configuring for unrar-4.20v1
 ===  Building for unrar-4.20v1
 ...
 
 
 I often find above '*** Error 1 in ...' unnecessary noise when package
 was not found. Below patch mutes those errors. It makes greping for
 errors mutch easier.
 
 Comments?
 
 
 Index: bsd.port.mk
 ===
 RCS file: /cvs/ports/infrastructure/mk/bsd.port.mk,v
 retrieving revision 1.1224
 diff -u -p -r1.1224 bsd.port.mk
 --- bsd.port.mk   14 May 2013 13:38:59 -  1.1224
 +++ bsd.port.mk   16 May 2013 11:12:42 -
 @@ -1836,7 +1836,7 @@ ${_PACKAGE_COOKIE${_S}}:
   @mkdir -p ${@D} ${_TMP_REPO}
  .  if ${FETCH_PACKAGES:L} == yes  
 !defined(_TRIED_FETCHING_${_PACKAGE_COOKIE${_S}})
   @f=${_CACHE_REPO}/${_PKGFILE${_S}}; \
 - cd ${.CURDIR}  ${MAKE} $$f  \
 + cd ${.CURDIR}  ${MAKE} $$f 2/dev/null  \
   { ln $$f $@ 2/dev/null || cp -p $$f $@ ; } || \
   cd ${.CURDIR}  ${MAKE} 
 _TRIED_FETCHING_${_PACKAGE_COOKIE${_S}}=Yes _internal-package-only
  .  else
 
 

-- 
best regards
q#



Re: UPDATE: devel/p5-YAML-Syck to 1.25

2013-05-26 Thread Mikolaj Kucharski
If there is anything more which anyone would like me to do, let me know.
Here are YAML related patches which I've sent recently:

http://marc.info/?l=openbsd-portsm=136702137620660w=4
http://marc.info/?l=openbsd-portsm=136862835828037w=4
http://marc.info/?l=openbsd-portsm=136862774027793w=4
http://marc.info/?l=openbsd-portsm=136700912417270w=2
http://marc.info/?l=openbsd-portsm=136862742527621w=4


On Thu, May 16, 2013 at 12:59:11PM +0100, Mikolaj Kucharski wrote:
 Okay, I just discovered that using make SUBDIR hides error code, so I've
 checked build logs carefully and I think my updates are good to go in.
 
 However, it's good to be aware of this:
 
 
 
 $ make SUBDIR=archivers/unrar fake
 ...
 ===  Faking installation for unrar-4.20v1
 install -c -s -o root -g bin -m 555 /home/ports/obj/unrar-4.20/unrar/unrar 
 /home/ports/obj/unrar-4.20/fake-i386/usr/local/bin
 install -d -o root -g bin -m 755 
 /home/ports/obj/unrar-4.20/fake-i386/usr/local/share/doc/unrar
 install -c -o root -g bin -m 444 /home/ports/obj/unrar-4.20/unrar/readme.txt 
 /home/ports/obj/unrar-4.20/unrar/license.txt  
 /home/ports/obj/unrar-4.20/fake-i386/usr/local/share/doc/unrar
 exit 1
 *** Error 1 in /usr/ports/archivers/unrar (Makefile:36 'do-install')
 *** Error 1 in archivers/unrar (/usr/ports/infrastructure/mk/bsd.port.mk:2716 
 '/home/ports/obj/unrar-4.20/fake-i386/.fake_done')
 *** Error 1 in archivers/unrar (/usr/ports/infrastructure/mk/bsd.port.mk:2360 
 'fake')
 === Exiting archivers/unrar with an error
 $ echo $?
 0
 
 
 $ cd archivers/unrar  make fake
 ===  Faking installation for unrar-4.20v1
 install -c -s -o root -g bin -m 555 /home/ports/obj/unrar-4.20/unrar/unrar 
 /home/ports/obj/unrar-4.20/fake-i386/usr/local/bin
 install -d -o root -g bin -m 755 
 /home/ports/obj/unrar-4.20/fake-i386/usr/local/share/doc/unrar
 install -c -o root -g bin -m 444 /home/ports/obj/unrar-4.20/unrar/readme.txt 
 /home/ports/obj/unrar-4.20/unrar/license.txt  
 /home/ports/obj/unrar-4.20/fake-i386/usr/local/share/doc/unrar
 exit 1
 *** Error 1 in /usr/ports/archivers/unrar (Makefile:36 'do-install')
 *** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2716 
 '/home/ports/obj/unrar-4.20/fake-i386/.fake_done')
 *** Error 1 in /usr/ports/archivers/unrar 
 (/usr/ports/infrastructure/mk/bsd.port.mk:2360 'fake')
 $ echo $?
 1
 
 
 
 $ cvs -nq diff -u
 Index: Makefile
 ===
 RCS file: /cvs/ports/archivers/unrar/Makefile,v
 retrieving revision 1.58
 diff -u -r1.58 Makefile
 --- Makefile10 Mar 2013 22:28:05 -  1.58
 +++ Makefile16 May 2013 11:53:38 -
 @@ -33,6 +33,7 @@
 ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/unrar
 ${INSTALL_MAN} ${WRKSRC}/readme.txt ${WRKSRC}/license.txt \
 ${PREFIX}/share/doc/unrar
 +   exit 1
 
  NO_TEST=   Yes
 
 $
 
 
 
 On Thu, May 16, 2013 at 12:26:38PM +0100, Mikolaj Kucharski wrote:
  On Wed, May 15, 2013 at 03:40:07PM +0100, Stuart Henderson wrote:
   Could you at least make sure it doesn't break building/packaging them?
   cpan is a mass of tangled dependencies and often we find that updating
   one thing means updating a handful of others.
   
  
  I think all Perl YAML updates which I've sent don't break building nor
  packaging of any dependent ports.
  
  I did following:
  
  echo  $pkgpath 
  make SUBDIR=$pkgpath clean=depends
  make SUBDIR=$pkgpath clean=packages
  make SUBDIR=$pkgpath package
  ret=$?
  if [ $ret == 0 ]
  then
  echo MAKE PACKAGE FOR $pkgpath SUCCEEDED
  else
  echo MAKE PACKAGE FOR $pkgpath FAILED: $ret
  fi
  make SUBDIR=$pkgpath clean=depends
  
  
  The list which I went through:
  
  
  devel/p5-YAML
  devel/p5-YAML-Perl
  devel/p5-YAML-Shell
  devel/p5-YAML-Syck
  devel/p5-YAML-Tiny
  devel/p5-YAML-XS
  audio/squeezecenter
  converters/p5-Catalyst-View-JSON
  converters/p5-JSON-Any
  databases/p5-Catalyst-Controller-Rose
  databases/p5-Rose-DB
  databases/p5-SQL-Translator
  databases/ports-readmes-dancer
  devel/p5-B-Deobfuscate
  devel/p5-Config-Any
  devel/p5-Config-Auto
  devel/p5-Data-Random
  devel/p5-Devel-ebug
  devel/p5-File-Attributes
  devel/p5-FormValidator-Simple
  devel/p5-Module-Install
  devel/p5-SDL
  devel/p5-SVN-Web
  devel/p5-TAP-Harness-Archive
  devel/p5-Test-Base
  devel/p5-Test-YAML-Valid
  devel/svk
  mail/p5-Mail-SPF-Test
  multimedia/p5-Data-AMF
  net/p5-OSPF-LSDB
  productivity/davical
  sysutils/ns4
  sysutils/shelldap
  www/p5-Catalyst-Runtime
  www/p5-Dancer
  www/p5-HTML-FormFu
  www/p5-HTTP-BrowserDetect
  www/p5-Plack-Middleware-ReverseProxy
  www/p5-Plagger
  
  
 

-- 
best regards
q#



Re: UPDATE: devel/p5-YAML-Syck to 1.25

2013-05-16 Thread Mikolaj Kucharski
On Wed, May 15, 2013 at 03:40:07PM +0100, Stuart Henderson wrote:
 On 2013/05/15 15:35, Mikolaj Kucharski wrote:
  On Wed, May 15, 2013 at 01:48:48PM +0100, Stuart Henderson wrote:
   On 2013/05/15 13:25, Mikolaj Kucharski wrote:
Ping.

http://marc.info/?l=openbsd-portsm=136702137620660w=2
   
   Reverse dependencies
   
   audio/squeezecenter
   converters/p5-JSON-Any
   databases/p5-Catalyst-Controller-Rose
   databases/p5-Rose-DB
   devel/p5-Devel-ebug
   devel/p5-File-Attributes
   devel/p5-Test-YAML-Valid
   devel/p5-YAML-Tiny
   devel/svk
   net/p5-OSPF-LSDB
   sysutils/ns4
   sysutils/shelldap
   
   have you tested any of these?
  
  No, as I don't really use any of above. I've used only p5-Test-YAML-Valid
  from your list to test all related YAML updates. I didn't find any
  regressions.
  
 
 Could you at least make sure it doesn't break building/packaging them?
 cpan is a mass of tangled dependencies and often we find that updating
 one thing means updating a handful of others.
 

I think all Perl YAML updates which I've sent don't break building nor
packaging of any dependent ports.

I did following:

echo  $pkgpath 
make SUBDIR=$pkgpath clean=depends
make SUBDIR=$pkgpath clean=packages
make SUBDIR=$pkgpath package
ret=$?
if [ $ret == 0 ]
then
echo MAKE PACKAGE FOR $pkgpath SUCCEEDED
else
echo MAKE PACKAGE FOR $pkgpath FAILED: $ret
fi
make SUBDIR=$pkgpath clean=depends


The list which I went through:


devel/p5-YAML
devel/p5-YAML-Perl
devel/p5-YAML-Shell
devel/p5-YAML-Syck
devel/p5-YAML-Tiny
devel/p5-YAML-XS
audio/squeezecenter
converters/p5-Catalyst-View-JSON
converters/p5-JSON-Any
databases/p5-Catalyst-Controller-Rose
databases/p5-Rose-DB
databases/p5-SQL-Translator
databases/ports-readmes-dancer
devel/p5-B-Deobfuscate
devel/p5-Config-Any
devel/p5-Config-Auto
devel/p5-Data-Random
devel/p5-Devel-ebug
devel/p5-File-Attributes
devel/p5-FormValidator-Simple
devel/p5-Module-Install
devel/p5-SDL
devel/p5-SVN-Web
devel/p5-TAP-Harness-Archive
devel/p5-Test-Base
devel/p5-Test-YAML-Valid
devel/svk
mail/p5-Mail-SPF-Test
multimedia/p5-Data-AMF
net/p5-OSPF-LSDB
productivity/davical
sysutils/ns4
sysutils/shelldap
www/p5-Catalyst-Runtime
www/p5-Dancer
www/p5-HTML-FormFu
www/p5-HTTP-BrowserDetect
www/p5-Plack-Middleware-ReverseProxy
www/p5-Plagger


-- 
best regards
q#



Re: UPDATE: devel/p5-YAML-Syck to 1.25

2013-05-16 Thread Mikolaj Kucharski
Okay, I just discovered that using make SUBDIR hides error code, so I've
checked build logs carefully and I think my updates are good to go in.

However, it's good to be aware of this:



$ make SUBDIR=archivers/unrar fake
...
===  Faking installation for unrar-4.20v1
install -c -s -o root -g bin -m 555 /home/ports/obj/unrar-4.20/unrar/unrar 
/home/ports/obj/unrar-4.20/fake-i386/usr/local/bin
install -d -o root -g bin -m 755 
/home/ports/obj/unrar-4.20/fake-i386/usr/local/share/doc/unrar
install -c -o root -g bin -m 444 /home/ports/obj/unrar-4.20/unrar/readme.txt 
/home/ports/obj/unrar-4.20/unrar/license.txt  
/home/ports/obj/unrar-4.20/fake-i386/usr/local/share/doc/unrar
exit 1
*** Error 1 in /usr/ports/archivers/unrar (Makefile:36 'do-install')
*** Error 1 in archivers/unrar (/usr/ports/infrastructure/mk/bsd.port.mk:2716 
'/home/ports/obj/unrar-4.20/fake-i386/.fake_done')
*** Error 1 in archivers/unrar (/usr/ports/infrastructure/mk/bsd.port.mk:2360 
'fake')
=== Exiting archivers/unrar with an error
$ echo $?
0


$ cd archivers/unrar  make fake
===  Faking installation for unrar-4.20v1
install -c -s -o root -g bin -m 555 /home/ports/obj/unrar-4.20/unrar/unrar 
/home/ports/obj/unrar-4.20/fake-i386/usr/local/bin
install -d -o root -g bin -m 755 
/home/ports/obj/unrar-4.20/fake-i386/usr/local/share/doc/unrar
install -c -o root -g bin -m 444 /home/ports/obj/unrar-4.20/unrar/readme.txt 
/home/ports/obj/unrar-4.20/unrar/license.txt  
/home/ports/obj/unrar-4.20/fake-i386/usr/local/share/doc/unrar
exit 1
*** Error 1 in /usr/ports/archivers/unrar (Makefile:36 'do-install')
*** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2716 
'/home/ports/obj/unrar-4.20/fake-i386/.fake_done')
*** Error 1 in /usr/ports/archivers/unrar 
(/usr/ports/infrastructure/mk/bsd.port.mk:2360 'fake')
$ echo $?
1



$ cvs -nq diff -u
Index: Makefile
===
RCS file: /cvs/ports/archivers/unrar/Makefile,v
retrieving revision 1.58
diff -u -r1.58 Makefile
--- Makefile10 Mar 2013 22:28:05 -  1.58
+++ Makefile16 May 2013 11:53:38 -
@@ -33,6 +33,7 @@
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/unrar
${INSTALL_MAN} ${WRKSRC}/readme.txt ${WRKSRC}/license.txt \
${PREFIX}/share/doc/unrar
+   exit 1

 NO_TEST=   Yes

$



On Thu, May 16, 2013 at 12:26:38PM +0100, Mikolaj Kucharski wrote:
 On Wed, May 15, 2013 at 03:40:07PM +0100, Stuart Henderson wrote:
  Could you at least make sure it doesn't break building/packaging them?
  cpan is a mass of tangled dependencies and often we find that updating
  one thing means updating a handful of others.
  
 
 I think all Perl YAML updates which I've sent don't break building nor
 packaging of any dependent ports.
 
 I did following:
 
   echo  $pkgpath 
 make SUBDIR=$pkgpath clean=depends
 make SUBDIR=$pkgpath clean=packages
 make SUBDIR=$pkgpath package
 ret=$?
 if [ $ret == 0 ]
 then
 echo MAKE PACKAGE FOR $pkgpath SUCCEEDED
 else
 echo MAKE PACKAGE FOR $pkgpath FAILED: $ret
 fi
 make SUBDIR=$pkgpath clean=depends
 
 
 The list which I went through:
 
 
 devel/p5-YAML
 devel/p5-YAML-Perl
 devel/p5-YAML-Shell
 devel/p5-YAML-Syck
 devel/p5-YAML-Tiny
 devel/p5-YAML-XS
 audio/squeezecenter
 converters/p5-Catalyst-View-JSON
 converters/p5-JSON-Any
 databases/p5-Catalyst-Controller-Rose
 databases/p5-Rose-DB
 databases/p5-SQL-Translator
 databases/ports-readmes-dancer
 devel/p5-B-Deobfuscate
 devel/p5-Config-Any
 devel/p5-Config-Auto
 devel/p5-Data-Random
 devel/p5-Devel-ebug
 devel/p5-File-Attributes
 devel/p5-FormValidator-Simple
 devel/p5-Module-Install
 devel/p5-SDL
 devel/p5-SVN-Web
 devel/p5-TAP-Harness-Archive
 devel/p5-Test-Base
 devel/p5-Test-YAML-Valid
 devel/svk
 mail/p5-Mail-SPF-Test
 multimedia/p5-Data-AMF
 net/p5-OSPF-LSDB
 productivity/davical
 sysutils/ns4
 sysutils/shelldap
 www/p5-Catalyst-Runtime
 www/p5-Dancer
 www/p5-HTML-FormFu
 www/p5-HTTP-BrowserDetect
 www/p5-Plack-Middleware-ReverseProxy
 www/p5-Plagger
 
 

-- 
best regards
q#



PATCH: Less error noise in build logs when package in cache is missing

2013-05-16 Thread Mikolaj Kucharski
Hi,

Here is beginning of a build log of random port:


===  Looking for unrar-4.20v1.tgz in $PKG_PATH - not found
*** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:1824
'/usr/ports/packages/i386/cache//unrar-4.20v1.tgz': @if /usr/bin/env -i
PKG_...)
===  Checking files for unrar-4.20v1
`/usr/ports/distfiles/unrarsrc-4.2.4.tar.gz' is up to date.
 (SHA256) unrarsrc-4.2.4.tar.gz: OK
===  Verifying specs: c crypto m stdc++ c crypto m stdc++
===  found c.68.0 crypto.22.0 m.8.0 stdc++.55.0
===  Extracting for unrar-4.20v1
===  Patching for unrar-4.20v1
===  Configuring for unrar-4.20v1
===  Building for unrar-4.20v1
...


I often find above '*** Error 1 in ...' unnecessary noise when package
was not found. Below patch mutes those errors. It makes greping for
errors mutch easier.

Comments?


Index: bsd.port.mk
===
RCS file: /cvs/ports/infrastructure/mk/bsd.port.mk,v
retrieving revision 1.1224
diff -u -p -r1.1224 bsd.port.mk
--- bsd.port.mk 14 May 2013 13:38:59 -  1.1224
+++ bsd.port.mk 16 May 2013 11:12:42 -
@@ -1836,7 +1836,7 @@ ${_PACKAGE_COOKIE${_S}}:
@mkdir -p ${@D} ${_TMP_REPO}
 .  if ${FETCH_PACKAGES:L} == yes  
!defined(_TRIED_FETCHING_${_PACKAGE_COOKIE${_S}})
@f=${_CACHE_REPO}/${_PKGFILE${_S}}; \
-   cd ${.CURDIR}  ${MAKE} $$f  \
+   cd ${.CURDIR}  ${MAKE} $$f 2/dev/null  \
{ ln $$f $@ 2/dev/null || cp -p $$f $@ ; } || \
cd ${.CURDIR}  ${MAKE} 
_TRIED_FETCHING_${_PACKAGE_COOKIE${_S}}=Yes _internal-package-only
 .  else


-- 
best regards
q#



Re: UPDATE: devel/p5-YAML-Syck to 1.25

2013-05-15 Thread Mikolaj Kucharski
Ping.

http://marc.info/?l=openbsd-portsm=136702137620660w=2

On Sat, Apr 27, 2013 at 01:09:17AM +0100, Mikolaj Kucharski wrote:
 Regress tests pass. Mandoc is happy.
 
 
 Index: Makefile
 ===
 RCS file: /cvs/ports/devel/p5-YAML-Syck/Makefile,v
 retrieving revision 1.14
 diff -u -r1.14 Makefile
 --- Makefile  11 Mar 2013 10:50:24 -  1.14
 +++ Makefile  27 Apr 2013 00:07:12 -
 @@ -4,10 +4,8 @@
  
  SHARED_ONLY= Yes
  MODULES= cpan
 -USE_GROFF =  Yes
  
 -DISTNAME=YAML-Syck-1.17
 -REVISION=0
 +DISTNAME=YAML-Syck-1.25
  CATEGORIES=  devel
  
  # MIT
 Index: distinfo
 ===
 RCS file: /cvs/ports/devel/p5-YAML-Syck/distinfo,v
 retrieving revision 1.6
 diff -u -r1.6 distinfo
 --- distinfo  25 Jun 2011 18:01:22 -  1.6
 +++ distinfo  27 Apr 2013 00:07:12 -
 @@ -1,5 +1,2 @@
 -MD5 (YAML-Syck-1.17.tar.gz) = 94hSmtSywv0DfM39XnqIqw==
 -RMD160 (YAML-Syck-1.17.tar.gz) = ZxKClOGhYwYnak7pCtfwjHE668s=
 -SHA1 (YAML-Syck-1.17.tar.gz) = uEd0jbn2XUMsLieSyb1v3yLn6qY=
 -SHA256 (YAML-Syck-1.17.tar.gz) = O2nxsrccEx9M6mH/8enwR4tU790FJHd8bE+jix5uQes=
 -SIZE (YAML-Syck-1.17.tar.gz) = 163615
 +SHA256 (YAML-Syck-1.25.tar.gz) = E6OhI9x+tVdAi0AhGAyGcAuYSpzjbIUiKmpIz8sEaxc=
 +SIZE (YAML-Syck-1.25.tar.gz) = 171723
 
 

-- 
best regards
q#



Re: UPDATE: devel/p5-YAML to 0.84

2013-05-15 Thread Mikolaj Kucharski
I did very limited testing, didn't find any regressions.

http://marc.info/?l=openbsd-portsm=136700912417270w=2

On Fri, Apr 26, 2013 at 09:45:04PM +0100, Mikolaj Kucharski wrote:
 Hi
 
 Regress is successful. Groff is not needed, as mandoc -Tlint -Werror is
 happy. I did not had a chance to test any ports which depends on this
 updated port.
 
 
 
 Index: Makefile
 ===
 RCS file: /cvs/ports/devel/p5-YAML/Makefile,v
 retrieving revision 1.15
 diff -u -r1.15 Makefile
 --- Makefile  11 Mar 2013 10:50:24 -  1.15
 +++ Makefile  26 Apr 2013 20:38:10 -
 @@ -4,9 +4,8 @@
  
  MODULES= cpan
  
 -DISTNAME=YAML-0.73
 +DISTNAME=YAML-0.84
  CATEGORIES=  devel
 -USE_GROFF =  Yes
  
  # Perl
  PERMIT_PACKAGE_CDROM=Yes
 Index: distinfo
 ===
 RCS file: /cvs/ports/devel/p5-YAML/distinfo,v
 retrieving revision 1.9
 diff -u -r1.9 distinfo
 --- distinfo  25 Jun 2011 18:01:19 -  1.9
 +++ distinfo  26 Apr 2013 20:38:10 -
 @@ -1,5 +1,2 @@
 -MD5 (YAML-0.73.tar.gz) = 7xBkHmmd9Yadqa4AateHGQ==
 -RMD160 (YAML-0.73.tar.gz) = ghDFw4SZW8JXwoIHB2CahfCi4X4=
 -SHA1 (YAML-0.73.tar.gz) = 3R3nxasi9WfB0g0rqtXaheLNRGk=
 -SHA256 (YAML-0.73.tar.gz) = IUS7ew83gP1iOxtHtTnQ/TG1t/lB+eTi+L/ZxJHkLiE=
 -SIZE (YAML-0.73.tar.gz) = 118050
 +SHA256 (YAML-0.84.tar.gz) = CjUfCncVJspKRIxXOngWFN691Slv0IMjlvyJ8YVNZAw=
 +SIZE (YAML-0.84.tar.gz) = 121150
 Index: pkg/PLIST
 ===
 RCS file: /cvs/ports/devel/p5-YAML/pkg/PLIST,v
 retrieving revision 1.5
 diff -u -r1.5 PLIST
 --- pkg/PLIST 24 Mar 2009 19:03:44 -  1.5
 +++ pkg/PLIST 26 Apr 2013 20:38:10 -
 @@ -4,7 +4,6 @@
  ${P5SITE}/YAML/
  ${P5SITE}/YAML.pm
  ${P5SITE}/YAML/Any.pm
 -${P5SITE}/YAML/Base.pm
  ${P5SITE}/YAML/Dumper/
  ${P5SITE}/YAML/Dumper.pm
  ${P5SITE}/YAML/Dumper/Base.pm
 @@ -13,13 +12,13 @@
  ${P5SITE}/YAML/Loader.pm
  ${P5SITE}/YAML/Loader/Base.pm
  ${P5SITE}/YAML/Marshall.pm
 +${P5SITE}/YAML/Mo.pm
  ${P5SITE}/YAML/Node.pm
  ${P5SITE}/YAML/Tag.pm
  ${P5SITE}/YAML/Types.pm
  @man man/man3p/Test::YAML.3p
  @man man/man3p/YAML.3p
  @man man/man3p/YAML::Any.3p
 -@man man/man3p/YAML::Base.3p
  @man man/man3p/YAML::Dumper.3p
  @man man/man3p/YAML::Dumper::Base.3p
  @man man/man3p/YAML::Error.3p
 
 
 
 $ make test
 ===  Regression tests for p5-YAML-0.84
 PERL_DL_NONLAZY=1 /usr/bin/perl -MExtUtils::Command::MM -e 
 test_harness(0, 'inc', 'blib/lib', 'blib/arch') t/*.t
 t/2-scalars.t  ok
 t/basic-tests.t .. ok
 t/bugs-emailed.t . ok
 t/bugs-rt.t .. ok
 t/changes.t .. ok
 t/dump-basics.t .. ok
 t/dump-blessed.t . ok
 t/dump-code.t  ok
 t/dump-file-utf8.t ... ok
 t/dump-file.t  ok
 t/dump-nested.t .. ok
 t/dump-opts.t  ok
 t/dump-perl-types-512.t .. skipped: test only for perls before 
 v5.13.5-11-gfb85c04
 t/dump-perl-types-514.t .. ok
 t/dump-perl-types.t .. ok
 t/dump-stringify.t ... ok
 t/dump-tests-512.t ... skipped: test only for perls before 
 v5.13.5-11-gfb85c04
 t/dump-tests-514.t ... ok
 t/dump-tests.t ... ok
 t/dump-works.t ... ok
 t/errors.t ... ok
 t/export.t ... ok
 t/freeze-thaw.t .. ok
 t/global-api.t ... ok
 t/inbox.t  ok
 t/load-fails.t ... ok
 t/load-passes.t .. ok
 t/load-slides.t .. ok
 t/load-spec.t  ok
 t/load-tests.t ... ok
 t/load-works.t ... ok
 t/marshall.t . ok
 t/node-info.t  ok
 t/pugs-objects.t . ok
 t/references.t ... ok
 t/regexp.t ... ok
 t/svk.t .. ok
 t/test.t . ok
 All tests successful.
 Files=38, Tests=452, 46 wallclock secs ( 0.49 usr  2.00 sys + 11.23 cusr 
 25.39 csys = 39.11 CPU)
 Result: PASS
 

-- 
best regards
q#



UPDATE: devel/p5-YAML-XS to 0.41

2013-05-15 Thread Mikolaj Kucharski
Regress test pass. Also tested with regress of p5-Test-YAML-Valid, which
pass as well.


Index: Makefile
===
RCS file: /cvs/ports/devel/p5-YAML-XS/Makefile,v
retrieving revision 1.10
diff -u -r1.10 Makefile
--- Makefile11 Mar 2013 10:50:24 -  1.10
+++ Makefile15 May 2013 14:11:09 -
@@ -5,8 +5,7 @@
 
 MODULES =  cpan
 
-V =0.38
-REVISION = 1
+V =0.41
 DISTNAME = YAML-LibYAML-$V
 PKGNAME =  p5-YAML-XS-$V
 CATEGORIES =   devel
Index: distinfo
===
RCS file: /cvs/ports/devel/p5-YAML-XS/distinfo,v
retrieving revision 1.4
diff -u -r1.4 distinfo
--- distinfo9 Mar 2012 12:33:42 -   1.4
+++ distinfo15 May 2013 14:11:09 -
@@ -1,5 +1,2 @@
-MD5 (YAML-LibYAML-0.38.tar.gz) = Sq288a/M6c4If5v/0pPkPg==
-RMD160 (YAML-LibYAML-0.38.tar.gz) = Oz/9ycegP0MBqAXWFZPzRotQW58=
-SHA1 (YAML-LibYAML-0.38.tar.gz) = 1SL6xFnwfzHR8jnKfRnMwuKctSQ=
-SHA256 (YAML-LibYAML-0.38.tar.gz) = 
65jzBNFPZVewet+iTaFuAM+lSp2UhLbomONfkZxet7o=
-SIZE (YAML-LibYAML-0.38.tar.gz) = 176599
+SHA256 (YAML-LibYAML-0.41.tar.gz) = 
mmVEJ6OmPeQ0xtA7GLuhRMx7oPDmGnEAxtCNd6kBRc4=
+SIZE (YAML-LibYAML-0.41.tar.gz) = 179218


-- 
best regards
q#



UPDATE: devel/p5-YAML-Tiny to 0.51

2013-05-15 Thread Mikolaj Kucharski
Regress test pass, also tested with regress of p5-Test-YAML-Valid, which
pass as well. Mandoc is happy, so drop groff requirement.

http://cpansearch.perl.org/src/ADAMK/YAML-Tiny-1.51/Changes

Index: Makefile
===
RCS file: /cvs/ports/devel/p5-YAML-Tiny/Makefile,v
retrieving revision 1.8
diff -u -r1.8 Makefile
--- Makefile11 Mar 2013 10:50:24 -  1.8
+++ Makefile15 May 2013 14:17:44 -
@@ -3,9 +3,8 @@
 COMMENT =  read/write YAML files with as little code as possible
 
 MODULES =  cpan
-DISTNAME = YAML-Tiny-1.50
+DISTNAME = YAML-Tiny-1.51
 CATEGORIES =   devel
-USE_GROFF =Yes
 CPAN_AUTHOR =  ADAMK
 
 # Perl
Index: distinfo
===
RCS file: /cvs/ports/devel/p5-YAML-Tiny/distinfo,v
retrieving revision 1.4
diff -u -r1.4 distinfo
--- distinfo25 Jun 2011 18:01:21 -  1.4
+++ distinfo15 May 2013 14:17:44 -
@@ -1,5 +1,2 @@
-MD5 (YAML-Tiny-1.50.tar.gz) = Mzcnvtgu5wRZvcAHqaT8LA==
-RMD160 (YAML-Tiny-1.50.tar.gz) = v+7Mx5eC7o79ETgpIVyA2k0GmDc=
-SHA1 (YAML-Tiny-1.50.tar.gz) = oC4NOAVZaBu7bTNROAXNS15SvXY=
-SHA256 (YAML-Tiny-1.50.tar.gz) = o3nfrQTbItcO3EfGEXZbQBtcA9uwi4F818Ni4B6l4Sk=
-SIZE (YAML-Tiny-1.50.tar.gz) = 42411
+SHA256 (YAML-Tiny-1.51.tar.gz) = XG6bPZ5Vj8Qo2LhxDaSf87y5+2Bt7LY8JIFtoByfi00=
+SIZE (YAML-Tiny-1.51.tar.gz) = 43342


-- 
best regards
q#



UPDATE: devel/p5-Test-YAML-Valid to 0.04

2013-05-15 Thread Mikolaj Kucharski
Regress passes. Drop groff as mandoc -Tlint -Werror is happy.
Regress uses YAML, YAML::Syck, YAML::Tiny and YAML::XS, so I've used
this port to test updates of above YAML related ports.

http://cpansearch.perl.org/src/JROCKWAY/Test-YAML-Valid-0.04/Changes

Index: Makefile
===
RCS file: /cvs/ports/devel/p5-Test-YAML-Valid/Makefile,v
retrieving revision 1.5
diff -u -r1.5 Makefile
--- Makefile11 Mar 2013 10:50:23 -  1.5
+++ Makefile15 May 2013 14:26:31 -
@@ -3,10 +3,8 @@
 COMMENT =  test for valid YAML
 
 MODULES =  cpan
-DISTNAME = Test-YAML-Valid-0.03
-REVISION = 0
+DISTNAME = Test-YAML-Valid-0.04
 CATEGORIES =   devel
-USE_GROFF =Yes
 
 MAINTAINER =   Simon Bertrang si...@openbsd.org
 
@@ -15,7 +13,9 @@
 
 RUN_DEPENDS =  devel/p5-YAML
 BUILD_DEPENDS =${RUN_DEPENDS} \
-   devel/p5-YAML-Syck
+   devel/p5-YAML-Syck \
+   devel/p5-YAML-Tiny \
+   devel/p5-YAML-XS
 
 MAKE_ENV +=TEST_POD=1
 
Index: distinfo
===
RCS file: /cvs/ports/devel/p5-Test-YAML-Valid/distinfo,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 distinfo
--- distinfo9 Sep 2008 21:14:31 -   1.1.1.1
+++ distinfo15 May 2013 14:26:31 -
@@ -1,5 +1,2 @@
-MD5 (Test-YAML-Valid-0.03.tar.gz) = 73a/iZX4FlJT1Yop132o6A==
-RMD160 (Test-YAML-Valid-0.03.tar.gz) = MN2ybSO+QoAHjvDleUnPs2vfIHw=
-SHA1 (Test-YAML-Valid-0.03.tar.gz) = ErpSB1EeYznfwTfwPLN0x9F/0XU=
-SHA256 (Test-YAML-Valid-0.03.tar.gz) = 
xZRM5zw+aX461GWrCESNtjaLAZuPOQh1Xb/5CGKBQjA=
-SIZE (Test-YAML-Valid-0.03.tar.gz) = 26435
+SHA256 (Test-YAML-Valid-0.04.tar.gz) = 
usknNSxosT3PFp/V1cj4vUWY7YjtsaeLDkPoI9COgN4=
+SIZE (Test-YAML-Valid-0.04.tar.gz) = 25970

-- 
best regards
q#



Re: UPDATE: devel/p5-YAML-Syck to 1.25

2013-05-15 Thread Mikolaj Kucharski
On Wed, May 15, 2013 at 01:48:48PM +0100, Stuart Henderson wrote:
 On 2013/05/15 13:25, Mikolaj Kucharski wrote:
  Ping.
  
  http://marc.info/?l=openbsd-portsm=136702137620660w=2
 
 Reverse dependencies
 
 audio/squeezecenter
 converters/p5-JSON-Any
 databases/p5-Catalyst-Controller-Rose
 databases/p5-Rose-DB
 devel/p5-Devel-ebug
 devel/p5-File-Attributes
 devel/p5-Test-YAML-Valid
 devel/p5-YAML-Tiny
 devel/svk
 net/p5-OSPF-LSDB
 sysutils/ns4
 sysutils/shelldap
 
 have you tested any of these?

No, as I don't really use any of above. I've used only p5-Test-YAML-Valid
from your list to test all related YAML updates. I didn't find any
regressions.

-- 
best regards
q#



Re: UPDATE: devel/ruby-bundler to 1.3.5

2013-05-06 Thread Mikolaj Kucharski
On Sun, Apr 28, 2013 at 08:26:10AM -0700, Jeremy Evans wrote:
 On Sun, Apr 28, 2013 at 3:01 AM, Mikolaj Kucharski
 miko...@kucharski.namewrote:
 
  I've tried and no joy -- regress is not happy, and regress is doing here
  some really invasive stuff, which will probably fail with systrace
  (untested). I'm attaching the output from make test. Also, below patch
  contains my debugging patches, which should probably be removed, but I
  kept them, so someone more experienced with Ruby and Ruby ports could
  have a look what should be done with that part of code, if anything
  actually needs to be done.
 
 
 Most of the remaining failures are due to other programs not being
 found because of their extension (ruby/rackup/rake).  You could
 probably fix this by adding them to post-extract.
 
 The regress tests should probably be commented out by default,
 since they are downloading gems.
 
 Are you upgrading bundler because a dependency requires a newer
 version, or just to get the most current version?  In either case, have
 you verified the existing dependencies are OK with the newer version?
 
 Jeremy

To get the most current version. I got a bit out of practice in ports
and I never had a chance to work with Ruby Gems, so picked this random
Ruby port to see how porting Gems works.

I did not had a chance to test anything yet.

-- 
best regards
q#



Re: Clean test depends as well on clean=depends

2013-05-06 Thread Mikolaj Kucharski
Ping.

http://marc.info/?l=openbsd-portsm=136702261620950w=2


On Sat, Apr 27, 2013 at 01:30:03AM +0100, Mikolaj Kucharski wrote:
 Does it make sense for you? I often would like to clean everything, run,
 build and test depends, but currently this is not the case. Comments?
 
 
 
 Index: infrastructure/mk/bsd.port.mk
 ===
 RCS file: /cvs/ports/infrastructure/mk/bsd.port.mk,v
 retrieving revision 1.1222
 diff -u -r1.1222 bsd.port.mk
 --- infrastructure/mk/bsd.port.mk 8 Apr 2013 16:45:06 -   1.1222
 +++ infrastructure/mk/bsd.port.mk 27 Apr 2013 00:27:33 -
 @@ -2890,7 +2890,8 @@
  
  _internal-clean:
  .if ${_clean:Mdepends}  ${_CLEANDEPENDS:L} == yes
 - @PKGPATH=${PKGPATH} ${MAKE} all-dir-depends|${_sort_dependencies}|while 
 read subdir; do \
 + @PKGPATH=${PKGPATH} ${MAKE} all-dir-depends test-dir-depends | \
 + ${_sort_dependencies}|while read subdir; do \
   ${_flavor_fragment}; \
   eval $$toset ${MAKE} _CLEANDEPENDS=No clean; \
   done
 

-- 
best regards
q#



<    1   2   3   4   5   6   7   8   >