From ce1b9970dcc676c191150a66187ee9aa46b51fbd Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Sun, 29 Jan 2023 11:02:02 -0600 Subject: [PATCH] notes on upstream debian/ files Signed-off-by: Jeff Carr --- coredns/Makefile | 15 ++------------- coredns/control | 1 + 2 files changed, 3 insertions(+), 13 deletions(-) diff --git a/coredns/Makefile b/coredns/Makefile index 59a4d41..29bfcee 100644 --- a/coredns/Makefile +++ b/coredns/Makefile @@ -1,4 +1,5 @@ -.PHONY: control +# debian files were taking from upstream: +# git clone https://github.com/coredns/debian.git # TARBALL=~/tmp/flutter-3.7.0-1.5.pre.tgz VERSION=1.10.1 @@ -57,15 +58,3 @@ build: mv DEBIAN ../files/ cd .. && dpkg-deb --build files ${BASENAME}_${VERSION}.${MINOR}_amd64.deb cd .. && dpkg-deb --info ${BASENAME}_${VERSION}.${MINOR}_amd64.deb - -# how to make a debian package "raw" just using tar and ar -# -# READ THIS AGAIN: -# -# A .deb file is just output from 'ar rcs' -# -tar-ar: control - cd DEBIAN && tar --ignore-failed-read -cvJf ../control.tar.xz . - cd files && tar -cvJf ../data.tar.xz . - ar rcs ${BASENAME}_${VERSION}.${MINOR}_amd64.deb debian-binary control.tar.xz data.tar.xz - dpkg-deb --info ${BASENAME}_${VERSION}.${MINOR}_amd64.deb diff --git a/coredns/control b/coredns/control index 5eb50c9..83795cf 100644 --- a/coredns/control +++ b/coredns/control @@ -1,6 +1,7 @@ Source: coredns Maintainer: Miek Gieben Build-Depends: debhelper (>= 9), ca-certificates, curl, lsb-release, jq + Package: coredns Architecture: any Description: A modern DNS server written in GO