From e8f3d02073a697574ddf7ac6b63d34b400d36c89 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=A7=D0=B8=D1=81=D1=82=D1=8F=D0=BA=D0=BE=D0=B2=20=D0=9C?= =?UTF-8?q?=D0=B0=D1=80=D0=BA?= Date: Tue, 14 Jul 2009 07:29:03 +0600 Subject: new file: x11-drivers/nvidia-drivers/nvidia-drivers-185.18.14.ebuild --- app-admin/ulogd/files | 140 +++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 139 insertions(+), 1 deletion(-) (limited to 'app-admin') diff --git a/app-admin/ulogd/files b/app-admin/ulogd/files index dde5a02..d3d5cb1 120000 --- a/app-admin/ulogd/files +++ b/app-admin/ulogd/files @@ -1 +1,139 @@ -/var/paludis/repositories/gentoo/app-admin/ulogd/files \ No newline at end of file +/var/paludis/repositories/gentoo/app-admin/ulogd/filesunder the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-admin/ulogd/ulogd-2.0.0_beta2.ebuild,v 1.2 2009/02/09 09:36:03 angelos Exp $ + +EAPI="1" + +MY_P=${P/_/} +S="${WORKDIR}/${MY_P}" + +DESCRIPTION="A userspace logging daemon for netfilter/iptables related logging" +HOMEPAGE="http://netfilter.org/projects/ulogd/index.html" +SRC_URI="http://ftp.netfilter.org/pub/${PN}/${MY_P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="mysql postgres sqlite3 pcap doc" + +RDEPEND="net-firewall/iptables + net-libs/libnfnetlink + net-libs/libnetfilter_log + net-libs/libnetfilter_conntrack + mysql? ( virtual/mysql ) + postgres? ( virtual/postgresql-server ) + sqlite3? ( dev-db/sqlite:3 ) + pcap? ( net-libs/libpcap )" + +DEPEND="${RDEPEND} + sys-devel/autoconf:2.5 + doc? ( + app-text/linuxdoc-tools + app-text/texlive-core + )" + +src_compile() { + econf \ + $(use_with mysql) \ + $(use_with postgres pgsql) \ + $(use_with sqlite3) \ + $(use_with pcap) + + emake || die "emake failed" + + if use doc ; then + # build extra documentation files (.ps, .txt, .html, .dvi) + emake -C doc || die "emake for docs failed" + fi +} + +src_install() { + emake install DESTDIR="${D}" || die "emake install failed" + + doinitd "${FILESDIR}"/ulogd || die "doinitd failed" + + insinto /etc + doins ulogd.conf || die "ulogd.conf installation failed" + + dodoc AUTHORS README + + if use doc ; then + dohtml doc/ulogd.html + dodoc doc/ulogd.dvi + dodoc doc/ulogd.txt + dodoc doc/ulogd.ps + fi + + use mysql && dodoc doc/mysql-ulogd2.sql + use postgres && dodoc doc/pgsql-ulogd2.sql + use sqlite3 && dodoc doc/sqlite3.table + + # install logrotate config + insinto /etc/logrotate.d + newins ulogd.logrotate ulogd || die "logrotate config failed" + + doman ulogd.8 || die +} + + # install logrotate config + insinto /etc/logrotate.d + newins ulogd.logrotate ulogd || die "logrotate config failed" + + doman ulogd.8 || die +} +e="MPD_NO_IPV6=noipv6" + fi + local myconf + myconf="--enable-proc-uptime" + if useq X; then + myconf="${myconf} --enable-x11 --enable-double-buffer --enable-xdamage --enable-own-window" + myconf="${myconf} $(use_enable truetype xft)" + else + myconf="${myconf} --disable-x11 --disable-double-buffer --disable-xdamage --disable-own-window" + myconf="${myconf} --disable-xft" + fi + econf \ + ${myconf} \ + $(use_enable audacious) \ + $(use_enable bmpx) \ + $(use_enable debug) \ + $(use_enable hddtemp ) \ + $(use_enable moc) \ + $(use_enable mpd) \ + $(use_enable nvidia) \ + $(use_enable rss) \ + $(use_enable smapi) \ + $(use_enable wifi wlan) \ + $(use_enable !ipv6 portmon) || die "econf failed" + emake ${mymake} || die "compile failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "make install failed" + dodoc ChangeLog AUTHORS README + dohtml doc/docs.html doc/config_settings.html doc/variables.html + + if use vim-syntax; then + insinto /usr/share/vim/vimfiles/ftdetect + doins "${S}"/extras/vim/ftdetect/conkyrc.vim + + insinto /usr/share/vim/vimfiles/syntax + doins "${S}"/extras/vim/syntax/conkyrc.vim + fi + + if use nano-syntax; then + insinto /usr/share/nano/ + doins "${S}"/extras/nano/conky.nanorc + fi +} + +pkg_postinst() { + elog "You can find the sample configuration file at" + elog "/etc/conky/conky.conf. To customize it, copy" + elog "/etc/conky/conky.conf to ~/.conkyrc and edit" + elog "it to your liking." + elog + elog "For more info on Conky's new features," + elog "please look at the README and ChangeLog:" + elog "/usr/share/doc/${PF}/README.bz2" + elog "/usr/share/doc/${PF}/ChangeLog.bz2" + elog "There are also pretty p \ No newline at end of file -- cgit v1.2.3