summaryrefslogtreecommitdiffstats
path: root/Vagrantfile
diff options
context:
space:
mode:
authorThomas Waldmann <tw@waldmann-edv.de>2023-04-08 20:30:40 +0200
committerThomas Waldmann <tw@waldmann-edv.de>2023-04-08 20:30:40 +0200
commit6c62a944fc95b960114387632002989076505e2c (patch)
treeeba158a0c0a399f7fca6cfa42bc787b8991d2011 /Vagrantfile
parent1e1c92229807f7522a2f7a6aa4bba3bfe46ddbaf (diff)
vagrant: fix packages_netbsd
Diffstat (limited to 'Vagrantfile')
-rw-r--r--Vagrantfile17
1 files changed, 5 insertions, 12 deletions
diff --git a/Vagrantfile b/Vagrantfile
index a0a0db4bf..1729516d2 100644
--- a/Vagrantfile
+++ b/Vagrantfile
@@ -85,26 +85,19 @@ end
def packages_netbsd
return <<-EOF
- # use the latest stuff, some packages in "9.2" are quite broken
- echo 'http://ftp.NetBSD.org/pub/pkgsrc/packages/NetBSD/$arch/9.0_current/All' > /usr/pkg/etc/pkgin/repositories.conf
+ echo 'http://ftp.NetBSD.org/pub/pkgsrc/packages/NetBSD/$arch/9.3/All' > /usr/pkg/etc/pkgin/repositories.conf
pkgin update
pkgin -y upgrade
pkg_add zstd lz4 xxhash git
pkg_add bash
chsh -s bash vagrant
- echo "export PROMPT_COMMAND=" >> ~vagrant/.bash_profile # bug in netbsd 9.2, .bash_profile broken for screen
- echo "export PROMPT_COMMAND=" >> ~root/.bash_profile # bug in netbsd 9.2, .bash_profile broken for screen
+ echo "export PROMPT_COMMAND=" >> ~vagrant/.bash_profile # bug in netbsd 9.3, .bash_profile broken for screen
+ echo "export PROMPT_COMMAND=" >> ~root/.bash_profile # bug in netbsd 9.3, .bash_profile broken for screen
pkg_add pkg-config
# pkg_add fuse # llfuse supports netbsd, but is still buggy.
# https://bitbucket.org/nikratio/python-llfuse/issues/70/perfuse_open-setsockopt-no-buffer-space
- pkg_add python39 py39-sqlite3 py39-pip py39-virtualenv py39-expat
- pkg_add py310-sqlite3 py310-pip py310-virtualenv py310-expat
- ln -s /usr/pkg/bin/python3.9 /usr/pkg/bin/python
- ln -s /usr/pkg/bin/python3.9 /usr/pkg/bin/python3
- ln -s /usr/pkg/bin/pip3.9 /usr/pkg/bin/pip
- ln -s /usr/pkg/bin/pip3.9 /usr/pkg/bin/pip3
- ln -s /usr/pkg/bin/virtualenv-3.9 /usr/pkg/bin/virtualenv
- ln -s /usr/pkg/bin/virtualenv-3.9 /usr/pkg/bin/virtualenv3
+ pkg_add python39 py39-sqlite3 py39-pip py39-virtualenv py39-expat
+ pkg_add python310 py310-sqlite3 py310-pip py310-virtualenv py310-expat
EOF
end