mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 17:09:10 -07:00
net-misc/ser: Remove last-rited pkg, #610454
This commit is contained in:
@@ -1,5 +0,0 @@
|
||||
DIST ethz-1.0-ser-0.9.0.tar.gz 5266 SHA256 0d019caf9e19a51387f95dd511c1930ca8b521a8e9df4fdc042caa8678c371ea SHA512 d232b806c35f61e6336d855209d8fc306713910e18d768512267f557f8973e20e5042aa255b5650b7cd5de8a88aaf0e6c9277bf8cfc4a7b36febf67538ca4262 WHIRLPOOL baa7e9ec378182cdc7f15b711fe9b5e9fd078e9eaa58f0eea1d8a3d721b2e1c6b23f3374366b2988824403568a5f3ab12ba773a8d72fb8536c156131a3aa74e3
|
||||
DIST ldap-1.0-ser-0.9.0.tar.gz 5069 SHA256 244817715cf26411820a45c5197346fe4d39407f64b2d05d81bfcf4117ca02b2 SHA512 898abee7480da1bf9edaa616312e00cfab2068ec2498e61b12daf95088f47eb97f67eddbc999b3021c7b557a0c7088d9cb30a3da09125153a0a253f26d0e16ab WHIRLPOOL fb5d682880af1a0fa7cf7b6d7004698a4b30a82d8db1d1cb0ec7ff93afabc5e6a0fb67c93ce96f4a183b759dedf9e851b9461b31dc9049adc4af0750435a0d53
|
||||
DIST ldaps-1.0-ser-0.9.0.tar.gz 5051 SHA256 83e8e54423969dc72a71c71a22c59d4a1e4fe29aa1b886e68acf98d45a8c5126 SHA512 a5bcfcf293b4301afd5ab6f4f9fd4c030dbc4e2c496fda83bdb1851c6ad737b81d825729e0faf82005551e04ccb691aeea6ef7d683d125dd154b4496142efcb0 WHIRLPOOL b7e6de57fe0dd7c66fffadfb2ddb1f5eae73bad4cf7ac39bdd776a9065982420143ac0771b61a338dc468399b0db426f33530a95ee7a443f0be51a113f19747b
|
||||
DIST ser-0.9.7_src.tar.gz 1888122 SHA256 0fbbfd70d3e4b48665f7ae3ca0045a1421d3e1255ef8fc04b8fbe8168fb4e56f SHA512 45c084987c00722ca63a6eef1fe5c9051bff751123494d1add4003aab46c470be1ff31a7d3c420acf5d9868e69a0d94e13abdd145d75488ed41aa70d1c7d895f WHIRLPOOL e6e9d26a77d9434816161bb9c57963b8a4a8fdb740d60bb4f392468376390788738c04b5ccc280dfec06e244ab6909032ba35d1363396e0d15a0df0b4f4622eb
|
||||
DIST silomail-1.0-ser-0.9.0.tar.gz 4762 SHA256 18d60d987246d4b188e8c2b78d721a43e61eb8c50402b19352edada2d2f98826 SHA512 e23a71b0bcfe6be541b51ec92cdcd446cc32a281924f41041762ff6851001379dbd9b948a0370f3d855dfeb64adc2d14348012f9dbc6790831b9b4eb2c8110ac WHIRLPOOL 8a42bdc307c9110f606ea605ada56065b71ff488944e6db57831440ad3f8fa9542835c02087cac6c544f1f8492b046d90f605222d6e5c23e5e121bf11d426cdb
|
||||
@@ -1,14 +0,0 @@
|
||||
--- Makefile.orig 2005-06-12 04:07:56.000000000 +0200
|
||||
+++ Makefile 2005-06-12 04:08:02.000000000 +0200
|
||||
@@ -12,11 +12,3 @@
|
||||
CFLAGS=-Wall
|
||||
|
||||
include ../../Makefile.modules
|
||||
-
|
||||
-
|
||||
-install:
|
||||
- -serctl stop
|
||||
- -mv /usr/local/lib/ser/modules/ethz.so /usr/local/lib/ser/modules/ethz.so.OLD
|
||||
- rm -f /usr/local/lib/ser/modules/ethz.so
|
||||
- cp ethz.so /usr/local/lib/ser/modules
|
||||
- -serctl start
|
||||
@@ -1,13 +0,0 @@
|
||||
--- Makefile.orig 2005-06-12 04:06:33.000000000 +0200
|
||||
+++ Makefile 2005-06-12 04:06:39.000000000 +0200
|
||||
@@ -12,10 +12,3 @@
|
||||
CFLAGS=-Wall -g
|
||||
|
||||
include ../../Makefile.modules
|
||||
-
|
||||
-
|
||||
-install:
|
||||
- -serctl stop
|
||||
- rm -f /usr/local/lib/ser/modules/ldap.so
|
||||
- cp ldap.so /usr/local/lib/ser/modules
|
||||
- -serctl start
|
||||
@@ -1,17 +0,0 @@
|
||||
--- Makefile.orig 2005-06-12 04:07:28.000000000 +0200
|
||||
+++ Makefile 2005-06-12 04:07:35.000000000 +0200
|
||||
@@ -12,14 +12,3 @@
|
||||
CFLAGS=-Wall
|
||||
|
||||
include ../../Makefile.modules
|
||||
-
|
||||
-
|
||||
-install:
|
||||
- -serctl stop
|
||||
- rm -f /usr/local/lib/ser/modules/ldaps.so
|
||||
- cp ldaps.so /usr/local/lib/ser/modules
|
||||
- -serctl start
|
||||
-
|
||||
-clean:
|
||||
- rm -f *.c~ *.o *.d ldaps.so
|
||||
-
|
||||
@@ -1,11 +0,0 @@
|
||||
--- ser-0.9.7/modules/ldap/Makefile.orig 2008-01-09 00:52:06.000000000 +0100
|
||||
+++ ser-0.9.7/modules/ldap/Makefile 2008-01-09 00:52:13.000000000 +0100
|
||||
@@ -8,7 +8,7 @@
|
||||
include ../../Makefile.defs
|
||||
auto_gen=
|
||||
NAME=ldap.so
|
||||
-LIBS=-lssl -lsasl -lcrypto -lcrypt -lldap -llber
|
||||
+LIBS=-lssl -lsasl2 -lcrypto -lcrypt -lldap -llber
|
||||
CFLAGS=-Wall -g
|
||||
|
||||
include ../../Makefile.modules
|
||||
@@ -1,11 +0,0 @@
|
||||
--- ser-0.9.7/modules/ldaps/Makefile.orig 2008-01-09 00:52:18.000000000 +0100
|
||||
+++ ser-0.9.7/modules/ldaps/Makefile 2008-01-09 00:52:24.000000000 +0100
|
||||
@@ -8,7 +8,7 @@
|
||||
include ../../Makefile.defs
|
||||
auto_gen=
|
||||
NAME=ldaps.so
|
||||
-LIBS=-lssl -lsasl -lcrypto -lcrypt -lldap -llber
|
||||
+LIBS=-lssl -lsasl2 -lcrypto -lcrypt -lldap -llber
|
||||
CFLAGS=-Wall
|
||||
|
||||
include ../../Makefile.modules
|
||||
@@ -1,11 +0,0 @@
|
||||
--- modules/acc/Makefile.orig 2007-07-02 01:42:09.000000000 +0200
|
||||
+++ modules/acc/Makefile 2005-09-07 18:23:00.000000000 +0200
|
||||
@@ -13,7 +13,7 @@
|
||||
LIBS=
|
||||
|
||||
# uncomment the next line if you wish to enable SQL accounting
|
||||
-#DEFS+=-DSQL_ACC
|
||||
+DEFS+=-DSQL_ACC
|
||||
|
||||
# uncomment the next two lines if you wish to enable RADIUS accounting
|
||||
#DEFS+=-DRAD_ACC
|
||||
@@ -1,13 +0,0 @@
|
||||
--- modules/acc/Makefile.orig 2007-07-02 01:42:31.000000000 +0200
|
||||
+++ modules/acc/Makefile 2005-09-07 18:23:00.000000000 +0200
|
||||
@@ -16,8 +16,8 @@
|
||||
#DEFS+=-DSQL_ACC
|
||||
|
||||
# uncomment the next two lines if you wish to enable RADIUS accounting
|
||||
-#DEFS+=-DRAD_ACC
|
||||
-#include ../../Makefile.radius
|
||||
+DEFS+=-DRAD_ACC
|
||||
+include ../../Makefile.radius
|
||||
|
||||
# uncomment the next two lines if you wish to enable DIAMETER accounting
|
||||
#DEFS+=-DDIAM_ACC
|
||||
@@ -1,10 +0,0 @@
|
||||
# Copyright 1999-2004 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
# Additional options to start SER with
|
||||
#
|
||||
# see "ser -h" for a list of options
|
||||
#
|
||||
# default: run SER as user:group = ser:ser
|
||||
#
|
||||
SER_OPTS="-u ser -g ser -f /etc/ser/ser.cfg"
|
||||
@@ -1,21 +0,0 @@
|
||||
#!/sbin/openrc-run
|
||||
# Copyright 2002 Frauenhofer Gesellschaft FOKUS, Germany.
|
||||
# Distributed under the terms of the GNU General Public License, v2 or later
|
||||
|
||||
depend() {
|
||||
need net
|
||||
}
|
||||
|
||||
start() {
|
||||
ebegin "Starting ser"
|
||||
start-stop-daemon --start --quiet --pidfile /var/run/ser.pid \
|
||||
--exec /usr/sbin/ser -- ${SER_OPTS} -P /var/run/ser.pid
|
||||
eend $?
|
||||
}
|
||||
|
||||
stop() {
|
||||
ebegin "Stopping ser"
|
||||
start-stop-daemon --stop --quiet --pidfile /var/run/ser.pid
|
||||
eend $?
|
||||
}
|
||||
|
||||
@@ -1,13 +0,0 @@
|
||||
--- Makefile.orig 2005-06-12 04:08:24.000000000 +0200
|
||||
+++ Makefile 2005-06-12 04:08:29.000000000 +0200
|
||||
@@ -12,10 +12,3 @@
|
||||
CFLAGS=-Wall -g
|
||||
|
||||
include ../../Makefile.modules
|
||||
-
|
||||
-
|
||||
-install:
|
||||
- -serctl stop
|
||||
- rm -f /usr/local/lib/ser/modules/silomail.so
|
||||
- cp silomail.so /usr/local/lib/ser/modules
|
||||
- -serctl start
|
||||
@@ -1,5 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<!-- maintainer-needed -->
|
||||
</pkgmetadata>
|
||||
@@ -1,177 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils flag-o-matic multilib toolchain-funcs user
|
||||
|
||||
ETHZ_PV="1.0"
|
||||
LDAP_PV="1.0"
|
||||
LDAPS_PV="1.0"
|
||||
SILOMAIL_PV="1.0"
|
||||
MODULES_PV="0.9.0"
|
||||
|
||||
DESCRIPTION="SIP Express Router"
|
||||
HOMEPAGE="http://www.iptel.org/ser"
|
||||
SRC_URI="
|
||||
http://ftp.iptel.org/pub/ser/${PV}/src/${P}_src.tar.gz
|
||||
mirror://gentoo/silomail-${SILOMAIL_PV}-${PN}-${MODULES_PV}.tar.gz
|
||||
mirror://gentoo/ethz-${ETHZ_PV}-${PN}-${MODULES_PV}.tar.gz
|
||||
ldap? (
|
||||
mirror://gentoo/ldap-${LDAP_PV}-${PN}-${MODULES_PV}.tar.gz
|
||||
mirror://gentoo/ldaps-${LDAPS_PV}-${PN}-${MODULES_PV}.tar.gz
|
||||
)"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="GPL-2"
|
||||
KEYWORDS="~amd64 ~ppc ~sparc x86"
|
||||
IUSE="ipv6 mysql radius postgres xmpp ldap ssl"
|
||||
|
||||
RDEPEND="
|
||||
mysql? ( virtual/mysql )
|
||||
radius? ( >=net-dialup/radiusclient-ng-0.5.0 )
|
||||
postgres? ( dev-db/postgresql:=[server] )
|
||||
xmpp? ( dev-libs/expat )
|
||||
ldap? (
|
||||
net-nds/openldap
|
||||
ssl? ( dev-libs/openssl:0= )
|
||||
)"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
>=sys-devel/bison-1.35
|
||||
>=sys-devel/flex-2.5.4a"
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup ser
|
||||
enewuser ser -1 -1 /dev/null ser
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
local modules extmodules MY_A MY_PATCH_A x
|
||||
use ipv6 || \
|
||||
sed -i -e "s/-DUSE_IPV6//g" Makefile.defs || die
|
||||
sed -i -e 's/\(CFLAGS+=-mcpu=ultrasparc\) -minline-all-stringops/\1/g' \
|
||||
Makefile.defs || die #157109
|
||||
|
||||
# external modules
|
||||
extmodules="silomail ethz"
|
||||
|
||||
if use mysql; then
|
||||
modules="${modules} mysql"
|
||||
epatch "${FILESDIR}/${P}-mysql.diff"
|
||||
fi
|
||||
|
||||
if use radius; then
|
||||
modules="${modules} auth_radius group_radius uri_radius avp_radius"
|
||||
epatch "${FILESDIR}/${P}-radius.diff"
|
||||
fi
|
||||
|
||||
use xmpp && \
|
||||
modules="${modules} jabber"
|
||||
|
||||
use postgres && \
|
||||
modules="${modules} postgres"
|
||||
|
||||
use ldap && \
|
||||
extmodules="${extmodules} ldap"
|
||||
|
||||
use ldap && use ssl && \
|
||||
extmodules="${extmodules} ldaps"
|
||||
|
||||
# put list of modules into Makefile, we need the list
|
||||
# during compile and install phase...
|
||||
sed -i -e "s:^\(include_modules.*\):\1 ${modules} ${extmodules}:" \
|
||||
Makefile || die
|
||||
|
||||
# fix ser.cfg
|
||||
sed -i -e "/force_send_socket(smaug:5080);/ d" \
|
||||
etc/ser.cfg || die
|
||||
|
||||
# unpack external modules
|
||||
# ugly i know...
|
||||
for x in ${extmodules}; do
|
||||
MY_A=$(eval echo ${x}-\${$(echo ${x} | tr "[:lower:]" "[:upper:]")_PV}-${PN}-${MODULES_PV})
|
||||
MY_PATCH_A="${P}-extmod-${x}"
|
||||
mkdir -p "${S}"/modules/${x} || die
|
||||
cd "${S}"/modules/${x} || die
|
||||
unpack ${MY_A}.tar.gz
|
||||
# fix makefiles
|
||||
if [[ -f "${FILESDIR}"/${MY_A}.diff ]]; then
|
||||
epatch "${FILESDIR}"/${MY_A}.diff
|
||||
fi
|
||||
|
||||
# additional patches
|
||||
if [[ -f "${FILESDIR}"/${MY_PATCH_A}.diff ]]; then
|
||||
epatch "${FILESDIR}"/${MY_PATCH_A}.diff
|
||||
fi
|
||||
done
|
||||
|
||||
# remove sasl if openldap hasn't been built with it
|
||||
if use ldap && ! built_with_use net-nds/openldap sasl; then
|
||||
sed -i -e "s:-lsasl::g" \
|
||||
"${S}"/modules/ldap/Makefile || die
|
||||
|
||||
if use ssl; then
|
||||
sed -i -e "s:-lsasl::g" \
|
||||
"${S}"/modules/ldaps/Makefile || die
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# add -fPIC
|
||||
append-flags -fPIC
|
||||
|
||||
emake all \
|
||||
CC="`tc-getCC`" \
|
||||
CFLAGS="${CFLAGS}" \
|
||||
cfg-prefix=/ \
|
||||
cfg-target=/etc/ser/
|
||||
}
|
||||
|
||||
src_install () {
|
||||
emake install \
|
||||
prefix="" \
|
||||
bin-prefix="${D}"/usr/sbin \
|
||||
bin-dir="" \
|
||||
cfg-prefix="${D}"/etc \
|
||||
cfg-dir=ser/ \
|
||||
cfg-target=/etc/ser/ \
|
||||
modules-prefix="${D}"/usr/$(get_libdir)/ser \
|
||||
modules-dir=modules \
|
||||
modules-target=/usr/$(get_libdir)/ser/modules/ \
|
||||
man-prefix="${D}"/usr/share/man \
|
||||
man-dir="" \
|
||||
doc-prefix="${D}"/usr/share/doc \
|
||||
doc-dir="${P}"
|
||||
|
||||
newinitd "${FILESDIR}"/ser.rc6 ser
|
||||
newconfd "${FILESDIR}"/ser.confd ser
|
||||
newsbin scripts/harv_ser.sh harv_ser.sh
|
||||
newsbin scripts/sc serctl
|
||||
newsbin scripts/ser_mysql.sh ser_mysql.sh
|
||||
|
||||
chown -R root:ser "${D}"/etc/ser || die
|
||||
chmod 750 "${D}"/etc/ser || die
|
||||
chmod 640 "${D}"/etc/ser/* || die
|
||||
|
||||
# fix manpages
|
||||
sed -i -e "s:^.B /ser-${PV}AUTHORS:.B /usr/share/doc/${PF}/AUTHORS:" \
|
||||
-e "s:^.B /ser:.B /usr/sbin/ser:" \
|
||||
"${D}"/usr/share/man/*/* || die
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
has_version "${CATEGORY}/${PN}"
|
||||
previous_installed_version=$?
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [[ $previous_installed_version = 0 ]] ; then
|
||||
einfo "Changing permissions on ${ROOT}etc/ser"
|
||||
|
||||
chown -R root:ser "${ROOT}"/etc/ser
|
||||
chmod 750 "${ROOT}"/etc/ser
|
||||
chmod 640 "${ROOT}"/etc/ser/*
|
||||
fi
|
||||
}
|
||||
@@ -276,13 +276,6 @@ media-sound/pianobooster
|
||||
# Removal in 30 days. Bug #610490.
|
||||
x11-libs/libxsettings-client
|
||||
|
||||
# Michał Górny <mgorny@gentoo.org> (05 Jun 2017)
|
||||
# (on behalf of Treecleaner project)
|
||||
# Unmaintained in Gentoo, awfully old version. Uses obsolete
|
||||
# built_with_use.
|
||||
# Removal in 30 days. Bug #610454.
|
||||
net-misc/ser
|
||||
|
||||
# Michał Górny <mgorny@gentoo.org> (05 Jun 2017)
|
||||
# (on behalf of Treecleaner project)
|
||||
# Unmaintained in Gentoo. The current Gentoo version no longer builds.
|
||||
|
||||
Reference in New Issue
Block a user