33 Commits

Author SHA1 Message Date
Antonio Pastor
0d939af403 netatalk: fix config/uci files handling in all variants
Config/uci files were not being included in -full variant.
Config files were also being lost in firmware upgrades for all variants.
Both issues fixed, including correct file permissions for config files.

Signed-off-by: Antonio Pastor <antonio.pastor@gmail.com>
2025-10-09 08:14:47 +02:00
Antonio Pastor
2a8fdf37dc netatalk: update to 4.3.2
Netatalk 4.3.x adds the option to use sqlite as a CNID DB. This
is now a config option for the full package.
(mysql is also an option but this has not been included here yet).

As CNID DB backends are now managed by the netatalk meta-daemon
the init script has been updated to use it instead of starting
afpd & dbd manually.

Cleaned up tab/space issues here and there.

Signed-off-by: Antonio Pastor <antonio.pastor@gmail.com>
2025-09-26 06:39:36 +03:00
Antonio Pastor
7cd8b345e4 netatalk: update to 4.2.2
As of netatalk-4.2.0 the iniparser library is a prerequisite.

Signed-off-by: Antonio Pastor <antonio.pastor@gmail.com>
2025-05-01 10:57:32 +03:00
Antonio Pastor
fa2eb8bf78 netatalk: fix small issues with sample config and config generation
Small issues with sample configureation caused services not to start
or flood log with errors.

Signed-off-by: Antonio Pastor <antonio.pastor@gmail.com>
2025-05-01 10:57:32 +03:00
Antonio Pastor
900e71b607 netatalk: add uci support
Signed-off-by: Antonio Pastor <antonio.pastor@gmail.com>
2025-02-02 19:12:30 +08:00
Antonio Pastor
0bd99d1cbb netatalk: create small and full variants
Small version includes only AFP file sharing to minimize size.
Base version adds AppleTalk. This matches the contents of the
existing package.
Full version includes everything that OpenWrt can support and
configuration option for build system (menuconfig).

Signed-off-by: Antonio Pastor <antonio.pastor@gmail.com>
2025-02-02 19:12:30 +08:00
Antonio Pastor
960fde3ace netatalk: update to 4.1.1
Signed-off-by: Antonio Pastor <antonio.pastor@gmail.com>
2025-02-02 19:12:30 +08:00
Antonio Pastor
c487146f17 netatalk: Update to 4.0.7
Maintainer: Antonio Pastor / @APCCV
Compile tested: ipq806x (24.10-rc2, snapshot)
Run tested: ipq806x - C2600 (snapshot): install apk, start/stop sfpd service & review logs

Description:
Bump to version 4.0.7

Signed-off-by: Antonio Pastor <antonio.pastor@gmail.com>
2024-12-06 10:38:44 +02:00
Antonio Pastor
07efd504aa netatalk: Remove apfstats feature to solve dependency issues
afpstats requires several libraries that would increase significantly final install size.

Signed-off-by: Antonio Pastor <antonio.pastor@gmail.com>
2024-11-05 06:25:16 +02:00
Antonio Pastor
09a2427c2a netatalk: Enable AppleTalk feature
Starting v4.0.0, netatalk brings back AppleTalk features lost in v3.
Updated description.

Signed-off-by: Antonio Pastor <antonio.pastor@gmail.com>
2024-11-03 22:06:08 +01:00
Antonio Pastor
049a055b76 netatalk: Clean up Makefile
Updated title.
Updated description.
Reordered to match most common layout

Signed-off-by: Antonio Pastor <antonio.pastor@gmail.com>
2024-11-03 22:06:08 +01:00
Antonio Pastor
d0abe3d52d netatalk: Update to 4.0.4
Maintainer: Antonio Pastor / @APCCV
Compile tested: ipq806x (23.05.3, snapshot)
Run tested: ipq806x - C2600: start server, connect from MacOS, read/write files to home share, create/update TimeMachine backups

Description:
No changes to package other than using latest available upstream code base. Starting Netatalk 4.x build uses meson instead of autotools.

Signed-off-by: Antonio Pastor <antonio.pastor@gmail.com>
2024-11-03 22:06:08 +01:00
Antonio Pastor
be5ca7d40f netatalk: Update to 3.2.5
Compile tested/run: ipq806x

No changes to package other than using latest available codebase.

Signed-off-by: Antonio Pastor <apccv@outlook.com>
2024-08-10 16:01:28 -07:00
Antonio Pastor
645b04cb4b netatalk: update to 3.2.0.
Commit restores package after it was removed from OpenWrt 21.02.
Signed-off-by: Antonio Pastor <apccv@outlook.com>
2024-06-23 11:05:52 -07:00
Alexandru Ardelean
51e67786c8 netatalk: drop package
Link to abandoned packages PR: https://github.com/openwrt/packages-abandoned/pull/18

AppleShare products have been unused for a while now (since Mac OS 9.2.2)
around 2002.
So, there should be fewer users requiring this package.

