summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnthony Ruhier2018-03-13 14:26:04 +0100
committerAnthony Ruhier2018-03-13 14:26:04 +0100
commit5323f867b5921ebb3e8bee834b9a161ec7629f01 (patch)
tree9ed0c15a2f5e09fbaef8fd15458a4a4b3ef727b9
parentf2725e758d96d4a3448a34cd804101597a0921f1 (diff)
downloadaur-5323f867b5921ebb3e8bee834b9a161ec7629f01.tar.gz
v2.3.1
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD9
2 files changed, 7 insertions, 8 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 76f876a3132..545dc210018 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = netbox
pkgdesc = IP address management (IPAM) and data center infrastructure management (DCIM) tool.
- pkgver = 2.2.8
+ pkgver = 2.3.1
pkgrel = 1
url = https://github.com/digitalocean/netbox
install = netbox.install
@@ -40,11 +40,11 @@ pkgbase = netbox
replaces = netbox-git
backup = etc/netbox/gunicorn_config.py
backup = etc/netbox/configuration.py
- source = https://github.com/digitalocean/netbox/archive/v2.2.8.tar.gz
+ source = https://github.com/digitalocean/netbox/archive/v2.3.1.tar.gz
source = netbox-system.service
source = netbox.tmpfile
source = gunicorn_config.py
- sha256sums = 04a64ee3b9a594e36c3a85aa7d6d5b5d129169f6aaa5e2fd2aa128ca133c1704
+ sha256sums = 284c830fcacf99febd1f650fb323cc9ce1c4c31044e4ee70eb791c53f3f10ddb
sha256sums = dc83de37ff9151de3d309fd43c6eff3b30886882012b81fd3ff2f3a5a706bea6
sha256sums = 1028bac96ddcd18c10646dff26027b4891fcab4381436e2b6ea3302887a5586f
sha256sums = 7a5ae05cad7ec14193a43ef080776b5525c80b6258762a6cb6a108db83861ff9
diff --git a/PKGBUILD b/PKGBUILD
index 98ee56196fb..ac8f142521e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
_name=netbox
pkgname=${_name}
-pkgver=2.2.8
+pkgver=2.3.1
_realver="${pkgver}"
pkgrel=1
pkgdesc="IP address management (IPAM) and data center infrastructure management (DCIM) tool."
@@ -47,21 +47,20 @@ source=("${url}/archive/v${_realver}.tar.gz"
"${_name}-system.service"
"${_name}.tmpfile"
"gunicorn_config.py")
-sha256sums=('04a64ee3b9a594e36c3a85aa7d6d5b5d129169f6aaa5e2fd2aa128ca133c1704'
+sha256sums=('284c830fcacf99febd1f650fb323cc9ce1c4c31044e4ee70eb791c53f3f10ddb'
'dc83de37ff9151de3d309fd43c6eff3b30886882012b81fd3ff2f3a5a706bea6'
'1028bac96ddcd18c10646dff26027b4891fcab4381436e2b6ea3302887a5586f'
'7a5ae05cad7ec14193a43ef080776b5525c80b6258762a6cb6a108db83861ff9')
backup=('etc/netbox/gunicorn_config.py' 'etc/netbox/configuration.py')
package() {
- mkdir -p "${pkgdir}/opt/${_name}"
- chmod 775 "${pkgdir}/opt/${_name}"
+ install -d -m775 "$pkgdir/etc/${_name}"
cp -r ${_name}-${_realver}/${_name} "$pkgdir/opt/"
install -D -m644 ${_name}-system.service "$pkgdir/usr/lib/systemd/system/${_name}.service"
install -D -m644 ${_name}.tmpfile "$pkgdir/usr/lib/tmpfiles.d/${_name}.conf"
- mkdir -p "$pkgdir/etc/netbox"
+ install -d "$pkgdir/etc/${_name}"
install -D -m644 gunicorn_config.py "$pkgdir/etc/netbox/gunicorn_config.py"
install -D -m644 ${_name}-${_realver}/${_name}/${_name}/configuration.example.py "$pkgdir/etc/netbox/configuration.py"
ln -s /etc/netbox/configuration.py "$pkgdir/opt/netbox/netbox/configuration.py"