Accepting request 53424 from network

Accepted submit request 53424 from user coolo

OBS-URL: https://build.opensuse.org/request/show/53424
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rpcbind?expand=0&rev=12
This commit is contained in:
Ruediger Oertel 2010-11-20 11:21:55 +00:00 committed by Git OBS Bridge
parent e602e8fe16
commit cee8703b19
4 changed files with 28 additions and 16 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a6f6048fdae3dcdb8f0e0f9662d1d1c608cc134771c5cce4c87fc7e16a215eff
size 46225

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a8fd59e9cffe668a827828c54ed274a4db0d03dbbf87a749f43dbd315ec7aee2
size 47040

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Sun Nov 14 14:00:49 UTC 2010 - cristian.rodriguez@opensuse.org
- Use full RELRO here
-------------------------------------------------------------------
Tue Oct 26 15:20:07 UTC 2010 - cristian.rodriguez@opensuse.org
- Update to a newer GIT snapshot
* nd: set SO_REUSEADDR on NC_TPI_COTS listening sockets
* rpcbind: add no-fork mode
-------------------------------------------------------------------
Thu Dec 4 11:02:25 CET 2008 - coolo@suse.de

View File

@ -17,17 +17,19 @@
# norootforbuild
BuildRequires: libtirpc-devel tcpd-devel
BuildRequires: libtirpc-devel
BuildRequires: tcpd-devel
BuildRequires: xz
Name: rpcbind
License: BSD 3-Clause
Group: Productivity/Networking/System
AutoReqProv: on
Version: 0.1.6+git20080930
Version: 0.2.0_git201007131952
Release: 6
Summary: Transport independent RPC portmapper
Url: http://nfsv4.bullopensource.org/doc/tirpc_rpcbind.php
Source: %{name}-%{version}.tar.bz2
Url: http://git.infradead.org/users/steved/rpcbind.git
Source: %{name}-%{version}.tar.xz
Source1: rpcbind.init
Source2: sysconfig.rpcbind
Source3: rpcbind.xml
@ -53,23 +55,21 @@ Authors:
Vincent ROQUETA <vincent.roqueta@ext.bull.net>
%prep
%setup
%setup -q
cp %{SOURCE4} .
%build
autoreconf -fi
./configure --prefix=%{_prefix} \
%configure --disable-static --with-pic \
--bindir=/sbin \
--mandir=%{_mandir} \
--localstatedir=%{_localstatedir} \
--enable-libwrap \
--enable-warmstarts \
--with-statedir=%{_localstatedir}/lib/rpcbind \
--enable-debug \
CFLAGS="$RPM_OPT_FLAGS -fpie" \
LDFLAGS="-pie"
make
gcc -o pmap_set $RPM_OPT_FLAGS pmap_set.c
LDFLAGS="-pie -Wl,-z,relro,-z,now"
%{__make} %{?jobs:-j%jobs}
cc -Wl,-z,relro,-z,now %{optflags} pmap_set.c -o pmap_set
%install
make install DESTDIR=$RPM_BUILD_ROOT
@ -93,7 +93,7 @@ rm -rf $RPM_BUILD_ROOT
%pre
# upgrade case from portmap
# 1. if portmap is running, dump portmap tables
if /sbin/checkproc /sbin/portmap; then
if test -x /sbin/portmap && /sbin/checkproc /sbin/portmap; then
rm -f %statefile
test -x /sbin/pmap_dump && /sbin/pmap_dump > %statefile
fi
@ -126,7 +126,7 @@ fi
/sbin/pmap_set2
/sbin/rpcbind
/sbin/rpcinfo
%doc %{_mandir}/*/*
%{_mandir}/*/*
%config /etc/init.d/rpcbind
/sbin/rcrpcbind
%{_localstatedir}/lib/rpcbind