[radius]: RADIUS Management User Authentication (#7551)
Fixed the RADIUS client debian packages build for arm64, armhf PLATFORM_ARCH
This commit is contained in:
parent
0d7e400689
commit
da3d3aa10f
@ -1,15 +1,20 @@
|
||||
#!/usr/bin/make -f
|
||||
# You must remove unused comment lines for the released package.
|
||||
#export DH_VERBOSE = 1
|
||||
#export DEB_BUILD_MAINT_OPTIONS = hardening=+all
|
||||
#export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic
|
||||
#export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
|
||||
|
||||
%:
|
||||
dh $@
|
||||
|
||||
#override_dh_auto_install:
|
||||
# dh_auto_install -- prefix=/usr
|
||||
override_dh_fixperms:
|
||||
dh_fixperms
|
||||
chmod 644 debian/libnss-radius/lib/$(DEB_HOST_MULTIARCH)/libnss_radius.so.2
|
||||
chmod 755 debian/libnss-radius/usr/sbin/cache_radius
|
||||
chmod 755 debian/libnss-radius/etc/pam_radius_auth.d
|
||||
|
||||
#override_dh_install:
|
||||
# dh_install --list-missing -X.pyc -X.pyo
|
||||
override_dh_installdirs:
|
||||
dh_installdirs
|
||||
dh_installdirs /lib/$(DEB_HOST_MULTIARCH)/
|
||||
dh_installdirs /etc/pam_radius_auth.d/
|
||||
|
||||
override_dh_install:
|
||||
dh_install
|
||||
dh_install libnss_radius.so.2 lib/$(DEB_HOST_MULTIARCH)/
|
||||
dh_install cache_radius usr/sbin/
|
||||
|
@ -15,11 +15,6 @@ COMMON_SOURCE = nss_radius_common.c
|
||||
LIBNSS_SOURCE = nss_radius.c $(COMMON_SOURCE)
|
||||
CACHE_SOURCE = cache_radius.c $(COMMON_SOURCE)
|
||||
|
||||
# For now place the multiarch flag here
|
||||
# Eventually this needs to be move to the debian packaging
|
||||
#moduledir = $(prefix)/lib/x86_64-linux-gnu
|
||||
moduledir = $(prefix)/lib/$(DEB_HOST_MULTIARCH)
|
||||
|
||||
|
||||
all: $(TARGETS)
|
||||
|
||||
@ -34,19 +29,8 @@ clean:
|
||||
-rm -f $(TARGETS)
|
||||
-rm -f test_nss_radius test_cache_radius
|
||||
|
||||
install: libnss_radius.so.2 cache_radius
|
||||
install -m 0644 -D libnss_radius.so.2 \
|
||||
$(DESTDIR)$(moduledir)/libnss_radius.so.2
|
||||
install -m 0755 -D cache_radius \
|
||||
$(DESTDIR)$(prefix)/usr/sbin/cache_radius
|
||||
install -m 0755 -d $(DESTDIR)$(prefix)/etc/pam_radius_auth.d/
|
||||
|
||||
distclean: clean
|
||||
|
||||
uninstall:
|
||||
-rm -f $(DESTDIR)$(moduledir)/libnss_radius.so.2
|
||||
-rm -f $(DESTDIR)$(prefix)/usr/sbin/cache_radius
|
||||
|
||||
test: test_nss_radius.c $(LIBNSS_SOURCE) $(CACHE_SOURCE) \
|
||||
$(COMMON_SOURCE) $(COMMON_INCLUDE)
|
||||
$(CC) $(CFLAGS) $(LDFLAGS) -g -DTEST_RADIUS_NSS -o test_nss_radius \
|
||||
@ -55,5 +39,5 @@ test: test_nss_radius.c $(LIBNSS_SOURCE) $(CACHE_SOURCE) \
|
||||
$(CACHE_SOURCE)
|
||||
|
||||
|
||||
.PHONY: all install clean distclean uninstall test
|
||||
.PHONY: all clean distclean test
|
||||
|
||||
|
@ -16,6 +16,8 @@ $(addprefix $(DEST)/, $(MAIN_TARGET)): $(DEST)/% :
|
||||
patch -p1 < ../patches/freeradius_configure.patch
|
||||
patch -p1 < ../patches/freeradius_2007-04-06.patch
|
||||
patch -p1 < ../patches/freeradius_libeap_deprecated_openssl_1_0.patch
|
||||
cp ../patches/config.sub .
|
||||
cp ../patches/config.guess .
|
||||
./configure --disable-static --enable-libtool-lock
|
||||
make
|
||||
popd
|
||||
@ -28,12 +30,6 @@ $(addprefix $(DEST)/, $(MAIN_TARGET)): $(DEST)/% :
|
||||
git checkout -f 149c25df84cf5cd0e9addd9346699a9ca8fdddd2
|
||||
|
||||
cp -r ../debian .
|
||||
cp -r ../patches .
|
||||
|
||||
# Apply patch
|
||||
git apply patches/0001-chap-support.patch
|
||||
git apply patches/0002-peap-mschapv2-support.patch
|
||||
git apply patches/0003-nas-ip-address-config.patch
|
||||
|
||||
dpkg-buildpackage -rfakeroot -b -us -uc -nc
|
||||
popd
|
||||
|
@ -1,5 +1,270 @@
|
||||
libpam-radius-auth (1.4.1-1) unstable; urgency=low
|
||||
|
||||
* Initial version.
|
||||
* Picked version from github.com
|
||||
* Used Debian Scripts from buster.
|
||||
* Added patches for CHAP, PEAP/MSCHAPV2 authentication protocols
|
||||
* Added patche for supporting nas-ip-address conf. and statistics
|
||||
|
||||
-- Arun Barboza <29963827+a-barboza@users.noreply.github.com> Tue, 13 Aug 2019 16:46:25 -0700
|
||||
|
||||
libpam-radius-auth (1.4.0-3~deb10u1) buster; urgency=medium
|
||||
|
||||
* Rebuild for buster.
|
||||
* Revert packaging changes:
|
||||
- Lower Standards-Version to 4.2.0
|
||||
- Lower Debhelper compat level to 11
|
||||
|
||||
-- Salvatore Bonaccorso <carnil@debian.org> Sat, 11 Jul 2020 21:24:48 +0200
|
||||
|
||||
libpam-radius-auth (1.4.0-3) unstable; urgency=medium
|
||||
|
||||
* QA upload
|
||||
* Add patch to fix buffer overflow in password field.
|
||||
(Fixes: CVE-2015-9542) (Closes: #951396)
|
||||
* Bump Standards-Version to 4.5.0 and dh-compat to 12
|
||||
|
||||
-- Utkarsh Gupta <utkarsh@debian.org> Fri, 21 Feb 2020 15:47:11 +0530
|
||||
|
||||
libpam-radius-auth (1.4.0-2) unstable; urgency=medium
|
||||
|
||||
* QA upload.
|
||||
* Fix a regression that made libpam-radius-auth/1.4.0-1 use
|
||||
a different configuration file than intended. This version
|
||||
restores /etc/pam_radius_auth.conf as the configuration
|
||||
file for Debian package of libpam-radius-auth.
|
||||
(Closes: #908006)
|
||||
* Use the new "debhelper-compat (= 11)" method for specifying
|
||||
debhelper compat version.
|
||||
|
||||
-- Niels Thykier <niels@thykier.net> Wed, 05 Sep 2018 19:44:07 +0000
|
||||
|
||||
libpam-radius-auth (1.4.0-1) unstable; urgency=low
|
||||
|
||||
* QA upload.
|
||||
* New upstream release. (Closes: #854284)
|
||||
* Drop patch that was applied upstream or no longer relevant.
|
||||
* Set Rules-Requires-Root to "no".
|
||||
* Bump Priority to "optional" since "extra" has been
|
||||
removed.
|
||||
* Rewrite rules file to the dh7-style.
|
||||
* Add ${misc:Depends} to the Depends field.
|
||||
* Add Homepage field.
|
||||
* Correct section to admin.
|
||||
* Change to source format 3.0 (quilt).
|
||||
* Bump debhelper compat to 11.
|
||||
* Enable bindnow hardening.
|
||||
* Update debian/copyright.
|
||||
* Bump Standards-Versions to 4.2.0 - no additional changes
|
||||
required.
|
||||
|
||||
-- Niels Thykier <niels@thykier.net> Sun, 19 Aug 2018 12:16:13 +0000
|
||||
|
||||
libpam-radius-auth (1.3.16-5) unstable; urgency=medium
|
||||
|
||||
* QA upload
|
||||
* Set maintainer field to Debian QA Group (see #833039)
|
||||
* Bump debhelper compat level. Closes: #817544
|
||||
|
||||
-- Christoph Biedl <debian.axhn@manchmal.in-ulm.de> Sun, 18 Dec 2016 23:47:08 +0100
|
||||
|
||||
libpam-radius-auth (1.3.16-4.4) unstable; urgency=low
|
||||
|
||||
* Non-maintainer upload to fix pending l10n issues.
|
||||
* Remove debconf stuff that deals with a prehistoric transition.
|
||||
Closes: #414926, #482458, #483032, #483081
|
||||
* [Lintian] Set debhelper compatibility level in debian/compat
|
||||
* [Lintian] No longer ignore errors in "make clean"
|
||||
* [Lintian] Remove debian/conffiles that only contains a file in /etc
|
||||
which is anyway automatically added
|
||||
|
||||
-- Christian Perrier <bubulle@debian.org> Thu, 22 May 2008 19:14:50 +0200
|
||||
|
||||
libpam-radius-auth (1.3.16-4.3) unstable; urgency=low
|
||||
|
||||
* NUM with maintainers consent
|
||||
* Add German debconf translation. (Closes: #410536)
|
||||
|
||||
-- Helge Kreutzmann <debian@helgefjell.de> Mon, 12 Feb 2007 18:01:57 +0100
|
||||
|
||||
libpam-radius-auth (1.3.16-4.2) unstable; urgency=low
|
||||
|
||||
* NMU
|
||||
* Add Spanish debconf translation. (Closes: #405445)
|
||||
|
||||
-- Javier Ruano <Javier.ruano@estudiante.uam.es> Thu, 4 Jan 2007 14:08:51 +0100
|
||||
|
||||
libpam-radius-auth (1.3.16-4.1) unstable; urgency=low
|
||||
|
||||
* Non-maintainer upload.
|
||||
* Remove bashisms in debian/rules. (Closes: #379498)
|
||||
|
||||
-- Christine Spang <spang@mit.edu> Wed, 23 Aug 2006 07:14:29 -0400
|
||||
|
||||
libpam-radius-auth (1.3.16-4) unstable; urgency=low
|
||||
|
||||
* Add alternate Depends to unblock debconf-2.0 transition.
|
||||
(Closes: #332003)
|
||||
|
||||
* Add Vietnamese debconf translation.
|
||||
(Closes: #312442)
|
||||
|
||||
* Add Czech debconf translation.
|
||||
(Closes: #316889)
|
||||
|
||||
* Add Swedish debconf translation.
|
||||
(Closes: #333145)
|
||||
|
||||
* Bump standard version. No changes.
|
||||
|
||||
-- Fabio M. Di Nitto <fabbione@fabbione.net> Sat, 15 Oct 2005 18:13:44 +0200
|
||||
|
||||
libpam-radius-auth (1.3.16-3) unstable; urgency=high
|
||||
|
||||
* [SECURITY] Fix Denial of service:
|
||||
- Add patch 002.CAN2005-0108.diff. (CAN2005-0108)
|
||||
|
||||
* Add french debconf translation. (Closes: #268027)
|
||||
|
||||
* Add dutch debconf translation. (Closes: #274897)
|
||||
|
||||
-- Fabio M. Di Nitto <fabbione@fabbione.net> Wed, 19 Jan 2005 10:42:18 +0100
|
||||
|
||||
libpam-radius-auth (1.3.16-2) unstable; urgency=high
|
||||
|
||||
* Acknowledge NMU. Thanks Michael for your help! (Closes: #266924)
|
||||
* Remove spurious "echo foo1" from debian/config ;)
|
||||
|
||||
-- Fabio M. Di Nitto <fabbione@fabbione.net> Mon, 23 Aug 2004 07:46:17 +0200
|
||||
|
||||
libpam-radius-auth (1.3.16-1.2) unstable; urgency=high
|
||||
|
||||
* NMU: SECURITY: clarify logic in preinst
|
||||
|
||||
-- Michael Stone <mstone@debian.org> Sat, 21 Aug 2004 11:26:34 -0400
|
||||
|
||||
libpam-radius-auth (1.3.16-1.1) unstable; urgency=high
|
||||
|
||||
* NMU: SECURITY: fix incorrect permissions on /etc/pam_radius_auth.conf
|
||||
|
||||
-- Michael Stone <mstone@debian.org> Sat, 21 Aug 2004 09:50:17 -0400
|
||||
|
||||
libpam-radius-auth (1.3.16-1) unstable; urgency=low
|
||||
|
||||
* New upstream release
|
||||
* New standard version: 3.6.1
|
||||
* Removed patches that were accepted by upstream
|
||||
|
||||
-- Fabio M. Di Nitto <fabbione@fabbione.net> Wed, 29 Oct 2003 07:12:50 +0100
|
||||
|
||||
libpam-radius-auth (1.3.15-8) unstable; urgency=low
|
||||
|
||||
* New standard version 3.5.10
|
||||
* fixed clean target in debian/rules
|
||||
* fixed a call to the linker to avoid unresolved symbols on some archs
|
||||
(Thanks to Jochen Friedrich <jochen@scram.de>)
|
||||
|
||||
-- Fabio M. Di Nitto <fabbione@fabbione.net> Sun, 18 May 2003 10:05:07 +0200
|
||||
|
||||
libpam-radius-auth (1.3.15-7) unstable; urgency=low
|
||||
|
||||
* The "fixed in NMU" upload fix (Closes: #188314)
|
||||
|
||||
-- Fabio M. Di Nitto <fabbione@fabbione.net> Tue, 15 Apr 2003 07:05:44 +0200
|
||||
|
||||
libpam-radius-auth (1.3.15-6) unstable; urgency=low
|
||||
|
||||
* Bumped standard version to: 3.5.9
|
||||
* username (253 bytes) and password (128 bytes) length
|
||||
are now RFC2138 compliant (Closes: #188314)
|
||||
|
||||
-- Fabio M. Di Nitto <fabbione@fabbione.net> Thu, 10 Apr 2003 22:13:50 +0200
|
||||
|
||||
libpam-radius-auth (1.3.15-5) unstable; urgency=low
|
||||
|
||||
* Reincluded the original INSTALL
|
||||
* Included index.debian.html to point to the correct files.
|
||||
* Added README.Debian with notes about configfile
|
||||
location (Closes: #180576)
|
||||
|
||||
-- Fabio M. Di Nitto <fabbione@fabbione.net> Mon, 10 Mar 2003 18:36:33 +0100
|
||||
|
||||
libpam-radius-auth (1.3.15-4) unstable; urgency=low
|
||||
|
||||
* removed dh_testroot from debian/rules (build section)
|
||||
to permit normal users to compile the package again
|
||||
|
||||
-- Fabio M. Di Nitto <fabbione@fabbione.net> Thu, 16 Jan 2003 19:41:06 +0100
|
||||
|
||||
libpam-radius-auth (1.3.15-3) unstable; urgency=low
|
||||
|
||||
* fixed a compilation warning for gcc3.2
|
||||
* lintian and linda cleanup
|
||||
* removed symlink in /usr/doc
|
||||
* added two examples in the doc section
|
||||
* updated to Standards-Version: 3.5.8
|
||||
* new debian/rules to use debhelper
|
||||
* moved *.diff in debian/patches
|
||||
|
||||
-- Fabio M. Di Nitto <fabbione@fabbione.net> Thu, 16 Jan 2003 17:11:29 +0100
|
||||
|
||||
libpam-radius-auth (1.3.15-2) unstable; urgency=low
|
||||
|
||||
* New maintainer upload, closes: #151254
|
||||
* s/-Bshareable/-shared/g, closes: #156962
|
||||
* made Suggests: point to radius-server, closes: #153987
|
||||
|
||||
-- Fabio M. Di Nitto <fabbione@fabbione.net> Thu, 24 Oct 2002 22:35:23 +0200
|
||||
|
||||
libpam-radius-auth (1.3.15-1) unstable; urgency=high (for big endians)
|
||||
|
||||
* New upstream release.
|
||||
* It now compiles correctly for big endian architectures, closes: #149323
|
||||
* Also it compiles correctly for 64-bit architectures.
|
||||
* Removed misleading note in conffile, closes: #144502
|
||||
|
||||
-- Piotr Roszatycki <dexter@debian.org> Tue, 11 Jun 2002 12:38:40 +0200
|
||||
|
||||
libpam-radius-auth (1.3.14-1) unstable; urgency=low
|
||||
|
||||
* New upstream release, closes: #108189
|
||||
|
||||
-- Piotr Roszatycki <dexter@debian.org> Mon, 27 Aug 2001 19:44:08 +0200
|
||||
|
||||
libpam-radius-auth (1.3.13-1) unstable; urgency=low
|
||||
|
||||
* New upstream release
|
||||
* Lintian clean
|
||||
|
||||
-- Piotr Roszatycki <dexter@debian.org> Tue, 10 Jul 2001 16:10:09 +0200
|
||||
|
||||
libpam-radius-auth (1.3.11-3) unstable; urgency=low
|
||||
|
||||
* Removed yada from Debian source, closes: #89268
|
||||
|
||||
-- Piotr Roszatycki <dexter@debian.org> Tue, 13 Mar 2001 13:26:32 +0100
|
||||
|
||||
libpam-radius-auth (1.3.11-2) unstable; urgency=low
|
||||
|
||||
* New yada and standards.
|
||||
* Updates Build-Depends, closes: #84941
|
||||
|
||||
-- Piotr Roszatycki <dexter@debian.org> Thu, 15 Feb 2001 18:47:23 +0000
|
||||
|
||||
libpam-radius-auth (1.3.11-1) unstable; urgency=low
|
||||
|
||||
* New upstream release
|
||||
|
||||
-- Piotr Roszatycki <dexter@debian.org> Wed, 19 Jul 2000 18:43:52 +0200
|
||||
|
||||
libpam-radius-auth (1.3.10-2) unstable; urgency=medium
|
||||
|
||||
* New upstream source from CVS server.
|
||||
* This version works well with ppp.
|
||||
|
||||
-- Piotr Roszatycki <dexter@debian.org> Tue, 18 Jul 2000 17:29:06 +0200
|
||||
|
||||
libpam-radius-auth (1.3.10-1) unstable; urgency=low
|
||||
|
||||
* UNRELEASED
|
||||
* Initial Debian version.
|
||||
|
||||
-- Piotr Roszatycki <dexter@debian.org> Sat, 15 Jul 2000 15:30:45 +0200
|
||||
|
2
src/radius/pam/debian/clean
Normal file
2
src/radius/pam/debian/clean
Normal file
@ -0,0 +1,2 @@
|
||||
config.log
|
||||
src/config.h
|
@ -1 +0,0 @@
|
||||
10
|
@ -1,15 +1,17 @@
|
||||
Source: libpam-radius-auth
|
||||
Maintainer: Arun Barboza <29963827+a-barboza@users.noreply.github.com>
|
||||
Section: libs
|
||||
Priority: extra
|
||||
Standards-Version: 3.6.2
|
||||
Build-Depends: libpam0g-dev | libpam-dev, debhelper (>= 10~)
|
||||
Maintainer: Debian QA Group <packages@qa.debian.org>
|
||||
Section: admin
|
||||
Priority: optional
|
||||
Standards-Version: 4.2.0
|
||||
Build-Depends: libpam0g-dev | libpam-dev, debhelper-compat (= 11)
|
||||
Rules-Requires-Root: no
|
||||
Homepage: https://www.freeradius.org/pam_radius_auth/
|
||||
|
||||
Package: libpam-radius-auth
|
||||
Architecture: any
|
||||
Depends: ${shlibs:Depends}
|
||||
Depends: ${misc:Depends}, ${shlibs:Depends}
|
||||
Suggests: radius-server
|
||||
Description: The PAM RADIUS authentication module
|
||||
Description: PAM RADIUS authentication module
|
||||
This is the PAM to RADIUS authentication module. It allows any PAM-capable
|
||||
machine to become a RADIUS client for authentication and accounting
|
||||
requests. You will, however, need to supply your own RADIUS server to
|
||||
|
@ -1,284 +1,143 @@
|
||||
Please see the individual src files for the copyright
|
||||
This package was debianized by Fabio M. Di Nitto <fabbione@fabbione.net> on
|
||||
Thu, 31 Oct 2002 09:56:49 +0100
|
||||
|
||||
-------------------------------------------------------------------------
|
||||
It was downloaded from ftp://ftp.freeradius.org/pub/radius/
|
||||
|
||||
GNU GENERAL PUBLIC LICENSE
|
||||
Version 2, June 1991
|
||||
Copyright and license (extracted from src/pam_radius_auth.c):
|
||||
|
||||
Copyright (C) 1989, 1991 Free Software Foundation, Inc.
|
||||
675 Mass Ave, Cambridge, MA 02139, USA
|
||||
Everyone is permitted to copy and distribute verbatim copies
|
||||
of this license document, but changing it is not allowed.
|
||||
/*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*
|
||||
* The original pam_radius.c code is copyright (c) Cristian Gafton, 1996,
|
||||
* <gafton@redhat.com>
|
||||
*
|
||||
* Some challenge-response code is copyright (c) CRYPTOCard Inc, 1998.
|
||||
* All rights reserved.
|
||||
*/
|
||||
|
||||
Preamble
|
||||
Copyright and license (extracted from src/radius.h):
|
||||
/*
|
||||
*
|
||||
* RADIUS
|
||||
* Remote Authentication Dial In User Service
|
||||
*
|
||||
*
|
||||
* Livingston Enterprises, Inc.
|
||||
* 6920 Koll Center Parkway
|
||||
* Pleasanton, CA 94566
|
||||
*
|
||||
* Copyright 1992 Livingston Enterprises, Inc.
|
||||
*
|
||||
* Permission to use, copy, modify, and distribute this software for any
|
||||
* purpose and without fee is hereby granted, provided that this
|
||||
* copyright and permission notice appear on all copies and supporting
|
||||
* documentation, the name of Livingston Enterprises, Inc. not be used
|
||||
* in advertising or publicity pertaining to distribution of the
|
||||
* program without specific prior permission, and notice be given
|
||||
* in supporting documentation that copying and distribution is by
|
||||
* permission of Livingston Enterprises, Inc.
|
||||
*
|
||||
* Livingston Enterprises, Inc. makes no representations about
|
||||
* the suitability of this software for any purpose. It is
|
||||
* provided "as is" without express or implied warranty.
|
||||
*
|
||||
*/
|
||||
|
||||
The licenses for most software are designed to take away your
|
||||
freedom to share and change it. By contrast, the GNU General Public
|
||||
License is intended to guarantee your freedom to share and change free
|
||||
software--to make sure the software is free for all its users. This
|
||||
General Public License applies to most of the Free Software
|
||||
Foundation's software and to any other program whose authors commit to
|
||||
using it. (Some other Free Software Foundation software is covered by
|
||||
the GNU Library General Public License instead.) You can apply it to
|
||||
your programs, too.
|
||||
Copyright and license (from src/mschapv2):
|
||||
-----------------------------------------------------------------------------
|
||||
|
||||
When we speak of free software, we are referring to freedom, not
|
||||
price. Our General Public Licenses are designed to make sure that you
|
||||
have the freedom to distribute copies of free software (and charge for
|
||||
this service if you wish), that you receive source code or can get it
|
||||
if you want it, that you can change the software or use pieces of it
|
||||
in new free programs; and that you know you can do these things.
|
||||
XSupplicant -- A client-side 802.1x implementation
|
||||
|
||||
To protect your rights, we need to make restrictions that forbid
|
||||
anyone to deny you these rights or to ask you to surrender the rights.
|
||||
These restrictions translate to certain responsibilities for you if you
|
||||
distribute copies of the software, or if you modify it.
|
||||
This code is released under both the GPL version 2 and BSD licenses.
|
||||
Either license may be used. The respective licenses are found below.
|
||||
|
||||
For example, if you distribute copies of such a program, whether
|
||||
gratis or for a fee, you must give the recipients all the rights that
|
||||
you have. You must make sure that they, too, receive or can get the
|
||||
source code. And you must show them these terms so they know their
|
||||
rights.
|
||||
Copyright (C) 2002 Bryan D. Payne & Nick L. Petroni Jr.
|
||||
Copyright (C) 2003, 2004 The Open1x Team
|
||||
All Rights Reserved
|
||||
|
||||
We protect your rights with two steps: (1) copyright the software, and
|
||||
(2) offer you this license which gives you legal permission to copy,
|
||||
distribute and/or modify the software.
|
||||
--- GPL Version 2 License ---
|
||||
This program is free software; you can redistribute it and/or
|
||||
modify it under the terms of the GNU General Public License
|
||||
as published by the Free Software Foundation; either version 2
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
Also, for each author's protection and ours, we want to make certain
|
||||
that everyone understands that there is no warranty for this free
|
||||
software. If the software is modified by someone else and passed on, we
|
||||
want its recipients to know that what they have is not the original, so
|
||||
that any problems introduced by others will not reflect on the original
|
||||
authors' reputations.
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
Finally, any free program is threatened constantly by software
|
||||
patents. We wish to avoid the danger that redistributors of a free
|
||||
program will individually obtain patent licenses, in effect making the
|
||||
program proprietary. To prevent this, we have made it clear that any
|
||||
patent must be licensed for everyone's free use or not licensed at all.
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
|
||||
The precise terms and conditions for copying, distribution and
|
||||
modification follow.
|
||||
|
||||
GNU GENERAL PUBLIC LICENSE
|
||||
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
||||
--- BSD License ---
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
modification, are permitted provided that the following conditions are met:
|
||||
|
||||
0. This License applies to any program or other work which contains
|
||||
a notice placed by the copyright holder saying it may be distributed
|
||||
under the terms of this General Public License. The "Program", below,
|
||||
refers to any such program or work, and a "work based on the Program"
|
||||
means either the Program or any derivative work under copyright law:
|
||||
that is to say, a work containing the Program or a portion of it,
|
||||
either verbatim or with modifications and/or translated into another
|
||||
language. (Hereinafter, translation is included without limitation in
|
||||
the term "modification".) Each licensee is addressed as "you".
|
||||
- Redistributions of source code must retain the above copyright notice,
|
||||
this list of conditions and the following disclaimer.
|
||||
- Redistributions in binary form must reproduce the above copyright
|
||||
notice, this list of conditions and the following disclaimer in the
|
||||
documentation and/or other materials provided with the distribution.
|
||||
- All advertising materials mentioning features or use of this software
|
||||
must display the following acknowledgement:
|
||||
This product includes software developed by the University of
|
||||
Maryland at College Park, the Open1x team, and its contributors.
|
||||
- Neither the name of the University or Open1x team, nor the names
|
||||
of its contributors may be used to endorse or promote products derived
|
||||
from this software without specific prior written permission.
|
||||
|
||||
Activities other than copying, distribution and modification are not
|
||||
covered by this License; they are outside its scope. The act of
|
||||
running the Program is not restricted, and the output from the Program
|
||||
is covered only if its contents constitute a work based on the
|
||||
Program (independent of having been made by running the Program).
|
||||
Whether that is true depends on what the Program does.
|
||||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
||||
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||||
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
|
||||
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
||||
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
||||
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
||||
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
|
||||
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
||||
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
||||
POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
1. You may copy and distribute verbatim copies of the Program's
|
||||
source code as you receive it, in any medium, provided that you
|
||||
conspicuously and appropriately publish on each copy an appropriate
|
||||
copyright notice and disclaimer of warranty; keep intact all the
|
||||
notices that refer to this License and to the absence of any warranty;
|
||||
and give any other recipients of the Program a copy of this License
|
||||
along with the Program.
|
||||
-----------------------------------------------------------------------------
|
||||
|
||||
You may charge a fee for the physical act of transferring a copy, and
|
||||
you may at your option offer warranty protection in exchange for a fee.
|
||||
|
||||
2. You may modify your copy or copies of the Program or any portion
|
||||
of it, thus forming a work based on the Program, and copy and
|
||||
distribute such modifications or work under the terms of Section 1
|
||||
above, provided that you also meet all of these conditions:
|
||||
Copyright and license (from src/radpeapclient.c):
|
||||
-----------------------------------------------------------------------------
|
||||
|
||||
a) You must cause the modified files to carry prominent notices
|
||||
stating that you changed the files and the date of any change.
|
||||
/*
|
||||
* Copyright (c) 1996-2007 Brocade Communications Systems, Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Module name: radpeapclient.c
|
||||
*
|
||||
* Description:
|
||||
* This modules does with PEAP-MSCHAPv2 user authentication
|
||||
*
|
||||
* Portions are of this code are extracted from freeradius-1.1.4,
|
||||
* with modifications for IPv6.
|
||||
*
|
||||
* freeradius-1.1.4 libradius and libeap required for linking.
|
||||
*
|
||||
* Copyright 2019 Broadcom. All rights reserved.
|
||||
* The term "Broadcom" refers to Broadcom Inc. and/or its subsidiaries.
|
||||
*
|
||||
*/
|
||||
|
||||
b) You must cause any work that you distribute or publish, that in
|
||||
whole or in part contains or is derived from the Program or any
|
||||
part thereof, to be licensed as a whole at no charge to all third
|
||||
parties under the terms of this License.
|
||||
-----------------------------------------------------------------------------
|
||||
|
||||
c) If the modified program normally reads commands interactively
|
||||
when run, you must cause it, when started running for such
|
||||
interactive use in the most ordinary way, to print or display an
|
||||
announcement including an appropriate copyright notice and a
|
||||
notice that there is no warranty (or else, saying that you provide
|
||||
a warranty) and that users may redistribute the program under
|
||||
these conditions, and telling the user how to view a copy of this
|
||||
License. (Exception: if the Program itself is interactive but
|
||||
does not normally print such an announcement, your work based on
|
||||
the Program is not required to print an announcement.)
|
||||
|
||||
These requirements apply to the modified work as a whole. If
|
||||
identifiable sections of that work are not derived from the Program,
|
||||
and can be reasonably considered independent and separate works in
|
||||
themselves, then this License, and its terms, do not apply to those
|
||||
sections when you distribute them as separate works. But when you
|
||||
distribute the same sections as part of a whole which is a work based
|
||||
on the Program, the distribution of the whole must be on the terms of
|
||||
this License, whose permissions for other licensees extend to the
|
||||
entire whole, and thus to each and every part regardless of who wrote it.
|
||||
|
||||
Thus, it is not the intent of this section to claim rights or contest
|
||||
your rights to work written entirely by you; rather, the intent is to
|
||||
exercise the right to control the distribution of derivative or
|
||||
collective works based on the Program.
|
||||
|
||||
In addition, mere aggregation of another work not based on the Program
|
||||
with the Program (or with a work based on the Program) on a volume of
|
||||
a storage or distribution medium does not bring the other work under
|
||||
the scope of this License.
|
||||
|
||||
3. You may copy and distribute the Program (or a work based on it,
|
||||
under Section 2) in object code or executable form under the terms of
|
||||
Sections 1 and 2 above provided that you also do one of the following:
|
||||
|
||||
a) Accompany it with the complete corresponding machine-readable
|
||||
source code, which must be distributed under the terms of Sections
|
||||
1 and 2 above on a medium customarily used for software interchange; or,
|
||||
|
||||
b) Accompany it with a written offer, valid for at least three
|
||||
years, to give any third party, for a charge no more than your
|
||||
cost of physically performing source distribution, a complete
|
||||
machine-readable copy of the corresponding source code, to be
|
||||
distributed under the terms of Sections 1 and 2 above on a medium
|
||||
customarily used for software interchange; or,
|
||||
|
||||
c) Accompany it with the information you received as to the offer
|
||||
to distribute corresponding source code. (This alternative is
|
||||
allowed only for noncommercial distribution and only if you
|
||||
received the program in object code or executable form with such
|
||||
an offer, in accord with Subsection b above.)
|
||||
|
||||
The source code for a work means the preferred form of the work for
|
||||
making modifications to it. For an executable work, complete source
|
||||
code means all the source code for all modules it contains, plus any
|
||||
associated interface definition files, plus the scripts used to
|
||||
control compilation and installation of the executable. However, as a
|
||||
special exception, the source code distributed need not include
|
||||
anything that is normally distributed (in either source or binary
|
||||
form) with the major components (compiler, kernel, and so on) of the
|
||||
operating system on which the executable runs, unless that component
|
||||
itself accompanies the executable.
|
||||
|
||||
If distribution of executable or object code is made by offering
|
||||
access to copy from a designated place, then offering equivalent
|
||||
access to copy the source code from the same place counts as
|
||||
distribution of the source code, even though third parties are not
|
||||
compelled to copy the source along with the object code.
|
||||
|
||||
4. You may not copy, modify, sublicense, or distribute the Program
|
||||
except as expressly provided under this License. Any attempt
|
||||
otherwise to copy, modify, sublicense or distribute the Program is
|
||||
void, and will automatically terminate your rights under this License.
|
||||
However, parties who have received copies, or rights, from you under
|
||||
this License will not have their licenses terminated so long as such
|
||||
parties remain in full compliance.
|
||||
|
||||
5. You are not required to accept this License, since you have not
|
||||
signed it. However, nothing else grants you permission to modify or
|
||||
distribute the Program or its derivative works. These actions are
|
||||
prohibited by law if you do not accept this License. Therefore, by
|
||||
modifying or distributing the Program (or any work based on the
|
||||
Program), you indicate your acceptance of this License to do so, and
|
||||
all its terms and conditions for copying, distributing or modifying
|
||||
the Program or works based on it.
|
||||
|
||||
6. Each time you redistribute the Program (or any work based on the
|
||||
Program), the recipient automatically receives a license from the
|
||||
original licensor to copy, distribute or modify the Program subject to
|
||||
these terms and conditions. You may not impose any further
|
||||
restrictions on the recipients' exercise of the rights granted herein.
|
||||
You are not responsible for enforcing compliance by third parties to
|
||||
this License.
|
||||
|
||||
7. If, as a consequence of a court judgment or allegation of patent
|
||||
infringement or for any other reason (not limited to patent issues),
|
||||
conditions are imposed on you (whether by court order, agreement or
|
||||
otherwise) that contradict the conditions of this License, they do not
|
||||
excuse you from the conditions of this License. If you cannot
|
||||
distribute so as to satisfy simultaneously your obligations under this
|
||||
License and any other pertinent obligations, then as a consequence you
|
||||
may not distribute the Program at all. For example, if a patent
|
||||
license would not permit royalty-free redistribution of the Program by
|
||||
all those who receive copies directly or indirectly through you, then
|
||||
the only way you could satisfy both it and this License would be to
|
||||
refrain entirely from distribution of the Program.
|
||||
|
||||
If any portion of this section is held invalid or unenforceable under
|
||||
any particular circumstance, the balance of the section is intended to
|
||||
apply and the section as a whole is intended to apply in other
|
||||
circumstances.
|
||||
|
||||
It is not the purpose of this section to induce you to infringe any
|
||||
patents or other property right claims or to contest validity of any
|
||||
such claims; this section has the sole purpose of protecting the
|
||||
integrity of the free software distribution system, which is
|
||||
implemented by public license practices. Many people have made
|
||||
generous contributions to the wide range of software distributed
|
||||
through that system in reliance on consistent application of that
|
||||
system; it is up to the author/donor to decide if he or she is willing
|
||||
to distribute software through any other system and a licensee cannot
|
||||
impose that choice.
|
||||
|
||||
This section is intended to make thoroughly clear what is believed to
|
||||
be a consequence of the rest of this License.
|
||||
|
||||
8. If the distribution and/or use of the Program is restricted in
|
||||
certain countries either by patents or by copyrighted interfaces, the
|
||||
original copyright holder who places the Program under this License
|
||||
may add an explicit geographical distribution limitation excluding
|
||||
those countries, so that distribution is permitted only in or among
|
||||
countries not thus excluded. In such case, this License incorporates
|
||||
the limitation as if written in the body of this License.
|
||||
|
||||
9. The Free Software Foundation may publish revised and/or new versions
|
||||
of the General Public License from time to time. Such new versions will
|
||||
be similar in spirit to the present version, but may differ in detail to
|
||||
address new problems or concerns.
|
||||
|
||||
Each version is given a distinguishing version number. If the Program
|
||||
specifies a version number of this License which applies to it and "any
|
||||
later version", you have the option of following the terms and conditions
|
||||
either of that version or of any later version published by the Free
|
||||
Software Foundation. If the Program does not specify a version number of
|
||||
this License, you may choose any version ever published by the Free Software
|
||||
Foundation.
|
||||
|
||||
10. If you wish to incorporate parts of the Program into other free
|
||||
programs whose distribution conditions are different, write to the author
|
||||
to ask for permission. For software which is copyrighted by the Free
|
||||
Software Foundation, write to the Free Software Foundation; we sometimes
|
||||
make exceptions for this. Our decision will be guided by the two goals
|
||||
of preserving the free status of all derivatives of our free software and
|
||||
of promoting the sharing and reuse of software generally.
|
||||
|
||||
NO WARRANTY
|
||||
|
||||
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
|
||||
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
|
||||
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
|
||||
PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
|
||||
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
|
||||
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
|
||||
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
|
||||
REPAIR OR CORRECTION.
|
||||
|
||||
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
|
||||
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
|
||||
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
|
||||
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
|
||||
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
|
||||
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
|
||||
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
|
||||
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
|
||||
POSSIBILITY OF SUCH DAMAGES.
|
||||
|
||||
END OF TERMS AND CONDITIONS
|
||||
On Debian GNU/Linux systems, the complete text of the GNU General
|
||||
Public License can be found in /usr/share/common-licenses/GPL-2 file.
|
||||
|
3
src/radius/pam/debian/docs
Normal file
3
src/radius/pam/debian/docs
Normal file
@ -0,0 +1,3 @@
|
||||
debian/index.html
|
||||
README.rst
|
||||
USAGE
|
2
src/radius/pam/debian/examples
Normal file
2
src/radius/pam/debian/examples
Normal file
@ -0,0 +1,2 @@
|
||||
pam_radius_auth.conf
|
||||
debian/pam_example
|
@ -13,13 +13,12 @@ actual authentication.
|
||||
<P><HR>
|
||||
<H2>Files included with the module</H2>
|
||||
|
||||
<A HREF="../README.gz">README</A> <EM>Introduction and documentation</EM><BR>
|
||||
<A HREF="../examples/INSTALL.gz">INSTALL</A> <EM>Installation instructions</EM><BR>
|
||||
<A HREF="../USAGE.gz">USAGE</A> <EM>Module configuration and usage documentation</EM><BR>
|
||||
<A HREF="../changelog.gz">Changelog</A> <EM>What's changed</EM><BR>
|
||||
<A HREF="../examples/pam_radius_auth.conf">pam_radius_auth.conf</A> <EM>Sample
|
||||
<A HREF="./README.rst">README</A> <EM>Introduction and documentation</EM><BR>
|
||||
<A HREF="./USAGE.gz">USAGE</A> <EM>Module configuration and usage documentation</EM><BR>
|
||||
<A HREF="./changelog.gz">Changelog</A> <EM>What's changed</EM><BR>
|
||||
<A HREF="./examples/pam_radius_auth.conf">pam_radius_auth.conf</A> <EM>Sample
|
||||
configuration file for telling the client the location of the RADIUS server.</EM><BR>
|
||||
<A HREF="../examples/pam_example">Mini Debian HOWTO</A> <EM>C source file</EM><BR>
|
||||
<A HREF="./examples/pam_example">Mini Debian HOWTO</A> <EM>C source file</EM><BR>
|
||||
<A HREF=""></A> <EM></EM><BR>
|
||||
|
||||
|
||||
|
3
src/radius/pam/debian/lintian-overrides
Normal file
3
src/radius/pam/debian/lintian-overrides
Normal file
@ -0,0 +1,3 @@
|
||||
# It contains the radius secret, which should not be in a
|
||||
# "world readable" file.
|
||||
libpam-radius-auth: non-standard-file-perm etc/pam_radius_auth.conf 0600 != 0644
|
@ -1,116 +1,40 @@
|
||||
#!/usr/bin/make -f
|
||||
|
||||
# Uncomment this to turn on verbose mode.
|
||||
export DH_VERBOSE=1
|
||||
# export DH_VERBOSE=1
|
||||
|
||||
# Build options.
|
||||
CC=gcc
|
||||
CFLAGS= -g -Wall -fPIC -DCONF_FILE=\"/etc/pam_radius_auth.conf\"
|
||||
#LDFLAGS=
|
||||
#CFLAGS= -g -Wall -fPIC
|
||||
#LDFLAGS = -shared
|
||||
RADIUS_CONF_FILE=/etc/pam_radius_auth.conf
|
||||
export DEB_BUILD_MAINT_OPTIONS=hardening=+all
|
||||
export DEB_CPPFLAGS_MAINT_APPEND=-DCONF_FILE="\\\"$(RADIUS_CONF_FILE)\\\""
|
||||
|
||||
ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
|
||||
CFLAGS += -O0
|
||||
else
|
||||
CFLAGS += -O2
|
||||
endif
|
||||
%:
|
||||
dh $@
|
||||
|
||||
ifeq ($(DEB_HOST_GNU_CPU),(hppa|m68k|mips|powerpc|s390|sparc|sparc64|sheb))
|
||||
CFLAGS += -DHIGHFIRST
|
||||
endif
|
||||
# Make dh_auto_build pass CPPFLAGS in CFLAGS and force into "plain"
|
||||
# makefile mode (because the configure here does not pass along e.g.
|
||||
# compiler variables like CC)
|
||||
override_dh_auto_build:
|
||||
CFLAGS="$(CFLAGS) $(CPPFLAGS)" dh_auto_build -Smakefile
|
||||
|
||||
export CFLAGS
|
||||
#export LDFLAGS
|
||||
export CC
|
||||
# Skip
|
||||
override_dh_auto_install:
|
||||
|
||||
build: patch build-stamp
|
||||
|
||||
build-stamp:
|
||||
dh_testdir
|
||||
|
||||
# Add here commands to compile the package.
|
||||
dh_auto_configure -- --enable-pamdir=/lib/$(DEB_HOST_MULTIARCH)/security
|
||||
|
||||
# $(MAKE) -e
|
||||
$(MAKE)
|
||||
|
||||
touch build-stamp
|
||||
|
||||
#patch:
|
||||
# if [ ! -f patch-stamp ]; then \
|
||||
# patch -p1 < debian/patches/001.fix_Makefile.diff && \
|
||||
# patch -p1 < debian/patches/002.CAN2005-0108.diff && \
|
||||
# touch patch-stamp; \
|
||||
# fi
|
||||
#
|
||||
#unpatch:
|
||||
# if [ -f patch-stamp ]; then \
|
||||
# patch -Rp1 < debian/patches/002.CAN2005-0108.diff && \
|
||||
# patch -Rp1 < debian/patches/001.fix_Makefile.diff && \
|
||||
# rm -f patch-stamp; \
|
||||
# fi
|
||||
|
||||
patch:
|
||||
if [ ! -f patch-stamp ]; then \
|
||||
touch patch-stamp; \
|
||||
fi
|
||||
|
||||
unpatch:
|
||||
if [ -f patch-stamp ]; then \
|
||||
rm -f patch-stamp; \
|
||||
fi
|
||||
|
||||
clean: unpatch real-clean
|
||||
real-clean:
|
||||
dh_testdir
|
||||
dh_testroot
|
||||
rm -f build-stamp
|
||||
|
||||
# Add here commands to clean up after the build process.
|
||||
[ ! -f Makefile ] || $(MAKE) clean
|
||||
|
||||
dh_clean
|
||||
|
||||
install: build
|
||||
dh_testdir
|
||||
dh_testroot
|
||||
dh_clean -k
|
||||
dh_installdirs /lib /lib/$(DEB_HOST_MULTIARCH) /lib/$(DEB_HOST_MULTIARCH)/security /etc /etc/logrotate.d /etc/pam_radius_auth.d /etc/pam_radius_auth.d/statistics /usr/share/doc/libpam-radius-auth/html
|
||||
|
||||
install -p pam_radius_auth.so debian/libpam-radius-auth/lib/$(DEB_HOST_MULTIARCH)/security/pam_radius_auth.so
|
||||
install -p ../freeradius/freeradius-server/src/lib/.libs/libradius-1.1.8.so debian/libpam-radius-auth/lib/$(DEB_HOST_MULTIARCH)/libradius-1.1.8.so
|
||||
install -p ../freeradius/freeradius-server/src/modules/rlm_eap/libeap/.libs/libeap-1.1.8.so debian/libpam-radius-auth/lib/$(DEB_HOST_MULTIARCH)/libeap-1.1.8.so
|
||||
install -p pam_radius_auth.conf debian/libpam-radius-auth/etc/pam_radius_auth.conf
|
||||
install -p pam_radius debian/libpam-radius-auth/etc/logrotate.d/pam_radius
|
||||
install -p index.html debian/libpam-radius-auth/usr/share/doc/libpam-radius-auth/html/index.html
|
||||
install -p debian/index.html debian/libpam-radius-auth/usr/share/doc/libpam-radius-auth/html/index.debian.html
|
||||
|
||||
# Build architecture-independent
|
||||
binary-indep: build install
|
||||
# nothing to do
|
||||
|
||||
# Build architecture-dependent files here.
|
||||
binary-arch: build install
|
||||
dh_testdir
|
||||
dh_testroot
|
||||
dh_installchangelogs Changelog
|
||||
dh_installdocs README.rst TODO USAGE debian/README.Debian
|
||||
dh_installexamples pam_radius_auth.conf debian/pam_example INSTALL
|
||||
dh_strip
|
||||
dh_compress usr/share/doc/libpam-radius-auth/README.rst\
|
||||
usr/share/doc/libpam-radius-auth/README.Debian\
|
||||
usr/share/doc/libpam-radius-auth/USAGE\
|
||||
usr/share/doc/libpam-radius-auth/examples/INSTALL
|
||||
override_dh_fixperms:
|
||||
dh_fixperms
|
||||
chmod 600 debian/libpam-radius-auth/etc/pam_radius_auth.conf
|
||||
chmod 644 debian/libpam-radius-auth/etc/logrotate.d/pam_radius
|
||||
dh_makeshlibs
|
||||
dh_installdeb
|
||||
dh_shlibdeps
|
||||
dh_gencontrol
|
||||
dh_md5sums
|
||||
dh_builddeb
|
||||
|
||||
binary: binary-arch binary-indep
|
||||
.PHONY: build clean binary-arch binary install patch unpatch
|
||||
override_dh_installdirs:
|
||||
dh_installdirs
|
||||
dh_installdirs /lib /lib/$(DEB_HOST_MULTIARCH) /lib/$(DEB_HOST_MULTIARCH)/security
|
||||
dh_installdirs /etc /etc/logrotate.d /etc/pam_radius_auth.d /etc/pam_radius_auth.d/statistics
|
||||
|
||||
override_dh_install:
|
||||
dh_install
|
||||
dh_install pam_radius_auth.so lib/$(DEB_HOST_MULTIARCH)/security/
|
||||
dh_install pam_radius_auth.conf etc/
|
||||
dh_install ../freeradius/freeradius-server/src/modules/rlm_eap/libeap/.libs/libeap-1.1.8.so lib/$(DEB_HOST_MULTIARCH)/
|
||||
dh_install ../freeradius/freeradius-server/src/lib/.libs/libradius-1.1.8.so lib/$(DEB_HOST_MULTIARCH)/
|
||||
dh_install pam_radius etc/logrotate.d/
|
||||
|
||||
override_dh_shlibdeps:
|
||||
|
1
src/radius/pam/debian/source/format
Normal file
1
src/radius/pam/debian/source/format
Normal file
@ -0,0 +1 @@
|
||||
3.0 (quilt)
|
5
src/radius/pam/debian/source/options
Normal file
5
src/radius/pam/debian/source/options
Normal file
@ -0,0 +1,5 @@
|
||||
extend-diff-ignore=aclocal\.m4
|
||||
extend-diff-ignore=configure
|
||||
extend-diff-ignore=config\.status
|
||||
extend-diff-ignore=config\.guess
|
||||
|
1701
src/radius/pam/freeradius/patches/config.guess
vendored
Normal file
1701
src/radius/pam/freeradius/patches/config.guess
vendored
Normal file
File diff suppressed because it is too large
Load Diff
1861
src/radius/pam/freeradius/patches/config.sub
vendored
Normal file
1861
src/radius/pam/freeradius/patches/config.sub
vendored
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user