Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
etercifs
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
etercifs
Commits
b514b8d8
Commit
b514b8d8
authored
Apr 11, 2009
by
Konstantin Baev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
4.3.4-alt2
- Bugfix in spec - Add RHEL support with CentOS - Add parameter CHECK_VERSION in /etc/etercifs.conf for disabeling checking package version while loading the module
parent
194ce50c
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
24 additions
and
13 deletions
+24
-13
rules
.gear/rules
+1
-0
etercifs.spec
etercifs.spec
+11
-1
README.ETER
etercifs/README.ETER
+1
-5
etercifs
etercifs/etercifs
+4
-2
functions.sh
etercifs/functions.sh
+7
-5
No files found.
.gear/rules
View file @
b514b8d8
tar.bz2: sources/legacy name=kernel-source-etercifs-legacy-1.50c
tar.bz2: sources/centos53 name=kernel-source-etercifs-centos53-1.54
tar.bz2: sources/2.6.16 name=kernel-source-etercifs-2.6.16-1.50
tar.bz2: sources/2.6.23 name=kernel-source-etercifs-2.6.23-1.50
tar.bz2: sources/2.6.24 name=kernel-source-etercifs-2.6.24-1.52
...
...
etercifs.spec
View file @
b514b8d8
...
...
@@ -13,6 +13,7 @@
%define src_package_name kernel-source-etercifs
%define src_legacy_version 1.50c
%define src_centos53_version 1.54
%define src_2_6_16_version 1.50
%define src_2_6_23_version 1.50
%define src_2_6_24_version 1.52
...
...
@@ -24,7 +25,7 @@
Name: etercifs
Version: 4.3.4
Release: alt
1
Release: alt
2
Summary: Advanced Common Internet File System for Linux with Etersoft extension
...
...
@@ -38,6 +39,7 @@ BuildArch: noarch
Source: %name-%version.tar.bz2
Source1: %src_package_name-legacy-%src_legacy_version.tar.bz2
Source2: %src_package_name-centos53-%src_centos53_version.tar.bz2
Source16: %src_package_name-2.6.16-%src_2_6_16_version.tar.bz2
Source23: %src_package_name-2.6.23-%src_2_6_23_version.tar.bz2
Source24: %src_package_name-2.6.24-%src_2_6_24_version.tar.bz2
...
...
@@ -83,6 +85,7 @@ echo MODULENAME=%name >> %buildroot%_sysconfdir/%name.conf
echo MODULEVERSION=%version >> %buildroot%_sysconfdir/%name.conf
echo MOUNT_OPTIONS=user=guest,pass=,rw,iocharset=utf8,noperm,forcemand >> %buildroot%_sysconfdir/%name.conf
echo DEFAULT_MOUNTPOINT=/net/sharebase >> %buildroot%_sysconfdir/%name.conf
echo CHECK_VERSION=1 >> %buildroot%_sysconfdir/%name.conf
mkdir -p %buildroot%_datadir/%name
install -m644 buildmodule.sh %buildroot%_datadir/%name
...
...
@@ -96,6 +99,7 @@ install -m755 %name.outformat %buildroot%_initdir
mkdir -p %buildroot/%etercifs_src
cp %SOURCE1 %buildroot/%etercifs_src/%src_package_name-legacy-%src_legacy_version.tar.bz2
cp %SOURCE2 %buildroot/%etercifs_src/%src_package_name-centos53-%src_centos53_version.tar.bz2
for N in `seq 17 22`
do
ln -s %src_package_name-legacy-%src_legacy_version.tar.bz2 %buildroot/%etercifs_src/%src_package_name-2.6.$N-%src_legacy_version.tar.bz2
...
...
@@ -127,6 +131,12 @@ install -m755 etermount %buildroot%_sbindir/
%_sbindir/etermount
%changelog
* Fri Apr 10 2009 Konstantin Baev <kipruss@altlinux.org> 4.3.4-alt2
- Bugfix in spec
- Add RHEL support with CentOS
- Add parameter CHECK_VERSION in /etc/etercifs.conf for disabeling
checking package version while loading the module
* Fri Apr 10 2009 Konstantin Baev <kipruss@altlinux.org> 4.3.4-alt1
- Add etercifs sources for CentOS kernel 2.6.18-128 (fix bug Eter#3770)
- Add CentOS specific part in building scripts
...
...
etercifs/README.ETER
View file @
b514b8d8
...
...
@@ -12,10 +12,6 @@
Отслеживание ошибок осуществляется в Bugzilla - http://bugs.etersoft.ru/
Специальная бага "Выпуск etercifs", в которой анонсируется выпуск каждой
новой версии etercifs и описаны изменения в нем -
http://bugs.etersoft.ru/show_bug.cgi?id=2220
Часть документации к WINE@Etersoft "Настройка совместной работы по протоколу
CIFS" - http://www.etersoft.ru/content/view/56/156/#cifs
...
...
@@ -27,5 +23,5 @@ http://git.etersoft.ru/people/kipruss/packages/etercifs.git/
ftp://updates.etersoft.ru/pub/Etersoft/CIFS@Etersoft/
Файлы AUTHORS, CHANGES, README, TODO взяты из исходников модуля
для ядра 2.6.2
8
. Для остальных ядер подобные файлы нужно искать
для ядра 2.6.2
9
. Для остальных ядер подобные файлы нужно искать
в соответствующих архивах в папке /usr/share/etercifs/sources.
etercifs/etercifs
View file @
b514b8d8
...
...
@@ -25,6 +25,7 @@ fi
[
-n
"
$MODULENAME
"
]
||
MODULENAME
=
etercifs
[
-n
"
$BUILT
"
]
||
BUILT
=
0
[
-n
"
$DKMS
"
]
||
DKMS
=
1
[
-n
"
$CHECK_VERSION
"
]
||
CHECK_VERSION
=
1
ORIGMODULENAME
=
cifs
...
...
@@ -152,11 +153,12 @@ load_module()
get_module_version
if
[
"
$MODULEVERSION
"
!=
"
$MODVER
"
]
;
then
if
[
"
$MODULEVERSION
"
!=
"
$MODVER
"
]
&&
[
"
$CHECK_VERSION
"
-eq
1
]
;
then
[
$MODVER
]
&&
{
failure
show_module_version
echo
" Pleace, run 'service etercifs build' to build the etercifs module!"
echo
" Please, run 'service etercifs build' to build the etercifs module (recommended)"
echo
" or run 'CHECK_VERSION=0 service etercifs restart' to disableing check."
return
}
fi
...
...
etercifs/functions.sh
View file @
b514b8d8
...
...
@@ -37,11 +37,13 @@ detect_etercifs_sources()
[
-n
"
`
ls
$ETERCIFS_SOURCES_LIST
`
"
]
||
fatal
"Etercifs kernel module sources does not installed!"
KERNEL_SOURCE_ETERCIFS_LINK
=
`
ls
-1
$ETERCIFS_SOURCES_LIST
|
grep
$KERNEL
|
sort
-r
|
head
-n
1
`
# CentOS specific part
grep
'CentOS'
/etc/redhat-release &>/dev/null
if
[
"
$?
"
==
0
]
;
then
# CentOS-RHEL specific part
SPECIFIC_CENTOS
=
0
grep
'CentOS'
/etc/redhat-release &>/dev/null
&&
SPECIFIC_CENTOS
=
1
grep
'Red Hat'
/etc/redhat-release &>/dev/null
&&
SPECIFIC_CENTOS
=
1
if
[
"
$SPECIFIC_CENTOS
"
-eq
1
]
;
then
echo
echo
"Found CentOS."
echo
"Found CentOS
or RHEL
."
kernel_release4
N1
=
`
echo
$KERNEL4
|
cut
-d
"."
-f
1
`
...
...
@@ -82,7 +84,7 @@ detect_etercifs_sources()
fi
echo
fi
# end of CentOS specific part
# end of CentOS
-RHEL
specific part
[
-f
"
$KERNEL_SOURCE_ETERCIFS_LINK
"
]
||
fatal
"Etercifs kernel module sources for current kernel does not installed!"
KERNEL_SOURCE_ETERCIFS
=
`
readlink
-f
$KERNEL_SOURCE_ETERCIFS_LINK
`
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment