git-svn-id: http://svn.calculate.ru/overlay@1204 c91db197-33c1-4113-bf15-f8a5c547ca64

atratsevskiy
ztime 15 years ago
parent dca0c0c114
commit 59fc641bab

@ -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,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 7429939 RMD160 6e9eeb0ad89590922e5d9dde3248b00d4b4ee95d SHA1 2744c0b9798011cf1bd9647e38fee4d5ff942188 SHA256 ec79eac73f6d0686fa3025f55637a80694726b89a9aea11d68991fc61c22ad05
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,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,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…
Cancel
Save