split_ipk_feeds.oeclass: Rebuild Packages before each run
authorMatthias Hentges <oe@hentges.net>
Wed, 13 Oct 2004 23:03:50 +0000 (23:03 +0000)
committerMatthias Hentges <oe@hentges.net>
Wed, 13 Oct 2004 23:03:50 +0000 (23:03 +0000)
BKrev: 416db456-4Y7PrIXeb8-tacCSQP3Sg

classes/split_ipk_feeds.oeclass
fakeconnect/fakeconnect_1.2.1.oe
ipac-ng/ipac-ng_1.30.oe
linux/openzaurus-sa_2.4.18-rmk7-pxa3-embedix20030509.oe
prism54/prism54-module_cvs.oe
timezones/timezones_cvs.oe

index 2cf73a2..4f349fd 100644 (file)
@@ -11,7 +11,10 @@ die () {
 do_split_feed () {
        test -z "$FEED_PATTERN" && die "No feed pattern in FEED_PATTERN"
        test -z "$FEED_NAME" && die "No feed name in FEED_NAME"
-       ! test -e ${DEPLOY_DIR_IPK}/Packages && die "[$DEPLOY_DIR_IPK/Packages] not found"
+       test -z "${DEPLOY_DIR_IPK}" && die "DEPLOY_DIR_IPK is empty, how do you do that?"
+       
+       echo "Rebuilding [${DEPLOY_DIR_IPK}/Packages]"
+       ipkg-make-index -r ${DEPLOY_DIR_IPK}/Packages -p ${DEPLOY_DIR_IPK}/Packages -l ${DEPLOY_DIR_IPK}/Packages.filelist -m ${DEPLOY_DIR_IPK}
        
        echo "Working on pattern [$FEED_PATTERN] for feed [$FEED_NAME]"
        
@@ -21,8 +24,7 @@ do_split_feed () {
        if ! test -z "$EXCLUDE_FROM_FEED"
        then
                cat feed-content.tmp | egrep -iv -- "$EXCLUDE_FROM_FEED" > feed-content.tmp2
-               rm feed-content.tmp
-               mv feed-content.tmp2 feed-content.tmp
+               rm feed-content.tmp ; mv feed-content.tmp2 feed-content.tmp
        fi
        
        if ! test -d ${DEPLOY_DIR_IPK}/${FEED_NAME}
index e69de29..1dd6f91 100644 (file)
@@ -0,0 +1,9 @@
+SECTION = "console/network"
+DESCRIPTION = "FakeConnect is a application/network stress-test program."
+LICENSE = "BSD"
+MAINTAINER = "Chris Larson <kergoth@handhelds.org>"
+
+SRC_URI = "http://www.hostname.org/fake_connect/fakeconnect-${PV}.tar.gz"
+S = "${WORKDIR}/fakeconnect-${PV}"
+
+inherit autotools
index e69de29..4786325 100644 (file)
@@ -0,0 +1,19 @@
+SECTION = "console/network"
+DESCRIPTION = "IPAC-NG is the iptables/ipchains based IP accounting package for Linux"
+HOMEPAGE = "http://ipac-ng.sourceforge.net/"
+MAINTAINER = "Bruno Randolf <bruno.randolf@4g-systems.biz>"
+SRC_URI = "${SOURCEFORGE_MIRROR}/ipac-ng/ipac-ng-${PV}.tar.bz2 \
+       file://makefile-build-cc.diff;patch=1;pnum=0"
+RDEPENDS = "perl libgd-perl"
+
+inherit autotools
+
+do_configure() {
+       oe_runconf
+}
+
+do_install_append() {
+       install -d ${D}/${sysconfdir}/ipac-ng
+       install -m 644 ${S}/doc/ipac.conf.sample ${D}/${sysconfdir}/ipac-ng
+       install -m 644 ${S}/doc/rules.conf.sample ${D}/${sysconfdir}/ipac-ng
+}
\ No newline at end of file
index e69de29..58d1ab2 100644 (file)
@@ -0,0 +1,5 @@
+SECTION = "base"
+include prism54-module_1.2.oe
+
+SRC_URI = "http://prism54.org/pub/linux/snapshot/tars/prism54-cvs-latest.tar.bz2"
+S = "${WORKDIR}/prism54-cvs-latest"
index a64facf..58f078f 100644 (file)
@@ -1,5 +1,5 @@
 DESCRIPTION = "Timezone data"
-SECTION = "opie/base"
+SECTION = "base"
 PRIORITY = "optional"
 MAINTAINER = "Team Opie <opie@handhelds.org>
 LICENSE = "GPL"