diff --git a/debian/changelog b/debian/changelog deleted file mode 100644 index b08a351..0000000 --- a/debian/changelog +++ /dev/null @@ -1,8 +0,0 @@ -netproc (0.5.5-1) unstable; urgency=low - - * Initial release. (Closes: #983520) - - Fix location install in makefile. - - Removed CFLAGS -march=native in makefile. - - emoved directory and root check in makefile. - - -- Mayco Souza Berghetti Wed, 24 Feb 2021 16:09:22 +0000 diff --git a/debian/control b/debian/control deleted file mode 100644 index 73d4612..0000000 --- a/debian/control +++ /dev/null @@ -1,19 +0,0 @@ -Source: netproc -Section: net -Priority: optional -Maintainer: Mayco Souza Berghetti -Build-Depends: - debhelper-compat (= 13), - libncurses-dev (>= 6.1), -Standards-Version: 4.5.1 -Homepage: https://github.com/berghetti/netproc - -Package: netproc -Architecture: any -Depends: - ${misc:Depends}, - ${shlibs:Depends}, -Description: tool to monitor network usage by processes - netproc monitors network traffic and tries to find out which process - this traffic belongs to, this is useful to identify the processes that - are consuming network resources and troubleshooting. diff --git a/debian/copyright b/debian/copyright deleted file mode 100644 index c073ebe..0000000 --- a/debian/copyright +++ /dev/null @@ -1,23 +0,0 @@ -Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ -Upstream-Name: netproc -Source: https://github.com/berghetti/netproc - -Files: * -Copyright: 2020-2021 Mayco Souza Berghetti - -License: GPL-3+ - This program is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - . - This package is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - . - You should have received a copy of the GNU General Public License - along with this program. If not, see . - . - On Debian systems, the complete text of the GNU General - Public License version 3 can be found in "/usr/share/common-licenses/GPL-3". diff --git a/debian/patches/0001-make.patch b/debian/patches/0001-make.patch deleted file mode 100644 index 9f6e164..0000000 --- a/debian/patches/0001-make.patch +++ /dev/null @@ -1,58 +0,0 @@ -Index: netproc-0.5.5/Makefile -=================================================================== ---- netproc-0.5.5.orig/Makefile -+++ netproc-0.5.5/Makefile -@@ -18,8 +18,8 @@ - - PROG_NAME=netproc - --PATH_DOC_INSTALL=$(DESTDIR)/usr/local/share/man/man8 --PATH_INSTALL=$(DESTDIR)/usr/local/sbin -+PATH_DOC_INSTALL=$(DESTDIR)/usr/share/man/man8 -+PATH_INSTALL=$(DESTDIR)/usr/sbin - - SRC=./src - BIN=./bin -@@ -34,7 +34,7 @@ ifdef DEBUG - CFLAGS+=-Wall -Wextra -pedantic -pedantic-errors -O0 -g - else - CPPFLAGS=-D NDEBUG -- CFLAGS+= -O2 -march=native -Wall -Wextra -+ CFLAGS+= -O2 -Wall -Wextra - endif - - LDLIBS=-lncurses -lpthread -@@ -79,25 +79,8 @@ distclean: clean - run: - sudo $(BIN)/$(PROG_NAME) - --# check if user has root privileges. --define checkifroot -- if [ `id -u` -ne 0 ]; then \ -- echo 'Need root privileges!'; \ -- exit 1; \ -- fi --endef -- --define checkbin -- if [ ! -e $(1) ]; then \ -- echo $(1)" not exist, try \"make\"."; \ -- exit 1; \ -- fi --endef -- - - install: -- @$(call checkifroot) -- @$(call checkbin, $(BIN)/$(PROG_NAME)) - @ install -d -m 755 $(PATH_INSTALL) - @ install --strip $(BIN)/$(PROG_NAME) $(PATH_INSTALL); \ - echo "Binary instaled in "$(PATH_INSTALL)"/"$(PROG_NAME) -@@ -107,7 +90,6 @@ install: - echo "Man page instaled in "$(PATH_DOC_INSTALL)/$(PROG_NAME)".8.gz" - - uninstall: -- @$(call checkifroot) - @ find $(PATH_DOC_INSTALL) $(PATH_INSTALL) -type f -name "$(PROG_NAME)*" \ - -delete -exec echo "Removed "{} \; - diff --git a/debian/patches/series b/debian/patches/series deleted file mode 100644 index dac1ac5..0000000 --- a/debian/patches/series +++ /dev/null @@ -1 +0,0 @@ -0001-make.patch diff --git a/debian/rules b/debian/rules deleted file mode 100755 index b275917..0000000 --- a/debian/rules +++ /dev/null @@ -1,9 +0,0 @@ -#!/usr/bin/make -f -#export DH_VERBOSE = 1 - -export DEB_BUILD_MAINT_OPTIONS = hardening=+all -export DEB_CFLAGS_MAINT_APPEND = -fPIE -D_FORTIFY_SOURCE=2 -export DEB_LDFLAGS_MAINT_APPEND = -fPIE -pie - -%: - dh $@ diff --git a/debian/source/format b/debian/source/format deleted file mode 100644 index 163aaf8..0000000 --- a/debian/source/format +++ /dev/null @@ -1 +0,0 @@ -3.0 (quilt) diff --git a/debian/upstream/signing-key.asc b/debian/upstream/signing-key.asc deleted file mode 100644 index 989c9bf..0000000 --- a/debian/upstream/signing-key.asc +++ /dev/null @@ -1,52 +0,0 @@ ------BEGIN PGP PUBLIC KEY BLOCK----- - -mQINBGAwAzgBEAC4VE75X2JFWoffMMqhd7qkYlHlhivRWamFH6VSCppn/AoB4dKp -6Jeg07oocvAvLIhbwtQKGPl/oGe9l7b8Ly12bFPViPXx8/gVyNXkKgTgW07CwD2I -+VqHELZUOCsY6dIv0orAOEm6AydZidR2TNlxfjXvepcD/mHFTGXq4VlejJ8EBn0a -ANqWsVMdXkdmO2rqps16qhlD2gTnpfQoTsdFjSvJFluno7V9JMEnVJZuK5ClOKXl -7hVWvI9EEqwVSHhJ/UiQcdGrxIzx41hzedCaAkuhLYbJQ58Y1Btc4EVqTA+b7jJA -HcmsOpOcF52wUrcEhUpzT6uqV5ovSVfiY/orRvcJBFEDxVpDRbeuIaxc+jr9dO92 -+7Hyy/6cX9xRcWsSeH0CeCg5DyCbF9xZSJiuHucOxBYNl40W/zjLjS7Hf8FuL2MM -nhzxLWfGLheZyeXtpuRMsPCun/Hdq1jCL8gde3XR21F+aPnLTFlbIMnuPMCRUwQk -lanyWV24vuB+c0+h+sxtpSMKR3f3ikNTsTiZCQxB7AvAqy1xgp8n2zbPTh47FJL9 -Av17xEnjj4gVHvrb8uUw/bn2+D9ZtbP7YdBAax7cfxo0R4RRbRuOoKW3eRZvu1E9 -cx8ZFyJQbAS6me7zZ7Teh5U6JQ2lEG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rWoZdU78ACkxcNyOPlL2r5o0o4c7JV8TDTAZIbZVHDTh0oR8xmPeEJQ -eNpG+v8FBx70rtOeZstM7MQ0PWwSNskt+cjXPTom6qVhvFnOo4YqTlEoW9vWRrXt -G6aV7+npbu/LdYa7z2IXxymRO3SKl//AN40wbgjEZ88NBignX4E0qjl9GxWytLcS -urxRUOJtRT23RBxx2cqHiljaoxz6l5XRfrPyRoAS11j2GlcEYdidOAfNS8j8bZpm -CmwlMEIOWaIPIWQDdKuC9C1nuZpfpT+EjbPd -=L54a ------END PGP PUBLIC KEY BLOCK----- diff --git a/debian/watch b/debian/watch deleted file mode 100644 index 2e50318..0000000 --- a/debian/watch +++ /dev/null @@ -1,3 +0,0 @@ -version=4 -opts="mode=git,pgpmode=gittag" \ -https://github.com/berghetti/netproc.git refs/tags/[a-z\-]*([\d\.]+)