Browse Source

ecn-node: modularized ecn-node to be easier to extend it.

master
Nagy Károly Gábriel 12 years ago
parent
commit
65e131366d
16 changed files with 365 additions and 99 deletions
  1. +15
    -0
      build.sh
  2. +17
    -0
      config.in
  3. +0
    -99
      pkgsel
  4. +16
    -0
      pkgsel.d/00-wipe.all
  5. +23
    -0
      pkgsel.d/Apache.ask
  6. +18
    -0
      pkgsel.d/MySQL.ask
  7. +18
    -0
      pkgsel.d/NginX.ask
  8. +26
    -0
      pkgsel.d/PHP.ask
  9. +19
    -0
      pkgsel.d/PostgreSQL.ask
  10. +19
    -0
      pkgsel.d/Python.ask
  11. +37
    -0
      pkgsel.d/core-userspace.all
  12. +26
    -0
      pkgsel.d/core.all
  13. +36
    -0
      pkgsel.d/rrd.all
  14. +47
    -0
      pkgsel.d/toolchain.all
  15. +29
    -0
      pkgsel.d/tools.all
  16. +19
    -0
      pkgsel.in

+ 15
- 0
build.sh

@ -0,0 +1,15 @@
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: target/ecn-node/build.sh
# Copyright (C) 2012 The OpenSDE Project
#
# More information can be found in the files COPYING and README.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; version 2 of the License. A copy of the
# GNU General Public License can be found in the file COPYING.
# --- SDE-COPYRIGHT-NOTE-END ---
. target/generic/build.sh

+ 17
- 0
config.in

@ -30,4 +30,21 @@ for x in \
export SDECFGSET_PKG_$x
done
SDECFGSET_IMAGE=none
SDECFGSET_XTRACE='1'
if [ ! -s "$cfgtmpdir/$target.config.in" ]; then
# render files just once
lib/sde-config/pkgseldir_compile.sh \
"CFGTEMP_TRG_ECN_PKGSEL" "SDECFG_TRG_ECN_" \
"$cfgtmpdir/$target." \
"target/$target/pkgsel.d"
fi
if [ -s "$cfgtmpdir/$target.config.in" ]; then
. "$cfgtmpdir/$target.config.in"
else
comment "--- Failed to process pkgsel.d ---"
fi

+ 0
- 99
pkgsel

@ -1,99 +0,0 @@
O *
X fhs
X sysfiles
X linux-header
X glibc
X ncurses
X readline
X gettext
X tzdata
X busybox
# toolchain
#
X gcc
X binutils
X flex
X ccache
X libtool
X automake
X autoconf
X pkgconfig
X gmp
X libmpc
X mpfr
X ppl
X cloog-ppl
# toolchain for chroot
#
X make
X patch
X diffutils
X tar
X bzip2
X gzip
X texinfo
X bison
X perl
X m4
X findutils
X sed
X gawk
X time
# core userspace
#
X runit
X socklog
X ipsvd
X bash
X bcron
X coreutils
X util-linux
X mine
X stone
X socklog
X openssh
X shadow
X dialog
X ssmtp
X openssl
# extra but important tools
#
X grep
X less
X vim
X procps
X psmisc
X sysstat
X curl
X rsync
X iconv
X lftp
X net-tools
X zlib
# needed by cronlog
X bglibs
X ucspi-unix
# rrd capability for every node
#
X rrdtool
# needed by rrdtool
X intltool
X glib
X perl-xml-parser
X expat
X libpng
X freetype
X libart_lgpl23
X libxml
X pango
# needed by pango
X fontconfig
X cairo
X pixman

+ 16
- 0
pkgsel.d/00-wipe.all

@ -0,0 +1,16 @@
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: target/ecn-node/pkgsel.d/00-wipe.all
# Copyright (C) 2012 The OpenSDE Project
#
# More information can be found in the files COPYING and README.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; version 2 of the License. A copy of the
# GNU General Public License can be found in the file COPYING.
# --- SDE-COPYRIGHT-NOTE-END ---
# we like to start from scratch
O *

+ 23
- 0
pkgsel.d/Apache.ask

@ -0,0 +1,23 @@
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: target/ecn-node/pkgsel.d/Apache.ask
# Copyright (C) 2012 The OpenSDE Project
#
# More information can be found in the files COPYING and README.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; version 2 of the License. A copy of the
# GNU General Public License can be found in the file COPYING.
# --- SDE-COPYRIGHT-NOTE-END ---
# Some morons might need apache
X apr
X apr-util
X apache
X mod_security
# We don't build mod_php hence mod_fastcgi is needed (check this after
# upgrade to php 5.4.0
X mod_fastcgi

+ 18
- 0
pkgsel.d/MySQL.ask

@ -0,0 +1,18 @@
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: target/ecn-node/pkgsel.d/MySQL.ask
# Copyright (C) 2012 The OpenSDE Project
#
# More information can be found in the files COPYING and README.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; version 2 of the License. A copy of the
# GNU General Public License can be found in the file COPYING.
# --- SDE-COPYRIGHT-NOTE-END ---
#MySQL and dependencies
X mysql
X cmake

+ 18
- 0
pkgsel.d/NginX.ask

@ -0,0 +1,18 @@
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: target/ecn-node/pkgsel.d/NginX.ask
# Copyright (C) 2012 The OpenSDE Project
#
# More information can be found in the files COPYING and README.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; version 2 of the License. A copy of the
# GNU General Public License can be found in the file COPYING.
# --- SDE-COPYRIGHT-NOTE-END ---
#NGINX and dependencies
X nginx
X pcre

