Fixing "dep5-copyright-license-name-not-unique" and "missing-license-paragraph-in-dep5-copyright"

2015-11-20 Thread T o n g
Hi, I need to fix "dep5-copyright-license-name-not-unique" and "missing- license-paragraph-in-dep5-copyright" for my package. Ref, https:// lintian.debian.org/maintainer/suntong...@users.sourceforge.net.html#dbab but I really don't know how to fix them. E.g., I found one example of fixing "dep

From mentors to Debian repo

2015-01-11 Thread T o n g
Hi, What happens when I have *more than one* version uploaded to mentors, then ftp master upload the package to the official Debian repo? It happened to me twice, and twice had the older package appear in official Debian repo, instead of my newly uploaded latest version. Is it possible to del

Re: Bug#773611: Fwd: RFS: histring/1.1.1-1 [ITP] - general purpose highlighting tool

2014-12-28 Thread T o n g
Hi mentors, All fixes are done and a new package is uploaded. Please sponsor it. The respective dsc file can be found at: http://mentors.debian.net/debian/pool/main/h/histring/histring_1.1.1-1.dsc Once again, here is the package information: >> Dear mentors, >> >> Please sponsor for my newly

Re: Bug#773611: Fwd: RFS: histring/1.1.1-1 [ITP] - general purpose highlighting tool

2014-12-21 Thread T o n g
On Sun, 21 Dec 2014 18:30:04 +1100, Riley Baird wrote: > Hi! I'm not a DD, so I can't sponsor your package, but here are some > things that I've noticed... Thanks for the review, I'll fix them all. >>> * It may be a good idea to make releases as tarballs still, instead of >>> just making Debian

overriding lintian tags

2014-12-20 Thread T o n g
Hi, I have the following lintian tags that I want to override: ~~~ W: zh-autoconvert: binary-without-manpage usr/bin/autob5 W: zh-autoconvert: binary-without-manpage usr/bin/autogb ~~~ So in my debian/override file, I tried all of: ~~~ zh-autoconvert binary: binary-without-manpage usr/bin/aut

Re: Sample Debian package to show-case all

2014-12-14 Thread T o n g
On Mon, 15 Dec 2014 10:53:59 +0800, Paul Wise wrote: >> - the most simplified Makefile > > This is upstream stuff not Debian stuff... > Ultimately you should have no patches because ... If we can influence upstream, why don't we get their structure right at the first place? If Debian can't in

Sample Debian package to show-case all

2014-12-14 Thread T o n g
Hi, Is there a *simple* sample Debian package somewhere out there that show- case most of the important Debian packaging aspects? E.g., with a small C/C++ file, the sample package shows - the latest standard of debian/rules file - the most simplified Makefile - how to build from ./configure -

Re: Sample systemd service init file please

2014-12-14 Thread T o n g
On Mon, 15 Dec 2014 08:09:30 +0900, Norbert Preining wrote: >> +if HAVE_SYSTEMD > > Shouldn't that be > ifdef HAVE_SYSTEMD Thank you Norbert & Russ, with both of your helps, everything builds fine now. Thanks! -- To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org with a s

Re: Sample systemd service init file please

2014-12-14 Thread T o n g
On Sat, 13 Dec 2014 21:00:56 -0800, Russ Allbery wrote: >> Can you provide me a sample systemd service init file, that correspond >> to init.d script please? I.e., the corresponding file for systemd to >> replace /etc/init.d/service. > > Take a look at the lbcd package in Debian. It has an init

Re: How to let different programs use same man page

2014-12-14 Thread T o n g
Thanks Riley, you've been extremely helpful. On Sun, 14 Dec 2014 15:34:05 +1100, Riley Baird wrote: > Looking at the gzip source, it seems that ... -- To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.or

How to let different programs use same man page

2014-12-13 Thread T o n g
Hi, What's the trick to have different programs use same man page when packaging a Debian package? E.g., say I'm packaging gzip, and I want both `man gzip` and `man gunzip` goes to the same man file. How can I make it happen? Thanks -- To UNSUBSCRIBE, email to debian-mentors-requ...@list

Re: Please sponsor dbab, the dnsmasq-based ad-blocker

2014-12-13 Thread T o n g
On Sat, 13 Dec 2014 07:14:18 +1100, Riley Baird wrote: > here are some things that I've noticed: > > [...] All fixed. > * d/docs is empty. You should include dbab.html. You meant this? echo 'dbab.html' > debian/docs Thanks -- To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian

Sample systemd service init file please

2014-12-13 Thread T o n g
Hi, Can you provide me a sample systemd service init file, that correspond to init.d script please? I.e., the corresponding file for systemd to replace /etc/init.d/service. My package have that /etc/init.d/service file, but I want to create one for systemd as well. I am asking because I don'

