View | Details | Raw Unified | Return to bug 241913
Collapse All | Expand All

(-)net-mgmt/netbox/Makefile (-1 / +2 lines)
Lines 3-8 Link Here
3
PORTNAME=	netbox
3
PORTNAME=	netbox
4
DISTVERSIONPREFIX=	v
4
DISTVERSIONPREFIX=	v
5
DISTVERSION=	2.6.7
5
DISTVERSION=	2.6.7
6
PORTREVISION=	1
6
CATEGORIES=	net-mgmt
7
CATEGORIES=	net-mgmt
7
8
8
MAINTAINER=	kai@FreeBSD.org
9
MAINTAINER=	kai@FreeBSD.org
Lines 30-36 Link Here
30
		${PYTHON_PKGNAMEPREFIX}Jinja2>=2.10.1:devel/py-Jinja2@${PY_FLAVOR} \
31
		${PYTHON_PKGNAMEPREFIX}Jinja2>=2.10.1:devel/py-Jinja2@${PY_FLAVOR} \
31
		${PYTHON_PKGNAMEPREFIX}markdown>=2.6.11:textproc/py-markdown@${PY_FLAVOR} \
32
		${PYTHON_PKGNAMEPREFIX}markdown>=2.6.11:textproc/py-markdown@${PY_FLAVOR} \
32
		${PYTHON_PKGNAMEPREFIX}netaddr>=0.7.19:net/py-netaddr@${PY_FLAVOR} \
33
		${PYTHON_PKGNAMEPREFIX}netaddr>=0.7.19:net/py-netaddr@${PY_FLAVOR} \
33
		${PYTHON_PKGNAMEPREFIX}pycryptodome>=3.8.2:security/py-pycryptodome@${PY_FLAVOR} \
34
		${PYTHON_PKGNAMEPREFIX}pycryptodomex>=3.8.2:security/py-pycryptodomex@${PY_FLAVOR} \
34
		${PYTHON_PKGNAMEPREFIX}pillow>=6.2.0:graphics/py-pillow@${PY_FLAVOR} \
35
		${PYTHON_PKGNAMEPREFIX}pillow>=6.2.0:graphics/py-pillow@${PY_FLAVOR} \
35
		${PYTHON_PKGNAMEPREFIX}psycopg2>=2.8.3:databases/py-psycopg2@${PY_FLAVOR}
36
		${PYTHON_PKGNAMEPREFIX}psycopg2>=2.8.3:databases/py-psycopg2@${PY_FLAVOR}
36
37
(-)net-mgmt/netbox/files/patch-netbox_secrets_api_views.py (+10 lines)
Line 0 Link Here
1
--- netbox/secrets/api/views.py.orig	2019-11-13 08:39:05 UTC
2
+++ netbox/secrets/api/views.py
3
@@ -1,6 +1,6 @@
4
 import base64
5
 
6
-from Crypto.PublicKey import RSA
7
+from Cryptodome.PublicKey import RSA
8
 from django.db.models import Count
9
 from django.http import HttpResponseBadRequest
10
 from rest_framework.exceptions import ValidationError
(-)net-mgmt/netbox/files/patch-netbox_secrets_forms.py (+10 lines)
Line 0 Link Here
1
--- netbox/secrets/forms.py.orig	2019-11-13 08:38:33 UTC
2
+++ netbox/secrets/forms.py
3
@@ -1,5 +1,5 @@
4
-from Crypto.Cipher import PKCS1_OAEP
5
-from Crypto.PublicKey import RSA
6
+from Cryptodome.Cipher import PKCS1_OAEP
7
+from Cryptodome.PublicKey import RSA
8
 from django import forms
9
 from taggit.forms import TagField
10
 
(-)net-mgmt/netbox/files/patch-netbox_secrets_models.py (+15 lines)
Line 0 Link Here
1
--- netbox/secrets/models.py.orig	2019-11-13 08:38:48 UTC
2
+++ netbox/secrets/models.py
3
@@ -1,9 +1,9 @@
4
 import os
5
 import sys
6
 
7
-from Crypto.Cipher import AES, PKCS1_OAEP
8
-from Crypto.PublicKey import RSA
9
-from Crypto.Util import strxor
10
+from Cryptodome.Cipher import AES, PKCS1_OAEP
11
+from Cryptodome.PublicKey import RSA
12
+from Cryptodome.Util import strxor
13
 from django.conf import settings
14
 from django.contrib.auth.hashers import make_password, check_password
15
 from django.contrib.auth.models import Group, User
(-)net-mgmt/netbox/files/patch-netbox_secrets_tests_test__models.py (+10 lines)
Line 0 Link Here
1
--- netbox/secrets/tests/test_models.py.orig	2019-11-13 08:38:20 UTC
2
+++ netbox/secrets/tests/test_models.py
3
@@ -1,6 +1,6 @@
4
 import string
5
 
6
-from Crypto.PublicKey import RSA
7
+from Cryptodome.PublicKey import RSA
8
 from django.conf import settings
9
 from django.contrib.auth.models import User
10
 from django.core.exceptions import ValidationError
(-)net-mgmt/netbox/files/patch-requirements.txt (+8 lines)
Line 0 Link Here
1
--- requirements.txt.orig	2019-11-13 08:43:54 UTC
2
+++ requirements.txt
3
@@ -19,4 +19,4 @@ netaddr==0.7.19
4
 Pillow==6.2.0
5
 psycopg2-binary==2.8.3
6
 py-gfm==0.1.4
7
-pycryptodome==3.8.2
8
+pycryptodomex==3.8.2

Return to bug 241913