AltServer-Linux icon indicating copy to clipboard operation
AltServer-Linux copied to clipboard

AUR package?

Open DonArt-Q opened this issue 4 years ago • 19 comments

Could you upload AltServer-Linux to the AUR?

DonArt-Q avatar Dec 12 '21 13:12 DonArt-Q

why don't you do it lmao

ghost avatar Dec 15 '21 19:12 ghost

I have pushed an AUR package on https://aur.archlinux.org/packages/altserver/ with a Systemd service.

clansty avatar Dec 26 '21 08:12 clansty

I can't see it now.

Edit: nvm, its altserver-bin

escape0707 avatar Dec 30 '21 15:12 escape0707

I have changed its name to altserver-bin

clansty avatar Dec 31 '21 09:12 clansty

Well, have you manually fixed my code using #9 ?

NyaMisty avatar Jan 09 '22 19:01 NyaMisty

Well, have you manually fixed my code using #9 ?

It's an easy patch, we could add it into the AUR package. Although I'm still wondering about whether it's better to enabled it in the upstream?

escape0707 avatar Jan 10 '22 03:01 escape0707

I just used the binary in the Release

And I think we can make a -git version that is built from source

clansty avatar Jan 10 '22 05:01 clansty

@Clansty I'm working on it

AlphaJack avatar Jan 24 '22 00:01 AlphaJack

AUR package is broken, link is dead

Mythbusters123 avatar Jan 26 '22 20:01 Mythbusters123

See #29, I've published libcorecrypto, but not the -git package yet. Other components are already availeble. I can publish the PKGBUILD I've used for #29, but keep in mind that it's broken at the moment

AlphaJack avatar Jan 26 '22 21:01 AlphaJack

any news on the AUR package?

All3xJ avatar Feb 14 '22 21:02 All3xJ

should probably just use an alpine docker image to compile it

Get Outlook for iOShttps://aka.ms/o0ukef


From: All3xJ @.> Sent: Monday, February 14, 2022 4:45:02 PM To: NyaMisty/AltServer-Linux @.> Cc: Adam Reisenauer @.>; Comment @.> Subject: Re: [NyaMisty/AltServer-Linux] AUR package? (Issue #21)

any news on the AUR package?

— Reply to this email directly, view it on GitHubhttps://github.com/NyaMisty/AltServer-Linux/issues/21#issuecomment-1039599017, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AOBKGRGELVNOWYF7JOMBKWDU3FZV5ANCNFSM5J4IRFUA. You are receiving this because you commented.Message ID: @.***>

Mythbusters123 avatar Feb 14 '22 21:02 Mythbusters123

@All3xJ I'm waiting for @NyaMisty feedback on #29

AlphaJack avatar Feb 14 '22 21:02 AlphaJack

should probably just use an alpine docker image to compile it

I tried with alpine docker image, but got this bug: https://github.com/NyaMisty/AltServer-Linux/issues/32

@All3xJ I'm waiting for @NyaMisty feedback on #29

ok! :)

All3xJ avatar Feb 15 '22 09:02 All3xJ

For all AUR package maker:

  1. This program simply can't build on other dist due to cpprestsdk
  2. I've uploaded the needed docker environment in this repo's Github Packages, you can pull the corresponding docker image to directly make without installing dependency. If Arch's source package can allow this, then it's possible
  3. Binaries for i386(i586), amd64, arm64, armv7 are fully compiled by github actions, now available in prerelease, and will be soon released after iOS 15 testing.

NyaMisty avatar Mar 23 '22 00:03 NyaMisty

I have made a PKGBUILD which is from scratch, archlinux has no static library, so need about 20 packages to add to the system, later I will share it.

zhifuchang avatar Apr 04 '22 02:04 zhifuchang

1.cpprestsdk

https://aur.archlinux.org/packages/cpprestsdk

2.altstore-linux PKGBUILD

` pkgname=altserver-linux pkgver=0.0.2 pkgrel=1 pkgdesc='AltServer for AltStore, but on-device' arch=(x86_64) url=https://github.com/NyaMisty/AltServer-Linux license=(custom) depends=(cpprestsdk crypto++-static libzip-static openssl-static) makedepends=( git unzip clang boost websocketpp python-cryptography )

_tag=5f9f81ac999535d274cc98821a5948f552d2b703 source=(git+https://github.com/NyaMisty/AltServer-Linux.git#tag=${_tag}) sha256sums=(SKIP)

_target='NO_USBMUXD_STUB=1 NO_UPNP_STUB=1' pkgver() { cd AltServer-Linux git describe --tags | sed 's/-.*$//g; s/v//g' }

prepare() { cd AltServer-Linux git submodule init git submodule update sed -i 's/ -mno-default//g' Makefile sed -i 's/./AltServerData//var/AltServerData/g' src/AltServerApp.cpp }

build() { cd AltServer-Linux make ${_target} }

package() { cd AltServer-Linux make DESTDIR="${pkgdir}" PREFIX=/usr ${_target} install rm -rf "${pkgdir}"/usr/{include,bin,share} } `

3.all the static library can be modify from the dynamic libs

for example ` pkgname=crypto++-static pkgver=8.6.0 pkgrel=1 pkgdesc='A free C++ class library of cryptographic schemes' arch=(x86_64) url=https://www.cryptopp.com/ license=(custom) depends=(gcc-libs) makedepends=( git unzip crypto++ )

_tag=69bf6b53052b59ccb57ce068ce741988ae087317 source=(git+https://github.com/weidai11/cryptopp.git#tag=${_tag}) sha256sums=(SKIP)

pkgver() { cd cryptopp git describe --tags | sed 's/^CRYPTOPP_//; s/_/./g' }

build() { export CXXFLAGS="$CXXFLAGS -DNDEBUG -fPIC" make PREFIX=/usr -C cryptopp static }

package() { make DESTDIR="${pkgdir}" PREFIX=/usr -C cryptopp install rm -rf "${pkgdir}"/usr/{include,bin,share} } `

zhifuchang avatar Apr 04 '22 02:04 zhifuchang

I've merged @zenochen 's PKGBUILD PR into master. Feel free to submit PR if more AUR related stuff is needed

NyaMisty avatar Apr 10 '22 08:04 NyaMisty

I updated the package to 0.0.5: https://aur.archlinux.org/packages/altserver-bin

derkrasseleo avatar Oct 14 '22 08:10 derkrasseleo