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:
parent
e602e8fe16
commit
cee8703b19
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:a6f6048fdae3dcdb8f0e0f9662d1d1c608cc134771c5cce4c87fc7e16a215eff
|
|
||||||
size 46225
|
|
3
rpcbind-0.2.0_git201007131952.tar.xz
Normal file
3
rpcbind-0.2.0_git201007131952.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:a8fd59e9cffe668a827828c54ed274a4db0d03dbbf87a749f43dbd315ec7aee2
|
||||||
|
size 47040
|
@ -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
|
Thu Dec 4 11:02:25 CET 2008 - coolo@suse.de
|
||||||
|
|
||||||
|
26
rpcbind.spec
26
rpcbind.spec
@ -17,17 +17,19 @@
|
|||||||
|
|
||||||
# norootforbuild
|
# norootforbuild
|
||||||
|
|
||||||
BuildRequires: libtirpc-devel tcpd-devel
|
BuildRequires: libtirpc-devel
|
||||||
|
BuildRequires: tcpd-devel
|
||||||
|
BuildRequires: xz
|
||||||
|
|
||||||
Name: rpcbind
|
Name: rpcbind
|
||||||
License: BSD 3-Clause
|
License: BSD 3-Clause
|
||||||
Group: Productivity/Networking/System
|
Group: Productivity/Networking/System
|
||||||
AutoReqProv: on
|
AutoReqProv: on
|
||||||
Version: 0.1.6+git20080930
|
Version: 0.2.0_git201007131952
|
||||||
Release: 6
|
Release: 6
|
||||||
Summary: Transport independent RPC portmapper
|
Summary: Transport independent RPC portmapper
|
||||||
Url: http://nfsv4.bullopensource.org/doc/tirpc_rpcbind.php
|
Url: http://git.infradead.org/users/steved/rpcbind.git
|
||||||
Source: %{name}-%{version}.tar.bz2
|
Source: %{name}-%{version}.tar.xz
|
||||||
Source1: rpcbind.init
|
Source1: rpcbind.init
|
||||||
Source2: sysconfig.rpcbind
|
Source2: sysconfig.rpcbind
|
||||||
Source3: rpcbind.xml
|
Source3: rpcbind.xml
|
||||||
@ -53,23 +55,21 @@ Authors:
|
|||||||
Vincent ROQUETA <vincent.roqueta@ext.bull.net>
|
Vincent ROQUETA <vincent.roqueta@ext.bull.net>
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup
|
%setup -q
|
||||||
cp %{SOURCE4} .
|
cp %{SOURCE4} .
|
||||||
|
|
||||||
%build
|
%build
|
||||||
autoreconf -fi
|
autoreconf -fi
|
||||||
./configure --prefix=%{_prefix} \
|
%configure --disable-static --with-pic \
|
||||||
--bindir=/sbin \
|
--bindir=/sbin \
|
||||||
--mandir=%{_mandir} \
|
|
||||||
--localstatedir=%{_localstatedir} \
|
|
||||||
--enable-libwrap \
|
--enable-libwrap \
|
||||||
--enable-warmstarts \
|
--enable-warmstarts \
|
||||||
--with-statedir=%{_localstatedir}/lib/rpcbind \
|
--with-statedir=%{_localstatedir}/lib/rpcbind \
|
||||||
--enable-debug \
|
--enable-debug \
|
||||||
CFLAGS="$RPM_OPT_FLAGS -fpie" \
|
CFLAGS="$RPM_OPT_FLAGS -fpie" \
|
||||||
LDFLAGS="-pie"
|
LDFLAGS="-pie -Wl,-z,relro,-z,now"
|
||||||
make
|
%{__make} %{?jobs:-j%jobs}
|
||||||
gcc -o pmap_set $RPM_OPT_FLAGS pmap_set.c
|
cc -Wl,-z,relro,-z,now %{optflags} pmap_set.c -o pmap_set
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make install DESTDIR=$RPM_BUILD_ROOT
|
make install DESTDIR=$RPM_BUILD_ROOT
|
||||||
@ -93,7 +93,7 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%pre
|
%pre
|
||||||
# upgrade case from portmap
|
# upgrade case from portmap
|
||||||
# 1. if portmap is running, dump portmap tables
|
# 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
|
rm -f %statefile
|
||||||
test -x /sbin/pmap_dump && /sbin/pmap_dump > %statefile
|
test -x /sbin/pmap_dump && /sbin/pmap_dump > %statefile
|
||||||
fi
|
fi
|
||||||
@ -126,7 +126,7 @@ fi
|
|||||||
/sbin/pmap_set2
|
/sbin/pmap_set2
|
||||||
/sbin/rpcbind
|
/sbin/rpcbind
|
||||||
/sbin/rpcinfo
|
/sbin/rpcinfo
|
||||||
%doc %{_mandir}/*/*
|
%{_mandir}/*/*
|
||||||
%config /etc/init.d/rpcbind
|
%config /etc/init.d/rpcbind
|
||||||
/sbin/rcrpcbind
|
/sbin/rcrpcbind
|
||||||
%{_localstatedir}/lib/rpcbind
|
%{_localstatedir}/lib/rpcbind
|
||||||
|
Loading…
Reference in New Issue
Block a user