summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packages/groff/.mtn2git_empty0
-rw-r--r--packages/groff/groff/.mtn2git_empty0
-rw-r--r--packages/groff/groff/groff.patch35
-rw-r--r--packages/groff/groff_1.19.1.bb22
-rw-r--r--packages/man/man/.mtn2git_empty0
-rw-r--r--packages/man/man/man.conf140
-rw-r--r--packages/man/man_1.5p.bb34
-rw-r--r--packages/ncftp/ncftp_3.1.9.bb19
-rw-r--r--packages/procps/procps-3.2.5/.mtn2git_empty0
-rw-r--r--packages/procps/procps-3.2.5/install.patch25
-rw-r--r--packages/procps/procps-3.2.5/pagesz-not-constant.patch22
-rw-r--r--packages/procps/procps-3.2.5/procmodule.patch36
-rw-r--r--packages/procps/procps-3.2.5/psmodule.patch21
-rw-r--r--packages/procps/procps_3.2.5.bb25
-rw-r--r--packages/streamripper/streamripper_1.61.10.bb16
15 files changed, 395 insertions, 0 deletions
diff --git a/packages/groff/.mtn2git_empty b/packages/groff/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/groff/.mtn2git_empty
diff --git a/packages/groff/groff/.mtn2git_empty b/packages/groff/groff/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/groff/groff/.mtn2git_empty
diff --git a/packages/groff/groff/groff.patch b/packages/groff/groff/groff.patch
new file mode 100644
index 0000000000..d28c21a2a3
--- /dev/null
+++ b/packages/groff/groff/groff.patch
@@ -0,0 +1,35 @@
+--- groff/contrib/mom/Makefile.sub~ 2005-01-23 10:48:26.000000000 +0100
++++ groff/contrib/mom/Makefile.sub 2005-01-23 10:52:49.000000000 +0100
+@@ -18,7 +18,7 @@
+ # Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+
+ # These may be overridden if cross-compiling.
+-GROFFBIN=$(top_builddir)/src/roff/groff/groff
++GROFFBIN=echo
+ GROFF_BIN_PATH=`echo $(groff_bin_dirs) | sed -e 's| *|$(SH_SEP)|g'`
+
+ groff_bin_dirs=\
+--- groff/doc/Makefile.in~ 2005-01-23 10:58:22.000000000 +0100
++++ groff/doc/Makefile.in 2005-01-23 10:59:13.000000000 +0100
+@@ -35,8 +35,8 @@
+ pnmtops=@pnmtops_nosetpage@
+
+ # These may be overridden if cross-compiling.
+-TROFFBIN=$(top_builddir)/src/roff/troff/troff
+-GROFFBIN=$(top_builddir)/src/roff/groff/groff
++TROFFBIN=echo
++GROFFBIN=echo
+ GROFF_BIN_PATH=`echo $(groff_bin_dirs) | sed -e 's| *|:|g'`
+
+ # Since info files are distributed within the groff package, no
+--- groff/doc/Makefile.sub~ 2005-01-23 10:58:30.000000000 +0100
++++ groff/doc/Makefile.sub 2005-01-23 10:59:35.000000000 +0100
+@@ -18,7 +18,7 @@
+ # Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+
+ # These may be overridden if cross-compiling.
+-GROFFBIN=$(top_builddir)/src/roff/groff/groff
++GROFFBIN=echo
+ GROFF_BIN_PATH=`echo $(groff_bin_dirs) | sed -e 's| *|$(SH_SEP)|g'`
+
+ # Since info files are distributed within the groff package, no
diff --git a/packages/groff/groff_1.19.1.bb b/packages/groff/groff_1.19.1.bb
new file mode 100644
index 0000000000..e54950f837
--- /dev/null
+++ b/packages/groff/groff_1.19.1.bb
@@ -0,0 +1,22 @@
+LICENSE = "GPL"
+SECTION = "base"
+DESCRIPTION = "GNU roff"
+RDEPENDS="libstdc++6"
+MAINTAINER = "Inge Arnesen <inge.arnesen@gmail.com>"
+SRC_URI = "http://ftp.gnu.org/gnu/groff/groff-${PV}.tar.gz \
+ file://groff.patch;patch=1"
+
+# prefix and exec-prefix are broken and the .in file is broken too
+# and can't be autoreconf'ed, so specify every dir
+EXTRA_OECONF="--prefix=${D} --exec-prefix=${D} --bindir=${D}/usr/bin --datadir=${D}/usr/share --mandir=${D}/usr/man --infodir=${D}/usr/share/info"
+
+inherit autotools
+
+do_configure () {
+ oe_runconf
+}
+
+#do_install() {
+# oe_runmake 'PREFIX=${D}' install
+#}
+
diff --git a/packages/man/man/.mtn2git_empty b/packages/man/man/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/man/man/.mtn2git_empty
diff --git a/packages/man/man/man.conf b/packages/man/man/man.conf
new file mode 100644
index 0000000000..bb3c69720e
--- /dev/null
+++ b/packages/man/man/man.conf
@@ -0,0 +1,140 @@
+#
+# Generated automatically from man.conf.in by the
+# configure script.
+#
+# man.conf from man-1.5p
+#
+# For more information about this file, see the man pages man(1)
+# and man.conf(5).
+#
+# This file is read by man to configure the default manpath (also used
+# when MANPATH contains an empty substring), to find out where the cat
+# pages corresponding to given man pages should be stored,
+# and to map each PATH element to a manpath element.
+# It may also record the pathname of the man binary. [This is unused.]
+# The format is:
+#
+# MANBIN pathname
+# MANPATH manpath_element [corresponding_catdir]
+# MANPATH_MAP path_element manpath_element
+#
+# If no catdir is given, it is assumed to be equal to the mandir
+# (so that this dir has both man1 etc. and cat1 etc. subdirs).
+# This is the traditional Unix setup.
+# Certain versions of the FSSTND recommend putting formatted versions
+# of /usr/.../man/manx/page.x into /var/catman/.../catx/page.x.
+# The keyword FSSTND will cause this behaviour.
+# Certain versions of the FHS recommend putting formatted versions of
+# /usr/.../share/man/[locale/]manx/page.x into
+# /var/cache/man/.../[locale/]catx/page.x.
+# The keyword FHS will cause this behaviour (and overrides FSSTND).
+# Explicitly given catdirs override.
+#
+# FSSTND
+FHS
+#
+# This file is also read by man in order to find how to call nroff, less, etc.,
+# and to determine the correspondence between extensions and decompressors.
+#
+# MANBIN /usr/local/bin/man
+#
+# Every automatically generated MANPATH includes these fields
+#
+MANPATH /usr/man
+MANPATH /usr/share/man
+MANPATH /usr/local/man
+MANPATH /usr/local/share/man
+MANPATH /usr/X11R6/man
+#
+# Uncomment if you want to include one of these by default
+#
+# MANPATH /opt/*/man
+# MANPATH /usr/lib/*/man
+# MANPATH /usr/share/*/man
+# MANPATH /usr/kerberos/man
+#
+# Set up PATH to MANPATH mapping
+#
+# If people ask for "man foo" and have "/dir/bin/foo" in their PATH
+# and the docs are found in "/dir/man", then no mapping is required.
+#
+# The below mappings are superfluous when the right hand side is
+# in the mandatory manpath already, but will keep man from statting
+# lots of other nearby files and directories.
+#
+MANPATH_MAP /bin /usr/share/man
+MANPATH_MAP /sbin /usr/share/man
+MANPATH_MAP /usr/bin /usr/share/man
+MANPATH_MAP /usr/sbin /usr/share/man
+MANPATH_MAP /usr/local/bin /usr/local/share/man
+MANPATH_MAP /usr/local/sbin /usr/local/share/man
+MANPATH_MAP /usr/X11R6/bin /usr/X11R6/man
+MANPATH_MAP /usr/bin/X11 /usr/X11R6/man
+MANPATH_MAP /usr/bin/mh /usr/share/man
+#
+# NOAUTOPATH keeps man from automatically adding directories that look like
+# manual page directories to the path.
+#
+#NOAUTOPATH
+#
+# NOCACHE keeps man from creating cache pages ("cat pages")
+# (generally one enables/disable cat page creation by creating/deleting
+# the directory they would live in - man never does mkdir)
+#
+#NOCACHE
+#
+# Useful paths - note that COL should not be defined when
+# NROFF is defined as "groff -Tascii" or "groff -Tlatin1";
+# not only is it superfluous, but it actually damages the output.
+# For use with utf-8, NROFF should be "nroff -mandoc" without -T option.
+# (Maybe - but today I need -Tlatin1 to prevent double conversion to utf8.)
+#
+# If you have a new troff (version 1.18.1?) and its colored output
+# causes problems, add the -c option to TROFF, NROFF, JNROFF.
+#
+TROFF /usr/bin/groff -Tps -mandoc
+NROFF /usr/bin/nroff -Tlatin1 -mandoc
+JNROFF /usr/bin/groff -Tnippon -mandocj
+EQN /usr/bin/eqn -Tps
+NEQN /usr/bin/eqn -Tlatin1
+JNEQN /usr/bin/eqn -Tnippon
+TBL /usr/bin/tbl
+# COL /usr/bin/col
+REFER /usr/bin/refer
+PIC /usr/bin/pic
+VGRIND
+GRAP
+PAGER /usr/bin/less -isR
+CAT /bin/cat
+#
+# The command "man -a xyzzy" will show all man pages for xyzzy.
+# When CMP is defined man will try to avoid showing the same
+# text twice. (But compressed pages compare unequal.)
+#
+CMP /usr/bin/cmp -s
+#
+# Compress cat pages
+#
+COMPRESS /bin/bzip2
+COMPRESS_EXT .bz2
+#
+# Default manual sections (and order) to search if -S is not specified
+# and the MANSECT environment variable is not set.
+#
+MANSECT 1:1p:8:2:3:3p:4:5:6:7:9:0p:tcl:n:l:p:o
+#
+# Default options to use when man is invoked without options
+# This is mainly for the benefit of those that think -a should be the default
+# Note that some systems have /usr/man/allman, causing pages to be shown twice.
+#
+#MANDEFOPTIONS -a
+#
+# Decompress with given decompressor when input file has given extension
+# The command given must act as a filter.
+#
+.gz /bin/gunzip -c
+.bz2 /bin/bzip2 -c -d
+.z
+.Z /bin/zcat
+.F
+.Y
diff --git a/packages/man/man_1.5p.bb b/packages/man/man_1.5p.bb
new file mode 100644
index 0000000000..c666cf6c9c
--- /dev/null
+++ b/packages/man/man_1.5p.bb
@@ -0,0 +1,34 @@
+LICENSE = "GPL"
+SECTION = "base"
+MAINTAINER = "Inge Arnesen <inge.arnesen@gmail.com>"
+DESCRIPTION = "The man page suite, including man, apropos, \
+and whatis consists of programs that are used to read most \
+of the documentation available on a Linux system."
+RDEPENDS="less groff"
+# Note: The default man.conf uses wrong names for GNU eqn and troff,
+# so we install our own
+SRC_URI = "ftp://ftp.kernel.org/pub/linux/utils/man/man-${PV}.tar.bz2 \
+ file://man.conf"
+
+EXTRA_OEMAKE = ""
+GS = "-DGREPSILENT=\"q\""
+DEFS = "-DUSG -DDO_COMPRESS ${GS}"
+
+do_configure() {
+ ./configure -d -confdir ${sysconfdir}
+}
+
+do_compile() {
+ (cd src; ${BUILD_CC} ${BUILD_CFLAGS} ${BUILD_LDFLAGS} \
+ makemsg.c -o makemsg)
+ oe_runmake 'DEFS=${DEFS}'
+}
+
+do_install() {
+ oe_runmake 'PREFIX=${D}' install
+ install -m 644 ${FILESDIR}/man.conf ${D}/etc
+}
+
+FILES_${PN} = "${bindir} ${sbindir} ${libexecdir} ${libdir}/lib*.so.* \
+ ${libdir}/*/ ${sysconfdir} ${sharedstatedir} ${localstatedir} \
+ /bin /sbin /lib/*/ /lib/*.so*"
diff --git a/packages/ncftp/ncftp_3.1.9.bb b/packages/ncftp/ncftp_3.1.9.bb
new file mode 100644
index 0000000000..99673d8a97
--- /dev/null
+++ b/packages/ncftp/ncftp_3.1.9.bb
@@ -0,0 +1,19 @@
+DESCRIPTION = "A sophisticated console ftp client"
+SECTION = "console/network"
+PRIORITY = "optional"
+LICENSE = "ClarifiedArtistic"
+SRC_URI = "ftp://ftp.ncftp.com/ncftp/ncftp-${PV}-src.tar.bz2 \
+ file://acinclude.m4"
+
+inherit autotools
+
+do_configure_prepend () {
+ install -m 0644 ${WORKDIR}/acinclude.m4 acinclude.m4
+}
+
+do_install () {
+ install -d ${D}${bindir} ${D}${sysconfdir} ${D}${mandir}
+ oe_runmake 'prefix=${D}${prefix}' 'BINDIR=${D}${bindir}' \
+ 'SYSCONFDIR=${D}${sysconfdir}' 'mandir=${D}${mandir}' \
+ install
+}
diff --git a/packages/procps/procps-3.2.5/.mtn2git_empty b/packages/procps/procps-3.2.5/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/procps/procps-3.2.5/.mtn2git_empty
diff --git a/packages/procps/procps-3.2.5/install.patch b/packages/procps/procps-3.2.5/install.patch
new file mode 100644
index 0000000000..a05eec4ab6
--- /dev/null
+++ b/packages/procps/procps-3.2.5/install.patch
@@ -0,0 +1,25 @@
+*** procps-3.2.5/Makefile.orig Sun Jul 24 03:29:32 2005
+--- procps-3.2.5/Makefile Sun Jul 24 03:30:14 2005
+***************
+*** 211,220 ****
+ ###### install
+
+ $(BINFILES) : all
+! $(install) --mode a=rx $(notdir $@) $@
+
+ $(MANFILES) : all
+! $(install) --mode a=r $(notdir $@) $@
+
+ install: $(filter-out $(SKIP) $(addprefix $(DESTDIR),$(SKIP)),$(INSTALL))
+ cd $(usr/bin) && $(ln_f) skill snice
+--- 211,220 ----
+ ###### install
+
+ $(BINFILES) : all
+! $(install) -m 555 $(notdir $@) $@
+
+ $(MANFILES) : all
+! $(install) -m 444 $(notdir $@) $@
+
+ install: $(filter-out $(SKIP) $(addprefix $(DESTDIR),$(SKIP)),$(INSTALL))
+ cd $(usr/bin) && $(ln_f) skill snice
diff --git a/packages/procps/procps-3.2.5/pagesz-not-constant.patch b/packages/procps/procps-3.2.5/pagesz-not-constant.patch
new file mode 100644
index 0000000000..8e9e1ebfe1
--- /dev/null
+++ b/packages/procps/procps-3.2.5/pagesz-not-constant.patch
@@ -0,0 +1,22 @@
+Index: procps-3.2.1/proc/devname.c
+===================================================================
+--- procps-3.2.1.orig/proc/devname.c 2004-03-18 05:43:50.000000000 +1100
++++ procps-3.2.1/proc/devname.c 2005-04-02 10:40:17.462138000 +1000
+@@ -227,7 +227,7 @@
+
+ /* number --> name */
+ unsigned dev_to_tty(char *restrict ret, unsigned chop, dev_t dev_t_dev, int pid, unsigned int flags) {
+- static char buf[PAGE_SIZE];
++ static char buf[4096];
+ char *restrict tmp = buf;
+ unsigned dev = dev_t_dev;
+ unsigned i = 0;
+@@ -249,7 +249,7 @@
+ if((flags&ABBREV_TTY) && !strncmp(tmp,"tty", 3) && tmp[3]) tmp += 3;
+ if((flags&ABBREV_PTS) && !strncmp(tmp,"pts/", 4) && tmp[4]) tmp += 4;
+ /* gotta check before we chop or we may chop someone else's memory */
+- if(chop + (unsigned long)(tmp-buf) <= sizeof buf)
++ if(chop + (unsigned long)(tmp-buf) < sizeof buf)
+ tmp[chop] = '\0';
+ /* replace non-ASCII characters with '?' and return the number of chars */
+ for(;;){
diff --git a/packages/procps/procps-3.2.5/procmodule.patch b/packages/procps/procps-3.2.5/procmodule.patch
new file mode 100644
index 0000000000..fabfabaa59
--- /dev/null
+++ b/packages/procps/procps-3.2.5/procmodule.patch
@@ -0,0 +1,36 @@
+*** procps-3.2.5/proc/module.mk.orig Sun Jul 24 11:53:49 2005
+--- procps-3.2.5/proc/module.mk Sun Jul 24 11:54:32 2005
+***************
+*** 96,102 ****
+ #################### install rules ###########################
+
+ $(lib)$(SOFILE) : proc/$(SONAME)
+! $(install) --mode a=rx $< $@
+
+ ifneq ($(SOLINK),$(SOFILE))
+ .PHONY: $(lib)$(SOLINK)
+--- 96,102 ----
+ #################### install rules ###########################
+
+ $(lib)$(SOFILE) : proc/$(SONAME)
+! $(install) -m 555 $< $@
+
+ ifneq ($(SOLINK),$(SOFILE))
+ .PHONY: $(lib)$(SOLINK)
+***************
+*** 115,121 ****
+ $(ldconfig)
+
+ $(usr/lib)$(ANAME) : proc/$(ANAME)
+! $(install) --mode a=r $< $@
+
+ # Junk anyway... supposed to go in /usr/include/$(NAME)
+ #INSTALL += $(addprefix $(include),$(HDRFILES))
+--- 115,121 ----
+ $(ldconfig)
+
+ $(usr/lib)$(ANAME) : proc/$(ANAME)
+! $(install) -m 444 $< $@
+
+ # Junk anyway... supposed to go in /usr/include/$(NAME)
+ #INSTALL += $(addprefix $(include),$(HDRFILES))
diff --git a/packages/procps/procps-3.2.5/psmodule.patch b/packages/procps/procps-3.2.5/psmodule.patch
new file mode 100644
index 0000000000..f298c1c1c4
--- /dev/null
+++ b/packages/procps/procps-3.2.5/psmodule.patch
@@ -0,0 +1,21 @@
+*** procps-3.2.5/ps/module.mk.orig Sun Jul 24 11:54:40 2005
+--- procps-3.2.5/ps/module.mk Sun Jul 24 11:55:02 2005
+***************
+*** 33,40 ****
+
+
+ $(bin)ps: ps/ps
+! $(install) --mode a=rx $< $@
+
+ $(man1)ps.1 : ps/ps.1
+! $(install) --mode a=r $< $@
+ -rm -f $(DESTDIR)/var/catman/cat1/ps.1.gz $(DESTDIR)/var/man/cat1/ps.1.gz
+--- 33,40 ----
+
+
+ $(bin)ps: ps/ps
+! $(install) -m 555 $< $@
+
+ $(man1)ps.1 : ps/ps.1
+! $(install) -m 444 $< $@
+ -rm -f $(DESTDIR)/var/catman/cat1/ps.1.gz $(DESTDIR)/var/man/cat1/ps.1.gz
diff --git a/packages/procps/procps_3.2.5.bb b/packages/procps/procps_3.2.5.bb
new file mode 100644
index 0000000000..24def79a50
--- /dev/null
+++ b/packages/procps/procps_3.2.5.bb
@@ -0,0 +1,25 @@
+LICENSE = "GPL"
+DESCRIPTION = "Procps is the package that has a bunch \
+of small useful utilities that give information \
+about processes using the /proc filesystem. The package \
+includes the programs ps, top, vmstat, w, kill, and skill."
+SECTION = "base"
+PRIORITY = "optional"
+MAINTAINER = "Inge Arnesen <inge.arnesen@gmail.com>"
+DEPENDS = "ncurses"
+PR = "r1"
+
+SRC_URI = "http://procps.sourceforge.net/procps-${PV}.tar.gz \
+ file://install.patch;patch=1 \
+ file://procmodule.patch;patch=1 \
+ file://psmodule.patch;patch=1"
+
+
+
+inherit autotools
+
+EXTRA_OEMAKE = "CFLAGS=-I${STAGING_INCDIR} \
+ LDFLAGS=-L${STAGING_LIBDIR} -Wl,--rpath-link,${STAGING_LIBDIR} \
+ CURSES=-lncurses \
+ install='install -D' \
+ ldconfig=echo"
diff --git a/packages/streamripper/streamripper_1.61.10.bb b/packages/streamripper/streamripper_1.61.10.bb
new file mode 100644
index 0000000000..465e3d457d
--- /dev/null
+++ b/packages/streamripper/streamripper_1.61.10.bb
@@ -0,0 +1,16 @@
+DESCRIPTION = "StreamRipper lets you record streaming mp3 to your hard drive."
+SECTION = "console/multimedia"
+LICENSE = "GPL"
+STREAMRIPPER_MAINTAINER= "Inge Arnesen <inge.arnesen@gmail.com>"
+DEPENDS= "libogg libvorbis"
+RDEPENDS= "libogg libvorbis"
+
+SRC_URI = "${SOURCEFORGE_MIRROR}/streamripper/streamripper-${PV}.tar.gz"
+
+EXTRA_OECONF="--disable-oggtest \
+ --disable-vorbistest \
+ --with-ogg=${STAGING_LIBDIR} \
+ --with-vorbis=${STAGING_LIBDIR}"
+
+inherit autotools
+