BSD Ports

textproc/p5-Regexp-Common-profanity_us 4.112150_1 FreeBSD

Provide regexes for U.S. profanity

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
ART10, GPLv1+
Categories
textproc, perl5
Package size
17.7 KiB, 51.8 KiB installed

Description

Instead of a dry technical overview, I am going to explain the structure of this module based on its history. I consult at a company that generates customer leads primarily by having websites that attract people (e.g. lowering loan values, selling cars, buying real estate, etc.). For some reason we get more than our fair share of profane leads. For this reason I was told to write a profanity checker.

For the data that I was dealing with, the profanity was most often in the email address or in the first or last name, so I naively started filtering profanity with a set of regexps for that sort of data. Note that both names and email addresses are unlike what you are reading now: they are not whitespace-separated text, but are instead labels.

Therefore full support for profanity checking should work in 2 entirely different contexts: labels (email, names) and text (what you are reading). Because open-source is driven by demand and I have no need for detecting profanity in text, only label is implemented at the moment. And you know the next sentence: "patches welcome" :)

In the other systems

SystemPortVersion
FreeBSDtextproc/p5-Regexp-Common-profanity_us4.112150_1
DragonFlytextproc/p5-Regexp-Common-profanity_us4.112150_1
HardenedBSDtextproc/p5-Regexp-Common-profanity_us4.112150_1
GhostBSDtextproc/p5-Regexp-Common-profanity_us4.112150_1

Install

Binary package:

pkg install p5-Regexp-Common-profanity_us

From the ports tree:

cd /usr/ports/textproc/p5-Regexp-Common-profanity_us/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	p5-Regexp-Common-profanity_us>0:textproc/p5-Regexp-Common-profanity_us

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest4.112150_14.112150_14.112150_14.112150_14.112150_1
FreeBSD:14:quarterly4.112150_14.112150_1n/a4.112150_14.112150_1
FreeBSD:15:latest4.112150_14.112150_1n/a4.112150_14.112150_1
FreeBSD:15:quarterly4.112150_14.112150_1n/an/an/a
FreeBSD:16:latest4.112150_14.112150_1n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 1

Runtime 1

The full lists below include those, and their dependencies in turn.

Build dependencies 2
Run dependencies 2

No port depends on this one.

Configuration

No options to configure.

USES
perl5
Service scripts
none

Files

pkg-plist 4
  • %%SITE_PERL%%/Regexp/Common/profanity_us.pm
  • %%SITE_PERL%%/Regexp/Profanity/US.pm
  • %%PERL5_MAN3%%/Regexp::Common::profanity_us.3.gz
  • %%PERL5_MAN3%%/Regexp::Profanity::US.3.gz
distinfo 1
FileSizeSHA256
Regexp-Common-profanity_us-4.112150.tar.gz130292625a97a621ede0a843f7a7e1469b44a9d8ad40fbf9dbfb4478a1452b3d0816c
Master sites 1
  • CPAN

Commit history 0

No commits in the history this site was built from.