[Git][NTPsec/ntpsec][master] cyreposurgeieon doesn't work well enough, going to bbfreeze.
Eric S. Raymond
gitlab at mg.gitlab.com
Fri Nov 4 00:02:52 UTC 2016
Eric S. Raymond pushed to branch master at NTPsec / ntpsec
Commits:
c2bbbbf2 by Eric S. Raymond at 2016-11-03T20:02:41-04:00
cyreposurgeieon doesn't work well enough, going to bbfreeze.
- - - - -
1 changed file:
- devel/packaging.txt
Changes:
=====================================
devel/packaging.txt
=====================================
--- a/devel/packaging.txt
+++ b/devel/packaging.txt
@@ -15,25 +15,10 @@ and reducing attack surface. However, we know that some platforms
cannot support Python or choose not to include it in their core
configuration.
-For these platorms, we recommend using freeze or cython to render the
+For these platorms, we recommend using bbfreeze to render the
Python to C which can be compiled and packaged as a normal executable.
-You will need the Python dev tools and headers installed on the build
-host to do this.
-The freeze utility is shipped with the Python
-distribution. Directions are https://wiki.python.org/moin/Freeze[here]
+bbfreeze instructions live https://pypi.python.org/pypi/bbfreeze/0.96.5[here].
-The cython compiler can also be used for this. For example, to build
-a binary version of ntpviz with cython, you can do something like
-this:
-
-------------------------------------------------------------------
-cython --embed ntpviz -o cyntpviz.c
-cc -I/usr/include/python2.7 -I/usr/include/x86_64-linux-gnu/python2.7 -c cyntpviz.c -o cyntpviz.o
-cc cyntpviz.o -lpython2.7 -o cyntpviz
-rm cyntpviz.c
-------------------------------------------------------------------
-
-Binaries built in this way are normal executables with no run-time
-dependency on Python.
+You may find that you need to install the package 'patchelf'.
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/c2bbbbf20e0141f7d177004369088b2d36c032d5
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ntpsec.org/pipermail/vc/attachments/20161104/aff8ab3a/attachment.html>
More information about the vc
mailing list