summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnthony Ruhier2017-04-13 10:11:06 +0200
committerAnthony Ruhier2017-04-13 10:11:06 +0200
commitdcfb04ef4b4aeb473f0322d2a77d22d39f197f92 (patch)
tree2cba3aa79987ec984c92647cae6d2ae53a5f06b8
parent706c19c74f415913eb936468d6129669acf1dbfe (diff)
downloadaur-dcfb04ef4b4aeb473f0322d2a77d22d39f197f92.tar.gz
Patch for django-debug-toolbar removed
Not needed anymore, as netbox synced with the last release of django-debug-toolbar
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD10
-rw-r--r--debug_toolbar_middleware.patch10
3 files changed, 2 insertions, 22 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 4825b208014..132ba785a09 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = netbox
pkgdesc = IP address management (IPAM) and data center infrastructure management (DCIM) tool.
pkgver = 1.9.5
- pkgrel = 6
+ pkgrel = 7
url = https://github.com/digitalocean/netbox
install = netbox.install
arch = any
@@ -43,12 +43,10 @@ pkgbase = netbox
source = https://github.com/digitalocean/netbox/archive/v1.9.5.tar.gz
source = netbox-system.service
source = netbox.tmpfile
- source = debug_toolbar_middleware.patch
source = gunicorn_config.py
sha256sums = dcaba7f99f910d6a005ad20671adca1758e5731488b7dd27fe603e1ee289330c
sha256sums = dc83de37ff9151de3d309fd43c6eff3b30886882012b81fd3ff2f3a5a706bea6
sha256sums = 1028bac96ddcd18c10646dff26027b4891fcab4381436e2b6ea3302887a5586f
- sha256sums = 2d6d55cad836eca187a7dfe40227f994e9b2f565e71fd39e296bc8bb73bf259a
sha256sums = 7a5ae05cad7ec14193a43ef080776b5525c80b6258762a6cb6a108db83861ff9
pkgname = netbox
diff --git a/PKGBUILD b/PKGBUILD
index 37eea0cc89e..80cf1d7a9e7 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@ _name=netbox
pkgname=${_name}
pkgver=1.9.5
_realver="${pkgver}"
-pkgrel=6
+pkgrel=7
pkgdesc="IP address management (IPAM) and data center infrastructure management (DCIM) tool."
arch=('any')
url="https://github.com/digitalocean/${_name}"
@@ -46,21 +46,13 @@ install="${_name}.install"
source=("${url}/archive/v${_realver}.tar.gz"
"${_name}-system.service"
"${_name}.tmpfile"
- "debug_toolbar_middleware.patch"
"gunicorn_config.py")
sha256sums=('dcaba7f99f910d6a005ad20671adca1758e5731488b7dd27fe603e1ee289330c'
'dc83de37ff9151de3d309fd43c6eff3b30886882012b81fd3ff2f3a5a706bea6'
'1028bac96ddcd18c10646dff26027b4891fcab4381436e2b6ea3302887a5586f'
- '2d6d55cad836eca187a7dfe40227f994e9b2f565e71fd39e296bc8bb73bf259a'
'7a5ae05cad7ec14193a43ef080776b5525c80b6258762a6cb6a108db83861ff9')
backup=('etc/netbox/gunicorn_config.py' 'etc/netbox/configuration.py')
-prepare() {
- cd "${srcdir}/${_name}-${_realver}"
-
- patch -p0 -i "${srcdir}"/debug_toolbar_middleware.patch
-}
-
package() {
mkdir -p "${pkgdir}/opt/${_name}"
chmod 775 "${pkgdir}/opt/${_name}"
diff --git a/debug_toolbar_middleware.patch b/debug_toolbar_middleware.patch
deleted file mode 100644
index 1fa52c8b8ff..00000000000
--- a/debug_toolbar_middleware.patch
+++ /dev/null
@@ -1,10 +0,0 @@
---- netbox/netbox/settings.py.old
-+++ netbox/netbox/settings.py
-@@ -127,6 +127,7 @@
- 'django.middleware.clickjacking.XFrameOptionsMiddleware',
- 'django.middleware.security.SecurityMiddleware',
- 'utilities.middleware.LoginRequiredMiddleware',
-+ 'debug_toolbar.middleware.DebugToolbarMiddleware',
- )
-
- ROOT_URLCONF = 'netbox.urls'