Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IPK package #8

Open
quthla opened this issue Feb 9, 2019 · 4 comments
Open

IPK package #8

quthla opened this issue Feb 9, 2019 · 4 comments

Comments

@quthla
Copy link

quthla commented Feb 9, 2019

Can you maybe make this a regular OpenWrt package so it can be built and installed like other packages?
Reason is my router only has 4 MB flash so my curl is built without TLS hence I can't use the installer.

@AndreBL
Copy link
Owner

AndreBL commented Feb 14, 2019

That would look very cool, but I don't know how to do it and it seems a lot of work (one package for each architecture).

The script can be manually installed if you like, by downloading each file from GitHub, placing them in the right directories and making the scripts executable. Here's the install list from ip6neigh-setup.sh:

dir ${LIB_DIR}
dir ${SHARE_DIR}
file ${BIN_DIR}ip6neigh-setup ip6neigh-setup.sh x
file ${LIB_DIR}ip6addr_functions.sh lib/ip6addr_functions.sh
file ${SBIN_DIR}ip6neigh-svc.sh main/ip6neigh-svc.sh x
file ${BIN_DIR}ip6neigh main/ip6neigh.sh x
file /etc/init.d/ip6neigh etc/init.d/ip6neigh x
file /etc/hotplug.d/iface/30-ip6neigh etc/hotplug.d/iface/30-ip6neigh x
file ${TEMP_DIR}config etc/config/ip6neigh

dir A means create local directory A
file A B means copy online file B to local filename A
x at the end of the line means chmod +x file

and these are the paths

BIN_DIR="/usr/bin/"
SBIN_DIR="/usr/sbin/"
LIB_DIR="/usr/lib/ip6neigh/"
SHARE_DIR="/usr/share/ip6neigh/"

@quthla
Copy link
Author

quthla commented Feb 14, 2019

There are no binaries so I think one package would fit for all archs. It's pretty easy actually

https://github.com/mueslo/openwrt_hass_devicetracker/blob/master/packages/net/hass/Makefile

@bam80
Copy link

bam80 commented Sep 15, 2023

Any update?

@cvmiller
Copy link
Collaborator

There still isn't an update. But since this is an open source project, anyone is welcome to create a package and submit it to the OpenWrt Devs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants