packages: netcf/netcf.spec, netcf/netcf-pld_interfaces.patch (NEW) - operat...

alucard alucard at pld-linux.org
Tue Jul 20 09:35:19 CEST 2010


Author: alucard                      Date: Tue Jul 20 07:35:19 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- operate on PLD dir for interfaces

---- Files affected:
packages/netcf:
   netcf.spec (1.1 -> 1.2) , netcf-pld_interfaces.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/netcf/netcf.spec
diff -u packages/netcf/netcf.spec:1.1 packages/netcf/netcf.spec:1.2
--- packages/netcf/netcf.spec:1.1	Mon Jul 19 18:20:00 2010
+++ packages/netcf/netcf.spec	Tue Jul 20 09:35:13 2010
@@ -3,11 +3,12 @@
 Summary(pl.UTF-8):	netcf to wieloplatformowa biblioteka do konfiguracji sieci
 Name:		netcf
 Version:	0.1.6
-Release:	0.1
+Release:	0.2
 License:	GPLv2
 Group:		Administration/System
 Source0:	https://fedorahosted.org/released/netcf/%{name}-%{version}.tar.gz
 # Source0-md5:	c19914d97b23be1837036d23cbdc6473
+Patch0:		%{name}-pld_interfaces.patch
 URL:		https://fedorahosted.org/netcf/
 BuildRequires:	augeas-devel
 BuildRequires:	libxslt-devel
@@ -58,6 +59,7 @@
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 
@@ -105,6 +107,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.2  2010/07/20 07:35:13  alucard
+- operate on PLD dir for interfaces
+
 Revision 1.1  2010/07/19 16:20:00  alucard
 - initial commit
 

================================================================
Index: packages/netcf/netcf-pld_interfaces.patch
diff -u /dev/null packages/netcf/netcf-pld_interfaces.patch:1.1
--- /dev/null	Tue Jul 20 09:35:19 2010
+++ packages/netcf/netcf-pld_interfaces.patch	Tue Jul 20 09:35:13 2010
@@ -0,0 +1,19 @@
+--- netcf-0.1.6/src/drv_initscripts.c	2010-04-15 04:06:33.000000000 +0200
++++ netcf-0.1.6/src/drv_initscripts.c_new	2010-07-20 09:31:07.502370512 +0200
+@@ -51,14 +51,14 @@ static const char *const network_scripts
+     "/files/etc/sysconfig/network-scripts";
+ 
+ static const char *const ifcfg_path =
+-    "/files/etc/sysconfig/network-scripts/*";
++    "/files/etc/sysconfig/interfaces/*";
+ 
+ /* Augeas should only load the files we are interested in */
+ static const struct augeas_pv augeas_xfm_common_pv[] = {
+     /* Ifcfg files */
+     { "/augeas/load/Ifcfg/lens", "Shellvars.lns" },
+     { "/augeas/load/Ifcfg/incl",
+-      "/etc/sysconfig/network-scripts/ifcfg-*" },
++      "/etc/sysconfig/interfaces/ifcfg-*" },
+     { "/augeas/load/Ifcfg/excl[1]", "*~" },
+     { "/augeas/load/Ifcfg/excl[2]", "*.bak" },
+     { "/augeas/load/Ifcfg/excl[3]", "*.orig" },
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/netcf/netcf.spec?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list