Skip to content

Commit

Permalink
Initial ports for 3.7 (#1)
Browse files Browse the repository at this point in the history
  • Loading branch information
mhoush authored Jan 6, 2024
1 parent cab43ca commit a1cb95f
Show file tree
Hide file tree
Showing 30 changed files with 329 additions and 0 deletions.
22 changes: 22 additions & 0 deletions pkgutils/.footprint
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
drwxr-xr-x root/root etc/
-rw-r--r-- root/root etc/pkgadd.conf
-rw-r--r-- root/root etc/pkgmk.conf
-rw-r--r-- root/root etc/rejmerge.conf
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/bin/
-rwxr-xr-x root/root usr/bin/pkgadd
lrwxrwxrwx root/root usr/bin/pkginfo -> pkgadd
-rwxr-xr-x root/root usr/bin/pkgmk
lrwxrwxrwx root/root usr/bin/pkgrm -> pkgadd
-rwxr-xr-x root/root usr/bin/rejmerge
drwxr-xr-x root/root usr/share/
drwxr-xr-x root/root usr/share/man/
drwxr-xr-x root/root usr/share/man/man5/
-rw-r--r-- root/root usr/share/man/man5/pkgfile.5.gz
-rw-r--r-- root/root usr/share/man/man5/pkgmk.conf.5.gz
drwxr-xr-x root/root usr/share/man/man8/
-rw-r--r-- root/root usr/share/man/man8/pkgadd.8.gz
-rw-r--r-- root/root usr/share/man/man8/pkginfo.8.gz
-rw-r--r-- root/root usr/share/man/man8/pkgmk.8.gz
-rw-r--r-- root/root usr/share/man/man8/pkgrm.8.gz
-rw-r--r-- root/root usr/share/man/man8/rejmerge.8.gz
6 changes: 6 additions & 0 deletions pkgutils/.signature
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
untrusted comment: verify with /etc/ports/raspberrypi5-arm64.pub
RWSHgCHzkLZhngo0Lzzn52s7npCsrZN5o7+Dsu9c2OOyrujD+NqLJ3JWzfb8UDiXl4O4Bk+AQHVMM5YfGaDnCYcOZk+mnqjojgY=
SHA256 (Pkgfile) = 31468c6a601d22ff0f031031311c3dffd512ddab9f29979a5287daebfdc6c9d7
SHA256 (.footprint) = 7d143f18f63bba5569d729eefd0d0f04ae4b0539f8bd71f9cfd6955b9e7c639d
SHA256 (pkgutils-5.40.10.tar.xz) = 2d86335be3d0452dcc7ae5f568e7296cd7ea80117f57646d15420a6dc192f174
SHA256 (pkgmk.conf) = c118ef411b1e725a37f080872562de7a11ef7a216f28eec84de4336bc006bc12
18 changes: 18 additions & 0 deletions pkgutils/Pkgfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Description: A set of utilities to manage software packages
# URL: http://crux.nu/gitweb/?p=tools/pkgutils.git
# Maintainer: CRUX System Team, core-ports at crux dot nu
# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
# Depends on: libarchive

name=pkgutils
version=5.40.10
release=1
source=(http://crux.nu/files/$name-$version.tar.xz \
pkgmk.conf)

build () {
cd $name-$version
make DESTDIR=$PKG install

install -D -m 0644 $SRC/pkgmk.conf $PKG/etc/pkgmk.conf
}
26 changes: 26 additions & 0 deletions pkgutils/pkgmk.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
#
# /etc/pkgmk.conf: pkgmk(8) configuration
#

export CFLAGS="-march=armv8.2-a+crc+crypto -mtune=cortex-a76 -O2 -pipe"
export CXXFLAGS="${CFLAGS}"

# export JOBS=$(nproc)
# export MAKEFLAGS="-j $JOBS"

# PKGMK_SOURCE_MIRRORS=()
# PKGMK_SOURCE_DIR="$PWD"
# PKGMK_PACKAGE_DIR="$PWD"
# PKGMK_WORK_DIR="$PWD/work"
# PKGMK_DOWNLOAD="no"
# PKGMK_IGNORE_SIGNATURE="no"
# PKGMK_IGNORE_MD5SUM="no"
# PKGMK_IGNORE_FOOTPRINT="no"
# PKGMK_IGNORE_NEW="no"
# PKGMK_NO_STRIP="no"
# PKGMK_DOWNLOAD_PROG="curl"
# PKGMK_WGET_OPTS=""
# PKGMK_CURL_OPTS=""
# PKGMK_COMPRESSION_MODE="gz"

# End of file
27 changes: 27 additions & 0 deletions ports/.footprint
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
drwxr-xr-x root/root etc/
drwxr-xr-x root/root etc/ports/
-rw-r--r-- root/root etc/ports/contrib.pub
-rw-r--r-- root/root etc/ports/contrib.rsync.inactive
-rw-r--r-- root/root etc/ports/core-arm64.httpup
-rw-r--r-- root/root etc/ports/core-arm64.pub
-rw-r--r-- root/root etc/ports/core.pub
-rw-r--r-- root/root etc/ports/core.rsync
drwxr-xr-x root/root etc/ports/drivers/
-rw-r--r-- root/root etc/ports/opt-arm64.httpup
-rw-r--r-- root/root etc/ports/opt-arm64.pub
-rw-r--r-- root/root etc/ports/opt.pub
-rw-r--r-- root/root etc/ports/opt.rsync
-rw-r--r-- root/root etc/ports/raspberrypi5-arm64.httpup
-rw-r--r-- root/root etc/ports/raspberrypi5-arm64.pub
-rw-r--r-- root/root etc/ports/xorg-arm64.httpup
-rw-r--r-- root/root etc/ports/xorg-arm64.pub
-rw-r--r-- root/root etc/ports/xorg.pub
-rw-r--r-- root/root etc/ports/xorg.rsync
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/bin/
-rwxr-xr-x root/root usr/bin/ports
drwxr-xr-x root/root usr/ports/
drwxr-xr-x root/root usr/share/
drwxr-xr-x root/root usr/share/man/
drwxr-xr-x root/root usr/share/man/man8/
-rw-r--r-- root/root usr/share/man/man8/ports.8.gz
21 changes: 21 additions & 0 deletions ports/.signature
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
untrusted comment: verify with /etc/ports/raspberrypi5-arm64.pub
RWSHgCHzkLZhngHfrd25QlJQGygWDjKcrqmFi0Y34rsBySYtvrsDE3ECmMGcvVruC+bWbg6qnzN/WPUHY4ayQiSTvJDWoeZsugg=
SHA256 (Pkgfile) = ce1b4ef30e5b999aaf70b0a9371036bdbcfdb29471d90f8a2b94a423a4152213
SHA256 (.footprint) = 9d94bf8555329fac8fec974021066692209fc10d069879caa95833c2f7882b39
SHA256 (ports-1.6.tar.gz) = 8b2ba48e7440f4a71fa1c9c480a1212ce87c623e1d33121eb660829ba294ca94
SHA256 (core.pub) = 5a08b7f21fb1768b9e639da0b768edb536de0590b75e663dab6d185617613791
SHA256 (opt.pub) = 4711f488546c38cdec792c1f16b3bf7c4db0c7dc0c3cdab0ecdd85e2c7247ae5
SHA256 (xorg.pub) = 5db27d455f658ea8a6c7ae9aac601d66e74cedff5dd497910fd1ffead08e5237
SHA256 (contrib.pub) = cae797c624547b5ffb643f4cdf60d83a7cc28081f5929b882d48085085d76190
SHA256 (core.rsync) = a241801eaa34ea78f7bb362574fb4b14ea272518894f8a27e95f6a3c93464550
SHA256 (opt.rsync) = 8538d1ced606856552e8a6989a3880b958ac5e0849d14aba199f3f89bd871845
SHA256 (xorg.rsync) = 3dd6884b2b628e8d9ae575b95fb7e4bad0f9ddd4ee4088d2486f846a407a0278
SHA256 (contrib.rsync.inactive) = 55621db4b59fb45ecc9525c72d59576043bacbd9261d9ef031dcd1a3fda00957
SHA256 (raspberrypi5-arm64.httpup) = ce7257f0d5112af9fbcb1cbda633356176f64c13ee83610c100ea880daff2a8b
SHA256 (raspberrypi5-arm64.pub) = 5c1333dd57ab59fc5a3fa7d6a7c25b9a7f5687d43a891529bf5a48a8d8586078
SHA256 (core-arm64.httpup) = d8c5caec76da7c6d181a3fee0bf188b3c3743918b5d1cfb4412ec05e3f1fa027
SHA256 (core-arm64.pub) = f0d3e788325112cc541116e261adbe2c14d0bbb921a66040badf0d9e030e0957
SHA256 (opt-arm64.httpup) = ecc098e677fca21f7439169ecba546a38ebad6d407fef1e311fffc2a17e53c94
SHA256 (opt-arm64.pub) = c079759a335314f26bc027856981a00f1251b3e6d782ae7317396e3908d9a9ee
SHA256 (xorg-arm64.httpup) = efb4d165e6fae7949899cb290618fea176acd4377122dc1adf814502e7a0dbb3
SHA256 (xorg-arm64.pub) = 1f54f0323e0f32fae1d9b6ef0e9f09a034ce4e39ebb36db59bcb5c2829ac62f5
24 changes: 24 additions & 0 deletions ports/Pkgfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Description: CRUX ports system tools
# URL: http://crux.nu
# Maintainer: CRUX System Team, core-ports at crux dot nu
# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
# Depends on:

name=ports
version=1.6
release=3
source=(http://crux.nu/files/tools/ports/$name-$version.tar.gz \
core.pub opt.pub xorg.pub contrib.pub \
core.rsync opt.rsync xorg.rsync contrib.rsync.inactive \
raspberrypi5-arm64.httpup raspberrypi5-arm64.pub \
core-arm64.httpup core-arm64.pub \
opt-arm64.httpup opt-arm64.pub \
xorg-arm64.httpup xorg-arm64.pub)

build () {
cd $name-$version
make
make DESTDIR=$PKG MANDIR=/usr/share/man install

install -m 0644 $SRC/*.{httpup,pub,rsync,inactive} $PKG/etc/ports
}
2 changes: 2 additions & 0 deletions ports/contrib.pub
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
untrusted comment: contrib public key
RWSagIOpLGJF3/J2edPyOdE4VWoyvvVvt3gdvOArUkvBrgSHjsBEdmrS
3 changes: 3 additions & 0 deletions ports/contrib.rsync.inactive
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
host=crux.nu
collection=ports/crux-3.7/contrib/
destination=/usr/ports/contrib
8 changes: 8 additions & 0 deletions ports/core-arm64.httpup
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#
# /etc/ports/core-arm64.httpup: CRUX-ARM aarch64 ports overlay for CRUX core collection
#

ROOT_DIR=/usr/ports/core-arm64
URL=https://raw.githubusercontent.com/crux-arm/crux-ports-core-arm64/3.7/

# End of file
2 changes: 2 additions & 0 deletions ports/core-arm64.pub
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
untrusted comment: core-arm64 public key
RWSKslkvIwb+2bjA0NpslEQw6uEtQsA3dB5BXTK8G0TAc06lLrnYaGLf
2 changes: 2 additions & 0 deletions ports/core.pub
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
untrusted comment: core public key
RWRJc1FUaeVeqsGlEPc66dguintWWomCSORUNseged62IATuMVCK0zu6
3 changes: 3 additions & 0 deletions ports/core.rsync
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
host=crux.nu
collection=ports/crux-3.7/core/
destination=/usr/ports/core
8 changes: 8 additions & 0 deletions ports/opt-arm64.httpup
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#
# /etc/ports/opt-arm64.httpup: CRUX-ARM ports overlay for CRUX opt collection
#

ROOT_DIR=/usr/ports/opt-arm64
URL=https://raw.githubusercontent.com/crux-arm/crux-ports-opt-arm64/3.7/

# End of file
2 changes: 2 additions & 0 deletions ports/opt-arm64.pub
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
untrusted comment: opt-arm64 public key
RWRitF9a2DJqMTHKFbth6ZV4WjxTZLrWrN3NtnDSoGS+/8ASNjfOvBij
2 changes: 2 additions & 0 deletions ports/opt.pub
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
untrusted comment: opt public key
RWSE3ohX2g5d/Zmwm/W4S8ZzNNTjXE7bI8XmnpawKOnQ+MiVa7TD0YC9
3 changes: 3 additions & 0 deletions ports/opt.rsync
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
host=crux.nu
collection=ports/crux-3.7/opt/
destination=/usr/ports/opt
8 changes: 8 additions & 0 deletions ports/raspberrypi5-arm64.httpup
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#
# /etc/ports/raspberrypi5-arm64.httpup: CRUX-ARM aarch64 ports overlay for RaspberryPi 5
#

ROOT_DIR=/usr/ports/raspberrypi5-arm64
URL=https://raw.githubusercontent.com/crux-arm/crux-ports-raspberrypi5-arm64/3.7/

# End of file
2 changes: 2 additions & 0 deletions ports/raspberrypi5-arm64.pub
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
untrusted comment: raspverrypi5-arm64 public key public key
RWSHgCHzkLZhnlYyu7og4fIpU3guE+PAqZuyEBlT1SPpPKNjC+MNzI9u
8 changes: 8 additions & 0 deletions ports/xorg-arm64.httpup
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#
# /etc/ports/xorg-arm64.httpup: CRUX-ARM aarch64 ports overlay for CRUX xorg collection
#

ROOT_DIR=/usr/ports/xorg-arm64
URL=https://raw.githubusercontent.com/crux-arm/crux-ports-xorg-arm64/3.7/

# End of file
2 changes: 2 additions & 0 deletions ports/xorg-arm64.pub
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
untrusted comment: xorg-arm64 public key
RWQK42WfXMUBTNYixko6V1oqoGuisD1SHK9BLY0w9ND8jc2ur1ADpc92
2 changes: 2 additions & 0 deletions ports/xorg.pub
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
untrusted comment: xorg public key
RWTSGWF5Q7TndIlWcgmz/x/4xBWLbyPRmI3LyI8rsN/iahlpFpgNIwSR
3 changes: 3 additions & 0 deletions ports/xorg.rsync
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
host=crux.nu
collection=ports/crux-3.7/xorg/
destination=/usr/ports/xorg
18 changes: 18 additions & 0 deletions prt-get/.footprint
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
drwxr-xr-x root/root etc/
-rw-r--r-- root/root etc/prt-get.aliases
-rw-r--r-- root/root etc/prt-get.conf
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/bin/
lrwxrwxrwx root/root usr/bin/prt-cache -> prt-get
-rwxr-xr-x root/root usr/bin/prt-get
drwxr-xr-x root/root usr/share/
drwxr-xr-x root/root usr/share/man/
drwxr-xr-x root/root usr/share/man/man5/
-rw-r--r-- root/root usr/share/man/man5/prt-get.conf.5.gz
drwxr-xr-x root/root usr/share/man/man8/
-rw-r--r-- root/root usr/share/man/man8/prt-cache.8.gz
-rw-r--r-- root/root usr/share/man/man8/prt-get.8.gz
drwxr-xr-x root/root var/
drwxr-xr-x root/root var/lib/
drwxr-xr-x root/root var/lib/pkg/
-rw-r--r-- root/root var/lib/pkg/prt-get.locker (EMPTY)
7 changes: 7 additions & 0 deletions prt-get/.signature
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
untrusted comment: verify with /etc/ports/raspberrypi5-arm64.pub
RWSHgCHzkLZhnkSHX8XCZ5PePG/2WUeTqAEmyFAMdFKCU2E0HLm0VKh53k4Yuj+LVORQpiUW5p8kAqnI0rgyK9XbO7WWcOaqoAA=
SHA256 (Pkgfile) = ade6ded9ff960ea4ab6301beb05a102cc78ac9f948bc2e5360724c11b067736f
SHA256 (.footprint) = 26802764ae3ae1e1a73ea56c859b3415e250a72ea444af410381df8c8f5d3ac8
SHA256 (prt-get-5.19.6.tar.xz) = 6ea89df308e19a6239f260c91036805cd2063d0cd24a7427235849634dd49f0d
SHA256 (prt-get.conf) = 0258a75eed609a763ebcb23b5bd6355d8492394675500a5751a1b69b67608a03
SHA256 (prt-get.aliases) = df473d38e59d1d6cd859d986a5d6586fdc54bfd51663313c63a939e941984b7b
23 changes: 23 additions & 0 deletions prt-get/Pkgfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Description: A utility to simplify ports searching/installing
# URL: http://jw.smts.ch/files/crux/prt-get_quickstart.html
# Maintainer: CRUX System Team, core-ports at crux dot nu
# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
# Depends on:

name=prt-get
version=5.19.6
release=1
source=(http://crux.nu/files/prt-get-$version.tar.xz
prt-get.conf prt-get.aliases)

build() {
cd ${name}-${version}

./configure --prefix=/usr
make
make DESTDIR=$PKG install

install -m 644 $SRC/prt-get.{conf,aliases} $PKG/etc/
install -d $PKG/var/lib/pkg
touch $PKG/var/lib/pkg/prt-get.locker
}
9 changes: 9 additions & 0 deletions prt-get/README
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
NOTE:

Some people have reported problems when using optimizations larger than
-O2; typical symptoms are "prt-get install X" saying that a package is
installed while "prt-get update X" saying it's not, or "prt-get listinst"
printing just nothing.

If you experience strange effects, please try recompiling with
CXXFLAGS="-O2 -pipe"
9 changes: 9 additions & 0 deletions prt-get/prt-get.aliases
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
j2sdk: j2re
j2sdk: jre
jdk: jre
openmotif: lesstif
postfix: sendmail
exim: sendmail
qmail: sendmail
masqmail: sendmail
xorg: x11
51 changes: 51 additions & 0 deletions prt-get/prt-get.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
###
### prt-get conf
###

# note: the order matters: the package found first is used
prtdir /usr/ports/raspberrypi5-arm64
prtdir /usr/ports/core-arm64
prtdir /usr/ports/opt-arm64
prtdir /usr/ports/xorg-arm64
prtdir /usr/ports/core
prtdir /usr/ports/opt
prtdir /usr/ports/xorg

# the following line enables the user maintained contrib collection
#prtdir /usr/ports/contrib

### use mypackage form local directory
# prtdir /home/packages/build:mypackage

### log options:
# writelog enabled # (enabled|disabled)
# logmode overwrite # (append|overwrite)
# rmlog_on_success yes # (no|yes)
logfile /var/log/pkgbuild/%n.log
# path, %p=path to port dir, %n=port name
# %v=version, %r=release

### use alternate cache file (default: /var/lib/pkg/prt-get.cache
# cachefile /mnt/nfs/cache

### print README information:
# readme verbose # (verbose|compact|disabled)

### prefer higher versions in sysup / diff
# preferhigher no # (yes|no)

### use regexp search
# useregex no # (yes|no)

### run pre- and post-installs scripts; yes is equivalent to the
### --install-scripts option
# runscripts no # (no|yes)


### EXPERT SECTION ###

### alternative commands
# makecommand pkgmk
# addcommand pkgadd
# removecommand pkgrm
# runscriptcommand sh
8 changes: 8 additions & 0 deletions raspberrypi5-arm64.httpup
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#
# /etc/ports/raspberrypi5-arm64.httpup: CRUX-ARM aarch64 ports overlay for RaspberryPi 5
#

ROOT_DIR=/usr/ports/raspberrypi5-arm64
URL=https://raw.githubusercontent.com/crux-arm/crux-ports-raspberrypi5-arm64/3.7/

# End of file

0 comments on commit a1cb95f

Please sign in to comment.