From 45cf4a57839c4e85d57418b2c2a1ea8a4be098e5 Mon Sep 17 00:00:00 2001 From: Jose Beneyto Date: Sat, 6 Jan 2024 21:01:41 +0100 Subject: [PATCH] pkgutils: update to 5.40.10 --- pkgutils/.footprint | 22 ++++++++++++++++++++++ pkgutils/.md5sum | 2 ++ pkgutils/Pkgfile | 23 +++++++++++++++++++++++ pkgutils/pkgmk.conf | 26 ++++++++++++++++++++++++++ 4 files changed, 73 insertions(+) create mode 100644 pkgutils/.footprint create mode 100644 pkgutils/.md5sum create mode 100644 pkgutils/Pkgfile create mode 100644 pkgutils/pkgmk.conf diff --git a/pkgutils/.footprint b/pkgutils/.footprint new file mode 100644 index 0000000..5815b8f --- /dev/null +++ b/pkgutils/.footprint @@ -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 diff --git a/pkgutils/.md5sum b/pkgutils/.md5sum new file mode 100644 index 0000000..f96fc01 --- /dev/null +++ b/pkgutils/.md5sum @@ -0,0 +1,2 @@ +85245be2b5d9482400e24c57bddea89a pkgmk.conf +e0656b4b1cb17aa24e859036db5cd806 pkgutils-5.40.10.tar.xz diff --git a/pkgutils/Pkgfile b/pkgutils/Pkgfile new file mode 100644 index 0000000..98a5e01 --- /dev/null +++ b/pkgutils/Pkgfile @@ -0,0 +1,23 @@ +# 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 + + # The old -std=c++0x is only needed for older compiler versions that did not + # support -std=c++11 and they chose that name to express the preliminary and + # unstable nature of features (and the ABI) + export CXXFLAGS="$CXXFLAGS -std=c++0x" + make DESTDIR=$PKG install + + install -D -m 0644 $SRC/pkgmk.conf $PKG/etc/pkgmk.conf +} diff --git a/pkgutils/pkgmk.conf b/pkgutils/pkgmk.conf new file mode 100644 index 0000000..f928945 --- /dev/null +++ b/pkgutils/pkgmk.conf @@ -0,0 +1,26 @@ +# +# /etc/pkgmk.conf: pkgmk(8) configuration +# + +export CFLAGS="-O2 -pipe -mtune=strongarm1110" +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