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
| System | Port | Version |
|---|---|---|
| FreeBSD | textproc/p5-Regexp-Common-profanity_us | 4.112150_1 |
| DragonFly | textproc/p5-Regexp-Common-profanity_us | 4.112150_1 |
| HardenedBSD | textproc/p5-Regexp-Common-profanity_us | 4.112150_1 |
| GhostBSD | textproc/p5-Regexp-Common-profanity_us | 4.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.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 4.112150_1 | 4.112150_1 | 4.112150_1 | 4.112150_1 | 4.112150_1 |
| FreeBSD:14:quarterly | 4.112150_1 | 4.112150_1 | n/a | 4.112150_1 | 4.112150_1 |
| FreeBSD:15:latest | 4.112150_1 | 4.112150_1 | n/a | 4.112150_1 | 4.112150_1 |
| FreeBSD:15:quarterly | 4.112150_1 | 4.112150_1 | n/a | n/a | n/a |
| FreeBSD:16:latest | 4.112150_1 | 4.112150_1 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Build 1
p5-Regexp-Common>=0: textproc/p5-Regexp-Common
Runtime 1
p5-Regexp-Common>=0: textproc/p5-Regexp-Common
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
| File | Size | SHA256 |
|---|---|---|
| Regexp-Common-profanity_us-4.112150.tar.gz | 13029 | 2625a97a621ede0a843f7a7e1469b44a9d8ad40fbf9dbfb4478a1452b3d0816c |
Master sites 1
- CPAN
Commit history 0
No commits in the history this site was built from.