Port details |
- py-robot-detection Detect if a HTTP User-Agent header is likely to be a bot
- 0.4 www
=0 Package not present on quarterly.This port was created during this quarter. It will be in the next quarterly branch but not the current one. - Maintainer: einar@isnic.is
 - Port Added: 2025-09-18 12:48:04
- Last Update: 2025-09-18 12:45:25
- Commit Hash: dcd0ea2
- Also Listed In: python
- License: GPLv3+
- WWW:
- https://github.com/amandasaurus/robot-detection
- Description:
- Library for detecting if a HTTP User Agent header is likely to be a bot.
It uses the list of registered robots from https://www.robotstxt.org/.
¦ ¦ ¦ ¦ 
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - There is no configure plist information for this port.
- USE_RC_SUBR (Service Scripts)
- no SUBR information found for this port
- Dependency lines:
-
- ${PYTHON_PKGNAMEPREFIX}robot-detection>0:www/py-robot-detection@${PY_FLAVOR}
- To install the port:
- cd /usr/ports/www/py-robot-detection/ && make install clean
- To add the package, run one of these commands:
- pkg install www/py-robot-detection
- pkg install py311-robot-detection
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above. NOTE: This is a Python port. Instead of py311-robot-detection listed in the above command, you can pick from the names under the Packages section.- PKGNAME: py311-robot-detection
- Package flavors (<flavor>: <package>)
- py311: py311-robot-detection
- distinfo:
- TIMESTAMP = 1725370739
SHA256 (robot-detection-0.4.tar.gz) = 3d8fb72ca47164b8ce55e33bdda93742f62c348def7d3cc3b42b0ceb4795a2f5
SIZE (robot-detection-0.4.tar.gz) = 6387
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- py311-setuptools>=63.1.0 : devel/py-setuptools@py311
- python3.11 : lang/python311
- Test dependencies:
-
- python3.11 : lang/python311
- Runtime dependencies:
-
- py311-six>0 : devel/py-six@py311
- python3.11 : lang/python311
- This port is required by:
- for Run
-
- www/py-hyperkitty
Configuration Options:
- No options to configure
- Options name:
- www_py-robot-detection
- USES:
- python
- pkg-message:
- For install:
- You can download a new version of the Robot Database from https://www.robotstxt.org/db/all.txt.
Download the database dump, and run the file robot_detection.py with the file as first argument.
$ fetch https://www.robotstxt.org/db/all.txt
$ python robot_detection.py all.txt
If the database has changed, it'll print out the new version of robot_useragents variable that you need to put into the source code.
- Master Sites:
|
Number of commits found: 1
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
0.4 18 Sep 2025 12:45:25
    |
Älven (alven)  Author: Einar Bjarni Halldórsson |
www/py-hyperkitty: [NEW PORT] A web interface to access GNU Mailman v3 archives
Hyperkitty is a web interface to access GNU Mailman v3 archives.
Three other ports are added as dependencies of py-hyperkitty:
- www/py-django-q2
- www/py-robot-detection
- www/py-mailman-hyperkitty
PR: 281463 281464 281465
Approved by: yuri@ (Mentor)
Differential Revision: https://reviews.freebsd.org/D52550 |
Number of commits found: 1
|