+ 26
- 0
pkgsel.d/PHP.ask

@ -0,0 +1,26 @@
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: target/ecn-node/pkgsel.d/PHP.ask
# Copyright (C) 2012 The OpenSDE Project
#
# More information can be found in the files COPYING and README.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; version 2 of the License. A copy of the
# GNU General Public License can be found in the file COPYING.
# --- SDE-COPYRIGHT-NOTE-END ---
# PHP and dependencies
X php
X libmcrypt
X libxml
X libgd
X libjpeg
X libpng
X libtiff
X netpbm
X libevent
X eaccelerator

+ 19
- 0
pkgsel.d/PostgreSQL.ask

@ -0,0 +1,19 @@
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: target/ecn-node/pkgsel.d/PostgreSQL.ask
# Copyright (C) 2012 The OpenSDE Project
#
# More information can be found in the files COPYING and README.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; version 2 of the License. A copy of the
# GNU General Public License can be found in the file COPYING.
# --- SDE-COPYRIGHT-NOTE-END ---
X postgresql
X pgbouncer
X libaio
X recode

+ 19
- 0
pkgsel.d/Python.ask

@ -0,0 +1,19 @@
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: target/ecn-node/pkgsel.d/Python.ask
# Copyright (C) 2012 The OpenSDE Project
#
# More information can be found in the files COPYING and README.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; version 2 of the License. A copy of the
# GNU General Public License can be found in the file COPYING.
# --- SDE-COPYRIGHT-NOTE-END ---
# Python and niceties
X python
X bdb
X gdbm

+ 37
- 0
pkgsel.d/core-userspace.all

@ -0,0 +1,37 @@
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: target/ecn-node/pkgsel.d/core-userspace.all
# Copyright (C) 2012 The OpenSDE Project
#
# More information can be found in the files COPYING and README.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; version 2 of the License. A copy of the
# GNU General Public License can be found in the file COPYING.
# --- SDE-COPYRIGHT-NOTE-END ---
# core userspace
#
X runit
X socklog
X ipsvd
X bash
X bcron
X coreutils
X util-linux
X mine
X stone
X socklog
X openssh
X shadow
X dialog
X ssmtp
X openssl
# needed by cronlog
#
X bglibs
X ucspi-unix

+ 26
- 0
pkgsel.d/core.all

@ -0,0 +1,26 @@
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: target/ecn-node/pkgsel.d/core.all
# Copyright (C) 2012 The OpenSDE Project
#
# More information can be found in the files COPYING and README.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; version 2 of the License. A copy of the
# GNU General Public License can be found in the file COPYING.
# --- SDE-COPYRIGHT-NOTE-END ---
# core system that we like
X fhs
X sysfiles
X linux-header
X glibc
X ncurses
X readline
X gettext
X tzdata
X busybox

+ 36
- 0
pkgsel.d/rrd.all

@ -0,0 +1,36 @@
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: target/ecn-node/pkgsel.d/rrd.all
# Copyright (C) 2012 The OpenSDE Project
#
# More information can be found in the files COPYING and README.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; version 2 of the License. A copy of the
# GNU General Public License can be found in the file COPYING.
# --- SDE-COPYRIGHT-NOTE-END ---
# rrd capability for every node
#
X rrdtool
# needed by rrdtool
#
X intltool
X glib
X perl-xml-parser
X expat
X libpng
X freetype
X libart_lgpl23
X libxml
X pango
# needed by pango
#
X fontconfig
X cairo
X pixman

+ 47
- 0
pkgsel.d/toolchain.all

@ -0,0 +1,47 @@
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: target/ecn-node/pkgsel.d/toolchain.all
# Copyright (C) 2012 The OpenSDE Project
#
# More information can be found in the files COPYING and README.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; version 2 of the License. A copy of the
# GNU General Public License can be found in the file COPYING.
# --- SDE-COPYRIGHT-NOTE-END ---
# toolchain
#
X gcc
X binutils
X flex
X ccache
X libtool
X automake
X autoconf
X pkgconfig
X gmp
X libmpc
X mpfr
X ppl
X cloog-ppl
# toolchain for chroot
#
X make
X patch
X diffutils
X tar
X bzip2
X gzip
X texinfo
X bison
X perl
X m4
X findutils
X sed
X gawk
X time

+ 29
- 0
pkgsel.d/tools.all

@ -0,0 +1,29 @@
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: target/ecn-node/pkgsel.d/tools.all
# Copyright (C) 2012 The OpenSDE Project
#
# More information can be found in the files COPYING and README.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; version 2 of the License. A copy of the
# GNU General Public License can be found in the file COPYING.
# --- SDE-COPYRIGHT-NOTE-END ---
# extra but important tools
#
X grep
X less
X vim
X procps
X psmisc
X sysstat
X curl
X rsync
X iconv
X lftp
X net-tools
X zlib

+ 19
- 0
pkgsel.in

@ -0,0 +1,19 @@
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: target/ecn-node/pkgsel.in
# Copyright (C) 2012 The OpenSDE Project
#
# More information can be found in the files COPYING and README.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; version 2 of the License. A copy of the
# GNU General Public License can be found in the file COPYING.
# --- SDE-COPYRIGHT-NOTE-END ---
if [ -s "$cfgtmpdir/$target.pkgsel.in" ]; then
. "$cfgtmpdir/$target.pkgsel.in"
pkgfilter awk -f $cfgtmpdir/$target.pkgsel.awk
fi

Loading…
Cancel
Save