Index of /pkgsrc/pinephone/ubports/

NameLast ModifiedSizeType
../ -  Directory
All/2021-Jan-06 23:13:45-  Directory
README.txt2021-Jan-03 21:59:282.3Ktext/plain; charset=utf-8
libstdc++.so.6.0.282021-Jan-06 13:38:081.8Mapplication/octet-stream
pkg-basic.tar.gz2021-Jan-03 21:32:2329.6Mapplication/x-gtar-compressed
--------------------------------------------------------------------------------------------
   ___ _              ___ _                                  ___    ___           _        
  / _ (_)_ __   ___  / _ \ |__   ___  _ __   ___     /\ /\  / __\  / _ \___  _ __| |_ ___  
 / /_)/ | '_ \ / _ \/ /_)/ '_ \ / _ \| '_ \ / _ \   / / \ \/__\// / /_)/ _ \| '__| __/ __| 
/ ___/| | | | |  __/ ___/| | | | (_) | | | |  __/   \ \_/ / \/  \/ ___/ (_) | |  | |_\__ \ 
\/    |_|_| |_|\___\/    |_| |_|\___/|_| |_|\___|    \___/\_____/\/    \___/|_|   \__|___/ 
                                                                                           
--------------------------------------------------------------------------------------------

Why pkgsrc on the Pinephone UBPorts you may ask ? 
- It can live independently along the native system and does not affect 
  system libraries in any way
  You can remove pkgsrc on on command and the system wont be affected in any way 
   

 - more @ https://en.wikipedia.org/wiki/Pkgsrc 

pkg-basic.tar.gz is a full binary pkgsrc-2020Q4 bootstrap for the Pinephone 
Ubports (Ubuntu 16.04.7 aarch64 based) 

All packages were compiled under qemu-system-aarch64 on the Apple M1 Macbook Air 

HOWTO:
------

The pkgsrc is bootstrapped against /mnt/disk/pkg   becasue of the diskspace on the PinePhone 
Best is to use a micro SD card (format with ext4 filesystem and mount it)  

Download the pkg-basic.tar.gz to the /mnt/disk   (mountpoint of the microsd card) 
Pinephone UBPorts sees the MicroSD card as /dev/mmcblk0  and you should mount is as /dev/mmcblk0p1 
and save under /mnt/disk   (sorry I chose this location :P) 

wget http://45.76.81.249/pkgsrc/pinephone/ubports/pkg-basic.tar.gz

Extract the bootrstrap 

gunzip pkg-basic.tar.gz 
tar-xvf pkg-basic.tar 

The resulting layout should be like this 

..
/mnt/disk/pkg  

Adjust your paths to add the pkgsrc binaries 

export PATH=/mnt/disk/pkg/bin:/mnt/disk/pkg/sbin    

Refresh the pkgin database 

root@ubuntu-phablet:/mnt/disk# /mnt/disk/pkg/bin/pkgin update
reading local summary...
processing local summary...
processing remote summary (http://45.76.81.249/pkgsrc/pinephone/ubports/All)...
pkg_summary.gz                                                                      100%   44KB  44.0KB/s   00:00 

You can now add new packages via /mnt/disk/pkg/bin/pkgin install  

 
Webserver 1.0