Please sponsor dbab, the dnsmasq-based ad-blocker

2014-12-05 Thread T o n g
Dear mentors, I'd like to bring your attention again to dbab, the innovative dnsmasq- based ad-blocker that will benefit most people. Here is my sales-pitch again: Ever want to remove Ads and speed up your (iphone/ipad) mobile device browsing without installing any apps to them? Sounds too good

Re: Self-maintained Debian packages best practice

2014-11-30 Thread T o n g
On Sun, 30 Nov 2014 18:12:06 +0100, Santiago Vila wrote: >> > In the past, having a `debian/` directory upstream was a pain because >> > we didn't have a proper way to remove a file if needed. Nowadays, it >> > is perfectly fine if you use a 3.0 format. >> >> Fine in which way ? > > It's fine be

Self-maintained Debian packages best practice

2014-11-30 Thread T o n g
Hi, I'm currently hosting my self-maintained Debian packages on GitHub. Here is my dilemma: - It is commonly recommended not to put the `debian` folder within the source tree so as to make it easier for other distros. - So I did. I did not put my `debian` folder within the source tree on my

Re: Fixing the warning of Depends field unknown substitution variable ${perl:Depends}

2014-11-29 Thread T o n g
Thanks a lot Russ. I found my problem happens to be more than that, I.e., I should deal with "empty-binary-package" first. Once I got it properly build I see perl shows up on the Depends line. Depends: perl, dnsmasq, curl Sorry about the noise. Thanks again. On Sat, 29 Nov 2014 18:29:52

Re: Fixing the warning of Depends field unknown substitution variable ${perl:Depends}

2014-11-29 Thread T o n g
On Sat, 29 Nov 2014 21:26:10 +0100, Stephen Kitt wrote: >> My packages gives this warning: >> >> dpkg-gencontrol: warning: Depends field of package dbab: unknown >> substitution variable ${perl:Depends} >> >> I am packaging Perl stuff, and I do use IO::Socket::INET in my code. > If you > thin

Fixing the warning of Depends field unknown substitution variable ${perl:Depends}

2014-11-29 Thread T o n g
Hi, My packages gives this warning: dpkg-gencontrol: warning: Depends field of package dbab: unknown substitution variable ${perl:Depends} I am packaging Perl stuff, and I do use IO::Socket::INET in my code: https://github.com/suntong001/dbab/blob/master/src/bin/dbab-svr In https://lists.d

Re: To fix error: binary file contents changed

2014-09-14 Thread T o n g
On Sun, 14 Sep 2014 12:14:13 +0600, Andrey Rahmatullin wrote: >> The source is at https://github.com/suntong001/histring/ >> it is *very* small. > This package can't be built. You need to make sure you provide working > examples when you ask for help, otherwise people will stop helping you > quick

Re: To fix error: binary file contents changed

2014-09-13 Thread T o n g
On Fri, 12 Sep 2014 09:10:10 +0600, Andrey Rahmatullin wrote: > On Fri, Sep 12, 2014 at 02:28:34AM +0000, T o n g wrote: >> Hi, >> >> My histring has this "binary file contents changed" error, how to fix >> it? >> >> Here is the build log: >&g

Re: Please help fix lintian hardening-no-relro problem

2014-09-13 Thread T o n g
On Fri, 12 Sep 2014 08:11:42 +0100, Azazel wrote: >> Just out of curiosity, the source package I uploaded, >> http://mentors.debian.net/debian/pool/main/h/histring/ histring_1.1.0-2.dsc >> should be working according to your above principle, but why it is >> failing? > > Because you weren't using

To fix error: binary file contents changed

2014-09-11 Thread T o n g
Hi, My histring has this "binary file contents changed" error, how to fix it? Here is the build log: dpkg-source: info: using options from histring-1.1.0/debian/source/ options: --extend-diff-ignore=^Makefile$ fakeroot debian/rules clean dh clean dh_testdir dh_auto_clean

Re: Please help fix lintian hardening-no-relro problem

2014-09-11 Thread T o n g
On Thu, 11 Sep 2014 09:07:27 +0100, Azazel wrote: > Now that you've raised the debhelper compat level from 5 to 9, dh should > do the right thing. Just revert the changes in which you ripped out the > auto-tooling, e.g.: OMG, you are my hero Azazel! histring is the package that I want to take u

Re: Please help fix lintian hardening-no-relro problem

2014-09-10 Thread T o n g
Thanks for your response. On Sun, 07 Sep 2014 16:55:14 +0600, Andrey Rahmatullin wrote: > On Sat, Sep 06, 2014 at 08:56:50PM +0000, T o n g wrote: >> Yes, that's the first thing I tried, but still get the "hardening-no- >> relro" problem: >> https://github

Re: Please help fix lintian hardening-no-relro problem

