Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 20685 Details for
Bug 33373
net-dialup/freeradius-0.9.2.ebuild (New package)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
freeradius-0.9.2.ebuild
freeradius-0.9.2.ebuild (text/plain), 2.99 KB, created by
Valery Kartel
on 2003-11-13 03:33:14 UTC
(
hide
)
Description:
freeradius-0.9.2.ebuild
Filename:
MIME Type:
Creator:
Valery Kartel
Created:
2003-11-13 03:33:14 UTC
Size:
2.99 KB
patch
obsolete
># Copyright 1999-2003 Gentoo Technologies, Inc. ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >IUSE="snmp mysql postgres ldap kerberos ssl pam" >P=${PN}-${PV} >#S=${WORKDIR}/${PN}-${PV} >DESCRIPTION="The FreeRADIUS Server Project is a high-performance and highly configurable RADIUS server with many features" >SRC_URI="ftp://ftp.freeradius.org/pub/radius/${P}.tar.gz" >HOMEPAGE="http://www.freeradius.org/" >KEYWORDS="x86" >LICENSE="GPL-2" >SLOT="0" > >PROVIDE="virtual/radius" > >RDEPEND="virtual/glibc > sys-devel/libtool > >=sys-libs/db-3.2 > sys-libs/gdbm > dev-lang/perl > dev-lang/python > snmp? ( virtual/snmp ) > mysql? ( dev-db/mysql ) > postgres? ( dev-db/postgresql ) > pam? ( sys-libs/pam ) > ssl? ( dev-libs/openssl ) > ldap? ( net-nds/openldap ) > kerberos? ( app-crypt/mit-krb5 )" > >DEPEND="${RDEPEND}" > >MAKEOPTS="${MAKEOPTS} -j1" > >#src_unpack() { ># unpack ${P}.tar.gz >#} > >src_compile() { > local myconf=" --localstatedir=/var \ > --with-system-libtool \ > --libdir=/usr/lib/radius" > use snmp || myconf="$myconf --without-snmp" > use static || myconf="$myconf --enable-static=no" > use frnomax || myconf="$myconf --with-ascend-binary" > use frnoxp || myconf="$myconf --with-experimental-modules" > use debug && myconf="$myconf --enable-developer" > use frlf && myconf="$myconf --with-large-files" > use frnothreds && myconf="$myconf --without-threads" > econf ${myconf} || die > emake || die >} > >src_install() { > keepdir /etc/raddb > > make install R=${D} || die > > use static || rm -f ${D}/usr/lib/radius/*.a > > rm -f ${D}/usr/share/doc/${P}/{OS2,MACOSX} > rm -f ${D}/usr/sbin/rc.radiusd > rm -f ${D}/etc/raddb/{clients,naslist,realms} > mv ${D}/var/run/radiusd ${D}/var/run/radius > > perl -i -pe 's/\/run\/radiusd/\/run\/radius/' ${D}/etc/raddb/radiusd.conf > perl -i -pe 's/^#(user|group) =.*$/${1} = radius/' ${D}/etc/raddb/radiusd.conf > perl -i -pe 's/#(\s+?shadow\s+?)=/${1}=/' ${D}/etc/radius/raddb.conf > > dodoc README CREDITS COPYRIGHT doc/rlm_* doc/*.txt doc/*_* > docinto rfc > dodoc doc/rfc/*.txt > dohtml doc/rfc/*.html > > docinto schema > dodoc src/modules/rlm_sql/drivers/rlm_sql_*/*.sql > > docinto scripts > dodoc scripts/create-users.pl scripts/radiusd2ldif.pl > dodoc scripts/cryptpasswd scripts/exec-program-wait > dodoc scripts/*.cron.* scripts/users2mysql.pl > > if use pam; then > insinto /etc/pam.d > newins redhat/radiusd-pam radius > fi > > if use snmp; then > insinto /usr/share/snmp/mibs > newins mibs/RADIUS-*.txt > fi > > exeinto /etc/init.d; newexe ${FILESDIR}/radius.initd radius > insinto /etc/conf.d; newins ${FILESDIR}/radius.confd radius >} > >pkg_postinst() { > groupadd radius &>/dev/null > id radius &>/dev/null || \ > useradd -g radius -d / -s /bin/false radius > for i in radutmp radwtmp radius.log radwatch.log checkrad.log; do > touch /var/log/radius/$i > chmod 600 /var/log/radius/$i > done > chmod 700 /var/log/radius /var/log/radius/radacct /var/run/radius > chown -R radius:radius /var/log/radius /var/run/radius > > einfo > einfo 'You can find the config files in /etc/raddb' > einfo >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 33373
:
20678
|
20679
|
20680
| 20685 |
20686