Skip to content

Commit

Permalink
Remove Solaris module code (#515)
Browse files Browse the repository at this point in the history
This code has not been updated for a long time, and nominally targets
an OS whose owner (Oracle) has all but abandoned.  It includes
zlib code which has CVEs against it, and it is unknown whether any
of them would be exploitable in this context.

Illumos, which is an OpenSolaris fork, has forked Solaris-native
drivers, which should probably work with the user-space pppd code
here.

Signed-off-by: Paul Mackerras <[email protected]>
  • Loading branch information
paulusmack authored Sep 12, 2024
1 parent 5ea05ff commit e48a9b5
Show file tree
Hide file tree
Showing 32 changed files with 2 additions and 20,172 deletions.
39 changes: 2 additions & 37 deletions Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -6,21 +6,7 @@ if PPP_WITH_PLUGINS
SUBDIRS += pppd/plugins
endif

DIST_SUBDIRS = $(SUBDIRS) common include modules scripts

#
# *HACK*
# This is to work around the kernel module for PPP on Sun Solaris
if SUNOS
all-am:
(cd solaris ; $(MAKE) -f Makefile)

clean-generic:
(cd solaris ; $(MAKE) -f Makefile clean)

install-am:
(cd solaris ; $(MAKE) -f Makefile install)
endif
DIST_SUBDIRS = $(SUBDIRS) include scripts

install-data-hook:
(cd $(DESTDIR)/$(sysconfdir)/$(PACKAGE) ; \
Expand Down Expand Up @@ -54,27 +40,6 @@ EXTRA_README = \
SETUP \
Submitting-patches.md

EXTRA_SOLARIS = \
solaris/Makedefs \
solaris/Makedefs.gcc \
solaris/Makedefs.sol2 \
solaris/Makefile.sol2 \
solaris/Makefile.sol2-64 \
solaris/Makefile.sol2-64x \
solaris/Makefile.sol2gcc \
solaris/Makefile.sol2gcc-64 \
solaris/Makefile.sol2gcc-64x \
solaris/Makefile.top \
solaris/ppp_ahdlc.c \
solaris/ppp_ahdlc_mod.c \
solaris/ppp.c \
solaris/ppp_comp.c \
solaris/ppp_comp_mod.c \
solaris/ppp.conf \
solaris/ppp_mod.c \
solaris/ppp_mod.h

EXTRA_DIST= \
$(sample_DATA) \
$(EXTRA_README) \
$(EXTRA_SOLARIS)
$(EXTRA_README)
6 changes: 0 additions & 6 deletions common/Makefile.am

This file was deleted.

Loading

0 comments on commit e48a9b5

Please sign in to comment.