diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-03-24 03:55:50 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-03-24 03:55:50 +0000 |
commit | eb4617d7d91c9b4ef345c32d7e768076cac3c421 (patch) | |
tree | c07b8eb3f5a71e6ddd08ec448530a252f0a120c7 /sys-libs | |
parent | fix dosed (diff) | |
download | historical-eb4617d7d91c9b4ef345c32d7e768076cac3c421.tar.gz historical-eb4617d7d91c9b4ef345c32d7e768076cac3c421.tar.bz2 historical-eb4617d7d91c9b4ef345c32d7e768076cac3c421.zip |
initial import
Package-Manager: portage-2.0.51.19
Diffstat (limited to 'sys-libs')
-rw-r--r-- | sys-libs/com_err/ChangeLog | 8 | ||||
-rw-r--r-- | sys-libs/com_err/Manifest | 2 | ||||
-rw-r--r-- | sys-libs/com_err/com_err-1.37.ebuild | 61 | ||||
-rw-r--r-- | sys-libs/com_err/files/com_err-1.37-makefile.patch | 9 | ||||
-rw-r--r-- | sys-libs/com_err/files/com_err-1.37-sed-locale.patch | 51 | ||||
-rw-r--r-- | sys-libs/com_err/files/digest-com_err-1.37 | 1 | ||||
-rw-r--r-- | sys-libs/com_err/metadata.xml | 5 | ||||
-rw-r--r-- | sys-libs/ss/ChangeLog | 8 | ||||
-rw-r--r-- | sys-libs/ss/Manifest | 2 | ||||
-rw-r--r-- | sys-libs/ss/files/digest-ss-1.37 | 1 | ||||
-rw-r--r-- | sys-libs/ss/files/ss-1.37-makefile.patch | 9 | ||||
-rw-r--r-- | sys-libs/ss/files/ss-1.37-sed-locale.patch | 51 | ||||
-rw-r--r-- | sys-libs/ss/metadata.xml | 5 | ||||
-rw-r--r-- | sys-libs/ss/ss-1.37.ebuild | 61 |
14 files changed, 274 insertions, 0 deletions
diff --git a/sys-libs/com_err/ChangeLog b/sys-libs/com_err/ChangeLog new file mode 100644 index 000000000000..d2d93098ad9c --- /dev/null +++ b/sys-libs/com_err/ChangeLog @@ -0,0 +1,8 @@ +# ChangeLog for sys-libs/com_err +# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-libs/com_err/ChangeLog,v 1.1 2005/03/24 03:55:20 vapier Exp $ + +*com_err-1.37 (23 Mar 2005) + + 23 Mar 2005; Mike Frysinger <vapier@gentoo.org> : + Initial import. Ebuild submitted by me, forked from e2fsprogs. diff --git a/sys-libs/com_err/Manifest b/sys-libs/com_err/Manifest new file mode 100644 index 000000000000..8867fe3f183b --- /dev/null +++ b/sys-libs/com_err/Manifest @@ -0,0 +1,2 @@ +MD5 e2d0bc25eb73e34e4b263fc928b949c8 com_err-1.37.ebuild 1581 +MD5 65689a8be4c1b58f8e64f22165313292 files/digest-com_err-1.37 67 diff --git a/sys-libs/com_err/com_err-1.37.ebuild b/sys-libs/com_err/com_err-1.37.ebuild new file mode 100644 index 000000000000..ee95e64731c2 --- /dev/null +++ b/sys-libs/com_err/com_err-1.37.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-libs/com_err/com_err-1.37.ebuild,v 1.1 2005/03/24 03:55:20 vapier Exp $ + +inherit eutils flag-o-matic toolchain-funcs + +DESCRIPTION="common error display library" +HOMEPAGE="http://e2fsprogs.sourceforge.net/" +SRC_URI="mirror://sourceforge/e2fsprogs/e2fsprogs-${PV}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="-*" +#~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" +IUSE="nls" + +RDEPEND="" +DEPEND="nls? ( sys-devel/gettext )" + +S=${WORKDIR}/e2fsprogs-${PV} + +src_unpack() { + unpack ${A} + cd "${S}" + # Patch to make the configure and sed scripts more friendly to, + # for example, the Estonian locale + epatch "${FILESDIR}"/${P}-sed-locale.patch + # Clean up makefile to suck less + epatch "${FILESDIR}"/${P}-makefile.patch + + # Keep the package from doing silly things + export LDCONFIG=/bin/true + export CC=$(tc-getCC) + export STRIP=/bin/true +} + +src_compile() { + econf \ + --enable-elf-shlibs \ + --with-ldopts="${LDFLAGS}" \ + $(use_enable nls) \ + || die + emake -C lib/et || die +} + +src_test() { + make -C lib/et check || die "make check failed" +} + +src_install() { + make -C lib/et DESTDIR="${D}" install || die + dosed '/^ET_DIR=/s:=.*:=/usr/share/et:' /usr/bin/compile_et + dosym et/com_err.h /usr/include/com_err.h + + # Move shared libraries to /lib/, install static libraries to /usr/lib/, + # and install linker scripts to /usr/lib/. + dodir /$(get_libdir) + mv "${D}"/usr/$(get_libdir)/*.so* "${D}"/$(get_libdir)/ + dolib.a lib/libcom_err.a || die "dolib.a" + gen_usr_ldscript libcom_err.so +} diff --git a/sys-libs/com_err/files/com_err-1.37-makefile.patch b/sys-libs/com_err/files/com_err-1.37-makefile.patch new file mode 100644 index 000000000000..f6322fea403d --- /dev/null +++ b/sys-libs/com_err/files/com_err-1.37-makefile.patch @@ -0,0 +1,9 @@ +Fix the symlinks that submakefiles create so that they don't suck at life. + +--- e2fsprogs-1.37/lib/Makefile.elf-lib ++++ e2fsprogs-1.37/lib/Makefile.elf-lib +@@ -49,3 +49,3 @@ + @echo " SYMLINK $(libdir)/$(ELF_IMAGE).so" +- @$(LN_S) -f $(ELF_INSTALL_DIR)/$(ELF_SONAME) \ ++ @$(LN_S) -f $(ELF_SONAME) \ + $(DESTDIR)$(libdir)/$(ELF_IMAGE).so diff --git a/sys-libs/com_err/files/com_err-1.37-sed-locale.patch b/sys-libs/com_err/files/com_err-1.37-sed-locale.patch new file mode 100644 index 000000000000..1ba295d6aac3 --- /dev/null +++ b/sys-libs/com_err/files/com_err-1.37-sed-locale.patch @@ -0,0 +1,51 @@ +diff -ur e2fsprogs-1.36.orig/config/config.rpath e2fsprogs-1.36/config/config.rpath +--- e2fsprogs-1.36.orig/config/config.rpath 2005-02-06 18:02:17.000000000 -0500 ++++ e2fsprogs-1.36/config/config.rpath 2005-02-06 18:04:13.000000000 -0500 +@@ -478,7 +478,7 @@ + escaped_sys_lib_search_path_spec=`echo "X$sys_lib_search_path_spec" | sed -e 's/^X//' -e "$sed_quote_subst"` + escaped_sys_lib_dlsearch_path_spec=`echo "X$sys_lib_dlsearch_path_spec" | sed -e 's/^X//' -e "$sed_quote_subst"` + +-sed -e 's/^\([a-zA-Z0-9_]*\)=/acl_cv_\1=/' <<EOF ++sed -e 's/^\([[:alnum:]_]*\)=/acl_cv_\1=/' <<EOF + + # How to pass a linker flag through the compiler. + wl="$escaped_wl" +diff -ur e2fsprogs-1.36.orig/configure e2fsprogs-1.36/configure +--- e2fsprogs-1.36.orig/configure 2005-02-06 18:02:17.000000000 -0500 ++++ e2fsprogs-1.36/configure 2005-02-06 18:04:07.000000000 -0500 +@@ -1256,7 +1256,7 @@ + # value. + ac_cache_corrupted=false + for ac_var in `(set) 2>&1 | +- sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do ++ sed -n 's/^ac_env_\([[:alnum:]_]*\)_set=.*/\1/p'`; do + eval ac_old_set=\$ac_cv_env_${ac_var}_set + eval ac_new_set=\$ac_env_${ac_var}_set + eval ac_old_val="\$ac_cv_env_${ac_var}_value" +@@ -7487,7 +7487,7 @@ + esac + case $ac_prog in + # Accept absolute paths. +- [\\/]* | [A-Za-z]:[\\/]*) ++ [\\/]* | [[:alpha:]]:[\\/]*) + re_direlt='/[^/][^/]*/\.\./' + # Canonicalize the path of ld + ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'` +@@ -15068,7 +15068,7 @@ + # is no need to browse any of the substitutions). + # These are the two extra sed commands mentioned above. + (echo ':t +- /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed ++ /@[[:alpha:]_][[:alnum:]_]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed + if test -z "$ac_sed_cmds"; then + ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" + else +@@ -15258,7 +15258,7 @@ + _ACEOF + cat >>$CONFIG_STATUS <<\_ACEOF + :t +-/@[a-zA-Z_][a-zA-Z_0-9]*@/!b ++/@[[:alpha:]_][[:alnum:]_]*@/!b + s,@configure_input@,$configure_input,;t t + s,@srcdir@,$ac_srcdir,;t t + s,@abs_srcdir@,$ac_abs_srcdir,;t t diff --git a/sys-libs/com_err/files/digest-com_err-1.37 b/sys-libs/com_err/files/digest-com_err-1.37 new file mode 100644 index 000000000000..f0ccfbd55831 --- /dev/null +++ b/sys-libs/com_err/files/digest-com_err-1.37 @@ -0,0 +1 @@ +MD5 084b49e919121fc0bf53c8dae23a71f8 e2fsprogs-1.37.tar.gz 3507693 diff --git a/sys-libs/com_err/metadata.xml b/sys-libs/com_err/metadata.xml new file mode 100644 index 000000000000..96a2d586367d --- /dev/null +++ b/sys-libs/com_err/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>base-system</herd> +</pkgmetadata> diff --git a/sys-libs/ss/ChangeLog b/sys-libs/ss/ChangeLog new file mode 100644 index 000000000000..2434065a1ff6 --- /dev/null +++ b/sys-libs/ss/ChangeLog @@ -0,0 +1,8 @@ +# ChangeLog for sys-libs/ss +# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-libs/ss/ChangeLog,v 1.1 2005/03/24 03:55:50 vapier Exp $ + +*ss-1.37 (23 Mar 2005) + + 23 Mar 2005; Mike Frysinger <vapier@gentoo.org> : + Initial import. Ebuild submitted by me, forked from e2fsprogs. diff --git a/sys-libs/ss/Manifest b/sys-libs/ss/Manifest new file mode 100644 index 000000000000..8867fe3f183b --- /dev/null +++ b/sys-libs/ss/Manifest @@ -0,0 +1,2 @@ +MD5 e2d0bc25eb73e34e4b263fc928b949c8 com_err-1.37.ebuild 1581 +MD5 65689a8be4c1b58f8e64f22165313292 files/digest-com_err-1.37 67 diff --git a/sys-libs/ss/files/digest-ss-1.37 b/sys-libs/ss/files/digest-ss-1.37 new file mode 100644 index 000000000000..f0ccfbd55831 --- /dev/null +++ b/sys-libs/ss/files/digest-ss-1.37 @@ -0,0 +1 @@ +MD5 084b49e919121fc0bf53c8dae23a71f8 e2fsprogs-1.37.tar.gz 3507693 diff --git a/sys-libs/ss/files/ss-1.37-makefile.patch b/sys-libs/ss/files/ss-1.37-makefile.patch new file mode 100644 index 000000000000..f6322fea403d --- /dev/null +++ b/sys-libs/ss/files/ss-1.37-makefile.patch @@ -0,0 +1,9 @@ +Fix the symlinks that submakefiles create so that they don't suck at life. + +--- e2fsprogs-1.37/lib/Makefile.elf-lib ++++ e2fsprogs-1.37/lib/Makefile.elf-lib +@@ -49,3 +49,3 @@ + @echo " SYMLINK $(libdir)/$(ELF_IMAGE).so" +- @$(LN_S) -f $(ELF_INSTALL_DIR)/$(ELF_SONAME) \ ++ @$(LN_S) -f $(ELF_SONAME) \ + $(DESTDIR)$(libdir)/$(ELF_IMAGE).so diff --git a/sys-libs/ss/files/ss-1.37-sed-locale.patch b/sys-libs/ss/files/ss-1.37-sed-locale.patch new file mode 100644 index 000000000000..1ba295d6aac3 --- /dev/null +++ b/sys-libs/ss/files/ss-1.37-sed-locale.patch @@ -0,0 +1,51 @@ +diff -ur e2fsprogs-1.36.orig/config/config.rpath e2fsprogs-1.36/config/config.rpath +--- e2fsprogs-1.36.orig/config/config.rpath 2005-02-06 18:02:17.000000000 -0500 ++++ e2fsprogs-1.36/config/config.rpath 2005-02-06 18:04:13.000000000 -0500 +@@ -478,7 +478,7 @@ + escaped_sys_lib_search_path_spec=`echo "X$sys_lib_search_path_spec" | sed -e 's/^X//' -e "$sed_quote_subst"` + escaped_sys_lib_dlsearch_path_spec=`echo "X$sys_lib_dlsearch_path_spec" | sed -e 's/^X//' -e "$sed_quote_subst"` + +-sed -e 's/^\([a-zA-Z0-9_]*\)=/acl_cv_\1=/' <<EOF ++sed -e 's/^\([[:alnum:]_]*\)=/acl_cv_\1=/' <<EOF + + # How to pass a linker flag through the compiler. + wl="$escaped_wl" +diff -ur e2fsprogs-1.36.orig/configure e2fsprogs-1.36/configure +--- e2fsprogs-1.36.orig/configure 2005-02-06 18:02:17.000000000 -0500 ++++ e2fsprogs-1.36/configure 2005-02-06 18:04:07.000000000 -0500 +@@ -1256,7 +1256,7 @@ + # value. + ac_cache_corrupted=false + for ac_var in `(set) 2>&1 | +- sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do ++ sed -n 's/^ac_env_\([[:alnum:]_]*\)_set=.*/\1/p'`; do + eval ac_old_set=\$ac_cv_env_${ac_var}_set + eval ac_new_set=\$ac_env_${ac_var}_set + eval ac_old_val="\$ac_cv_env_${ac_var}_value" +@@ -7487,7 +7487,7 @@ + esac + case $ac_prog in + # Accept absolute paths. +- [\\/]* | [A-Za-z]:[\\/]*) ++ [\\/]* | [[:alpha:]]:[\\/]*) + re_direlt='/[^/][^/]*/\.\./' + # Canonicalize the path of ld + ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'` +@@ -15068,7 +15068,7 @@ + # is no need to browse any of the substitutions). + # These are the two extra sed commands mentioned above. + (echo ':t +- /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed ++ /@[[:alpha:]_][[:alnum:]_]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed + if test -z "$ac_sed_cmds"; then + ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" + else +@@ -15258,7 +15258,7 @@ + _ACEOF + cat >>$CONFIG_STATUS <<\_ACEOF + :t +-/@[a-zA-Z_][a-zA-Z_0-9]*@/!b ++/@[[:alpha:]_][[:alnum:]_]*@/!b + s,@configure_input@,$configure_input,;t t + s,@srcdir@,$ac_srcdir,;t t + s,@abs_srcdir@,$ac_abs_srcdir,;t t diff --git a/sys-libs/ss/metadata.xml b/sys-libs/ss/metadata.xml new file mode 100644 index 000000000000..96a2d586367d --- /dev/null +++ b/sys-libs/ss/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>base-system</herd> +</pkgmetadata> diff --git a/sys-libs/ss/ss-1.37.ebuild b/sys-libs/ss/ss-1.37.ebuild new file mode 100644 index 000000000000..80c0a164cb67 --- /dev/null +++ b/sys-libs/ss/ss-1.37.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-libs/ss/ss-1.37.ebuild,v 1.1 2005/03/24 03:55:50 vapier Exp $ + +inherit eutils flag-o-matic toolchain-funcs + +DESCRIPTION="Subsystem command parsing library" +HOMEPAGE="http://e2fsprogs.sourceforge.net/" +SRC_URI="mirror://sourceforge/e2fsprogs/e2fsprogs-${PV}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="-*" +#~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" +IUSE="nls" + +RDEPEND=">=sys-libs/com_err-${PV}" +DEPEND="${RDEPEND} + nls? ( sys-devel/gettext )" + +S=${WORKDIR}/e2fsprogs-${PV} + +src_unpack() { + unpack ${A} + cd "${S}" + # Patch to make the configure and sed scripts more friendly to, + # for example, the Estonian locale + epatch "${FILESDIR}"/${P}-sed-locale.patch + # Clean up makefile to suck less + epatch "${FILESDIR}"/${P}-makefile.patch + + # Keep the package from doing silly things + export LDCONFIG=/bin/true + export CC=$(tc-getCC) + export STRIP=/bin/true +} + +src_compile() { + econf \ + --enable-elf-shlibs \ + --with-ldopts="${LDFLAGS}" \ + $(use_enable nls) \ + || die + emake -C lib/ss COMPILE_ET=compile_et || die "make ss failed" +} + +src_test() { + make -C lib/ss check || die "make check failed" +} + +src_install() { + dodir /usr/share/man/man1 + make -C lib/ss DESTDIR="${D}" install || die + + # Move shared libraries to /lib/, install static libraries to /usr/lib/, + # and install linker scripts to /usr/lib/. + dodir /$(get_libdir) + mv "${D}"/usr/$(get_libdir)/*.so* "${D}"/$(get_libdir)/ + dolib.a lib/libss.a || die "dolib.a" + gen_usr_ldscript libss.so +} |