Package: pcre3
Version: 2:8.35-7.1
Severity: wishlist
Tags: patch

Hi,

I really liked pcretest but it was removed in pcre3 8.12-4 - see
#616660.

The attached patch adds a `pcretest` package that contains this binary
and its — quite substantial! — manpage.


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      la...@debian.org / chris-lamb.co.uk
       `-
diff --git a/debian/control b/debian/control
index d4690c0..4723935 100644
--- a/debian/control
+++ b/debian/control
@@ -93,6 +93,17 @@ Description: grep utility that uses perl 5 compatible 
regexes.
  The other reason for the existence of pcregrep is that its source code is an
  example of programming with libpcre.
 
+Package: pcretest
+Section: utils
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: Perl 5 Compatible Regular Expression Library - test utility
+ This is a library of functions to support regular expressions whose syntax
+ and semantics are as close as possible to those of the Perl 5 language.
+ .
+ This package contains the pcretest test program which can be used for
+ experimenting with regular expressions.
+
 Package: libpcre16-3
 Section: libs
 Architecture: any
diff --git a/debian/pcretest.install b/debian/pcretest.install
new file mode 100644
index 0000000..86f857f
--- /dev/null
+++ b/debian/pcretest.install
@@ -0,0 +1,2 @@
+debian/tmp/usr/bin/pcretest
+debian/tmp/usr/share/man/man1/pcretest.1
diff --git a/debian/pcretest.links b/debian/pcretest.links
new file mode 100644
index 0000000..04eb07f
--- /dev/null
+++ b/debian/pcretest.links
@@ -0,0 +1 @@
+usr/share/doc/libpcre3 usr/share/doc/pcretest

Reply via email to