Last update of netatalk was in December 2018. Not sure if newer updates
will be created.

It's time to cut the cord on our end and move it to the abandoned packages.

Info: https://en.wikipedia.org/wiki/AppleShare

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2021-06-15 12:15:23 +03:00
Ilya Lipnitskiy
5d8d4fbbcb treewide: Run refresh on all packages
The crude loop I wrote to come up with this changeset:

  find -L package/feeds/packages/ -name patches | \
  sed 's/patches$/refresh/' | sort | xargs make

Signed-off-by: Ilya Lipnitskiy <ilya.lipnitskiy@gmail.com>
2021-02-20 16:02:15 -08:00
Liangbin Lian
e60ad5400e netatalk: fix compile error in mac os
fix compile error in mac os when dtrace installed.

Signed-off-by: Liangbin Lian <jjm2473@gmail.com>
2020-08-03 12:26:32 +03:00
Rosen Penev
8998415023 netatalk: fix compilation with GCC10
Upstream patch: https://github.com/Netatalk/Netatalk/pull/125

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-07-02 11:47:58 -07:00
Jan Pavlinec
299e5b0a9b treewide: add PKG_CPE_ID for better cvescanner coverage
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2019-09-17 12:40:26 +02:00
Alexandru Ardelean
476039e845 netatalk: bump to version 3.1.12
This change upgrades the package to version 3.1.12.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2019-01-02 20:05:18 +02:00
Eneas U de Queiroz
8e904792e9 netatalk: don't use bundled libevent
libevent2 bundled with netatalk is not compatible with openssl 1.1.x.
The binary that links to it, netatalk, is not included in the final
package, so there's no dependency to add.

Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
2018-12-06 18:48:06 -02:00
Andy Walsh
deaa180a5c netatalk: remove librpc depends
* disable nfsquota for now, since libtirpc misses some headers for it

Signed-off-by: Andy Walsh <andy.walsh44+github@gmail.com>
2018-08-13 00:58:48 +02:00
Alexandru Ardelean
2675e6813c netatalk: fix config files permissions
After checking in the ipkg-install dir of netatalk,
it seems that the permissions it sets to the conf-files
are 644.

 # ls -la lede/build_dir/target-mips_24kc_musl/netatalk-3.1.11/ipkg-install/etc
 -rw-r--r-- 1 sandu sandu   226 iun  5 20:53 afp.conf
 -rw-r--r-- 1 sandu sandu  1948 iun  5 20:53 dbus-session.conf
 -rw-r--r-- 1 sandu sandu 25037 iun  5 20:53 extmap.conf

While the Package/netatalk/install build rule overrides
them to 600.

According to
* https://github.com/openwrt/packages/issues/4318
* https://forum.lede-project.org/t/help-with-apple-filesharing-protocol-for-time-machine/3259/5
this is a problem in some setups.

So, this patch changes them to what the netatalk
package creators intended initially (i.e. 644).

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2017-06-05 21:02:09 +03:00
Alexandru Ardelean
820d998a97 netatalk: switch maintainer to me
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2017-06-05 18:25:56 +03:00
Alexandru Ardelean
59ec879f11 netatalk: upgrade to version 3.1.11
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2017-05-29 14:40:52 +03:00
Daniel Golle
ce5228c794 netatalk: update to version 3.1.10
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2016-09-19 19:11:09 +02:00
Daniel Golle
c0e0e7198e netatalk: update to version 3.1.9
* now a single config file in /etc/afp.conf
 * convert services to procd while at it
 * take over maintainership as the original maintainer is
   unresponsive (see #1550)

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2016-09-12 00:15:47 +02:00
Maxim Storchak
97c50ca2db netatalk: fix dependency: libattr instead of attr
Signed-off-by: Maxim Storchak <m.storchak@gmail.com>
2015-11-08 19:24:01 +02:00
Nicolas Thill
0fa95f0e25 netatalk: prevent use of LD_LIBRARY_PATH
Add a patch to prevent use of LD_LIBRARY_PATH when checking for BDB libs
This caused build failure when host = target

Signed-off-by: Nicolas Thill <nico@openwrt.org>
2014-09-05 15:49:09 +02:00
Nicolas Thill
829fd8fc9a netatalk: refresh patch
Signed-off-by: Nicolas Thill <nico@openwrt.org>
2014-09-05 15:43:01 +02:00
Etienne CHAMPETIER
c3cfd14535 netatalk: disable acl (fix the build)
Signed-off-by: Etienne CHAMPETIER <champetier.etienne@gmail.com>
2014-08-08 19:27:56 +02:00
W. Michael Petullo
691880699d netatalk: depend on attr
Signed-off-by: W. Michael Petullo <mike@flyn.org>
2014-08-07 17:03:09 -04:00
W. Michael Petullo
e943dbc6c0 Copy netatalk package from old repository
Signed-off-by: W. Michael Petullo <mike@flyn.org>
2014-08-07 17:02:57 -04:00