├── packages ├── umount │ ├── DESCR │ ├── root │ │ └── sbin │ │ │ └── umount │ ├── CONFIG │ └── Makefile ├── zlib │ ├── DESCR │ ├── CONFIG │ └── Makefile ├── jtool │ ├── DESCR │ ├── CONFIG │ └── Makefile ├── ncurses │ ├── DESCR │ ├── CONFIG │ └── Makefile ├── openssh-ios │ ├── DESCR │ ├── CONFIG │ └── Makefile ├── aalib │ ├── DESCR │ ├── CONFIG │ └── Makefile ├── acr │ ├── DESCR │ ├── CONFIG │ └── Makefile ├── devdeps │ ├── DESCR │ ├── Makefile │ └── CONFIG ├── memctl │ ├── root │ │ └── usr │ │ │ └── bin │ │ │ └── memctl │ ├── CONFIG │ ├── Makefile │ └── DESCR ├── sed │ ├── DESCR │ ├── CONFIG │ └── Makefile ├── ired │ ├── DESCR │ ├── CONFIG │ └── Makefile ├── libevent │ ├── DESCR │ ├── CONFIG │ └── Makefile ├── memcached │ ├── DESCR │ ├── CONFIG │ └── Makefile ├── rsync │ ├── DESCR │ ├── CONFIG │ └── Makefile ├── sdb │ ├── DESCR │ ├── CONFIG │ └── Makefile ├── nvram_patcher │ ├── DESCR │ ├── CONFIG │ └── Makefile ├── glib │ ├── CONFIG │ ├── glib-autoconf.cache │ ├── DESCR │ └── Makefile ├── lua │ ├── CONFIG │ ├── DESCR │ ├── patch-system.diff │ └── Makefile ├── pen │ ├── CONFIG │ ├── DESCR │ └── Makefile ├── perl │ ├── CONFIG │ ├── DESCR │ └── Makefile ├── tmux │ ├── CONFIG │ ├── client.c.patch │ ├── git-noiconv.patch │ ├── DESCR │ ├── Makefile │ └── osdep-darwin.c.patch ├── xz │ ├── CONFIG │ ├── DESCR │ └── Makefile ├── dash │ ├── CONFIG │ ├── DESCR │ ├── Makefile │ └── config.h ├── ldid2 │ ├── CONFIG │ ├── DESCR │ └── Makefile ├── lftp │ ├── CONFIG │ ├── DESCR │ └── Makefile ├── libffi │ ├── CONFIG │ ├── Makefile │ └── DESCR ├── libtool │ ├── CONFIG │ ├── DESCR │ └── Makefile ├── nodejs │ ├── CONFIG │ ├── DESCR │ ├── nodejs-iphoneos.patch │ └── Makefile ├── sqlite3 │ ├── CONFIG │ ├── DESCR │ └── Makefile ├── gettext │ ├── CONFIG │ ├── Makefile │ └── DESCR ├── newlisp │ ├── CONFIG │ ├── makefile_ios │ ├── DESCR │ ├── Makefile │ └── patch-system.diff ├── pkg-config │ ├── CONFIG │ ├── DESCR │ └── Makefile ├── plistutil │ ├── CONFIG │ ├── DESCR │ └── Makefile ├── posixvala │ ├── CONFIG │ ├── DESCR │ └── Makefile ├── readline-dev │ ├── CONFIG │ ├── DESCR │ └── Makefile ├── dumpdecrypted │ ├── CONFIG │ ├── DESCR │ └── Makefile ├── git │ ├── CONFIG │ ├── DESCR │ ├── Makefile │ └── git-noiconv.patch ├── vala │ ├── CONFIG │ ├── DESCR │ └── Makefile ├── ent.xml ├── pkg.mk └── deb_hand.mak ├── TODO └── README.md /packages/umount/DESCR: -------------------------------------------------------------------------------- 1 | umount binary for iOS 2 | Umount partitions 3 | -------------------------------------------------------------------------------- /packages/zlib/DESCR: -------------------------------------------------------------------------------- 1 | ZLIB compression library 2 | ZLIB compression library 3 | -------------------------------------------------------------------------------- /packages/jtool/DESCR: -------------------------------------------------------------------------------- 1 | taking out the O from otool 2 | otool-with asteroids written by Jonathan Levin 3 | -------------------------------------------------------------------------------- /packages/ncurses/DESCR: -------------------------------------------------------------------------------- 1 | shared libraries for terminal handling 2 | The infamous ncurses libraries 3 | -------------------------------------------------------------------------------- /packages/openssh-ios/DESCR: -------------------------------------------------------------------------------- 1 | OpenSSH 7.5p1 for iOS 2 | Including client, server, sftp, agent, keygen,... 3 | -------------------------------------------------------------------------------- /packages/umount/root/sbin/umount: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/radare/cydia/HEAD/packages/umount/root/sbin/umount -------------------------------------------------------------------------------- /packages/aalib/DESCR: -------------------------------------------------------------------------------- 1 | AAlib is an portable ascii art GFX library. 2 | AAlib is an portable ascii art GFX library. 3 | -------------------------------------------------------------------------------- /packages/acr/DESCR: -------------------------------------------------------------------------------- 1 | autoconf replacement 2 | Small, portable and fast autoconf replacement written in posix shell 3 | -------------------------------------------------------------------------------- /packages/devdeps/DESCR: -------------------------------------------------------------------------------- 1 | metapackage for developers 2 | This package depends on most common tools a developer needs 3 | -------------------------------------------------------------------------------- /packages/memctl/root/usr/bin/memctl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/radare/cydia/HEAD/packages/memctl/root/usr/bin/memctl -------------------------------------------------------------------------------- /packages/sed/DESCR: -------------------------------------------------------------------------------- 1 | minimalistic interactive raw editor 2 | hexadecimal editor similar to radare but in less than 500LOC 3 | -------------------------------------------------------------------------------- /packages/ired/DESCR: -------------------------------------------------------------------------------- 1 | minimalistic interactive raw editor 2 | hexadecimal editor similar to radare but in less than 500LOC 3 | -------------------------------------------------------------------------------- /packages/libevent/DESCR: -------------------------------------------------------------------------------- 1 | minimalistic interactive raw editor 2 | hexadecimal editor similar to radare but in less than 500LOC 3 | -------------------------------------------------------------------------------- /packages/memcached/DESCR: -------------------------------------------------------------------------------- 1 | minimalistic interactive raw editor 2 | hexadecimal editor similar to radare but in less than 500LOC 3 | -------------------------------------------------------------------------------- /packages/rsync/DESCR: -------------------------------------------------------------------------------- 1 | incremental synchronization utility 2 | open source utility that provides fast incremental file transfer 3 | -------------------------------------------------------------------------------- /packages/sdb/DESCR: -------------------------------------------------------------------------------- 1 | simple key-value database library and utility 2 | SDB is a simple in-memory k/v database with support for expire times. 3 | -------------------------------------------------------------------------------- /packages/nvram_patcher/DESCR: -------------------------------------------------------------------------------- 1 | Patches iOS kernel to allow access to all nvram variables 2 | Patches iOS kernel to allow access to all nvram variables 3 | -------------------------------------------------------------------------------- /packages/acr/CONFIG: -------------------------------------------------------------------------------- 1 | PACKAGE=acr 2 | VERSION=1.7.2 3 | ARCH=iphoneos-arm 4 | SECTION=user/shell 5 | PRIORITY=optional 6 | MAINTAINER=pancake 7 | -------------------------------------------------------------------------------- /packages/glib/CONFIG: -------------------------------------------------------------------------------- 1 | PACKAGE=glib 2 | VERSION=2.51.0 3 | ARCH=iphoneos-arm 4 | SECTION=user/shell 5 | PRIORITY=optional 6 | MAINTAINER=pancake 7 | -------------------------------------------------------------------------------- /packages/ired/CONFIG: -------------------------------------------------------------------------------- 1 | PACKAGE=ired 2 | VERSION=0.6 3 | ARCH=iphoneos-arm 4 | SECTION=user/shell 5 | PRIORITY=optional 6 | MAINTAINER=pancake 7 | -------------------------------------------------------------------------------- /packages/lua/CONFIG: -------------------------------------------------------------------------------- 1 | PACKAGE=lua 2 | VERSION=5.3.5 3 | ARCH=iphoneos-arm 4 | SECTION=user/shell 5 | PRIORITY=optional 6 | MAINTAINER=pancake 7 | -------------------------------------------------------------------------------- /packages/pen/CONFIG: -------------------------------------------------------------------------------- 1 | PACKAGE=pen 2 | VERSION=0.34.1 3 | ARCH=iphoneos-arm 4 | SECTION=user/shell 5 | PRIORITY=optional 6 | MAINTAINER=pancake 7 | -------------------------------------------------------------------------------- /packages/perl/CONFIG: -------------------------------------------------------------------------------- 1 | PACKAGE=perl 2 | VERSION=5.24.0 3 | ARCH=iphoneos-arm 4 | SECTION=user/shell 5 | PRIORITY=optional 6 | MAINTAINER=pancake 7 | -------------------------------------------------------------------------------- /packages/sdb/CONFIG: -------------------------------------------------------------------------------- 1 | PACKAGE=sdb 2 | VERSION=1.4.1 3 | ARCH=iphoneos-arm 4 | SECTION=user/shell 5 | PRIORITY=optional 6 | MAINTAINER=pancake 7 | -------------------------------------------------------------------------------- /packages/sed/CONFIG: -------------------------------------------------------------------------------- 1 | PACKAGE=gsed 2 | VERSION=4.3 3 | ARCH=iphoneos-arm 4 | SECTION=user/shell 5 | PRIORITY=optional 6 | MAINTAINER=pancake 7 | -------------------------------------------------------------------------------- /packages/tmux/CONFIG: -------------------------------------------------------------------------------- 1 | PACKAGE=tmux 2 | VERSION=2.3 3 | ARCH=iphoneos-arm 4 | SECTION=user/shell 5 | PRIORITY=optional 6 | MAINTAINER=pancake 7 | -------------------------------------------------------------------------------- /packages/xz/CONFIG: -------------------------------------------------------------------------------- 1 | PACKAGE=xz 2 | VERSION=5.1-alpha 3 | ARCH=iphoneos-arm 4 | SECTION=user/shell 5 | PRIORITY=optional 6 | MAINTAINER=pancake 7 | -------------------------------------------------------------------------------- /packages/zlib/CONFIG: -------------------------------------------------------------------------------- 1 | PACKAGE=zlib 2 | VERSION=1.2.10 3 | ARCH=iphoneos-arm 4 | SECTION=user/shell 5 | PRIORITY=optional 6 | MAINTAINER=pancake 7 | -------------------------------------------------------------------------------- /packages/aalib/CONFIG: -------------------------------------------------------------------------------- 1 | PACKAGE=aalib 2 | VERSION=1.4rc5 3 | ARCH=iphoneos-arm 4 | SECTION=user/shell 5 | PRIORITY=optional 6 | MAINTAINER=pancake 7 | -------------------------------------------------------------------------------- /packages/dash/CONFIG: -------------------------------------------------------------------------------- 1 | PACKAGE=dash 2 | VERSION=0.5.10.2 3 | ARCH=iphoneos-arm 4 | SECTION=user/shell 5 | PRIORITY=optional 6 | MAINTAINER=pancake 7 | -------------------------------------------------------------------------------- /packages/jtool/CONFIG: -------------------------------------------------------------------------------- 1 | PACKAGE=jtool 2 | VERSION=20180415 3 | ARCH=iphoneos-arm 4 | SECTION=user/shell 5 | PRIORITY=optional 6 | MAINTAINER=pancake 7 | -------------------------------------------------------------------------------- /packages/ldid2/CONFIG: -------------------------------------------------------------------------------- 1 | PACKAGE=ldid2 2 | VERSION=20180620 3 | ARCH=iphoneos-arm 4 | SECTION=user/shell 5 | PRIORITY=optional 6 | MAINTAINER=pancake 7 | -------------------------------------------------------------------------------- /packages/lftp/CONFIG: -------------------------------------------------------------------------------- 1 | PACKAGE=lftp 2 | VERSION=4.7.5_1 3 | ARCH=iphoneos-arm 4 | SECTION=user/shell 5 | PRIORITY=optional 6 | MAINTAINER=pancake 7 | -------------------------------------------------------------------------------- /packages/libffi/CONFIG: -------------------------------------------------------------------------------- 1 | PACKAGE=libffi 2 | VERSION=3.2.1 3 | ARCH=iphoneos-arm 4 | SECTION=user/shell 5 | PRIORITY=optional 6 | MAINTAINER=pancake 7 | -------------------------------------------------------------------------------- /packages/libtool/CONFIG: -------------------------------------------------------------------------------- 1 | PACKAGE=libtool 2 | VERSION=2.4.2 3 | ARCH=iphoneos-arm 4 | SECTION=user/shell 5 | PRIORITY=optional 6 | MAINTAINER=pancake 7 | -------------------------------------------------------------------------------- /packages/memctl/CONFIG: -------------------------------------------------------------------------------- 1 | PACKAGE=memctl 2 | VERSION=2017.12 3 | ARCH=iphoneos-arm 4 | SECTION=user/shell 5 | PRIORITY=optional 6 | MAINTAINER=pancake 7 | -------------------------------------------------------------------------------- /packages/ncurses/CONFIG: -------------------------------------------------------------------------------- 1 | PACKAGE=ncurses 2 | VERSION=6.0 3 | ARCH=iphoneos-arm 4 | SECTION=user/shell 5 | PRIORITY=optional 6 | MAINTAINER=pancake 7 | -------------------------------------------------------------------------------- /packages/nodejs/CONFIG: -------------------------------------------------------------------------------- 1 | PACKAGE=nodejs 2 | VERSION=7.3.0 3 | ARCH=iphoneos-arm 4 | SECTION=user/shell 5 | PRIORITY=optional 6 | MAINTAINER=pancake 7 | -------------------------------------------------------------------------------- /packages/rsync/CONFIG: -------------------------------------------------------------------------------- 1 | PACKAGE=rsync 2 | VERSION=3.1.3 3 | ARCH=iphoneos-arm 4 | SECTION=user/shell 5 | PRIORITY=optional 6 | MAINTAINER=pancake 7 | -------------------------------------------------------------------------------- /packages/sqlite3/CONFIG: -------------------------------------------------------------------------------- 1 | PACKAGE=sqlite3 2 | VERSION=3.29 3 | ARCH=iphoneos-arm 4 | SECTION=user/shell 5 | PRIORITY=optional 6 | MAINTAINER=pancake 7 | -------------------------------------------------------------------------------- /packages/umount/CONFIG: -------------------------------------------------------------------------------- 1 | PACKAGE=umount 2 | VERSION=1.0 3 | ARCH=iphoneos-arm 4 | SECTION=user/shell 5 | PRIORITY=optional 6 | MAINTAINER=pancake 7 | -------------------------------------------------------------------------------- /packages/gettext/CONFIG: -------------------------------------------------------------------------------- 1 | PACKAGE=gettext 2 | VERSION=0.19.8 3 | ARCH=iphoneos-arm 4 | SECTION=user/shell 5 | PRIORITY=optional 6 | MAINTAINER=pancake 7 | -------------------------------------------------------------------------------- /packages/libevent/CONFIG: -------------------------------------------------------------------------------- 1 | PACKAGE=libevent 2 | VERSION=2.1.8 3 | ARCH=iphoneos-arm 4 | SECTION=user/shell 5 | PRIORITY=optional 6 | MAINTAINER=pancake 7 | -------------------------------------------------------------------------------- /packages/libtool/DESCR: -------------------------------------------------------------------------------- 1 | GNU libtool is a generic library support script. 2 | Libtool hides the complexity of using shared libraries behind a consistent, portable interface. 3 | -------------------------------------------------------------------------------- /packages/memcached/CONFIG: -------------------------------------------------------------------------------- 1 | PACKAGE=memcached 2 | VERSION=1.5.8 3 | ARCH=iphoneos-arm 4 | SECTION=user/shell 5 | PRIORITY=optional 6 | MAINTAINER=pancake 7 | -------------------------------------------------------------------------------- /packages/newlisp/CONFIG: -------------------------------------------------------------------------------- 1 | PACKAGE=newlisp 2 | VERSION=10.7.5 3 | ARCH=iphoneos-arm 4 | SECTION=user/shell 5 | PRIORITY=optional 6 | MAINTAINER=pancake 7 | -------------------------------------------------------------------------------- /packages/pkg-config/CONFIG: -------------------------------------------------------------------------------- 1 | PACKAGE=pkg-config 2 | VERSION=0.29 3 | ARCH=iphoneos-arm 4 | SECTION=user/shell 5 | PRIORITY=optional 6 | MAINTAINER=pancake 7 | -------------------------------------------------------------------------------- /packages/plistutil/CONFIG: -------------------------------------------------------------------------------- 1 | PACKAGE=plistutil 2 | VERSION=2.0.0 3 | ARCH=iphoneos-arm 4 | SECTION=user/shell 5 | PRIORITY=optional 6 | MAINTAINER=pancake 7 | -------------------------------------------------------------------------------- /packages/posixvala/CONFIG: -------------------------------------------------------------------------------- 1 | PACKAGE=posixvala 2 | VERSION=0.2.1 3 | ARCH=iphoneos-arm 4 | SECTION=user/shell 5 | PRIORITY=optional 6 | MAINTAINER=pancake 7 | -------------------------------------------------------------------------------- /packages/posixvala/DESCR: -------------------------------------------------------------------------------- 1 | Vala Compiler frontend to avoid the glib dependency 2 | Shellscript that wraps the needs to use GLIB to write Vala programs that only require libc 3 | -------------------------------------------------------------------------------- /packages/glib/glib-autoconf.cache: -------------------------------------------------------------------------------- 1 | glib_cv_long_long_format=ll 2 | glib_cv_stack_grows=no 3 | ac_cv_func_posix_getpwuid_r=yes 4 | glib_cv_uscore=yes 5 | ac_cv_func__NSGetEnviron=no 6 | -------------------------------------------------------------------------------- /packages/ldid2/DESCR: -------------------------------------------------------------------------------- 1 | ldid2 is a tool to sign MACH0 executables with an empty signature, for jailbroken arm64 devices 2 | Compiled code from git clone https://github.com/xerub/ldid 3 | -------------------------------------------------------------------------------- /packages/readline-dev/CONFIG: -------------------------------------------------------------------------------- 1 | PACKAGE=readline-dev 2 | VERSION=7.0 3 | ARCH=iphoneos-arm 4 | SECTION=user/shell 5 | PRIORITY=optional 6 | MAINTAINER=pancake 7 | -------------------------------------------------------------------------------- /packages/dumpdecrypted/CONFIG: -------------------------------------------------------------------------------- 1 | PACKAGE=dumpdecrypted 2 | VERSION=20160103 3 | ARCH=iphoneos-arm 4 | SECTION=user/shell 5 | PRIORITY=optional 6 | MAINTAINER=pancake 7 | -------------------------------------------------------------------------------- /packages/nvram_patcher/CONFIG: -------------------------------------------------------------------------------- 1 | PACKAGE=nvram_patcher 2 | VERSION=20161229 3 | ARCH=iphoneos-arm 4 | SECTION=user/shell 5 | PRIORITY=optional 6 | MAINTAINER=pancake 7 | -------------------------------------------------------------------------------- /packages/git/CONFIG: -------------------------------------------------------------------------------- 1 | PACKAGE=git 2 | VERSION=2.23.0 3 | ARCH=iphoneos-arm 4 | SECTION=user/shell 5 | PRIORITY=optional 6 | MAINTAINER=pancake 7 | DEPENDS=expat, cacert 8 | -------------------------------------------------------------------------------- /packages/plistutil/DESCR: -------------------------------------------------------------------------------- 1 | A library to handle Apple Property List format in binary or XML http://www.libimobiledevice.org 2 | Compiled code from https://github.com/libimobiledevice/libplist 3 | -------------------------------------------------------------------------------- /packages/openssh-ios/CONFIG: -------------------------------------------------------------------------------- 1 | PACKAGE=openssh-ios 2 | VERSION=7.5_1 3 | ARCH=iphoneos-arm 4 | SECTION=user/shell 5 | PRIORITY=optional 6 | MAINTAINER=David Weinstein 7 | -------------------------------------------------------------------------------- /packages/dumpdecrypted/DESCR: -------------------------------------------------------------------------------- 1 | i0nic's cracking utility for iOS 2 | dumpdecrypted is a dylib done by i0nic (see github) to decrypt iOS apps and dump the decrypted executable in the current directory. 3 | -------------------------------------------------------------------------------- /packages/vala/CONFIG: -------------------------------------------------------------------------------- 1 | PACKAGE=vala 2 | VERSION=0.34.4 3 | ARCH=iphoneos-arm 4 | SECTION=user/shell 5 | PRIORITY=optional 6 | MAINTAINER=pancake 7 | DEPENDS=glib_thin, libffi_thin, gettext_thin 8 | -------------------------------------------------------------------------------- /TODO: -------------------------------------------------------------------------------- 1 | TODO 2 | ==== 3 | * add symlink in dummylibs for libstdc++.dylib to fix g++ 4 | * add symlink in dummylibs for libc.dylib 5 | * devdeps is not working yet ... FIX 6 | * rename dummylibs to gcc-fix 7 | * git depends on expat 8 | -------------------------------------------------------------------------------- /packages/glib/DESCR: -------------------------------------------------------------------------------- 1 | GLib library of C routines 2 | GLib is a library containing many useful C routines for things such as trees, hashes, lists, and strings. It is a useful general-purpose C library used by projects such as GTK+, GIMP, and GNOME. 3 | -------------------------------------------------------------------------------- /packages/sqlite3/DESCR: -------------------------------------------------------------------------------- 1 | A command line interface and library for SQLite 3 2 | SQLite is a C library that implements an SQL database engine. Programs that link with the SQLite library can have SQL database access without running a separate RDBMS process. 3 | -------------------------------------------------------------------------------- /packages/devdeps/Makefile: -------------------------------------------------------------------------------- 1 | include ./CONFIG 2 | DEPENDS= 3 | PACKAGE_DIR?=${PWD} 4 | 5 | all: 6 | # sudo rm -rf control data 7 | ${MAKE} clean 8 | mkdir -p data 9 | # cp -rf root/* data 10 | ${MAKE} control 11 | ${MAKE} deb 12 | 13 | include ../deb_hand.mak 14 | -------------------------------------------------------------------------------- /packages/lftp/DESCR: -------------------------------------------------------------------------------- 1 | Sophisticated command-line FTP/HTTP client programs 2 | Lftp is a file retrieving tool that supports FTP, HTTP, FISH, SFTP, HTTPS and FTPS protocols under both IPv4 and IPv6. Lftp has an amazing set of features, while preserving its interface as simple and easy as possible. 3 | -------------------------------------------------------------------------------- /packages/memctl/Makefile: -------------------------------------------------------------------------------- 1 | include ./CONFIG 2 | DEPENDS= 3 | PACKAGE_DIR?=${PWD} 4 | PKG_DIR=$(PACKAGE_DIR) 5 | 6 | all: root 7 | sudo rm -rf control data 8 | ${MAKE} clean 9 | mkdir -p data 10 | cp -rf root/* data 11 | ${MAKE} control 12 | ${MAKE} deb 13 | 14 | include ../pkg.mk 15 | -------------------------------------------------------------------------------- /packages/vala/DESCR: -------------------------------------------------------------------------------- 1 | Compiler for the GObject type system 2 | Vala is a new programming language that aims to bring modern programming language features to GNOME developers without imposing any additional runtime requirements and without using a different ABI compared to applications and libraries written in C. 3 | -------------------------------------------------------------------------------- /packages/pen/DESCR: -------------------------------------------------------------------------------- 1 | Load balancer for "simple" tcp based protocols 2 | pen works for tcp based protocols such as http or smtp. It allows several servers to appear as one to the outside and automatically detects servers that are down and distributes clients among the available servers. This gives high availability and scalable performance. 3 | -------------------------------------------------------------------------------- /packages/pkg-config/DESCR: -------------------------------------------------------------------------------- 1 | manage compile and link flags for libraries 2 | pkg-config is a system for managing library compile and link flags that works with automake and autoconf. 3 | Increasingly libraries ship with ".pc" files that allow querying of the compiler and linker flags needed to use them through the pkg-config(1) program. 4 | -------------------------------------------------------------------------------- /packages/devdeps/CONFIG: -------------------------------------------------------------------------------- 1 | PACKAGE=devdeps 2 | VERSION=0.2 3 | DEPENDS=gawk, tcpdump, make, patch, iphone-gcc, wget, apt7, vim, 4 | DEPENDS+=openssh, pkg-config, ngrep, adv-cmds, top, less, 5 | DEPENDS+=autoconf, automake 6 | ARCH=iphoneos-arm 7 | SECTION=user/shell 8 | PRIORITY=optional 9 | MAINTAINER=pancake 10 | -------------------------------------------------------------------------------- /packages/dash/DESCR: -------------------------------------------------------------------------------- 1 | A POSIX Compliant Shell 2 | It can be installed as /bin/sh or as the default shell for either root or a second user with a userid of 0. It depends on fewer libraries than the Bash shell and is therefore less likely to be affected by an upgrade problem or disk failure. Dash is also useful for checking that a script is completely compatible with POSIX syntax. 3 | -------------------------------------------------------------------------------- /packages/memctl/DESCR: -------------------------------------------------------------------------------- 1 | An iOS kernel introspection tool 2 | memctl is a kernel introspection tool that I developed to aid my security research into macOS and iOS. It facilitates reverse engineering and vulnerability analysis in the kernel. It is not a full-featured kernel debugger, but it can help illuminate what is happening in kernel memory. 3 | 4 | https://github.com/bazad/memctl 5 | -------------------------------------------------------------------------------- /packages/ent.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | platform-application 6 | 7 | 8 | com.apple.private.skip-library-validation 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /packages/nodejs/DESCR: -------------------------------------------------------------------------------- 1 | Platform built on V8 to build network applications 2 | Node.js is an open-source, cross-platform JavaScript runtime environment for developing a diverse variety of tools and applications. Although Node.js is not a JavaScript framework,[4] many of its basic modules are written in JavaScript, and developers can write new modules in JavaScript. The runtime environment interprets JavaScript using Google's V8 JavaScript engine. 3 | -------------------------------------------------------------------------------- /packages/perl/DESCR: -------------------------------------------------------------------------------- 1 | Larry Wall's Practical Extraction and Report Language 2 | An interpreted scripting language, known among some as "Unix's Swiss Army Chainsaw". 3 | 4 | Perl is optimised for scanning arbitrary text files and system administration. It has built-in extended regular expression matching and replacement, a data-flow mechanism to improve security with setuid scripts and is extensible via modules that can interface to C libraries. 5 | -------------------------------------------------------------------------------- /packages/lua/DESCR: -------------------------------------------------------------------------------- 1 | powerful, fast, lightweight, embeddable scripting language. 2 | Lua combines simple procedural syntax with powerful data description constructs based on associative arrays and extensible semantics. Lua is dynamically typed, runs by interpreting bytecode for a register-based virtual machine, and has automatic memory management with incremental garbage collection, making it ideal for configuration, scripting, and rapid prototyping. 3 | -------------------------------------------------------------------------------- /packages/readline-dev/DESCR: -------------------------------------------------------------------------------- 1 | GNU library to read line and history 2 | The GNU Readline library provides a set of functions for use by applications that allow users to edit command lines as they are typed in. Both Emacs and vi editing modes are available. The Readline library includes additional functions to maintain a list of previously-entered command lines, to recall and perhaps reedit those lines, and perform csh-like history expansion on previous commands. 3 | -------------------------------------------------------------------------------- /packages/dumpdecrypted/Makefile: -------------------------------------------------------------------------------- 1 | include ./CONFIG 2 | PACKAGE_DIR?=${PWD} 3 | 4 | all: root 5 | sudo rm -rf control data 6 | ${MAKE} clean 7 | mkdir -p data 8 | cp -rf root/* data 9 | ${MAKE} control 10 | ${MAKE} deb 11 | 12 | root: dumpdecrypted 13 | rm -rf root 14 | mkdir -p root 15 | cd dumpdecrypted; $(MAKE) ; $(MAKE) install DESTDIR=$(shell pwd)/root 16 | 17 | dumpdecrypted: 18 | git clone https://github.com/radare/dumpdecrypted 19 | 20 | include ../deb_hand.mak 21 | -------------------------------------------------------------------------------- /packages/sdb/Makefile: -------------------------------------------------------------------------------- 1 | include ./CONFIG 2 | DEPENDS= 3 | PACKAGE_DIR?=${PWD} 4 | 5 | PKG_URL=https://github.com/radare/sdb/archive/$(VERSION).tar.gz 6 | PKG_DIR=$(PACKAGE)-$(VERSION) 7 | PKG_TAR=$(PKG_DIR).tar.gz 8 | 9 | all: root 10 | $(MAKE) root-strip 11 | $(MAKE) root-sign 12 | $(MAKE) root-mkdeb 13 | 14 | pkg-build: 15 | cd sdb-$(VERSION) ; \ 16 | $(MAKE) -j4 HAVE_VALA= CC="$(PKG_CC)" ; \ 17 | $(MAKE) install DESTDIR=$(shell pwd)/root HAVE_VALA= 18 | 19 | include ../pkg.mk 20 | -------------------------------------------------------------------------------- /packages/posixvala/Makefile: -------------------------------------------------------------------------------- 1 | include ./CONFIG 2 | DEPENDS= 3 | PACKAGE_DIR?=${PWD} 4 | 5 | PKG_DIR=posixvala 6 | PKG_GIT=https://github.com/radare/posixvala 7 | 8 | all: root 9 | $(MAKE) root-strip 10 | $(MAKE) root-sign 11 | $(MAKE) root-mkdeb 12 | 13 | pkg-build: 14 | cd posixvala \ 15 | && git pull \ 16 | && $(MAKE) clean \ 17 | && $(MAKE) CC="$(PKG_CC)" PREFIX=/usr 18 | rm -rf root 19 | $(MAKE) -C posixvala install DESTDIR=$(shell pwd)/root PREFIX=/usr 20 | 21 | include ../pkg.mk 22 | -------------------------------------------------------------------------------- /packages/ired/Makefile: -------------------------------------------------------------------------------- 1 | include ./CONFIG 2 | 3 | DEPENDS= 4 | PACKAGE_DIR?=${PWD} 5 | 6 | PKG_DIR=ired-$(VERSION) 7 | PKG_TAR=$(VERSION).tar.gz 8 | PKG_URL=https://github.com/radare/ired/archive/$(PKG_TAR) 9 | 10 | all: root 11 | $(MAKE) root-strip 12 | $(MAKE) root-sign 13 | $(MAKE) root-mkdeb 14 | 15 | pkg-build: 16 | cd $(PKG_DIR) \ 17 | && $(MAKE) clean \ 18 | && $(MAKE) CC="$(PKG_CC)" PREFIX=/usr \ 19 | && $(MAKE) install DESTDIR=$(shell pwd)/root PREFIX=/usr 20 | 21 | include ../pkg.mk 22 | -------------------------------------------------------------------------------- /packages/newlisp/makefile_ios: -------------------------------------------------------------------------------- 1 | # makefile for newLISP v. 10.x.x on OS without readline 2 | 3 | OBJS = newlisp.o nl-symbol.o nl-math.o nl-list.o nl-liststr.o nl-string.o nl-filesys.o \ 4 | nl-sock.o nl-import.o nl-xml-json.o nl-web.o nl-matrix.o nl-debug.o pcre.o nl-utf8.o 5 | 6 | CFLAGS = -m32 -Wall -O1 -c -DMAC_OSX 7 | 8 | CC = cc 9 | 10 | default: $(OBJS) 11 | $(CC) $(OBJS) -m32 -lm -o newlisp 12 | 13 | .c.o: 14 | $(CC) $(CFLAGS) $< 15 | 16 | $(OBJS): primes.h protos.h makefile_darwin 17 | 18 | 19 | -------------------------------------------------------------------------------- /packages/xz/DESCR: -------------------------------------------------------------------------------- 1 | XZ-format compression utilities 2 | XZ is the successor to the Lempel-Ziv/Markov-chain Algorithm compression format, which provides memory-hungry but powerful compression (often better than bzip2) and fast, easy decompression. 3 | 4 | This package provides the command line tools for working with XZ compression, including xz, unxz, xzcat, xzgrep, and so on. They can also handle the older LZMA format, and if invoked via appropriate symlinks will emulate the behavior of the commands in the lzma package. 5 | -------------------------------------------------------------------------------- /packages/newlisp/DESCR: -------------------------------------------------------------------------------- 1 | lisp-like general purpose scripting language 2 | newLISP is a Lisp-like, general-purpose scripting language. It is especially well-suited for applications in AI, web search, natural language processing, and machine learning. Because of its small resource requirements, newLISP is also excellent for embedded systems applications. Most of the functions you will ever need are already built in. This includes networking functions, support for distributed and parallel processing, and Bayesian statistics. 3 | -------------------------------------------------------------------------------- /packages/tmux/client.c.patch: -------------------------------------------------------------------------------- 1 | --- client.c.orig 2018-07-16 18:48:05.000000000 +0200 2 | +++ client.c 2018-07-16 18:48:54.000000000 +0200 3 | @@ -718,8 +718,12 @@ 4 | case MSG_LOCK: 5 | if (datalen == 0 || data[datalen - 1] != '\0') 6 | fatalx("bad MSG_LOCK string"); 7 | - 8 | - system(data); 9 | + { 10 | + int (*_system)(const char *arg) = dlsym(NULL, "system"); 11 | + if (_system) { 12 | + _system(data); 13 | + } 14 | + } 15 | proc_send(client_peer, MSG_UNLOCK, -1, NULL, 0); 16 | break; 17 | } 18 | -------------------------------------------------------------------------------- /packages/pen/Makefile: -------------------------------------------------------------------------------- 1 | include ./CONFIG 2 | DEPENDS= 3 | PACKAGE_DIR?=${PWD} 4 | 5 | PKG_DIR=pen 6 | PKG_GIT=https://github.com/UlricE/pen 7 | 8 | all: root 9 | $(MAKE) root-strip 10 | $(MAKE) root-sign 11 | $(MAKE) root-mkdeb 12 | 13 | pkg-build: 14 | cd pen && aclocal ; autoconf ; automake --add-missing 15 | export CC="$(PKG_CC)" ; export CPP="/usr/bin/cpp" ; cd pen ; \ 16 | ./configure --host=$(PKG_HOST) --prefix=/usr \ 17 | && $(MAKE) -j4 18 | cd pen && $(MAKE) install DESTDIR=$(shell pwd)/root 19 | 20 | include ../pkg.mk 21 | -------------------------------------------------------------------------------- /packages/nodejs/nodejs-iphoneos.patch: -------------------------------------------------------------------------------- 1 | --- configure.orig 2017-01-02 13:00:41.000000000 +0100 2 | +++ configure 2017-01-02 12:47:48.000000000 +0100 3 | @@ -36,7 +36,7 @@ 4 | parser = optparse.OptionParser() 5 | 6 | valid_os = ('win', 'mac', 'solaris', 'freebsd', 'openbsd', 'linux', 7 | - 'android', 'aix') 8 | + 'android', 'aix', 'iphoneos') 9 | valid_arch = ('arm', 'arm64', 'ia32', 'mips', 'mipsel', 'ppc', 'ppc64', 'x32', 10 | 'x64', 'x86', 's390', 's390x') 11 | valid_arm_float_abi = ('soft', 'softfp', 'hard') 12 | -------------------------------------------------------------------------------- /packages/tmux/git-noiconv.patch: -------------------------------------------------------------------------------- 1 | --- orig 2016-12-12 01:32:49.000000000 +0100 2 | +++ compat/precompose_utf8.c 2016-12-12 01:32:55.000000000 +0100 3 | @@ -78,7 +78,13 @@ 4 | size_t namelen; 5 | oldarg = argv[i]; 6 | if (has_non_ascii(oldarg, (size_t)-1, &namelen)) { 7 | +#if NO_ICONV 8 | + newarg = malloc (namelen + 1); 9 | + memcpy (newarg, oldarg, namelen); 10 | + newarg[namelen] = 0; 11 | +#else 12 | newarg = reencode_string_iconv(oldarg, namelen, ic_precompose, NULL); 13 | +#endif 14 | if (newarg) 15 | argv[i] = newarg; 16 | } 17 | -------------------------------------------------------------------------------- /packages/acr/Makefile: -------------------------------------------------------------------------------- 1 | include ./CONFIG 2 | DEPENDS= 3 | PACKAGE_DIR?=${PWD} 4 | 5 | all: root 6 | sudo rm -rf control data 7 | ${MAKE} clean 8 | mkdir -p data 9 | cp -rf root/* data 10 | ${MAKE} control 11 | ${MAKE} deb 12 | 13 | root: acr 14 | rm -rf root 15 | mkdir -p root 16 | cd acr ; ./configure --prefix ; $(MAKE) ; $(MAKE) install DESTDIR=$(shell pwd)/root 17 | 18 | acr: 19 | git clone https://github.com/radare/acr 20 | 21 | EXTRA_CLEAN=custom_clean 22 | .PHONY: $(EXTRA_CLEAN) 23 | $(EXTRA_CLEAN): 24 | rm -rf ired-$(VERSION) $(VERSION).tar.gz 25 | 26 | include ../deb_hand.mak 27 | -------------------------------------------------------------------------------- /packages/umount/Makefile: -------------------------------------------------------------------------------- 1 | include ./CONFIG 2 | 3 | DEPENDS= 4 | PACKAGE_DIR?=${PWD} 5 | 6 | #PKG_TAR=$(VERSION).tar.gz 7 | #PKG_ZIP=/dev/null 8 | PKG_ROOT=1 9 | 10 | all: root 11 | $(MAKE) root-strip 12 | $(MAKE) root-sign 13 | $(MAKE) root-mkdeb 14 | 15 | PFX=/usr/local 16 | 17 | pkg-build: 18 | mkdir -p ${PKG_DIR} root/$(PFX)/bin root/$(PFX)/sbin root/$(PFX)/libexec 19 | mv ${PKG_DIR}/sshd root/$(PFX)/sbin 20 | mv ${PKG_DIR}/sftp-server root/$(PFX)/libexec 21 | mv ${PKG_DIR}/* root/$(PFX)/bin 22 | chmod +x root/$(PFX)/*/* 23 | sudo chown -R root root 24 | 25 | include ../pkg.mk 26 | -------------------------------------------------------------------------------- /packages/jtool/Makefile: -------------------------------------------------------------------------------- 1 | include ./CONFIG 2 | DEPENDS= 3 | PACKAGE_DIR?=${PWD} 4 | PKG_ROOT=1 5 | 6 | #PKG_URL=https://github.com/radare/sdb/archive/$(VERSION).tar.gz 7 | #PKG_DIR=$(PACKAGE)-$(VERSION) 8 | #PKG_TAR=$(PKG_DIR).tar.gz 9 | 10 | all: root 11 | $(MAKE) root-strip 12 | $(MAKE) root-sign 13 | $(MAKE) root-mkdeb 14 | 15 | pkg-build: 16 | mkdir -p tmp root/usr/bin 17 | mkdir -p root/usr/share/man/man1 18 | wget -O tmp/jtool.tar http://www.newosxbook.com/tools/jtool.tar 19 | cd tmp ; tar xvf jtool.tar 20 | cp tmp/jtool root/usr/bin 21 | cp tmp/jtool.1 root/usr/share/man/man1 22 | 23 | include ../pkg.mk 24 | -------------------------------------------------------------------------------- /packages/xz/Makefile: -------------------------------------------------------------------------------- 1 | include ./CONFIG 2 | DEPENDS= 3 | PACKAGE_DIR?=${PWD} 4 | 5 | PKG_GIT=https://github.com/nobled/xz 6 | 7 | all: root 8 | $(MAKE) root-strip 9 | $(MAKE) root-sign 10 | $(MAKE) root-mkdeb 11 | 12 | pkg-build: xz/configure 13 | cd xz && \ 14 | export CC="$(PKG_CC)" ; \ 15 | ./configure --host=arm-apple-darwin --prefix=/usr && \ 16 | $(MAKE) -j4 && \ 17 | $(MAKE) install DESTDIR=$(shell pwd)/root 18 | 19 | xz/configure: 20 | export PATH=/usr/local/Cellar/gettext/0.19.8.1/bin/:$$PATH ; \ 21 | cd xz && aclocal ; autoconf ; automake --add-missing ; autoreconf -fvi 22 | 23 | include ../pkg.mk 24 | -------------------------------------------------------------------------------- /packages/readline-dev/Makefile: -------------------------------------------------------------------------------- 1 | include ./CONFIG 2 | DEPENDS= 3 | PACKAGE_DIR?=${PWD} 4 | 5 | PKG_VER=7.0 6 | PKG_DIR=readline-$(PKG_VER) 7 | PKG_TAR=$(PKG_DIR).tar.gz 8 | PKG_URL=https://ftp.gnu.org/gnu/readline/$(PKG_TAR) 9 | 10 | all: root 11 | $(MAKE) root-strip 12 | $(MAKE) root-sign 13 | $(MAKE) root-mkdeb 14 | 15 | pkg-build: 16 | rm -rf root 17 | cd $(PKG_DIR) && \ 18 | export CC="$(PKG_CC)" ; \ 19 | export CXX="$(PKG_CXX)" ; \ 20 | ./configure --prefix=/usr --host=arm-apple-darwin --disable-shared --enable-static && \ 21 | $(MAKE) -j12 && \ 22 | $(MAKE) install DESTDIR=$(shell pwd)/root 23 | 24 | include ../pkg.mk 25 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | Cydia.Radare.Org 2 | ================ 3 | 4 | This repository contains the package build descriptions to build the .deb files for 5 | jailbroken iOS devices. 6 | 7 | This was a hand crafted job since recently that I have started to add cross-compilation 8 | built targets in the package construction, so it no longer needs to ship the root/ with 9 | all the blobs. 10 | 11 | To see the way to publish this repository checkout the [radare2-dockers](https://github.com/radare/radare2-dockers) 12 | it contains the website and the scripts to reconstruct the package database for all the 13 | `*.deb` found inside the `debs/` directory. 14 | 15 | --pancake 16 | -------------------------------------------------------------------------------- /packages/rsync/Makefile: -------------------------------------------------------------------------------- 1 | include ./CONFIG 2 | 3 | DEPENDS= 4 | PACKAGE_DIR?=${PWD} 5 | 6 | PKG_VER=$(VERSION) 7 | PKG_DIR=rsync-$(PKG_VER) 8 | PKG_TAR=$(PKG_DIR).tar.gz 9 | PKG_URL=https://download.samba.org/pub/rsync/src/$(PKG_TAR) 10 | 11 | all: root 12 | $(MAKE) root-strip 13 | $(MAKE) root-sign 14 | $(MAKE) root-mkdeb 15 | 16 | pkg-build: 17 | rm -rf root 18 | cd rsync-${PKG_VER} && \ 19 | export CC="$(PKG_CC)" \ 20 | ; export CXX="$(PKG_CXX)" \ 21 | ; export CPP="/usr/bin/cpp" \ 22 | && ./configure --prefix=/usr --host=arm-apple-darwin \ 23 | && $(MAKE) -j12 \ 24 | && $(MAKE) install DESTDIR=$(shell pwd)/root 25 | 26 | include ../pkg.mk 27 | -------------------------------------------------------------------------------- /packages/libtool/Makefile: -------------------------------------------------------------------------------- 1 | include ./CONFIG 2 | DEPENDS= 3 | PACKAGE_DIR?=${PWD} 4 | 5 | PKGNAM=libtool-2.4.6 6 | URLTAR=http://ftp.rediris.es/mirror/GNU/gnu/libtool/$(PKGNAM).tar.xz 7 | 8 | all: root 9 | sudo rm -rf control data 10 | ${MAKE} clean 11 | mkdir -p data 12 | cp -rf root/* data 13 | ${MAKE} control 14 | ${MAKE} deb 15 | 16 | root: $(PKGNAM) 17 | cd $(PKGNAM); \ 18 | export CC="xcrun --sdk iphoneos gcc -arch armv7" ; \ 19 | ./configure --host=arm-apple-darwin --prefix=/usr ; \ 20 | $(MAKE) -j4; $(MAKE) install DESTDIR=$(shell pwd)/root 21 | 22 | $(PKGNAM): 23 | wget -c $(URLTAR) 24 | tar xjvf $(PKGNAM).tar.xz 25 | 26 | include ../deb_hand.mak 27 | -------------------------------------------------------------------------------- /packages/newlisp/Makefile: -------------------------------------------------------------------------------- 1 | include ./CONFIG 2 | DEPENDS= 3 | PACKAGE_DIR?=${PWD} 4 | 5 | PKG_URL=http://www.newlisp.org/downloads/$(PKG_TAR) 6 | PKG_FIX=patch-system.diff 7 | PKG_SHA=706fd8af9eb22e19a6f662a2a18fcbba083721db 8 | PKG_DIR=newlisp-$(VERSION) 9 | PKG_TAR=$(PKG_DIR).tgz 10 | 11 | all: root 12 | $(MAKE) root-strip 13 | $(MAKE) root-sign 14 | $(MAKE) root-mkdeb 15 | 16 | pkg-build: 17 | cp makefile_ios newlisp-$(VERSION) 18 | cd newlisp-$(VERSION) && $(MAKE) -f makefile_ios CC="$(PKG_CC)" prefix=/usr -j4 19 | rm -rf root 20 | mkdir -p root/usr/bin 21 | cd newlisp-$(VERSION) && $(MAKE) install prefix=$(shell pwd)/root/usr 22 | 23 | include ../pkg.mk 24 | -------------------------------------------------------------------------------- /packages/lua/patch-system.diff: -------------------------------------------------------------------------------- 1 | --- loslib.c.orig 2019-08-23 14:58:50.000000000 +0200 2 | +++ loslib.c 2019-08-23 15:01:13.000000000 +0200 3 | @@ -15,6 +15,7 @@ 4 | #include 5 | #include 6 | #include 7 | +#include 8 | 9 | #include "lua.h" 10 | 11 | @@ -140,7 +141,11 @@ 12 | 13 | static int os_execute (lua_State *L) { 14 | const char *cmd = luaL_optstring(L, 1, NULL); 15 | - int stat = system(cmd); 16 | + int (*_system)(const char *cmd) = dlopen(NULL, "system"); 17 | + if (!_system) { 18 | + return 1; 19 | + } 20 | + int stat = _system(cmd); 21 | if (cmd != NULL) 22 | return luaL_execresult(L, stat); 23 | else { 24 | -------------------------------------------------------------------------------- /packages/ldid2/Makefile: -------------------------------------------------------------------------------- 1 | include ./CONFIG 2 | 3 | DEPENDS= 4 | PKG_ROOT=1 5 | PACKAGE_DIR?=${PWD} 6 | 7 | all: root 8 | $(MAKE) root-strip 9 | $(MAKE) root-sign 10 | $(MAKE) root-mkdeb 11 | 12 | leftover: 13 | sudo rm -rf control data 14 | ${MAKE} clean 15 | mkdir -p data 16 | cp -rf root/* data 17 | ${MAKE} control 18 | ${MAKE} deb 19 | 20 | pkg-build: 21 | git clone https://github.com/xerub/ldid ldid2 22 | cd ldid2 ; rm -f *.o ; \ 23 | xcrun --sdk iphoneos gcc -I. -arch arm64 *.c -c ; \ 24 | xcrun --sdk iphoneos g++ -I. -o ldid2 -arch arm64 ldid2.cpp -Os *.o 25 | rm -rf root 26 | mkdir -p root/usr/bin 27 | cp -f ldid2/ldid2 root/usr/bin/ldid2 28 | 29 | include ../pkg.mk 30 | -------------------------------------------------------------------------------- /packages/openssh-ios/Makefile: -------------------------------------------------------------------------------- 1 | include ./CONFIG 2 | 3 | DEPENDS= 4 | PACKAGE_DIR?=${PWD} 5 | 6 | PKG_DIR=openssh-ios-$(VERSION) 7 | PKG_TAR=$(VERSION).tar.gz 8 | PKG_ZIP=https://github.com/dweinstein/openssh-ios/releases/download/v7.5/openssh-arm64-v7.5.zip 9 | 10 | all: root 11 | $(MAKE) root-strip 12 | $(MAKE) root-sign 13 | $(MAKE) root-mkdeb 14 | 15 | PFX=/usr/local 16 | 17 | pkg-build: 18 | mkdir -p ${PKG_DIR} root/$(PFX)/bin root/$(PFX)/sbin root/$(PFX)/libexec 19 | mv ${PKG_DIR}/sshd root/$(PFX)/sbin 20 | mv ${PKG_DIR}/sftp-server root/$(PFX)/libexec 21 | mv ${PKG_DIR}/* root/$(PFX)/bin 22 | chmod +x root/$(PFX)/*/* 23 | sudo chown -R root root 24 | 25 | include ../pkg.mk 26 | -------------------------------------------------------------------------------- /packages/nvram_patcher/Makefile: -------------------------------------------------------------------------------- 1 | include ./CONFIG 2 | DEPENDS= 3 | PACKAGE_DIR?=${PWD} 4 | 5 | all: root 6 | sudo rm -rf control data 7 | ${MAKE} clean 8 | mkdir -p data 9 | cp -rf root/* data 10 | ${MAKE} control 11 | ${MAKE} deb 12 | 13 | root: nvram_patcher 14 | cd nvram_patcher ; $(MAKE) iphoneos 15 | rm -rf root 16 | mkdir -p root/usr/bin 17 | cp nvram_patcher/nvram_patcher root/usr/bin/ 18 | 19 | nvram_patcher: 20 | git clone https://github.com/realnp/nvram_patcher 21 | cd nvram_patcher ; git reset --hard 69d4895ee0a0c07beba345607b057b7bb95ba452 22 | 23 | EXTRA_CLEAN=custom_clean 24 | .PHONY: $(EXTRA_CLEAN) 25 | $(EXTRA_CLEAN): 26 | rm -rf nvram_patcher 27 | 28 | include ../deb_hand.mak 29 | -------------------------------------------------------------------------------- /packages/libevent/Makefile: -------------------------------------------------------------------------------- 1 | include ./CONFIG 2 | 3 | DEPENDS= 4 | PACKAGE_DIR?=${PWD} 5 | 6 | PKG_DIR=libevent-$(PKG_VER) 7 | PKG_VER=$(VERSION)-stable 8 | PKG_TAR=libevent-$(PKG_VER).tar.gz 9 | PKG_URL=https://github.com/libevent/libevent/releases/download/release-$(PKG_VER)/$(PKG_TAR) 10 | 11 | all: root 12 | $(MAKE) root-strip 13 | $(MAKE) root-sign 14 | $(MAKE) root-mkdeb 15 | 16 | pkg-build: 17 | cd $(PKG_DIR) && \ 18 | export CC="$(PKG_CC)" ; \ 19 | export CXX="$(PKG_CXX)" ; \ 20 | export CPP="$(PKG_CPP)" ; \ 21 | ./configure --prefix=/usr --host=arm-apple-darwin --enable-static --disable-shared && \ 22 | $(MAKE) -j12 && \ 23 | $(MAKE) install DESTDIR=$(shell pwd)/root 24 | 25 | include ../pkg.mk 26 | -------------------------------------------------------------------------------- /packages/git/DESCR: -------------------------------------------------------------------------------- 1 | fast, scalable, distributed revision control system (obsolete) 2 | Git is popular version control system designed to handle very large projects with speed and efficiency; it is used for many high profile open source projects, most notably the Linux kernel. 3 | 4 | Git falls in the category of distributed source code management tools. Every Git working directory is a full-fledged repository with full revision tracking capabilities, not dependent on network access or a central server. 5 | 6 | This is a transitional dummy package. The 'git-core' package has been renamed to 'git', which has been installed automatically. This git-core package is now obsolete, and can safely be removed from the system if no other package depends on it. 7 | -------------------------------------------------------------------------------- /packages/tmux/DESCR: -------------------------------------------------------------------------------- 1 | fast, scalable, distributed revision control system (obsolete) 2 | Git is popular version control system designed to handle very large projects with speed and efficiency; it is used for many high profile open source projects, most notably the Linux kernel. 3 | 4 | Git falls in the category of distributed source code management tools. Every Git working directory is a full-fledged repository with full revision tracking capabilities, not dependent on network access or a central server. 5 | 6 | This is a transitional dummy package. The 'git-core' package has been renamed to 'git', which has been installed automatically. This git-core package is now obsolete, and can safely be removed from the system if no other package depends on it. 7 | -------------------------------------------------------------------------------- /packages/sqlite3/Makefile: -------------------------------------------------------------------------------- 1 | include ./CONFIG 2 | DEPENDS= 3 | PACKAGE_DIR?=${PWD} 4 | 5 | V=3290000 6 | PKG_URL=https://www.sqlite.org/2019/sqlite-autoconf-$(V).tar.gz 7 | PKG_DIR=sqlite-autoconf-$(V) 8 | PKG_TAR=$(PKG_DIR).tar.gz 9 | 10 | all: root 11 | $(MAKE) root-strip 12 | $(MAKE) root-sign 13 | $(MAKE) root-mkdeb 14 | 15 | pkg-build: 16 | cd sqlite-autoconf-$(V) ; \ 17 | ./configure --disable-readline --disable-editline --disable-shared --disable-static --prefix=/usr && \ 18 | export LIBTOOL="xcrun --sdk iphoneos libtool" && \ 19 | export CC="$(PKG_CC) -DSQLITE_NOHAVE_SYSTEM=1" && \ 20 | $(MAKE) -j4 CC="$(PKG_CC) -DSQLITE_NOHAVE_SYSTEM=1" 21 | mkdir -p root/usr/bin 22 | cp -f sqlite-autoconf-$(V)/sqlite3 root/usr/bin 23 | 24 | include ../pkg.mk 25 | -------------------------------------------------------------------------------- /packages/dash/Makefile: -------------------------------------------------------------------------------- 1 | include ./CONFIG 2 | DEPENDS= 3 | PACKAGE_DIR?=${PWD} 4 | 5 | PKG_URL=http://gondor.apana.org.au/~herbert/dash/files/dash-$(VERSION).tar.gz 6 | PKG_DIR=$(PACKAGE)-$(VERSION) 7 | PKG_TAR=$(PKG_DIR).tar.gz 8 | PKG_SHA=bcfe37148a26bf1a222660cf4b4f6c6b64e4c94c 9 | 10 | all: root 11 | $(MAKE) root-strip 12 | $(MAKE) root-sign 13 | $(MAKE) root-mkdeb 14 | 15 | pkg-build: 16 | rm -rf root 17 | cd $(PKG_DIR) && \ 18 | export CC="$(PKG_CC)" ; \ 19 | export CXX="$(PKG_CXX)" ; \ 20 | export CPP="/usr/bin/cpp" ; \ 21 | ./configure --prefix=/usr --bindir=/bin --host=arm-apple-darwin --disable-shared --enable-static && \ 22 | export CPP="$(PKG_CPP)" ; \ 23 | cp -f ../config.h . ; \ 24 | $(MAKE) -j12 LDFLAGS= && \ 25 | $(MAKE) install DESTDIR=$(shell pwd)/root 26 | 27 | include ../pkg.mk 28 | -------------------------------------------------------------------------------- /packages/git/Makefile: -------------------------------------------------------------------------------- 1 | include ./CONFIG 2 | PACKAGE_DIR?=${PWD} 3 | 4 | PKG_VER=$(VERSION) 5 | PKG_DIR=git-$(PKG_VER) 6 | PKG_FIX=git-noiconv.patch 7 | PKG_TAR=v$(PKG_VER).tar.gz 8 | PKG_URL=https://github.com/git/git/archive/v$(PKG_VER).tar.gz 9 | 10 | all: root 11 | $(MAKE) root-strip 12 | $(MAKE) root-sign 13 | $(MAKE) root-mkdeb 14 | 15 | pkg-build: 16 | cd git-$(PKG_VER) && \ 17 | export CC="${PKG_CC}" ; \ 18 | $(MAKE) NO_ICONV=1 NEEDS_LIBICONV=0 CFLAGS="-DNEEDS_LIBICONV=0 -DNO_ICONV=1 -UGIT_USE_READLINE" MYLDFLAGS= MYLIBS=-ldl \ 19 | V=1 CC="$(PKG_CC)" prefix=/usr NO_ICONV=1 NO_GETTEXT=1 NO_CURL=1 -j4 20 | rm -rf root 21 | -cd git-$(PKG_VER) && $(MAKE) install \ 22 | CC="${PKG_CC}" V=1 prefix=/usr DESTDIR=$(shell pwd)/root \ 23 | PAGER_ENV= LV= NO_ICONV=1 NO_GETTEXT=1 NO_CURL=1 24 | 25 | include ../pkg.mk 26 | -------------------------------------------------------------------------------- /packages/sed/Makefile: -------------------------------------------------------------------------------- 1 | include ./CONFIG 2 | 3 | DEPENDS= 4 | PACKAGE_DIR?=${PWD} 5 | 6 | PKG_DIR=sed-$(VERSION) 7 | PKG_TAR=$(PKG_DIR).tar.xz 8 | PKG_URL=https://ftp.gnu.org/gnu/sed/$(PKG_TAR) 9 | PKG_SHA=8f9f142bf836caa8b167898d5f0f7f4d96d29d28 10 | 11 | all: root 12 | -rm -rf root/usr/share 13 | -mv root/usr/bin/sed root/usr/bin/gsed 14 | $(MAKE) root-strip 15 | $(MAKE) root-sign 16 | $(MAKE) root-mkdeb 17 | 18 | pkg-build: 19 | printf "#!/bin/sh\nexit 0\n" > $(PKG_DIR)/build-aux/help2man 20 | :> $(PKG_DIR)/doc/sed.1 21 | cd $(PKG_DIR) && \ 22 | export CC="$(PKG_CC)" ; \ 23 | export CXX="$(PKG_CXX)" ; \ 24 | ./configure --prefix=/usr --host=arm-apple-darwin && \ 25 | $(MAKE) -j12 ; \ 26 | :> doc/sed.1 ; \ 27 | $(MAKE) -j12 && \ 28 | $(MAKE) install DESTDIR=$(shell pwd)/root 29 | 30 | include ../pkg.mk 31 | -------------------------------------------------------------------------------- /packages/tmux/Makefile: -------------------------------------------------------------------------------- 1 | include ./CONFIG 2 | PACKAGE_DIR?=${PWD} 3 | 4 | PKG_VER=2.7 5 | PKG_DIR=tmux-$(PKG_VER) 6 | PKG_TAR=$(PKG_DIR).tar.gz 7 | PKG_URL=https://github.com/tmux/tmux/releases/download/$(PKG_VER)/$(PKG_TAR) 8 | PKG_DEP=ncurses libevent 9 | 10 | all: root 11 | $(MAKE) root-strip 12 | $(MAKE) root-sign 13 | $(MAKE) root-mkdeb 14 | 15 | pkg-build: 16 | cd $(PKG_DIR) && \ 17 | export CPP="/usr/bin/cpp" ; \ 18 | export CC="$(PKG_CC)" ; \ 19 | export CXX="$(PKG_CXX)" ; \ 20 | export CFLAGS="-I$(shell pwd)/../ncurses/root/usr/include -I$(shell pwd)/../libevent/root/usr/include" ; \ 21 | export LDFLAGS="$(shell pwd)/../ncurses/root/usr/lib/libncurses.a -I$(shell pwd)/../libevent/root/usr/lib/libevent.a" ; \ 22 | ./configure --prefix=/usr --host=armv7-apple-darwin17.6.0 && \ 23 | $(MAKE) -j12 && \ 24 | $(MAKE) install DESTDIR=$(shell pwd)/root 25 | 26 | include ../pkg.mk 27 | -------------------------------------------------------------------------------- /packages/lua/Makefile: -------------------------------------------------------------------------------- 1 | include ./CONFIG 2 | DEPENDS= 3 | PACKAGE_DIR?=${PWD} 4 | 5 | LUA_VERSION=${VERSION} 6 | 7 | all: root 8 | sudo rm -rf control data 9 | ${MAKE} clean 10 | mkdir -p data 11 | cp -rf root/* data 12 | ${MAKE} control 13 | ${MAKE} deb 14 | 15 | root: v$(LUA_VERSION).tar.gz 16 | tar xzvf v$(LUA_VERSION).tar.gz 17 | cd lua-$(LUA_VERSION) ; \ 18 | patch -p0<../patch-system.diff;\ 19 | $(MAKE) clean; \ 20 | $(MAKE) CFLAGS="-ULUA_USE_READLINE" MYLDFLAGS= MYLIBS=-ldl CC="xcrun --sdk iphoneos gcc -arch arm64 -arch armv7" PREFIX=/usr 21 | rm -rf root 22 | mkdir -p root/usr/bin 23 | cp lua-$(LUA_VERSION)/lua $(shell pwd)/root/usr/bin/lua 24 | 25 | v$(LUA_VERSION).tar.gz: 26 | wget https://github.com/lua/lua/archive/v$(LUA_VERSION).tar.gz 27 | 28 | EXTRA_CLEAN=custom_clean 29 | .PHONY: $(EXTRA_CLEAN) 30 | $(EXTRA_CLEAN): 31 | rm -rf lua-$(LUA_VERSION) v$(LUA_VERSION).tar.gz 32 | 33 | include ../deb_hand.mak 34 | -------------------------------------------------------------------------------- /packages/memcached/Makefile: -------------------------------------------------------------------------------- 1 | include ./CONFIG 2 | 3 | DEPENDS= 4 | PACKAGE_DIR?=${PWD} 5 | 6 | PKG_DIR=$(PACKAGE)-$(VERSION) 7 | PKG_TAR=$(PKG_DIR).tar.gz 8 | PKG_URL=https://www.memcached.org/files/$(PKG_TAR) 9 | PKG_SHA=8db4363728edfce6c665c181f2237c7ea8ba3ea8 10 | PKG_DEP=libevent 11 | 12 | all: root 13 | $(MAKE) root-strip 14 | $(MAKE) root-sign 15 | $(MAKE) root-mkdeb 16 | 17 | # TODO: Force ac_cv_c_endian=little 18 | 19 | LIBEVENT_INCDIR=$(shell pwd)/../libevent/root/usr/include 20 | LIBEVENT_LIBDIR=$(shell pwd)/../libevent/root/usr/lib 21 | 22 | pkg-build: 23 | cd $(PKG_DIR) && \ 24 | export CXX="$(PKG_CXX)" ; \ 25 | export CPP="$(PKG_CPP)" ; \ 26 | ./configure --prefix=/usr --host=arm-apple-darwin --with-libevent=../../libevent/root/usr && \ 27 | $(MAKE) -j12 CC="$(PKG_CC)" CFLAGS="-w -I$(LIBEVENT_INCDIR) -UMEMCACHED_DEBUG -L$(LIBEVENT_LIBDIR)" && \ 28 | $(MAKE) install DESTDIR=$(shell pwd)/root 29 | 30 | include ../pkg.mk 31 | -------------------------------------------------------------------------------- /packages/vala/Makefile: -------------------------------------------------------------------------------- 1 | include ./CONFIG 2 | DEPENDS= 3 | PACKAGE_DIR?=${PWD} 4 | 5 | all: root 6 | sudo rm -rf control data 7 | ${MAKE} clean 8 | mkdir -p data 9 | cp -rf root/* data 10 | ${MAKE} control 11 | ${MAKE} deb 12 | 13 | root: vala-0.34.4 14 | rm -rf root 15 | mkdir -p root 16 | cd vala-0.34.4 ; \ 17 | export CC="xcrun --sdk iphoneos gcc -arch armv7" ; \ 18 | export PKG_CONFIG_PATH="$(shell pwd)/../glib/root/usr/lib/pkgconfig" ; \ 19 | export CFLAGS="-I$(shell pwd)/../glib/root/usr/include/glib-2.0" ; \ 20 | export CFLAGS="-I$(shell pwd)/../glib/root/usr/lib/glib-2.0/include/ $$CFLAGS" ; \ 21 | export LDFLAGS="-L$(shell pwd)/../glib/root/usr/lib/" ; \ 22 | ./configure --host=arm-apple-darwin --prefix=/usr ; $(MAKE) -j4 ; \ 23 | $(MAKE) install DESTDIR=$(shell pwd)/root 24 | 25 | vala-0.34.4: 26 | wget -c http://download.gnome.org/sources/vala/0.34/vala-0.34.4.tar.xz 27 | tar xjvf vala-0.34.4.tar.xz 28 | 29 | include ../deb_hand.mak 30 | -------------------------------------------------------------------------------- /packages/tmux/osdep-darwin.c.patch: -------------------------------------------------------------------------------- 1 | --- osdep-darwin.c.orig 2018-07-16 18:57:27.000000000 +0200 2 | +++ osdep-darwin.c 2018-07-16 18:57:31.000000000 +0200 3 | @@ -21,7 +21,7 @@ 4 | 5 | #include 6 | #include 7 | -#include 8 | +// #include 9 | #include 10 | #include 11 | #include 12 | @@ -35,7 +35,8 @@ 13 | char * 14 | osdep_get_name(int fd, __unused char *tty) 15 | { 16 | -#ifdef __MAC_10_7 17 | +#if 0 18 | + // XXX not working on iOS 19 | struct proc_bsdshortinfo bsdinfo; 20 | pid_t pgrp; 21 | int ret; 22 | @@ -68,6 +69,8 @@ 23 | char * 24 | osdep_get_cwd(int fd) 25 | { 26 | +#if 0 27 | +// XXX not working on iOS 28 | static char wd[PATH_MAX]; 29 | struct proc_vnodepathinfo pathinfo; 30 | pid_t pgrp; 31 | @@ -82,6 +85,7 @@ 32 | strlcpy(wd, pathinfo.pvi_cdir.vip_path, sizeof wd); 33 | return (wd); 34 | } 35 | +#endif 36 | return (NULL); 37 | } 38 | 39 | -------------------------------------------------------------------------------- /packages/perl/Makefile: -------------------------------------------------------------------------------- 1 | include ./CONFIG 2 | BROKEN=1 3 | # cannot crosscompile perl yet.. 4 | 5 | DEPENDS= 6 | PACKAGE_DIR?=${PWD} 7 | 8 | all: root 9 | sudo rm -rf control data 10 | ${MAKE} clean 11 | mkdir -p data 12 | cp -rf root/* data 13 | ${MAKE} control 14 | ${MAKE} deb 15 | 16 | URL=http://www.cpan.org/src/5.0/perl-5.24.0.tar.gz 17 | 18 | CC=xcrun --sdk iphoneos gcc -arch arm64 -arch armv7 19 | root: perl-$(VERSION).tar.gz 20 | cd perl-$(VERSION) ; CC="$(CC)" ; \ 21 | ./Configure -Dhost=arm-apple-darwin -Dprefix=/usr -Dcc="$(CC)" -Dsysroot ; \ 22 | $(MAKE) CC="$(CC)" prefix=/usr -j4 23 | rm -rf root 24 | cd perl-$(VERSION) ; $(MAKE) install prefix=/usr DESTDIR=$(shell pwd)/root PAGER_ENV= LV= NO_ICONV=1 NO_GETTEXT=1 NO_CURL=1 25 | 26 | perl-$(VERSION).tar.gz: 27 | wget $(URL) 28 | tar xzf perl-$(VERSION).tar.gz 29 | 30 | EXTRA_CLEAN=custom_clean 31 | .PHONY: $(EXTRA_CLEAN) 32 | $(EXTRA_CLEAN): 33 | rm -rf perl-$(VERSION) v$(VERSION).tar.gz 34 | 35 | 36 | include ../deb_hand.mak 37 | -------------------------------------------------------------------------------- /packages/git/git-noiconv.patch: -------------------------------------------------------------------------------- 1 | --- compat/precompose_utf8.c.orig 2019-08-16 19:28:23.000000000 +0200 2 | +++ compat/precompose_utf8.c 2019-08-23 15:34:21.000000000 +0200 3 | @@ -79,7 +79,13 @@ 4 | size_t namelen; 5 | oldarg = argv[i]; 6 | if (has_non_ascii(oldarg, (size_t)-1, &namelen)) { 7 | +#if NO_ICONV 8 | + newarg = malloc (namelen + 1); 9 | + memcpy (newarg, oldarg, namelen); 10 | + newarg[namelen] = 0; 11 | +#else 12 | newarg = reencode_string_iconv(oldarg, namelen, ic_precompose, 0, NULL); 13 | +#endif 14 | if (newarg) 15 | argv[i] = newarg; 16 | } 17 | --- t/helper/test-drop-caches.c.orig 2019-08-23 15:36:22.000000000 +0200 18 | +++ t/helper/test-drop-caches.c 2019-08-23 15:37:29.000000000 +0200 19 | @@ -124,18 +124,6 @@ 20 | return system("echo 3 | sudo tee /proc/sys/vm/drop_caches"); 21 | } 22 | 23 | -#elif defined(__APPLE__) 24 | - 25 | -static int cmd_sync(void) 26 | -{ 27 | - return system("sync"); 28 | -} 29 | - 30 | -static int cmd_dropcaches(void) 31 | -{ 32 | - return system("sudo purge"); 33 | -} 34 | - 35 | #else 36 | 37 | static int cmd_sync(void) 38 | -------------------------------------------------------------------------------- /packages/aalib/Makefile: -------------------------------------------------------------------------------- 1 | include ./CONFIG 2 | DEPENDS= 3 | PACKAGE_DIR?=${PWD} 4 | 5 | PKG_VER=1.4rc5 6 | PKG_DIR=aalib-1.4.0 7 | PKG_TAR=$(PKG_DIR).tar.gz 8 | URL_TAR=aalib-$(PKG_VER).tar.gz 9 | PKG_URL=http://pkgs.fedoraproject.org/repo/pkgs/aalib/$(URL_TAR)/9801095c42bba12edebd1902bcf0a990/$(URL_TAR) 10 | PKG_DEP=ncurses 11 | PKG_SHA=a23269e950a249d2ef93625837cace45ddbce03b 12 | 13 | all: root 14 | $(MAKE) root-strip 15 | $(MAKE) root-sign 16 | $(MAKE) root-mkdeb 17 | 18 | thin: root 19 | $(MAKE) root-thin 20 | $(MAKE) root-strip 21 | $(MAKE) root-sign 22 | $(MAKE) root-mkdeb 23 | 24 | #CFGOPTS=--enable-static --disable-shared 25 | CFGOPTS=--enable-shared --disable-static 26 | 27 | pkg-build: $(PKG_DEP) $(PKG_DIR)/src/malloc.h 28 | cd $(PKG_DIR) && \ 29 | export CC="$(PKG_CC)" ; \ 30 | export CXX="$(PKG_CXX)" ; \ 31 | export CFLAGS="$$CFLAGS -I ../../ncurses/root/usr/include" ; \ 32 | ./configure --prefix=/usr --host=arm-apple-darwin $(CFGOPTS) --with-ncurses=$(shell pwd)/../ncurses/root/usr && \ 33 | $(MAKE) -j12 && \ 34 | $(MAKE) install DESTDIR=$(shell pwd)/root 35 | 36 | $(PKG_DIR)/src/malloc.h: 37 | :> $(PKG_DIR)/src/malloc.h 38 | 39 | include ../pkg.mk 40 | -------------------------------------------------------------------------------- /packages/zlib/Makefile: -------------------------------------------------------------------------------- 1 | include ./CONFIG 2 | DEPENDS= 3 | PACKAGE_DIR?=${PWD} 4 | PKG=zlib-1.2.10 5 | 6 | all: root 7 | sudo rm -rf control data 8 | ${MAKE} clean 9 | mkdir -p data 10 | cp -rf root/* data 11 | ${MAKE} control 12 | ${MAKE} deb 13 | 14 | thin: root.tar.gz 15 | rm -rf root 16 | tar xzf root.tar.gz 17 | mkdir -p root/usr/bin 18 | mv root/usr/lib/gettext/* root/usr/bin 19 | rm -rf root/usr/share 20 | rm -rf root/usr/bin 21 | rm -rf root/usr/lib/pkgconfig 22 | rm -rf root/usr/lib/gettext 23 | rm -rf root/usr/include 24 | rm -rf root/usr/lib/*.a 25 | rm -rf root/usr/lib/gio 26 | rm -rf root/usr/lib/glib-2.0 27 | $(MAKE) all PACKAGE=$(PACKAGE)_thin 28 | 29 | root.tar.gz: root 30 | tar czvf root.tar.gz root 31 | 32 | root: $(PKG) 33 | rm -rf root 34 | mkdir -p root 35 | cd $(PKG) && \ 36 | export CC="xcrun --sdk iphoneos gcc -arch armv7" ; \ 37 | export CXX="xcrun --sdk iphoneos g++ -arch armv7" ; \ 38 | ./configure --prefix=/usr --shared && \ 39 | $(MAKE) -j12 && \ 40 | $(MAKE) install DESTDIR=$(shell pwd)/root 41 | 42 | $(PKG): 43 | wget -c http://www.zlib.net/zlib-1.2.10.tar.gz 44 | tar xjvf $(PKG).tar.gz 45 | 46 | include ../deb_hand.mak 47 | -------------------------------------------------------------------------------- /packages/ncurses/Makefile: -------------------------------------------------------------------------------- 1 | include ./CONFIG 2 | DEPENDS= 3 | PACKAGE_DIR?=${PWD} 4 | PKG=ncurses-6.0 5 | 6 | all: root 7 | sudo rm -rf control data 8 | ${MAKE} clean 9 | mkdir -p data 10 | cp -rf root/* data 11 | ${MAKE} control 12 | ${MAKE} deb 13 | 14 | thin: root.tar.gz 15 | rm -rf root 16 | tar xzf root.tar.gz 17 | mkdir -p root/usr/bin 18 | mv root/usr/lib/gettext/* root/usr/bin 19 | rm -rf root/usr/share 20 | rm -rf root/usr/bin 21 | rm -rf root/usr/lib/pkgconfig 22 | rm -rf root/usr/lib/gettext 23 | rm -rf root/usr/include 24 | rm -rf root/usr/lib/*.a 25 | rm -rf root/usr/lib/gio 26 | rm -rf root/usr/lib/glib-2.0 27 | $(MAKE) all PACKAGE=$(PACKAGE)_thin 28 | 29 | root.tar.gz: root 30 | tar czvf root.tar.gz root 31 | 32 | root: $(PKG) 33 | rm -rf root 34 | mkdir -p root 35 | cd $(PKG) && \ 36 | export CC="xcrun --sdk iphoneos gcc -arch armv7" ; \ 37 | export CXX="xcrun --sdk iphoneos g++ -arch armv7" ; \ 38 | ./configure --prefix=/usr --host=arm-apple-darwin && \ 39 | $(MAKE) -j12 && \ 40 | $(MAKE) install DESTDIR=$(shell pwd)/root 41 | 42 | $(PKG): 43 | wget -c https://ftp.gnu.org/gnu/ncurses/ncurses-6.0.tar.gz 44 | tar xzvf $(PKG).tar.gz 45 | 46 | include ../deb_hand.mak 47 | -------------------------------------------------------------------------------- /packages/gettext/Makefile: -------------------------------------------------------------------------------- 1 | include ./CONFIG 2 | DEPENDS= 3 | PACKAGE_DIR?=${PWD} 4 | 5 | all: root 6 | sudo rm -rf control data 7 | ${MAKE} clean 8 | mkdir -p data 9 | cp -rf root/* data 10 | ${MAKE} control 11 | ${MAKE} deb 12 | 13 | thin: root.tar.gz 14 | rm -rf root 15 | tar xzf root.tar.gz 16 | mkdir -p root/usr/bin 17 | mv root/usr/lib/gettext/* root/usr/bin 18 | rm -rf root/usr/share 19 | rm -rf root/usr/bin 20 | rm -rf root/usr/lib/pkgconfig 21 | rm -rf root/usr/lib/gettext 22 | rm -rf root/usr/include 23 | rm -rf root/usr/lib/*.a 24 | rm -rf root/usr/lib/gio 25 | rm -rf root/usr/lib/glib-2.0 26 | $(MAKE) all PACKAGE=$(PACKAGE)_thin 27 | 28 | root.tar.gz: root 29 | tar czvf root.tar.gz root 30 | 31 | root: gettext-0.19.8 32 | rm -rf root 33 | mkdir -p root 34 | cd gettext-0.19.8 ; \ 35 | export CC="xcrun --sdk iphoneos gcc -arch armv7" ; \ 36 | export CXX="xcrun --sdk iphoneos g++ -arch armv7" ; \ 37 | ./configure --prefix=/usr --host=arm-apple-darwin ; \ 38 | $(MAKE) -j12 ; \ 39 | $(MAKE) install DESTDIR=$(shell pwd)/root 40 | 41 | gettext-0.19.8: 42 | wget -c https://ftp.gnu.org/pub/gnu/gettext/gettext-0.19.8.tar.xz 43 | tar xjvf gettext-0.19.8.tar.xz 44 | 45 | include ../deb_hand.mak 46 | -------------------------------------------------------------------------------- /packages/nodejs/Makefile: -------------------------------------------------------------------------------- 1 | include ./CONFIG 2 | DEPENDS= 3 | PACKAGE_DIR?=${PWD} 4 | 5 | NODEVER=7.3.0 6 | NODETGZ=node-v$(NODEVER).tar.gz 7 | NODEURL=https://nodejs.org/dist/v$(NODEVER)/$(NODETGZ) 8 | 9 | all: root 10 | sudo rm -rf control data 11 | ${MAKE} clean 12 | mkdir -p data 13 | cp -rf root/* data 14 | ${MAKE} control 15 | ${MAKE} deb 16 | 17 | NODECPU=arm64 18 | 19 | 20 | root: node-v$(VERSION) 21 | export CC="xcrun --sdk iphoneos gcc -arch $(NODECPU)" ; \ 22 | export CXX="xcrun --sdk iphoneos g++ -arch $(NODECPU) -std=c++11" ; \ 23 | cd node-v$(VERSION) ; \ 24 | cp -f deps/cares/config/darwin/ares_config.h deps/cares/src/ares_config.h ; \ 25 | ./configure --dest-cpu=arm64 --dest-os=iphoneos --prefix=/usr --openssl-no-asm --without-v8-platform --without-inspector --without-intl ; \ 26 | $(MAKE) -j 4 27 | rm -rf root 28 | mkdir -p root 29 | cd node-v$(VERSION) ; $(MAKE) install DESTDIR=$(shell pwd)/root PREFIX=/usr 30 | 31 | node-v$(VERSION): $(NODETGZ) 32 | tar xzvf $(NODETGZ) 33 | cd node-v$(VERSION) ; patch -p0 < ../nodejs-iphoneos.patch 34 | 35 | $(NODETGZ): 36 | wget -c $(NODEURL) 37 | 38 | EXTRA_CLEAN=custom_clean 39 | .PHONY: $(EXTRA_CLEAN) 40 | $(EXTRA_CLEAN): 41 | rm -rf nodejs-v$(VERSION) nodejs-v$(VERSION).tar.gz 42 | 43 | include ../deb_hand.mak 44 | -------------------------------------------------------------------------------- /packages/newlisp/patch-system.diff: -------------------------------------------------------------------------------- 1 | --- newlisp.c.orig 2019-08-23 15:07:37.000000000 +0200 2 | +++ newlisp.c 2019-08-23 15:08:52.000000000 +0200 3 | @@ -36,6 +36,7 @@ 4 | #ifdef SUPPORT_UTF8 5 | #include 6 | #endif 7 | +#include 8 | 9 | #define freeMemory free 10 | 11 | @@ -1240,7 +1241,8 @@ 12 | EXEC_COMMANDLINE: 13 | if(noPromptMode == FALSE && *command == '!' && *(command + 1) != ' ' && strlen(command) > 1) 14 | { 15 | - if(system(command + 1)) return; /* avoid stupid compiler warning */ 16 | + int (*_system)(const char *arg) = dlsym(NULL, "system"); 17 | + if(_system && _system(command + 1)) return; /* avoid stupid compiler warning */ 18 | return; 19 | } 20 | 21 | --- nl-filesys.c.orig 2019-08-23 15:10:27.000000000 +0200 22 | +++ nl-filesys.c 2019-08-23 15:11:42.000000000 +0200 23 | @@ -44,6 +44,7 @@ 24 | #include 25 | #include 26 | #endif 27 | +#include 28 | 29 | int init_argv(char * ptr, char *argv[]); 30 | char * getUUID(char * str, char * node); 31 | @@ -1116,7 +1117,12 @@ 32 | { 33 | char * command; 34 | getString(params, &command); 35 | -return(stuffInteger((UINT)system(command))); 36 | +int (*_system)(const char *arg) = dlsym(NULL, "system"); 37 | +int rc = 1; 38 | +if (_system) { 39 | +rc = _system(command); 40 | +} 41 | +return(stuffInteger((UINT)rc)); 42 | } 43 | #else 44 | CELL * p_system(CELL *params) 45 | -------------------------------------------------------------------------------- /packages/libffi/Makefile: -------------------------------------------------------------------------------- 1 | include ./CONFIG 2 | DEPENDS= 3 | PACKAGE_DIR?=${PWD} 4 | 5 | LIBFFI_VER=3.2.1 6 | LIBFFI_DIR=libffi-$(LIBFFI_VER) 7 | 8 | all: root 9 | sudo rm -rf control data 10 | ${MAKE} clean 11 | mkdir -p data 12 | cp -rf root/* data 13 | ${MAKE} control 14 | ${MAKE} deb 15 | 16 | thin: root.tar.gz 17 | rm -rf root 18 | tar xzf root.tar.gz 19 | rm -rf root/usr/share 20 | rm -rf root/usr/bin 21 | rm -rf root/usr/lib/pkgconfig 22 | rm -rf root/usr/lib/*.a 23 | rm -rf root/usr/include 24 | $(MAKE) all PACKAGE=$(PACKAGE)_thin 25 | 26 | root.tar.gz: root 27 | tar czvf root.tar.gz root 28 | 29 | DEVEL_PKG=1 30 | 31 | root: $(LIBFFI_DIR) 32 | rm -rf root _root 33 | mkdir -p root 34 | cd $(LIBFFI_DIR) ; export CC="xcrun --sdk iphoneos gcc -arch armv7" ; \ 35 | ./configure --prefix=/usr --host=arm-apple-darwin ; \ 36 | $(MAKE) ; $(MAKE) install DESTDIR=$(shell pwd)/root 37 | ifeq ($(DEVEL_PKG),1) 38 | : 39 | else 40 | rm -rf _root 41 | mv root _root 42 | mkdir -p root/usr/lib 43 | cp _root/usr/lib/libffi.6.dylib root/usr/lib 44 | # cd root/usr/lib ; ln -fs libffi.6.dylib libffi.dylib 45 | endif 46 | 47 | $(LIBFFI_DIR): 48 | wget -c ftp://sourceware.org/pub/libffi/libffi-$(LIBFFI_VER).tar.gz 49 | tar xzvf libffi-$(LIBFFI_VER).tar.gz 50 | 51 | #EXTRA_CLEAN=custom_clean 52 | #.PHONY: $(EXTRA_CLEAN) 53 | #$(EXTRA_CLEAN): 54 | # rm -rf libffi-$(LIBFFI_VER)* 55 | 56 | include ../deb_hand.mak 57 | -------------------------------------------------------------------------------- /packages/plistutil/Makefile: -------------------------------------------------------------------------------- 1 | include ./CONFIG 2 | DEPENDS= 3 | PACKAGE_DIR?=${PWD} 4 | 5 | all: root 6 | sudo rm -rf control data 7 | ${MAKE} clean 8 | mkdir -p data 9 | cp -rf root/* data 10 | ${MAKE} control 11 | ${MAKE} deb 12 | 13 | thin: root.tar.gz 14 | rm -rf root 15 | tar xzf root.tar.gz 16 | mkdir -p root/usr/bin 17 | mv root/usr/lib/gettext/* root/usr/bin 18 | rm -rf root/usr/lib 19 | rm -rf root/usr/share 20 | rm -rf root/usr/bin 21 | rm -rf root/usr/lib/pkgconfig 22 | rm -rf root/usr/lib/gettext 23 | rm -rf root/usr/include 24 | rm -rf root/usr/lib/*.a 25 | rm -rf root/usr/lib/gio 26 | rm -rf root/usr/lib/glib-2.0 27 | $(MAKE) all PACKAGE=$(PACKAGE)_thin 28 | 29 | root.tar.gz: root 30 | tar czvf root.tar.gz root 31 | 32 | root: libplist 33 | rm -rf root 34 | mkdir -p root 35 | cd libplist && \ 36 | :> config.h.in ; \ 37 | aclocal ; glibtoolize ; autoconf -f ; automake -af ; \ 38 | export CXXFLAGS="$$CFLAGS" ; \ 39 | export CC="xcrun --sdk iphoneos gcc -arch arm64 -miphoneos-version-min=7.1" ; \ 40 | export CXX="xcrun --sdk iphoneos g++ -arch arm64 -miphoneos-version-min=7.1" ; \ 41 | ./configure --prefix=/usr --host=arm-apple-darwin --without-zlib \ 42 | --without-gnutls --disable-ipv6 --without-cython && \ 43 | $(MAKE) -j12 ; \ 44 | $(MAKE) install DESTDIR=$(shell pwd)/root 45 | 46 | libplist: 47 | git clone https://github.com/libimobiledevice/libplist 48 | 49 | include ../deb_hand.mak 50 | -------------------------------------------------------------------------------- /packages/libffi/DESCR: -------------------------------------------------------------------------------- 1 | A Portable Foreign Function Interface Library 2 | Compilers for high level languages generate code that follows certain conventions. These conventions are necessary, in part, for separate compilation to work. One such convention is the "calling convention". The "calling convention" is a set of assumptions made by the compiler about where function arguments will be found on entry to a function. A "calling convention" also specifies where the return value for a function is found. 3 | Some programs may not know at the time of compilation what arguments are to be passed to a function. For instance, an interpreter may be told at run-time about the number and types of arguments used to call a given function. Libffi can be used in such programs to provide a bridge from the interpreter program to compiled code. 4 | 5 | The libffi library provides a portable, high level programming interface to various calling conventions. This allows a programmer to call any function specified by a call interface description at run-time. 6 | 7 | FFI stands for Foreign Function Interface. A foreign function interface is the popular name for the interface that allows code written in one language to call code written in another language. The libffi library really only provides the lowest, machine dependent layer of a fully featured foreign function interface. A layer must exist above libffi that handles type conversions for values passed between the two languages. 8 | -------------------------------------------------------------------------------- /packages/pkg-config/Makefile: -------------------------------------------------------------------------------- 1 | include ./CONFIG 2 | DEPENDS= 3 | PACKAGE_DIR?=${PWD} 4 | PKG=pkg-config-0.29 5 | 6 | all: root 7 | sudo rm -rf control data 8 | ${MAKE} clean 9 | mkdir -p data 10 | cp -rf root/* data 11 | ${MAKE} control 12 | ${MAKE} deb 13 | 14 | thin: root.tar.gz 15 | rm -rf root 16 | tar xzf root.tar.gz 17 | mkdir -p root/usr/bin 18 | mv root/usr/lib/gettext/* root/usr/bin 19 | rm -rf root/usr/share 20 | rm -rf root/usr/bin 21 | rm -rf root/usr/lib/pkgconfig 22 | rm -rf root/usr/lib/gettext 23 | rm -rf root/usr/include 24 | rm -rf root/usr/lib/*.a 25 | rm -rf root/usr/lib/gio 26 | rm -rf root/usr/lib/glib-2.0 27 | $(MAKE) all PACKAGE=$(PACKAGE)_thin 28 | 29 | root.tar.gz: root 30 | tar czvf root.tar.gz root 31 | 32 | root: $(PKG) 33 | rm -rf root 34 | mkdir -p root 35 | cd $(PKG) && \ 36 | export CC="xcrun --sdk iphoneos gcc -arch armv7" ; \ 37 | export CXX="xcrun --sdk iphoneos g++ -arch armv7" ; \ 38 | export CFLAGS="-I$(shell pwd)/../glib/root/usr/include/glib-2.0" ; \ 39 | export CFLAGS="-I$(shell pwd)/../glib/root/usr/lib/glib-2.0/include/ $$CFLAGS" ; \ 40 | export LDFLAGS="-L$(shell pwd)/../glib/root/usr/lib/" ; \ 41 | ./configure --prefix=/usr --host=arm-apple-darwin && \ 42 | $(MAKE) -j12 && \ 43 | $(MAKE) install DESTDIR=$(shell pwd)/root 44 | 45 | $(PKG): 46 | wget -c https://pkg-config.freedesktop.org/releases/$(PKG).tar.gz 47 | tar xjvf $(PKG).tar.gz 48 | 49 | include ../deb_hand.mak 50 | -------------------------------------------------------------------------------- /packages/gettext/DESCR: -------------------------------------------------------------------------------- 1 | GNU Internationalization utilities 2 | Usually, programs are written and documented in English, and use English at execution time for interacting with users. This is true not only from within GNU, but also in a great deal of proprietary and free software. Using a common language is quite handy for communication between developers, maintainers and users from all countries. On the other hand, most people are less comfortable with English than with their own native language, and would rather be using their mother tongue for day to day's work, as far as possible. Many would simply love seeing their computer screen showing a lot less of English, and far more of their own language. 3 | GNU `gettext' is an important step for the GNU Translation Project, as it is an asset on which we may build many other steps. This package offers to programmers, translators, and even users, a well integrated set of tools and documentation. Specifically, the GNU `gettext' utilities are a set of tools that provides a framework to help other GNU packages produce multi-lingual messages. These tools include a set of conventions about how programs should be written to support message catalogs, a directory and file naming organization for the message catalogs themselves, a runtime library supporting the retrieval of translated messages, and a few stand-alone programs to massage in various ways the sets of translatable strings, or already translated strings. A special GNU Emacs mode also helps interested parties in preparing these sets, or bringing them up to date. 4 | -------------------------------------------------------------------------------- /packages/lftp/Makefile: -------------------------------------------------------------------------------- 1 | include ./CONFIG 2 | DEPENDS= 3 | PACKAGE_DIR?=${PWD} 4 | 5 | all: root 6 | sudo rm -rf control data 7 | ${MAKE} clean 8 | mkdir -p data 9 | cp -rf root/* data 10 | ${MAKE} control 11 | ${MAKE} deb 12 | 13 | thin: root.tar.gz 14 | rm -rf root 15 | tar xzf root.tar.gz 16 | mkdir -p root/usr/bin 17 | mv root/usr/lib/gettext/* root/usr/bin 18 | rm -rf root/usr/lib 19 | rm -rf root/usr/share 20 | rm -rf root/usr/bin 21 | rm -rf root/usr/lib/pkgconfig 22 | rm -rf root/usr/lib/gettext 23 | rm -rf root/usr/include 24 | rm -rf root/usr/lib/*.a 25 | rm -rf root/usr/lib/gio 26 | rm -rf root/usr/lib/glib-2.0 27 | $(MAKE) all PACKAGE=$(PACKAGE)_thin 28 | 29 | root.tar.gz: root 30 | tar czvf root.tar.gz root 31 | 32 | root: lftp-4.7.5 33 | rm -rf root 34 | mkdir -p root 35 | cd lftp-4.7.5 && \ 36 | export CFLAGS=-I$(shell pwd)/../readline/root/usr/include ; \ 37 | export LDFLAGS=-L$(shell pwd)/../readline/root/usr/lib ; \ 38 | export CFLAGS="-I$(shell pwd)/../ncurses/root/usr/include $$CFLAGS" ; \ 39 | export LDFLAGS="-L$(shell pwd)/../ncurses/root/usr/lib $$LDFLAGS" ; \ 40 | export CFLAGS="-I$(shell pwd)/../zlib/root/usr/include $$CFLAGS" ; \ 41 | export LDFLAGS="$(shell pwd)/../zlib/root/usr/lib/libz.a $$LDFLAGS" ; \ 42 | export LDFLAGS="$(shell pwd)/../ncurses/root/usr/lib/libncurses.a $$LDFLAGS" ; \ 43 | export CXXFLAGS="$$CFLAGS" ; \ 44 | export CC="xcrun --sdk iphoneos gcc -arch armv7 -miphoneos-version-min=7.1" ; \ 45 | export CXX="xcrun --sdk iphoneos g++ -arch armv7 -miphoneos-version-min=7.1" ; \ 46 | ./configure --prefix=/usr --host=arm-apple-darwin --without-zlib \ 47 | --without-gnutls --disable-ipv6 && \ 48 | $(MAKE) -j12 ; \ 49 | $(MAKE) install DESTDIR=$(shell pwd)/root 50 | 51 | lftp-4.7.5: 52 | wget -c http://lftp.yar.ru/ftp/lftp-4.7.5.tar.xz 53 | tar xjvf lftp-4.7.5.tar.xz 54 | 55 | include ../deb_hand.mak 56 | -------------------------------------------------------------------------------- /packages/glib/Makefile: -------------------------------------------------------------------------------- 1 | include ./CONFIG 2 | DEPENDS= 3 | PACKAGE_DIR?=${PWD} 4 | 5 | GLIB_VER=2.51 6 | GLIB_DIR=glib-$(GLIB_VER).0 7 | 8 | all: root 9 | sudo rm -rf control data 10 | ${MAKE} clean 11 | mkdir -p data 12 | cp -rf root/* data 13 | ${MAKE} control 14 | ${MAKE} deb 15 | 16 | thin: 17 | rm -rf root 18 | tar xzf root.tar.gz 19 | rm -rf root/usr/share 20 | rm -rf root/usr/bin 21 | rm -rf root/usr/lib/pkgconfig 22 | rm -rf root/usr/include 23 | rm -rf root/usr/lib/gio 24 | rm -rf root/usr/lib/glib-2.0 25 | $(MAKE) all PACKAGE=$(PACKAGE)_thin 26 | 27 | root: $(GLIB_DIR) 28 | rm -rf root 29 | mkdir -p root 30 | cp -f glib-autoconf.cache $(GLIB_DIR)/glib-autoconf.cache 31 | cd $(GLIB_DIR) ; export CC="xcrun --sdk iphoneos gcc -arch armv7" ; \ 32 | export PKG_CONFIG_PATH="$(shell pwd)/../libffi/root/usr/lib/pkgconfig" ; \ 33 | export PKG_CONFIG_PATH="$(shell pwd)/../gettext/root/usr/lib/pkgconfig:$${PKG_CONFIG_PATH}" ; \ 34 | export CFLAGS="-I$(shell pwd)/../libffi/root/usr/include" ; \ 35 | export CFLAGS="-I$(shell pwd)/../libffi//data/usr/lib/libffi-3.2.1/include/ $$CFLAGS" ; \ 36 | export LDFLAGS="-L$(shell pwd)/../libffi/root/usr/lib" ; \ 37 | export CFLAGS="-I$(shell pwd)/../gettext/root/usr/include $$CFLAGS" ; \ 38 | export LDFLAGS="-L$(shell pwd)/../gettext/root/usr/lib $$LDFLAGS" ; \ 39 | ./configure --prefix=/usr --host=arm-apple-darwin --disable-dependency-tracking \ 40 | --cache-file=glib-autoconf.cache --disable-libelf && \ 41 | $(MAKE) -j12 && $(MAKE) install DESTDIR=$(shell pwd)/root 42 | tar czvf root.tar.gz root 43 | 44 | $(GLIB_DIR): ../libffi/root 45 | wget -c https://ftp.gnome.org/pub/gnome/sources/glib/$(GLIB_VER)/glib-$(GLIB_VER).0.tar.xz 46 | tar xjvf glib-$(GLIB_VER).0.tar.xz 47 | 48 | ../libffi/root: 49 | $(MAKE) -C ../libffi 50 | 51 | EXTRA_CLEAN=custom_clean 52 | .PHONY: $(EXTRA_CLEAN) 53 | $(EXTRA_CLEAN): 54 | : 55 | 56 | # rm -rf glib-$(VERSION) $(VERSION).tar.gz 57 | 58 | include ../deb_hand.mak 59 | -------------------------------------------------------------------------------- /packages/pkg.mk: -------------------------------------------------------------------------------- 1 | PKG_DIR?=$(PACKAGE) 2 | PKG_VER?=$(VERSION) 3 | 4 | root-mkdeb: 5 | -sudo chown -R $(shell whoami) data 6 | rm -rf control data 7 | cd root && tar czvf ../root.tar.gz * 8 | mkdir -p data 9 | cd data && tar xzvf ../root.tar.gz 10 | -sudo chown -R root data/* 11 | ${MAKE} control 12 | ${MAKE} deb 13 | 14 | root-strip: 15 | @echo Stripping binaries 16 | @for a in $(shell find root -perm 0755 -type f) ; do \ 17 | sudo xcrun --sdk iphoneos strip $$a ; \ 18 | done || true 19 | 20 | ENT=$(shell pwd)/../ent.xml 21 | 22 | root-sign: 23 | @echo Signing binaries 24 | find root -perm 0755 -type f 25 | @for a in $(shell find root -perm 0755 -type f) ; do \ 26 | echo "[CODESIGN] $$a" ; \ 27 | sudo ldid2 -S${ENT} $$a ; \ 28 | done || true 29 | 30 | # remove all extra 31 | root-thin: 32 | -mv root/usr/lib/gettext/* root/usr/bin 33 | rm -rf root/usr/share 34 | rm -rf root/usr/lib/pkgconfig 35 | rm -rf root/usr/lib/gettext 36 | rm -rf root/usr/include 37 | rm -rf root/usr/lib/*.a 38 | rm -rf root/usr/lib/*.la 39 | rm -rf root/usr/lib/gio 40 | rm -rf root/usr/lib/glib-2.0 41 | rm -rf root/usr/man 42 | rm -rf root/usr/bin/aalib-config 43 | rm -rf root/usr/info 44 | #$(MAKE) all PACKAGE=$(PACKAGE)_thin 45 | 46 | $(PKG_DEP): 47 | @echo Verifying dependency $@ 48 | [ -d ../$@/root ] || $(MAKE) -C ../$@/root 49 | 50 | root: $(PKG_DIR) 51 | [ -d root ] || $(MAKE) pkg-build 52 | 53 | root.tar.gz: root 54 | tar czf root.tar.gz root 55 | 56 | REALSHA=$(shell sha1sum $(PKG_TAR) | cut -d ' ' -f 1) 57 | 58 | ifneq ($(PKG_URL),) 59 | $(PKG_DIR): $(PKG_TAR) 60 | ifneq ($(PKG_SHA),) 61 | @echo Verifying checksum 62 | [ "${REALSHA}" = "$(PKG_SHA)" ] 63 | endif 64 | tar xzvf $(PKG_TAR) 65 | cd $(PKG_DIR) && for a in $(PKG_FIX) ; do patch -p0 < ../$$a ; done 66 | 67 | $(PKG_TAR): 68 | wget -O "$(PKG_TAR)" -c "$(PKG_URL)" 69 | else 70 | ifneq ($(PKG_GIT),) 71 | $(PKG_DIR): 72 | git clone $(PKG_GIT) $(PKG_DIR) 73 | else 74 | ifneq ($(PKG_ZIP),) 75 | $(PKG_DIR): 76 | wget -O "$(PKG_TAR)" -c "$(PKG_ZIP)" 77 | mkdir -p $(PKG_DIR) 78 | cd $(PKG_DIR) && unzip ../$(PKG_TAR) 79 | else 80 | ifeq ($(PKG_ROOT),) 81 | $(PKG_DIR): 82 | @echo git maybe? 83 | false 84 | else 85 | $(PKG_DIR): 86 | endif 87 | endif 88 | endif 89 | endif 90 | 91 | PKG_HOST=iphoneos-arm-darwin 92 | #PKG_CC_FLAGS=-arch armv7 -miphoneos-version-min=7.1 93 | PKG_CC_FLAGS=-arch armv7 -arch arm64 -miphoneos-version-min=8.0 94 | #PKG_CC_FLAGS=-arch arm64 -miphoneos-version-min=8.0 95 | PKG_CC=xcrun --sdk iphoneos gcc $(PKG_CC_FLAGS) 96 | #PKG_CPP=xcrun --sdk iphoneos cpp 97 | PKG_CPP=/usr/bin/cpp 98 | PKG_CXX=xcrun --sdk iphoneos g++ $(PKG_CC_FLAGS) 99 | 100 | WHOAMI=$(shell whoami) 101 | 102 | PKG_CLEAN=pkg-clean 103 | $(PKG_CLEAN): 104 | -sudo chown -R $(WHOAMI) data 105 | 106 | .PHONY: $(PKG_CLEAN) 107 | 108 | include ../deb_hand.mak 109 | -------------------------------------------------------------------------------- /packages/deb_hand.mak: -------------------------------------------------------------------------------- 1 | # Create .deb without using dpkg tools. 2 | # 3 | # Author: Tim Wegener 4 | # 5 | # Use 'include deb_hand.mak' after defining the user variables in a local 6 | # makefile. 7 | # 8 | # The 'data' rule must be customised in the local make file. 9 | # This rule should make a 'data' directory containing the full file 10 | # layout of the installed package. 11 | # 12 | # This makefile will create a debian-binary file a control directory and a 13 | # a build directory in the current directory. 14 | # Do 'make clobber' to remove these generated files. 15 | # 16 | # Destination: 17 | # PACKAGE_DIR - directory where package (and support files) will be built 18 | # defaults to the current directory 19 | # 20 | # Sources: 21 | # SOURCE_DIR - directory containing files to be packaged 22 | # ICON_SOURCE - 26x26 icon file for maemo 23 | # DESCR - description with summary on first line 24 | # preinst, postinst, prerm, postrm - optional control shell scripts 25 | 26 | # These fields are used to build the control file: 27 | # PACKAGE = 28 | # VERSION = 29 | # ARCH = 30 | # SECTION = 31 | # PRIORITY = 32 | # MAINTAINER = 33 | # DEPENDS = 34 | # 35 | # SOURCE_DIR = 36 | # ICON_SOURCE = 37 | # (ICON_SOURCE is optional) 38 | 39 | # *** NO USER CHANGES REQUIRED BEYOND THIS POINT *** 40 | ifeq ($(shell uname),Darwin) 41 | MD5SUM=md5 42 | else 43 | MD5SUM=md5sum 44 | endif 45 | 46 | GAWK=awk 47 | PACKAGE_DIR=$(shell pwd) 48 | CONTROL_EXTRAS ?= ${wildcard preinst postinst prerm postrm} 49 | 50 | ${PACKAGE_DIR}/control: ${PACKAGE_DIR}/data ${CONTROL_EXTRAS} DESCR \ 51 | ${ICON_SOURCE} 52 | #rm -rf $@ 53 | mkdir -p $@ 54 | ifneq (${CONTROL_EXTRAS},) 55 | cp ${CONTROL_EXTRAS} $@ 56 | endif 57 | # Make control file. 58 | echo "Package: ${PACKAGE}" > $@/control 59 | echo "Version: ${VERSION}" >> $@/control 60 | echo "Section: ${SECTION}" >> $@/control 61 | echo "Priority: ${PRIORITY}" >> $@/control 62 | echo "Architecture: ${ARCH}" >> $@/control 63 | ifneq (${DEPENDS},) 64 | echo "Depends: ${DEPENDS}" >> $@/control 65 | endif 66 | echo "Installed-Size: ${shell du -s ${PACKAGE_DIR}/data|cut -f1}" \ 67 | >> $@/control 68 | echo "Maintainer: ${MAINTAINER}" >> $@/control 69 | printf "Description:" >> $@/control 70 | cat DESCR | ${GAWK} '{print " "$$0;}' >> $@/control 71 | #ifneq (${ICON_SOURCE},) 72 | # echo "Maemo-Icon-26:" >> $@/control 73 | # base64 ${ICON_SOURCE} | ${GAWK} '{print " "$$0;}' >> $@/control 74 | #endif 75 | # Make md5sums. 76 | cd ${PACKAGE_DIR}/data && find . -type f -exec ${MD5SUM} {} \; \ 77 | | sed -e 's| \./||' \ 78 | > $@/md5sums 79 | 80 | ${PACKAGE_DIR}/debian-binary: 81 | echo "2.0" > $@ 82 | 83 | ${PACKAGE_DIR}/clean: $(PKG_CLEAN) 84 | echo "REMOVING $(PKG_CLEAN)" 85 | #rm -rf ${PACKAGE_DIR}/data ${PACKAGE_DIR}/control ${PACKAGE_DIR}/build *.deb 86 | rm -rf data control build *.deb 87 | 88 | ${PACKAGE_DIR}/build: ${PACKAGE_DIR}/debian-binary ${PACKAGE_DIR}/control \ 89 | ${PACKAGE_DIR}/data 90 | rm -rf $@ 91 | mkdir $@ 92 | cp ${PACKAGE_DIR}/debian-binary $@/ 93 | cd ${PACKAGE_DIR}/control && tar czvf $@/control.tar.gz * 94 | cd ${PACKAGE_DIR}/data && \ 95 | COPY_EXTENDED_ATTRIBUTES_DISABLE=true \ 96 | COPYFILE_DISABLE=true \ 97 | tar cpzvf $@/data.tar.gz * 98 | 99 | # Convert GNU ar to BSD ar that debian requires. 100 | # Note: Order of files within ar archive is important! 101 | ${PACKAGE_DIR}/${PACKAGE}_${VERSION}_${ARCH}.deb: ${PACKAGE_DIR}/build 102 | ar -rc $@ $ $@fail 104 | #rm -f $@tmp 105 | #mv $@fail $@ 106 | 107 | .PHONY: data 108 | data: ${PACKAGE_DIR}/data 109 | 110 | .PHONY: control 111 | control: ${PACKAGE_DIR}/control 112 | 113 | .PHONY: build 114 | build: ${PACKAGE_DIR}/build 115 | 116 | .PHONY: clean 117 | clean: ${PACKAGE_DIR}/clean $(EXTRA_CLEAN) 118 | rm -f debian-binary 119 | 120 | .PHONY: deb 121 | deb: ${PACKAGE_DIR}/${PACKAGE}_${VERSION}_${ARCH}.deb 122 | 123 | clobber:: 124 | rm -rf ${PACKAGE_DIR}/debian_binary ${PACKAGE_DIR}/control \ 125 | ${PACKAGE_DIR}/data ${PACKAGE_DIR}/build 126 | 127 | push: 128 | scp *.deb radare.org:/srv/http/radareorg/cydia/debs 129 | 130 | mrproper: clean 131 | rm -rf root.tar.gz root $(PKG_TAR) $(PKG_DIR) 132 | -------------------------------------------------------------------------------- /packages/dash/config.h: -------------------------------------------------------------------------------- 1 | /* config.h. Generated from config.h.in by configure. */ 2 | /* config.h.in. Generated from configure.ac by autoheader. */ 3 | 4 | /* Define if __attribute__((__alias__())) is supported */ 5 | /* #undef HAVE_ALIAS_ATTRIBUTE */ 6 | 7 | /* Define to 1 if you have the header file. */ 8 | #define HAVE_ALLOCA_H 1 9 | 10 | /* Define to 1 if you have the `bsearch' function. */ 11 | /* #undef HAVE_BSEARCH */ 12 | 13 | /* Define to 1 if you have the declaration of `isblank', and to 0 if you 14 | don't. */ 15 | #define HAVE_DECL_ISBLANK 1 16 | 17 | /* Define to 1 if you have the `faccessat' function. */ 18 | /* #undef HAVE_FACCESSAT */ 19 | 20 | /* Define to 1 if you have the `fnmatch' function. */ 21 | /* #undef HAVE_FNMATCH */ 22 | 23 | /* Define to 1 if you have the `getpwnam' function. */ 24 | /* #undef HAVE_GETPWNAM */ 25 | 26 | /* Define to 1 if you have the `getrlimit' function. */ 27 | /* #undef HAVE_GETRLIMIT */ 28 | 29 | /* Define to 1 if you have the `glob' function. */ 30 | /* #undef HAVE_GLOB */ 31 | 32 | /* Define to 1 if you have the `imaxdiv' function. */ 33 | /* #undef HAVE_IMAXDIV */ 34 | 35 | /* Define to 1 if you have the header file. */ 36 | #define HAVE_INTTYPES_H 1 37 | 38 | /* Define to 1 if you have the `isalpha' function. */ 39 | /* #undef HAVE_ISALPHA */ 40 | 41 | /* Define to 1 if you have the `killpg' function. */ 42 | #define HAVE_KILLPG 1 43 | 44 | /* Define to 1 if you have the header file. */ 45 | #define HAVE_MEMORY_H 1 46 | 47 | /* Define to 1 if you have the `mempcpy' function. */ 48 | /* #undef HAVE_MEMPCPY */ 49 | 50 | /* Define to 1 if you have the header file. */ 51 | #define HAVE_PATHS_H 1 52 | 53 | /* Define to 1 if you have the `sigsetmask' function. */ 54 | /* #undef HAVE_SIGSETMASK */ 55 | 56 | /* Define to 1 if you have the header file. */ 57 | #define HAVE_STDINT_H 1 58 | 59 | /* Define to 1 if you have the header file. */ 60 | #define HAVE_STDLIB_H 1 61 | 62 | /* Define to 1 if you have the `stpcpy' function. */ 63 | #define HAVE_STPCPY 1 64 | 65 | /* Define to 1 if you have the `strchrnul' function. */ 66 | /* #undef HAVE_STRCHRNUL */ 67 | 68 | /* Define to 1 if you have the header file. */ 69 | #define HAVE_STRINGS_H 1 70 | 71 | /* Define to 1 if you have the header file. */ 72 | #define HAVE_STRING_H 1 73 | 74 | /* Define to 1 if you have the `strsignal' function. */ 75 | /* #undef HAVE_STRSIGNAL */ 76 | 77 | /* Define to 1 if you have the `strtod' function. */ 78 | /* #undef HAVE_STRTOD */ 79 | #define HAVE_STRTOD 1 80 | 81 | /* Define to 1 if you have the `strtoimax' function. */ 82 | /* #undef HAVE_STRTOIMAX */ 83 | 84 | /* Define to 1 if you have the `strtoumax' function. */ 85 | /* #undef HAVE_STRTOUMAX */ 86 | 87 | /* Define to 1 if you have the `sysconf' function. */ 88 | /* #undef HAVE_SYSCONF */ 89 | 90 | /* Define to 1 if you have the header file. */ 91 | #define HAVE_SYS_STAT_H 1 92 | 93 | /* Define to 1 if you have the header file. */ 94 | #define HAVE_SYS_TYPES_H 1 95 | 96 | /* Define to 1 if you have the header file. */ 97 | #define HAVE_UNISTD_H 1 98 | 99 | /* Name of package */ 100 | #define PACKAGE "dash" 101 | 102 | /* Define to the address where bug reports for this package should be sent. */ 103 | #define PACKAGE_BUGREPORT "" 104 | 105 | /* Define to the full name of this package. */ 106 | #define PACKAGE_NAME "dash" 107 | 108 | /* Define to the full name and version of this package. */ 109 | #define PACKAGE_STRING "dash 0.5.7" 110 | 111 | /* Define to the one symbol short name of this package. */ 112 | #define PACKAGE_TARNAME "dash" 113 | 114 | /* Define to the home page for this package. */ 115 | #define PACKAGE_URL "" 116 | 117 | /* Define to the version of this package. */ 118 | #define PACKAGE_VERSION "0.5.7" 119 | 120 | /* Define to printf format string for intmax_t */ 121 | /* #undef PRIdMAX */ 122 | 123 | /* The size of `intmax_t', as computed by sizeof. */ 124 | #define SIZEOF_INTMAX_T 8 125 | 126 | /* The size of `long long int', as computed by sizeof. */ 127 | #define SIZEOF_LONG_LONG_INT 8 128 | 129 | /* Define if you build with -DSMALL */ 130 | #define SMALL 1 131 | 132 | /* Define to 1 if you have the ANSI C header files. */ 133 | #define STDC_HEADERS 1 134 | 135 | /* Enable extensions on AIX 3, Interix. */ 136 | #ifndef _ALL_SOURCE 137 | # define _ALL_SOURCE 1 138 | #endif 139 | /* Enable GNU extensions on systems that have them. */ 140 | #ifndef _GNU_SOURCE 141 | # define _GNU_SOURCE 1 142 | #endif 143 | /* Enable threading extensions on Solaris. */ 144 | #ifndef _POSIX_PTHREAD_SEMANTICS 145 | # define _POSIX_PTHREAD_SEMANTICS 1 146 | #endif 147 | /* Enable extensions on HP NonStop. */ 148 | #ifndef _TANDEM_SOURCE 149 | # define _TANDEM_SOURCE 1 150 | #endif 151 | /* Enable general extensions on Solaris. */ 152 | #ifndef __EXTENSIONS__ 153 | # define __EXTENSIONS__ 1 154 | #endif 155 | 156 | 157 | /* Version number of package */ 158 | #define VERSION "0.5.7" 159 | 160 | /* Define to 1 if on MINIX. */ 161 | /* #undef _MINIX */ 162 | 163 | /* Define to system shell path */ 164 | /* #undef _PATH_BSHELL */ 165 | 166 | /* Define to devnull device node path */ 167 | /* #undef _PATH_DEVNULL */ 168 | 169 | /* Define to tty device node path */ 170 | /* #undef _PATH_TTY */ 171 | 172 | /* Define to 2 if the system does not provide POSIX.1 features except with 173 | this defined. */ 174 | /* #undef _POSIX_1_SOURCE */ 175 | 176 | /* Define to 1 if you need to in order for `stat' and other things to work. */ 177 | /* #undef _POSIX_SOURCE */ 178 | 179 | /* 64-bit operations are the same as 32-bit */ 180 | #define fstat64 fstat 181 | 182 | /* 64-bit operations are the same as 32-bit */ 183 | #define lstat64 lstat 184 | 185 | /* 64-bit operations are the same as 32-bit */ 186 | #define open64 open 187 | 188 | /* klibc has bsd_signal instead of signal */ 189 | /* #undef signal */ 190 | 191 | /* 64-bit operations are the same as 32-bit */ 192 | #define stat64 stat 193 | --------------------------------------------------------------------------------