2014-09-06 Thread T o n g
On Sat, 06 Sep 2014 14:03:10 +0600, Andrey Rahmatullin wrote: >> Please help me fix the lintian "hardening-no-relro" problem. As >> mentioned before, I've tried several ways myself but none worked. I've >> uploaded the source package to >> http://mentors.debian.net/debian/pool/main/h/histring/ his

Please help fix lintian hardening-no-relro problem

2014-09-05 Thread T o n g
[Re-try again as my previous question ended up as "Message not available" in the mail archive] Please help me fix the lintian "hardening-no-relro" problem. As mentioned before, I've tried several ways myself but none worked. I've uploaded the source package to http://mentors.debian.net/debian/p

Re: Please help fix lintian hardening-no-relro problem

2014-08-28 Thread T o n g
On Thu, 28 Aug 2014 14:32:32 +0600, Andrey Rahmatullin wrote: > On Thu, Aug 28, 2014 at 12:50:23AM +0000, T o n g wrote: >> >> Please help me fix the lintian "hardening-no-relro" problem. My code >> >> is at https://github.com/suntong001/histring (it is *very

Re: Please help fix lintian hardening-no-relro problem

2014-08-27 Thread T o n g
On Mon, 25 Aug 2014 13:56:29 +0600, Andrey Rahmatullin wrote: >> Please help me fix the lintian "hardening-no-relro" problem. My code is >> at https://github.com/suntong001/histring (it is *very* small). > The proper way is just to bump debian/compat to 9. > >> I tried to ... >> +DPKG_EXPORT_BU

Please help fix lintian hardening-no-relro problem

2014-08-24 Thread T o n g
hi, Please help me fix the lintian "hardening-no-relro" problem. My code is at https://github.com/suntong001/histring (it is *very* small). I tried to fix it myself, using the method from https://wiki.debian.org/Hardening and https://groups.google.com/forum/#!msg/debian-bollin/ Ixk9usNsbKw/0eaJ

Re: Please help translate old rules file on the installation rules

2014-07-13 Thread T o n g
On Mon, 14 Jul 2014 04:06:16 +, T o n g wrote: > On Mon, 14 Jul 2014 00:26:22 +0200, Ross Gammon wrote: > >>> On Sun, 13 Jul 2014 22:29:37 +0600, Andrey Rahmatullin wrote: >>> >>>> dh_install(1) is a program, not a target. >>>> >>>

Re: Please help translate old rules file on the installation rules

2014-07-13 Thread T o n g
On Mon, 14 Jul 2014 00:26:22 +0200, Ross Gammon wrote: >> On Sun, 13 Jul 2014 22:29:37 +0600, Andrey Rahmatullin wrote: >> >>> dh_install(1) is a program, not a target. >>> install -m 755 ddclient \ $(DESTDIR)/usr/sbin/ddclient install -D -m 755 debian/ddclient.NetworkManager \ >

Separate gpg signing from package building

2014-07-13 Thread T o n g
Hi, Is it possible to separate gpg signing from package building? As I'm still trying to learn Debian package building, I've found myself fallen into this silly loop many times -- Thinking that the package would be fine, I build it with gpg signing, but only to find out minutes later that I

Re: Please help translate old rules file on the installation rules

2014-07-13 Thread T o n g
On Sun, 13 Jul 2014 22:29:37 +0600, Andrey Rahmatullin wrote: > dh_install(1) is a program, not a target. > >> install -m 755 ddclient \ >>$(DESTDIR)/usr/sbin/ddclient >> >> install -D -m 755 debian/ddclient.NetworkManager \ >>$(DESTDIR)/etc/NetworkManager/dispatcher.d/

Re: Please help translate old rules file on the installation rules

2014-07-13 Thread T o n g
On Sun, 13 Jul 2014 18:18:21 +0600, Andrey Rahmatullin wrote: >> I saw in the log, >> >>... >>dh_installdirs >> debian/rules override_dh_auto_install >> make[1]: Entering directory '/export/build/pkg/ddclient/bld/ >> ddclient-3.8.2' >> install -m 755 ddclient \ >> /usr/sbin/ddclient >

Re: Please help translate old rules file on the installation rules

2014-07-13 Thread T o n g
On Sun, 13 Jul 2014 18:19:08 +0600, Andrey Rahmatullin wrote: >> I used the `dh_make` to create a new rules file, but found that what I >> want to install are not in the final package. >> >> Here is what the old rules file looks like: >> >> install: build >> dh_testdir dh_testroot dh_clean

Re: Resources that help to learn to solve Debian packaging problems by example

2014-07-13 Thread T o n g
On Sun, 13 Jul 2014 12:02:05 +0200, Ross Gammon wrote: >>> I'm wondering if there is a central place that I can search for all >>> Debian change logs for all packages, to see if the same lintian >>> problem I'm having now have been dealt with before, and also see how >>> exactly those lintian prob

