Hello community, here is the log from the commit of package dante for openSUSE:Factory checked in at 2011-12-05 12:43:15 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/dante (Old) and /work/SRC/openSUSE:Factory/.dante.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "dante", Maintainer is "[email protected]" Changes: -------- --- /work/SRC/openSUSE:Factory/dante/dante.changes 2011-10-06 16:01:25.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.dante.new/dante.changes 2011-12-05 12:43:17.000000000 +0100 @@ -1,0 +2,8 @@ +Mon Oct 10 15:23:02 UTC 2011 - [email protected] + +- Implement shlib policy (libsocks0) +- Remove redundant tags/sections from specfile + (cf. packaging guidelines) +- Use %_smp_mflags for parallel build + +------------------------------------------------------------------- New: ---- baselibs.conf dante-rpmlintrc ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ dante.spec ++++++ --- /var/tmp/diff_new_pack.pCXkEa/_old 2011-12-05 12:43:25.000000000 +0100 +++ /var/tmp/diff_new_pack.pCXkEa/_new 2011-12-05 12:43:25.000000000 +0100 @@ -15,10 +15,10 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -# norootforbuild Name: dante +%define lname libsocks0 BuildRequires: pam-devel BuildRequires: cyrus-sasl-devel BuildRequires: libtool @@ -29,10 +29,12 @@ Version: 1.3.0 Release: 1 License: BSD3c(or similar) -Url: http://www.inet.no/dante/ +URL: http://www.inet.no/dante/ # http://www.inet.no/dante/files/dante-%{version}.tar.gz Source: dante-%{version}.tar.bz2 Source1: sockd.init +Source2: baselibs.conf +Source3: %name-rpmlintrc BuildRoot: %{_tmppath}/%{name}-%{version}-build Group: Productivity/Networking/Security # SuSE series: sec @@ -43,19 +45,20 @@ firewall between networks. It is being developed by Inferno Nettverk A/S, a Norwegian consulting company. Commercial support is available. -This package contains the dynamic libraries required to make existing -applications become socks clients. - +%package -n %lname +Summary: A Free Socks v4 and v5 Client Implementation +Group: Productivity/Networking/Security +%description -n %lname +Dante is a free implementation of the following proxy protocols: socks +version 4, socks version 5 (rfc1928), and msproxy. It can be used as a +firewall between networks. It is being developed by Inferno Nettverk +A/S, a Norwegian consulting company. Commercial support is available. -Authors: --------- - For Inferno Nettverk A/S, Norway: - Michael Shuldman <[email protected]>: Design and implementation. - Karl-Andre' Skevik <[email protected]>: Autoconf and porting. +This package contains the dynamic libraries required to make existing +applications become socks clients. %package -n dante-server -License: BSD3c(or similar) Provides: dantesrv = %{version} Obsoletes: dantesrv < %{version} Summary: A Free Socks v4/v5 Server Implementation @@ -68,34 +71,17 @@ sockd is the server part of the Dante socks proxy package and allows socks clients to connect through it to the network. - - -Authors: --------- - For Inferno Nettverk A/S, Norway: - Michael Shuldman <[email protected]>: Design and implementation. - Karl-Andre' Skevik <[email protected]>: Autoconf and porting. - %package -n dante-devel -License: BSD3c(or similar) Provides: dantedev = %{version} Obsoletes: dantedev < %{version} Summary: Include Files and Libraries mandatory for Development Group: Development/Libraries/C and C++ -Requires: dante +Requires: %lname = %version %description -n dante-devel This package contains all necessary include files and libraries needed to develop applications that require these. - - -Authors: --------- - For Inferno Nettverk A/S, Norway: - Michael Shuldman <[email protected]>: Design and implementation. - Karl-Andre' Skevik <[email protected]>: Autoconf and porting. - %prep %setup -q %{?suse_update_config:%{suse_update_config -l -f}} @@ -106,7 +92,7 @@ autoreconf --force --install --verbose CFLAGS="${RPM_OPT_FLAGS} -fno-strict-aliasing" \ %configure --disable-static --with-pic --enable-shared --with-libc=$DANTELIBC -%{__make} %{?jobs:-j%jobs} V=1 +make %{?_smp_mflags} V=1 %install make install DESTDIR=${RPM_BUILD_ROOT} @@ -135,12 +121,9 @@ %__rm Makefile* SPECS/Makefile* -%clean -rm -rf $RPM_BUILD_ROOT - -%post -p /sbin/ldconfig +%post -n %lname -p /sbin/ldconfig -%postun -p /sbin/ldconfig +%postun -n %lname -p /sbin/ldconfig %post -n dante-server %{fillup_and_insserv sockd} @@ -152,15 +135,17 @@ %defattr(-,root,root) #files beginning with two capital letters are docs: BUGS, README.foo etc. %doc [A-Z][A-Z]* -%{_libdir}/libsocks.so.0.1.1 -%{_libdir}/libsocks.so.0 -%{_libdir}/libsocks.so %{_libdir}/libdsocks.so %attr(755,root,root) %{_bindir}/socksify %doc %{_mandir}/man1/socksify.1.gz %doc %{_mandir}/man5/socks.conf.5.gz %config(noreplace) /etc/socks.conf +%files -n %lname +%defattr(-,root,root) +%{_libdir}/libsocks.so.0.1.1 +%{_libdir}/libsocks.so.0 + %files -n dante-server %defattr(-,root,root) #doc [A-Z][A-Z]* @@ -174,6 +159,7 @@ %files -n dante-devel %defattr(-,root,root) #doc [A-Z][A-Z]* +%{_libdir}/libsocks.so %{_includedir}/*.h %changelog ++++++ baselibs.conf ++++++ libsocks0 dante-devel requires -dante-<targettype> requires "libsocks0-<targettype> = <version>" ++++++ dante-rpmlintrc ++++++ # # rpmlint says: # # dante.x86_64: E: shlib-policy-name-error (Badness: 10000) libdsocks # Your package contains a single shared library but is not named after its # SONAME. # # This is a false positive. libdsocks.so is a module (in libtool lingo) # that is dlopened, strictly tied to /usr/bin/socksify, and thus # shlib policy does not apply to it. # addFilter("shlib-policy-name-error") -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
