PERFORCE change 180615 for review

Ana Kukec anchie at FreeBSD.org
Wed Jul 7 22:51:30 UTC 2010


http://p4web.freebsd.org/@@180615?ac=10

Change 180615 by anchie at anchie_malimis on 2010/07/07 22:51:16

	Place the sendd rc.d script into /usr/local/etc/	

Affected files ...

.. //depot/projects/soc2009/anchie_send/send_0.2/sendd/os-freebsd-netgraph/Makefile#2 edit
.. //depot/projects/soc2009/anchie_send/send_0.2/sendd/os-freebsd/Makefile#4 edit
.. //depot/projects/soc2009/anchie_send/send_0.2/sendd/os-freebsd/addr.c#2 edit

Differences ...

==== //depot/projects/soc2009/anchie_send/send_0.2/sendd/os-freebsd-netgraph/Makefile#2 (text+ko) ====

@@ -4,9 +4,9 @@
 OSLIBS= -lnetgraph -l$(DNET)
 
 OSEXTRA= os/sendd
-EXTRAINSTALL= /etc/rc.d/sendd
+EXTRAINSTALL= /usr/local/etc/rc.d 
 EXTRAUNINSTALL=$(EXTRAINSTALL)
 
-/etc/rc.d/%: os/%
+/usr/local/etc/rc.d/%: os/%
 	install $< $@
 

==== //depot/projects/soc2009/anchie_send/send_0.2/sendd/os-freebsd/Makefile#4 (text+ko) ====

@@ -5,9 +5,9 @@
 OSLIBS= -L/usr/local/lib -l$(DNET)
 
 OSEXTRA= os/sendd
-EXTRAINSTALL= /etc/rc.d/sendd
+EXTRAINSTALL= /usr/local/etc/rc.d/sendd
 EXTRAUNINSTALL=$(EXTRAINSTALL)
 
-/etc/rc.d/%: os/%
+/usr/local/etc/rc.d/%: os/%
 	install $< $@
 

==== //depot/projects/soc2009/anchie_send/send_0.2/sendd/os-freebsd/addr.c#2 (text+ko) ====

@@ -54,7 +54,11 @@
 	struct in6_aliasreq req[1];
 	struct in6_addr mask64[1];
 	int s;
+#ifdef SND_OS_linux
 	int cmd;
+#else
+	unsigned int long cmd;
+#endif
 	int r = -1;
 
 	cmd = add ? SIOCAIFADDR_IN6 : SIOCDIFADDR_IN6;


More information about the p4-projects mailing list