summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-firewall/nufw/nufw-2.0.3.ebuild')
-rw-r--r--net-firewall/nufw/nufw-2.0.3.ebuild35
1 files changed, 17 insertions, 18 deletions
diff --git a/net-firewall/nufw/nufw-2.0.3.ebuild b/net-firewall/nufw/nufw-2.0.3.ebuild
index 71462188b..6fa893c9f 100644
--- a/net-firewall/nufw/nufw-2.0.3.ebuild
+++ b/net-firewall/nufw/nufw-2.0.3.ebuild
@@ -11,26 +11,25 @@ SRC_URI="http://www.nufw.org/download/${PN}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86"
-IUSE="pam_nuauth pic prelude mysql postgres pam ldap gdbm ident unicode doc
-debug"
+
+IUSE="debug doc gdbm ident ldap mysql pam pam_nuauth pic postgres prelude unicode"
DEPEND=">=dev-libs/glib-2
- net-firewall/iptables
- >=net-libs/gnutls-1.1
- dev-libs/libgcrypt
- >=dev-libs/cyrus-sasl-2
- pam_auth? ( sys-libs/pam )
- mysql? ( dev-db/mysql )
- postgres? ( dev-db/postgresql )
- ldap? ( >=net-nds/openldap-2 )
- gdbm? ( sys-libs/gdbm )
- ident? ( net-libs/libident )"
-RDEPEND=""
+ dev-libs/libgcrypt
+ >=dev-libs/cyrus-sasl-2
+ net-firewall/iptables
+ >=net-libs/gnutls-1.1
+ gdbm? ( sys-libs/gdbm )
+ ident? ( net-libs/libident )
+ ldap? ( >=net-nds/openldap-2 )
+ mysql? ( dev-db/mysql )
+ pam_auth? ( sys-libs/pam )
+ postgres? ( dev-db/postgresql )"
+RDEPEND="${DEPEND}"
src_unpack() {
unpack ${A}
cd "${S}"
-
epatch "${FILESDIR}/${P}-configure.patch"
}
@@ -56,11 +55,11 @@ src_compile() {
src_install() {
emake DESTDIR="${D}" install || die "emake install failed"
- newinitd ${FILESDIR}/nufw-init.d nufw
- newconfd ${FILESDIR}/nufw-conf.d nufw
+ newinitd "${FILESDIR}"/nufw-init.d nufw
+ newconfd "${FILESDIR}"/nufw-conf.d nufw
- newinitd ${FILESDIR}/nuauth-init.d nuauth
- newconfd ${FILESDIR}/nuauth-conf.d nuauth
+ newinitd "${FILESDIR}"/nuauth-init.d nuauth
+ newconfd "${FILESDIR}"/nuauth-conf.d nuauth
insinto /etc/nufw
doins conf/nuauth.conf