[hamradio-commits] [axmail] 04/04: Added patch to fix Lintian hardning error, changed descriptions in control file, snipped relevant data for changelog

Dave Hibberd hibby-guest at moszumanska.debian.org
Sat Sep 19 21:39:38 UTC 2015


This is an automated email from the git hooks/post-receive script.

hibby-guest pushed a commit to branch master
in repository axmail.

commit d4f1d4478adb8ccba43ad879adc7aa6f2d7d1989
Author: Dave Hibberd <d at vehibberd.com>
Date:   Sat Sep 19 21:33:08 2015 +0100

    Added patch to fix Lintian hardning error, changed descriptions in control file,
    snipped relevant data for changelog
---
 debian/control            |  8 +++++---
 debian/patches/fix_cflags | 15 +++++++++++++++
 debian/patches/series     |  1 +
 debian/rules              |  6 ++++++
 4 files changed, 27 insertions(+), 3 deletions(-)

diff --git a/debian/control b/debian/control
index ba01e76..89b8f93 100644
--- a/debian/control
+++ b/debian/control
@@ -10,7 +10,9 @@ Vcs-Git: http://anonscm.debian.org/git/pkg-hamradio/axmail.git
 Homepage: http://sourceforge.net/projects/axmail/
 
 Package: axmail
-Architecture: any
+Architecture: any 
 Depends: ${shlibs:Depends}, ${misc:Depends}
-Description: A mail user agent intended to provide mail functions via a node frontend in an ax.25 environment.
- axMail provides a simplem low-overhead user interface, similar to /bin/mail, xNOS and other packet BBS systems. It's useful for providing good SMTP mail services for ax.25 users over slow radio channels
+Description: Mail user agent for ax.25 users, accessed via a node frontend
+ axMail provides a simple low-overhead user interface, similar to /bin/mail, 
+ xNOS and other packet BBS systems. It's useful for providing good SMTP mail 
+ services for ax.25 users over slow radio channels
diff --git a/debian/patches/fix_cflags b/debian/patches/fix_cflags
new file mode 100644
index 0000000..d8ca85d
--- /dev/null
+++ b/debian/patches/fix_cflags
@@ -0,0 +1,15 @@
+Description: Patch to enable debhelper to pick suitable CFLAGS
+Author: Dave Hibberd <d at vehibberd.com>
+Last-Update: 2015-09-19
+
+--- a/Makefile
++++ b/Makefile
+@@ -2,7 +2,7 @@
+ 
+ CC = gcc
+ LD = gcc
+-CFLAGS = -O2 -Wstrict-prototypes -g -I../lib
++# CFLAGS = -O2 -Wstrict-prototypes -g -I../lib
+ LIBS = -lcrypt
+ MODULES = utils.o config.o adduser.o command.o mailcmd.o mbox.o head.o lock.o axmail.o quit.o
+ 
diff --git a/debian/patches/series b/debian/patches/series
index ef35b5d..cb21668 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
+fix_cflags
 install_locations
 install_dir_creation
diff --git a/debian/rules b/debian/rules
index 2d33f6a..fbf29c7 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,3 +2,9 @@
 
 %:
 	dh $@
+
+# Cut changelog from README and place in a changelog file
+
+override_dh_auto_build:
+	cat README | sed '27,338!d' > changelog
+	dh_auto_build

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-hamradio/axmail.git



More information about the pkg-hamradio-commits mailing list