[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Question on best approach to add debian/ packaging files into Linpac source code tree



Hello Christoph, Debian-Hams, Collin,

I'm actively working on making Linpac ( https://tracker.debian.org/pkg/linpac ) more Debian package friendly before I release the 0.28 version (currently it's the develop branch at linpac.sf.net).  I have successfully packaged a test version of Linpac0.28 by copying the various Ubuntu packaging files ( http://archive.ubuntu.com/ubuntu/pool/universe/l/linpac/linpac_0.24-3build2.debian.tar.xz ) but I've also noticed that there are some unique Debian centric file additions found on https://sources.debian.org/src/linpac/0.25-1/debian/ ).  Is this an acceptable approach to get these packaging files into the Linpac source code archive?  Would it be safe to:

   + add these debian/ files
into my Git repo's debian/ directory
   + update the date in https://sources.debian.org/src/linpac/0.25-1/debian/copyright/
   + add in this Debian gitlab-ci.yml file   (maybe this is a bad idea since it's Gitlab centric)?
   - Remove the "patches" directory as it's no longer needed - found in https://sources.debian.org/src/linpac/0.25-1/debian/patches/


I also have a question around the debian/control file.  In there, it cites a dependency on the "ax25-apps" which is technically correct but I actually don't use the Debian libax25/ax25-apps/ax25-tools built packages as they are using VERY old source code.  I use an alternative repo found at https://github.com/ve7fet/linuxax25 as it's more up to date compared to the original Debian deb repos found or even the source code found at http://git.linux-ax25.org/cgit (this later point is debatable as both have some common and divergent fixes).  Anyway, my issue here is the VE7FET repo names it's resulting .deb packages *without* a dash in the name: ax25apps vs. ax25-apss. 
--
$ dpkg -l | grep ax25
hi  ax25apps                                   2.0.1                                 amd64        collection of user tools for AX.25 Amateur Radio applications
hi  ax25tools                                  1.0.5                                 amd64        collection of AX.25 drivers and interface tools for Amateur Radio (non-X)
hi  libax25:amd64                              1.1.3                                 amd64        AX.25 runtime libraries for running Amateur Radio programs
ii  libax25-dev:amd64                          1.1.3                                 amd64        AX.25 development libraries for building and running Amateur Radio programs
--

Is it possible to change the control file to support a more generic package dependency list or some sort if OR?  Something like:
--
Build-Depends: debhelper-compat (= 13), libax25-dev, libncurses-dev, ax25-?apps
--

Is this a legal thing to do?

--David
KI6ZHD

Reply to: