Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 247290

Summary: Version bump prelude-ids
Product: Gentoo Linux Reporter: Antixrict <antixrict>
Component: New packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED UPSTREAM    
Severity: normal CC: antixrict
Priority: High    
Version: 2008.0   
Hardware: HPPA   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: libprelude-0.9.21.3
libpreludedb-0.9.15.1
prelude-lml-0.9.14
prelude-manager-0.9.14.2

Description Antixrict 2008-11-18 00:34:36 UTC
I create some lame ebuilds with that what be also in portage change some description and for me all prelude emerge ok maybe someone can that ebuilds upgrade and make better.
Comment 1 Antixrict 2008-11-18 00:37:25 UTC
Created attachment 172154 [details]
libprelude-0.9.21.3

Add also hppa arch
Comment 2 Antixrict 2008-11-18 00:38:08 UTC
Created attachment 172155 [details]
libpreludedb-0.9.15.1

Add hppa arch
Comment 3 Antixrict 2008-11-18 00:38:46 UTC
Created attachment 172157 [details]
prelude-lml-0.9.14

Add hppa arch
Comment 4 Antixrict 2008-11-18 00:39:16 UTC
Created attachment 172158 [details]
prelude-manager-0.9.14.2

Add hppa arch
Comment 5 Antixrict 2008-11-18 18:43:18 UTC
Portage 2.2_rc14 (default/linux/hppa/2008.0, gcc-4.1.2, glibc-2.7-r2, 2.6.27.4-                                               antixrict parisc)
=================================================================
System uname: Linux-2.6.27.4-antixrict-parisc-PA8600_-PCX-W+-with-glibc2.2
Timestamp of tree: Mon, 17 Nov 2008 18:45:01 +0000
app-shells/bash:     3.2_p33
dev-lang/python:     2.4.4-r13, 2.5.2-r7
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.61-r2
sys-devel/automake:  1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="hppa"
CBUILD="hppa2.0-unknown-linux-gnu"
CFLAGS="-O2 -pipe -march=2.0"
CHOST="hppa2.0-unknown-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf                                                /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /et                                               c/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O -pipe -march=1.1"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer parallel-fetch preserve-libs protect-owne                                               d sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.tups.lv/source/ http://ftp.linux.ee/pub/gentoo/di                                               stfiles/"
LDFLAGS="-Wl,-O1"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress                                                --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exc                                               lude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="bash-completion berkdb bzip2 cli cracklib crypt cups firefox fontconfig fo                                               omaticdb fortran gdbm gpm hppa iconv imlib isdnlog jbig jpeg libwww midi mudfla                                               p ncurses nls nptl nptlonly openmp pam pcre perl pic png pppd python readline r                                               eflection session spell spl ssl sysfs tcpd tiff truetype unicode xml2 xorg zlib                                               " ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file                                                hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug                                                rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_a                                               lias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default auth                                               z_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lo                                               ck deflate dir disk_cache env expires ext_filter file_cache filter headers incl                                               ude info log_config logio mem_cache mime mime_magic negotiation rewrite setenvi                                               f speling status unique_id userdir usertrack vhost_alias" APACHE2_MPMS="prefork                                               " ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES                                               ="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLA                                               ND="GNU" VIDEO_CARDS="fbdev"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_                                               ALL, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC                                               _EXTRA_OPTS

Comment 6 Antixrict 2008-11-18 18:48:50 UTC
Comment on attachment 172154 [details]
libprelude-0.9.21.3

# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libprelude/libprelude-0.9.21.3.ebuild,v 1.7 2008/11/18 20:45:43 nixnut Exp $

inherit perl-module flag-o-matic eutils

DESCRIPTION="Prelude-IDS Framework Library"
HOMEPAGE="http://www.prelude-ids.org/"
SRC_URI="http://www.prelude-ids.org/download/releases/libprelude/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="alpha amd64 arm ia64 ppc sparc x86 hppa"
IUSE="doc perl python swig lua"

DEPEND=">=net-libs/gnutls-1.0.17
        !net-analyzer/prelude-nids"

pkg_setup() {
        use perl && perl-module_pkg_setup
}

src_unpack() {
        unpack ${A}
        cd "${S}"
        filter-lfs-flags
}

src_compile() {
        local myconf

         use perl && myconf="${myconf} --without-system-ltdl"

        econf \
                $(use_enable doc gtk-doc) \
                $(use_with swig) \
                $(use_with perl) \
                $(use_with python) \
                ${myconf} \
                || die "econf failed"

        emake || die "emake failed"
}

src_install() {
        emake DESTDIR="${D}" install || die "make install failed"
        use perl && fixlocalpod
}

pkg_preinst() { use perl && perl-module_pkg_preinst ; }
pkg_postinst() { use perl && perl-module_pkg_postinst ; }
pkg_prerm() { use perl && perl-module_pkg_prerm ; }
pkg_postrm() { use perl && perl-module_pkg_postrm ; }
Comment 7 Antixrict 2008-11-18 18:51:00 UTC
Comment on attachment 172155 [details]
libpreludedb-0.9.15.1

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libpreludedb/libpreludedb-0.9.15.1.ebuild,v 1.6 2008/11/18 20:49:25 dev-zero Exp $

inherit flag-o-matic eutils

DESCRIPTION="Prelude-IDS framework for easy access to the Prelude database"
HOMEPAGE="http://www.prelude-ids.org/"
SRC_URI="http://www.prelude-ids.org/download/releases/libpreludedb/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ppc sparc x86 hppa"
IUSE="doc mysql postgres perl python sqlite3 swig"

DEPEND="virtual/libc
        >=dev-libs/libprelude-0.9.20
        doc? ( dev-util/gtk-doc )
        mysql? ( virtual/mysql )
        postgres? ( virtual/postgresql-server )
        sqlite3? ( =dev-db/sqlite-3* )"
RDEPEND="${DEPEND}"

src_compile() {
        local myconf

        myconf="${myconf} --without-system-ltdl --with-pic"

        econf \
                $(use_with doc gtk-doc) \
                $(use_with mysql) \
                $(use_with postgres pgsql) \
                $(use_with sqlite3) \
                $(use_with perl) \
                $(use_with swig) \
                $(use_with python) \
                ${myconf} \
                || die "econf failed"

        emake || die "emake failed"
}

src_install() {
        emake DESTDIR="${D}" install || die "make install failed"
}

pkg_postinst() {
        elog "For additional installation instructions go to"
        elog "https://trac.prelude-ids.org/wiki/InstallingLibpreludedb"
}
Comment 8 Antixrict 2008-11-18 18:52:29 UTC
Comment on attachment 172157 [details]
prelude-lml-0.9.14

# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-admin/prelude-lml/prelude-lml-0.9.14.ebuild,v 1.5 2008/11/18 20:51:51 nixnut Exp $

inherit flag-o-matic

DESCRIPTION="Prelude-IDS Log Monitoring Lackey"
HOMEPAGE="http://www.prelude-ids.org/"
SRC_URI="http://www.prelude-ids.org/download/releases/prelude-lml/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ppc sparc x86 hppa"
IUSE="fam"

DEPEND="virtual/libc
        >=dev-libs/libprelude-0.9.9
        dev-libs/libpcre"

src_compile() {
        local myconf

        myconf="${myconf} --without-system-ltdl --with-pic"

        econf ${myconf} || die "econf failed"
        emake || die "emake failed"
}

src_install() {
        emake DESTDIR="${D}" install || die "make install failed"
        newinitd "${FILESDIR}"/gentoo.init prelude-lml
        newconfd "${FILESDIR}"/gentoo.conf prelude-lml
}
Comment 9 Antixrict 2008-11-18 18:55:08 UTC
Comment on attachment 172158 [details]
prelude-manager-0.9.14.2

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-admin/prelude-manager/prelude-manager-0.9.14.2.ebuild,v 1.6 2008/11/18 20:53:22 antixr$

inherit flag-o-matic

DESCRIPTION="Prelude-IDS Manager"
HOMEPAGE="http://www.prelude-ids.org/"
SRC_URI="http://www.prelude-ids.org/download/releases/prelude-manager/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ppc sparc x86 hppa"
IUSE="debug xml dbx tcpwrapper"

RDEPEND="virtual/libc
        !dev-libs/libprelude-cvs
        !app-admin/prelude-manager-cvs
        >=dev-libs/libprelude-0.9.20
        dev-libs/openssl
        xml? ( dev-libs/libxml )
        dbx? ( dev-libs/libpreludedb )
        tcpwrapper? ( sys-apps/tcp-wrappers )"

DEPEND="${RDEPEND}
        >=sys-apps/sed-4"

src_compile() {
        local myconf

        use debug && append-flags -O -ggdb
        use !xml && myconf="${myconf} --disable-xmltest --enable-xmlmod"
        use dbx && myconf="${myconf} --enable-libpreludedb"
        use tcpwrapper && myconf="${myconf} --enable-libwrap"

        myconf="${myconf} --localstatedir=/var --with-pic --without-system-ltdl"

        econf ${myconf} || die "econf failed"
        emake || die "emake failed"
}

src_install() {
        emake DESTDIR="${D}" install || die "make install failed"
        newinitd "${FILESDIR}"/gentoo.init prelude-manager
        newconfd "${FILESDIR}"/gentoo.conf prelude-manager

        dodir /var/run/prelude-manager

        keepdir /var/spool/prelude-manager
        keepdir /var/run/prelude-manager
}

pkg_postinst() {
        elog "If you use it with mysql backend, take a look at mysql update files"
        elog "at ${ROOT}/usr/share/libpreludedb/classic"
}
Comment 10 Antixrict 2008-11-18 18:57:39 UTC
(In reply to comment #0)
> I create some lame ebuilds with that what be also in portage change some
> description and for me all prelude emerge ok maybe someone can that ebuilds
> upgrade and make better.
> 

I'm upgrade all ebuilds, all work with hppa too. Also I use GnuTLS-2.6.2 and snort 2.8.3. all works. Maybe someone can do they better and add init.d scripts.