notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
Port details
rubygem-sanitize Whitelist based HTML sanitizer
6.1.3 textproc on this many watch lists=3 search for ports that depend on this port An older version of this port was marked as vulnerable. Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 6.1.1Version of this port present on the latest quarterly branch.
Maintainer: ruby@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2011-10-02 17:14:27
Last Update: 2024-12-16 08:32:32
Commit Hash: 37f3315
People watching this port, also watch:: zh-opencc, snd, p5-HTML-HTML5-Entities, xorg-docs, p5-Ubic
Also Listed In: rubygems
License: MIT
WWW:
https://github.com/rgrove/sanitize
Description:
Sanitize is a whitelist-based HTML sanitizer. Given a list of acceptable elements and attributes, Sanitize will remove all unacceptable HTML from a string. Using a simple configuration syntax, you can tell Sanitize to allow certain elements, certain attributes within those elements, and even certain URL protocols within attributes that contain URLs. Any HTML elements or attributes that you don't explicitly allow will be removed.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
Expand this list (3 items)
Collapse this list.
  1. /usr/local/share/licenses/rubygem-sanitize-6.1.3/catalog.mk
  2. /usr/local/share/licenses/rubygem-sanitize-6.1.3/LICENSE
  3. /usr/local/share/licenses/rubygem-sanitize-6.1.3/MIT
Collapse this list.
Dependency lines:
  • rubygem-sanitize>0:textproc/rubygem-sanitize
To install the port:
cd /usr/ports/textproc/rubygem-sanitize/ && make install clean
To add the package, run one of these commands:
  • pkg install textproc/rubygem-sanitize
  • pkg install rubygem-sanitize
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: rubygem-sanitize
Flavors: there is no flavor information for this port.
distinfo:
TIMESTAMP = 1734337875 SHA256 (rubygem/sanitize-6.1.3.gem) = a42ce5f933d82765a8243599d5ab2e8867237e76cf5a699caaddfe60bb944152 SIZE (rubygem/sanitize-6.1.3.gem) = 48128

Packages (timestamps in pop-ups are UTC):
rubygem-sanitize
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest6.1.16.1.15.2.1-6.1.1-5.2.1-
FreeBSD:13:quarterly6.1.16.1.16.0.2-6.1.16.1.06.1.06.1.0
FreeBSD:14:latest6.1.16.1.16.0.0-6.1.16.0.0-6.0.0
FreeBSD:14:quarterly6.1.16.1.1--6.1.16.1.06.1.06.1.0
FreeBSD:15:latest6.1.16.1.1n/a-n/a6.1.06.1.06.1.0
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. ruby32 : lang/ruby32
  2. gem : devel/ruby-gems
Runtime dependencies:
  1. rubygem-crass>=1.0.2<1.1 : www/rubygem-crass
  2. rubygem-nokogiri>=1.12.0 : textproc/rubygem-nokogiri
  3. ruby32 : lang/ruby32
  4. gem : devel/ruby-gems
Patch dependencies:
  1. ruby32 : lang/ruby32
  2. gem : devel/ruby-gems
Extract dependencies:
  1. ruby32 : lang/ruby32
This port is required by:
for Run
  1. devel/rubygem-flipper-ui
  2. www/redmine50
  3. www/redmine51
  4. www/rubygem-gitlab-gollum-lib

Deleted ports which required this port:

Expand this list of 1 deleted port
  1. www/rubygem-gollum-lib-gitlab*
  2. Collapse this list of deleted ports.
* - deleted ports are only shown under the This port is required by section. It was harder to do for the Required section. Perhaps later...

Configuration Options:
No options to configure
Options name:
textproc_rubygem-sanitize
USES:
cpe gem
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (1 items)
Collapse this list.
  1. https://rubygems.org/downloads/
Collapse this list.
Port Moves
  • port moved here from textproc/rubygem-sanitize20 on 2021-12-21
    REASON: Remove obsoleted port. Use textproc/rubygem-sanitize instead

Number of commits found: 42

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
6.1.3
16 Dec 2024 08:32:32
commit hash: 37f33155fb8cf4079e65d01694b2c256c7ba115ccommit hash: 37f33155fb8cf4079e65d01694b2c256c7ba115ccommit hash: 37f33155fb8cf4079e65d01694b2c256c7ba115ccommit hash: 37f33155fb8cf4079e65d01694b2c256c7ba115c files touched by this commit
Matthias Fechner (mfechner) search for other commits by this committer
textproc/rubygem-sanitize: update to 6.1.3

