Code Monkey home page Code Monkey logo

Comments (11)

debiansid avatar debiansid commented on July 21, 2024

when it will be fixed?

from simple-obfs.

 avatar commented on July 21, 2024

@madeye Please fix this, thx!

from simple-obfs.

madeye avatar madeye commented on July 21, 2024
git clone https://github.com/shadowsocks/simple-obfs.git
cd simple-obfs
git submodule update --init --recursive
./autogen.sh
./configure && make
sudo make install

from simple-obfs.

 avatar commented on July 21, 2024

@madeye I know it's OK to use repo's code, but it's inconvenient to compile in homebrew, which requires downloading tarball to compile. See Homebrew/homebrew-core#10777

from simple-obfs.

debiansid avatar debiansid commented on July 21, 2024

#62 , this is one season, why it failed

from simple-obfs.

rogers0 avatar rogers0 commented on July 21, 2024

@Haodong @debiansid for homebrew, I guess it's also better to package libcork / libcorkipset separately

from simple-obfs.

 avatar commented on July 21, 2024

@rogers0 To use the tarball of simple-obfs, it is necessary to execute ./autogen.sh, which requires libcork / libcorkipset together.

from simple-obfs.

rogers0 avatar rogers0 commented on July 21, 2024

@Haodong autogen.sh is just one shortcut way to build, not a necessary step.
e.g. I also can build it on debomatic (for debian):

I guess you didn't understand what I mean.
I mean you'd better package libcork / libcorkipset separately under homebrew.

from simple-obfs.

 avatar commented on July 21, 2024

@rogers0 You're right, I don't know how to build in that way.

from simple-obfs.

debiansid avatar debiansid commented on July 21, 2024

On alpine Linux, I changed archlinux's PKGBULUD of libcorkipset into APKBUILD, but because it is based on busybox , so I did not make it. Will post log here later

from simple-obfs.

debiansid avatar debiansid commented on July 21, 2024
prepare() {                                                                                
  mkdir build                                                                              
  mv libcorkipset-debian-1.1.1-20150311-$debver libcorkipset                               
  cd libcorkipset                                                                          
  for p in debian/patches/*.patch; do                                                      
    patch -p1 -i "$p"                                                                      
  done                                                                                     
                                                                                           
                                                                                           
  sed -e 's%#include <ipset%#include <libcorkipset%' \                                     
      -e 's%#include "ipset%#include "libcorkipset%' \                                     
      -i include/ipset/*.h */*/*/*.c */*/*/*.c.in */*/*.c */*.c                            
  mv include/{,libcork}ipset                                                               
}                                                              
                                                               
build() {                                                      
  cd build                                                     
  cmake ../libcorkipset -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=lib
  make                                                                        
}                                                                             

mv include/{,libcork}ipset this line failed on Alpine Linux

from simple-obfs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.