Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:csbuild:DBA
dba-dante-143
dba-dante-143.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File dba-dante-143.spec of Package dba-dante-143
%define real_name dante %define version 1.4.3 %define vers 143 %define prefix /DBA/%{real_name}/%{version} %define _libdir %{prefix}/lib %define _sysconfdir %{prefix}/etc %define _bindir %{prefix}/bin %define _sbindir %{prefix}/sbin %define _includedir %{prefix}/include %define _mandir %{prefix}/man %define maketest 0 Name: dba-%{real_name}-%{vers} Summary: Dante - A free SOCKS server version 1.4.3 Version: %{version} Release: 1 License: BSD-type Group: Applications/Internet URL: http://www.inet.no/dante/ Source: ftp://ftp.inet.no/pub/socks/dante-%{version}.tar.gz Source1: dante-rpmlintrc Source2: filter-requires.sh BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildRequires: flex, bison, pam, pam-devel openssl #!BuildIgnore: dba-openssl-098o dba-openssl-098r dba-openssl-098x dba-openssl-101c %if 0%{?suse_version} >= 1100 BuildRequires: -post-build-checks %endif %define _use_internal_dependency_generator 0 %define __find_requires %{SOURCE2} %description Dante is a free implementation of the 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. This package contains the dynamic libraries required to "socksify" existing applications to become socks clients. %prep %setup -n %{real_name}-%{version} %{__chmod} +x %{SOURCE2} ### Example should use /var/log/sockd by default /usr/bin/perl -pi -e 's|/var/log/lotsoflogs|%{_localstatedir}/log/sockd|' example/sockd.conf %{__cat} <<EOF >sockd.logrotate %{_localstatedir}/log/sockd { missingok copytruncate notifempty } EOF %{__cat} <<'EOF' >dsocksify #!/bin/sh - # Socksify any dynamically linked program by issuing: # # dsocksify <program> <arguments> LIBRARY="${SOCKS_LIBRARY-%{_libdir}/libdsocks.so}" LD_PRELOAD="${LD_PRELOAD} ${LIBRARY}" export LD_PRELOAD exec "$@" EOF %build export CFLAGS="%{optflags}" ./configure --prefix="%{prefix}" %{__make} %{?_smp_mflags} %install make install PREFIX=%{_prefix} DESTDIR="%{buildroot}" %{__install} -Dp -m0644 example/socks-simple.conf %{buildroot}%{prefix}/example/socks.conf %{__install} -Dp -m0644 example/sockd.conf %{buildroot}%{prefix}/example/sockd.conf ### FIXME: Set library as executable - prevent ldd from complaining %{__chmod} +x %{buildroot}%{prefix}/lib/*.so* %clean %{__rm} -rf %{buildroot} %files %defattr(-,root,root) # %doc COPYING README VERSION %dir %{prefix} %{prefix}/* %changelog * Fri Apr 12 2024 Dennis Hampe <dennis.hampe@bertelsmann.de> * fix perl bin * Fri Jun 18 2021 Sebastian Roth <sebastian.roth@bertelsmann.de> - inital version
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor