On Thu, Sep 26, 2019 at 02:26:36AM +0000, wen heping wrote:
> Hi,
> 
>     To update devel/p5-Inline to 0.83, we shall :
>      i) create three new ports, devel/p5-Inline-C, devel/p5-Inline-Files and 
> devel/p5-Pegex.
>         I attached these 3 new ports in p5-Inline-C.tar.gz
>      ii) Three ports should be update, I attached the patch to 
> p5-Inline-0.83.diff.txt.
>      It build well and passed all tests on amd64-head system.
> 
>      Four ports depends on devel/p5-Inline. With this patch , three ports 
> build well and passed
> all tests: audio/p5-Ogg-Vorbis-Header, www/p5-HTML-Template-JIT and 
> graphics/p5-Imager.
>     One failed tests: devel/p5-Device-USB. But this port currently failed 
> tests and run error and upstream
> defined it DEPRECATED. I suggested remove this port in my previous mail.
> 
> Comments? OK?

OK afresh1@ for three new ports, three updates, and the removal.

On a side-note, in p5-Ogg-Vorbis-Header the patch could use a regen to
pick up $OpenBSD$ 

> Index: devel/p5-Inline/Makefile
> ===================================================================
> RCS file: /cvs/ports/devel/p5-Inline/Makefile,v
> retrieving revision 1.11
> diff -u -p -r1.11 Makefile
> --- devel/p5-Inline/Makefile  12 Jul 2019 20:44:58 -0000      1.11
> +++ devel/p5-Inline/Makefile  26 Sep 2019 01:21:28 -0000
> @@ -4,8 +4,7 @@ COMMENT=      write Perl subroutines in other
>  
>  MODULES=     cpan
>  PKG_ARCH=    *
> -DISTNAME =   Inline-0.52
> -REVISION=    0
> +DISTNAME =   Inline-0.83
>  CATEGORIES=  devel
>  
>  MAINTAINER=  Gleydson Soares <gsoa...@openbsd.org>
> @@ -14,6 +13,9 @@ MAINTAINER= Gleydson Soares <gsoares@ope
>  PERMIT_PACKAGE=      Yes
>  
>  RUN_DEPENDS= devel/p5-Parse-RecDescent
> -TEST_DEPENDS=        devel/p5-Test-Warn
> +TEST_DEPENDS=        devel/p5-Inline-Files \
> +             devel/p5-Test-Warn
> +
> +MAKE_ENV+=   TEST_POD=Yes AUTHOR_TESTING=Yes
>  
>  .include <bsd.port.mk>
> Index: devel/p5-Inline/distinfo
> ===================================================================
> RCS file: /cvs/ports/devel/p5-Inline/distinfo,v
> retrieving revision 1.4
> diff -u -p -r1.4 distinfo
> --- devel/p5-Inline/distinfo  27 Mar 2013 15:45:08 -0000      1.4
> +++ devel/p5-Inline/distinfo  26 Sep 2019 01:21:28 -0000
> @@ -1,2 +1,2 @@
> -SHA256 (Inline-0.52.tar.gz) = +ZSAWR/rcaoxd4CAK6EiMcosA0AUZOJp/wWHVF+Sfjg=
> -SIZE (Inline-0.52.tar.gz) = 111652
> +SHA256 (Inline-0.83.tar.gz) = FxqOX2b6+I/l703nEmJnzY+yUDSDQy6rw7iKx9W+Qjk=
> +SIZE (Inline-0.83.tar.gz) = 78956
> Index: devel/p5-Inline/patches/patch-C_Makefile_PL
> ===================================================================
> RCS file: devel/p5-Inline/patches/patch-C_Makefile_PL
> diff -N devel/p5-Inline/patches/patch-C_Makefile_PL
> --- devel/p5-Inline/patches/patch-C_Makefile_PL       27 Mar 2013 15:45:11 
> -0000      1.3
> +++ /dev/null 1 Jan 1970 00:00:00 -0000
> @@ -1,16 +0,0 @@
> ---- C/Makefile.PL.orig       Tue Nov 20 10:35:19 2012
> -+++ C/Makefile.PL    Wed Mar 27 16:23:35 2013
> -@@ -68,12 +68,7 @@ END
> - # '
> - }
> - 
> --my $answer = '';
> --my $default = $found ? "y" : "n";
> --while (1) {
> --    $answer = prompt ('Do you want to install Inline::C?', $default);
> --    last if $answer =~ /^(y|yes|n|no)$/i;
> --}
> -+my $answer = 'y';
> - 
> - my $prereq_pm = install_base_problem() ? {'ExtUtils::MakeMaker' => 6.62}
> -                                        : {};
> Index: devel/p5-Inline/pkg/PLIST
> ===================================================================
> RCS file: /cvs/ports/devel/p5-Inline/pkg/PLIST,v
> retrieving revision 1.1.1.1
> diff -u -p -r1.1.1.1 PLIST
> --- devel/p5-Inline/pkg/PLIST 8 Dec 2006 23:01:17 -0000       1.1.1.1
> +++ devel/p5-Inline/pkg/PLIST 26 Sep 2019 01:21:28 -0000
> @@ -1,130 +1,16 @@
>  @comment $OpenBSD: PLIST,v 1.1.1.1 2006/12/08 23:01:17 steven Exp $
>  ${P5SITE}/Inline/
> -${P5SITE}/Inline-API.pod
> -${P5SITE}/Inline-FAQ.pod
> -${P5SITE}/Inline-Support.pod
>  ${P5SITE}/Inline.pm
>  ${P5SITE}/Inline.pod
> -${P5SITE}/Inline/C/
> -${P5SITE}/Inline/C-Cookbook.pod
> -${P5SITE}/Inline/C.pm
> -${P5SITE}/Inline/C.pod
> -${P5SITE}/Inline/C/ParseRecDescent.pm
> -${P5SITE}/Inline/C/ParseRegExp.pm
> +${P5SITE}/Inline/API.pod
> +${P5SITE}/Inline/FAQ.pod
>  ${P5SITE}/Inline/Foo.pm
>  ${P5SITE}/Inline/MakeMaker/
>  ${P5SITE}/Inline/MakeMaker.pm
>  ${P5SITE}/Inline/MakeMaker/Changes
> +${P5SITE}/Inline/Support.pod
>  ${P5SITE}/Inline/denter.pm
> -${P5SITE}/auto/
> -${P5SITE}/auto/Inline/
> -${P5SITE}/auto/Inline/M01_usage_use.al
> -${P5SITE}/auto/Inline/M02_usage.al
> -${P5SITE}/auto/Inline/M03_usage_bind.al
> -${P5SITE}/auto/Inline/M04_error_nocode.al
> -${P5SITE}/auto/Inline/M05_error_eval.al
> -${P5SITE}/auto/Inline/M06_code_file_failed_open.al
> -${P5SITE}/auto/Inline/M07_code_file_does_not_exist.al
> -${P5SITE}/auto/Inline/M08_no_DATA_source_code.al
> -${P5SITE}/auto/Inline/M09_marker_mismatch.al
> -${P5SITE}/auto/Inline/M10_usage_WITH_USING.al
> -${P5SITE}/auto/Inline/M11_usage_DIRECTORY.al
> -${P5SITE}/auto/Inline/M12_usage_NAME.al
> -${P5SITE}/auto/Inline/M13_usage_VERSION.al
> -${P5SITE}/auto/Inline/M14_usage_Config.al
> -${P5SITE}/auto/Inline/M15_usage_install_directory.al
> -${P5SITE}/auto/Inline/M16_DIRECTORY_mkdir_failed.al
> -${P5SITE}/auto/Inline/M17_config_open_failed.al
> -${P5SITE}/auto/Inline/M18_error_old_version.al
> -${P5SITE}/auto/Inline/M19_usage_language.al
> -${P5SITE}/auto/Inline/M20_config_creation_failed.al
> -${P5SITE}/auto/Inline/M21_opendir_failed.al
> -${P5SITE}/auto/Inline/M22_usage_register.al
> -${P5SITE}/auto/Inline/M23_usage_alias_used.al
> -${P5SITE}/auto/Inline/M24_open_for_output_failed.al
> -${P5SITE}/auto/Inline/M25_no_WITH_support.al
> -${P5SITE}/auto/Inline/M26_error_version_without_name.al
> -${P5SITE}/auto/Inline/M27_module_not_indexed.al
> -${P5SITE}/auto/Inline/M28_error_grokking_path.al
> -${P5SITE}/auto/Inline/M29_error_relative_path.al
> -${P5SITE}/auto/Inline/M30_error_no_obj.al
> -${P5SITE}/auto/Inline/M31_inline_open_failed.al
> -${P5SITE}/auto/Inline/M32_error_md5_validation.al
> -${P5SITE}/auto/Inline/M33_error_old_inline_version.al
> -${P5SITE}/auto/Inline/M34_error_incorrect_version.al
> -${P5SITE}/auto/Inline/M35_error_no_object_file.al
> -${P5SITE}/auto/Inline/M36_usage_install_main.al
> -${P5SITE}/auto/Inline/M37_usage_install_auto.al
> -${P5SITE}/auto/Inline/M38_usage_install_name.al
> -${P5SITE}/auto/Inline/M39_usage_install_version.al
> -${P5SITE}/auto/Inline/M40_usage_install_badname.al
> -${P5SITE}/auto/Inline/M41_usage_install_version_mismatch.al
> -${P5SITE}/auto/Inline/M42_usage_loader.al
> -${P5SITE}/auto/Inline/M43_error_bootstrap.al
> -${P5SITE}/auto/Inline/M45_usage_with.al
> -${P5SITE}/auto/Inline/M46_usage_with_bad.al
> -${P5SITE}/auto/Inline/M47_invalid_config_option.al
> -${P5SITE}/auto/Inline/M48_usage_shortcuts.al
> -${P5SITE}/auto/Inline/M49_usage_unsafe.al
> -${P5SITE}/auto/Inline/M51_unused_DATA.al
> -${P5SITE}/auto/Inline/M52_invalid_filter.al
> -${P5SITE}/auto/Inline/M53_mkdir_failed.al
> -${P5SITE}/auto/Inline/M54_rmdir_failed.al
> -${P5SITE}/auto/Inline/M55_unlink_failed.al
> -${P5SITE}/auto/Inline/M56_no_DIRECTORY_found.al
> -${P5SITE}/auto/Inline/M57_wrong_architecture.al
> -${P5SITE}/auto/Inline/M58_site_install.al
> -${P5SITE}/auto/Inline/M59_bad_inline_file.al
> -${P5SITE}/auto/Inline/M60_no_inline_files.al
> -${P5SITE}/auto/Inline/M61_not_parsed.al
> -${P5SITE}/auto/Inline/M62_invalid_config_file.al
> -${P5SITE}/auto/Inline/M63_no_source.al
> -${P5SITE}/auto/Inline/M64_install_not_c.al
> -${P5SITE}/auto/Inline/_mkdir.al
> -${P5SITE}/auto/Inline/_rmtree.al
> -${P5SITE}/auto/Inline/autosplit.ix
> -${P5SITE}/auto/Inline/check_config_file.al
> -${P5SITE}/auto/Inline/check_module.al
> -${P5SITE}/auto/Inline/clean_build.al
> -${P5SITE}/auto/Inline/create_config_file.al
> -${P5SITE}/auto/Inline/denter/
> -${P5SITE}/auto/Inline/denter/M01_invalid_indent_width.al
> -${P5SITE}/auto/Inline/denter/M02_no_key_end_marker.al
> -${P5SITE}/auto/Inline/denter/M03_no_value_end_marker.al
> -${P5SITE}/auto/Inline/denter/M04_mismatched_quotes.al
> -${P5SITE}/auto/Inline/denter/M05_invalid_key_value.al
> -${P5SITE}/auto/Inline/denter/M06_invalid_indent_level.al
> -${P5SITE}/auto/Inline/denter/M07_invalid_scalar_value.al
> -${P5SITE}/auto/Inline/denter/_print_ref.al
> -${P5SITE}/auto/Inline/denter/autosplit.ix
> -${P5SITE}/auto/Inline/denter/indent.al
> -${P5SITE}/auto/Inline/denter/indent_array.al
> -${P5SITE}/auto/Inline/denter/indent_data.al
> -${P5SITE}/auto/Inline/denter/indent_hash.al
> -${P5SITE}/auto/Inline/denter/indent_name.al
> -${P5SITE}/auto/Inline/denter/indent_ref.al
> -${P5SITE}/auto/Inline/denter/indent_scalar.al
> -${P5SITE}/auto/Inline/denter/indent_undef.al
> -${P5SITE}/auto/Inline/denter/indent_value.al
> -${P5SITE}/auto/Inline/env_untaint.al
> -${P5SITE}/auto/Inline/filter.al
> -${P5SITE}/auto/Inline/find_temp_dir.al
> -${P5SITE}/auto/Inline/install.al
> -${P5SITE}/auto/Inline/maker_utils.al
> -${P5SITE}/auto/Inline/mkpath.al
> -${P5SITE}/auto/Inline/obj_untaint.al
> -${P5SITE}/auto/Inline/print_info.al
> -${P5SITE}/auto/Inline/read_inline_file.al
> -${P5SITE}/auto/Inline/receive_code.al
> -${P5SITE}/auto/Inline/reportbug.al
> -${P5SITE}/auto/Inline/rmpath.al
> -${P5SITE}/auto/Inline/with_configs.al
> -${P5SITE}/auto/Inline/write_inl_file.al
> -@man man/man3p/Inline-API.3p
> -@man man/man3p/Inline-FAQ.3p
> -@man man/man3p/Inline-Support.3p
>  @man man/man3p/Inline.3p
> -@man man/man3p/Inline::C-Cookbook.3p
> -@man man/man3p/Inline::C.3p
> -@man man/man3p/Inline::C::ParseRecDescent.3p
> -@man man/man3p/Inline::C::ParseRegExp.3p
> +@man man/man3p/Inline::API.3p
> +@man man/man3p/Inline::FAQ.3p
> +@man man/man3p/Inline::Support.3p
> Index: audio/p5-Ogg-Vorbis-Header/Makefile
> ===================================================================
> RCS file: /cvs/ports/audio/p5-Ogg-Vorbis-Header/Makefile,v
> retrieving revision 1.19
> diff -u -p -r1.19 Makefile
> --- audio/p5-Ogg-Vorbis-Header/Makefile       12 Jul 2019 20:43:38 -0000      
> 1.19
> +++ audio/p5-Ogg-Vorbis-Header/Makefile       26 Sep 2019 01:21:28 -0000
> @@ -4,6 +4,7 @@ COMMENT=      object-oriented interface to Og
>  
>  MODULES=     cpan
>  DISTNAME=    Ogg-Vorbis-Header-0.05
> +REVISION=    0
>  CATEGORIES=  audio
>  
>  # perl
> @@ -12,8 +13,8 @@ PERMIT_PACKAGE=     Yes
>  WANTLIB=     c ogg perl vorbis vorbisfile
>  
>  LIB_DEPENDS= audio/libvorbis
> -RUN_DEPENDS= devel/p5-Inline
> -BUILD_DEPENDS=       devel/p5-Inline
> +RUN_DEPENDS= devel/p5-Inline-C
> +BUILD_DEPENDS=       devel/p5-Inline-C
>  
>  pre-configure:
>       sed -i 's,%%LOCALBASE%%,${LOCALBASE},' ${WRKSRC}/Header.pm
> Index: www/p5-HTML-Template-JIT/Makefile
> ===================================================================
> RCS file: /cvs/ports/www/p5-HTML-Template-JIT/Makefile,v
> retrieving revision 1.8
> diff -u -p -r1.8 Makefile
> --- www/p5-HTML-Template-JIT/Makefile 12 Jul 2019 20:50:54 -0000      1.8
> +++ www/p5-HTML-Template-JIT/Makefile 26 Sep 2019 01:21:28 -0000
> @@ -5,13 +5,13 @@ COMMENT=    just-in-time compiler for HTML:
>  MODULES=     cpan
>  PKG_ARCH=    *
>  DISTNAME=    HTML-Template-JIT-0.05
> -REVISION=    0
> +REVISION=    1
>  CATEGORIES=  www
>  
>  MAINTAINER=  Okan Demirmen <o...@openbsd.org>
>  
>  RUN_DEPENDS= www/p5-HTML-Template \
> -             devel/p5-Inline
> +             devel/p5-Inline-C
>  
>  # GPL/Artistic license
>  PERMIT_PACKAGE=      Yes


Reply via email to