source: npl/internetserver/poptop_ppp/patches/ppp-2.4.3-make.patch @ c5c522c

gcc484ntopperl-5.22
Last change on this file since c5c522c was c5c522c, checked in by Edwin Eefting <edwin@datux.nl>, 8 years ago

initial commit, transferred from cleaned syn3 svn tree

  • Property mode set to 100644
File size: 2.8 KB
  • ppp-2.4.3/chat/Makefile.linux

    Obey RPM_OPT_FLAGS, link with pppd with libutil to get logwtmp(), and enable
    PAM support.
     
    1010CDEF4=  -DFNDELAY=O_NDELAY              # Old name value
    1111CDEFS=  $(CDEF1) $(CDEF2) $(CDEF3) $(CDEF4)
    1212
    13 COPTS=  -O2 -g -pipe
     13COPTS=  $(RPM_OPT_FLAGS)
    1414CFLAGS= $(COPTS) $(CDEFS)
    1515
    1616INSTALL= install
  • ppp-2.4.3/pppd/Makefile.linux

     
    2929include .depend
    3030endif
    3131
    32 # CC = gcc
     32CC = gcc
    3333#
    34 COPTS = -O2 -pipe -Wall -g
    35 LIBS =
     34COPTS = -Wall $(RPM_OPT_FLAGS)
     35LIBS = -lutil
    3636
    3737# Uncomment the next 2 lines to include support for Microsoft's
    3838# MS-CHAP authentication protocol.  Also, edit plugins/radius/Makefile.linux.
     
    6060USE_TDB=y
    6161
    6262HAS_SHADOW=y
    63 #USE_PAM=y
    64 #HAVE_INET6=y
     63USE_PAM=y
     64HAVE_INET6=y
    6565
    6666# Enable plugins
  • ppp-2.4.3/pppdump/Makefile.linux

     
    22BINDIR = $(DESTDIR)/sbin
    33MANDIR = $(DESTDIR)/share/man/man8
    44
    5 CFLAGS= -O -I../include/net
     5CFLAGS= $(RPM_OPT_FLAGS) -I../include/net
    66OBJS = pppdump.o bsd-comp.o deflate.o zlib.o
    77
    88INSTALL= install
  • ppp-2.4.2/pppstats/Makefile.linux

     
    77PPPSTATOBJS = pppstats.o
    88
    99#CC = gcc
    10 COPTS = -O
     10COPTS = $(RPM_OPT_FLAGS)
    1111COMPILE_FLAGS = -I../include
    1212LIBS =
    1313
  • ppp-2.4.3/pppd/plugins/Makefile.linux

     
    11CC      = gcc
    2 COPTS   = -O2 -g
     2COPTS   = $(RPM_OPT_FLAGS)
    33CFLAGS  = $(COPTS) -I.. -I../../include -fPIC
    44LDFLAGS = -shared
    55INSTALL = install -o root
  • ppp-2.4.3/pppd/plugins/radius/Makefile.linux

     
    1212INSTALL = install
    1313
    1414PLUGIN=radius.so radattr.so radrealms.so
    15 CFLAGS=-I. -I../.. -I../../../include -O2 -fPIC -DRC_LOG_FACILITY=LOG_DAEMON
     15CFLAGS=-I. -I../.. -I../../../include $(RPM_OPT_FLAGS) -fPIC -DRC_LOG_FACILITY=LOG_DAEMON
    1616
    1717# Uncomment the next line to include support for Microsoft's
    1818# MS-CHAP authentication protocol.
  • ppp-2.4.3/pppd/plugins/rp-pppoe/Makefile.linux

     
    1616# Version is set ONLY IN THE MAKEFILE!  Don't delete this!
    1717VERSION=3.3
    1818
    19 COPTS=-O2 -g
     19COPTS=$(RPM_OPT_FLAGS)
    2020CFLAGS=$(COPTS) -I../../../include/linux
    2121all: rp-pppoe.so
    2222
Note: See TracBrowser for help on using the repository browser.