~ubuntu-branches/ubuntu/natty/freeradius/natty-updates

« back to all changes in this revision

Viewing changes to Make.inc.in

  • Committer: Bazaar Package Importer
  • Author(s): Josip Rodin
  • Date: 2009-11-23 03:57:37 UTC
  • mfrom: (1.2.1 upstream)
  • mto: This revision was merged to the branch mainline in revision 28.
  • Revision ID: james.westby@ubuntu.com-20091123035737-zsgtzhfych8hir68
Tags: 2.1.7+dfsg-1
* Adopting the package, closes: #536623.
* New upstream version, closes: #513484.
  + Fixes the blooper in unlang evaluation logic, closes: #526175.
* Used quilt (and added README.source), and moved upstream file patching
  into debian/patches/. The source is no longer in collab-maint git
  (to make it simpler for me to finally get this out the door), but
  kept the .gitignore should we need that again.
* Dropped the dialup_admin/bin/backup_radacct patch (integrated upstream).
* Dropped the raddb/Makefile patch (problem no longer exists upstream).
* Dropped the lib/packet.c lib/radius.c main/listen.c patches (was from
  upstream 2.0.5 anyway).
* Dropped references to otp.conf, it no longer exists upstream.
  Keep removing the conffile statoverride in prerm.
* Dropped references to snmp.conf, it no longer exists upstream.
  Keep removing the conffile statoverride in prerm.
* Ship /etc/freeradius/modules/* in the freeradius package.
* Stop shipping sites-enabled symlinks in the package and instead create
  them only on initial install, thanks to Matej Vela, closes: #533396.
* Add export PATH="${PATH:+$PATH:}/usr/sbin:/sbin" to the init script
  at the request of John Morrissey, closes: #550143.
* Stop installing /var/run/freeradius in the package to silence Lintian.
  The init script already recreates it at will.
* Remove executable bit from example.pl to silence Lintian.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
# -*- makefile -*-
2
2
# Make.inc.in
3
3
#
4
 
# Version:      $Id: Make.inc.in,v 1.55 2007/11/24 08:28:43 aland Exp $
 
4
# Version:      $Id$
5
5
#
6
6
 
7
7
# Location of files.
48
48
 
49
49
LOGDIR          = ${logdir}
50
50
RADDBDIR        = ${raddbdir}
51
 
RUNDIR          = ${localstatedir}/run/freeradius
 
51
RUNDIR          = ${localstatedir}/run/radiusd
52
52
SBINDIR         = ${sbindir}
53
53
RADIR           = ${radacctdir}
54
54
LIBRADIUS       = $(top_builddir)/src/lib/$(LIBPREFIX)freeradius-radius.la
61
61
USE_STATIC_LIBS = @USE_STATIC_LIBS@
62
62
STATIC_MODULES  = @STATIC_MODULES@
63
63
 
64
 
SNMP_INCLUDE    = @SNMP_INCLUDE@
65
 
SNMP_LIBS       = @SNMP_LIBS@
66
 
 
67
64
OPENSSL_LIBS    = @OPENSSL_LIBS@
68
65
OPENSSL_INCLUDE = @OPENSSL_INCLUDE@
69
66
 
 
67
LIBREADLINE     = @LIBREADLINE@
 
68
 
70
69
#
71
70
#  SQL driver defines
72
71
#
79
78
 
80
79
MODULES                 = @MODULES@
81
80
HOSTINFO                = @HOSTINFO@
 
81
 
 
82
ifneq ($(WITH_OPENSSL_MD5),)
 
83
LIBRADIUS_WITH_OPENSSL = 1
 
84
CFLAGS += -DWITH_OPENSSL_MD5
 
85
endif
 
86
 
 
87
ifneq ($(WITH_OPENSSL_SHA1),)
 
88
LIBRADIUS_WITH_OPENSSL = 1
 
89
CFLAGS += -DWITH_OPENSSL_SHA1
 
90
endif
 
91
 
 
92
ifneq ($(LIBRADIUS_WITH_OPENSSL),)
 
93
ifeq ($(OPENSSL_LIBS),)
 
94
$(error OPENSSL_LIBS must be define in order to use WITH_OPENSSL_*)
 
95
else
 
96
LIBRADIUS += $(OPENSSL_LIBS)
 
97
endif
 
98
endif
 
99
 
 
100
#  http://clang.llvm.org/StaticAnalysis.html
 
101
#
 
102
#  $ make scan | sed "s/.*Run '//;s/'.*//" > scan.sh
 
103
#  $ ./scan.sh
 
104
#
 
105
SCAN_BUILD      = /path/to/checker-0.167/scan-build
 
106
ifeq ($(SCAN),yes)
 
107
CC              := $(SCAN_BUILD) gcc -DFR_SCAN_BUILD
 
108
endif