About debuild -i

2014-07-12 Thread T o n g
Hi, What's that '-i' is for in the 'debuild -i' command? I was looking for it in debuild & dpkg-buildpackage man pages but still wasn't sure what it is for. The actual whole command I use is: debuild -i -us -uc -b I found that if I use -i I will get the following problems, whereas if -i

Resources that help to learn to solve Debian packaging problems by example

2014-07-12 Thread T o n g
Hi, I'm wondering if there is a central place that I can search for all Debian change logs for all packages, to see if the same lintian problem I'm having now have been dealt with before, and also see how exactly those lintian problems are fixed. Thanks -- To UNSUBSCRIBE, email to debian

The SCRIPTSCOMMON tag

2014-07-12 Thread T o n g
On Sat, 12 Jul 2014 09:36:34 +0200, Vincent Bernat wrote: > I think this warning hide another problem with your modifications is > that the SCRIPTSCOMMON tag doesn't get extended anymore. Ensure that > dh_installscripts-common is still executed. Ah, you are right. script -c "debuild -i -us -uc

Re: Please help translate old rules file on the installation rules

2014-07-12 Thread T o n g
On Sat, 12 Jul 2014 13:23:16 +, T o n g wrote: > override_dh_auto_install: > install -m 755 ddclient \ > $(DESTDIR)/usr/sbin/ddclient > > install -D -m 755 debian/ddclient.NetworkManager \ > $( )/etc/NetworkManager/dispatcher.d/50-ddclient >

Re: Please help translate old rules file on the installation rules

2014-07-12 Thread T o n g
On Sat, 12 Jul 2014 13:14:23 +, T o n g wrote: >>> # main packaging script based on dh7 syntax %: >>> dh $@ >>> >>> override_dh_auto_install: >>> install -m 755 ddclient \ >>> $(DESTDIR)/usr/sbin/ddclient >&g

Re: Please help translate old rules file on the installation rules

2014-07-12 Thread T o n g
On Sat, 12 Jul 2014 09:27:32 +0200, Vincent Bernat wrote: >> # main packaging script based on dh7 syntax %: >> dh $@ >> >> override_dh_auto_install: >> install -m 755 ddclient \ >>$(DESTDIR)/usr/sbin/ddclient >> >> install -D -m 755 debian/ddclient.NetworkManager \ >>

where are these lintian problems coming from

2014-07-11 Thread T o n g
Hi, Do I need to care about the lintian problems from the binary package that I maintain/build? For the following problems, I have no idea where they come from: N: Processing binary package ddclient (version 3.8.2-1, arch all) ... W: ddclient: using-imperative-form-in-templates ddclient/fetc

Please help translate old rules file on the installation rules

2014-07-11 Thread T o n g
Hi, I used the `dh_make` to create a new rules file, but found that what I want to install are not in the final package. Here is what the old rules file looks like: install: build dh_testdir dh_testroot dh_clean -k dh_installdirs install -m 755 ddclien

git shallow clone from Debian anonscm git

2014-07-09 Thread T o n g
Hi, How can I do a git shallow clone from Debian anonscm git? The project I want to clone is http://anonscm.debian.org/gitweb/?p=collab-maint/ddclient.git;a=summary in the package's description, the git url is git://anonscm.debian.org/collab-maint/ddclient.git Thus, I tried "git clone --de

Re: lintian usage and inconsistence problem

