SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
33
devel/pcre/Makefile
Normal file
33
devel/pcre/Makefile
Normal file
|
@ -0,0 +1,33 @@
|
|||
COMMENT= perl-compatible regular expression library
|
||||
|
||||
DISTNAME= pcre-8.45
|
||||
|
||||
SHARED_LIBS += pcre 3.0 # 0.1
|
||||
SHARED_LIBS += pcre16 0.0 # 0.0
|
||||
SHARED_LIBS += pcreposix 1.5 # 0.0
|
||||
SHARED_LIBS += pcrecpp 3.3 # 0.0
|
||||
|
||||
CATEGORIES= devel
|
||||
DPB_PROPERTIES= parallel
|
||||
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=pcre/}
|
||||
|
||||
HOMEPAGE= http://www.pcre.org/
|
||||
|
||||
MAINTAINER= Robert Nagy <robert@openbsd.org>
|
||||
|
||||
# BSD
|
||||
PERMIT_PACKAGE= Yes
|
||||
|
||||
WANTLIB += c curses m readline ${COMPILER_LIBCXX}
|
||||
|
||||
COMPILER = base-clang ports-gcc base-gcc
|
||||
|
||||
CONFIGURE_STYLE= gnu
|
||||
CONFIGURE_ARGS= --enable-pcre8 \
|
||||
--enable-pcre16 \
|
||||
--enable-utf \
|
||||
--enable-unicode-properties \
|
||||
--enable-pcretest-libreadline
|
||||
|
||||
.include <bsd.port.mk>
|
2
devel/pcre/distinfo
Normal file
2
devel/pcre/distinfo
Normal file
|
@ -0,0 +1,2 @@
|
|||
SHA256 (pcre-8.45.tar.gz) = TmzgPgM26LSj1sK3CxxeGFkKVnOpgYbakNTzPCPe/Ak=
|
||||
SIZE (pcre-8.45.tar.gz) = 2096552
|
75
devel/pcre/patches/patch-configure
Normal file
75
devel/pcre/patches/patch-configure
Normal file
|
@ -0,0 +1,75 @@
|
|||
Index: configure
|
||||
--- configure.orig
|
||||
+++ configure
|
||||
@@ -4787,17 +4787,9 @@ printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
|
||||
if test $ac_test_CFLAGS; then
|
||||
CFLAGS=$ac_save_CFLAGS
|
||||
elif test $ac_cv_prog_cc_g = yes; then
|
||||
- if test "$GCC" = yes; then
|
||||
- CFLAGS="-g -O2"
|
||||
- else
|
||||
CFLAGS="-g"
|
||||
- fi
|
||||
else
|
||||
- if test "$GCC" = yes; then
|
||||
- CFLAGS="-O2"
|
||||
- else
|
||||
CFLAGS=
|
||||
- fi
|
||||
fi
|
||||
ac_prog_cc_stdc=no
|
||||
if test x$ac_prog_cc_stdc = xno
|
||||
@@ -5910,17 +5902,9 @@ printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
|
||||
if test $ac_test_CFLAGS; then
|
||||
CFLAGS=$ac_save_CFLAGS
|
||||
elif test $ac_cv_prog_cc_g = yes; then
|
||||
- if test "$GCC" = yes; then
|
||||
- CFLAGS="-g -O2"
|
||||
- else
|
||||
CFLAGS="-g"
|
||||
- fi
|
||||
else
|
||||
- if test "$GCC" = yes; then
|
||||
- CFLAGS="-O2"
|
||||
- else
|
||||
CFLAGS=
|
||||
- fi
|
||||
fi
|
||||
ac_prog_cc_stdc=no
|
||||
if test x$ac_prog_cc_stdc = xno
|
||||
@@ -6521,17 +6505,9 @@ printf "%s\n" "$ac_cv_prog_cxx_g" >&6; }
|
||||
if test $ac_test_CXXFLAGS; then
|
||||
CXXFLAGS=$ac_save_CXXFLAGS
|
||||
elif test $ac_cv_prog_cxx_g = yes; then
|
||||
- if test "$GXX" = yes; then
|
||||
- CXXFLAGS="-g -O2"
|
||||
- else
|
||||
CXXFLAGS="-g"
|
||||
- fi
|
||||
else
|
||||
- if test "$GXX" = yes; then
|
||||
- CXXFLAGS="-O2"
|
||||
- else
|
||||
CXXFLAGS=
|
||||
- fi
|
||||
fi
|
||||
ac_prog_cxx_stdcxx=no
|
||||
if test x$ac_prog_cxx_stdcxx = xno
|
||||
@@ -6768,7 +6744,7 @@ if test "x$remember_set_CFLAGS" = "x"
|
||||
then
|
||||
if test "$CFLAGS" = "-g -O2"
|
||||
then
|
||||
- CFLAGS="-O2"
|
||||
+ CFLAGS=""
|
||||
elif test "$CFLAGS" = "-g"
|
||||
then
|
||||
CFLAGS=""
|
||||
@@ -6779,7 +6755,7 @@ if test "x$remember_set_CXXFLAGS" = "x"
|
||||
then
|
||||
if test "$CXXFLAGS" = "-g -O2"
|
||||
then
|
||||
- CXXFLAGS="-O2"
|
||||
+ CXXFLAGS=""
|
||||
elif test "$CXXFLAGS" = "-g"
|
||||
then
|
||||
CXXFLAGS=""
|
23
devel/pcre/patches/patch-pcre_exec_c
Normal file
23
devel/pcre/patches/patch-pcre_exec_c
Normal file
|
@ -0,0 +1,23 @@
|
|||
When ports-gcc optimized match(), it broke the stack frame size
|
||||
calculation. Apply the fix that Sergei Golubchik put in MariaDB's
|
||||
copy of pcre.
|
||||
|
||||
https://bugs.exim.org/show_bug.cgi?id=2173
|
||||
https://github.com/MariaDB/server/commit/440157c
|
||||
|
||||
Index: pcre_exec.c
|
||||
--- pcre_exec.c.orig
|
||||
+++ pcre_exec.c
|
||||
@@ -509,6 +509,12 @@ Returns: MATCH_MATCH if matched ) th
|
||||
(e.g. stopped by repeated call or recursion limit)
|
||||
*/
|
||||
|
||||
+#ifdef __GNUC__
|
||||
+static int
|
||||
+match(REGISTER PCRE_PUCHAR eptr, REGISTER const pcre_uchar *ecode,
|
||||
+ PCRE_PUCHAR mstart, int offset_top, match_data *md, eptrblock *eptrb,
|
||||
+ unsigned int rdepth) __attribute__((noinline,noclone));
|
||||
+#endif
|
||||
static int
|
||||
match(REGISTER PCRE_PUCHAR eptr, REGISTER const pcre_uchar *ecode,
|
||||
PCRE_PUCHAR mstart, int offset_top, match_data *md, eptrblock *eptrb,
|
5
devel/pcre/pkg/DESCR
Normal file
5
devel/pcre/pkg/DESCR
Normal file
|
@ -0,0 +1,5 @@
|
|||
The PCRE library is a set of functions that implement regular expression
|
||||
pattern matching using the same syntax and semantics as Perl 5. PCRE has
|
||||
its own native API, as well as a set of wrapper functions that correspond
|
||||
to the POSIX regular expression API. The PCRE library is free, even for
|
||||
building commercial software.
|
194
devel/pcre/pkg/PLIST
Normal file
194
devel/pcre/pkg/PLIST
Normal file
|
@ -0,0 +1,194 @@
|
|||
bin/pcre-config
|
||||
@bin bin/pcregrep
|
||||
@bin bin/pcretest
|
||||
include/pcre.h
|
||||
include/pcre_scanner.h
|
||||
include/pcre_stringpiece.h
|
||||
include/pcrecpp.h
|
||||
include/pcrecpparg.h
|
||||
include/pcreposix.h
|
||||
@static-lib lib/libpcre.a
|
||||
lib/libpcre.la
|
||||
@lib lib/libpcre.so.${LIBpcre_VERSION}
|
||||
@static-lib lib/libpcre16.a
|
||||
lib/libpcre16.la
|
||||
@lib lib/libpcre16.so.${LIBpcre16_VERSION}
|
||||
@static-lib lib/libpcrecpp.a
|
||||
lib/libpcrecpp.la
|
||||
@lib lib/libpcrecpp.so.${LIBpcrecpp_VERSION}
|
||||
@static-lib lib/libpcreposix.a
|
||||
lib/libpcreposix.la
|
||||
@lib lib/libpcreposix.so.${LIBpcreposix_VERSION}
|
||||
lib/pkgconfig/libpcre.pc
|
||||
lib/pkgconfig/libpcre16.pc
|
||||
lib/pkgconfig/libpcrecpp.pc
|
||||
lib/pkgconfig/libpcreposix.pc
|
||||
@man man/man1/pcre-config.1
|
||||
@man man/man1/pcregrep.1
|
||||
@man man/man1/pcretest.1
|
||||
@man man/man3/pcre.3
|
||||
@man man/man3/pcre16.3
|
||||
@man man/man3/pcre16_assign_jit_stack.3
|
||||
@man man/man3/pcre16_compile.3
|
||||
@man man/man3/pcre16_compile2.3
|
||||
@man man/man3/pcre16_config.3
|
||||
@man man/man3/pcre16_copy_named_substring.3
|
||||
@man man/man3/pcre16_copy_substring.3
|
||||
@man man/man3/pcre16_dfa_exec.3
|
||||
@man man/man3/pcre16_exec.3
|
||||
@man man/man3/pcre16_free_study.3
|
||||
@man man/man3/pcre16_free_substring.3
|
||||
@man man/man3/pcre16_free_substring_list.3
|
||||
@man man/man3/pcre16_fullinfo.3
|
||||
@man man/man3/pcre16_get_named_substring.3
|
||||
@man man/man3/pcre16_get_stringnumber.3
|
||||
@man man/man3/pcre16_get_stringtable_entries.3
|
||||
@man man/man3/pcre16_get_substring.3
|
||||
@man man/man3/pcre16_get_substring_list.3
|
||||
@man man/man3/pcre16_jit_exec.3
|
||||
@man man/man3/pcre16_jit_stack_alloc.3
|
||||
@man man/man3/pcre16_jit_stack_free.3
|
||||
@man man/man3/pcre16_maketables.3
|
||||
@man man/man3/pcre16_pattern_to_host_byte_order.3
|
||||
@man man/man3/pcre16_refcount.3
|
||||
@man man/man3/pcre16_study.3
|
||||
@man man/man3/pcre16_utf16_to_host_byte_order.3
|
||||
@man man/man3/pcre16_version.3
|
||||
@man man/man3/pcre32.3
|
||||
@man man/man3/pcre32_assign_jit_stack.3
|
||||
@man man/man3/pcre32_compile.3
|
||||
@man man/man3/pcre32_compile2.3
|
||||
@man man/man3/pcre32_config.3
|
||||
@man man/man3/pcre32_copy_named_substring.3
|
||||
@man man/man3/pcre32_copy_substring.3
|
||||
@man man/man3/pcre32_dfa_exec.3
|
||||
@man man/man3/pcre32_exec.3
|
||||
@man man/man3/pcre32_free_study.3
|
||||
@man man/man3/pcre32_free_substring.3
|
||||
@man man/man3/pcre32_free_substring_list.3
|
||||
@man man/man3/pcre32_fullinfo.3
|
||||
@man man/man3/pcre32_get_named_substring.3
|
||||
@man man/man3/pcre32_get_stringnumber.3
|
||||
@man man/man3/pcre32_get_stringtable_entries.3
|
||||
@man man/man3/pcre32_get_substring.3
|
||||
@man man/man3/pcre32_get_substring_list.3
|
||||
@man man/man3/pcre32_jit_exec.3
|
||||
@man man/man3/pcre32_jit_stack_alloc.3
|
||||
@man man/man3/pcre32_jit_stack_free.3
|
||||
@man man/man3/pcre32_maketables.3
|
||||
@man man/man3/pcre32_pattern_to_host_byte_order.3
|
||||
@man man/man3/pcre32_refcount.3
|
||||
@man man/man3/pcre32_study.3
|
||||
@man man/man3/pcre32_utf32_to_host_byte_order.3
|
||||
@man man/man3/pcre32_version.3
|
||||
@man man/man3/pcre_assign_jit_stack.3
|
||||
@man man/man3/pcre_compile.3
|
||||
@man man/man3/pcre_compile2.3
|
||||
@man man/man3/pcre_config.3
|
||||
@man man/man3/pcre_copy_named_substring.3
|
||||
@man man/man3/pcre_copy_substring.3
|
||||
@man man/man3/pcre_dfa_exec.3
|
||||
@man man/man3/pcre_exec.3
|
||||
@man man/man3/pcre_free_study.3
|
||||
@man man/man3/pcre_free_substring.3
|
||||
@man man/man3/pcre_free_substring_list.3
|
||||
@man man/man3/pcre_fullinfo.3
|
||||
@man man/man3/pcre_get_named_substring.3
|
||||
@man man/man3/pcre_get_stringnumber.3
|
||||
@man man/man3/pcre_get_stringtable_entries.3
|
||||
@man man/man3/pcre_get_substring.3
|
||||
@man man/man3/pcre_get_substring_list.3
|
||||
@man man/man3/pcre_jit_exec.3
|
||||
@man man/man3/pcre_jit_stack_alloc.3
|
||||
@man man/man3/pcre_jit_stack_free.3
|
||||
@man man/man3/pcre_maketables.3
|
||||
@man man/man3/pcre_pattern_to_host_byte_order.3
|
||||
@man man/man3/pcre_refcount.3
|
||||
@man man/man3/pcre_study.3
|
||||
@man man/man3/pcre_utf16_to_host_byte_order.3
|
||||
@man man/man3/pcre_utf32_to_host_byte_order.3
|
||||
@man man/man3/pcre_version.3
|
||||
@man man/man3/pcreapi.3
|
||||
@man man/man3/pcrebuild.3
|
||||
@man man/man3/pcrecallout.3
|
||||
@man man/man3/pcrecompat.3
|
||||
@man man/man3/pcrecpp.3
|
||||
@man man/man3/pcredemo.3
|
||||
@man man/man3/pcrejit.3
|
||||
@man man/man3/pcrelimits.3
|
||||
@man man/man3/pcrematching.3
|
||||
@man man/man3/pcrepartial.3
|
||||
@man man/man3/pcrepattern.3
|
||||
@man man/man3/pcreperform.3
|
||||
@man man/man3/pcreposix.3
|
||||
@man man/man3/pcreprecompile.3
|
||||
@man man/man3/pcresample.3
|
||||
@man man/man3/pcrestack.3
|
||||
@man man/man3/pcresyntax.3
|
||||
@man man/man3/pcreunicode.3
|
||||
share/doc/pcre/
|
||||
share/doc/pcre/AUTHORS
|
||||
share/doc/pcre/COPYING
|
||||
share/doc/pcre/ChangeLog
|
||||
share/doc/pcre/LICENCE
|
||||
share/doc/pcre/NEWS
|
||||
share/doc/pcre/README
|
||||
share/doc/pcre/html/
|
||||
share/doc/pcre/html/NON-AUTOTOOLS-BUILD.txt
|
||||
share/doc/pcre/html/README.txt
|
||||
share/doc/pcre/html/index.html
|
||||
share/doc/pcre/html/pcre-config.html
|
||||
share/doc/pcre/html/pcre.html
|
||||
share/doc/pcre/html/pcre16.html
|
||||
share/doc/pcre/html/pcre32.html
|
||||
share/doc/pcre/html/pcre_assign_jit_stack.html
|
||||
share/doc/pcre/html/pcre_compile.html
|
||||
share/doc/pcre/html/pcre_compile2.html
|
||||
share/doc/pcre/html/pcre_config.html
|
||||
share/doc/pcre/html/pcre_copy_named_substring.html
|
||||
share/doc/pcre/html/pcre_copy_substring.html
|
||||
share/doc/pcre/html/pcre_dfa_exec.html
|
||||
share/doc/pcre/html/pcre_exec.html
|
||||
share/doc/pcre/html/pcre_free_study.html
|
||||
share/doc/pcre/html/pcre_free_substring.html
|
||||
share/doc/pcre/html/pcre_free_substring_list.html
|
||||
share/doc/pcre/html/pcre_fullinfo.html
|
||||
share/doc/pcre/html/pcre_get_named_substring.html
|
||||
share/doc/pcre/html/pcre_get_stringnumber.html
|
||||
share/doc/pcre/html/pcre_get_stringtable_entries.html
|
||||
share/doc/pcre/html/pcre_get_substring.html
|
||||
share/doc/pcre/html/pcre_get_substring_list.html
|
||||
share/doc/pcre/html/pcre_jit_exec.html
|
||||
share/doc/pcre/html/pcre_jit_stack_alloc.html
|
||||
share/doc/pcre/html/pcre_jit_stack_free.html
|
||||
share/doc/pcre/html/pcre_maketables.html
|
||||
share/doc/pcre/html/pcre_pattern_to_host_byte_order.html
|
||||
share/doc/pcre/html/pcre_refcount.html
|
||||
share/doc/pcre/html/pcre_study.html
|
||||
share/doc/pcre/html/pcre_utf16_to_host_byte_order.html
|
||||
share/doc/pcre/html/pcre_utf32_to_host_byte_order.html
|
||||
share/doc/pcre/html/pcre_version.html
|
||||
share/doc/pcre/html/pcreapi.html
|
||||
share/doc/pcre/html/pcrebuild.html
|
||||
share/doc/pcre/html/pcrecallout.html
|
||||
share/doc/pcre/html/pcrecompat.html
|
||||
share/doc/pcre/html/pcrecpp.html
|
||||
share/doc/pcre/html/pcredemo.html
|
||||
share/doc/pcre/html/pcregrep.html
|
||||
share/doc/pcre/html/pcrejit.html
|
||||
share/doc/pcre/html/pcrelimits.html
|
||||
share/doc/pcre/html/pcrematching.html
|
||||
share/doc/pcre/html/pcrepartial.html
|
||||
share/doc/pcre/html/pcrepattern.html
|
||||
share/doc/pcre/html/pcreperform.html
|
||||
share/doc/pcre/html/pcreposix.html
|
||||
share/doc/pcre/html/pcreprecompile.html
|
||||
share/doc/pcre/html/pcresample.html
|
||||
share/doc/pcre/html/pcrestack.html
|
||||
share/doc/pcre/html/pcresyntax.html
|
||||
share/doc/pcre/html/pcretest.html
|
||||
share/doc/pcre/html/pcreunicode.html
|
||||
share/doc/pcre/pcre-config.txt
|
||||
share/doc/pcre/pcre.txt
|
||||
share/doc/pcre/pcregrep.txt
|
||||
share/doc/pcre/pcretest.txt
|
Loading…
Add table
Add a link
Reference in a new issue