commit beca35ad5ed5e92c4eda756713630e420cd7d745 Author: Juergen Daubert <jue@jue.li> Date: Tue Dec 28 17:01:22 2021 +0100 libpcre2: opt -> core, move library to /lib diff --git a/libpcre2/.footprint b/libpcre2/.footprint new file mode 100644 index 00000000..29a36573 --- /dev/null +++ b/libpcre2/.footprint @@ -0,0 +1,133 @@ +drwxr-xr-x root/root lib/ +lrwxrwxrwx root/root lib/libpcre2-8.so.0 -> libpcre2-8.so.0.10.4 +-rwxr-xr-x root/root lib/libpcre2-8.so.0.10.4 +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/bin/ +-rwxr-xr-x root/root usr/bin/pcre2-config +-rwxr-xr-x root/root usr/bin/pcre2grep +-rwxr-xr-x root/root usr/bin/pcre2test +drwxr-xr-x root/root usr/include/ +-rw-r--r-- root/root usr/include/pcre2.h +-rw-r--r-- root/root usr/include/pcre2posix.h +drwxr-xr-x root/root usr/lib/ +-rw-r--r-- root/root usr/lib/libpcre2-16.a +-rwxr-xr-x root/root usr/lib/libpcre2-16.la +lrwxrwxrwx root/root usr/lib/libpcre2-16.so -> libpcre2-16.so.0.10.4 +lrwxrwxrwx root/root usr/lib/libpcre2-16.so.0 -> libpcre2-16.so.0.10.4 +-rwxr-xr-x root/root usr/lib/libpcre2-16.so.0.10.4 +-rw-r--r-- root/root usr/lib/libpcre2-32.a +-rwxr-xr-x root/root usr/lib/libpcre2-32.la +lrwxrwxrwx root/root usr/lib/libpcre2-32.so -> libpcre2-32.so.0.10.4 +lrwxrwxrwx root/root usr/lib/libpcre2-32.so.0 -> libpcre2-32.so.0.10.4 +-rwxr-xr-x root/root usr/lib/libpcre2-32.so.0.10.4 +-rw-r--r-- root/root usr/lib/libpcre2-8.a +-rwxr-xr-x root/root usr/lib/libpcre2-8.la +lrwxrwxrwx root/root usr/lib/libpcre2-8.so -> ../../lib/libpcre2-8.so.0.10.4 +-rw-r--r-- root/root usr/lib/libpcre2-posix.a +-rwxr-xr-x root/root usr/lib/libpcre2-posix.la +lrwxrwxrwx root/root usr/lib/libpcre2-posix.so -> libpcre2-posix.so.3.0.1 +lrwxrwxrwx root/root usr/lib/libpcre2-posix.so.3 -> libpcre2-posix.so.3.0.1 +-rwxr-xr-x root/root usr/lib/libpcre2-posix.so.3.0.1 +drwxr-xr-x root/root usr/lib/pkgconfig/ +-rw-r--r-- root/root usr/lib/pkgconfig/libpcre2-16.pc +-rw-r--r-- root/root usr/lib/pkgconfig/libpcre2-32.pc +-rw-r--r-- root/root usr/lib/pkgconfig/libpcre2-8.pc +-rw-r--r-- root/root usr/lib/pkgconfig/libpcre2-posix.pc +drwxr-xr-x root/root usr/share/ +drwxr-xr-x root/root usr/share/man/ +drwxr-xr-x root/root usr/share/man/man1/ +-rw-r--r-- root/root usr/share/man/man1/pcre2-config.1.gz +-rw-r--r-- root/root usr/share/man/man1/pcre2grep.1.gz +-rw-r--r-- root/root usr/share/man/man1/pcre2test.1.gz +drwxr-xr-x root/root usr/share/man/man3/ +-rw-r--r-- root/root usr/share/man/man3/pcre2.3.gz +-rw-r--r-- root/root usr/share/man/man3/pcre2_callout_enumerate.3.gz +-rw-r--r-- root/root usr/share/man/man3/pcre2_code_copy.3.gz +-rw-r--r-- root/root usr/share/man/man3/pcre2_code_copy_with_tables.3.gz +-rw-r--r-- root/root usr/share/man/man3/pcre2_code_free.3.gz +-rw-r--r-- root/root usr/share/man/man3/pcre2_compile.3.gz +-rw-r--r-- root/root usr/share/man/man3/pcre2_compile_context_copy.3.gz +-rw-r--r-- root/root usr/share/man/man3/pcre2_compile_context_create.3.gz +-rw-r--r-- root/root usr/share/man/man3/pcre2_compile_context_free.3.gz +-rw-r--r-- root/root usr/share/man/man3/pcre2_config.3.gz +-rw-r--r-- root/root usr/share/man/man3/pcre2_convert_context_copy.3.gz +-rw-r--r-- root/root usr/share/man/man3/pcre2_convert_context_create.3.gz +-rw-r--r-- root/root usr/share/man/man3/pcre2_convert_context_free.3.gz +-rw-r--r-- root/root usr/share/man/man3/pcre2_converted_pattern_free.3.gz +-rw-r--r-- root/root usr/share/man/man3/pcre2_dfa_match.3.gz +-rw-r--r-- root/root usr/share/man/man3/pcre2_general_context_copy.3.gz +-rw-r--r-- root/root usr/share/man/man3/pcre2_general_context_create.3.gz +-rw-r--r-- root/root usr/share/man/man3/pcre2_general_context_free.3.gz +-rw-r--r-- root/root usr/share/man/man3/pcre2_get_error_message.3.gz +-rw-r--r-- root/root usr/share/man/man3/pcre2_get_mark.3.gz +-rw-r--r-- root/root usr/share/man/man3/pcre2_get_match_data_size.3.gz +-rw-r--r-- root/root usr/share/man/man3/pcre2_get_ovector_count.3.gz +-rw-r--r-- root/root usr/share/man/man3/pcre2_get_ovector_pointer.3.gz +-rw-r--r-- root/root usr/share/man/man3/pcre2_get_startchar.3.gz +-rw-r--r-- root/root usr/share/man/man3/pcre2_jit_compile.3.gz +-rw-r--r-- root/root usr/share/man/man3/pcre2_jit_free_unused_memory.3.gz +-rw-r--r-- root/root usr/share/man/man3/pcre2_jit_match.3.gz +-rw-r--r-- root/root usr/share/man/man3/pcre2_jit_stack_assign.3.gz +-rw-r--r-- root/root usr/share/man/man3/pcre2_jit_stack_create.3.gz +-rw-r--r-- root/root usr/share/man/man3/pcre2_jit_stack_free.3.gz +-rw-r--r-- root/root usr/share/man/man3/pcre2_maketables.3.gz +-rw-r--r-- root/root usr/share/man/man3/pcre2_maketables_free.3.gz +-rw-r--r-- root/root usr/share/man/man3/pcre2_match.3.gz +-rw-r--r-- root/root usr/share/man/man3/pcre2_match_context_copy.3.gz +-rw-r--r-- root/root usr/share/man/man3/pcre2_match_context_create.3.gz +-rw-r--r-- root/root usr/share/man/man3/pcre2_match_context_free.3.gz +-rw-r--r-- root/root usr/share/man/man3/pcre2_match_data_create.3.gz +-rw-r--r-- root/root usr/share/man/man3/pcre2_match_data_create_from_pattern.3.gz +-rw-r--r-- root/root usr/share/man/man3/pcre2_match_data_free.3.gz +-rw-r--r-- root/root usr/share/man/man3/pcre2_pattern_convert.3.gz +-rw-r--r-- root/root usr/share/man/man3/pcre2_pattern_info.3.gz +-rw-r--r-- root/root usr/share/man/man3/pcre2_serialize_decode.3.gz +-rw-r--r-- root/root usr/share/man/man3/pcre2_serialize_encode.3.gz +-rw-r--r-- root/root usr/share/man/man3/pcre2_serialize_free.3.gz +-rw-r--r-- root/root usr/share/man/man3/pcre2_serialize_get_number_of_codes.3.gz +-rw-r--r-- root/root usr/share/man/man3/pcre2_set_bsr.3.gz +-rw-r--r-- root/root usr/share/man/man3/pcre2_set_callout.3.gz +-rw-r--r-- root/root usr/share/man/man3/pcre2_set_character_tables.3.gz +-rw-r--r-- root/root usr/share/man/man3/pcre2_set_compile_extra_options.3.gz +-rw-r--r-- root/root usr/share/man/man3/pcre2_set_compile_recursion_guard.3.gz +-rw-r--r-- root/root usr/share/man/man3/pcre2_set_depth_limit.3.gz +-rw-r--r-- root/root usr/share/man/man3/pcre2_set_glob_escape.3.gz +-rw-r--r-- root/root usr/share/man/man3/pcre2_set_glob_separator.3.gz +-rw-r--r-- root/root usr/share/man/man3/pcre2_set_heap_limit.3.gz +-rw-r--r-- root/root usr/share/man/man3/pcre2_set_match_limit.3.gz +-rw-r--r-- root/root usr/share/man/man3/pcre2_set_max_pattern_length.3.gz +-rw-r--r-- root/root usr/share/man/man3/pcre2_set_newline.3.gz +-rw-r--r-- root/root usr/share/man/man3/pcre2_set_offset_limit.3.gz +-rw-r--r-- root/root usr/share/man/man3/pcre2_set_parens_nest_limit.3.gz +-rw-r--r-- root/root usr/share/man/man3/pcre2_set_recursion_limit.3.gz +-rw-r--r-- root/root usr/share/man/man3/pcre2_set_recursion_memory_management.3.gz +-rw-r--r-- root/root usr/share/man/man3/pcre2_set_substitute_callout.3.gz +-rw-r--r-- root/root usr/share/man/man3/pcre2_substitute.3.gz +-rw-r--r-- root/root usr/share/man/man3/pcre2_substring_copy_byname.3.gz +-rw-r--r-- root/root usr/share/man/man3/pcre2_substring_copy_bynumber.3.gz +-rw-r--r-- root/root usr/share/man/man3/pcre2_substring_free.3.gz +-rw-r--r-- root/root usr/share/man/man3/pcre2_substring_get_byname.3.gz +-rw-r--r-- root/root usr/share/man/man3/pcre2_substring_get_bynumber.3.gz +-rw-r--r-- root/root usr/share/man/man3/pcre2_substring_length_byname.3.gz +-rw-r--r-- root/root usr/share/man/man3/pcre2_substring_length_bynumber.3.gz +-rw-r--r-- root/root usr/share/man/man3/pcre2_substring_list_free.3.gz +-rw-r--r-- root/root usr/share/man/man3/pcre2_substring_list_get.3.gz +-rw-r--r-- root/root usr/share/man/man3/pcre2_substring_nametable_scan.3.gz +-rw-r--r-- root/root usr/share/man/man3/pcre2_substring_number_from_name.3.gz +-rw-r--r-- root/root usr/share/man/man3/pcre2api.3.gz +-rw-r--r-- root/root usr/share/man/man3/pcre2build.3.gz +-rw-r--r-- root/root usr/share/man/man3/pcre2callout.3.gz +-rw-r--r-- root/root usr/share/man/man3/pcre2compat.3.gz +-rw-r--r-- root/root usr/share/man/man3/pcre2convert.3.gz +-rw-r--r-- root/root usr/share/man/man3/pcre2demo.3.gz +-rw-r--r-- root/root usr/share/man/man3/pcre2jit.3.gz +-rw-r--r-- root/root usr/share/man/man3/pcre2limits.3.gz +-rw-r--r-- root/root usr/share/man/man3/pcre2matching.3.gz +-rw-r--r-- root/root usr/share/man/man3/pcre2partial.3.gz +-rw-r--r-- root/root usr/share/man/man3/pcre2pattern.3.gz +-rw-r--r-- root/root usr/share/man/man3/pcre2perform.3.gz +-rw-r--r-- root/root usr/share/man/man3/pcre2posix.3.gz +-rw-r--r-- root/root usr/share/man/man3/pcre2sample.3.gz +-rw-r--r-- root/root usr/share/man/man3/pcre2serialize.3.gz +-rw-r--r-- root/root usr/share/man/man3/pcre2syntax.3.gz +-rw-r--r-- root/root usr/share/man/man3/pcre2unicode.3.gz diff --git a/libpcre2/.signature b/libpcre2/.signature new file mode 100644 index 00000000..32c43c89 --- /dev/null +++ b/libpcre2/.signature @@ -0,0 +1,5 @@ +untrusted comment: verify with /etc/ports/opt.pub +RWSE3ohX2g5d/a7tleahPBFtSEN3pGgN0rgihYU3rw25Vd4kB3awCdsHJ+vJyu7eeNJERgYWPA8P3xpW4lhS5UodFbK720FsNgc= +SHA256 (Pkgfile) = b5eaac76d1c503038e06679a69617c0d5890445b3836fa5917fa9620683501ec +SHA256 (.footprint) = 58c250eccdc692e6f373c325325f2c66fd3baaaf2236382901a03d2994e6cc02 +SHA256 (pcre2-10.39.tar.gz) = 0781bd2536ef5279b1943471fdcdbd9961a2845e1d2c9ad849b9bd98ba1a9bd4 diff --git a/libpcre2/Pkgfile b/libpcre2/Pkgfile new file mode 100644 index 00000000..65813648 --- /dev/null +++ b/libpcre2/Pkgfile @@ -0,0 +1,27 @@ +# Description: Perl Compatible Regular Expressions +# URL: http://www.pcre.org +# Maintainer: CRUX System Team, core-ports at crux dot nu + +name=libpcre2 +version=10.39 +release=2 +source=(https://github.com/PhilipHazel/pcre2/releases/download/pcre2-$version/pcre2-...) + +build() { + cd pcre2-$version + + ./configure \ + --prefix=/usr \ + --enable-jit \ + --enable-pcre2-16 \ + --enable-pcre2-32 + + make + make DESTDIR=$PKG install + + install -d $PKG/lib + mv $PKG/usr/lib/libpcre2-8.so.* $PKG/lib + ln -sf ../../lib/$(readlink $PKG/usr/lib/libpcre2-8.so) $PKG/usr/lib/libpcre2-8.so + + rm -r $PKG/usr/share/doc +}