2014-01-28 Thread T o n g
On Tue, 28 Jan 2014 07:34:20 +0100, Niels Thykier wrote: >>> $ lintian -EviIL +pedantic --color auto --display-experimental >>> ../*.dsc >>> [...] >>> I.e., when I invoke lintian manually, I didn't see problems reported >>> by debuild. >> >> Lintian can check both source packages (*.dsc) or bin

lintian usage and inconsistence problem

2014-01-27 Thread T o n g
Hi, I'm having problem using lintian. This was my previous question: On Thu, 23 Jan 2014 15:49:31 -0500, Tong wrote: > On Thu, Jan 23, 2014 at 7:50 AM, Eriberto > wrote: >> You have a lintian message yet: >> >> I: shc: spelling-error-in-manpage usr/share/man/man1/shc.1.gz comand >> command >>

Re: Requirement for compat level 9

2014-01-04 Thread T o n g
On Sat, 04 Jan 2014 18:39:23 -0500, Stephen M. Webb wrote: >> How can I make sure my building environment is at compat level 9? > >>From he debhelper(7) manpage: > > Tell debhelper what compatibility level to use by writing a number to > debian/compat. For example, to turn on v9 mode: > >

Requirement for compat level 9

2014-01-04 Thread T o n g
On Sat, 04 Jan 2014 17:22:49 -0500, Stephen M. Webb wrote: > The instructions available on the web are for older versions of the > build infrastructure. The debhelper(7) manual page does mention > dpkg-buildflags flags are passed through at compat level 9, but it isn't > necessarily obvious what

pkg-has-shlibs-control-file-but-no-actual-shared-libs triggered by a private shared library

2014-01-04 Thread T o n g
Hi, > "pkg-has-shlibs-control-file-but-no-actual-shared-libs is sometimes triggered for packages with a private shared library due to a bug in Debhelper" That seems to have bitten me. E: zh-autoconvert: pkg-has-shlibs-control-file-but-no-actual-shared-libs W: zh-autoconvert: postinst-has-u

Re: Please help me fix these build problems

2014-01-04 Thread T o n g
Thanks. On Fri, 03 Jan 2014 11:34:10 -0500, Stephen M. Webb wrote: >> W: zh-autoconvert: hardening-no-relro usr/bin/autogb > > To fix this one, you need to add $CPPFLAGS and $LDFLAGS to your linker > command line in your Makefile. And add the following at the top of the Makefile as well: # use

Re: Bug#733987: RFS: dbab/1.0.1 [ITP] - dnsmasq-based ad-blocking using pixelserv

2014-01-04 Thread T o n g
On Thu, 02 Jan 2014 16:20:57 -0500, Tong Sun wrote: > Package: sponsorship-requests Severity: normal > > Dear mentors, > > I am packing "The Best Ad Blocking Method"[1] into a Debian package > and am > looking for a sponsor for my package "dbab", which starts with > reviewing it first. >

Re: Bug#733987: RFS: dbab/1.0.1 [ITP] - dnsmasq-based ad-blocking using pixelserv

2014-01-03 Thread T o n g
On Fri, 03 Jan 2014 17:29:18 -0600, Michael Shuler wrote: > Prior to sending additional emails - make sure your build actually > works. Oh I'm terribly sorry. Will do... -- To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listma

Re: dpkg-source: version does not contain a revision

2014-01-03 Thread T o n g
On Fri, 03 Jan 2014 22:02:00 +0100, Niels Thykier wrote: > I guess (without having it confirmed) that your package has a "native" > version (i.e. without a "dash"). For 3.0 (quilt) packages your package > must have a non-native version (e.g. 1.0.1-1). BINGO. Thanks -- To UNSUBSCRIBE, email to

Re: Bug#733987: RFS: dbab/1.0.1 [ITP] - dnsmasq-based ad-blocking using pixelserv

2014-01-03 Thread T o n g
On Thu, 02 Jan 2014 17:44:33 -0600, Michael Shuler wrote: > 1) incomplete source and debian packaging (symlinked to nowhere) > 2) native package (version 1.0.1 and debian/ dir should be separate from > upstream source) Hi everyone, I've just uploaded a new version which should have fixed both i

dpkg-source: version does not contain a revision

2014-01-03 Thread T o n g
Hi, What's the cause (and fix) of the following error? dpkg-source -b dbab-1.0.1 dpkg-source: error: can't build with source format '3.0 (quilt)': version does not contain a revision dpkg-buildpackage: error: dpkg-source -b dbab-1.0.1 gave error exit status 255 Thanks -- To UNSUBSCR

Please help me fix these build problems

2014-01-03 Thread T o n g
Hi, I'm trying to convert zh-autoconvert from pre-dh to using the dh for the making. I don't know how to fix the following problems: W: zh-autoconvert: hardening-no-relro usr/bin/autogb E: zh-autoconvert: pkg-has-shlibs-control-file-but-no-actual-shared-libs W: zh-autoconvert: postinst-has-use

Re: Bug#733987: RFS: dbab/1.0.1 [ITP] - dnsmasq-based ad-blocking using pixelserv

2014-01-03 Thread T o n g
Thank you Michael for your review. On Thu, 02 Jan 2014 17:44:33 -0600, Michael Shuler wrote: > 1) incomplete source and debian packaging (symlinked to nowhere) OK. didn't know that when I was using lndir. Easy fix. > 2) native package (version 1.0.1 and debian/ dir should be separate from > u

Re: File modification and the copyright

2014-01-03 Thread T o n g
On Thu, 02 Jan 2014 14:59:42 -0800, Russ Allbery wrote: > Usually I . . . Thanks, as always! -- To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/la6gpb$i8$3...@ger.gm

File modification and the copyright

2014-01-02 Thread T o n g
Hi, If I take a simple file (BSD-licensed), (greatly) improved it, and include it in my package. How should I handle the situation? - I should claim that the author of the new file is me, right? - I should inherit the BSD-licensed, right? - How to express that the new file was based on another

Re: empty-binary-package

2014-01-02 Thread T o n g
On Thu, 02 Jan 2014 11:44:28 -0800, Russ Allbery wrote: > You're building multiple binary packages from the same source package. > This means that the Debian package build infrastructure has no inherent > way of determining which files go into which package. You have to tell > it explicitly. Ext

empty-binary-package

2014-01-02 Thread T o n g
Hi, I am doing test build of my binary package, and I get the following warnings. W: zh-autoconvert: empty-binary-package I checked and it *is* empty, only containing copyright and changelog, nothing else. I don't know why because it looks like the installation was fine. I've post the bui

Re: generic debian/rules that creates directories

2014-01-02 Thread T o n g
On Wed, 01 Jan 2014 21:00:18 -0800, Russ Allbery wrote: > There have been several replies to this, but none of them quite tell you > exactly what to do, so let me take a stab at that. > > First, dh_installdirs is not actually useful for solving this particular > problem . . . Thank you, thank y

Re: generic debian/rules that creates directories

2014-01-01 Thread T o n g
On Thu, 02 Jan 2014 00:23:42 +0100, Gergely Nagy wrote: >> Is it possible to alter the following `debian/rules` file so that it >> plays nicely with such upstream Makefiles? > > Yes. You want to use dh_installdirs(1). I suggest you read its manpage. > Mind you, you won't need to touch debian/rule

generic debian/rules that creates directories

2014-01-01 Thread T o n g
Hi, Is it possible to have a generic debian/rules that creates directories? The upstream Makefiles was not designed to install into $DESTDIR but to /, so it assumes /usr/bin exists, while that creates problems for me: install -s -m 755 autogb /export/build/zh-autoconvert/bld/zh- autoconvert-

Solved: To edit an existing quilt patch (fuzz is not allowed when applying patches)

2014-01-01 Thread T o n g
On Wed, 01 Jan 2014 20:54:40 +, T o n g wrote: > I'm trying to manually converted my packages to 3.0 (quilt) source > format, > and have gone so far as made dpkg-source recognize my efforts, Having read https://wiki.debian.org/UsingQuilt over 3 to 5 times, and starting from s

To edit an existing quilt patch (fuzz is not allowed when applying patches)

2014-01-01 Thread T o n g
Hi, I'm trying to manually converted my packages to 3.0 (quilt) source format, and have gone so far as made dpkg-source recognize my efforts, with some minor issues: dpkg-source -b zh-autoconvert-0.3.16 dpkg-source: info: using source format `3.0 (quilt)' dpkg-source: info: building zh-

Re: About the testing transition known as auto-libunwind

2013-12-22 Thread T o n g
On Sun, 22 Dec 2013 10:20:50 +0100, Niels Thykier wrote: >In the particular case, not much. libunwind is somewhat a special case... Thanks a lot for your detailed explanation Niels! -- To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Co

About the testing transition known as auto-libunwind

2013-12-21 Thread T o n g
Hi, I want to adopt the par2cmdline package, but on its QA page, http://packages.qa.debian.org/p/par2cmdline.html it says, ,- | "This package is part of the ongoing testing transition known as | auto-libunwind. Please avoid uploads unrelated to this | transition, they would likely delay it

[Help] Usable command options parser for C

2013-12-21 Thread T o n g
Hi, I know that the best command options parser is the GNU getopt(3) routines. I know that the GNU has a wrapper to generate C code around the GNU getopt(3) routines -- the http://www.gnu.org/software/gengetopt/. However, that wrapper, gengetopt, is dated and lacks of maintenance now. It is

Packaging review for my newly adopted

2013-12-21 Thread T o n g
Hello all, Could I get a packaging review for my newly adopted/built package please? The zh-autoconvert, Chinese encodings auto-converter, was orphaned more than two years ago. Lintian reports 6 errors and 34 warnings about this package (http://lintian.debian.org/maintainer/y...@debian.org

Maintaining Perl module turned packages

2013-12-07 Thread T o n g
Hi, dh-make-perl is good to turn a CPAN module into Debian package. However, it is still not clear to me how to maintain such built source packages. Having fine-tuned all the control files under debian/ folder, how can I make the changes to the new upstream release? My upstream don't have g

Building Perl modules that have dependencies

2013-12-07 Thread T o n g
Hi, How to build to Debian source packages from Perl modules that have (alien) dependencies? I.e., the dependencies are not exist yet. - Can I specify multiple Perl modules to cpan2dsc/dh-make-perl? - Or should I build the dependencies into binary packages and install them first? - Or should

Re: dpkg-source: error: cannot write /tmp/temp-lintian-lab-...

2013-12-06 Thread T o n g
On Sat, 07 Dec 2013 03:28:14 +, T o n g wrote: > Well, I'll try building it outside docker... building it outside docker is fine. So, will look into the problem sometimes later... -- To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org with a subject of &quo

dpkg-source: error: cannot write /tmp/temp-lintian-lab-...

2013-12-06 Thread T o n g
Thanks A LOT for the swift response. On Sat, 07 Dec 2013 11:09:14 +0800, Paul Wise wrote: >> - dpkg-source: error: cannot write /tmp/temp-lintian-lab-... > > Something is wrong with your /tmp directory. It is probably either full > or has incorrect permissions. I suspect it has something to do

Please help fix these build errors

2013-12-06 Thread T o n g
Hi, I get some strange build error - dpkg-source: error: cannot write /tmp/temp-lintian-lab-... - unknown substitution variable ${shlibs:Depends} Here are the details: $ debuild -us -uc [ . . . ] /usr/bin/install -c -m 644 file/dbab.list- /export/build/dbab/git/ dbab-1.0.1/debian/dbab/etc

Re: file-in-unusual-dir and binary-without-manpage

2013-12-06 Thread T o n g
On Sat, 07 Dec 2013 10:20:57 +0800, Paul Wise wrote: > Only that the Makefile doesn't create a directory for it and assumes > that it exists already. Ahhh!!! THANKS! -- To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas..

Re: file-in-unusual-dir and binary-without-manpage

2013-12-06 Thread T o n g
On Sat, 07 Dec 2013 09:19:37 +0800, Paul Wise wrote: > Don't symlink the manual page, that isn't useful at all. Just ignore the > warning until you or upstream have written a useful manual page. OK. will do. >> $(INSTALL) -m 644 file/dbab.addr $(etcdir) > > This command installs the fi

file-in-unusual-dir and binary-without-manpage

2013-12-06 Thread T o n g
Thanks a lot Robert for your comprehensive help. I found your https://github.com/ramses0/xscreensaver-pi-hdmi/ an excellent example for me to follow as well. Now, On Sun, 01 Dec 2013 13:04:19 -0800, Robert Ames wrote: >> I want to pack a simple perl script >> (http://proxytunnel.sourceforge.net

packaging perl programs

2013-12-01 Thread T o n g
Hi, I want to pack a simple perl script (http://proxytunnel.sourceforge.net/ files/pixelserv.pl.txt) as a package, but need your help. I've checked out the Debian Perl Policy http://www.debian.org/doc/packaging-manuals/perl-policy/ and believe the script is fine. But I don't know if there

Debian/Ubuntu Package Developing with Docker, Continued

2013-11-17 Thread T o n g
Hi, Last time I posted about that Docker being the best tool for developing Debian/Ubuntu packages [1]. If you missed it, here is the recap: - The reason Docker being the best tool for developing Debian/Ubuntu packages is that, it gives you isolated pure & pristine environments to build packa

How to determine build dependency

2013-11-16 Thread T o n g
Hi, How to determine build dependencies? I was using 'dpkg-depcheck -d ./configure ...', but that seems to have included much more than necessary. For example for emacs, using motif instead of gtk3, I get [1], but I don't think x11proto-randr-dev, libxinerama-dev, libxrandr-dev, libgl1- mes

Re: DESTDIR Support for debian/install

2013-11-15 Thread T o n g
On Fri, 15 Nov 2013 18:05:45 -0800, Russ Allbery wrote: >> All usr/bin/ files have been successfully generated under >> debian/glimpse/ usr/bin. Should I change all 'usr' to >> 'debian/glimpse/usr' without knowing why, or there is more proper way >> to fix it? > > It looks like you're installing

DESTDIR Support for debian/install

2013-11-15 Thread T o n g
On Mon, 11 Nov 2013 12:11:53 -0800, Russ Allbery wrote: > Upstream doesn't appear to support DESTDIR in their build system and is > just trying to install things directly under prefix. You can possibly > work around this by setting prefix to $(CURDIR)/debian/tmp, but this > really should be fixed

Re: Cannot create regular file under /usr/share/man/man1

2013-11-11 Thread T o n g
On Mon, 11 Nov 2013 21:14:48 +0100, Dominik George wrote: >> I took a look at the good build, which is glimpse-4.18.5, and I see: >> >> for d in glimpse.1 glimpseindex.1 glimpseserver.1 ; do \ >> /usr/bin/install -c -m 444 $d >> /export/build/glimpse/bld/ >> glimps

Re: Cannot create regular file under /usr/share/man/man1

2013-11-11 Thread T o n g
On Mon, 11 Nov 2013 23:40:46 +0600, Andrey Rahmatullin wrote: >> >> for d in glimpse.1 glimpseindex.1 glimpseserver.1 ; do \ >> >> /usr/bin/install -c -m 444 $d /usr/share/man/man1 ; \ >> >> done >> > >> > Obviously, that should be ${DESTDIR}/usr/share/man/man1 . Hmm... I don't know

Re: Cannot create regular file under /usr/share/man/man1

2013-11-11 Thread T o n g
On Mon, 11 Nov 2013 17:21:11 +0100, Dominik George wrote: >> for d in glimpse.1 glimpseindex.1 glimpseserver.1 ; do \ >> /usr/bin/install -c -m 444 $d /usr/share/man/man1 ; \ >> done > > Obviously, that should be ${DESTDIR}/usr/share/man/man1 . So given the rules file posted in

Cannot create regular file under /usr/share/man/man1

2013-11-11 Thread T o n g
Hi, The package that I'm planning to maintain gives me the following error at the end of the build: for d in glimpse.1 glimpseindex.1 glimpseserver.1 ; do \ /usr/bin/install -c -m 444 $d /usr/share/man/man1 ; \ done /usr/bin/install: cannot create regular file '/usr/shar

Re: Debian/Ubuntu Package Developing with Docker

2013-11-10 Thread T o n g
On Sun, 10 Nov 2013 19:36:16 -0500, Paul Tagliamonte wrote: >> I found that Docker is the best tool for developing Debian/Ubuntu >> packages, but seems no one has talked about it in Debian world > > In fact, I have. I've got a few tools brewing for Debian that use > Docker. I've got it packaged a

Debian/Ubuntu Package Developing with Docker

2013-11-10 Thread T o n g
Hi, I found that Docker is the best tool for developing Debian/Ubuntu packages, but seems no one has talked about it in Debian world. So here is mine [1]. [1] http://sfxpt.wordpress.com/2013/11/10/debianubuntu-package-developing- with-docker/ If you build your packages with pbuilder, then you

Upgrading the Debian Policy

2013-09-24 Thread T o n g
Hi, The package that I want to pick up has a status: "The package should be updated to follow the last version of Debian Policy (Standards-Version 3.9.4 instead of 3.8.3)". I never knew the details of Debian Policy before, but did try to read the policy from 3.8.4 to 3.9.4, and find it a rat

Re: Bug#716852: Fwd: Bug#716852: RFS: libpam-ssh-agent-auth/0.9.5-2.2 [ITP]

2013-07-22 Thread T o n g
On Sun, 21 Jul 2013 12:21:26 +0200, Paul Gevers wrote: > There is probably more to fix, but I spent enough time already Thanks a lot Paul for your detailed explanations. I'll look into them one by one. -- To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org with a subject of

Re: Empty binary package

2013-07-20 Thread T o n g
On Sat, 20 Jul 2013 18:17:20 +0200, Paul Gevers wrote: > I think these are the changes to the debian/rules in your mind, right? >> >> [ . . . ] > > Pretty close. . . Thanks a lot again Paul for all the helps you gave. My sponsor request has been sitting there for a while, http://bugs.debian

Re: Empty binary package

2013-07-20 Thread T o n g
On Sat, 20 Jul 2013 08:26:48 +0200, Paul Gevers wrote: >>> line, I put them there because I want to fix the following lintian >>> issues: >>> >>> W: libpam-ssh-agent-auth source: debian-rules-missing-recommended- >>> target build-arch >>> W: libpam-ssh-agent-auth source: debian-rules-missing-r

Re: Empty binary package

2013-07-19 Thread T o n g
On Sat, 20 Jul 2013 03:11:46 +, T o n g wrote: >>> Did you try to build debian binary package from there? >> >> So please tell me what you mean with this sentence, I just don't know >> what you mean. > > build debian binary package from the source pa

Re: Empty binary package

2013-07-19 Thread T o n g
On Fri, 19 Jul 2013 21:57:14 +0200, Paul Gevers wrote: - I then build the upstream into *source package* with 'debuild -S -sa', and then build the binary debian package *from this source package*. The binary package built this way is however empty. >>> >>> So how do you do the

Re: Empty binary package

2013-07-19 Thread T o n g
On Fri, 19 Jul 2013 08:38:49 +0200, Paul Gevers wrote: > On 19-07-13 05:13, T o n g wrote: >> As said in OP, > > Which I don't have anymore, so indeed please repeat it if you want my > help. It was still included in the message that I previously replied. >> - I un

Re: Empty binary package

2013-07-18 Thread T o n g
On Wed, 17 Jul 2013 21:17:49 +0200, Paul Gevers wrote: > On 17-07-13 20:30, Tong Sun wrote: >> >> >> Re: Empty binary package >> >> >>> I'm wondering why the binary package built from my source package is >>> empty. Here is what I've discovered so far: - If I unpack the ups

Re: Empty binary package

2013-07-18 Thread T o n g
On Thu, 18 Jul 2013 23:19:10 +0600, Andrey Rahmatullin wrote: >> If they provide a debian directory, that means to me that they have >> done their best to make sure their software can at least be packed into >> a Debian binary package in the limited Debian environment that they >> choose to test.

  1   2   >