Commit fb156d66 authored by Rene Ladan's avatar Rene Ladan
Browse files

security/py-netbox-secretstore: Remove expired port

2023-08-15 security/py-netbox-secretstore: No longer maintained by upstream, not compatible with NetBox 3.5, please migrate to security/py-netbox-secrets
parent c2cdd7dd
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -7789,3 +7789,4 @@ devel/py-jaraco||2023-08-21|Remove obsoleted port
security/rubygem-openssl2|security/rubygem-openssl|2023-08-21|Remove obsoleted port. Use security/rubygem-openssl instead
games/cataclysm-dda-tiles|games/cataclysm-dda@tiles|2023-08-22|Moved to a flavored version
devel/lua-language-server||2023-08-22|Has expired: Versions after 3.6.9 dump core (and do not compile)
security/py-netbox-secretstore|security/py-netbox-secrets|2023-08-22|Has expired: No longer maintained by upstream, not compatible with NetBox 3.5, please migrate to security/py-netbox-secrets
+0 −1
Original line number Diff line number Diff line
@@ -948,7 +948,6 @@
    SUBDIR += py-muacrypt
    SUBDIR += py-nassl
    SUBDIR += py-netbox-secrets
    SUBDIR += py-netbox-secretstore
    SUBDIR += py-netmiko
    SUBDIR += py-noiseprotocol
    SUBDIR += py-notus-scanner
+0 −29
Original line number Diff line number Diff line
PORTNAME=	netbox-secretstore
DISTVERSION=	1.4.1
PORTREVISION=	2
CATEGORIES=	security python
MASTER_SITES=	PYPI
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}

MAINTAINER=	kai@FreeBSD.org
COMMENT=	Secret store for NetBox
WWW=		https://github.com/dansheps/netbox-secretstore

LICENSE=	APACHE20
LICENSE_FILE=	${WRKSRC}/LICENSE.txt

DEPRECATED=	No longer maintained by upstream, not compatible with NetBox 3.5, please migrate to security/py-netbox-secrets
EXPIRATION_DATE=	2023-08-15

RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}importlib-metadata>0:devel/py-importlib-metadata@${PY_FLAVOR} \
		${PYTHON_PKGNAMEPREFIX}pycryptodome>0:security/py-pycryptodome@${PY_FLAVOR}

USES=		python
USE_PYTHON=	autoplist distutils

NO_ARCH=	yes

SUB_FILES=	pkg-message
SUB_LIST=	PYTHON_VER=${PYTHON_VER}

.include <bsd.port.mk>
+0 −3
Original line number Diff line number Diff line
TIMESTAMP = 1676976590
SHA256 (netbox-secretstore-1.4.1.tar.gz) = fb0a81cfddc38d1b3d9793ec7013fd97c7945d54c4b0989ac32f5a92920c4eaf
SIZE (netbox-secretstore-1.4.1.tar.gz) = 46819
+0 −60
Original line number Diff line number Diff line
From: Daniel Sheppard <dans@dansheps.com>
Date: Tue, 24 Jan 2023 13:51:57 -0600
Subject: [PATCH] Update for missing migrations

Obtained from:

https://github.com/DanSheps/netbox-secretstore/commit/9c3f69e5af6f5e8d6af11f5c8ea41433ef51145c

From: Abhimanyu Saharan <desk.abhimanyu@gmail.com>
Date: Wed, 12 Apr 2023 21:01:43 +0530
Subject: [PATCH] fix migrations

Obtained from:

https://github.com/Onemind-Services-LLC/netbox-secretstore/commit/248330409413f1858daf13902fd1b409053fd846.patch

--- netbox_secretstore/migrations/0006_alter_secret_custom_field_data_and_more.py.orig	2023-05-08 17:51:21 UTC
+++ netbox_secretstore/migrations/0006_alter_secret_custom_field_data_and_more.py
@@ -0,0 +1,41 @@
+# Generated by Django 4.1.7 on 2023-04-12 15:31
+
+from django.conf import settings
+from django.db import migrations, models
+import django.db.models.deletion
+import utilities.json
+
+
+class Migration(migrations.Migration):
+
+    dependencies = [
+        migrations.swappable_dependency(settings.AUTH_USER_MODEL),
+        ("netbox_secretstore", "0005_alter_secret_created_alter_secret_id_and_more"),
+    ]
+
+    operations = [
+        migrations.AlterField(
+            model_name="secret",
+            name="custom_field_data",
+            field=models.JSONField(
+                blank=True, default=dict, encoder=utilities.json.CustomFieldJSONEncoder
+            ),
+        ),
+        migrations.AlterField(
+            model_name="secretrole",
+            name="custom_field_data",
+            field=models.JSONField(
+                blank=True, default=dict, encoder=utilities.json.CustomFieldJSONEncoder
+            ),
+        ),
+        migrations.AlterField(
+            model_name="userkey",
+            name="user",
+            field=models.OneToOneField(
+                editable=False,
+                on_delete=django.db.models.deletion.CASCADE,
+                related_name="user_key_secretstore",
+                to=settings.AUTH_USER_MODEL,
+            ),
+        ),
+    ]
Loading