rpms/erlang-esasl/F-12 erlang-esasl.spec, NONE, 1.1 esasl--fix-search-for-ei_h.diff, NONE, 1.1 esasl--rhel_dirty_fix.diff, NONE, 1.1 import.log, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
Peter Lemenkov
peter at fedoraproject.org
Tue Feb 16 05:35:32 UTC 2010
- Previous message: rpms/erlang-esasl/devel erlang-esasl.spec, NONE, 1.1 esasl--fix-search-for-ei_h.diff, NONE, 1.1 esasl--rhel_dirty_fix.diff, NONE, 1.1 import.log, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Next message: rpms/erlang-esasl/F-11 erlang-esasl.spec, NONE, 1.1 esasl--fix-search-for-ei_h.diff, NONE, 1.1 esasl--rhel_dirty_fix.diff, NONE, 1.1 import.log, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: peter
Update of /cvs/pkgs/rpms/erlang-esasl/F-12
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv17343/F-12
Modified Files:
.cvsignore sources
Added Files:
erlang-esasl.spec esasl--fix-search-for-ei_h.diff
esasl--rhel_dirty_fix.diff import.log
Log Message:
initial commit (Review Request #556489)
--- NEW FILE erlang-esasl.spec ---
%define realname esasl
Name: erlang-%{realname}
Version: 0.1
Release: 3%{?dist}
Summary: Simple Authentication and Security Layer (SASL) support for Erlang
Group: Development/Languages
# erlang sources are under BSD, C sources - under LGPLv2+
License: BSD and LGPLv2+
URL: http://wiki.github.com/mikma/esasl/
Source0: http://cloud.github.com/downloads/mikma/%{realname}/%{realname}-%{version}.tar.gz
# Fix for not found header file - ei.h, while configuring (fixed in git already)
Patch0: esasl--fix-search-for-ei_h.diff
# fix for RHEL/EPEL, where automake/autoconf are way too old
PAtch1: esasl--rhel_dirty_fix.diff
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
BuildRequires: erlang
BuildRequires: libgsasl-devel
BuildRequires: autoconf
BuildRequires: automake
Requires: erlang
Provides: %{realname} = %{version}-%{release}
%description
Simple Authentication and Security Layer (SASL) support for Erlang.
%prep
%setup -q -n %{realname}-%{version}
%if 0%{?rhel}
%patch1 -p1 -b .fix_for_autoconf
%else
%patch0 -p0 -b .fix_ei_h_path
autoreconf -ivf
%endif
%build
%configure
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc AUTHORS COPYING COPYING.LIB README
%dir %{_libdir}/erlang/lib/%{realname}-%{version}
%{_libdir}/erlang/lib/%{realname}-%{version}/ebin/eldap_expr.beam
%{_libdir}/erlang/lib/%{realname}-%{version}/ebin/esasl.app
%{_libdir}/erlang/lib/%{realname}-%{version}/ebin/esasl.beam
%{_libdir}/erlang/lib/%{realname}-%{version}/priv/gsasl_drv
%changelog
* Mon Feb 15 2010 Peter Lemenkov <lemenkov at gmail.com> 0.1-3
- Fixed issues, found during review.
* Wed Feb 3 2010 Peter Lemenkov <lemenkov at gmail.com> 0.1-2
- Fix for EPEL
* Sat Jan 16 2010 Peter Lemenkov <lemenkov at gmail.com> 0.1-1
- Initial package for Fedora
esasl--fix-search-for-ei_h.diff:
configure.ac | 4 ++++
1 file changed, 4 insertions(+)
--- NEW FILE esasl--fix-search-for-ei_h.diff ---
--- configure.ac~ 2007-11-08 00:14:12.000000000 +0300
+++ configure.ac 2010-01-18 18:16:36.845905148 +0300
@@ -40,8 +40,12 @@
AC_ERLANG_SUBST_INSTALL_LIB_DIR
AC_ERLANG_CHECK_LIB(kernel)
AC_ERLANG_CHECK_LIB(stdlib)
+AC_ERLANG_CHECK_LIB(erl_interface)
AC_ERLANG_LIB_VER(kernel)
AC_ERLANG_LIB_VER(stdlib)
+AC_ERLANG_LIB_VER(erl_interface)
+
+CFLAGS="${CFLAGS%} -L$ERLANG_LIB_DIR_erl_interface/lib -I$ERLANG_LIB_DIR_erl_interface/include"
AC_CHECK_HEADER([ei.h],,[dnl
AC_MSG_ERROR([You need the ei.h header])])
esasl--rhel_dirty_fix.diff:
INSTALL | 243 ++-
Makefile.in | 307 +++-
aclocal.m4 | 453 ++++---
config/depcomp | 172 ++
config/install-sh | 517 +++++---
config/missing | 104 -
configure | 3014 +++++++++++++++++++++++++++---------------------
esasl/Makefile.in | 251 ++-
esasl/c_src/Makefile.in | 213 ++-
esasl/src/Makefile.in | 192 +--
10 files changed, 3352 insertions(+), 2114 deletions(-)
--- NEW FILE esasl--rhel_dirty_fix.diff ---
diff --git a/INSTALL b/INSTALL
index 23e5f25..7d1c323 100644
--- a/INSTALL
+++ b/INSTALL
@@ -1,16 +1,25 @@
Installation Instructions
*************************
-Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002, 2004, 2005 Free
-Software Foundation, Inc.
+Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002, 2004, 2005,
+2006, 2007, 2008, 2009 Free Software Foundation, Inc.
-This file is free documentation; the Free Software Foundation gives
-unlimited permission to copy, distribute and modify it.
+ Copying and distribution of this file, with or without modification,
+are permitted in any medium without royalty provided the copyright
+notice and this notice are preserved. This file is offered as-is,
+without warranty of any kind.
Basic Installation
==================
-These are generic installation instructions.
+ Briefly, the shell commands `./configure; make; make install' should
+configure, build, and install this package. The following
+more-detailed instructions are generic; see the `README' file for
+instructions specific to this package. Some packages provide this
+`INSTALL' file but do not implement all of the features documented
+below. The lack of an optional feature in a given package is not
+necessarily a bug. More recommendations for GNU packages can be found
+in *note Makefile Conventions: (standards)Makefile Conventions.
The `configure' shell script attempts to guess correct values for
various system-dependent variables used during compilation. It uses
@@ -23,9 +32,9 @@ debugging `configure').
It can also use an optional file (typically called `config.cache'
and enabled with `--cache-file=config.cache' or simply `-C') that saves
-the results of its tests to speed up reconfiguring. (Caching is
+the results of its tests to speed up reconfiguring. Caching is
disabled by default to prevent problems with accidental use of stale
-cache files.)
+cache files.
If you need to do unusual things to compile the package, please try
to figure out how `configure' could check whether to do them, and mail
@@ -35,30 +44,37 @@ some point `config.cache' contains results you don't want to keep, you
may remove or edit it.
The file `configure.ac' (or `configure.in') is used to create
-`configure' by a program called `autoconf'. You only need
-`configure.ac' if you want to change it or regenerate `configure' using
-a newer version of `autoconf'.
+`configure' by a program called `autoconf'. You need `configure.ac' if
+you want to change it or regenerate `configure' using a newer version
+of `autoconf'.
-The simplest way to compile this package is:
+ The simplest way to compile this package is:
1. `cd' to the directory containing the package's source code and type
- `./configure' to configure the package for your system. If you're
- using `csh' on an old version of System V, you might need to type
- `sh ./configure' instead to prevent `csh' from trying to execute
- `configure' itself.
+ `./configure' to configure the package for your system.
- Running `configure' takes awhile. While running, it prints some
- messages telling which features it is checking for.
+ Running `configure' might take a while. While running, it prints
+ some messages telling which features it is checking for.
2. Type `make' to compile the package.
3. Optionally, type `make check' to run any self-tests that come with
- the package.
+ the package, generally using the just-built uninstalled binaries.
4. Type `make install' to install the programs and any data files and
- documentation.
-
- 5. You can remove the program binaries and object files from the
+ documentation. When installing into a prefix owned by root, it is
+ recommended that the package be configured and built as a regular
+ user, and only the `make install' phase executed with root
+ privileges.
+
+ 5. Optionally, type `make installcheck' to repeat any self-tests, but
+ this time using the binaries in their final installed location.
+ This target does not install anything. Running this target as a
+ regular user, particularly if the prior `make install' required
+ root privileges, verifies that the installation completed
+ correctly.
+
+ 6. You can remove the program binaries and object files from the
source code directory by typing `make clean'. To also remove the
files that `configure' created (so you can compile the package for
a different kind of computer), type `make distclean'. There is
@@ -67,45 +83,69 @@ The simplest way to compile this package is:
all sorts of other programs in order to regenerate files that came
with the distribution.
+ 7. Often, you can also type `make uninstall' to remove the installed
+ files again. In practice, not all packages have tested that
+ uninstallation works correctly, even though it is required by the
+ GNU Coding Standards.
+
+ 8. Some packages, particularly those that use Automake, provide `make
+ distcheck', which can by used by developers to test that all other
+ targets like `make install' and `make uninstall' work correctly.
+ This target is generally not run by end users.
+
Compilers and Options
=====================
-Some systems require unusual options for compilation or linking that the
-`configure' script does not know about. Run `./configure --help' for
-details on some of the pertinent environment variables.
+ Some systems require unusual options for compilation or linking that
+the `configure' script does not know about. Run `./configure --help'
+for details on some of the pertinent environment variables.
You can give `configure' initial values for configuration parameters
by setting variables in the command line or in the environment. Here
is an example:
- ./configure CC=c89 CFLAGS=-O2 LIBS=-lposix
+ ./configure CC=c99 CFLAGS=-g LIBS=-lposix
*Note Defining Variables::, for more details.
Compiling For Multiple Architectures
====================================
-You can compile the package for more than one kind of computer at the
+ You can compile the package for more than one kind of computer at the
same time, by placing the object files for each architecture in their
-own directory. To do this, you must use a version of `make' that
-supports the `VPATH' variable, such as GNU `make'. `cd' to the
+own directory. To do this, you can use GNU `make'. `cd' to the
directory where you want the object files and executables to go and run
the `configure' script. `configure' automatically checks for the
-source code in the directory that `configure' is in and in `..'.
+source code in the directory that `configure' is in and in `..'. This
+is known as a "VPATH" build.
+
+ With a non-GNU `make', it is safer to compile the package for one
+architecture at a time in the source code directory. After you have
+installed the package for one architecture, use `make distclean' before
+reconfiguring for another architecture.
- If you have to use a `make' that does not support the `VPATH'
-variable, you have to compile the package for one architecture at a
-time in the source code directory. After you have installed the
-package for one architecture, use `make distclean' before reconfiguring
-for another architecture.
+ On MacOS X 10.5 and later systems, you can create libraries and
+executables that work on multiple system types--known as "fat" or
+"universal" binaries--by specifying multiple `-arch' options to the
+compiler but only a single `-arch' option to the preprocessor. Like
+this:
+
+ ./configure CC="gcc -arch i386 -arch x86_64 -arch ppc -arch ppc64" \
+ CXX="g++ -arch i386 -arch x86_64 -arch ppc -arch ppc64" \
+ CPP="gcc -E" CXXCPP="g++ -E"
+
+ This is not guaranteed to produce working output in all cases, you
+may have to build one architecture at a time and combine the results
+using the `lipo' tool if you have problems.
Installation Names
==================
-By default, `make install' installs the package's commands under
+ By default, `make install' installs the package's commands under
`/usr/local/bin', include files under `/usr/local/include', etc. You
can specify an installation prefix other than `/usr/local' by giving
-`configure' the option `--prefix=PREFIX'.
+`configure' the option `--prefix=PREFIX', where PREFIX must be an
+absolute file name.
You can specify separate installation prefixes for
architecture-specific files and architecture-independent files. If you
@@ -116,16 +156,47 @@ Documentation and other data files still use the regular prefix.
In addition, if you use an unusual directory layout you can give
options like `--bindir=DIR' to specify different values for particular
kinds of files. Run `configure --help' for a list of the directories
-you can set and what kinds of files go in them.
+you can set and what kinds of files go in them. In general, the
+default for these options is expressed in terms of `${prefix}', so that
+specifying just `--prefix' will affect all of the other directory
+specifications that were not explicitly provided.
+
+ The most portable way to affect installation locations is to pass the
+correct locations to `configure'; however, many packages provide one or
+both of the following shortcuts of passing variable assignments to the
+`make install' command line to change installation locations without
+having to reconfigure or recompile.
[...9323 lines suppressed...]
- $(ebinDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(ebindir)/$$f"; \
+ echo "$$d$$p"; \
+ done | $(am__base_list) | \
+ while read files; do \
+ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(ebindir)'"; \
+ $(INSTALL_DATA) $$files "$(DESTDIR)$(ebindir)" || exit $$?; \
done
uninstall-ebinDATA:
@$(NORMAL_UNINSTALL)
- @list='$(ebin_DATA)'; for p in $$list; do \
- f=$(am__strip_dir) \
- echo " rm -f '$(DESTDIR)$(ebindir)/$$f'"; \
- rm -f "$(DESTDIR)$(ebindir)/$$f"; \
- done
+ @list='$(ebin_DATA)'; test -n "$(ebindir)" || list=; \
+ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
+ test -n "$$files" || exit 0; \
+ echo " ( cd '$(DESTDIR)$(ebindir)' && rm -f" $$files ")"; \
+ cd "$(DESTDIR)$(ebindir)" && rm -f $$files
install-incHEADERS: $(inc_HEADERS)
@$(NORMAL_INSTALL)
- test -z "$(incdir)" || $(mkdir_p) "$(DESTDIR)$(incdir)"
- @list='$(inc_HEADERS)'; for p in $$list; do \
+ test -z "$(incdir)" || $(MKDIR_P) "$(DESTDIR)$(incdir)"
+ @list='$(inc_HEADERS)'; test -n "$(incdir)" || list=; \
+ for p in $$list; do \
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
- f=$(am__strip_dir) \
- echo " $(incHEADERS_INSTALL) '$$d$$p' '$(DESTDIR)$(incdir)/$$f'"; \
- $(incHEADERS_INSTALL) "$$d$$p" "$(DESTDIR)$(incdir)/$$f"; \
+ echo "$$d$$p"; \
+ done | $(am__base_list) | \
+ while read files; do \
+ echo " $(INSTALL_HEADER) $$files '$(DESTDIR)$(incdir)'"; \
+ $(INSTALL_HEADER) $$files "$(DESTDIR)$(incdir)" || exit $$?; \
done
uninstall-incHEADERS:
@$(NORMAL_UNINSTALL)
- @list='$(inc_HEADERS)'; for p in $$list; do \
- f=$(am__strip_dir) \
- echo " rm -f '$(DESTDIR)$(incdir)/$$f'"; \
- rm -f "$(DESTDIR)$(incdir)/$$f"; \
- done
+ @list='$(inc_HEADERS)'; test -n "$(incdir)" || list=; \
+ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
+ test -n "$$files" || exit 0; \
+ echo " ( cd '$(DESTDIR)$(incdir)' && rm -f" $$files ")"; \
+ cd "$(DESTDIR)$(incdir)" && rm -f $$files
tags: TAGS
TAGS:
@@ -249,30 +276,32 @@ CTAGS:
distdir: $(DISTFILES)
- $(mkdir_p) $(distdir)/../../rules
- @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
- topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
- list='$(DISTFILES)'; for file in $$list; do \
- case $$file in \
- $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
- $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
- esac; \
+ @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ list='$(DISTFILES)'; \
+ dist_files=`for file in $$list; do echo $$file; done | \
+ sed -e "s|^$$srcdirstrip/||;t" \
+ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
+ case $$dist_files in \
+ */*) $(MKDIR_P) `echo "$$dist_files" | \
+ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
+ sort -u` ;; \
+ esac; \
+ for file in $$dist_files; do \
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
- dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
- if test "$$dir" != "$$file" && test "$$dir" != "."; then \
- dir="/$$dir"; \
- $(mkdir_p) "$(distdir)$$dir"; \
- else \
- dir=''; \
- fi; \
if test -d $$d/$$file; then \
+ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
+ if test -d "$(distdir)/$$file"; then \
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+ fi; \
if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
- cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
+ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
fi; \
- cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
+ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
else \
- test -f $(distdir)/$$file \
- || cp -p $$d/$$file $(distdir)/$$file \
+ test -f "$(distdir)/$$file" \
+ || cp -p $$d/$$file "$(distdir)/$$file" \
|| exit 1; \
fi; \
done
@@ -281,7 +310,7 @@ check: check-am
all-am: Makefile $(DATA) $(HEADERS)
installdirs:
for dir in "$(DESTDIR)$(ebindir)" "$(DESTDIR)$(incdir)"; do \
- test -z "$$dir" || $(mkdir_p) "$$dir"; \
+ test -z "$$dir" || $(MKDIR_P) "$$dir"; \
done
install: install-am
install-exec: install-exec-am
@@ -304,6 +333,7 @@ clean-generic:
distclean-generic:
-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
+ -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
maintainer-clean-generic:
@echo "This command is intended for maintainers to use"
@@ -322,18 +352,38 @@ dvi-am:
html: html-am
+html-am:
+
info: info-am
info-am:
install-data-am: install-ebinDATA install-incHEADERS
+install-dvi: install-dvi-am
+
+install-dvi-am:
+
install-exec-am:
+install-html: install-html-am
+
+install-html-am:
+
install-info: install-info-am
+install-info-am:
+
install-man:
+install-pdf: install-pdf-am
+
+install-pdf-am:
+
+install-ps: install-ps-am
+
+install-ps-am:
+
installcheck-am:
maintainer-clean: maintainer-clean-am
@@ -352,18 +402,21 @@ ps: ps-am
ps-am:
-uninstall-am: uninstall-ebinDATA uninstall-incHEADERS \
- uninstall-info-am
+uninstall-am: uninstall-ebinDATA uninstall-incHEADERS
+
+.MAKE: install-am install-strip
.PHONY: all all-am check check-am clean clean-generic distclean \
distclean-generic distdir dvi dvi-am html html-am info info-am \
- install install-am install-data install-data-am \
- install-ebinDATA install-exec install-exec-am \
- install-incHEADERS install-info install-info-am install-man \
- install-strip installcheck installcheck-am installdirs \
- maintainer-clean maintainer-clean-generic mostlyclean \
- mostlyclean-generic pdf pdf-am ps ps-am uninstall uninstall-am \
- uninstall-ebinDATA uninstall-incHEADERS uninstall-info-am
+ install install-am install-data install-data-am install-dvi \
+ install-dvi-am install-ebinDATA install-exec install-exec-am \
+ install-html install-html-am install-incHEADERS install-info \
+ install-info-am install-man install-pdf install-pdf-am \
+ install-ps install-ps-am install-strip installcheck \
+ installcheck-am installdirs maintainer-clean \
+ maintainer-clean-generic mostlyclean mostlyclean-generic pdf \
+ pdf-am ps ps-am uninstall uninstall-am uninstall-ebinDATA \
+ uninstall-incHEADERS
%.rel: %.rel.in
@@ -379,6 +432,7 @@ uninstall-am: uninstall-ebinDATA uninstall-incHEADERS \
%.boot: %.rel %.app
@echo [ERLC] $@
@$(ERLC) $(AM_ERL_FLAGS) $(ERL_FLAGS) $(AM_ERLCFLAGS) $(ERLCFLAGS) $<
+
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT:
--- NEW FILE import.log ---
erlang-esasl-0_1-3_fc12:F-12:erlang-esasl-0.1-3.fc12.src.rpm:1266298443
Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/erlang-esasl/F-12/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- .cvsignore 16 Feb 2010 03:56:48 -0000 1.1
+++ .cvsignore 16 Feb 2010 05:35:31 -0000 1.2
@@ -0,0 +1 @@
+esasl-0.1.tar.gz
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/erlang-esasl/F-12/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources 16 Feb 2010 03:56:48 -0000 1.1
+++ sources 16 Feb 2010 05:35:32 -0000 1.2
@@ -0,0 +1 @@
+d1803057ee0c3f797c1605d99c7525b4 esasl-0.1.tar.gz
- Previous message: rpms/erlang-esasl/devel erlang-esasl.spec, NONE, 1.1 esasl--fix-search-for-ei_h.diff, NONE, 1.1 esasl--rhel_dirty_fix.diff, NONE, 1.1 import.log, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Next message: rpms/erlang-esasl/F-11 erlang-esasl.spec, NONE, 1.1 esasl--fix-search-for-ei_h.diff, NONE, 1.1 esasl--rhel_dirty_fix.diff, NONE, 1.1 import.log, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the scm-commits
mailing list