# github的包命名改了,解压后变成了libsodium-stable tar zxf libsodium-${libsodiumver}.tar.gz && mv libsodium-stable libsodium-${libsodiumver}
或者删掉libsodium这段,直接手动编译安装,如下
1 2 3 4 5
wget https://github.com/jedisct1/libsodium/releases/download/1.0.19-RELEASE/libsodium-1.0.19.tar.gz tar zxf libsodium-1.0.19.tar.gz cd libsodium-1.0.19 ./configure make && make install
修改sslibevinstall函数
1 2 3 4 5 6 7
# 在 tar zxf ${ssobfsver}.tar.gz 这一行后面修改添加代码,因为obfs也有很长时间没有更新,导致在新的编译器下报错 if [ "$ssobfstag" == "v0.0.5" ]; then # patch sed -i -e "249s/$/ else {result = OBFS_ERROR;}/" /tmp/${ssobfsver}/src/obfs_http.c sed -i -e '246d' /tmp/${ssobfsver}/src/obfs_http.c # patch end fi
# This file is part of shadowsocks-libev. # # Shadowsocks-libev is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 3 of the License, or # (at your option) any later version. # # This file is default for Debian packaging. See also # /etc/default/shadowsocks-libev for environment variables.
[Unit] Description=Shadowsocks-libev Default Client Service Documentation=man:shadowsocks-libev(8) After=network-online.target Wants=network-online.target
person = (php_test_person *) zend_fetch_resource_ex(zperson, PHP_TEST_PERSON_RES_NAME, le_test_person);
php_printf("Hello "); PHPWRITE(ZSTR_VAL(person->name), ZSTR_LEN(person->name)); php_printf("!\nAccording to my records, you are %ld years old.\n", person->age);
# Site title:Y2k38'sBlog subtitle: description:y2k38'sblog keywords: author:y2k38 language:zh-CN timezone:
# URL ## If your site is put in a subdirectory, set url as 'http://yoursite.com/child' and root as '/child/' url:https://y2k38.github.io root:/ permalink::year/:month/:day/:title/ permalink_defaults:
# Gitalk # Demo: https://gitalk.github.io # For more information: https://github.com/gitalk/gitalk, https://github.com/emn178/js-md5 gitalk: enable:true github_id:y2k38# GitHub repo owner repo:y2k38.github.io# Repository name to store issues client_id:xxxxxxxxxxxxxxxx# GitHub Application Client ID client_secret:yyyyyyyyyyyyyyyy# GitHub Application Client Secret admin_user:Y2k38# GitHub repo owner and collaborators, only these guys can initialize gitHub issues distraction_free_mode:true# Facebook-like distraction free mode # Gitalk's display language depends on user's browser or system environment # If you want everyone visiting your site to see a uniform language, you can set a force language value # Available values: en | es-ES | fr | ru | zh-CN | zh-TW language:zh-CN