Ravenports generated: 07 Apr 2023 13:53
[ravenports.git] / bucket_4E / NetBox
1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
2
3 NAMEBASE=               NetBox
4 VERSION=                3.4.7
5 KEYWORDS=               net_mgmt
6 VARIANTS=               standard
7 SDESC[standard]=        Flexible IPAM and DCIM tool with plugin support
8 HOMEPAGE=               https://github.com/netbox-community/netbox/
9 CONTACT=                Michael_Reim[kraileth@elderlinux.org]
10
11 DOWNLOAD_GROUPS=        main
12 SITES[main]=            GITHUB/netbox-community:netbox:v3.4.7
13 DISTFILE[1]=            generated:main
14 DF_INDEX=               1
15 SPKGS[standard]=        complete
16                         primary
17                         docs
18                         examples
19
20 OPTIONS_AVAILABLE=      none
21 OPTIONS_STANDARD=       none
22
23 RUN_DEPENDS=            python-Django:single:python_default
24                         python-Jinja2:single:python_default
25                         python-Markdown:single:python_default
26                         python-Pillow:single:python_default
27                         python-PyYAML:single:python_default
28                         python-bleach:single:python_default
29                         python-chardet:single:python_default
30                         python-django-cors-headers:single:python_default
31                         python-django-debug-toolbar:single:python_default
32                         python-django-filter:single:python_default
33                         python-django-graphiql-debug-toolbar:single:python_default
34                         python-django-mptt:single:python_default
35                         python-django-pglocks:single:python_default
36                         python-django-prometheus:single:python_default
37                         python-django-redis:single:python_default
38                         python-django-rich:single:python_default
39                         python-django-rq:single:python_default
40                         python-django-tables2:single:python_default
41                         python-django-taggit:single:python_default
42                         python-django-timezone-field:single:python_default
43                         python-djangorestframework:single:python_default
44                         python-drf-yasg:single:python_default
45                         python-graphene-django:single:python_default
46                         python-gunicorn:single:python_default
47                         python-markdown-include:single:python_default
48                         python-mkdocs-material:single:python_default
49                         python-mkdocstrings:single:python_default
50                         python-netaddr:single:python_default
51                         python-psycopg2:single:python_default
52                         python-sentry-sdk:single:python_default
53                         python-social-auth-app-django:single:python_default
54                         python-social-auth-core:single:python_default
55                         python-svgwrite:single:python_default
56                         python-tablib:single:python_default
57                         python-tzdata:single:python_default
58                         redis:single:standard
59
60 USES=                   cpe
61
62 LICENSE=                APACHE20:primary
63 LICENSE_TERMS=          primary:{{WRKSRC}}/NOTICE
64 LICENSE_FILE=           APACHE20:{{WRKSRC}}/LICENSE.txt
65 LICENSE_SCHEME=         solo
66
67 CPE_PRODUCT=            netbox
68 CPE_VENDOR=             netbox_project
69 FPC_EQUIVALENT=         net-mgmt/netbox
70
71 SKIP_BUILD=             yes
72
73 SUB_FILES=              850.netbox-housekeeping.sample
74                         netbox_rq.sample
75                         netboxrc.sample
76                         pkg-message-primary
77 SUB_LIST=               PYTHON_CMD={{PYTHON_CMD}}
78                         PYTHON_VER={{PYTHON_VER}}
79
80 do-install:
81         (cd ${WRKSRC}/netbox && \
82         for src in $$( ${FIND} . ! -name '*.bak' ) ; do \
83                 DEST=${STAGEDIR}${PREFIX}/share/netbox/$${src#.} && \
84                 if ${TEST} -d "$$src" ; then \
85                         ${MKDIR} "$$DEST" ; \
86                 else \
87                         ${INSTALL_DATA} "$$src" "$$DEST" ; \
88                 fi \
89         done)
90         cd ${WRKSRC} && ${COPYTREE_SHARE} docs ${STAGEDIR}${PREFIX}/share/netbox/docs
91         ${INSTALL_DATA} ${WRKSRC}/mkdocs.yml ${STAGEDIR}${PREFIX}/share/netbox
92         ${MKDIR} -p ${STAGEDIR}${PREFIX}/share/examples/netbox/bsd
93         ${INSTALL_DATA} ${WRKSRC}/contrib/apache.conf ${STAGEDIR}${PREFIX}/share/examples/netbox
94         ${INSTALL_DATA} ${WRKSRC}/contrib/gunicorn.py ${STAGEDIR}${PREFIX}/share/examples/netbox
95         ${INSTALL_DATA} ${WRKSRC}/contrib/nginx.conf ${STAGEDIR}${PREFIX}/share/examples/netbox
96         ${INSTALL_DATA} ${WRKDIR}/850.netbox-housekeeping.sample ${STAGEDIR}${PREFIX}/share/examples/netbox/bsd
97         ${INSTALL_DATA} ${WRKDIR}/netbox_rq.sample ${STAGEDIR}${PREFIX}/share/examples/netbox/bsd
98         ${INSTALL_DATA} ${WRKDIR}/netboxrc.sample ${STAGEDIR}${PREFIX}/share/examples/netbox/bsd
99
100 [FILE:1511:descriptions/desc.primary]
101 NetBox is the leading solution for modeling and documenting modern 
102 networks. By combining the traditional disciplines of IP address 
103 management (IPAM) and datacenter infrastructure management (DCIM) with 
104 powerful APIs and extensions, NetBox provides the ideal "source of truth" 
105 to power network automation. Available as open source software under the 
106 Apache 2.0 license, NetBox is employed by thousands of organizations 
107 around the world.
108
109 Myriad infrastructure components can be modeled in NetBox, including:
110
111 - Hierarchical regions, site groups, sites and locations
112 - Racks, devices, and device components
113 - Cables and wireless connections
114 - Power distribution- Data circuits and providers
115 - Virtual machines and clusters
116 - IP prefixes, ranges and addresses
117 - VRFs and route targets
118 - L2VPN and overlays
119 - FHRP groups (VRRP, HSRP, etc.)
120 - AS numbers
121 - VLANs and scoped VLAN groups
122 - Organizational tenants and contacts
123
124 In addition to its extensive built-in models and functionality, NetBox can 
125 be customized and extended through the use of:
126
127 - Custom fields
128 - Custom links
129 - Configuration contexts
130 - Custom model validation rules
131 - Reports
132 - Custom scripts
133 - Export emplates
134 - Conditional webhooks
135 - Plugins
136 - Single sign-on (SSO) authentication
137 - NAPALM integration
138 - Detailed change logging
139
140 NetBox runs as a web application atop the Django Python framework with a 
141 PostgreSQL database. It also features a complete REST API as well as a 
142 GraphQL API for easy integrating with other tools and systems.
143
144
145 [FILE:115:distinfo]
146 96345a77a9985e1dcd131341e0e4e7495b317bf920d040e28f894a88fc2590cb      7377904 netbox-community-netbox-3.4.7.tar.gz
147
148
149 [FILE:23383:manifests/plist.primary]
150 share/netbox/
151  generate_secret_key.py
152  manage.py
153  mkdocs.yml
154 share/netbox/circuits/
155  __init__.py
156  apps.py
157  choices.py
158  filtersets.py
159  search.py
160  signals.py
161  urls.py
162  views.py
163 share/netbox/circuits/api/
164  __init__.py
165  nested_serializers.py
166  serializers.py
167  urls.py
168  views.py
169 share/netbox/circuits/forms/
170  __init__.py
171  bulk_edit.py
172  bulk_import.py
173  filtersets.py
174  model_forms.py
175 share/netbox/circuits/graphql/
176  __init__.py
177  schema.py
178  types.py
179 share/netbox/circuits/migrations/
180  0001_squashed.py
181  0002_squashed_0029.py
182  0003_extend_tag_support.py
183  0004_rename_cable_peer.py
184  0032_provider_service_id.py
185  0033_standardize_id_fields.py
186  0034_created_datetimefield.py
187  0035_provider_asns.py
188  0036_circuit_termination_date_tags_custom_fields.py
189  0037_new_cabling_models.py
190  0038_cabling_cleanup.py
191  0039_unique_constraints.py
192  0040_provider_remove_deprecated_fields.py
193  0041_standardize_description_comments.py
194  __init__.py
195 share/netbox/circuits/models/
196  __init__.py
197  circuits.py
198  providers.py
199 share/netbox/circuits/tables/
200  __init__.py
201  circuits.py
202  columns.py
203  providers.py
204 share/netbox/circuits/tests/
205  __init__.py
206  test_api.py
207  test_filtersets.py
208  test_views.py
209 share/netbox/dcim/
210  __init__.py
211  apps.py
212  choices.py
213  constants.py
214  fields.py
215  filtersets.py
216  lookups.py
217  search.py
218  signals.py
219  urls.py
220  utils.py
221  views.py
222 share/netbox/dcim/api/
223  __init__.py
224  exceptions.py
225  nested_serializers.py
226  serializers.py
227  urls.py
228  views.py
229 share/netbox/dcim/forms/
230  __init__.py
231  bulk_create.py
232  bulk_edit.py
233  bulk_import.py
234  common.py
235  connections.py
236  filtersets.py
237  formsets.py
238  model_forms.py
239  object_create.py
240  object_import.py
241 share/netbox/dcim/graphql/
242  __init__.py
243  gfk_mixins.py
244  mixins.py
245  schema.py
246  types.py
247 share/netbox/dcim/management/__init__.py
248 share/netbox/dcim/management/commands/
249  __init__.py
250  trace_paths.py
251 share/netbox/dcim/migrations/
252  0001_squashed.py
253  0002_squashed.py
254  0003_squashed_0130.py
255  0131_consoleport_speed.py
256  0132_cable_length.py
257  0133_port_colors.py
258  0134_interface_wwn_bridge.py
259  0135_tenancy_extensions.py
260  0136_device_airflow.py
261  0137_relax_uniqueness_constraints.py
262  0138_extend_tag_support.py
263  0139_rename_cable_peer.py
264  0140_wireless.py
265  0141_asn_model.py
266  0142_rename_128gfc_qsfp28.py
267  0143_remove_primary_for_related_name.py
268  0144_fix_cable_abs_length.py
269  0145_site_remove_deprecated_fields.py
270  0146_modules.py
271  0147_inventoryitemrole.py
272  0148_inventoryitem_component.py
273  0149_inventoryitem_templates.py
274  0150_interface_vrf.py
275  0151_interface_speed_duplex.py
276  0152_standardize_id_fields.py
277  0153_created_datetimefield.py
278  0154_half_height_rack_units.py
279  0155_interface_poe_mode_type.py
280  0156_location_status.py
281  0157_new_cabling_models.py
282  0158_populate_cable_terminations.py
283  0159_populate_cable_paths.py
284  0160_populate_cable_ends.py
285  0161_cabling_cleanup.py
286  0162_unique_constraints.py
287  0163_weight_fields.py
288  0164_rack_mounting_depth.py
289  0165_standardize_description_comments.py
290  0166_virtualdevicecontext.py
291  0167_module_status.py
292  __init__.py
293 share/netbox/dcim/models/
294  __init__.py
295  cables.py
296  device_component_templates.py
297  device_components.py
298  devices.py
299  mixins.py
300  power.py
301  racks.py
302  sites.py
303 share/netbox/dcim/svg/
304  __init__.py
305  cables.py
306  racks.py
307 share/netbox/dcim/tables/
308  __init__.py
309  cables.py
310  connections.py
311  devices.py
312  devicetypes.py
313  modules.py
314  power.py
315  racks.py
316  sites.py
317  template_code.py
318 share/netbox/dcim/tests/
319  __init__.py
320  test_api.py
321  test_cablepaths.py
322  test_filtersets.py
323  test_forms.py
324  test_models.py
325  test_natural_ordering.py
326  test_views.py
327 share/netbox/extras/
328  __init__.py
329  admin.py
330  apps.py
331  choices.py
332  conditions.py
333  constants.py
334  context_managers.py
335  fields.py
336  filters.py
337  filtersets.py
338  lookups.py
339  querysets.py
340  reports.py
341  scripts.py
342  search.py
343  signals.py
344  urls.py
345  utils.py
346  validators.py
347  views.py
348  webhooks.py
349  webhooks_worker.py
350 share/netbox/extras/api/
351  __init__.py
352  customfields.py
353  nested_serializers.py
354  serializers.py
355  urls.py
356  views.py
357 share/netbox/extras/forms/
358  __init__.py
359  bulk_edit.py
360  bulk_import.py
361  config.py
362  filtersets.py
363  misc.py
364  mixins.py
365  model_forms.py
366  reports.py
367  scripts.py
368 share/netbox/extras/graphql/
369  __init__.py
370  mixins.py
371  schema.py
372  types.py
373 share/netbox/extras/management/__init__.py
374 share/netbox/extras/management/commands/
375  __init__.py
376  clearcache.py
377  housekeeping.py
378  nbshell.py
379  reindex.py
380  renaturalize.py
381  rqworker.py
382  runreport.py
383  runscript.py
384  webhook_receiver.py
385 share/netbox/extras/migrations/
386  0001_squashed.py
387  0002_squashed_0059.py
388  0060_customlink_button_class.py
389  0061_extras_change_logging.py
390  0062_clear_secrets_changelog.py
391  0063_webhook_conditions.py
392  0064_configrevision.py
393  0065_imageattachment_change_logging.py
394  0066_customfield_name_validation.py
395  0067_customfield_min_max_values.py
396  0068_configcontext_cluster_types.py
397  0069_custom_object_field.py
398  0070_customlink_enabled.py
399  0071_standardize_id_fields.py
400  0072_created_datetimefield.py
401  0073_journalentry_tags_custom_fields.py
402  0074_customfield_extensions.py
403  0075_configcontext_locations.py
404  0076_tag_slug_unicode.py
405  0077_customlink_extend_text_and_url.py
406  0078_unique_constraints.py
407  0079_scheduled_jobs.py
408  0080_customlink_content_types.py
409  0081_exporttemplate_content_types.py
410  0082_savedfilter.py
411  0083_search.py
412  0084_staging.py
413  __init__.py
414 share/netbox/extras/models/
415  __init__.py
416  change_logging.py
417  configcontexts.py
418  customfields.py
419  models.py
420  search.py
421  staging.py
422  tags.py
423 share/netbox/extras/plugins/
424  __init__.py
425  navigation.py
426  registration.py
427  templates.py
428  urls.py
429  views.py
430 share/netbox/extras/tables/
431  __init__.py
432  tables.py
433  template_code.py
434 share/netbox/extras/templatetags/
435  __init__.py
436  custom_links.py
437  log_levels.py
438  plugins.py
439 share/netbox/extras/tests/
440  __init__.py
441  test_api.py
442  test_changelog.py
443  test_conditions.py
444  test_customfields.py
445  test_customvalidator.py
446  test_filtersets.py
447  test_forms.py
448  test_models.py
449  test_plugins.py
450  test_scripts.py
451  test_tags.py
452  test_views.py
453  test_webhooks.py
454 share/netbox/extras/tests/dummy_plugin/
455  __init__.py
456  admin.py
457  graphql.py
458  middleware.py
459  models.py
460  navigation.py
461  preferences.py
462  search.py
463  template_content.py
464  urls.py
465  views.py
466 share/netbox/extras/tests/dummy_plugin/api/
467  serializers.py
468  urls.py
469  views.py
470 share/netbox/extras/tests/dummy_plugin/migrations/
471  0001_initial.py
472  __init__.py
473 share/netbox/ipam/
474  __init__.py
475  apps.py
476  choices.py
477  constants.py
478  fields.py
479  filtersets.py
480  formfields.py
481  lookups.py
482  managers.py
483  querysets.py
484  search.py
485  signals.py
486  urls.py
487  utils.py
488  validators.py
489  views.py
490 share/netbox/ipam/api/
491  __init__.py
492  nested_serializers.py
493  serializers.py
494  urls.py
495  views.py
496 share/netbox/ipam/forms/
497  __init__.py
498  bulk_create.py
499  bulk_edit.py
500  bulk_import.py
501  filtersets.py
502  model_forms.py
503 share/netbox/ipam/graphql/
504  __init__.py
505  gfk_mixins.py
506  mixins.py
507  schema.py
508  types.py
509 share/netbox/ipam/management/__init__.py
510 share/netbox/ipam/management/commands/
511  __init__.py
512  rebuild_prefixes.py
513 share/netbox/ipam/migrations/
514  0001_squashed.py
515  0002_squashed_0046.py
516  0047_prefix_depth_children.py
517  0048_prefix_populate_depth_children.py
518  0049_prefix_mark_utilized.py
519  0050_iprange.py
520  0051_extend_tag_support.py
521  0052_fhrpgroup.py
522  0053_asn_model.py
523  0054_vlangroup_min_max_vids.py
524  0055_servicetemplate.py
525  0056_standardize_id_fields.py
526  0057_created_datetimefield.py
527  0058_ipaddress_nat_inside_nonunique.py
528  0059_l2vpn.py
529  0060_alter_l2vpn_slug.py
530  0061_fhrpgroup_name.py
531  0062_unique_constraints.py
532  0063_standardize_description_comments.py
533  0064_clear_search_cache.py
534  __init__.py
535 share/netbox/ipam/models/
536  __init__.py
537  fhrp.py
538  ip.py
539  l2vpn.py
540  services.py
541  vlans.py
542  vrfs.py
543 share/netbox/ipam/tables/
544  __init__.py
545  fhrp.py
546  ip.py
547  l2vpn.py
548  services.py
549  vlans.py
550  vrfs.py
551 share/netbox/ipam/tests/
552  __init__.py
553  test_api.py
554  test_filtersets.py
555  test_models.py
556  test_ordering.py
557  test_views.py
558 share/netbox/media/devicetype-images/.gitignore
559 share/netbox/media/image-attachments/.gitignore
560 share/netbox/netbox/
561  __init__.py
562  admin.py
563  authentication.py
564  configuration_example.py
565  configuration_testing.py
566  constants.py
567  context.py
568  context_processors.py
569  denormalized.py
570  filtersets.py
571  middleware.py
572  preferences.py
573  registry.py
574  settings.py
575  signals.py
576  staging.py
577  urls.py
578  wsgi.py
579 share/netbox/netbox/api/
580  __init__.py
581  authentication.py
582  exceptions.py
583  fields.py
584  metadata.py
585  pagination.py
586  renderers.py
587  routers.py
588  views.py
589 share/netbox/netbox/api/serializers/
590  __init__.py
591  base.py
592  features.py
593  generic.py
594  nested.py
595 share/netbox/netbox/api/viewsets/
596  __init__.py
597  mixins.py
598 share/netbox/netbox/config/
599  __init__.py
600  parameters.py
601 share/netbox/netbox/forms/
602  __init__.py
603  base.py
604 share/netbox/netbox/graphql/
605  __init__.py
606  fields.py
607  scalars.py
608  schema.py
609  types.py
610  utils.py
611  views.py
612 share/netbox/netbox/models/
613  __init__.py
614  features.py
615 share/netbox/netbox/navigation/
616  __init__.py
617  menu.py
618 share/netbox/netbox/search/
619  __init__.py
620  backends.py
621 share/netbox/netbox/tables/
622  __init__.py
623  columns.py
624  tables.py
625 share/netbox/netbox/tests/
626  __init__.py
627  test_api.py
628  test_authentication.py
629  test_config.py
630  test_graphql.py
631  test_import.py
632  test_registry.py
633  test_search.py
634  test_staging.py
635  test_tables.py
636  test_views.py
637 share/netbox/netbox/views/
638  __init__.py
639  errors.py
640  misc.py
641 share/netbox/netbox/views/generic/
642  __init__.py
643  base.py
644  bulk_views.py
645  feature_views.py
646  mixins.py
647  object_views.py
648  utils.py
649 share/netbox/project-static/
650  .eslintignore
651  .eslintrc
652  .prettierignore
653  .prettierrc
654  .sassrc
655  bundle.js
656  package.json
657  tsconfig.json
658  yarn.lock
659 share/netbox/project-static/dist/
660  cable_trace.css
661  config.js
662  config.js.map
663  graphiql.css
664  graphiql.js
665  graphiql.js.map
666  lldp.js
667  lldp.js.map
668  materialdesignicons-webfont-2ZY4X5WS.woff
669  materialdesignicons-webfont-DWVXV5L5.woff
670  materialdesignicons-webfont-EH3JD4GG.ttf
671  materialdesignicons-webfont-ER2MFQKM.woff2
672  materialdesignicons-webfont-KSYPMDN6.woff2
673  materialdesignicons-webfont-LWDVGUDX.eot
674  materialdesignicons-webfont-UHEFFMSX.eot
675  materialdesignicons-webfont-WM6M6ZHQ.ttf
676  netbox-dark.css
677  netbox-external.css
678  netbox-light.css
679  netbox-print.css
680  netbox.js
681  netbox.js.map
682  rack_elevation.css
683  status.js
684  status.js.map
685 share/netbox/project-static/docs/.info
686 share/netbox/project-static/img/
687  graphql.ico
688  netbox.ico
689  netbox_icon.svg
690  netbox_logo.png
691  netbox_logo.svg
692  netbox_touch-icon-180.png
693  rest-api.ico
694  tint_20.png
695 share/netbox/project-static/js/setmode.js
696 share/netbox/project-static/netbox-graphiql/
697  graphiql.scss
698  index.ts
699  package.json
700 share/netbox/project-static/src/
701  bs.ts
702  clipboard.ts
703  colorMode.ts
704  dateSelector.ts
705  global.d.ts
706  htmx.ts
707  index.ts
708  links.ts
709  messages.ts
710  netbox.ts
711  racks.ts
712  search.ts
713  sidenav.ts
714  tableConfig.ts
715  util.ts
716 share/netbox/project-static/src/buttons/
717  connectionToggle.ts
718  depthToggle.ts
719  index.ts
720  markdownPreview.ts
721  moveOptions.ts
722  reslug.ts
723  selectAll.ts
724  selectMultiple.ts
725 share/netbox/project-static/src/device/
726  config.ts
727  lldp.ts
728  status.ts
729 share/netbox/project-static/src/forms/
730  elements.ts
731  index.ts
732  scopeSelector.ts
733  speedSelector.ts
734  vlanTags.ts
735 share/netbox/project-static/src/select/
736  color.ts
737  index.ts
738  static.ts
739  util.ts
740 share/netbox/project-static/src/select/api/
741  apiSelect.ts
742  dynamicParams.ts
743  index.ts
744  types.ts
745 share/netbox/project-static/src/state/index.ts
746 share/netbox/project-static/src/stores/
747  index.ts
748  objectDepth.ts
749  previousPkCheck.ts
750  rackImages.ts
751 share/netbox/project-static/src/tables/
752  index.ts
753  interfaceTable.ts
754 share/netbox/project-static/styles/
755  _cable_trace.scss
756  _dark.scss
757  _external.scss
758  _light.scss
759  _print.scss
760  _rack_elevation.scss
761  bootstrap.scss
762  cable-trace.scss
763  extensions.scss
764  flatpickr-dark.scss
765  netbox.scss
766  overrides.scss
767  rack-elevation.scss
768  select.scss
769  sidenav.scss
770  theme-base.scss
771  theme-dark.scss
772  theme-light.scss
773  utilities.scss
774  variables.scss
775 share/netbox/reports/__init__.py
776 share/netbox/scripts/__init__.py
777 share/netbox/templates/
778  403.html
779  404.html
780  500.html
781  graphiql.html
782  home.html
783  import_success.html
784  login.html
785  media_failure.html
786  search.html
787 share/netbox/templates/admin/index.html
788 share/netbox/templates/admin/extras/configrevision/restore.html
789 share/netbox/templates/base/
790  40x.html
791  base.html
792  layout.html
793  sidenav.html
794 share/netbox/templates/circuits/
795  circuit.html
796  circuit_terminations_swap.html
797  circuittermination_edit.html
798  circuittype.html
799  provider.html
800  providernetwork.html
801 share/netbox/templates/circuits/inc/circuit_termination.html
802 share/netbox/templates/dcim/
803  bulk_disconnect.html
804  cable.html
805  cable_edit.html
806  cable_trace.html
807  component_create.html
808  connections_list.html
809  consoleport.html
810  consoleport_delete.html
811  consoleserverport.html
812  consoleserverport_delete.html
813  device.html
814  device_edit.html
815  device_list.html
816  devicebay.html
817  devicebay_delete.html
818  devicebay_depopulate.html
819  devicebay_populate.html
820  devicerole.html
821  devicetype.html
822  frontport.html
823  interface.html
824  interface_delete.html
825  interface_edit.html
826  inventoryitem.html
827  inventoryitem_bulk_delete.html
828  inventoryitem_delete.html
829  inventoryitem_edit.html
830  inventoryitemrole.html
831  location.html
832  manufacturer.html
833  module.html
834  modulebay.html
835  moduletype.html
836  platform.html
837  powerfeed.html
838  poweroutlet.html
839  poweroutlet_delete.html
840  powerpanel.html
841  powerport.html
842  powerport_delete.html
843  rack.html
844  rack_edit.html
845  rack_elevation_list.html
846  rack_list.html
847  rackreservation.html
848  rackrole.html
849  rearport.html
850  region.html
851  site.html
852  sitegroup.html
853  virtualchassis.html
854  virtualchassis_add.html
855  virtualchassis_add_member.html
856  virtualchassis_edit.html
857  virtualchassis_remove_member.html
858  virtualdevicecontext.html
859 share/netbox/templates/dcim/device/
860  base.html
861  config.html
862  consoleports.html
863  consoleserverports.html
864  devicebays.html
865  frontports.html
866  interfaces.html
867  inventory.html
868  lldp_neighbors.html
869  modulebays.html
870  poweroutlets.html
871  powerports.html
872  rearports.html
873  status.html
874 share/netbox/templates/dcim/device/inc/interface_table_controls.html
875 share/netbox/templates/dcim/devicerole/
876  devices.html
877  virtual_machines.html
878 share/netbox/templates/dcim/devicetype/
879  base.html
880  component_templates.html
881 share/netbox/templates/dcim/inc/
882  cable_termination.html
883  cable_toggle_buttons.html
884  connection_endpoints.html
885  endpoint_connection.html
886  interface_vlans_table.html
887  nonracked_devices.html
888  rack_elevation.html
889 share/netbox/templates/dcim/inc/panels/inventory_items.html
890 share/netbox/templates/dcim/moduletype/
891  base.html
892  component_templates.html
893 share/netbox/templates/dcim/trace/
894  attachment.html
895  cable.html
896  circuit.html
897  device.html
898  object.html
899  powerpanel.html
900  termination.html
901 share/netbox/templates/exceptions/
902  import_error.html
903  permission_error.html
904  programming_error.html
905 share/netbox/templates/extras/
906  configcontext.html
907  customfield.html
908  customlink.html
909  exporttemplate.html
910  imageattachment_edit.html
911  journalentry.html
912  object_changelog.html
913  object_configcontext.html
914  object_journal.html
915  objectchange.html
916  objectchange_list.html
917  report.html
918  report_list.html
919  report_result.html
920  savedfilter.html
921  script.html
922  script_list.html
923  script_result.html
924  tag.html
925  webhook.html
926 share/netbox/templates/extras/admin/plugins_list.html
927 share/netbox/templates/extras/htmx/
928  report_result.html
929  script_result.html
930 share/netbox/templates/extras/inc/
931  configcontext_data.html
932  configcontext_format.html
933  job_label.html
934  result_pending.html
935 share/netbox/templates/extras/templatetags/log_level.html
936 share/netbox/templates/generic/
937  bulk_add_component.html
938  bulk_delete.html
939  bulk_edit.html
940  bulk_import.html
941  bulk_remove.html
942  bulk_rename.html
943  confirmation_form.html
944  object.html
945  object_delete.html
946  object_edit.html
947  object_list.html
948 share/netbox/templates/htmx/
949  delete_form.html
950  table.html
951 share/netbox/templates/inc/
952  filter_list.html
953  htmx_modal.html
954  messages.html
955  missing_prerequisites.html
956  paginator.html
957  paginator_htmx.html
958  panel_table.html
959  profile_button.html
960  searchbar.html
961  table.html
962  table_controls_htmx.html
963  table_htmx.html
964 share/netbox/templates/inc/panels/
965  comments.html
966  contacts.html
967  custom_fields.html
968  image_attachments.html
969  services.html
970  tags.html
971 share/netbox/templates/ipam/
972  aggregate.html
973  asn.html
974  fhrpgroup.html
975  fhrpgroup_edit.html
976  fhrpgroupassignment_edit.html
977  ipaddress.html
978  ipaddress_assign.html
979  ipaddress_bulk_add.html
980  ipaddress_edit.html
981  iprange.html
982  l2vpn.html
983  l2vpntermination.html
984  l2vpntermination_edit.html
985  prefix.html
986  prefix_list.html
987  rir.html
988  role.html
989  routetarget.html
990  service.html
991  service_create.html
992  service_edit.html
993  servicetemplate.html
994  vlan.html
995  vlan_edit.html
996  vlangroup.html
997  vrf.html
998 share/netbox/templates/ipam/aggregate/
999  base.html
1000  prefixes.html
1001 share/netbox/templates/ipam/inc/
1002  ipaddress_edit_header.html
1003  toggle_available.html
1004 share/netbox/templates/ipam/inc/panels/fhrp_groups.html
1005 share/netbox/templates/ipam/iprange/
1006  base.html
1007  ip_addresses.html
1008 share/netbox/templates/ipam/prefix/
1009  base.html
1010  ip_addresses.html
1011  ip_ranges.html
1012  prefixes.html
1013 share/netbox/templates/ipam/vlan/
1014  base.html
1015  interfaces.html
1016  vminterfaces.html
1017 share/netbox/templates/rest_framework/api.html
1018 share/netbox/templates/tenancy/
1019  contact.html
1020  contactassignment_edit.html
1021  contactgroup.html
1022  contactrole.html
1023  tenant.html
1024  tenantgroup.html
1025 share/netbox/templates/users/
1026  api_token.html
1027  api_tokens.html
1028  base.html
1029  password.html
1030  preferences.html
1031  profile.html
1032 share/netbox/templates/virtualization/
1033  cluster.html
1034  cluster_add_devices.html
1035  clustergroup.html
1036  clustertype.html
1037  virtualmachine.html
1038  virtualmachine_list.html
1039  vminterface.html
1040 share/netbox/templates/virtualization/cluster/
1041  base.html
1042  devices.html
1043  virtual_machines.html
1044 share/netbox/templates/virtualization/virtualmachine/
1045  base.html
1046  interfaces.html
1047 share/netbox/templates/wireless/
1048  wirelesslan.html
1049  wirelesslangroup.html
1050  wirelesslink.html
1051  wirelesslink_edit.html
1052 share/netbox/templates/wireless/inc/
1053  authentication_attrs.html
1054  wirelesslink_interface.html
1055 share/netbox/tenancy/
1056  __init__.py
1057  apps.py
1058  choices.py
1059  filtersets.py
1060  search.py
1061  urls.py
1062  views.py
1063 share/netbox/tenancy/api/
1064  __init__.py
1065  nested_serializers.py
1066  serializers.py
1067  urls.py
1068  views.py
1069 share/netbox/tenancy/forms/
1070  __init__.py
1071  bulk_edit.py
1072  bulk_import.py
1073  filtersets.py
1074  forms.py
1075  model_forms.py
1076 share/netbox/tenancy/graphql/
1077  __init__.py
1078  schema.py
1079  types.py
1080 share/netbox/tenancy/migrations/
1081  0001_squashed_0012.py
1082  0002_tenant_ordering.py
1083  0003_contacts.py
1084  0004_extend_tag_support.py
1085  0005_standardize_id_fields.py
1086  0006_created_datetimefield.py
1087  0007_contact_link.py
1088  0008_unique_constraints.py
1089  0009_standardize_description_comments.py
1090  __init__.py
1091 share/netbox/tenancy/models/
1092  __init__.py
1093  contacts.py
1094  tenants.py
1095 share/netbox/tenancy/tables/
1096  __init__.py
1097  columns.py
1098  contacts.py
1099  tenants.py
1100 share/netbox/tenancy/tests/
1101  __init__.py
1102  test_api.py
1103  test_filtersets.py
1104  test_views.py
1105 share/netbox/users/
1106  __init__.py
1107  apps.py
1108  constants.py
1109  filtersets.py
1110  forms.py
1111  models.py
1112  preferences.py
1113  signals.py
1114  tables.py
1115  urls.py
1116  utils.py
1117  views.py
1118 share/netbox/users/admin/
1119  __init__.py
1120  filters.py
1121  forms.py
1122  inlines.py
1123 share/netbox/users/api/
1124  __init__.py
1125  nested_serializers.py
1126  serializers.py
1127  urls.py
1128  views.py
1129 share/netbox/users/graphql/
1130  __init__.py
1131  schema.py
1132  types.py
1133 share/netbox/users/migrations/
1134  0001_squashed_0011.py
1135  0002_standardize_id_fields.py
1136  0003_token_allowed_ips_last_used.py
1137  __init__.py
1138 share/netbox/users/tests/
1139  __init__.py
1140  test_api.py
1141  test_filtersets.py
1142  test_models.py
1143  test_preferences.py
1144 share/netbox/utilities/
1145  __init__.py
1146  api.py
1147  choices.py
1148  constants.py
1149  custom_inspectors.py
1150  error_handlers.py
1151  exceptions.py
1152  fields.py
1153  filters.py
1154  htmx.py
1155  json.py
1156  markdown.py
1157  mptt.py
1158  ordering.py
1159  paginator.py
1160  permissions.py
1161  query_functions.py
1162  querysets.py
1163  request.py
1164  tables.py
1165  urls.py
1166  utils.py
1167  validators.py
1168  views.py
1169 share/netbox/utilities/forms/
1170  __init__.py
1171  constants.py
1172  forms.py
1173  utils.py
1174  widgets.py
1175 share/netbox/utilities/forms/fields/
1176  __init__.py
1177  content_types.py
1178  csv.py
1179  dynamic.py
1180  expandable.py
1181  fields.py
1182 share/netbox/utilities/management/__init__.py
1183 share/netbox/utilities/management/commands/
1184  __init__.py
1185  makemigrations.py
1186  migrate.py
1187 share/netbox/utilities/serializers/json.py
1188 share/netbox/utilities/templates/builtins/
1189  badge.html
1190  checkmark.html
1191  customfield_value.html
1192  tag.html
1193 share/netbox/utilities/templates/buttons/
1194  add.html
1195  bulk_delete.html
1196  bulk_edit.html
1197  clone.html
1198  delete.html
1199  edit.html
1200  export.html
1201  import.html
1202 share/netbox/utilities/templates/form_helpers/
1203  render_custom_fields.html
1204  render_errors.html
1205  render_field.html
1206  render_form.html
1207 share/netbox/utilities/templates/helpers/
1208  applied_filters.html
1209  table_config_form.html
1210  utilization_graph.html
1211 share/netbox/utilities/templates/navigation/menu.html
1212 share/netbox/utilities/templates/tabs/model_view_tabs.html
1213 share/netbox/utilities/templates/widgets/
1214  clearable_file_input.html
1215  colorselect_option.html
1216  markdown_input.html
1217  select_duration.html
1218  select_option.html
1219  select_option_with_pk.html
1220  select_speed.html
1221  sluginput.html
1222 share/netbox/utilities/templatetags/
1223  __init__.py
1224  buttons.py
1225  form_helpers.py
1226  helpers.py
1227  navigation.py
1228  perms.py
1229  tabs.py
1230 share/netbox/utilities/templatetags/builtins/
1231  __init__.py
1232  filters.py
1233  tags.py
1234 share/netbox/utilities/testing/
1235  __init__.py
1236  api.py
1237  base.py
1238  filtersets.py
1239  utils.py
1240  views.py
1241 share/netbox/utilities/tests/
1242  __init__.py
1243  test_api.py
1244  test_choices.py
1245  test_filters.py
1246  test_forms.py
1247  test_managers.py
1248  test_ordering.py
1249  test_utils.py
1250 share/netbox/virtualization/
1251  __init__.py
1252  apps.py
1253  choices.py
1254  filtersets.py
1255  search.py
1256  urls.py
1257  views.py
1258 share/netbox/virtualization/api/
1259  __init__.py
1260  nested_serializers.py
1261  serializers.py
1262  urls.py
1263  views.py
1264 share/netbox/virtualization/forms/
1265  __init__.py
1266  bulk_create.py
1267  bulk_edit.py
1268  bulk_import.py
1269  filtersets.py
1270  model_forms.py
1271  object_create.py
1272 share/netbox/virtualization/graphql/
1273  __init__.py
1274  schema.py
1275  types.py
1276 share/netbox/virtualization/migrations/
1277  0001_squashed_0022.py
1278  0023_virtualmachine_natural_ordering.py
1279  0024_cluster_relax_uniqueness.py
1280  0025_extend_tag_support.py
1281  0026_vminterface_bridge.py
1282  0027_standardize_id_fields.py
1283  0028_vminterface_vrf.py
1284  0029_created_datetimefield.py
1285  0030_cluster_status.py
1286  0031_virtualmachine_site_device.py
1287  0032_virtualmachine_update_sites.py
1288  0033_unique_constraints.py
1289  0034_standardize_description_comments.py
1290  __init__.py
1291 share/netbox/virtualization/models/
1292  __init__.py
1293  clusters.py
1294  virtualmachines.py
1295 share/netbox/virtualization/tables/
1296  __init__.py
1297  clusters.py
1298  virtualmachines.py
1299 share/netbox/virtualization/tests/
1300  __init__.py
1301  test_api.py
1302  test_filtersets.py
1303  test_models.py
1304  test_views.py
1305 share/netbox/wireless/
1306  __init__.py
1307  apps.py
1308  choices.py
1309  constants.py
1310  filtersets.py
1311  models.py
1312  search.py
1313  signals.py
1314  urls.py
1315  utils.py
1316  views.py
1317 share/netbox/wireless/api/
1318  __init__.py
1319  nested_serializers.py
1320  serializers.py
1321  urls.py
1322  views.py
1323 share/netbox/wireless/forms/
1324  __init__.py
1325  bulk_edit.py
1326  bulk_import.py
1327  filtersets.py
1328  model_forms.py
1329 share/netbox/wireless/graphql/
1330  __init__.py
1331  schema.py
1332  types.py
1333 share/netbox/wireless/migrations/
1334  0001_wireless.py
1335  0002_standardize_id_fields.py
1336  0003_created_datetimefield.py
1337  0004_wireless_tenancy.py
1338  0005_wirelesslink_interface_types.py
1339  0006_unique_constraints.py
1340  0007_standardize_description_comments.py
1341  0008_wirelesslan_status.py
1342  __init__.py
1343 share/netbox/wireless/tables/
1344  __init__.py
1345  wirelesslan.py
1346  wirelesslink.py
1347 share/netbox/wireless/tests/
1348  __init__.py
1349  test_api.py
1350  test_filtersets.py
1351  test_views.py
1352
1353
1354 [FILE:4976:manifests/plist.docs]
1355 share/netbox/docs/docs/
1356  extra.css
1357  index.md
1358  introduction.md
1359  netbox_logo.png
1360  netbox_logo.svg
1361 share/netbox/docs/docs/_theme/main.html
1362 share/netbox/docs/docs/administration/
1363  error-reporting.md
1364  housekeeping.md
1365  netbox-shell.md
1366  permissions.md
1367  replicating-netbox.md
1368 share/netbox/docs/docs/administration/authentication/
1369  microsoft-azure-ad.md
1370  okta.md
1371  overview.md
1372 share/netbox/docs/docs/configuration/
1373  data-validation.md
1374  date-time.md
1375  default-values.md
1376  development.md
1377  error-reporting.md
1378  index.md
1379  miscellaneous.md
1380  napalm.md
1381  plugins.md
1382  remote-authentication.md
1383  required-parameters.md
1384  security.md
1385  system.md
1386 share/netbox/docs/docs/customization/
1387  custom-fields.md
1388  custom-links.md
1389  custom-scripts.md
1390  custom-validation.md
1391  export-templates.md
1392  reports.md
1393 share/netbox/docs/docs/development/
1394  adding-models.md
1395  application-registry.md
1396  extending-models.md
1397  getting-started.md
1398  git-cheat-sheet.md
1399  index.md
1400  models.md
1401  release-checklist.md
1402  search.md
1403  signals.md
1404  style-guide.md
1405  user-preferences.md
1406  web-ui.md
1407 share/netbox/docs/docs/features/
1408  api-integration.md
1409  authentication-permissions.md
1410  change-logging.md
1411  circuits.md
1412  contacts.md
1413  context-data.md
1414  customization.md
1415  devices-cabling.md
1416  facilities.md
1417  ipam.md
1418  journaling.md
1419  l2vpn-overlay.md
1420  power-tracking.md
1421  search.md
1422  tenancy.md
1423  virtualization.md
1424  vlan-management.md
1425  wireless.md
1426 share/netbox/docs/docs/getting-started/
1427  planning.md
1428  populating-data.md
1429 share/netbox/docs/docs/installation/
1430  1-postgresql.md
1431  2-redis.md
1432  3-netbox.md
1433  4-gunicorn.md
1434  5-http-server.md
1435  6-ldap.md
1436  index.md
1437  upgrading.md
1438 share/netbox/docs/docs/integrations/
1439  graphql-api.md
1440  napalm.md
1441  prometheus-metrics.md
1442  rest-api.md
1443  webhooks.md
1444 share/netbox/docs/docs/media/
1445  admin_ui_run_permission.png
1446  power_distribution.png
1447 share/netbox/docs/docs/media/authentication/
1448  azure_ad_add_app_registration.png
1449  azure_ad_add_client_secret.png
1450  azure_ad_app_registration.png
1451  azure_ad_app_registration_created.png
1452  azure_ad_client_secret.png
1453  azure_ad_client_secret_created.png
1454  azure_ad_login_portal.png
1455  netbox_azure_ad_login.png
1456  netbox_okta_login.png
1457  okta_create_app_registration.png
1458  okta_integration_parameters.png
1459  okta_login_portal.png
1460  okta_web_app_integration.png
1461 share/netbox/docs/docs/media/development/
1462  github.png
1463  github_fork_button.png
1464  github_fork_dialog.png
1465  github_new_issue.png
1466 share/netbox/docs/docs/media/installation/
1467  netbox_application_stack.png
1468  upgrade_paths.png
1469 share/netbox/docs/docs/media/models/dcim_cable_trace.png
1470 share/netbox/docs/docs/media/release-notes/netbox30_ui.png
1471 share/netbox/docs/docs/media/screenshots/
1472  cable-trace.png
1473  home-dark.png
1474  netbox-ui.png
1475  prefixes-list.png
1476  rack.png
1477 share/netbox/docs/docs/models/circuits/
1478  circuit.md
1479  circuittermination.md
1480  circuittype.md
1481  provider.md
1482  providernetwork.md
1483 share/netbox/docs/docs/models/dcim/
1484  cable.md
1485  consoleport.md
1486  consoleporttemplate.md
1487  consoleserverport.md
1488  consoleserverporttemplate.md
1489  device.md
1490  devicebay.md
1491  devicebaytemplate.md
1492  devicerole.md
1493  devicetype.md
1494  frontport.md
1495  frontporttemplate.md
1496  interface.md
1497  interfacetemplate.md
1498  inventoryitem.md
1499  inventoryitemrole.md
1500  inventoryitemtemplate.md
1501  location.md
1502  manufacturer.md
1503  module.md
1504  modulebay.md
1505  modulebaytemplate.md
1506  moduletype.md
1507  platform.md
1508  powerfeed.md
1509  poweroutlet.md
1510  poweroutlettemplate.md
1511  powerpanel.md
1512  powerport.md
1513  powerporttemplate.md
1514  rack.md
1515  rackreservation.md
1516  rackrole.md
1517  rearport.md
1518  rearporttemplate.md
1519  region.md
1520  site.md
1521  sitegroup.md
1522  virtualchassis.md
1523  virtualdevicecontext.md
1524 share/netbox/docs/docs/models/extras/
1525  branch.md
1526  configcontext.md
1527  customfield.md
1528  customlink.md
1529  exporttemplate.md
1530  imageattachment.md
1531  journalentry.md
1532  savedfilter.md
1533  stagedchange.md
1534  tag.md
1535  webhook.md
1536 share/netbox/docs/docs/models/ipam/
1537  aggregate.md
1538  asn.md
1539  fhrpgroup.md
1540  fhrpgroupassignment.md
1541  ipaddress.md
1542  iprange.md
1543  l2vpn.md
1544  l2vpntermination.md
1545  prefix.md
1546  rir.md
1547  role.md
1548  routetarget.md
1549  service.md
1550  servicetemplate.md
1551  vlan.md
1552  vlangroup.md
1553  vrf.md
1554 share/netbox/docs/docs/models/tenancy/
1555  contact.md
1556  contactgroup.md
1557  contactrole.md
1558  tenant.md
1559  tenantgroup.md
1560 share/netbox/docs/docs/models/virtualization/
1561  cluster.md
1562  clustergroup.md
1563  clustertype.md
1564  virtualmachine.md
1565  vminterface.md
1566 share/netbox/docs/docs/models/wireless/
1567  wirelesslan.md
1568  wirelesslangroup.md
1569  wirelesslink.md
1570 share/netbox/docs/docs/plugins/index.md
1571 share/netbox/docs/docs/plugins/development/
1572  background-tasks.md
1573  exceptions.md
1574  filtersets.md
1575  forms.md
1576  graphql-api.md
1577  index.md
1578  models.md
1579  navigation.md
1580  rest-api.md
1581  search.md
1582  staged-changes.md
1583  tables.md
1584  templates.md
1585  views.md
1586 share/netbox/docs/docs/reference/
1587  conditions.md
1588  filtering.md
1589  markdown.md
1590 share/netbox/docs/docs/release-notes/
1591  index.md
1592  version-2.0.md
1593  version-2.1.md
1594  version-2.10.md
1595  version-2.11.md
1596  version-2.2.md
1597  version-2.3.md
1598  version-2.4.md
1599  version-2.5.md
1600  version-2.6.md
1601  version-2.7.md
1602  version-2.8.md
1603  version-2.9.md
1604  version-3.0.md
1605  version-3.1.md
1606  version-3.2.md
1607  version-3.3.md
1608  version-3.4.md
1609
1610
1611 [FILE:155:manifests/plist.examples]
1612 share/examples/netbox/
1613  apache.conf
1614  gunicorn.py
1615  nginx.conf
1616 share/examples/netbox/bsd/
1617  850.netbox-housekeeping.sample
1618  netbox_rq.sample
1619  netboxrc.sample
1620
1621
1622 [FILE:578:patches/patch-mkdocs.yml]
1623 --- mkdocs.yml.orig     2023-03-28 18:08:04 UTC
1624 +++ mkdocs.yml
1625 @@ -1,5 +1,5 @@
1626  site_name: NetBox Documentation
1627 -site_dir: netbox/project-static/docs
1628 +site_dir: project-static/docs
1629  site_url: https://docs.netbox.dev/
1630  repo_name: netbox-community/netbox
1631  repo_url: https://github.com/netbox-community/netbox
1632 @@ -27,7 +27,6 @@ plugins:
1633            setup_commands:
1634              - import os
1635              - import django
1636 -            - os.chdir('netbox/')
1637              - os.environ.setdefault("DJANGO_SETTINGS_MODULE", "netbox.settings")
1638              - django.setup()
1639            options:
1640
1641
1642 [FILE:789:files/850.netbox-housekeeping.sample.in]
1643 #!/bin/sh
1644 # This shell script invokes NetBox's housekeeping management command, which
1645 # intended to be run nightly.
1646 #
1647 # If you want to enable this script, copy it to %%PREFIX%%/etc/periodic/daily
1648 # and place the following into /etc/periodic.conf:
1649 #
1650 # daily_netbox_housekeeping_enable="YES"
1651 #
1652 # If NetBox has been installed into a nonstandard location, update the paths
1653 # below.
1654 command="%%PYTHON_CMD%%"
1655 netbox_root="%%PREFIX%%/share/netbox"
1656
1657 # If there is a global system configuration file, suck it in.
1658 #
1659 if [ -r /etc/defaults/periodic.conf ]; then
1660         . /etc/defaults/periodic.conf
1661         source_periodic_confs
1662 fi
1663
1664 rc=0
1665
1666 case "$daily_netbox_housekeeping_enable" in
1667         [Yy][Ee][Ss])
1668         echo ""
1669         echo "Running NetBox housekeeping:"
1670         $command "$netbox_root/manage.py" housekeeping
1671         rc=$?
1672 esac
1673
1674 exit $rc
1675
1676
1677 [FILE:934:files/netbox_rq.sample.in]
1678 #!/bin/sh
1679
1680 # This sample rc script starts the RQ worker background service which is
1681 # required for Webhooks and various automation tasks.
1682
1683 #
1684 # PROVIDE: netbox_rq
1685 # REQUIRE: DAEMON
1686 # KEYWORD: shutdown
1687 #
1688 # Add the following line to /etc/rc.conf.local or /etc/rc.conf
1689 # to enable netbox-rq:
1690 #
1691 # netbox_rq_enable (bool):              Set to NO by default.
1692 #                                       Set it to YES to enable netbox_rq.
1693
1694 . /etc/rc.subr
1695
1696 name=netbox_rq
1697 rcvar=netbox_rq_enable
1698
1699 load_rc_config $name
1700
1701 start_cmd="netbox_rq_start"
1702 start_precmd="netbox_rq_precmd"
1703 command="%%PYTHON_CMD%%"
1704 command_args="%%PREFIX%%/share/netbox/manage.py rqworker"
1705 pidfile=${netbox_rq_pidfile:-/var/run/${name}/${name}.pid}
1706 netbox_rq_user=${netbox_rq_user:-www}
1707
1708
1709 netbox_rq_precmd()
1710 {
1711         install -d -o ${netbox_rq_user} `dirname ${pidfile}`
1712 }
1713
1714 netbox_rq_start()
1715 {
1716         echo "Starting netbox_rq."
1717         /usr/sbin/daemon -cf -p ${pidfile} -u ${netbox_rq_user} ${command} ${command_args}
1718 }
1719
1720 run_rc_command "$1"
1721
1722
1723 [FILE:3721:files/netboxrc.sample.in]
1724 #!/bin/sh
1725
1726 # This sample rc script eliminate the need to use sysutils/py-supervisor to
1727 # run NetBox as a system service. Only www/py-gunicorn is needed as a WSGI.
1728 #
1729 # Of course a working HTTP server like Apache/nginx is still required to make
1730 # use of the gunicorn WSGI.
1731
1732 #
1733 # PROVIDE: netbox
1734 # REQUIRE: DAEMON
1735 # KEYWORD: shutdown
1736 #
1737 # Add the following line to /etc/rc.conf.local or /etc/rc.conf
1738 # to enable netbox:
1739 #
1740 # netbox_enable (bool):                 Set to NO by default.
1741 #                                       Set it to YES to enable netbox.
1742 # netbox_use_config (bool):             Set to NO by default.
1743 #                                       If set, read the configuration parameter from file defined in
1744 #                                       "netbox_config" instead using rc variables.
1745 # netbox_config (str):                  Default to "/usr/local/etc/${name}.conf}"
1746 #                                       Config file for gunicorn's netbox config file
1747 # netbox_command (str):                 Default to "%%LOCALBASE%%/bin/gunicorn"
1748 #                                       Path to gunicorn to run netbox
1749 # netbox_bind (str):                    Default to "localhost:8001"
1750 #                                       Interface and port to bind to
1751 # netbox_workers (int):                 Default to "5"
1752 #                                       Number of gunicorn workers
1753 # netbox_threads (int):                 Default to "3"
1754 #                                       Number of worker threads per handling request
1755 # netbox_timeout (int):                 Default to "120"
1756 #                                       Worker timeout for gunicorn
1757 # netbox_max_requests (int):            Default to "5000"
1758 #                                       Maximum number of requests a worker process will process before respawning
1759 # netbox_max_requests_jitter (int):     Default to "500"
1760 #                                       Maximum number jitter to add to "netbox_max_requests"
1761 # netbox_extra_args (str):              Not set by default
1762 #                                       Extra arguments that are passed to gunicorn
1763 #
1764
1765 . /etc/rc.subr
1766
1767 name="netbox"
1768 rcvar=netbox_enable
1769 netbox_path=%%PREFIX%%/share/netbox
1770 extra_commands="upgrade"
1771
1772 load_rc_config $name
1773
1774 start_precmd="netbox_precmd"
1775 upgrade_cmd="netbox_upgrade"
1776 command=${netbox_program:-%%LOCALBASE%%/bin/gunicorn}
1777 procname=${netbox_procname:-%%PYTHON_CMD%%}
1778 netbox_chdir=${netbox_path}
1779 pidfile=${netbox_pidfile:-/var/run/${name}/${name}.pid}
1780 netbox_user=${netbox_user:-wwwraven}
1781 netbox_use_config=${netbox_use_config:-no}
1782 netbox_config=${netbox_config:-/${name}.conf}
1783 netbox_bind=${netbox_bind:-localhost:8001}
1784 netbox_workers=${netbox_workers:-5}
1785 netbox_threads=${netbox_threads:-3}
1786 netbox_timeout=${netbox_timeout:-120}
1787 netbox_max_requests=${netbox_max_requests:-5000}
1788 netbox_max_requests_jitter=${netbox_max_requests_jitter:-500}
1789
1790 # Read settings from confguration file if set
1791 if checkyesno netbox_use_config && [ -f "${netbox_config}" ]; then 
1792         command_args="${netbox_args} -D \
1793                 --log-syslog --log-syslog-prefix ${name} \
1794                 --log-syslog-to unix:///var/run/log#dgram \
1795                 --disable-redirect-access-to-syslog \
1796                 -p ${pidfile} --pythonpath ${netbox_path} \
1797                 -c ${netbox_config} \
1798                 netbox.wsgi"
1799 else
1800         command_args="${netbox_args} -D \
1801                 --log-syslog --log-syslog-prefix ${name} \
1802                 --log-syslog-to unix:///var/run/log#dgram \
1803                 --disable-redirect-access-to-syslog \
1804                 -p ${pidfile} --pythonpath ${netbox_path} \
1805                 -b ${netbox_bind} -w ${netbox_workers} --threads ${netbox_threads} -t ${netbox_timeout} \
1806                 --max-requests ${netbox_max_requests} --max-requests-jitter ${netbox_max_requests_jitter} \
1807                 ${netbox_extra_args} \
1808                 netbox.wsgi"
1809 fi
1810
1811 netbox_precmd()
1812 {
1813         install -d -o ${netbox_user} `dirname ${pidfile}`
1814 }
1815
1816 netbox_upgrade()
1817 {
1818         if [ -f ${pidfile} ]; then
1819                 cd ${netbox_path}
1820                 %%PYTHON_CMD%% manage.py migrate
1821                 %%PYTHON_CMD%% manage.py trace_paths --no-input
1822                 %%LOCALBASE%%/bin/mkdocs build
1823                 %%PYTHON_CMD%% manage.py collectstatic --no-input
1824                 %%PYTHON_CMD%% manage.py remove_stale_contenttypes --no-input
1825                 %%PYTHON_CMD%% manage.py clearsessions
1826                 %%PYTHON_CMD%% manage.py clearcache
1827                 echo "Please restart NetBox and the WSGI environment."
1828         else
1829                 echo "NetBox is not running!"
1830         fi
1831 }
1832
1833 run_rc_command "$1"
1834
1835
1836 [FILE:1152:files/pkg-message-primary.in]
1837 Please note that NetBox requires a PostgreSQL database server, which uses its
1838 built-in network address datatypes. Thus NetBox won't work with other RDBMS's,
1839 e.g. MySQL, MariaDB, etc.
1840
1841 For installation instructions please refer to the related wiki page:
1842
1843 - https://wiki.freebsd.org/Ports/net-mgmt/netbox
1844
1845 ************
1846 * Upgrades *
1847 ************
1848
1849 As always it is strongly encouraged to make a backup of the database before the
1850 database migrations will be executed.
1851
1852 The following steps are required to finish the upgrade: 
1853
1854 1. Run database migrations, trace any missing cable paths, build the embedded
1855    documentation, collect static files, remove stale content files, delete any
1856    expired user sessions and clear the cache.
1857
1858 # cd %%PREXIX%%/share/netbox
1859 # python%%PYTHON_VER%% manage.py migrate
1860 # python%%PYTHON_VER%% manage.py trace_paths --no-input
1861 # mkdocs build
1862 # python%%PYTHON_VER%% manage.py collectstatic --no-input
1863 # python%%PYTHON_VER%% manage.py remove_stale_contenttypes --no-input
1864 # python%%PYTHON_VER%% manage.py clearsessions
1865 # python%%PYTHON_VER%% manage.py clearcache
1866
1867 2. Restart WSGI/httpd environment (supervisord/apache/nginx/etc.)
1868