svn commit: r507871 - head/net-mgmt/netbox/files

Kai Knoblich kai at FreeBSD.org
Fri Aug 2 11:40:52 UTC 2019


Author: kai
Date: Fri Aug  2 11:40:52 2019
New Revision: 507871
URL: https://svnweb.freebsd.org/changeset/ports/507871

Log:
  net-mgmt/netbox: Convert pkg-message to UCL
  
  Modernize the pkg-message to display hints/instructions in the future that
  are specific to different upgrade paths.

Modified:
  head/net-mgmt/netbox/files/pkg-message.in

Modified: head/net-mgmt/netbox/files/pkg-message.in
==============================================================================
--- head/net-mgmt/netbox/files/pkg-message.in	Fri Aug  2 11:34:59 2019	(r507870)
+++ head/net-mgmt/netbox/files/pkg-message.in	Fri Aug  2 11:40:52 2019	(r507871)
@@ -1,8 +1,18 @@
-================================================================================
+[
+{
+  message: <<EOD
+Please note that NetBox requires a PostgreSQL database server, which uses its
+built-in network address datatypes. Thus NetBox won't work with other RDBMS's,
+e.g. MySQL, MariaDB, etc.
 
- UPGRADING 
-===========
+For installation instructions please refer to the related wiki page:
 
+- https://wiki.freebsd.org/Ports/net-mgmt/netbox
+EOD
+  type: install
+}
+{
+  message: <<EOD
 As always it is strongly encouraged to make a backup of the database before the
 database migrations will be executed.
 
@@ -15,17 +25,7 @@ The following steps are required to finish the upgrade
 # python%%PYTHON_VER%% manage.py collectstatic --no-input
 
 2. Restart WSGI/httpd environment (supervisord/apache/nginx/etc.)
-
-
- INSTALLING 
-============
-
-Please note that NetBox requires a PostgreSQL database server, which uses its
-built-in network address datatypes. Thus NetBox won't work with other RDBMS's,
-e.g. MySQL, MariaDB, etc.
-
-For installation instructions please refer to the related wiki page:
-
-- https://wiki.freebsd.org/Ports/net-mgmt/netbox
-
-================================================================================
+EOD
+  type: upgrade
+}
+]


More information about the svn-ports-all mailing list