From 94aa368cff322e667156571638a45bd3117a2739 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Mon, 15 Jan 2024 19:00:41 -0600 Subject: garbage collect after cleaning to retain history --- debian/Makefile | 50 -------------------------------------------------- debian/compat | 1 - debian/control | 9 --------- debian/postinst | 1 - 4 files changed, 61 deletions(-) delete mode 100644 debian/Makefile delete mode 100644 debian/compat delete mode 100644 debian/control delete mode 100755 debian/postinst (limited to 'debian') diff --git a/debian/Makefile b/debian/Makefile deleted file mode 100644 index 6f4f534..0000000 --- a/debian/Makefile +++ /dev/null @@ -1,50 +0,0 @@ -# GITVERSION=$(shell git rev-parse FETCH_HEAD) -VERSION=$(shell git describe --tags $(git rev-list --tags --max-count=1) | sed 's/^v//') - -BASENAME=control-panel-dns - -all: help deb - -help: - @echo - @echo "make deb # attempt to build the .deb package using dpkg" - @echo - -deb: clean extract DEBIAN build - -clean: - rm -rf ../files - rm -f ../*.deb - rm -f ../*.tar.xz data.tar.xz - rm -rf DEBIAN - -extract: - mkdir -p ../files/usr/bin - mkdir -p ../files/usr/lib/control-panel-dns/ - -cp ~/go/src/go.wit.com/gui/toolkit/*.so ../files/usr/lib/control-panel-dns/ - cp ../README.md ../files/usr/lib/control-panel-dns/ - cp ../control-panel-dns ../files/usr/bin/ - -# makes the DEBIAN/ directory -DEBIAN: - mkdir -p DEBIAN - - # make the md5sum file - cd ../files/ && find -type f -exec md5sum '{}' \; |sort -k2 >../md5sums - mv ../md5sums DEBIAN/ - - # make the control there - mkdir -p DEBIAN - cp control DEBIAN/ - echo Version: ${VERSION} >>DEBIAN/control - - cp postinst DEBIAN - -build: - mv DEBIAN ../files/ - cd .. && dpkg-deb --build files ${BASENAME}_${VERSION}_amd64.deb - @echo - @echo '#######################' - cd .. && dpkg-deb --info ${BASENAME}_${VERSION}_amd64.deb - @echo '#######################' - @echo diff --git a/debian/compat b/debian/compat deleted file mode 100644 index f599e28..0000000 --- a/debian/compat +++ /dev/null @@ -1 +0,0 @@ -10 diff --git a/debian/control b/debian/control deleted file mode 100644 index 1a46081..0000000 --- a/debian/control +++ /dev/null @@ -1,9 +0,0 @@ -Source: control-panel-dns -Build-Depends: golang -Package: control-panel-dns -Maintainer: Jeff Carr -Architecture: amd64 -Depends: -Recommends: libgtk-3-0, ddclient, ddupdate -Description: a control panel for DNS and IPv6 settings - Goals: show the settings, validate & update DNS diff --git a/debian/postinst b/debian/postinst deleted file mode 100755 index 1a24852..0000000 --- a/debian/postinst +++ /dev/null @@ -1 +0,0 @@ -#!/bin/sh -- cgit v1.2.3