Compare commits
69 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2b10648b4c | ||
|
|
3f90d57db5 | ||
|
|
b3767f7b0a | ||
|
|
307377a249 | ||
|
|
48d7eadb2c | ||
|
|
13276c0322 | ||
|
|
e8bedaf5bf | ||
|
|
70148df8e2 | ||
|
|
c8e5bb11ff | ||
|
|
9c8d1c730a |
||
|
|
dd659bf840 | ||
|
|
0f165ba4e8 | ||
|
|
cffd012369 | ||
|
|
6f39fa0853 | ||
|
|
e5f119d352 | ||
|
|
e4a251a4ea | ||
|
|
8914cf412b | ||
|
|
875b6014c7 | ||
|
|
04e81c56fd | ||
|
|
472d9004fe | ||
|
|
00b6678a56 | ||
|
|
d7e04829ec | ||
|
|
03ee821c68 | ||
|
|
cb4a7aef1a | ||
|
|
d8975063ba | ||
|
|
fd0e3c2bce | ||
|
|
4d50da87b8 | ||
|
|
9579fe89b1 | ||
|
|
bb039605b0 |
||
|
|
03f4831b3e | ||
|
|
837f331da4 | ||
|
|
27a4e958fe | ||
|
|
1359a8e79e | ||
|
|
48f1e8346c | ||
|
|
f71605e109 | ||
|
|
c0289858fc | ||
|
|
feb6de6078 | ||
|
|
469ed59ebd | ||
|
|
65637308ea | ||
|
|
1c9847cd89 | ||
|
|
215d292297 | ||
|
|
a6f05e6222 | ||
|
|
3c72a929ed | ||
|
|
5e336ad690 | ||
|
|
3bc9fb9d13 | ||
|
|
7f1c55bbf5 | ||
|
|
5daad70789 | ||
|
|
adb4dde061 | ||
|
|
2da2ba756f | ||
|
|
7ced839de6 | ||
|
|
892ab7c8f2 | ||
|
|
793231fb50 | ||
|
|
5b78ccf59a | ||
|
|
756cfdd7e1 | ||
|
|
c81b08de2d | ||
|
|
d733717f89 | ||
|
|
87e6f907eb | ||
|
|
11825e7cc1 | ||
|
|
5eaffcc146 | ||
|
|
ec5d708615 | ||
|
|
ba2c17a9db | ||
|
|
a0b4e0ffb7 | ||
|
|
9ea112dbec | ||
|
|
777a854757 | ||
|
|
8dbed4e7a6 | ||
|
|
6ec684c1e0 | ||
|
|
2eda4a4739 | ||
|
|
70ff89b4cf | ||
|
|
92f9e184a3 |
15 changed files with 438 additions and 433 deletions
7
.gitignore
vendored
7
.gitignore
vendored
|
|
@ -2,3 +2,10 @@ ypbind-mt-1.32.tar.bz2
|
|||
/ypbind-mt-1.33.tar.bz2
|
||||
/ypbind-mt-1.35.tar.bz2
|
||||
/ypbind-mt-1.36.tar.bz2
|
||||
/ypbind-mt-1.37.1.tar.bz2
|
||||
/ypbind-mt-1.37.2.tar.bz2
|
||||
/ypbind-mt-1.38.tar.bz2
|
||||
/ypbind-mt-2.4.tar.gz
|
||||
/ypbind-mt-2.5.tar.gz
|
||||
/ypbind-mt-2.6.1.tar.gz
|
||||
/ypbind-mt-2.7.2.tar.gz
|
||||
|
|
|
|||
18
nis.sh
18
nis.sh
|
|
@ -52,38 +52,34 @@ nis_config() {
|
|||
if [ -n "${new_nis_domain}" ]; then
|
||||
domainname "${new_nis_domain}"
|
||||
save_config_file
|
||||
let contents=0
|
||||
echo '# generated by /sbin/dhclient-script' > ${CONF}
|
||||
fix_context ${CONF}
|
||||
|
||||
if [ -n "${new_nis_servers}" ]; then
|
||||
for i in ${new_nis_servers} ; do
|
||||
echo "domain ${new_nis_domain} server ${i}" >> ${CONF}
|
||||
let contents=contents+1
|
||||
done
|
||||
else
|
||||
echo "domain ${new_nis_domain} broadcast" >> ${CONF}
|
||||
let contents=contents+1
|
||||
fi
|
||||
|
||||
if [ ${contents} -gt 0 ]; then
|
||||
service ypbind condrestart >/dev/null 2>&1
|
||||
fi
|
||||
elif [ -n "${new_nis_servers}" ]; then
|
||||
save_config_file
|
||||
echo '# generated by /sbin/dhclient-script' > ${CONF}
|
||||
fix_context ${CONF}
|
||||
let contents=0
|
||||
|
||||
for i in ${new_nis_servers} ; do
|
||||
echo "ypserver ${i}" >> ${CONF}
|
||||
let contents=contents+1
|
||||
done
|
||||
|
||||
if [ $contents -gt 0 ]; then
|
||||
service ypbind condrestart >/dev/null 2>&1
|
||||
fi
|
||||
fi
|
||||
|
||||
# dimainname or servers changed, restart ypbind
|
||||
if [ "${old_nis_domain}" != "${new_nis_domain}" ] \
|
||||
|| [ "${old_nis_servers}" != "${new_nis_servers}" ]
|
||||
then
|
||||
service ypbind condrestart >/dev/null 2>&1
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
|
|
|
|||
2
sources
2
sources
|
|
@ -1 +1 @@
|
|||
135834db97d78ff6d79fdee2810b4056 ypbind-mt-1.36.tar.bz2
|
||||
SHA512 (ypbind-mt-2.7.2.tar.gz) = 415013ea003bb3d6162b1dac76462d13d1264a2a0dd3c4de057cf7239b9706a76d1f14ee1e3dcfba697aa48e25e3a972772c8210d87bbf847344e4a6c708a5b4
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
--- ypbind-mt-1.11/po/Makevars.fixit Tue Jun 11 07:19:05 2002
|
||||
+++ ypbind-mt-1.11/po/Makevars Tue Jun 11 07:19:07 2002
|
||||
diff -up ./po/Makevars.gettextdomain ./po/Makevars
|
||||
--- ./po/Makevars.gettextdomain 2004-01-14 20:25:25.000000000 +0100
|
||||
+++ ./po/Makevars 2013-05-06 19:07:24.961484803 +0200
|
||||
@@ -1,7 +1,7 @@
|
||||
# Makefile variables for PO directory in any package using GNU gettext.
|
||||
|
||||
|
|
|
|||
148
ypbind-2.5-helpman.patch
Normal file
148
ypbind-2.5-helpman.patch
Normal file
|
|
@ -0,0 +1,148 @@
|
|||
diff -up ypbind-mt-2.5/man/ypbind.8.xml.helpman ypbind-mt-2.5/man/ypbind.8.xml
|
||||
--- ypbind-mt-2.5/man/ypbind.8.xml.helpman 2018-06-04 15:30:38.000000000 +0200
|
||||
+++ ypbind-mt-2.5/man/ypbind.8.xml 2018-06-07 16:16:56.967024495 +0200
|
||||
@@ -39,21 +39,33 @@
|
||||
<refsynopsisdiv id='synopsis'>
|
||||
<cmdsynopsis>
|
||||
<command>ypbind</command>
|
||||
- <arg choice='opt'>-c </arg>
|
||||
- <group choice='opt'><arg choice='plain'>-d </arg><arg choice='plain'>-debug </arg></group>
|
||||
- <arg choice='opt'>-verbose </arg>
|
||||
- <group choice='opt'><arg choice='plain'>-n </arg><arg choice='plain'>-forground </arg></group>
|
||||
- <arg choice='opt'>-broadcast </arg>
|
||||
- <arg choice='opt'>-broken-server </arg>
|
||||
- <arg choice='opt'>-ypset </arg>
|
||||
- <arg choice='opt'>-ypsetme </arg>
|
||||
- <arg choice='opt'>-no-ping </arg>
|
||||
+ <group choice='opt'>
|
||||
+ <arg choice='plain'>-broadcast </arg>
|
||||
+ <arg choice='plain'>-ypset </arg>
|
||||
+ <arg choice='plain'>-ypsetme </arg>
|
||||
+ </group>
|
||||
<arg choice='opt'>-f <replaceable>configfile</replaceable></arg>
|
||||
+ <arg choice='opt'>-no-ping </arg>
|
||||
+ <arg choice='opt'>-broken-server </arg>
|
||||
<arg choice='opt'>-local-only </arg>
|
||||
- <arg choice='opt'>-ping-interval <replaceable>ping-interval</replaceable></arg>
|
||||
+
|
||||
+ <group choice='opt'>
|
||||
+ <arg choice='plain'>-ping-interval <replaceable>ping-interval</replaceable></arg>
|
||||
+ <arg choice='plain'>-i <replaceable>ping-interval</replaceable></arg>
|
||||
+ </group>
|
||||
+
|
||||
+ <group choice='opt'><arg choice='plain'>-d </arg><arg choice='plain'>-debug </arg></group>
|
||||
+ <group choice='opt'><arg choice='plain'>-v </arg><arg choice='plain'>-verbose </arg></group>
|
||||
+ <group choice='opt'><arg choice='plain'>-n </arg><arg choice='plain'>-foreground </arg></group>
|
||||
+ <arg choice='opt'>-p <replaceable>port</replaceable></arg>
|
||||
</cmdsynopsis>
|
||||
<cmdsynopsis>
|
||||
<command>ypbind</command>
|
||||
+ <arg choice='plain'>-c </arg>
|
||||
+ <arg choice='opt'>-f <replaceable>configfile</replaceable></arg>
|
||||
+ </cmdsynopsis>
|
||||
+ <cmdsynopsis>
|
||||
+ <command>ypbind</command>
|
||||
<arg choice='plain'>--version </arg>
|
||||
</cmdsynopsis>
|
||||
</refsynopsisdiv>
|
||||
@@ -88,6 +100,8 @@
|
||||
|
||||
<para>Unless the option
|
||||
<option>-debug</option>
|
||||
+or
|
||||
+<option>-foreground</option>
|
||||
is used, ypbind detaches itself from the controlling terminal and puts
|
||||
itself into background.
|
||||
<command>ypbind</command>
|
||||
@@ -132,6 +146,57 @@ If the file does not exist or if there a
|
||||
<command>ypbind</command>
|
||||
exit.</para>
|
||||
|
||||
+<para>
|
||||
+In Fedora we use systemd for starting services. We need to finish starting
|
||||
+process of <command>ypbind</command> service not before service is fully
|
||||
+started, which means <command>ypbind</command> daemon is prepared to answer.
|
||||
+There is a test script <filename>/usr/libexec/ypbind-post-waitbind</filename>
|
||||
+used in ypbind.service, that waits for <command>ypbind</command> daemon to be
|
||||
+fully connected to NIS server and waits by default up to 45s. Sometimes this
|
||||
+is not enough, because network set up can take longer than 45s during boot, so
|
||||
+starting ypbind.service fails. User can increase the timeout by setting an
|
||||
+environment variable NISTIMEOUT in <filename>/etc/sysconfig/ypbind</filename>.
|
||||
+For example NISTIMEOUT=180 means <command>ypbind</command> will wait up to 180
|
||||
+seconds for binding to a NIS server. Another option is to enable
|
||||
+NetworkManager-wait- online.service, which will make <command>ypbind</command>
|
||||
+to wait until network is properly set up.
|
||||
+</para>
|
||||
+
|
||||
+<para>
|
||||
+In case something needs to be changed in the ypbind.service, it is adviced not
|
||||
+to change the ypbind.service directly, but rather to create a new file under
|
||||
+<filename>/etc/systemd/system/ypbind.service.d/</filename>, i.e. if we need to
|
||||
+start <command>ypbind</command> before service foo.service, we can create file
|
||||
+<filename>/etc/systemd/system/ypbind.service.d/wait-foo.conf</filename> with
|
||||
+the following content:
|
||||
+</para>
|
||||
+
|
||||
+<para>
|
||||
+<programlisting>
|
||||
+[Service]
|
||||
+Before=foo.service
|
||||
+</programlisting>
|
||||
+</para>
|
||||
+<para>
|
||||
+If you need to pass other arguments to <command>ypbind</command> daemon withing
|
||||
+systemd unit file, you can set these arguments as OTHER_YPBIND_OPTS environment
|
||||
+variable in <filename>/etc/sysconfig/ypbind</filename>. For example in order to
|
||||
+set a fixed port <command>ypbind</command> should run on, you can specify
|
||||
+OTHER_YPBIND_OPTS="-p 876" in <filename>/etc/sysconfig/ypbind</filename>.
|
||||
+</para>
|
||||
+
|
||||
+<para>
|
||||
+DHCP client by defualt changes <filename>/etc/yp.conf</filename> in case DHCP
|
||||
+server sends NIS configuration in the respond. In that case
|
||||
+<filename>/etc/dhcp/dhclient.d/nis.sh</filename> changes
|
||||
+<filename>/etc/yp.conf</filename> according such configuration and creates a
|
||||
+back-up copy of the original configuration file into
|
||||
+<filename>/var/lib/dhclient/nis.conf.predhclient.$interface</filename>. In
|
||||
+order to disable changing <filename>/etc/yp.conf</filename> by DHCP client, add
|
||||
+PEERNIS=no into <filename>/etc/sysconfig/network</filename>.
|
||||
+</para>
|
||||
+
|
||||
+
|
||||
</refsect1>
|
||||
|
||||
<refsect1 id='options'>
|
||||
@@ -256,6 +321,15 @@ With this options another frequency in s
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
+ <term><option>-p</option> port</term>
|
||||
+ <listitem>
|
||||
+<para>Lets
|
||||
+<command>ypbind</command>
|
||||
+listen on a specified port number, rather than asking portmapper to assingn a
|
||||
+port for it.</para>
|
||||
+ </listitem>
|
||||
+ </varlistentry>
|
||||
+ <varlistentry>
|
||||
<term><option>--version</option></term>
|
||||
<listitem>
|
||||
<para>Prints the version number</para>
|
||||
diff -up ypbind-mt-2.5/man/yp.conf.5.xml.helpman ypbind-mt-2.5/man/yp.conf.5.xml
|
||||
--- ypbind-mt-2.5/man/yp.conf.5.xml.helpman 2018-06-07 16:29:01.853560699 +0200
|
||||
+++ ypbind-mt-2.5/man/yp.conf.5.xml 2018-06-07 16:33:59.302833043 +0200
|
||||
@@ -97,6 +97,14 @@
|
||||
first the given servers before falling back to broadcasting
|
||||
for a running server.
|
||||
</para>
|
||||
+ <para>
|
||||
+ Content of <filename>/etc/yp.conf</filename> can be changed by DHCP client,
|
||||
+ for more info see
|
||||
+ <citerefentry>
|
||||
+ <refentrytitle>ypbind</refentrytitle>
|
||||
+ <manvolnum>8</manvolnum>
|
||||
+ </citerefentry>.
|
||||
+ </para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 id='see_also'>
|
||||
|
|
@ -1,12 +0,0 @@
|
|||
diff -up ypbind-mt-1.32/src/serv_list.c.typo ypbind-mt-1.32/src/serv_list.c
|
||||
--- ypbind-mt-1.32/src/serv_list.c.typo 2010-11-29 11:28:51.701891385 +0100
|
||||
+++ ypbind-mt-1.32/src/serv_list.c 2010-11-29 11:30:29.682891306 +0100
|
||||
@@ -830,7 +830,7 @@ ping_all (struct binding *list)
|
||||
if (s_in.sin_port == 0)
|
||||
{
|
||||
if (verbose_flag && list->active == i)
|
||||
- log_msg (LOG_NOTICE, "NIS server '%s' not repsonding "
|
||||
+ log_msg (LOG_NOTICE, "NIS server '%s' not responding "
|
||||
"for domain '%s'", list->server[i].host, list->domain);
|
||||
|
||||
if (debug_flag)
|
||||
|
|
@ -1,42 +0,0 @@
|
|||
diff -up ypbind-mt-1.32/man/ypbind.8.typo2 ypbind-mt-1.32/man/ypbind.8
|
||||
--- ypbind-mt-1.32/man/ypbind.8.typo2 2011-03-18 13:13:11.263707644 +0100
|
||||
+++ ypbind-mt-1.32/man/ypbind.8 2011-03-18 13:16:59.170866034 +0100
|
||||
@@ -313,7 +313,7 @@ versions\&.
|
||||
\fBypbind\fR
|
||||
will not check if the binding is alive\&. This option is for use with dialup connections to prevent
|
||||
\fBypbind\fR
|
||||
-from keeping the connection unnecessarily open or causing autodials\&.
|
||||
+from keeping the connection unnecessarily open or causing auto-dials\&.
|
||||
.RE
|
||||
.PP
|
||||
\fB\-f\fR configfile
|
||||
@@ -335,7 +335,7 @@ will only bind to the loopback device an
|
||||
.RS 4
|
||||
The default value for
|
||||
\fBypbind\fR
|
||||
-to check, if a NIS server is still reacheable, is 20 seconds\&. With this options another frequency in seconds can be specified\&.
|
||||
+to check, if a NIS server is still reachable, is 20 seconds\&. With this options another frequency in seconds can be specified\&.
|
||||
.RE
|
||||
.PP
|
||||
\fB\-no\-dbus\fR
|
||||
diff -up ypbind-mt-1.32/man/ypbind.8.xml.typo2 ypbind-mt-1.32/man/ypbind.8.xml
|
||||
--- ypbind-mt-1.32/man/ypbind.8.xml.typo2 2011-03-18 13:18:01.643651666 +0100
|
||||
+++ ypbind-mt-1.32/man/ypbind.8.xml 2011-03-18 13:19:03.137658398 +0100
|
||||
@@ -234,7 +234,7 @@ versions.</para>
|
||||
will not check if the binding is alive. This option is for use with
|
||||
dialup connections to prevent
|
||||
<command>ypbind</command>
|
||||
-from keeping the connection unnecessarily open or causing autodials.</para>
|
||||
+from keeping the connection unnecessarily open or causing auto-dials.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
@@ -260,7 +260,7 @@ a remote network.</para>
|
||||
<listitem>
|
||||
<para>The default value for
|
||||
<command>ypbind</command>
|
||||
-to check, if a NIS server is still reacheable, is 20 seconds.
|
||||
+to check, if a NIS server is still reachable, is 20 seconds.
|
||||
With this options another frequency in seconds can be specified.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
|
@ -1,30 +0,0 @@
|
|||
diff -up ypbind-mt-1.35/src/ypbind_dbus_nm.c.nmsignal ypbind-mt-1.35/src/ypbind_dbus_nm.c
|
||||
--- ypbind-mt-1.35/src/ypbind_dbus_nm.c.nmsignal 2012-03-23 13:48:21.000000000 +0100
|
||||
+++ ypbind-mt-1.35/src/ypbind_dbus_nm.c 2012-04-18 14:40:50.574569893 +0200
|
||||
@@ -32,6 +32,9 @@
|
||||
#include <dbus/dbus-glib-lowlevel.h>
|
||||
#include <dbus/dbus-glib.h>
|
||||
|
||||
+/* We have our own constant, NM uses directly "StateChanged" string */
|
||||
+#define NM_DBUS_SIGNAL_STATE_CHANGED "StateChanged"
|
||||
+
|
||||
#ifdef HAVE_NETWORKMANAGER_NETWORKMANAGER_H
|
||||
#include <NetworkManager/NetworkManager.h>
|
||||
#include <NetworkManager/NetworkManagerVPN.h>
|
||||
@@ -39,7 +42,6 @@
|
||||
#define NM_DBUS_INTERFACE "org.freedesktop.NetworkManager"
|
||||
#define NM_DBUS_SERVICE "org.freedesktop.NetworkManager"
|
||||
#define NM_DBUS_PATH "/org/freedesktop/NetworkManager"
|
||||
-#define NM_DBUS_VPN_SIGNAL_STATE_CHANGE "StateChange"
|
||||
|
||||
typedef enum NMState {
|
||||
NM_STATE_UNKNOWN = 0,
|
||||
@@ -160,7 +162,7 @@ dbus_filter (DBusConnection *connection,
|
||||
handled = DBUS_HANDLER_RESULT_HANDLED;
|
||||
}
|
||||
else if (dbus_message_is_signal (message, NM_DBUS_INTERFACE,
|
||||
- NM_DBUS_VPN_SIGNAL_STATE_CHANGE))
|
||||
+ NM_DBUS_SIGNAL_STATE_CHANGED))
|
||||
{
|
||||
NMState state = NM_STATE_UNKNOWN;
|
||||
|
||||
|
|
@ -1,35 +0,0 @@
|
|||
diff -up ypbind-mt-1.36/man/ypbind.8.nistimeout ypbind-mt-1.36/man/ypbind.8
|
||||
--- ypbind-mt-1.36/man/ypbind.8.nistimeout 2012-08-23 13:55:01.296453226 +0200
|
||||
+++ ypbind-mt-1.36/man/ypbind.8 2012-08-23 15:11:23.900115478 +0200
|
||||
@@ -248,6 +248,31 @@ will behave as usual and assumes there i
|
||||
will reread all configuration files, registers at the local portmapper and try to search NIS servers\&. If NetworkManager drops a connection,
|
||||
\fBypbind\fR
|
||||
will unregister from portmapper\&.
|
||||
+.PP
|
||||
+In Fedora we use
|
||||
+\fBsystemd\fR
|
||||
+for starting services. We need to finish starting process of
|
||||
+\fBypbind\fR
|
||||
+service not before service is fully started, which means
|
||||
+\fBypbind\fR
|
||||
+daemon is prepared to answer. There is a test script /usr/libexec/ypbind-post-waitbind used in
|
||||
+\fBypbind.service\fR,
|
||||
+that waits for
|
||||
+\fBypbind\fR
|
||||
+daemon to be fully connected to NIS server and waits by default up to 45s. Sometimes this is not enough, because network set up can take longer than 45s during boot, so starting
|
||||
+\fBypbind.service\fR
|
||||
+fails. User can increase the
|
||||
+\fBtimeout\fR
|
||||
+by setting an environment variable
|
||||
+\fBNISTIMEOUT\fR
|
||||
+in /etc/sysconfig/ypbind. For example NISTIMEOUT=180 means ypbind will wait up to 180 seconds for binding to a NIS server.
|
||||
+Another option is to enable NetworkManager-wait-online.service and add an ordering rule into
|
||||
+\fBypbind.service\fR,
|
||||
+ideally by creating /etc/systemd/system/ypbind.service with the following content:
|
||||
+
|
||||
+ .include /lib/systemd/system/ypbind.service
|
||||
+ [Service]
|
||||
+ After=NetworkManager-wait-online.service
|
||||
.SH "OPTIONS"
|
||||
.PP
|
||||
\fB\-broadcast\fR
|
||||
|
|
@ -1,114 +0,0 @@
|
|||
diff -up ypbind-mt-1.35/src/local.h.nmlocal ypbind-mt-1.35/src/local.h
|
||||
--- ypbind-mt-1.35/src/local.h.nmlocal 2009-03-30 14:24:40.000000000 +0200
|
||||
+++ ypbind-mt-1.35/src/local.h 2012-06-11 19:31:42.297661066 +0200
|
||||
@@ -7,6 +7,7 @@ extern int broken_server;
|
||||
extern int port;
|
||||
extern int ping_interval;
|
||||
extern int use_broadcast;
|
||||
+extern int localhost_used;
|
||||
extern char *domain;
|
||||
|
||||
extern void find_domain (const char *domain, ypbind_resp *result);
|
||||
diff -up ypbind-mt-1.35/src/serv_list.c.nmlocal ypbind-mt-1.35/src/serv_list.c
|
||||
--- ypbind-mt-1.35/src/serv_list.c.nmlocal 2012-06-11 19:31:41.970660463 +0200
|
||||
+++ ypbind-mt-1.35/src/serv_list.c 2012-06-11 19:39:15.177987490 +0200
|
||||
@@ -108,6 +108,28 @@ static pthread_mutex_t search_lock = PTH
|
||||
static void do_broadcast (struct binding *list);
|
||||
static int ping_all (struct binding *list);
|
||||
|
||||
+/* We have localhost defined in one of the domains.
|
||||
+ * If so, we don't need to be connected to outer network. */
|
||||
+void
|
||||
+check_localhost()
|
||||
+{
|
||||
+ int i, s;
|
||||
+ localhost_used = 0;
|
||||
+ for (i = 0; i < max_domains; ++i)
|
||||
+ {
|
||||
+ for (s = 0; s < _MAXSERVER; ++s)
|
||||
+ {
|
||||
+ if (domainlist[i].server[s].host == NULL)
|
||||
+ break;
|
||||
+ if (strncmp(inet_ntoa(domainlist[i].server[s].addr), "127", 3) == 0)
|
||||
+ {
|
||||
+ localhost_used = 1;
|
||||
+ return;
|
||||
+ }
|
||||
+ }
|
||||
+ }
|
||||
+}
|
||||
+
|
||||
static void
|
||||
remove_bindingfile (struct binding *entry)
|
||||
{
|
||||
@@ -220,6 +242,7 @@ update_bindingfile (struct binding *entr
|
||||
}
|
||||
else
|
||||
log_msg (LOG_ERR, "open(%s): %s", path2, strerror (errno));
|
||||
+ check_localhost();
|
||||
}
|
||||
|
||||
/* this is called from the RPC thread (ypset). */
|
||||
@@ -562,6 +585,7 @@ add_server (const char *domain, const ch
|
||||
If there is none, use the first one. */
|
||||
memcpy (&entry->server[active].addr, hent->h_addr_list[0],
|
||||
hent->h_length);
|
||||
+ check_localhost();
|
||||
res = 1;
|
||||
}
|
||||
|
||||
@@ -1105,7 +1129,7 @@ test_bindings (void *param __attribute__
|
||||
int lastcheck = 0;
|
||||
|
||||
#ifdef USE_DBUS_NM
|
||||
- if (is_online)
|
||||
+ if (is_online || localhost_used)
|
||||
#endif
|
||||
do_binding ();
|
||||
|
||||
@@ -1125,7 +1149,7 @@ test_bindings (void *param __attribute__
|
||||
lastcheck = 0;
|
||||
|
||||
#if USE_DBUS_NM
|
||||
- if (is_online)
|
||||
+ if (is_online || localhost_used)
|
||||
|
||||
#endif
|
||||
lastcheck = test_bindings_once (lastcheck, NULL);
|
||||
diff -up ypbind-mt-1.35/src/ypbind_dbus_nm.c.nmlocal ypbind-mt-1.35/src/ypbind_dbus_nm.c
|
||||
--- ypbind-mt-1.35/src/ypbind_dbus_nm.c.nmlocal 2012-06-11 19:31:42.296661064 +0200
|
||||
+++ ypbind-mt-1.35/src/ypbind_dbus_nm.c 2012-06-11 19:31:42.300661070 +0200
|
||||
@@ -92,8 +92,11 @@ go_offline (void)
|
||||
if (debug_flag)
|
||||
log_msg (LOG_DEBUG, _("Switch to offline mode"));
|
||||
is_online = 0;
|
||||
- portmapper_disconnect ();
|
||||
- clear_server ();
|
||||
+ if (!localhost_used)
|
||||
+ {
|
||||
+ portmapper_disconnect ();
|
||||
+ clear_server ();
|
||||
+ }
|
||||
}
|
||||
|
||||
static void
|
||||
diff -up ypbind-mt-1.35/src/ypbind-mt.c.nmlocal ypbind-mt-1.35/src/ypbind-mt.c
|
||||
--- ypbind-mt-1.35/src/ypbind-mt.c.nmlocal 2011-08-31 15:21:11.000000000 +0200
|
||||
+++ ypbind-mt-1.35/src/ypbind-mt.c 2012-06-11 19:40:02.419996267 +0200
|
||||
@@ -74,6 +74,7 @@ int broken_server = 0;
|
||||
int foreground_flag = 0;
|
||||
int ping_interval = 20;
|
||||
int local_only = 0;
|
||||
+int localhost_used = 1;
|
||||
int port = -1;
|
||||
static int lock_fd;
|
||||
static int pid_is_written = 0;
|
||||
@@ -945,7 +946,7 @@ main (int argc, char **argv)
|
||||
}
|
||||
|
||||
#ifdef USE_DBUS_NM
|
||||
- if (!is_online)
|
||||
+ if (!is_online && !localhost_used)
|
||||
portmapper_disconnect ();
|
||||
#endif
|
||||
|
||||
|
|
@ -7,24 +7,37 @@
|
|||
# itself. If $NISDOMAIN is not defined, it reads config file.
|
||||
#
|
||||
|
||||
OTHER_YPBIND_OPTS=""
|
||||
|
||||
TIMEOUT=5
|
||||
DOMAINNAME=`domainname`
|
||||
if [ "$DOMAINNAME" = "(none)" -o "$DOMAINNAME" = "" ]; then
|
||||
echo -n $"Setting NIS domain: "
|
||||
seconds=0
|
||||
while [ $seconds -lt $TIMEOUT ]; do
|
||||
if [ -n "$NISDOMAIN" ]; then
|
||||
domainname $NISDOMAIN
|
||||
echo $"'$NISDOMAIN' (environment variable)"
|
||||
domainname $NISDOMAIN
|
||||
echo $"'$NISDOMAIN' (environment variable)"
|
||||
break
|
||||
else # See if the domain is set in config file
|
||||
NISDOMAIN=`awk '{ if ($1 == "domain") {print $2; exit} }' /etc/yp.conf`
|
||||
if [ -n "$NISDOMAIN" ]; then
|
||||
domainname $NISDOMAIN
|
||||
echo $"'$NISDOMAIN' (/etc/yp.conf)"
|
||||
else
|
||||
logger -t ypbind $"domain not found"
|
||||
exit 1
|
||||
NISDOMAIN=`awk '{ if ($1 == "domain") {print $2; exit} }' /etc/yp.conf`
|
||||
if [ -n "$NISDOMAIN" ]; then
|
||||
domainname $NISDOMAIN
|
||||
echo $"'$NISDOMAIN' (/etc/yp.conf)"
|
||||
break
|
||||
else
|
||||
seconds=$(($seconds+1))
|
||||
sleep 1
|
||||
fi
|
||||
fi
|
||||
done
|
||||
# Give up if NISDOMAIN is still not set
|
||||
[ -z "$NISDOMAIN" ] && logger -t ypbind $"domain not found" && exit 1
|
||||
fi
|
||||
|
||||
#/etc/rpc check
|
||||
grep ypbind /etc/rpc > /dev/null 2>&1
|
||||
if [ $? -ne 0 ]; then
|
||||
logger -t ypbind $"Error: Missing ypbind entry in /etc/rpc."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
echo
|
||||
|
|
|
|||
|
|
@ -1,81 +0,0 @@
|
|||
diff -up ypbind-mt-1.36/configure.in.sdnotify ypbind-mt-1.36/configure.in
|
||||
--- ypbind-mt-1.36/configure.in.sdnotify 2012-07-09 16:41:36.000000000 +0200
|
||||
+++ ypbind-mt-1.36/configure.in 2012-07-12 13:28:25.221031367 +0200
|
||||
@@ -103,6 +103,18 @@ JH_CHECK_XML_CATALOG([http://docbook.sou
|
||||
[DocBook XSL Stylesheets], [], enable_man=no)
|
||||
AM_CONDITIONAL(ENABLE_REGENERATE_MAN, test x$enable_man != xno)
|
||||
|
||||
+USE_SD_NOTIFY=0
|
||||
+AC_SUBST(USE_SD_NOTIFY)
|
||||
+AC_CHECK_LIB(systemd-daemon,sd_notify,LIBSYSTEMD_DAEMON="-lsystemd-daemon",
|
||||
+ LIBSYSTEMD_DAEMON="")
|
||||
+if test -n "$LIBSYSTEMD_DAEMON" ; then
|
||||
+ AC_CHECK_HEADERS(systemd/sd-daemon.h)
|
||||
+ if test "$ac_cv_header_systemd_sd_notify_h" = yes; then
|
||||
+ USE_SD_NOTIFY=1
|
||||
+ fi
|
||||
+fi
|
||||
+AC_SUBST(USE_SD_NOTIFY)
|
||||
+AC_SUBST(LIBSYSTEMD_DAEMON)
|
||||
|
||||
dnl internationalization macros
|
||||
AM_GNU_GETTEXT_VERSION
|
||||
diff -up ypbind-mt-1.36/src/Makefile.am.sdnotify ypbind-mt-1.36/src/Makefile.am
|
||||
--- ypbind-mt-1.36/src/Makefile.am.sdnotify 2009-06-15 16:30:45.000000000 +0200
|
||||
+++ ypbind-mt-1.36/src/Makefile.am 2012-07-12 13:28:25.288029189 +0200
|
||||
@@ -8,8 +8,9 @@ localedir = $(datadir)/locale
|
||||
|
||||
WARNFLAGS = @WARNFLAGS@
|
||||
AM_CFLAGS = -D_REENTRANT=1 $(WARNFLAGS) -DUSE_BROADCAST=@USE_BROADCAST@ \
|
||||
- -DLOCALEDIR=\"$(localedir)\" @DBUS_CFLAGS@ @GLIB_CFLAGS@
|
||||
-ypbind_LDADD = ../lib/libcompat.a @LIBINTL@ @SLP_LIBS@ @DBUS_LIBS@ @GLIB_LIBS@
|
||||
+ -DLOCALEDIR=\"$(localedir)\" @DBUS_CFLAGS@ @GLIB_CFLAGS@ -DUSE_SD_NOTIFY=@USE_SD_NOTIFY@
|
||||
+ypbind_LDADD = ../lib/libcompat.a @LIBINTL@ @SLP_LIBS@ @DBUS_LIBS@ @GLIB_LIBS@ \
|
||||
+ $(LIBSYSTEMD_DAEMON)
|
||||
|
||||
CLEANFILES = *~
|
||||
|
||||
diff -up ypbind-mt-1.36/src/ypbind-mt.c.sdnotify ypbind-mt-1.36/src/ypbind-mt.c
|
||||
--- ypbind-mt-1.36/src/ypbind-mt.c.sdnotify 2012-07-11 14:02:46.000000000 +0200
|
||||
+++ ypbind-mt-1.36/src/ypbind-mt.c 2012-07-12 13:57:52.479549892 +0200
|
||||
@@ -49,6 +49,9 @@
|
||||
#if defined(HAVE_NSS_H)
|
||||
#include <nss.h>
|
||||
#endif
|
||||
+#if defined(HAVE_SYSTEMD_SD_DAEMON_H)
|
||||
+#include <systemd/sd-daemon.h>
|
||||
+#endif
|
||||
|
||||
#include "ypbind.h"
|
||||
#include "log_msg.h"
|
||||
@@ -952,6 +955,30 @@ main (int argc, char **argv)
|
||||
|
||||
pthread_create (&ping_thread, NULL, &test_bindings, NULL);
|
||||
|
||||
+#ifdef USE_SD_NOTIFY
|
||||
+ {
|
||||
+ /*
|
||||
+ * If we use systemd as an init process we may want to give it
|
||||
+ * a message, that ypbind daemon is ready to accept connections.
|
||||
+ * At this time, sockets for receiving connections are already
|
||||
+ * created, so we can say we're ready now.
|
||||
+ */
|
||||
+ int result;
|
||||
+ result = sd_notifyf(0, "READY=1\n"
|
||||
+ "STATUS=Processing requests...\n"
|
||||
+ "MAINPID=%lu", (unsigned long) getpid());
|
||||
+
|
||||
+ /*
|
||||
+ * Return code from sd_notifyf can be ignored, as per sd_notifyf(3).
|
||||
+ * However, if we use systemd's native unit file, we need to send
|
||||
+ * this message to let systemd know that daemon is ready.
|
||||
+ * Thus, we want to know that the call had some issues.
|
||||
+ */
|
||||
+ if (result < 0)
|
||||
+ log_msg ("sd_notifyf failed: %s\n", strerror(-result));
|
||||
+ }
|
||||
+#endif
|
||||
+
|
||||
svc_run ();
|
||||
log_msg (LOG_ERR, _("svc_run returned."));
|
||||
unlink (_YPBIND_PIDFILE);
|
||||
|
|
@ -1,11 +0,0 @@
|
|||
diff -up ypbind-mt-1.36/src/ypbind-mt.c.sigpipe ypbind-mt-1.36/src/ypbind-mt.c
|
||||
--- ypbind-mt-1.36/src/ypbind-mt.c.sigpipe 2012-07-23 10:02:12.275896834 +0200
|
||||
+++ ypbind-mt-1.36/src/ypbind-mt.c 2012-07-23 10:02:47.430632798 +0200
|
||||
@@ -432,6 +432,7 @@ sig_handler (void *v_param __attribute_
|
||||
sigaddset (&sigs_to_catch, SIGQUIT);
|
||||
sigaddset (&sigs_to_catch, SIGSEGV);
|
||||
sigaddset (&sigs_to_catch, SIGHUP);
|
||||
+ sigaddset (&sigs_to_catch, SIGPIPE);
|
||||
|
||||
while (1)
|
||||
{
|
||||
|
|
@ -1,8 +1,11 @@
|
|||
# For details how to adjust this file or change daemon settings, please, read ypbind(8).
|
||||
[Unit]
|
||||
Description=NIS/YP (Network Information Service) Clients to NIS Domain Binder
|
||||
Requires=rpcbind.service
|
||||
After=syslog.target network.target rpcbind.service ypserv.service NetworkManager-wait-online.service
|
||||
Wants=nss-user-lookup.target network-online.target
|
||||
After=syslog.target rpcbind.service ypserv.service
|
||||
Before=systemd-user-sessions.service
|
||||
Before=nss-user-lookup.target
|
||||
|
||||
[Service]
|
||||
Type=notify
|
||||
|
|
@ -10,9 +13,10 @@ NotifyAccess=all
|
|||
EnvironmentFile=-/etc/sysconfig/network
|
||||
EnvironmentFile=-/etc/sysconfig/ypbind
|
||||
ExecStartPre=/usr/libexec/ypbind-pre-setdomain
|
||||
ExecStartPre=-/usr/sbin/setsebool allow_ypbind=1
|
||||
ExecStartPre=-/bin/bash -c 'selinuxenabled && /usr/sbin/setsebool allow_ypbind=1'
|
||||
ExecStart=/usr/sbin/ypbind -n $OTHER_YPBIND_OPTS
|
||||
ExecStartPost=/usr/libexec/ypbind-post-waitbind
|
||||
PrivateTmp=true
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
|
|
|||
323
ypbind.spec
323
ypbind.spec
|
|
@ -1,36 +1,42 @@
|
|||
Summary: The NIS daemon which binds NIS clients to an NIS domain
|
||||
Name: ypbind
|
||||
Version: 1.36
|
||||
Release: 7%{?dist}
|
||||
License: GPLv2
|
||||
Group: System Environment/Daemons
|
||||
Source0: http://www.linux-nis.org/download/ypbind-mt/ypbind-mt-%{version}.tar.bz2
|
||||
Url: http://www.linux-nis.org/nis/ypbind-mt/index.html
|
||||
Epoch: 3
|
||||
Version: 2.7.2
|
||||
Release: 16%{?dist}
|
||||
License: GPL-2.0-only
|
||||
Url: https://www.thkukuk.de/nis/nis/ypbind-mt/
|
||||
|
||||
Source0: https://github.com/thkukuk/ypbind-mt/archive/v%{version}.tar.gz#/ypbind-mt-%{version}.tar.gz
|
||||
#Source1: ypbind.init
|
||||
Source2: nis.sh
|
||||
Source3: ypbind.service
|
||||
Source4: ypbind-pre-setdomain
|
||||
Source5: ypbind-post-waitbind
|
||||
|
||||
# Fedora-specific patch. Renaming 'ypbind' package to proper
|
||||
# 'ypbind-mt' would allow us to drop it.
|
||||
Patch1: ypbind-1.11-gettextdomain.patch
|
||||
# Not sent to upstream.
|
||||
Patch2: ypbind-mt-1.32-typo.patch
|
||||
Patch3: ypbind-mt-1.32-typo2.patch
|
||||
Patch4: ypbind-sigpipe.patch
|
||||
Patch5: ypbind-mt-1.36-nistimeout.patch
|
||||
Patch6: ypbind-sdnotify.patch
|
||||
Patch2: ypbind-2.5-helpman.patch
|
||||
|
||||
# This is for /bin/systemctl
|
||||
Requires(post): systemd-units
|
||||
Requires(preun): systemd-units
|
||||
Requires(postun): systemd-units
|
||||
Requires: rpcbind, yp-tools
|
||||
Requires(post): systemd-sysv
|
||||
Epoch: 3
|
||||
Requires(post): systemd
|
||||
Requires(preun): systemd
|
||||
Requires(postun): systemd
|
||||
Requires: rpcbind
|
||||
Requires: yp-tools >= 4.2.2-2
|
||||
# New nss_nis package in F25+
|
||||
Requires: nss_nis
|
||||
BuildRequires: make
|
||||
BuildRequires: gcc
|
||||
BuildRequires: dbus-glib-devel, docbook-style-xsl
|
||||
BuildRequires: systemd-units
|
||||
BuildRequires: systemd
|
||||
BuildRequires: systemd-devel
|
||||
BuildRequires: autoconf, automake
|
||||
BuildRequires: gettext-devel
|
||||
BuildRequires: libtirpc-devel
|
||||
BuildRequires: libnsl2-devel
|
||||
BuildRequires: libxslt
|
||||
|
||||
%description
|
||||
The Network Information Service (NIS) is a system that provides
|
||||
|
|
@ -50,29 +56,32 @@ Install the ypbind package on any machines running NIS client programs
|
|||
also need to install the ypserv package to a machine on your network.
|
||||
|
||||
%prep
|
||||
%setup -q -n ypbind-mt-%{version}
|
||||
%patch1 -p1 -b .gettextdomain
|
||||
%patch2 -p1 -b .typo
|
||||
%patch3 -p1 -b .typo2
|
||||
%patch4 -p1 -b .sigpipe
|
||||
%patch5 -p1 -b .nistimeout
|
||||
%patch6 -p1 -b .sdnotify
|
||||
%autosetup -p1 -n ypbind-mt-%{version}
|
||||
|
||||
autoreconf
|
||||
autoreconf -fiv
|
||||
|
||||
%build
|
||||
%configure --enable-dbus-nm
|
||||
make
|
||||
%ifarch s390 s390x
|
||||
export CFLAGS="$RPM_OPT_FLAGS -fPIC"
|
||||
%else
|
||||
export CFLAGS="$RPM_OPT_FLAGS -fpic"
|
||||
%endif
|
||||
export LDFLAGS="$LDFLAGS -pie -Wl,-z,relro,-z,now"
|
||||
|
||||
#export CFLAGS="$CFLAGS -H"
|
||||
|
||||
%configure
|
||||
%make_build
|
||||
|
||||
%install
|
||||
make install DESTDIR=$RPM_BUILD_ROOT
|
||||
%make_install
|
||||
|
||||
mkdir -p $RPM_BUILD_ROOT/var/yp/binding
|
||||
mkdir -p $RPM_BUILD_ROOT/etc/dhcp/dhclient.d
|
||||
mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/yp/binding
|
||||
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/dhcp/dhclient.d
|
||||
mkdir -p $RPM_BUILD_ROOT%{_unitdir}
|
||||
mkdir -p $RPM_BUILD_ROOT%{_libexecdir}
|
||||
install -m 644 etc/yp.conf $RPM_BUILD_ROOT/etc/yp.conf
|
||||
install -m 755 %{SOURCE2} $RPM_BUILD_ROOT/etc/dhcp/dhclient.d/nis.sh
|
||||
install -m 644 etc/yp.conf $RPM_BUILD_ROOT%{_sysconfdir}/yp.conf
|
||||
install -m 755 %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/dhcp/dhclient.d/nis.sh
|
||||
install -m 644 %{SOURCE3} $RPM_BUILD_ROOT%{_unitdir}/ypbind.service
|
||||
install -m 755 %{SOURCE4} $RPM_BUILD_ROOT%{_libexecdir}/ypbind-pre-setdomain
|
||||
install -m 755 %{SOURCE5} $RPM_BUILD_ROOT%{_libexecdir}/ypbind-post-waitbind
|
||||
|
|
@ -80,59 +89,211 @@ install -m 755 %{SOURCE5} $RPM_BUILD_ROOT%{_libexecdir}/ypbind-post-waitbind
|
|||
%{find_lang} %{name}
|
||||
|
||||
%post
|
||||
%if 0%{?systemd_post:1}
|
||||
%systemd_post %{name}.service
|
||||
%else
|
||||
# Package install, not upgrade
|
||||
if [ $1 -eq 1 ]; then
|
||||
/bin/systemctl daemon-reload >dev/null || :
|
||||
fi
|
||||
%endif
|
||||
|
||||
# Package with native systemd unit file is installed for the first time
|
||||
%triggerun -- %{name} < 3:1.32-9
|
||||
# Save the current service runlevel info
|
||||
# User must manually run systemd-sysv-convert --apply httpd
|
||||
# to migrate them to systemd targets
|
||||
/usr/bin/systemd-sysv-convert --save %{name} >/dev/null 2>&1 ||:
|
||||
|
||||
# Run these because the SysV package being removed won't do them
|
||||
/sbin/chkconfig --del %{name} >/dev/null 2>&1 || :
|
||||
/bin/systemctl try-restart %{name}.service >/dev/null 2>&1 || :
|
||||
%systemd_post %{name}.service
|
||||
|
||||
%preun
|
||||
%if 0%{?systemd_preun:1}
|
||||
%systemd_preun %{name}.service
|
||||
%else
|
||||
if [ $1 -eq 0 ] ; then
|
||||
# Package removal, not upgrade
|
||||
/bin/systemctl --no-reload disable %{name}.service >/dev/null 2>&1 || :
|
||||
/bin/systemctl stop %{name}.service >/dev/null 2>&1 || :
|
||||
fi
|
||||
%endif
|
||||
%systemd_preun %{name}.service
|
||||
|
||||
%postun
|
||||
%if 0%{?systemd_postun_with_restart:1}
|
||||
%systemd_postun_with_restart %{name}.service
|
||||
%else
|
||||
/bin/systemctl daemon-reload >/dev/null 2>&1 || :
|
||||
if [ "$1" -ge "1" ] ; then
|
||||
# Package upgrade, not uninstall
|
||||
/bin/systemctl try-restart %{name}.service >/dev/null 2>&1 || :
|
||||
fi
|
||||
%endif
|
||||
%systemd_postun_with_restart %{name}.service
|
||||
|
||||
%files -f %{name}.lang
|
||||
%{_sbindir}/*
|
||||
%{_mandir}/*/*
|
||||
%{_libexecdir}/*
|
||||
%{_unitdir}/*
|
||||
/etc/dhcp/dhclient.d/*
|
||||
%config(noreplace) /etc/yp.conf
|
||||
%dir /var/yp/binding
|
||||
%doc README NEWS COPYING
|
||||
%{_sysconfdir}/dhcp/dhclient.d/*
|
||||
%config(noreplace) %{_sysconfdir}/yp.conf
|
||||
%dir %{_localstatedir}/yp/binding
|
||||
%doc README NEWS
|
||||
%license COPYING
|
||||
|
||||
%changelog
|
||||
* Fri Jul 25 2025 Fedora Release Engineering <releng@fedoraproject.org> - 3:2.7.2-16
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
|
||||
|
||||
* Sun Jan 19 2025 Fedora Release Engineering <releng@fedoraproject.org> - 3:2.7.2-15
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
|
||||
|
||||
* Sat Jul 20 2024 Fedora Release Engineering <releng@fedoraproject.org> - 3:2.7.2-14
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
|
||||
|
||||
* Tue Jan 30 2024 Ondrej Sloup <osloup@redhat.com> - 3:2.7.2-13
|
||||
- Update license tag to the SPDX format (GPL-2.0-only)
|
||||
|
||||
* Sat Jan 27 2024 Fedora Release Engineering <releng@fedoraproject.org> - 3:2.7.2-12
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||
|
||||
* Sat Jul 22 2023 Fedora Release Engineering <releng@fedoraproject.org> - 3:2.7.2-11
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
||||
|
||||
* Sat Jan 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 3:2.7.2-10
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
||||
|
||||
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3:2.7.2-9
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||
|
||||
* Sat Jan 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3:2.7.2-8
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||
|
||||
* Fri Nov 12 2021 Björn Esser <besser82@fedoraproject.org> - 3:2.7.2-7
|
||||
- Rebuild(libnsl2)
|
||||
|
||||
* Tue Sep 28 2021 Marek Kulik <mkulik@redhat.com> - 3:2.7.2-6
|
||||
- Fix setsebool message in logs, resolves: #1882069
|
||||
|
||||
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3:2.7.2-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||
|
||||
* Tue Mar 02 2021 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 3:2.7.2-4
|
||||
- Rebuilt for updated systemd-rpm-macros
|
||||
See https://pagure.io/fesco/issue/2583.
|
||||
|
||||
* Thu Jan 28 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3:2.7.2-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||
|
||||
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3:2.7.2-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
* Mon Apr 20 2020 Filip Januš <fjanus@redhat.com> - 2.7.2-1
|
||||
- Update version to 2.7.2
|
||||
- Resolves: #1796030
|
||||
- Removing obsolete patches
|
||||
|
||||
* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3:2.6.1-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||
|
||||
* Tue Jul 30 2019 Matej Mužila <mmuzila@redhat.com> - 3:2.6.1-1
|
||||
- Update to version 2.6.1
|
||||
- Resolves: #1668439
|
||||
|
||||
* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3:2.5-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||
|
||||
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3:2.5-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||
|
||||
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3:2.5-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||
|
||||
* Thu Jun 07 2018 Matej Mužila <mmuzila@redhat.com> - 3:2.5-2
|
||||
- Fix man pages
|
||||
|
||||
* Tue Jun 05 2018 Matej Mužila <mmuzila@redhat.com> - 3:2.5-1
|
||||
- Update to version 2.5
|
||||
|
||||
* Mon Apr 30 2018 Petr Kubat <pkubat@redhat.com> - 3:2.4-8
|
||||
- Add the runtime dependency on nss_nis back
|
||||
|
||||
* Fri Feb 09 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 3:2.4-7
|
||||
- Escape macros in %%changelog
|
||||
|
||||
* Tue Jan 16 2018 Petr Kubat <pkubat@redhat.com> - 3:2.4-6
|
||||
- Temporarily remove nss_nis dependency as it got removed from glibc (#1534599)
|
||||
|
||||
* Thu Sep 21 2017 Matej Mužila <mmuzila@redhat.com> - 3:2.4-5
|
||||
- Add "Wants" dependency on network-online.target
|
||||
- Remove "After" dependency on NetworkManager-wait-online.service
|
||||
|
||||
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3:2.4-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
||||
|
||||
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3:2.4-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
||||
|
||||
* Mon May 29 2017 Matej Mužila <mmuzila@gmail.com> - 3:2.4-2
|
||||
- Require yp-tools >= 4.2.2-2
|
||||
|
||||
* Fri May 19 2017 Matej Mužila <mmuzila@redhat.com> - 3:2.4-1
|
||||
- Update to version 2.4 supporting IPv6
|
||||
|
||||
* Wed Mar 29 2017 Petr Kubat <pkubat@redhat.com> - 3:1.38-10
|
||||
- Wait a while for dhcp to set up the domain (#1170400)
|
||||
|
||||
* Mon Mar 20 2017 Petr Kubat <pkubat@redhat.com> - 3:1.38-9
|
||||
- Add a Wants dependency on nss-user-lookup.target (#1282440)
|
||||
|
||||
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3:1.38-8
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
||||
|
||||
* Wed Nov 23 2016 Ralf Corsépius <corsepiu@fedoraproject.org> - 3:1.38-7
|
||||
- Remove check for libsystemd-daemon from ypbind-systemdso.patch (RHBZ#1396893).
|
||||
- Add check for systemd/sd-daemon.h to ypbind-systemdso.patch.
|
||||
- Spec file cosmetics.
|
||||
- Add %%license tag.
|
||||
|
||||
* Mon Nov 07 2016 Petr Kubat <pkubat@redhat.com> - 3:1.38-6
|
||||
- Add runtime dependency on nss_nis
|
||||
|
||||
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 3:1.38-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||
|
||||
* Mon Jan 25 2016 Matej Muzila <mmuzila@redhat.com> 3:1.38-4
|
||||
- Do not restart ypbind on dhcp renew if nis domain or nis servers
|
||||
haven't changed
|
||||
Resolves: rhbz#1301708
|
||||
|
||||
* Mon Nov 16 2015 Matej Muzila <mmuzila@redhat.com> 3:1.38-3
|
||||
- Load ypbind.service before nss-user-lookup.target
|
||||
Resolves: rhbz#1282440
|
||||
|
||||
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3:1.38-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
||||
|
||||
* Tue Oct 21 2014 Matej Mužila <mmuzila@redhat.com> - 3:1.38-1
|
||||
- Update to 1.38
|
||||
|
||||
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3:1.37.2-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
||||
|
||||
* Fri Aug 15 2014 Honza Horak <hhorak@redhat.com> - 3:1.37.2-2
|
||||
- link with systemd.so
|
||||
|
||||
* Fri Aug 15 2014 Honza Horak <hhorak@redhat.com> - 3:1.37.2-1
|
||||
- Update to 1.37.2
|
||||
|
||||
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3:1.37.1-10
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
||||
|
||||
* Mon Nov 18 2013 Honza Horak <hhorak@redhat.com> - 3:1.37.1-9
|
||||
- Replace autoreconf with autoconf
|
||||
|
||||
* Mon Nov 18 2013 Honza Horak <hhorak@redhat.com> - 3:1.37.1-8
|
||||
- DHCP changes documented
|
||||
Related: #1031093
|
||||
|
||||
* Thu Aug 29 2013 Honza Horak <hhorak@redhat.com> - 3:1.37.1-7
|
||||
- Add network-online.target dependency
|
||||
Resolves: #1002295
|
||||
|
||||
* Mon Aug 19 2013 Honza Horak <hhorak@redhat.com> - 3:1.37.1-6
|
||||
- Improve systemd documentation
|
||||
|
||||
* Mon Jul 29 2013 Honza Horak <hhorak@redhat.com> - 3:1.37.1-5
|
||||
- Remove SysV init conversion and systemd macros compatible code
|
||||
- Require systemd instead systemd-units
|
||||
- Remove systemd-sysv
|
||||
|
||||
* Thu May 09 2013 Honza Horak <hhorak@redhat.com> - 3:1.37.1-3
|
||||
- Enable PrivateTmp feature, just for the case
|
||||
|
||||
* Tue May 07 2013 Honza Horak <hhorak@redhat.com> - 3:1.37.1-2
|
||||
- Syncing help and man pages
|
||||
|
||||
* Mon May 06 2013 Honza Horak <hhorak@redhat.com> - 3:1.37.1-1
|
||||
- Update to new version 1.37.1
|
||||
|
||||
* Tue Jan 29 2013 Honza Horak <hhorak@redhat.com> - 3:1.36-10
|
||||
- Make re-bind interval a tune-able option
|
||||
- Fixed bogus dates in changelog
|
||||
|
||||
* Wed Dec 19 2012 Honza Horak <hhorak@redhat.com> - 3:1.36-9
|
||||
- Check presence of ypbind in /etc/rpc
|
||||
Related: #888778
|
||||
|
||||
* Fri Nov 30 2012 Honza Horak <hhorak@redhat.com> - 3:1.36-8
|
||||
- Build with full relro
|
||||
|
||||
* Thu Oct 04 2012 Honza Horak <hhorak@redhat.com> - 3:1.36-7
|
||||
- Run %%triggerun regardless of systemd_post variable definition
|
||||
|
||||
|
|
@ -215,10 +376,10 @@ install -m 755 %{SOURCE5} $RPM_BUILD_ROOT%{_libexecdir}/ypbind-post-waitbind
|
|||
* Tue Jun 07 2011 Honza Horak <hhorak@redhat.com> - 3:1.33-3
|
||||
- Fixed ypbind.service when selinux is disabled
|
||||
|
||||
* Wed May 10 2011 Honza Horak <hhorak@redhat.com> - 3:1.33-2
|
||||
* Tue May 10 2011 Honza Horak <hhorak@redhat.com> - 3:1.33-2
|
||||
- Added /etc/sysconfig/network to systemd service file
|
||||
|
||||
* Wed May 10 2011 Honza Horak <hhorak@redhat.com> - 3:1.33-1
|
||||
* Tue May 10 2011 Honza Horak <hhorak@redhat.com> - 3:1.33-1
|
||||
- Update to new version
|
||||
|
||||
* Fri Apr 29 2011 Honza Horak <hhorak@redhat.com> - 3:1.32-11
|
||||
|
|
@ -226,11 +387,11 @@ install -m 755 %{SOURCE5} $RPM_BUILD_ROOT%{_libexecdir}/ypbind-post-waitbind
|
|||
NM_DBUS_SIGNAL_STATE_CHANGED.
|
||||
(rhbz#696629)
|
||||
|
||||
* Wed Apr 28 2011 Honza Horak <hhorak@redhat.com> - 3:1.32-10
|
||||
* Thu Apr 28 2011 Honza Horak <hhorak@redhat.com> - 3:1.32-10
|
||||
- Made EnvironmentFile in systemd definition optional
|
||||
(rhbz#632620)
|
||||
|
||||
* Wed Apr 14 2011 Honza Horak <hhorak@redhat.com> - 3:1.32-9
|
||||
* Thu Apr 14 2011 Honza Horak <hhorak@redhat.com> - 3:1.32-9
|
||||
- Add native systemd unit file.
|
||||
(rhbz#693873)
|
||||
|
||||
|
|
@ -300,7 +461,7 @@ install -m 755 %{SOURCE5} $RPM_BUILD_ROOT%{_libexecdir}/ypbind-post-waitbind
|
|||
the documentation, and it is also removed from the usage
|
||||
string in this version
|
||||
|
||||
* Fri Nov 19 2009 Karel Klic <kklic@redhat.com> - 3:1.29.91-2
|
||||
* Thu Nov 19 2009 Karel Klic <kklic@redhat.com> - 3:1.29.91-2
|
||||
- Added signalstate patch, which fixes compilation with
|
||||
NetworkManaged-devel headers installed. Resolves #537064.
|
||||
|
||||
|
|
@ -382,7 +543,7 @@ install -m 755 %{SOURCE5} $RPM_BUILD_ROOT%{_libexecdir}/ypbind-post-waitbind
|
|||
* Mon Sep 17 2007 Steve Dickson <steved@redhat.com> - 3:1.20.4-2
|
||||
- Fixed a couple of typos in initscript (bz 281951)
|
||||
|
||||
* Wed May 3 2007 Steve Dickson <steved@redhat.com> - 3:1.20.4-1
|
||||
* Thu May 3 2007 Steve Dickson <steved@redhat.com> - 3:1.20.4-1
|
||||
- updated to latest upstream version ypbind-mt-1.20.4
|
||||
|
||||
* Tue Apr 17 2007 Steve Dickson <steved@redhat.com> - 3:1.19-9
|
||||
|
|
@ -528,7 +689,7 @@ install -m 755 %{SOURCE5} $RPM_BUILD_ROOT%{_libexecdir}/ypbind-post-waitbind
|
|||
* Sun Jun 24 2001 Elliot Lee <sopwith@redhat.com>
|
||||
- Bump release + rebuild.
|
||||
|
||||
* Fri Jun 4 2001 Preston Brown <pbrown@redhat.com>
|
||||
* Mon Jun 4 2001 Preston Brown <pbrown@redhat.com>
|
||||
- small fixes for initscript. Sometimes had trouble on slower systems (#37463)
|
||||
|
||||
* Sat Mar 3 2001 Preston Brown <pbrown@redhat.com>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue