Cleanup old unused stuff
These ebuild were unused and unmaintained by me for a long time, there is no point for keeping them in overlay
This commit is contained in:
@@ -1,11 +0,0 @@
|
||||
# Copyright 2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit acct-user
|
||||
|
||||
ACCT_USER_ID=750
|
||||
ACCT_USER_GROUPS=( squid )
|
||||
|
||||
acct-user_add_deps
|
||||
@@ -1 +0,0 @@
|
||||
DIST libb64-1.2.1.zip 23316 BLAKE2B 1e3aa08679e363d61b7a0a77bfe909c0fc80411bf2c7b0f35e7a8a692a25585a37303ea0f010600c0e07e0419f016fe60f88851eebb26d044e7dbaf3d02726a0 SHA512 8b1e5c8086a38be82471b5f37393f3f236c923f4a2bb737209a297cbab32a9f0a5c4af4ac912c695f0f7d8ff9458d97ce0d01092fbacbfe7181e4fd816e2153d
|
||||
@@ -1,34 +0,0 @@
|
||||
--- src/Makefile.orig 2013-06-18 16:49:36.000000000 +0400
|
||||
+++ src/Makefile 2013-10-09 12:59:45.000000000 +0400
|
||||
@@ -1,9 +1,8 @@
|
||||
-LIBRARIES = libb64.a
|
||||
+LIBRARIES = libb64.so
|
||||
|
||||
# Build flags (uncomment one)
|
||||
#############################
|
||||
# Release build flags
|
||||
-CFLAGS += -O3
|
||||
#############################
|
||||
# Debug build flags
|
||||
#CFLAGS += -g
|
||||
@@ -15,8 +14,7 @@
|
||||
|
||||
LINK.o = gcc
|
||||
|
||||
-CFLAGS += -Werror -pedantic
|
||||
-CFLAGS += -I../include
|
||||
+CFLAGS += -I../include -fPIC -shared
|
||||
|
||||
vpath %.h ../include/b64
|
||||
|
||||
@@ -24,8 +22,8 @@
|
||||
|
||||
all: $(TARGETS) #strip
|
||||
|
||||
-libb64.a: cencode.o cdecode.o
|
||||
- $(AR) $(ARFLAGS) $@ $^
|
||||
+libb64.so: cencode.o cdecode.o
|
||||
+ $(CC) $(CFLAGS) $(LDFLAGS) -Wl,-soname,libb64.so.1 $^ -o $@
|
||||
|
||||
strip:
|
||||
strip $(BINARIES) *.exe
|
||||
@@ -1,40 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit multilib toolchain-funcs
|
||||
|
||||
DESCRIPTION="C/C++ routines for fast encoding/decoding data into and from a base64-encoded format"
|
||||
HOMEPAGE="http://libb64.sourceforge.net"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.zip"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
DEPEND="app-arch/unzip"
|
||||
RDEPEND=""
|
||||
|
||||
#PATCHES=( "${FILESDIR}/${P}-build-shared-lib.patch" )
|
||||
|
||||
src_prepare() {
|
||||
# Respect compiler environment
|
||||
tc-export CC CXX
|
||||
|
||||
# Build shared library instead of static
|
||||
eapply -p0 "${FILESDIR}/${P}-build-shared-lib.patch"
|
||||
|
||||
eapply_user
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# Build library only
|
||||
emake all_src
|
||||
}
|
||||
|
||||
src_install() {
|
||||
doheader -r include/b64
|
||||
dolib.so "src/${PN}.so"
|
||||
dosym "${PN}.so" "/usr/$(get_libdir)/${PN}.so.1"
|
||||
}
|
||||
@@ -1,8 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer>
|
||||
<email>admin@pinkbyte.ru</email>
|
||||
<name>Sergey Popov</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
||||
@@ -1,50 +0,0 @@
|
||||
This License agreement (hereinafter "the Agreement") is a legal agreement made between
|
||||
you (natural or legal person, hereinafter "the user") and NetUP company (hereinafter "NetUP")
|
||||
concerning the above software NetUP product, and including the software recorded on the corre-
|
||||
sponding carriers, print materials, and any inline or electronic documentation (hereinafter "the
|
||||
product").
|
||||
1. License scope.
|
||||
1.1. One product set may be installed on only one computer.
|
||||
1.2. The product is considered used if it is loaded in the RAM memory, or stored on hard disk,
|
||||
CD or other storing device of a certain computer.
|
||||
1.3. The user has a right to create an archive copy intended exclusively for individual use for
|
||||
the product recovery or storing it on hard disk on condition that the original copy is stored
|
||||
as backup or archive copy.
|
||||
2. NetUP and its vendors warrant replacing low-quality optical, magnetic or other carriers on
|
||||
which the product is delivered for installation. The user rights and warranty services are ren-
|
||||
dered only to the registered users.
|
||||
3. This license also refers to the original product updates and add-ons provided by NetUP, if
|
||||
not specified otherwise in the accompanying documents.
|
||||
4. The product may be transferred to another workstation. The original user has a right to trans-
|
||||
fer it on a non-recurrent basis to another user. This transfer shall include all necessary com-
|
||||
ponents: carriers and print materials, this agreement and authenticity certificate (if
|
||||
available). It is not allowed to provide the product for rent, lease or temporary use.
|
||||
5. It is not allowed to disclose the technology or decompile the product, except in cases when
|
||||
despite this restriction in the license agreement it is explicitly allowed by the active legisla-
|
||||
tion, and to the degree that is clearly defined therein.
|
||||
6. NetUP has a right to terminate this agreement when its provisions and terms are violated by
|
||||
the user. In this case, the user is obliged to destroy all available product copies and its com-
|
||||
ponents.
|
||||
7. The user agrees that NetUP has a right to collect and use at its own discretion the technical
|
||||
data supplied by the user to the support department of NetUP.
|
||||
8. To the maximum degree allowed by the active legislation and under no circumstances,
|
||||
NetUP and its vendors are liable for any special, occasional, direct or indirect damage, or
|
||||
loss (including without limitations the following: loss of profit; loss of confidential or other
|
||||
information; loss caused by breakages in commercial or production operations; damage to
|
||||
health; violation of privacy; non-fulfillment of any obligation including obligation to act
|
||||
conscientiously and with reasonable precautions; loss caused by negligence; and any other
|
||||
property or other kind loss) in result of use or impossibility to use the product, rendering or
|
||||
non-rendering maintenance services, or in other cases envisaged or related to provisions of
|
||||
this license agreement, including violation of obligation, civil offence (including negli-
|
||||
gence), impersonal (independent of guilt) liability for some damage, violation by NetUP or
|
||||
its vendor of any contract or warranty liabilities, even if NetUP or its vendors have been no-
|
||||
tified in advance of this possible damage. NetUP and its vendors are not liable and bear no
|
||||
obligations in case of this product unauthorized use, which is not envisaged by this agree-
|
||||
ment.
|
||||
9. This agreement becomes valid on the moment of installing the product. This agreement will
|
||||
be valid for an indefinite time period, except cases of transferring the right for this product
|
||||
use, as envisaged by p. 4 of this Agreement.
|
||||
10. All property rights, author's rights for this product and in relation to it belong to NetUP or its
|
||||
vendors. This product is provided for use ("licensed"), not for sale.
|
||||
11. Installation and maintenance of the product is provided by NetUP under a separate agree-
|
||||
ment.
|
||||
@@ -1 +0,0 @@
|
||||
DIST lightsquid-1.8.tgz 60868 BLAKE2B 6d66a1b65aa7da0d8bf49aad63b6c16e69723281dc8652598a214decd90ed36299f75fb988e7b0c5954e5dbbd7877780a7fcc999eb6397a1668473ec500dfee1 SHA512 7f4f9361896db386a3d95323349ab51f7eb3d367a7df275cd47168a826bfdaa39f1ef29b4ffad60fd5c604b59a8b788f4f3d0cb6ce6e363a0d6add1206a3cbae
|
||||
@@ -1,17 +0,0 @@
|
||||
--- a/lightparser.pl 2013-12-25 13:06:21.375580481 +0400
|
||||
+++ b/lightparser.pl 2013-12-25 13:07:04.339580830 +0400
|
||||
@@ -32,11 +32,11 @@
|
||||
|
||||
push (@INC,(fileparse($0))[1]);
|
||||
|
||||
-require "lightsquid.cfg";
|
||||
-require "common.pl";
|
||||
+require "/etc/lightsquid/lightsquid.cfg";
|
||||
+require "/usr/share/lightsquid/common.pl";
|
||||
|
||||
#include ip2name function
|
||||
-require "ip2name/ip2name.$ip2name";
|
||||
+require "$ip2namepath/ip2name.$ip2name";
|
||||
|
||||
$SIG{INT} = \&LOCKREMOVER; # traps keyboard interrupt
|
||||
my $lockfilepath ="$lockpath/lockfile";
|
||||
@@ -1 +0,0 @@
|
||||
d /run/lock/lightsquid 750 lightsquid squid
|
||||
@@ -1,64 +0,0 @@
|
||||
#Version : 1.7
|
||||
#Translator: Sergey Erokhin, Vladislav Naumov (bugfix, rewrite) ;-)
|
||||
#Date : 23 Jun 2005, last update 05 sep 2006
|
||||
#Lang : russian
|
||||
MSG_CODEPAGE=utf8
|
||||
MSG_HEADER=Отчёт по использованию интернета, прокси-сервер Squid.
|
||||
MSG_ACCESSED_SITE=Посещённые сайты
|
||||
MSG_AVERAGE=В среднем
|
||||
MSG_BIG_FILE_DOWNLOAD_REPORT=Отчёт о БОЛЬШИХ скачаных файлах
|
||||
MSG_BIG_FILES=Кто скачал БОЛЬШИЕ файлы
|
||||
MSG_BIG_FILES_USER=Пользователь качал БОЛЬШИЕ файлы
|
||||
MSG_BYTES=Байт
|
||||
MSG_CONNECT=Соединений
|
||||
MSG_CUMULATIVE=Итого
|
||||
MSG_DATE=Дата
|
||||
MSG_GROUP=Группа
|
||||
MSG_GRP=груп.
|
||||
MSG_HIT%=Cache Hit %
|
||||
MSG_MONTH=МЕСЯЦ
|
||||
MSG_NUM=№
|
||||
MSG_NOT_IN_GROUP=вне группы
|
||||
MSG_OVERSIZE=Превысили
|
||||
MSG_OVERSIZE_HEAD=Пользователи, превысившие квоту
|
||||
MSG_OVERSIZE_TAIL=байт
|
||||
MSG_REPORT=(отчёт)
|
||||
MSG_SIZE=Скачано
|
||||
MSG_TIME=Время
|
||||
MSG_TOP_SITES=Популярные сайты
|
||||
MSG_TOTAL=Всего
|
||||
MSG_TOTAL_AVERAGE=Всего/В среднем
|
||||
MSG_TIME_REPORT=Время
|
||||
MSG_TIME_LINK=[T]
|
||||
MSG_URL=URL
|
||||
MSG_USER=Пользователь
|
||||
MSG_USER_WHO_USE_SITE=Пользователи, посещавшие сайт
|
||||
MSG_UPDATE=Обновлено
|
||||
MSG_USERS=Пользователей
|
||||
MSG_WHO=ну и Кто
|
||||
MSG_WHOLE=целиком
|
||||
MSG_WORK_PERIOD=Отчётный период
|
||||
MSG_YEAR=ГОД
|
||||
MSG_WARNING=Внимание!!!
|
||||
MSG_RECOMENDATION=я рекомендую установить
|
||||
MSG_DAYLIST=Когда
|
||||
MSG_GRAPH_LINK=[G]
|
||||
MSG_GRAPH_REPORT=График
|
||||
MSG_PUTPOST=PutPost
|
||||
MSG_REALNAME=Ф.И.О
|
||||
MSG_USER_MONTH=[M]
|
||||
MSG_WEEKSUM=За неделю
|
||||
MSG_CALENDAR=Календарь
|
||||
#
|
||||
MSG_MONTH01=Янв
|
||||
MSG_MONTH02=Фев
|
||||
MSG_MONTH03=Мар
|
||||
MSG_MONTH04=Апр
|
||||
MSG_MONTH05=Май
|
||||
MSG_MONTH06=Июн
|
||||
MSG_MONTH07=Июл
|
||||
MSG_MONTH08=Авг
|
||||
MSG_MONTH09=Сен
|
||||
MSG_MONTH10=Окт
|
||||
MSG_MONTH11=Ноя
|
||||
MSG_MONTH12=Дек
|
||||
@@ -1,73 +0,0 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit tmpfiles
|
||||
|
||||
DESCRIPTION="Lite and fast log analyzer for Squid"
|
||||
HOMEPAGE="http://lightsquid.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/lightsquid/${P}.tgz"
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
RDEPEND="acct-user/lightsquid
|
||||
net-proxy/squid
|
||||
dev-perl/GD[truetype]
|
||||
dev-perl/CGI"
|
||||
DEPEND=""
|
||||
|
||||
src_prepare() {
|
||||
sed -i \
|
||||
-e '/^$cfgpath/s:/var/www/html/lightsquid:/etc/lightsquid:' \
|
||||
-e '/^$tplpath/s:/var/www/html/lightsquid/tpl:/usr/share/lightsquid/tpl:' \
|
||||
-e '/^$langpath/s:/var/www/html/lightsquid/lang:/usr/share/lightsquid/lang:' \
|
||||
-e '/^$reportpath/s:/var/www/html/lightsquid/report:/var/lib/lightsquid:' \
|
||||
-e '/^$ip2namepath/s:/var/www/html/lightsquid/ip2name:/etc/lightsquid/ip2name:' \
|
||||
-e '/^$lockpath/s:/var/lock/lightsquid:/run/lock/lightsquid:' \
|
||||
lightsquid.cfg || die 'can not change lightsquid.cfg'
|
||||
|
||||
sed -i \
|
||||
-e 's:lightsquid.cfg:/etc/lightsquid/lightsquid.cfg:' \
|
||||
-e 's:common.pl:/usr/share/lightsquid/common.pl:' \
|
||||
*.cgi || die
|
||||
|
||||
eapply "${FILESDIR}/${P}-path-fix.patch"
|
||||
|
||||
eapply_user
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto /etc/lightsquid
|
||||
doins -r ip2name
|
||||
fowners -R lightsquid:squid /etc/lightsquid
|
||||
|
||||
dodoc doc/*
|
||||
|
||||
docinto examples
|
||||
dodoc *.cfg *.cfg.src
|
||||
|
||||
dosbin lightparser.pl
|
||||
|
||||
exeinto /var/www/lightsquid
|
||||
doexe *.cgi
|
||||
|
||||
insinto /usr/share/lightsquid
|
||||
doins *.pl
|
||||
doins -r lang tpl
|
||||
|
||||
insinto /usr/share/lightsquid/lang
|
||||
doins "${FILESDIR}/ru-utf8.lng"
|
||||
|
||||
keepdir /var/lib/lightsquid
|
||||
fowners lightsquid:squid /var/lib/lightsquid
|
||||
|
||||
dotmpfiles "${FILESDIR}/${PN}.conf"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
tmpfiles_process "${PN}.conf"
|
||||
}
|
||||
@@ -1,8 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer>
|
||||
<email>admin@pinkbyte.ru</email>
|
||||
<name>Sergey Popov</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
||||
@@ -1 +0,0 @@
|
||||
DIST utm5-3.005.x86_64-centos6_x64(update3).rpm 7809736 BLAKE2B 231b679c4d2ae31b89872023dca6745f7c10b22be83363ef702481f527339b558ddc8c714a935c232f37cee05828267d615265fc011ec25a7c42559359bd6a21 SHA512 5ced8eb8c54ffc32281ae2a26da0987be35c88a94ac9a98a7f4e1173164478c42787ce04a83b1597d2f3b08361f627459404b3298543fcd8bad251a95d5b9728
|
||||
@@ -1,37 +0,0 @@
|
||||
#!/sbin/openrc-run
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
check_db_is_running() {
|
||||
if ! `/etc/init.d/mysql status 2>/dev/null | grep "started" > /dev/null 2>&1 ` ; then
|
||||
if ! `/etc/init.d/postgresql status 2>/dev/null | grep "started" > /dev/null 2>&1` ; then
|
||||
ewarn "You have not started neither mysql nor postgresql!"
|
||||
eerror "Please start anything."
|
||||
return 1
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
depend() {
|
||||
after mysql postgresql
|
||||
}
|
||||
|
||||
start() {
|
||||
check_db_is_running || return 1
|
||||
ebegin "Starting utm5_core"
|
||||
export LD_LIBRARY_PATH="/netup/utm5/lib"
|
||||
start-stop-daemon --start --quiet --make-pidfile --pidfile /run/safe_utm5_core.pid \
|
||||
--background --exec /netup/utm5/bin/safe_utm5_core -- start
|
||||
eend $?
|
||||
}
|
||||
|
||||
stop() {
|
||||
ebegin "Stopping safe_utm5_core"
|
||||
start-stop-daemon --stop --quiet --signal 9 --pidfile /run/safe_utm5_core.pid
|
||||
eend $?
|
||||
|
||||
ebegin "Stopping utm5_core"
|
||||
start-stop-daemon --stop --quiet --signal USR1 --pidfile /run/utm5_core.pid
|
||||
eend $?
|
||||
}
|
||||
@@ -1,23 +0,0 @@
|
||||
#!/sbin/openrc-run
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
start() {
|
||||
ebegin "Starting utm5_radius"
|
||||
export LD_LIBRARY_PATH="/netup/utm5/lib"
|
||||
start-stop-daemon --start --quiet --background \
|
||||
--make-pidfile --pidfile /run/safe_utm5_radius.pid \
|
||||
--exec /netup/utm5/bin/safe_utm5_radius -- start
|
||||
eend $?
|
||||
}
|
||||
|
||||
stop() {
|
||||
ebegin "Stopping safe_utm5_radius"
|
||||
start-stop-daemon --stop --quiet --signal 9 --pidfile /run/safe_utm5_radius.pid
|
||||
eend $?
|
||||
|
||||
ebegin "Stopping utm5_radius"
|
||||
start-stop-daemon --stop --quiet --signal USR1 --pidfile /run/utm5_radius.pid
|
||||
eend $?
|
||||
}
|
||||
@@ -1,77 +0,0 @@
|
||||
#!/sbin/openrc-run
|
||||
# Copyright 1999-2005 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
checkconfig() {
|
||||
if [ ! -f /etc/conf.d/utm5_rfw.conf ] ; then
|
||||
eerror "You will need an /etc/conf.d/utm5_rfw.conf."
|
||||
return 1
|
||||
fi
|
||||
|
||||
. /etc/conf.d/utm5_rfw.conf
|
||||
|
||||
# Checking for valid shell for supplied user.
|
||||
SHELL=`grep ^$USERNAME: /etc/passwd | awk -F : '{print $7}'`
|
||||
if [ -z "$SHELL" ] ; then
|
||||
eerror "Supply user with valid shell in /etc/conf.d/utm5_rfw.conf."
|
||||
return 1
|
||||
fi
|
||||
|
||||
# This is durty and assumes that shell is in /bin directory. But in most cases this is true.
|
||||
shell_exist=false
|
||||
rm -f /tmp/tmp.shells ; grep "^/bin/" /etc/shells > /tmp/tmp.shells
|
||||
|
||||
while read shell
|
||||
do
|
||||
if [ "$shell" = "$SHELL" ] ; then
|
||||
shell_exist=true
|
||||
fi
|
||||
done < /tmp/tmp.shells
|
||||
|
||||
if [ "$shell_exist" = "false" ] ; then
|
||||
eerror "Supply user with a valid shell in /etc/conf.d/utm5_rfw.conf."
|
||||
return 1
|
||||
fi
|
||||
|
||||
if [ "$shell_exist" = "true" ] ; then
|
||||
return 0
|
||||
fi
|
||||
|
||||
eerror Init script error? Please submit a report at support@netup.ru.
|
||||
}
|
||||
|
||||
start() {
|
||||
checkconfig || return 1
|
||||
ebegin "Starting utm5_rfw"
|
||||
. /etc/conf.d/utm5_rfw.conf
|
||||
|
||||
if [ -z "$GROUPNAME" ] ; then
|
||||
GROUPID=`grep ^$USERNAME: /etc/passwd | awk -F : '{print $4}'`
|
||||
GROUPNAME=`grep :$GROUPID: /etc/group | awk -F : '{print $1}'`
|
||||
fi
|
||||
|
||||
LOG_FILENAME=`grep "log_file_main" /etc/utm5/rfw5.cfg | grep "=" | awk -F= '{print $2}'`
|
||||
if [ ! -f $LOG_FILENAME ] ; then
|
||||
mkdir -p `dirname $LOG_FILENAME`
|
||||
touch $LOG_FILENAME
|
||||
chown $USERNAME:$GROUPNAME $LOG_FILENAME
|
||||
fi
|
||||
|
||||
# Checking the possibility to write in log file.
|
||||
if ! `/bin/su $USERNAME -c "/bin/echo \">>>\" \`date\` Starting utm5_rfw. >> $LOG_FILENAME"`
|
||||
then
|
||||
eerror "Can not write into $LOG_FILENAME. Please check permitions."
|
||||
fi
|
||||
export LD_LIBRARY_PATH="/netup/utm5/lib"
|
||||
start-stop-daemon --start --quiet --background \
|
||||
--make-pidfile --pidfile /run/utm5_rfw.pid \
|
||||
--exec /netup/utm5/bin/utm5_rfw -- $ARGS -c /etc/utm5/rfw5.cfg
|
||||
eend $?
|
||||
}
|
||||
|
||||
stop() {
|
||||
ebegin "Stopping utm5_rfw"
|
||||
start-stop-daemon --stop --quiet --signal KILL --pidfile /run/utm5_rfw.pid
|
||||
eend $?
|
||||
}
|
||||
@@ -1,13 +0,0 @@
|
||||
# This is configuration file for /etc/init.d/utm5_rfw.
|
||||
|
||||
# Username we should start service from. If you do not know what to do just issue the commands:
|
||||
# groupadd rfw
|
||||
# useradd -g rfw rfw
|
||||
USERNAME="rfw"
|
||||
# Name of group, log file will be owned by. If not specified, will be primary group for rfw user.
|
||||
# GROUPNAME="users"
|
||||
|
||||
# You may add here additional parameters.
|
||||
# For example -f will issue rules for Connected users with the start of utm5_rfw.
|
||||
ARGS="-f"
|
||||
|
||||
@@ -1,9 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>admin@pinkbyte.ru</email>
|
||||
<name>Sergey Popov</name>
|
||||
</maintainer>
|
||||
<longdescription>NetUP UTM5 Billing System</longdescription>
|
||||
</pkgmetadata>
|
||||
@@ -1,96 +0,0 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit multilib pax-utils rpm
|
||||
|
||||
MAJOR_V=$(ver_cut 1-2)
|
||||
MINOR_V=$(ver_cut 4)
|
||||
|
||||
DESCRIPTION="NetUP UTM - universal billing system for Internet Service Providers"
|
||||
HOMEPAGE="https://www.netup.tv/en/utm5/"
|
||||
SRC_URI="${PN}-${MAJOR_V}.x86_64-centos6_x64(update${MINOR_V}).rpm"
|
||||
|
||||
LICENSE="NETUP"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
RESTRICT="fetch mirror strip"
|
||||
|
||||
RDEPEND="
|
||||
app-crypt/mit-krb5
|
||||
dev-db/postgresql:*
|
||||
dev-libs/libxml2:2
|
||||
dev-libs/libxslt
|
||||
net-misc/curl
|
||||
sys-libs/zlib
|
||||
virtual/mysql
|
||||
virtual/mailx
|
||||
"
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
pkg_nofetch() {
|
||||
einfo "Please download ${A} from:"
|
||||
einfo "http://www.netup.ru/"
|
||||
einfo "and move it to ${DISTDIR}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dodir /netup/utm5
|
||||
keepdir /netup/utm5/backup
|
||||
keepdir /netup/utm5/db
|
||||
keepdir /netup/utm5/log
|
||||
keepdir /netup/utm5/templates
|
||||
|
||||
insinto /etc/utm5
|
||||
pushd netup/utm5 &>/dev/null || die
|
||||
for conf in *.cfg
|
||||
do
|
||||
doins ${conf}
|
||||
rm ${conf} || die
|
||||
dosym /etc/utm5/${conf} /netup/utm5/${conf}
|
||||
done
|
||||
popd &>/dev/null
|
||||
# Preserve permissions! Replace with doins with care!
|
||||
cp -a netup "${D}" || die
|
||||
pax-mark -m "${D}/netup/utm5/bin/utm5_core"
|
||||
|
||||
# OpenSSL libraries(libssl.so.10 and libcrypto.so.10) should be fetched from CentOS 6. Current version in Gentoo is incompatible
|
||||
# Mysql library(libmysqlclient_r.so.16) should be fetched from CentOS 6. Current version in Gentoo is incompatible
|
||||
|
||||
doinitd "${FILESDIR}"/utm5_{core,radius,rfw}
|
||||
doconfd "${FILESDIR}"/utm5_rfw.conf
|
||||
|
||||
# Prune libtool files
|
||||
find "${D}" -name '*.la' -type f -delete || die
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
echo
|
||||
if [ -z "${REPLACING_VERSIONS}" ] ; then
|
||||
einfo "If this is your first instalation of utm5 please run:"
|
||||
einfo "mysqladmin create UTM5"
|
||||
einfo "mysql UTM5 < /netup/utm5/UTM5_MYSQL.sql"
|
||||
einfo "mysql UTM5 < your_reg_file.sql"
|
||||
einfo "to initialise mysql database. Or"
|
||||
einfo "createdb -U postgres UTM5"
|
||||
einfo "psql UTM5 < /netup/utm5/UTM5_MYSQL.sql"
|
||||
einfo "psql UTM5 < your_reg_file.sql"
|
||||
einfo "to initialise postgresql database."
|
||||
else
|
||||
einfo "Now, please, update your database with command"
|
||||
einfo "mysql -f UTM5 < /netup/utm5/UTM5_MYSQL_update.sql"
|
||||
einfo "if you are using mysql database or"
|
||||
einfo "psql -f /netup/utm5/UTM5_PG_update.sql UTM5"
|
||||
einfo "if you are using postgresql."
|
||||
einfo ""
|
||||
einfo "Please note. You need to update your UTM5_Admin.jar also."
|
||||
fi
|
||||
echo
|
||||
einfo "To start utm5_core automaticaly during booting you need to run:"
|
||||
einfo "rc-update add utm5_core default"
|
||||
echo
|
||||
ewarn "Note: Configuration files are in /etc/utm5"
|
||||
}
|
||||
@@ -1 +0,0 @@
|
||||
DIST wsdlpull-1.24.tar.gz 1080317 BLAKE2B bda290d836abfca1d5dc8817b0d714fdc89bc13148a6a2a609439e31776d0fcf4671194663a46c213dd235aa8ca265e555989139611dc2890371be23bf4f41a7 SHA512 8e79ca60a0c4a2ef94b162a18382dc10f62764c0a0e6db701a8e5a83eb11f9adb37a2b0d508971c5fe671997a211fcf8a0b7c9f47bbe4fbabdd486128265c3ab
|
||||
@@ -1,40 +0,0 @@
|
||||
--- a/Makefile.am 2013-09-25 17:35:08.835773000 +0400
|
||||
+++ b/Makefile.am 2013-09-25 17:35:34.407773000 +0400
|
||||
@@ -9,15 +9,12 @@
|
||||
src/config-h.in config/stamp-h.in
|
||||
|
||||
if EXAMPLES
|
||||
-SUBDIRS = src tests docs man win32 examples
|
||||
+SUBDIRS = src docs man win32 examples
|
||||
else
|
||||
-SUBDIRS = src tests docs man win32
|
||||
+SUBDIRS = src docs man win32
|
||||
endif
|
||||
|
||||
-docsdir = $(datadir)/wsdlpull
|
||||
-docs_DATA = wsdlpull.html README
|
||||
-
|
||||
-EXTRA_DIST = AUTHORS COPYING CHANGES $(docs_DATA)
|
||||
+EXTRA_DIST = AUTHORS COPYING CHANGES README
|
||||
|
||||
#pkginclude_HEADERS = src/config.h
|
||||
pkgincludedir= $(includedir)
|
||||
|
||||
--- a/src/xmlpull/Makefile.am 2021-04-28 10:58:15.452021204 +0300
|
||||
+++ b/src/xmlpull/Makefile.am 2021-04-28 10:58:25.003020502 +0300
|
||||
@@ -13,5 +13,5 @@
|
||||
libwsdlpullxml_la_LDFLAGS = -lpthread -version-info $(GENERIC_LIBRARY_VERSION)
|
||||
|
||||
pkginclude_HEADERS = $(xmlpull_h_sources)
|
||||
-pkgincludedir= $(includedir)/wsdlpull/xml
|
||||
+pkgincludedir= $(includedir)/wsdlpull/xmlpull
|
||||
|
||||
--- a/src/wsdlparser/Makefile.am 2021-04-28 11:00:45.428010184 +0300
|
||||
+++ b/src/wsdlparser/Makefile.am 2021-04-28 11:00:55.995009408 +0300
|
||||
@@ -15,5 +15,5 @@
|
||||
-version-info $(GENERIC_LIBRARY_VERSION)
|
||||
|
||||
# Header files to be exported
|
||||
-pkginclude_HEADERS = $(schema_h_sources)
|
||||
+pkginclude_HEADERS = $(schema_h_sources) $(wsdl_cc_sources)
|
||||
pkgincludedir= $(includedir)/wsdlpull/wsdlparser
|
||||
@@ -1,8 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>admin@pinkbyte.ru</email>
|
||||
<name>Sergey Popov</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
||||
@@ -1,45 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit autotools
|
||||
|
||||
DESCRIPTION="C++ web services client library and utilities"
|
||||
HOMEPAGE="http://wsdlpull.sourceforge.net"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
# examples have confusing names, so - not adding USE for them
|
||||
# also - do not use --disable-examples, as it is recognized as --enable-examples
|
||||
IUSE="doc static-libs"
|
||||
|
||||
RDEPEND="net-misc/curl"
|
||||
DEPEND="${RDEPEND}
|
||||
doc? ( app-doc/doxygen )"
|
||||
|
||||
src_prepare() {
|
||||
eapply "${FILESDIR}/${P}-buildsystem.patch"
|
||||
|
||||
if ! use doc; then
|
||||
sed -i -e '/SUBDIRS/s/docs //' Makefile.am || die
|
||||
fi
|
||||
|
||||
mv configure.in configure.ac || die
|
||||
rm -r config || die
|
||||
|
||||
eapply_user
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf $(use_enable static-libs static)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
find "${ED}" -name '*.la' -delete || die
|
||||
}
|
||||
Reference in New Issue
Block a user