notes on upstream debian/ files

Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
Jeff Carr 2023-01-29 11:02:02 -06:00
parent 823ef65c52
commit ce1b9970dc
2 changed files with 3 additions and 13 deletions

View File

@ -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

View File

@ -1,6 +1,7 @@
Source: coredns
Maintainer: Miek Gieben <miek@coredns.io>
Build-Depends: debhelper (>= 9), ca-certificates, curl, lsb-release, jq
Package: coredns
Architecture: any
Description: A modern DNS server written in GO