From: Matt Housh Date: Wed, 6 Jan 2021 22:53:07 +0000 (-0600) Subject: pkgutils: initial import, version 5.40.7 X-Git-Url: http://gitweb/?a=commitdiff_plain;h=f05c42cda9a91e8b25b9d90a754856b36d9fe018;p=ports%2Fraspberrypi4-arm64.git pkgutils: initial import, version 5.40.7 --- diff --git a/pkgutils/.footprint b/pkgutils/.footprint new file mode 100644 index 0000000..675aac2 --- /dev/null +++ b/pkgutils/.footprint @@ -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 index 0000000..ac1950e --- /dev/null +++ b/pkgutils/.signature @@ -0,0 +1,6 @@ +untrusted comment: verify with /etc/ports/raspberrypi4-arm64.pub +RWTd3JU7yDA/Kdd+2FKVSR6OM3huU+383oy7HFrWcj9ge2+ZxRNG9IRPeoWCYIkaQvXcAXUz97BXULhYdVHIi849vlClYLmU8gk= +SHA256 (Pkgfile) = 584806ef17a01d25735029be7d615dbcde72f0ae7fd2e3dbe61f02ca403b6477 +SHA256 (.footprint) = e7d863393a07a29b512a2b627a65f731d8896bf0ee75cf430a9b1423716ae437 +SHA256 (pkgutils-5.40.7.tar.xz) = ee9e3e7258983ffabe5959736e8f029c02b0ea1037b2bb588a88daafcda0fafc +SHA256 (pkgmk.conf.patch) = 1d4eb90d87a67c23b7fcf0c5c69305080537d7811b96b4218f293537ca9dc9cf diff --git a/pkgutils/Pkgfile b/pkgutils/Pkgfile new file mode 100644 index 0000000..1e5f59c --- /dev/null +++ b/pkgutils/Pkgfile @@ -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 index 0000000..1196abc --- /dev/null +++ b/pkgutils/pkgmk.conf.patch @@ -0,0 +1,11 @@ +--- pkgutils-5.40.7/pkgmk.conf 2018-02-14 16:17:57.000000000 +0000 ++++ pkgmk.conf 2021-01-06 20:25:58.604586555 +0000 +@@ -2,7 +2,7 @@ + # /etc/pkgmk.conf: pkgmk(8) configuration + # + +-export CFLAGS="-O2 -march=x86-64 -pipe" ++export CFLAGS="-march=armv8-a+crc+simd -mtune=cortex-a72 -ftree-vectorize -O2 -pipe -fomit-frame-pointer" + export CXXFLAGS="${CFLAGS}" + + # export JOBS=$(nproc)