CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
pkgutils: initial import
authorMatt Housh <jaeger@crux.ninja>
Tue, 14 Jan 2020 19:38:41 +0000 (13:38 -0600)
committerMatt Housh <jaeger@crux.ninja>
Tue, 14 Jan 2020 19:38:41 +0000 (13:38 -0600)
pkgutils/.footprint [new file with mode: 0644]
pkgutils/.signature [new file with mode: 0644]
pkgutils/Pkgfile [new file with mode: 0644]
pkgutils/pkgmk.conf.patch [new file with mode: 0644]

diff --git a/pkgutils/.footprint b/pkgutils/.footprint
new file mode 100644 (file)
index 0000000..675aac2
--- /dev/null
@@ -0,0 +1,21 @@
+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/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
diff --git a/pkgutils/.signature b/pkgutils/.signature
new file mode 100644 (file)
index 0000000..23d8b35
--- /dev/null
@@ -0,0 +1,6 @@
+untrusted comment: verify with /etc/ports/raspberrypi4-arm.pub
+RWTV8P04Wo/3fyIvJRLlW8rcIe16skxNDOx+v4VEci+26OSRLqSeWL0HAN0aNJkd6CLuHf+35L+MezbmqZ5OZqBd4k8kADUZ0QE=
+SHA256 (Pkgfile) = 584806ef17a01d25735029be7d615dbcde72f0ae7fd2e3dbe61f02ca403b6477
+SHA256 (.footprint) = e7d863393a07a29b512a2b627a65f731d8896bf0ee75cf430a9b1423716ae437
+SHA256 (pkgutils-5.40.7.tar.xz) = ee9e3e7258983ffabe5959736e8f029c02b0ea1037b2bb588a88daafcda0fafc
+SHA256 (pkgmk.conf.patch) = 66823e90a345e85cf230da4b2f5b7fff8b7b095fe776e0db76b514e90594dbec
diff --git a/pkgutils/Pkgfile b/pkgutils/Pkgfile
new file mode 100644 (file)
index 0000000..1e5f59c
--- /dev/null
@@ -0,0 +1,17 @@
+# 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.7
+release=1
+source=(http://crux.nu/files/$name-$version.tar.xz \
+        pkgmk.conf.patch)
+
+build () {
+  cd $name-$version
+  patch -p0 -i $SRC/pkgmk.conf.patch
+  make DESTDIR=$PKG install MANDIR=/usr/share/man
+}
diff --git a/pkgutils/pkgmk.conf.patch b/pkgutils/pkgmk.conf.patch
new file mode 100644 (file)
index 0000000..4d98e99
--- /dev/null
@@ -0,0 +1,11 @@
+--- pkgutils-5.40.7/pkgmk.conf 2018-02-14 10:17:57.000000000 -0600
++++ pkgmk.conf 2020-01-14 13:12:06.618184571 -0600
+@@ -2,7 +2,7 @@
+ # /etc/pkgmk.conf: pkgmk(8) configuration
+ #
+-export CFLAGS="-O2 -march=x86-64 -pipe"
++export CFLAGS="-O2 -march=armv8-a+crc -mtune=cortex-a72 -pipe"
+ export CXXFLAGS="${CFLAGS}"
+ # export JOBS=$(nproc)