From 2143e3eed17e7a1ffca6443a5e2ee5f6f90f9a08 Mon Sep 17 00:00:00 2001 From: Michael Sterrett Date: Sat, 22 Nov 2003 03:47:58 +0000 Subject: repoman: Fix leading whitespace --- net-dialup/freeradius/Manifest | 4 +- net-dialup/freeradius/freeradius-0.9.3.ebuild | 162 +++++++++++++------------- 2 files changed, 83 insertions(+), 83 deletions(-) (limited to 'net-dialup') diff --git a/net-dialup/freeradius/Manifest b/net-dialup/freeradius/Manifest index af724dd9e081..231770be9285 100644 --- a/net-dialup/freeradius/Manifest +++ b/net-dialup/freeradius/Manifest @@ -1,8 +1,8 @@ +MD5 c9ca562f532cd72201ba02749ceb1e8c ChangeLog 1126 MD5 000cb9eedaa6f7e9c67ae21afb938c77 freeradius-0.8.1.ebuild 787 -MD5 c7abbd3e72fc109ccc713ba1ddf52baa freeradius-0.9.3.ebuild 3138 MD5 52e1f3eebc9e0975428e0fbc19d522fb freeradius-0.9.0.ebuild 3031 -MD5 c9ca562f532cd72201ba02749ceb1e8c ChangeLog 1126 MD5 ec2f84816306825d125d0c01bd86758d metadata.xml 163 +MD5 3dd7b28d9f666603a56fd53bd514dfb9 freeradius-0.9.3.ebuild 2926 MD5 c74e5180819ac75249b8a0a81694b47c files/digest-freeradius-0.8.1 63 MD5 25c3511d9df84703c8b34aceb81d55d6 files/digest-freeradius-0.9.0 69 MD5 ee618f223ec67a53ad3a6cfd399ea8eb files/digest-freeradius-0.9.3 69 diff --git a/net-dialup/freeradius/freeradius-0.9.3.ebuild b/net-dialup/freeradius/freeradius-0.9.3.ebuild index 8d9727188314..6ea9101ef0f9 100644 --- a/net-dialup/freeradius/freeradius-0.9.3.ebuild +++ b/net-dialup/freeradius/freeradius-0.9.3.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-dialup/freeradius/freeradius-0.9.3.ebuild,v 1.1 2003/11/21 17:09:52 rphillips Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-dialup/freeradius/freeradius-0.9.3.ebuild,v 1.2 2003/11/22 03:47:56 mr_bones_ Exp $ IUSE="snmp mysql postgres ldap kerberos ssl pam frascend frlargefiles frnothreads frxp" @@ -14,107 +14,107 @@ LICENSE="GPL-2" SLOT="0" RDEPEND="virtual/glibc - sys-devel/libtool - >=sys-libs/db-3.2 - sys-libs/gdbm - snmp? ( net-analyzer/ucd-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 ) - frxp? ( dev-lang/python - dev-lang/perl )" + sys-devel/libtool + >=sys-libs/db-3.2 + sys-libs/gdbm + snmp? ( net-analyzer/ucd-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 ) + frxp? ( dev-lang/python + dev-lang/perl )" DEPEND="${RDEPEND}" src_unpack() { - cd ${WORKDIR} - unpack ${MY_PN}.tar.gz - cd ${S} - - autoconf + cd ${WORKDIR} + unpack ${MY_PN}.tar.gz + cd ${S} + + autoconf } src_compile() { - local myconf="" - - if [ -z "`use snmp`" ]; then - myconf="--without-snmp" - fi - if [ "`use frascend`" ]; then - myconf="${myconf} --with-ascend-binary" - fi - if [ "`use frlargefiles`" ]; then - myconf="${myconf} --with-large-files" - fi - if [ "`use frnothreds`" ]; then - myconf="${myconf} --without-threads" - fi - if [ "`use frxp`" ]; then - myconf="${myconf} --with-experimental-modules" - fi - - # kill modules we don't use - if [ -z "`use ssl`" ]; then - einfo "removing rlm_eap_tls and rlm_x99_token (no use ssl)" - rm -rf src/modules/rlm_eap/types/rlm_eap_tls src/modules/rlm_x99_token - fi - if [ -z "`use ldap`" ]; then - einfo "removing rlm_ldap (no use ldap)" - rm -rf src/modules/rlm_ldap - fi - if [ -z "`use kerberos`" ]; then - einfo "removing rlm_krb5 (no use kerberos)" - rm -rf src/modules/rlm_krb5 - fi - if [ -z "`use pam`" ]; then - einfo "removing rlm_pam (no use pam)" - rm -rf src/modules/rlm_pam - fi - - # experimental modules are - # rlm_checkval rlm_cram rlm_dictionary rlm_example rlm_passwd rlm_perl - # rlm_python rlm_smb rlm_sqlcounter - - ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \ - --mandir=/usr/share/man --host=${CHOST} \ - --with-gnu-ld --with-system-libtool --disable-ltdl-install \ - ${myconf} || die - - make || die - + local myconf="" + + if [ -z "`use snmp`" ]; then + myconf="--without-snmp" + fi + if [ "`use frascend`" ]; then + myconf="${myconf} --with-ascend-binary" + fi + if [ "`use frlargefiles`" ]; then + myconf="${myconf} --with-large-files" + fi + if [ "`use frnothreds`" ]; then + myconf="${myconf} --without-threads" + fi + if [ "`use frxp`" ]; then + myconf="${myconf} --with-experimental-modules" + fi + + # kill modules we don't use + if [ -z "`use ssl`" ]; then + einfo "removing rlm_eap_tls and rlm_x99_token (no use ssl)" + rm -rf src/modules/rlm_eap/types/rlm_eap_tls src/modules/rlm_x99_token + fi + if [ -z "`use ldap`" ]; then + einfo "removing rlm_ldap (no use ldap)" + rm -rf src/modules/rlm_ldap + fi + if [ -z "`use kerberos`" ]; then + einfo "removing rlm_krb5 (no use kerberos)" + rm -rf src/modules/rlm_krb5 + fi + if [ -z "`use pam`" ]; then + einfo "removing rlm_pam (no use pam)" + rm -rf src/modules/rlm_pam + fi + + # experimental modules are + # rlm_checkval rlm_cram rlm_dictionary rlm_example rlm_passwd rlm_perl + # rlm_python rlm_smb rlm_sqlcounter + + ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \ + --mandir=/usr/share/man --host=${CHOST} \ + --with-gnu-ld --with-system-libtool --disable-ltdl-install \ + ${myconf} || die + + make || die + } src_install() { - dodir /etc/raddb + dodir /etc/raddb - make R=${D} install || die + make R=${D} install || die - dodoc COPYRIGHT CREDITS INSTALL LICENSE README + dodoc COPYRIGHT CREDITS INSTALL LICENSE README - rm ${D}/usr/sbin/rc.radiusd + rm ${D}/usr/sbin/rc.radiusd - dodir /etc/init.d - cp ${FILESDIR}/radiusd.init ${D}/etc/init.d/radiusd + dodir /etc/init.d + cp ${FILESDIR}/radiusd.init ${D}/etc/init.d/radiusd - dodir /etc/conf.d - cp ${FILESDIR}/radiusd.conf ${D}/etc/conf.d/radiusd + dodir /etc/conf.d + cp ${FILESDIR}/radiusd.conf ${D}/etc/conf.d/radiusd - touch ${D}/var/run/radiusd/.keep - touch ${D}/var/log/radius/.keep - touch ${D}/var/log/radius/radacct/.keep + touch ${D}/var/run/radiusd/.keep + touch ${D}/var/log/radius/.keep + touch ${D}/var/log/radius/radacct/.keep } pkg_postinst() { - einfo "You need to add an user and a group radiusd or" - einfo "change the radiusd.conf file to use an existing" - einfo "user for running radiusd." - einfo "Make sure that all paths radiusd needs to write" - einfo "to have the proper owner!" + einfo "You need to add an user and a group radiusd or" + einfo "change the radiusd.conf file to use an existing" + einfo "user for running radiusd." + einfo "Make sure that all paths radiusd needs to write" + einfo "to have the proper owner!" } -- cgit v1.2.3-65-gdbad