AndreBL / ip6neigh

Giving local DNS names to IPv6 SLAAC addresses [OpenWrt/LEDE shell script]
GNU General Public License v2.0
114 stars 15 forks source link

IPK package #8

Open quthla opened 5 years ago

quthla commented 5 years ago

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 commented 5 years ago

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 commented 5 years ago

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 commented 1 year ago

Any update?

cvmiller commented 11 months ago

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.