Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Patch providing instructions to set up letsencrypt on FreeBSD 10.1 #293

Closed
slicer69 opened this issue Mar 20, 2015 · 7 comments
Closed

Patch providing instructions to set up letsencrypt on FreeBSD 10.1 #293

slicer69 opened this issue Mar 20, 2015 · 7 comments

Comments

@slicer69
Copy link

The following instructions can be used to prepare a FreeBSD 10.1 installation to work with Let's Encrypt.

pkg install python27 swig30 pcre libffi augeas
portsnap fetch
portsnap extract
cd /usr/ports/devel/py-setuptools
make install && make clean
ln -s /usr/local/bin/swig3.0 /usr/local/bin/swig
ln -s /usr/local/include/ffi.h /usr/include/ffi.h
ln -s /usr/local/include/ffitarget.h /usr/include/ffitarget.h
cd /path/to/letsencrypt
python setup.py build
python setup.py install

A patch for the documentation file docs/using.rst is provided below.

diff --git a/docs/using.rst b/docs/using.rst
index 9b09833..254e641 100644
--- a/docs/using.rst
+++ b/docs/using.rst
@@ -37,6 +37,21 @@ Mac OSX
     sudo brew install augeas swig


+FreeBSD
+-------
+
+::
+
+   pkg install python27 swig30 pcre libffi augeas
+   portsnap fetch
+   portsnap extract
+   cd /usr/ports/devel/py-setuptools
+   make install && make clean
+   ln -s /usr/local/bin/swig3.0 /usr/local/bin/swig
+   ln -s /usr/local/include/ffi.h /usr/include/ffi.h
+   ln -s /usr/local/include/ffitarget.h /usr/include/ffitarget.h
+
+
 Installation
 ============

@kuba
Copy link
Contributor

kuba commented Mar 23, 2015

Thanks for the patch. However, I'd suggest not to merge it until #294 is resolved.

@thorerik
Copy link

thorerik commented Apr 8, 2015

Instead of symlinking /usr/local/include to /usr/include (which is a bad hack), probably better to use the pre-packaged (or ports variant) py27-cffi
also worth a note is that M2Crypto got a updated issue here where M2Crypto fails to load on OS X, workaround is to use swig 3.0.4, on freebsd I fixed that by using ports-mgmt/portdowngrade and checked out r377100

@MafiaInc
Copy link

It seems like currently there is a py27-setuptools27-17.0 binary package via pkgng so why not just:
pkg install python27 swig30 pcre libffi augeas py27-setuptools27 ?

@alexska
Copy link

alexska commented Sep 1, 2015

Hi All. Can`t install letsencrypt on FreeBSD ......
The setup.py install returns an error......

/usr/local/bin/python2 setup.py install
.........
Installed /usr/local/lib/python2.7/site-packages/pyparsing-2.0.3-py2.7.egg
Searching for letsencrypt
Reading https://pypi.python.org/simple/letsencrypt/
Couldn't find index page for 'letsencrypt' (maybe misspelled?)
Scanning index of all packages (this may take a while)
Reading https://pypi.python.org/simple/
No local packages or download links found for letsencrypt

error: Could not find suitable distribution for Requirement.parse('letsencrypt')

Someone overcomed letsencrypt installation on FreeBSD ?

My environment:
FreeBSD 9.3-RELEASE-p8
python2-2_3
python27-2.7.9_1

Were all remaining actions in accordance with instructions above.

@kuba
Copy link
Contributor

kuba commented Sep 4, 2015

@alexska: please follow the installation instructions found at http://letsencrypt.readthedocs.org/en/latest/using.html. You will have to figure out system dependencies yourself as I didn't have yet time to test the project on FreeBSD. Have a look what's necessary on Debian https://github.com/letsencrypt/letsencrypt/blob/master/bootstrap/_deb_common.sh for inspiration. :)

@kuba
Copy link
Contributor

kuba commented Sep 5, 2015

Please check out #748.

@kuba
Copy link
Contributor

kuba commented Sep 28, 2015

This can be closed now.

@bmw bmw closed this as completed Sep 28, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

7 participants