]> git.ozlabs.org Git - ppp.git/commitdiff
pppoe: Remove rp-pppoe.so symlink to not conflict with real rp-pppoe.so plugin (...
authorpali <7141871+pali@users.noreply.github.com>
Fri, 30 Jul 2021 03:29:01 +0000 (05:29 +0200)
committerGitHub <noreply@github.com>
Fri, 30 Jul 2021 03:29:01 +0000 (13:29 +1000)
Backward compatibility symlink is there already for one ppp release. Remove
it for next ppp release to not conflict with real rp-pppoe.so plugin. So
both ppp's pppoe.so and rp's rp-pppoe.so plugins can be installed together.

Now when conversion to automake was done, it is a good time to drop this
problematic symlink from default installation.

Signed-off-by: Pali Rohár <pali@kernel.org>
pppd/plugins/pppoe/Makefile.am

index 9c0f0fe041a9feeea27c6877de971335caf782ac..e3c01cd054e9e03282ba2a9893b0bc9c9e4b3471 100644 (file)
@@ -12,11 +12,3 @@ pppoe_la_SOURCES = plugin.c discovery.c if.c common.c
 
 pppoe_discovery_CPPFLAGS = -I${top_srcdir} -I${top_srcdir}/include
 pppoe_discovery_SOURCES = pppoe-discovery.c debug.c
-
-install-exec-hook:
-       (mkdir -p $(DESTDIR)/$(pppd_plugindir); \
-        cd $(DESTDIR)$(pppd_plugindir); \
-        $(LN_S) -f pppoe.so rp-pppoe.so)
-
-uninstall-hook:
-       (cd $(DESTDIR)$(pppd_plugindir); rm -f rp-pppoe.so)