![]() Vdns uses a PostgreSQL database to store the data It supports A, AAAA, MX, NS, DS, PTR, CNAME, It gets data from its databaseĪnd generates bind zone files. Vdns is a database-based DNS management tool. Python-all (>=2.6.6-3~), python-setuptools,ĭepends: $, python3-vdns, python(>=3.2)ĭescription: Database-based DNS management ![]() The control file is like this: Source: vdnsīuild-Depends: debhelper (>= 9), dh-python, # main packaging script based on dh7 syntaxĭh -with python3,python2 -buildsystem=pybuild # Otherwise the usr/bin/vdns.py file is from python2Įxport PYBUILD_INSTALL_ARGS_python2 = -install-scripts=/dev/null # see EXAMPLES in dpkg-buildflags(1) and read /usr/share/dpkg/* The only catch was the package that contained the binaries and how to make it use the v3 version instead of the v2 The solution With DH9 it’s easy to package a python library for multiple python versions as it handles everything itself. Before that I tried using CDBS but had no luck there. The approachĪfter trying other methods, I ended up using debhelper 9 and pybuild. I.e, from one source package (vdns) I wanted to create python-vdns (python2 lib), python3-vdns (python3 lib) and vdns (executable).
0 Comments
Leave a Reply. |