It was regarding a kernel module used for Internationally-Licensed Amateur Radio communications. I'm able to install the module, but none of the necessary tools are available.
I finally located the closed bug report and found the following remark:
It sounds like these utilities would need to be added to the package feed. Please open a bug report at https://github.com/openwrt/packages/ or open a pull request adding the packages.
I guess:
Please explain what this means
And point me in the correct direction
To be honest, I've never contributed this high up the community-developed-software hierarchy.
Open an issue qualified as you see listed there, adding @maintainer in the description might help get the right attention, depends if it is still actively maintained. Going to the project website might be more direct.
Adding a PR means pick up the SW where things were left off, get it working and submit for inclusion in the codebase. This might be the only viable option in getting it active depending on interest level.
What is the project website (do you mean where the code is stored)?
If what is actively maintained...the software??? I just need it in binary form...why does it have to be "maintained." It's the only software that works worldwide to connect an Amateur Radio to a networked computer...so I'm sure there's interest.
If I understand a PR...that just means place the code into OpenWRT's build bot, correct? (this is what I seem to need, the code already exists)
The code exists, it just need to be compiled and packaged.
(This is a software suite where they're really can't be interest until the software works...this is included in every distro of Linux..THEY'RE THE BASIC TOOLS NEEDED FOR CONFIGURATION OF AX.25 INTERFACES...so I'm just a little confused here...)
I would simply copy the files from another distro, but OpenWRT is one of the few full distros built for my target.
It matters if it is maintained,because if something changes and package breaks we would be stuck with a broken package forever.
PR is short for a Pull Request,that is a way to request your code to be merged into OpenWRT on OpenWRT github.
So you basically need to either get maintainers of the software to wrike makefiles and if needed patches specific to OpenWRT for each package and get that merged.
I've sent an email to every author listed in the TAR files, I simply provided them your quote stating that something is needed (other than the source code).
I've always been told this software "is available in all Linux distributions," so this seems backwards - going back to the people that provided the software already...I'm also lost about the "broken package forever" issue...perhaps what the software does is not known...these people are university professors, Internet fixtures, etc...I don't understand what they may have left out of the software that's needed...it works on every computer...
Or...perhaps it's only confusing because I'm a N00b to this...or I'm actually becoming @maintainer???
You make an issue on https://bugs.openwrt.org/
PR is made when you have working code that you want to merge.
No, it is not available in all just by itself, it needs to have a maintainer and working makefile which will enable successful compilation.
What is there not to understand that OpenWRT changes all the time and stuff(Including packages can break).
So not having a person who is responsible for keeping that package working is not smart.
I really think the nature of the software stack is not understood. I mentioned:
This is extremely difficult and I assumed that this would be "added" to OpenWRT over 6 years ago...now I have people emailing me in different languages...I want to attmept to write the makefile myself...
So, I see a makefile in the TAR...will this file work, or do I have to create a new one???
If I make a new one, how does it become a package I can tell other Amateur Radio Operators to type opkg install foo from anywhere in the world (is that the PR)???
Makefiles are basically a recipe for toolchain how to compile and where to put compiled stuff for each package.
You can see them for any package in OpenWRT repository and OpenWRT packages repository.
So...How do I write such a file, COMPILE, AND INSTALL A WHOLE SUITE OF SOFTWARE, INTO VARIOUS DIRECTORIES, if I'm not using the router, and how do I DISTRIBUTE it via opkg install foo?
First of all, those packages look like they are not overly complicated to compile as they don't have some weird dependencies.
So, first take a look at simpler packages like nano in openwrt/packages so you can figure out the logic.
Simplest package is pretty much just a folder and a Makefile inside.
In Makefile you define stuff like name,version and location where to pull source code from.
Off course and all options and dependencies needed for building.
OK, I have a machine previously configured to crosscompile. So I assume that all I need to create are three makefiles...I then need to "run" them properly in the SDK...
...my machine should download the TAR.GZ files, compile and create 3 IPK files for these packages:
After decompressing the SDK archive, edit the feeds.conf.default file to add your packages, by default it has LEDE feeds, and you can add your own feeds, local or remote.
For example, you can add all packages you have in a local folder by adding this line
So I comment out all others and add the following:
src-link custom /home/user/ax25makefiles
And...in /home/user/ax25make, I simply add the 3 make files???
#
# Copyright (C) 2007-2014 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=libax25
PKG_VERSION:=0.0.12-rc4
PKG_RELEASE:=1
PKG_MAINTAINER:=XXXXX <xxxxx@gmail.com>
PKG_LICENSE:=LGPL-2.1-only
PKG_BUILD_DIR:=$(BUILD_DIR)/libax25-$(PKG_VERSION)
PKG_SOURCE:=http://www.linux-ax25.org/pub/libax25/libax25-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://www.linux-ax25.org/pub/libax25
PKG_MD5SUM:=9b2e6890ef20dd0cf8ac7fdb22e6a4b6
PKG_CAT:=zcat
include $(INCLUDE_DIR)/package.mk
define Package/libax25
SECTION:=base
CATEGORY:=Network
TITLE:=ax25 library for hamradio applications
URL:=http://www.linux-ax25.org/
DEPENDS:=+kmod-ax25
endef
define Package/libax25/description
This library is for ham radio applications that use the ax25
protocol. Included are routines to do ax25 address parsing, common
ax25 application config file parsing, etc.
endef
I wanted to confirm one thing:
DEPENDS:=+kmod-ax25
This means that if I install libax25, it will install kmod-ax25 - if it is not yet installed?