git-svn-id: http://svn.calculate.ru/overlay@1124 c91db197-33c1-4113-bf15-f8a5c547ca64
parent
4eaf3fa22b
commit
61fe5b239d
@ -0,0 +1,25 @@
|
|||||||
|
# ChangeLog for app-emulation/wine-etersoft-network
|
||||||
|
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
|
||||||
|
# $Header: $
|
||||||
|
|
||||||
|
*wine-etersoft-network-1.0.9_beta (25 Mar 2008)
|
||||||
|
|
||||||
|
25 Mar 2008; <johnrdoe63@cregion.ru> Changelog :
|
||||||
|
Bump version
|
||||||
|
|
||||||
|
08 Feb 2008; <johnrdoe63@cregion.ru> Changelog :
|
||||||
|
adding 1.0.8 ver
|
||||||
|
remove 1.0.6 and 1.0.7n deprecated
|
||||||
|
|
||||||
|
08 Aug 2007; <johnrdoe63@cregion.ru> Changelog :
|
||||||
|
stable 1.0.6 on x86
|
||||||
|
|
||||||
|
*wine-etersoft-network-1.0.7n (01 Aug 2007)
|
||||||
|
|
||||||
|
01 Aug 2007; JohnRDoe63 <johnrdoe63@cregion.ru> :
|
||||||
|
initial import
|
||||||
|
|
||||||
|
*wine-etersoft-network-1.0.6 (01 Aug 2007)
|
||||||
|
|
||||||
|
1 Aug 2007; JohnRDoe63 <johnrdoe63@cregion.ru> :
|
||||||
|
Initial import
|
@ -0,0 +1,7 @@
|
|||||||
|
AUX eter_acl 3051 RMD160 c6126b0235dd726eb323913f28e52d2ba2ca43dc SHA1 1addbfedbff2e73f2a119739cd30fb1e78a92d28 SHA256 695d82548b38956c85d55f8ae77706167a5ae02f155efc233d1d5aa0482eda42
|
||||||
|
AUX etersafe.init-1.0.9 421 RMD160 b8dac2908e6eef8fda07de6adf872de21f1f9082 SHA1 09af33f03284d27e55b970fcbeeab74007380fbf SHA256 bfee163206117659b8d6967b1b101284991adcee5e43fc8beed39e2643453b23
|
||||||
|
DIST wine-etersoft-network-1.0.9-alt17.M40.18.i586.rpm 7429951 RMD160 bc823acd5ad4bf9845c2868d042645e7b6b6a055 SHA1 a599427ce666ce62caf0dceaaf87d051bac8d097 SHA256 fee7edf50bf06c67eb361c09401a46c97b1f2deae6401692576a4e35fad46322
|
||||||
|
EBUILD wine-etersoft-network-1.0.9.ebuild 1771 RMD160 a73a863cd252092450c988e684942b52487c21dc SHA1 38390d846de6b3058ef86094b792cccaaf846a3f SHA256 561690f65eea5dc379281eb7daa80a277ca486c18e2bb4b1ed1f8234051e89ad
|
||||||
|
MISC ChangeLog 661 RMD160 cfab9967d85eceace5880e7c4ee054e8c162266d SHA1 ad5decabb7864ce6c2e5fc0f18e2b0c056c5d8d8 SHA256 7b2bb584040c1ebfd2956039ef7eef000001cc11941c5e47acc5d4c3a7bc01ba
|
||||||
|
MISC manifest1 1192 RMD160 6dccb45ab92b33e569096de2ec257fbf7a888a08 SHA1 b34c4195241e0f476801b18ecbf441d17a3d80ad SHA256 ad29db87807c6ed2ddf9b5d510088d28b2cdd93e022e28f27687abf68a082e56
|
||||||
|
MISC metadata.xml 511 RMD160 089a13c2f734a7bc17fcb9da9dd795b4cdb45066 SHA1 6062b843e15ee327ecdcb83371cab4fffd663ed2 SHA256 914ac8d85aa8ceb5779f5d05983392628c7991dbae1dacb7ea2359cddeb166f6
|
@ -0,0 +1,3 @@
|
|||||||
|
MD5 ec50c0b4e2b6d5ab59e0ef48e6c90ff4 wine-etersoft-network-1.0.8.tbz2 6655747
|
||||||
|
RMD160 52ed61d782abe4a98d46d89a8e7ce113613dbd62 wine-etersoft-network-1.0.8.tbz2 6655747
|
||||||
|
SHA256 0defcd004719dd69429e83a606df9754a94ddac37bd01a2955b2bb1ff29b2d1e wine-etersoft-network-1.0.8.tbz2 6655747
|
@ -0,0 +1,134 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
#
|
||||||
|
# eter_acl - The 1C 7.7 database check and set true file/dir permissions script, ver 0.1
|
||||||
|
#
|
||||||
|
# Copyright (C) 2007 Kazankov Alexsander <johnrdoe63ATcregionDOTru>
|
||||||
|
#
|
||||||
|
# This program is free software; you can redistribute it and/or modify
|
||||||
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
# the Free Software Foundation; version 2 of the License.
|
||||||
|
#
|
||||||
|
# This program is distributed in the hope that it will be useful,
|
||||||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
# GNU General Public License for more details.
|
||||||
|
#
|
||||||
|
# You should have received a copy of the GNU General Public License
|
||||||
|
# along with this program or from the site that you downloaded it
|
||||||
|
# from; if not, write to the Free Software Foundation, Inc., 59 Temple
|
||||||
|
# Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
|
#
|
||||||
|
###########################################################################
|
||||||
|
|
||||||
|
|
||||||
|
VERSION="`basename $0` ver. 0.1"
|
||||||
|
USAGE="Usage: `basename $0` < option > <dir_name>"
|
||||||
|
OPTIONS="sVhg:"
|
||||||
|
retval=1
|
||||||
|
args=$#
|
||||||
|
sflag=
|
||||||
|
gflag=
|
||||||
|
|
||||||
|
if [ $# -eq 0 ]; then
|
||||||
|
echo $"${USAGE}" >&2
|
||||||
|
exit 2
|
||||||
|
fi
|
||||||
|
|
||||||
|
help()
|
||||||
|
{
|
||||||
|
echo $"${USAGE}" >&2
|
||||||
|
echo
|
||||||
|
echo "Options:"
|
||||||
|
echo " -h Show help message"
|
||||||
|
echo " -V Show version"
|
||||||
|
echo " -s Set true permissions"
|
||||||
|
echo " -g Name of group for 1C's users"
|
||||||
|
echo
|
||||||
|
exit 0
|
||||||
|
}
|
||||||
|
|
||||||
|
fatal ()
|
||||||
|
{
|
||||||
|
echo "Access denied!!! Switch to another user!"
|
||||||
|
exit
|
||||||
|
}
|
||||||
|
|
||||||
|
test_create()
|
||||||
|
{
|
||||||
|
echo "Testing to create file..."
|
||||||
|
TESTFILE=$WORK_DIR/winelock-test.001
|
||||||
|
|
||||||
|
touch $TESTFILE
|
||||||
|
|
||||||
|
if [ "`stat -c%a $TESTFILE`" != "660" ] ; then
|
||||||
|
echo "Bad a create permissions!!!"
|
||||||
|
echo "Perm of create file is: `stat -c%a $TESTFILE`"
|
||||||
|
else
|
||||||
|
echo "Looks like good ;-)"
|
||||||
|
fi
|
||||||
|
|
||||||
|
rm -f $TESTFILE
|
||||||
|
}
|
||||||
|
|
||||||
|
while getopts "${OPTIONS}" name
|
||||||
|
do
|
||||||
|
case $name in
|
||||||
|
s) sflag=1;;
|
||||||
|
g) gflag=1
|
||||||
|
NAME_GR=$OPTARG;;
|
||||||
|
V) echo $"${VERSION}" >&2
|
||||||
|
exit 0;;
|
||||||
|
h) help;;
|
||||||
|
?) echo $"${USAGE}" >&2
|
||||||
|
exit 2;;
|
||||||
|
*) echo $"${USAGE}" >&2
|
||||||
|
exit 1;;
|
||||||
|
esac
|
||||||
|
done
|
||||||
|
|
||||||
|
NAME_GR=${NAME_GR:-users}
|
||||||
|
WORK_DIR=${!args}
|
||||||
|
[ -d "${WORK_DIR}" ] || { echo "No working dir! Choose right working dir."; exit 1; }
|
||||||
|
|
||||||
|
. gettext.sh
|
||||||
|
|
||||||
|
TEXTDOMAIN=wine-etersoft
|
||||||
|
export TEXTDOMAIN
|
||||||
|
TEXTDOMAINDIR='/usr/share/locale'
|
||||||
|
export TEXTDOMAINDIR
|
||||||
|
|
||||||
|
echo "Finding incorrect files and dirs..."
|
||||||
|
find $WORK_DIR -maxdepth 10 \( ! -group $NAME_GR -o ! -perm 2770 \) -type d -print0 | xargs -n1 -0 --no-run-if-empty ls -d -l
|
||||||
|
|
||||||
|
find $WORK_DIR -maxdepth 10 \( ! -group $NAME_GR -o ! -perm 660 \) -type f -print0 | xargs -n1 -0 --no-run-if-empty ls -l
|
||||||
|
|
||||||
|
echo Umask: `umask`
|
||||||
|
|
||||||
|
if [ ! -z "$sflag" ]; then
|
||||||
|
echo "Setting right permissions..."
|
||||||
|
find $WORK_DIR -maxdepth 10 -type f -print0 | xargs -0 chgrp $NAME_GR || fatal $?
|
||||||
|
find $WORK_DIR -maxdepth 10 -type f -print0 | xargs -0 chmod 0660
|
||||||
|
|
||||||
|
find $WORK_DIR -maxdepth 10 -type d -print0 | xargs -0 chgrp $NAME_GR || fatal $?
|
||||||
|
find $WORK_DIR -maxdepth 10 -type d -print0 | xargs -0 chmod 02770
|
||||||
|
exit 0
|
||||||
|
fi
|
||||||
|
|
||||||
|
test_create
|
||||||
|
|
||||||
|
# EOF
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -0,0 +1,17 @@
|
|||||||
|
#!/sbin/runscript
|
||||||
|
# Copyright 1999-2004 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
start() {
|
||||||
|
ebegin "Starting etersafe keylock"
|
||||||
|
eval start-stop-daemon --start --quiet --pidfile /var/run/etersafe.pid --exec /usr/sbin/etersafed --
|
||||||
|
eend $?
|
||||||
|
}
|
||||||
|
|
||||||
|
stop() {
|
||||||
|
ebegin "Stopping etersafe keylock"
|
||||||
|
start-stop-daemon --stop --signal 2 --quiet --pidfile /var/run/etersafe.pid
|
||||||
|
eend $?
|
||||||
|
}
|
@ -0,0 +1,6 @@
|
|||||||
|
AUX eter_acl 3051 RMD160 c6126b0235dd726eb323913f28e52d2ba2ca43dc SHA1 1addbfedbff2e73f2a119739cd30fb1e78a92d28 SHA256 695d82548b38956c85d55f8ae77706167a5ae02f155efc233d1d5aa0482eda42
|
||||||
|
AUX etersafe.init-1.0.9 421 RMD160 b8dac2908e6eef8fda07de6adf872de21f1f9082 SHA1 09af33f03284d27e55b970fcbeeab74007380fbf SHA256 bfee163206117659b8d6967b1b101284991adcee5e43fc8beed39e2643453b23
|
||||||
|
DIST wine-etersoft-network-1.0.9-alt17.M40.18.i586.rpm 6621971 RMD160 76de40381c8aa25ecaa7ea651ea6bd4f32ace03 SHA1 f40d5847ff5c75954e0db8b963237ae5aece05d1 SHA256 cab6b28ec40243e745e030b2e7607feb3d8749dca00156daecb6ebe3c2cdb66f
|
||||||
|
EBUILD wine-etersoft-network-1.0.9.ebuild 1771 RMD160 a73a863cd252092450c988e684942b52487c21dc SHA1 38390d846de6b3058ef86094b792cccaaf846a3f SHA256 561690f65eea5dc379281eb7daa80a277ca486c18e2bb4b1ed1f8234051e89ad
|
||||||
|
MISC ChangeLog 661 RMD160 cfab9967d85eceace5880e7c4ee054e8c162266d SHA1 ad5decabb7864ce6c2e5fc0f18e2b0c056c5d8d8 SHA256 7b2bb584040c1ebfd2956039ef7eef000001cc11941c5e47acc5d4c3a7bc01ba
|
||||||
|
MISC metadata.xml 511 RMD160 089a13c2f734a7bc17fcb9da9dd795b4cdb45066 SHA1 6062b843e15ee327ecdcb83371cab4fffd663ed2 SHA256 914ac8d85aa8ceb5779f5d05983392628c7991dbae1dacb7ea2359cddeb166f6
|
@ -0,0 +1,14 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||||
|
<pkgmetadata>
|
||||||
|
<herd>wine-etersoft-network</herd>
|
||||||
|
<maintainer>
|
||||||
|
<email>johnrdoe63@cregion.ru</email>
|
||||||
|
<name>JohnRDoe63</name>
|
||||||
|
</maintainer>
|
||||||
|
<longdescription>
|
||||||
|
WINE@Etersoft Network is an commercial product of Etersoft ltd.
|
||||||
|
|
||||||
|
This package allows you to run many office winodws applications(1C, Konsultant, etc) within Network support in your *nix environment.
|
||||||
|
</longdescription>
|
||||||
|
</pkgmetadata>
|
@ -0,0 +1,59 @@
|
|||||||
|
# Copyright 1999-2007 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Header: $
|
||||||
|
|
||||||
|
inherit rpm
|
||||||
|
|
||||||
|
#MY_P="wine-etersoft-network-${PV}"
|
||||||
|
MY_P="wine-etersoft-network-1.0.9"
|
||||||
|
DESCRIPTION="WINE@Etersoft Network, a addon for WINE@Etersoft with enhanced Network support for office application, as such as 1C:Predpryatie"
|
||||||
|
HOMEPAGE="http://www.etersoft.ru/"
|
||||||
|
SRC_URI="${MY_P}-alt17.M40.18.i586.rpm"
|
||||||
|
|
||||||
|
LICENSE="WINE@Etersoft-Network Corp.WINE@Etersoft-Network"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="-* ~x86 ~amd64"
|
||||||
|
#IUSE="alsa arts cups dbus esd hal jack jpeg lcms ldap nas ncurses opengl oss scanner xml X"
|
||||||
|
RESTRICT="fetch strip"
|
||||||
|
|
||||||
|
|
||||||
|
RDEPEND=">=media-libs/freetype-2.0.0
|
||||||
|
!app-emulation/wine
|
||||||
|
!app-emulation/wine-etersoft-sql
|
||||||
|
!app-emulation/wine-etersoft-local
|
||||||
|
>=app-emulation/wine-etersoft-public-${PV}
|
||||||
|
>=dev-libs/openssl-0.9.8g
|
||||||
|
media-fonts/corefonts "
|
||||||
|
|
||||||
|
pkg_nofetch() {
|
||||||
|
einfo "Please download the appropriate WINE@Etersoft-Network archive (${MY_P}-alt17.M40.18.i586.rpm)"
|
||||||
|
einfo "from ${HOMEPAGE} (requires a Etersoft subscription)"
|
||||||
|
einfo
|
||||||
|
einfo "Then put the file in ${DISTDIR}"
|
||||||
|
}
|
||||||
|
|
||||||
|
src_unpack () {
|
||||||
|
echo "${DISTDIR}/${A}"
|
||||||
|
rpm_unpack "${DISTDIR}/${A}"
|
||||||
|
cp -p "${FILESDIR}"/eter_acl "${WORKDIR}"/usr/bin/
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
dodir /etc/init.d
|
||||||
|
dodir /etc/wine
|
||||||
|
cp "${FILESDIR}"/etersafe.init-1.0.9 "${D}"/etc/init.d/etersafed || die "cp usr"
|
||||||
|
cp -R "${WORKDIR}"/usr "${D}" || die "cp usr"
|
||||||
|
cp -R "${WORKDIR}"/etc/wine/* "${D}"/etc/wine/ || die "cp /etc/wine"
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
cd /usr/lib
|
||||||
|
ln -s libcrypto.so libcrypto.so.6
|
||||||
|
ln -s libssl.so libssl.so.6
|
||||||
|
|
||||||
|
einfo "Run /usr/bin/wine to start wine as any non-root user."
|
||||||
|
einfo "This will take care of creating an initial environment"
|
||||||
|
einfo " and do everything else."
|
||||||
|
einfo ""
|
||||||
|
}
|
Loading…
Reference in new issue