Hello community,
here is the log from the commit of package tnftp for openSUSE:Factory checked in at 2013-05-07 07:38:04
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/tnftp (Old)
and /work/SRC/openSUSE:Factory/.tnftp.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "tnftp"
Changes:
--------
New Changes file:
--- /dev/null 2013-04-05 00:01:41.916011506 +0200
+++ /work/SRC/openSUSE:Factory/.tnftp.new/tnftp.changes 2013-05-07 07:38:05.000000000 +0200
@@ -0,0 +1,24 @@
+-------------------------------------------------------------------
+Mon Apr 29 08:21:42 UTC 2013 - mvyskocil@suse.com
+
+- verify tarball using gpg-offline
+- remove obsoleted PreReq and reformat spec
+
+-------------------------------------------------------------------
+Wed Apr 11 22:40:33 UTC 2012 - andreas.stieger@gmx.de
+
+- fix openSUSE builds
+- add autoconf, automake, libtool build requirements
+- remove INSTALL file from package
+
+-------------------------------------------------------------------
+Mon Aug 1 21:06:10 UTC 2011 - crrodriguez@opensuse.org
+
+- There is no need to check for ncurses, not directly used
+ by this package but by libedit for which we use the system version.
+
+-------------------------------------------------------------------
+Sun Jul 31 19:33:57 UTC 2011 - crrodriguez@opensuse.org
+
+- First package version, this is the segue from lukemftp
+
New:
----
tnftp-20100108-am_and_libedit.patch
tnftp-20100108.tar.gz
tnftp-20100108.tar.gz.asc
tnftp.changes
tnftp.keyring
tnftp.spec
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ tnftp.spec ++++++
#
# spec file for package tnftp
#
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: tnftp
Version: 20100108
Release: 0
Summary: Enhanced FTP Client
License: BSD-3-Clause
Group: Productivity/Networking/Ftp/Clients
Url: ftp://ftp.netbsd.org/pub/NetBSD/misc/tnftp/
Patch0: tnftp-20100108-am_and_libedit.patch
Source0: ftp://ftp.netbsd.org/pub/NetBSD/misc/tnftp/%{name}-%{version}.tar.gz
Source1: ftp://ftp.netbsd.org/pub/NetBSD/misc/tnftp/%{name}-%{version}.tar.gz.asc
Source2: tnftp.keyring
BuildRequires: libedit-devel
BuildRequires: pkgconfig
BuildRequires: update-alternatives
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: libtool
%if 0%{?suse_version} >= 1230
BuildRequires: gpg-offline
%endif
Conflicts: ftp
Provides: lukemftp = 1.6
Provides: nkitb:/usr/bin/ftp
Obsoletes: lukemftp <= 1.5
Requires(pre): update-alternatives
Requires(pre): coreutils
Requires(post): update-alternatives
Requires(post): coreutils
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
%prep
%if 0%{?suse_version} >= 1230
%gpg_verify %{SOURCE1}
%endif
%setup -q
%patch0
%build
#axe bundled library
%__rm -rf libedit
autoreconf -fiv
%configure
%__make %{?_smp_mflags}
%install
%makeinstall
touch ${RPM_BUILD_ROOT}%{_bindir}/ftp
%post
test -L %{_bindir}/ftp || rm -f %{_bindir}/ftp
update-alternatives --install %{_bindir}/ftp ftp %{_bindir}/%{name} 10 \
--slave %{_mandir}/man1/ftp.1.gz ftp.1 %{_mandir}/man1/%{name}.1.gz
update-alternatives --auto ftp
%preun
if [ $1 -eq 0 ]; then
update-alternatives --remove ftp %{_bindir}/%{name}
fi
%clean
%__rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%doc COPYING ChangeLog NEWS README THANKS
%ghost %attr(0755,root,root) %{_bindir}/ftp
%{_bindir}/%{name}
%{_mandir}/man1/*
%changelog
++++++ tnftp-20100108-am_and_libedit.patch ++++++
Index: configure.ac
===================================================================
--- configure.ac.orig
+++ configure.ac
@@ -62,10 +62,16 @@ AH_TEMPLATE([USE_SOCKS],
#
# Checks for programs.
#
-AC_PROG_CC
+AC_PROG_CC_STDC
+AC_USE_SYSTEM_EXTENSIONS
+AC_SYS_LARGEFILE
+AM_PROG_AR
+AM_PROG_CC_C_O
AC_PROG_AWK
AC_PROG_LIBTOOL
+PKG_CHECK_MODULES([LIBEDIT], [libedit])
+
#
# Checks for tool features.
#
@@ -86,13 +92,6 @@ AS_CASE([$target_os],
#
# Checks for libraries.
#
-AS_IF([test "$opt_editcomplete" = yes],
- [AC_SEARCH_LIBS([tgetent],
- [termcap termlib curses ncurses tinfo],
- [],
- [AC_MSG_ERROR(
- [no relevant library found containing tgetent])])
- ])
AC_SEARCH_LIBS([gethostbyname], [nsl])
AC_SEARCH_LIBS([socket],
@@ -230,7 +229,6 @@ AC_CHECK_MEMBERS([struct sockaddr.sa_len
[], [], [$accheck_includes])
AC_CHECK_TYPES([in_port_t, sa_family_t, socklen_t, struct addrinfo],
[], [], [$accheck_includes])
-AC_SYS_LARGEFILE
# If IPv6 is enabled, check for necessary items.
#
@@ -346,7 +344,7 @@ exit(!res);
# Use local libedit if editcomplete is requested
#
AS_IF([test "$opt_editcomplete" = yes],
- [AC_MSG_NOTICE([--enable-editcomplete; using internal libedit])],
+ [AC_MSG_NOTICE([--enable-editcomplete; using system libedit])],
[CFLAGS="-DNO_EDITCOMPLETE $CFLAGS"])
# Replace sl_init() (et al) if it provides the older API.
@@ -385,8 +383,6 @@ AM_CONDITIONAL([USE_LIBEDIT], [test "$op
#
AC_CONFIG_FILES([
Makefile
- libedit/Makefile
- libedit/makelist
libnetbsd/Makefile
src/Makefile
])
Index: src/Makefile.am
===================================================================
--- src/Makefile.am.orig
+++ src/Makefile.am
@@ -28,10 +28,10 @@ tnftp_LDADD = \
if USE_LIBEDIT
tnftp_CPPFLAGS += \
- -I$(top_srcdir)/libedit
+ $(LIBEDIT_CFLAGS)
tnftp_LDADD += \
- ../libedit/libedit.la
+ $(LIBEDIT_LIBS)
endif
Index: Makefile.am
===================================================================
--- Makefile.am.orig
+++ Makefile.am
@@ -2,10 +2,6 @@
SUBDIRS = libnetbsd
-if USE_LIBEDIT
-SUBDIRS += libedit
-endif
-
SUBDIRS += src
EXTRA_DIST = \
Index: libnetbsd/Makefile.am
===================================================================
--- libnetbsd/Makefile.am.orig
+++ libnetbsd/Makefile.am
@@ -5,7 +5,7 @@ noinst_LTLIBRARIES = libnetbsd.la
libnetbsd_la_SOURCES =
-CPPFLAGS = \
+AM_CPPFLAGS = \
-I$(srcdir) \
-I$(top_srcdir) \
-I$(top_builddir)
++++++ tnftp.keyring ++++++
pub 1024D/7F332472 2003-11-25
uid Luke Mewburn