Changes:	https://github.com/rgrove/sanitize/blob/main/HISTORY.md
6.1.1
18 Jun 2024 04:04:48
commit hash: a7dba9511008e7a2034adff3ce73f87f4cd79ea9commit hash: a7dba9511008e7a2034adff3ce73f87f4cd79ea9commit hash: a7dba9511008e7a2034adff3ce73f87f4cd79ea9commit hash: a7dba9511008e7a2034adff3ce73f87f4cd79ea9 files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
textproc/rubygem-sanitize: Update to 6.1.1

Changes:	https://github.com/rgrove/sanitize/releases
6.1.0
22 Sep 2023 03:22:10
commit hash: 3e5039e43499b7bc463dfc50d4c4cb7e88d39bd1commit hash: 3e5039e43499b7bc463dfc50d4c4cb7e88d39bd1commit hash: 3e5039e43499b7bc463dfc50d4c4cb7e88d39bd1commit hash: 3e5039e43499b7bc463dfc50d4c4cb7e88d39bd1 files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
textproc/rubygem-sanitize: Update to 6.1.0

Changes:	https://github.com/rgrove/sanitize/releases
6.0.2
26 Aug 2023 23:19:06
commit hash: 90e867a3b1ad0ceadf7e81940edfd765ba1469edcommit hash: 90e867a3b1ad0ceadf7e81940edfd765ba1469edcommit hash: 90e867a3b1ad0ceadf7e81940edfd765ba1469edcommit hash: 90e867a3b1ad0ceadf7e81940edfd765ba1469ed files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
textproc/rubygem-sanitize: Update to 6.0.2

