Code Monkey home page Code Monkey logo

Comments (8)

DDoSolitary avatar DDoSolitary commented on August 12, 2024
pkgname=shadowsocks-libev
pkgver=3.1.0
pkgrel=0
pkgdesc="lightweight secured SOCKS5 proxy"
url="https://github.com/shadowsocks/shadowsocks-libev"
arch="all"
license="GPLv3"
makedepends="autoconf automake libtool linux-headers
	mbedtls-dev libsodium-dev pcre-dev libev-dev c-ares-dev
	asciidoc xmlto"
subpackages="$pkgname-dev $pkgname-doc"
builddir="$srcdir/$pkgname"

build() {
	cd "$srcdir"
	git clone "$url"
	cd "$builddir"
	git submodule update --init --recursive
	./autogen.sh
	./configure --prefix=/usr
	make
}

check() {
	cd "$builddir"
	make check
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
}

Try this APKBUILD. I didn't test it but it should work.

from alpine-repo.

debiansid avatar debiansid commented on August 12, 2024
ramnode:~/shadowsocks-libev-git$ abuild -r
>>> shadowsocks-libev: abuild 3.1.0-r1
>>> shadowsocks-libev: Checking sanity of /home/ezhang/shadowsocks-libev-git/APKBUILD...
>>> WARNING: shadowsocks-libev: No maintainer
>>> shadowsocks-libev: Analyzing dependencies...
ERROR: unsatisfiable constraints:
  libsodium-1.0.15-r0:
    conflicts: libsodium-1.0.14-r0
    satisfies: libsodium-dev-1.0.15-r0[libsodium=1.0.15-r0]
  .makedepends-shadowsocks-libev-0:
    masked in: cache
    satisfies: world[.makedepends-shadowsocks-libev]
  libsodium-1.0.14-r0:
    conflicts: libsodium-1.0.15-r0
    breaks: libsodium-dev-1.0.15-r0[libsodium=1.0.15-r0]
    satisfies: shadowsocks-libev-3.1.0-r0[so:libsodium.so.18]
>>> ERROR: shadowsocks-libev: all failed
>>> shadowsocks-libev: Uninstalling dependencies...

from alpine-repo.

DDoSolitary avatar DDoSolitary commented on August 12, 2024

You should uninstall your locally installed shadowsocks-libev first. It requires libsodium v1.0.14, but abuild wants to install v1.0.15, which breaks the dependency.
BTW, it's never a good idea to build a package in a dirty system. I suggest always use a clean chroot environment.

from alpine-repo.

debiansid avatar debiansid commented on August 12, 2024

simple-obfs needs upgrading

from alpine-repo.

DDoSolitary avatar DDoSolitary commented on August 12, 2024

Got it.

from alpine-repo.

debiansid avatar debiansid commented on August 12, 2024

this apk is not working before I add
cd "$pkgname"
before
git submodule update --init --recursive

from alpine-repo.

DDoSolitary avatar DDoSolitary commented on August 12, 2024

Oh, I'm sorrt, that's my fault. Just updated.

from alpine-repo.

debiansid avatar debiansid commented on August 12, 2024

hi
just in case we want to test new feature like this
shadowsocks/shadowsocks-libev#2360
I am asking for setting up new package like shadowsocks-libev-trunk which we can set some specific commit to build.

thanks

from alpine-repo.

Related Issues (17)

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.