summaryrefslogtreecommitdiffstats
path: root/src/at/local.at
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-08-07 13:30:08 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-08-07 13:30:08 +0000
commit44cf9c6d2d274eac37502e835155f7e985f1b8e6 (patch)
tree9576ba968924c5b9a55ba9e14f4f26184c62c7d4 /src/at/local.at
parentAdding upstream version 1.22.6. (diff)
downloaddpkg-44cf9c6d2d274eac37502e835155f7e985f1b8e6.tar.xz
dpkg-44cf9c6d2d274eac37502e835155f7e985f1b8e6.zip
Adding upstream version 1.22.7.upstream/1.22.7
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/at/local.at')
-rw-r--r--src/at/local.at26
1 files changed, 26 insertions, 0 deletions
diff --git a/src/at/local.at b/src/at/local.at
index a49311c..8f5fc88 100644
--- a/src/at/local.at
+++ b/src/at/local.at
@@ -52,6 +52,32 @@ m4_define([DPKG_FILE_SIZE], [
$PERL -E 'say -s shift' "$1" dnl
])
+# DPKG_AR()
+m4_define([DPKG_AR], [dnl
+ "$top_srcdir/build-aux/run-script" scripts/dpkg-ar.pl dnl
+])
+
+# DPKG_AR_GEN()
+m4_define([DPKG_AR_GEN], [
+ DPKG_AR --create $1 $2
+])
+
+# DPKG_AR_LIST()
+m4_define([DPKG_AR_LIST], [
+ DPKG_AR --list $1
+])
+
+# DPKG_AR_EXTRACT()
+m4_define([DPKG_AR_EXTRACT], [
+ DPKG_AR --extract $1 $2
+])
+
+# DPKG_CHECK_DIFF($file_out, $file_exp)
+m4_define([DPKG_CHECK_DIFF], [
+ cp "$2" expout
+ AT_CHECK([cat "$1"], [], [expout])
+])
+
# DPKG_GEN_FSYS()
m4_define([DPKG_GEN_DB], [
mkdir -p DPKG_DIR_INST