Changes:	https://github.com/rgrove/sanitize/releases
Security:	CVE-2023-23627, CVE-2023-36823
6.0.0
14 Jan 2023 23:08:33
commit hash: 18c6e18276691edf5274406bf82a3b06792ff9aecommit hash: 18c6e18276691edf5274406bf82a3b06792ff9aecommit hash: 18c6e18276691edf5274406bf82a3b06792ff9aecommit hash: 18c6e18276691edf5274406bf82a3b06792ff9ae files touched by this commit
Muhammad Moinur Rahman (bofh) search for other commits by this committer
Mk/**ruby.mk: Switch from USE_RUBY=yes to USES=ruby

Switch from Mk/bsd.ruby.mk to Mk/Uses/ruby.mk

Notable changes are.

- Mk/bsd.ruby.mk is moved to Mk/Uses/ruby.mk.
- USE_RUBY=yes is replaced with USES=ruby.
- USE_RUBY_EXTCONF is replaced with USES=ruby:extconf.
- USE_RUBY_RDOC is replaced with USES=ruby:rdoc.
- USE_RUBY_SETUP is replaces with USES=ruby:setup.
- RUBY_NO_BUILD_DEPENDS and RUBY_NO_RUN_DEPENDS are replaced with
  USES=ruby:{build,none,run}.
- RUBY_REQUIRE isn't used anywhere, so removed.
- USES=gem now implies USES=ruby.

This is mainly the work of yasu@ at https://reviews.freebsd.org/D27863

I have just made some cosmetic changes and ran exp-run to test that the
tree is not in a BROKEN state.

Approved by:	portmgr
Differential Revision:	https://reviews.freebsd.org/D37925
07 Sep 2022 21:58:51
commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Remove WWW entries moved into port Makefiles

Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.

This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.

Approved by:		portmgr (tcberner)
6.0.0
07 Sep 2022 21:10:59
commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Add WWW entries to port Makefiles

It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.

Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.

There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above View all of this commit message)
6.0.0
20 Jul 2022 14:23:14
commit hash: 5cf7e35e8664e11393fedc7d89b4d09e0fcced9bcommit hash: 5cf7e35e8664e11393fedc7d89b4d09e0fcced9bcommit hash: 5cf7e35e8664e11393fedc7d89b4d09e0fcced9bcommit hash: 5cf7e35e8664e11393fedc7d89b4d09e0fcced9b files touched by this commit
Tobias C. Berner (tcberner) search for other commits by this committer
textproc: remove 'Created by' lines

A big Thank You to the original contributors of these ports:

  *  "Choe, Cheng-Dae" whitekid
  *  -
  *  <glewis@FreeBSD.org>
  *  <koshy@india.hp.com>
  *  Aaron Dalton <aaron@FreeBSD.org>
  *  Aaron Dalton <aaron@daltons.ca>
  *  Aaron Straup Cope
  *  Aaron Straup Cope <ascope@cpan.org>
  *  Ache
  *  Adam Herzog <adam@herzogdesigns.com>
  *  Adam Weinberger <adamw@FreeBSD.org>
(Only the first 15 lines of the commit message are shown above View all of this commit message)
6.0.0
26 Jan 2022 10:43:00
commit hash: a719f4b3b7d7d1cce024a555f3238497bb51d906commit hash: a719f4b3b7d7d1cce024a555f3238497bb51d906commit hash: a719f4b3b7d7d1cce024a555f3238497bb51d906commit hash: a719f4b3b7d7d1cce024a555f3238497bb51d906 files touched by this commit
Matthias Fechner (mfechner) search for other commits by this committer
textproc/rubygem-sanitize: update to 6.0.0

Required for gitlab-ce 14.7.
Changelog:
https://github.com/rgrove/sanitize/releases/tag/v6.0.0
5.2.3
21 Oct 2021 15:40:45
commit hash: 89729179b4081116cfb2e67f4496018a51d7e65dcommit hash: 89729179b4081116cfb2e67f4496018a51d7e65dcommit hash: 89729179b4081116cfb2e67f4496018a51d7e65dcommit hash: 89729179b4081116cfb2e67f4496018a51d7e65d files touched by this commit
Stefan Eßer (se) search for other commits by this committer
textproc/rubygem-sanitize: Add CPE information

Approved by:	portmgr (blanket)
5.2.3
21 Jul 2021 18:12:04
commit hash: bb2e86c600fe36fbce01e89e7e8ddde1ca70380ecommit hash: bb2e86c600fe36fbce01e89e7e8ddde1ca70380ecommit hash: bb2e86c600fe36fbce01e89e7e8ddde1ca70380ecommit hash: bb2e86c600fe36fbce01e89e7e8ddde1ca70380e files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
textproc/rubygem-sanitize: Update to 5.2.3

Changes:	https://github.com/rgrove/sanitize/releases
5.2.1
06 Apr 2021 14:31:07
commit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344eb files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
Remove # $FreeBSD$ from Makefiles.
5.2.1
26 Sep 2020 07:33:40
Revision:550126Original commit files touched by this commit
mfechner search for other commits by this committer
Update to 5.2.1 which is required for gitlab-ce 13.4.
4.6.6
19 Sep 2020 15:37:26
Revision:549029Original commit files touched by this commit
sunpoet search for other commits by this committer
Update version requirement of RUN_DEPENDS
4.6.6
31 Jul 2018 23:54:08
Revision:476113Original commit files touched by this commit
sunpoet search for other commits by this committer
Update to 4.6.6

Changes:	https://github.com/rgrove/sanitize/releases
4.6.5
17 May 2018 18:30:45
Revision:470241Original commit files touched by this commit
sunpoet search for other commits by this committer
Update to 4.6.5

Changes:	https://github.com/rgrove/sanitize/releases
4.6.4
22 Mar 2018 19:53:36
Revision:465310Original commit files touched by this commit
sunpoet search for other commits by this committer
Update to 4.6.4

Changes:	https://github.com/rgrove/sanitize/releases
4.6.3
21 Mar 2018 19:04:07
Revision:465226Original commit files touched by this commit
sunpoet search for other commits by this committer
Update to 4.6.3

Changes:	https://github.com/rgrove/sanitize/releases
Security:	39a30e0a-0c34-431b-9dce-b87cab02412a
MFH:		2018Q1
4.6.2
20 Mar 2018 22:35:59
Revision:465129Original commit files touched by this commit
sunpoet search for other commits by this committer
Update to 4.6.2

Changes:	https://github.com/rgrove/sanitize/releases
4.6.1
16 Mar 2018 15:21:50
Revision:464705Original commit files touched by this commit
sunpoet search for other commits by this committer
Update to 4.6.1

Changes:	https://github.com/rgrove/sanitize/releases
4.6.0
30 Jan 2018 15:39:51
Revision:460410Original commit files touched by this commit
sunpoet search for other commits by this committer
Update to 4.6.0

Changes:	https://github.com/rgrove/sanitize/releases
4.5.0
05 Jun 2017 14:52:56
Revision:442659Original commit files touched by this commit
sunpoet search for other commits by this committer
Update to 4.5.0

- Fix WWW

Changes:	https://github.com/rgrove/sanitize/blob/master/HISTORY.md
4.4.0
29 Dec 2016 03:26:51
Revision:429861Original commit files touched by this commit
swills search for other commits by this committer
textproc/rubygem-sanitize: update to 4.4.0
4.0.1
19 May 2016 10:53:06
Revision:415500Original commit files touched by this commit
amdmi3 search for other commits by this committer
- Fix trailing whitespace in pkg-descrs, categories [p-x]*

Approved by:	portmgr blanket
4.0.1
27 Apr 2016 21:57:32
Revision:414136Original commit files touched by this commit
swills search for other commits by this committer
Convert USES=gem:autoplist to USES=gem since autoplist is default
4.0.1
27 Apr 2016 16:36:42
Revision:414118Original commit files touched by this commit
swills search for other commits by this committer
create USES=gem and update rubygem- ports to use it

Note that for now ports still have to have USE_RUBY=yes to use USES=gem

PR:		209041
Differential Revision:	https://reviews.freebsd.org/D6070
4.0.1
01 Apr 2016 14:25:18
Revision:412349Original commit files touched by this commit
mat search for other commits by this committer
Remove ${PORTSDIR}/ from dependencies, categories r, s, t, and u.

With hat:	portmgr
Sponsored by:	Absolight
4.0.1
17 Jan 2016 13:23:05
Revision:406451Original commit files touched by this commit
sunpoet search for other commits by this committer
- Update to 4.0.1

Changes:	https://github.com/rgrove/sanitize/blob/master/HISTORY.md
Sponsored by:	PortsCamp Taiwan
4.0.0_1
24 Sep 2015 19:05:51
Revision:397746Original commit files touched by this commit
sunpoet search for other commits by this committer
- Add LICENSE_FILE
4.0.0_1
13 Jun 2015 13:56:04
Revision:389418Original commit files touched by this commit
sunpoet search for other commits by this committer
- Add NO_ARCH
4.0.0_1
10 Jun 2015 16:47:49
Revision:389076Original commit files touched by this commit
sunpoet search for other commits by this committer
- Fix RUN_DEPENDS and gemspec
- Bump PORTREVISION for package change

PR:		200754
Submitted by:	marino
4.0.0
02 May 2015 16:55:27
Revision:385192Original commit files touched by this commit
sunpoet search for other commits by this committer
- Update to 4.0.0
- Add LICENSE
- Update WWW

Changes:	https://github.com/rgrove/sanitize/blob/master/HISTORY.md
3.0.2
30 Sep 2014 16:49:13
Revision:369645Original commit files touched by this commit
swills search for other commits by this committer
textproc/rubygem-sanitize: update to 3.0.2
2.1.0
27 Sep 2014 06:22:29
Revision:369370Original commit files touched by this commit This port version is marked as vulnerable.
swills search for other commits by this committer
textproc/rubygem-sanitize: update to 2.1.0
2.0.6
30 Oct 2013 02:59:10
Revision:332052Original commit files touched by this commit This port version is marked as vulnerable.
swills search for other commits by this committer
- Add stage support
2.0.6
20 Sep 2013 23:17:32
Revision:327773Original commit files touched by this commit This port version is marked as vulnerable.
bapt search for other commits by this committer
Add NO_STAGE all over the place in preparation for the staging support (cat:
textproc)
2.0.6
29 Aug 2013 18:06:48
Revision:325620Original commit files touched by this commit This port version is marked as vulnerable.
sunpoet search for other commits by this committer
- Remove Author line
2.0.6
28 Jul 2013 22:33:05
Revision:323860Original commit files touched by this commit This port version is marked as vulnerable.
swills search for other commits by this committer
- Update to 2.0.6
2.0.3
27 Jul 2013 16:06:02
Revision:323794Original commit files touched by this commit This port version is marked as vulnerable.
swills search for other commits by this committer
- Reset maintainer after no response to mail since Jan 2013
- Clean up headers and comments while here

Reviewed by:	danfe
2.0.3
20 Dec 2011 00:29:17
Original commit files touched by this commit This port version is marked as vulnerable.
pgollucci search for other commits by this committer
- One WWW line in pkg-descr will do just fine
2.0.3
13 Nov 2011 01:59:24
Original commit files touched by this commit This port version is marked as vulnerable.
clsung search for other commits by this committer
- Update to 2.0.3

PR:             ports/162000
Submitted by:   clsung
Approved by:    maintainer (Eric)
Feature safe:   yes
2.0.2
02 Oct 2011 17:14:09
Original commit files touched by this commit This port version is marked as vulnerable.
swills search for other commits by this committer
Sanitize is a whitelist-based HTML sanitizer.  Given a list of
acceptable elements and attributes, Sanitize will remove all
unacceptable HTML from a string.

Using a simple configuration syntax, you can tell Sanitize to
allow certain elements, certain attributes within those elements,
and even certain URL protocols within attributes that contain URLs.
Any HTML elements or attributes that you don't explicitly allow
will be removed.

Author: Ryan Grove
WWW: https://github.com/rgrove/sanitize/
WWW: http://wonko.com/post/sanitize

PR:             ports/158312
Submitted by:   Eric Freeman <freebsdports@chillibear.com>

Number of commits found: 42