tinyproxy: patch-comments added. truckle: slot-deps changed. swipl: old env removed.
This commit is contained in:
commit
522aad5ad3
9 changed files with 72 additions and 49 deletions
|
@ -1,4 +1,4 @@
|
||||||
summary=local
|
summary=DenKn: exhereses
|
||||||
homepage=nohomepage
|
homepage=https://github.com/DenisKnauf/exherbo-denkn
|
||||||
owner=Denis Knauf <Denis.Knauf@gmail.com>
|
owner=Denis Knauf <Denis.Knauf@gmail.com>
|
||||||
status=third-party
|
status=third-party
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
app-arch
|
app-arch
|
||||||
|
app-paludis
|
||||||
|
dev-lang
|
||||||
net-proxy
|
net-proxy
|
||||||
sys-fs
|
sys-fs
|
||||||
dev-lang
|
|
||||||
app-paludis
|
|
||||||
|
|
|
@ -15,7 +15,7 @@ src_compile() {
|
||||||
# Makefile says:
|
# Makefile says:
|
||||||
# # -DLONG_OFF_T The base type of off_t is a long, not a long long.
|
# # -DLONG_OFF_T The base type of off_t is a long, not a long long.
|
||||||
# # This is often defined in: /usr/include/sys/types.h
|
# # This is often defined in: /usr/include/sys/types.h
|
||||||
edo gcc -DLONG_OFF_T ${CFLAGS} ${LDFLAGS} -o pax *.c
|
edo $CC -DLONG_OFF_T ${CFLAGS} ${LDFLAGS} -o pax *.c
|
||||||
}
|
}
|
||||||
|
|
||||||
src_install() {
|
src_install() {
|
||||||
|
@ -23,3 +23,4 @@ src_install() {
|
||||||
doman pax.1
|
doman pax.1
|
||||||
emagicdocs
|
emagicdocs
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -8,15 +8,16 @@ SUMMARY="truckle - smart console cave wrapper"
|
||||||
|
|
||||||
LICENCES="GPL-2"
|
LICENCES="GPL-2"
|
||||||
SLOT="0"
|
SLOT="0"
|
||||||
PLATFORMS="~amd64"
|
PLATFORMS="~amd64 ~x86"
|
||||||
MYOPTIONS=""
|
MYOPTIONS=""
|
||||||
|
|
||||||
DEPENDENCIES="
|
DEPENDENCIES="
|
||||||
run:
|
run:
|
||||||
|
dev-lang/ruby:*[>=1.9]
|
||||||
sys-apps/paludis
|
sys-apps/paludis
|
||||||
dev-lang/ruby[>=1.9]
|
|
||||||
"
|
"
|
||||||
|
|
||||||
src_install() {
|
src_install() {
|
||||||
emake install PREFIX=/usr D=$IMAGE
|
emake install PREFIX=/usr D="${IMAGE}"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,24 +1,25 @@
|
||||||
# Copyright (c) 2012 Denis Knauf
|
# Copyright (c) 2012 Denis Knauf
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
AN="pl-${PV}"
|
AN=pl-${PV}
|
||||||
|
|
||||||
SUMMARY="SWI-Prolog offers a comprehensive Free Software Prolog environment"
|
SUMMARY="SWI-Prolog offers a comprehensive Free Software Prolog environment"
|
||||||
HOMEPAGE="http://www.swi-prolog.org/"
|
HOMEPAGE="http://www.swi-prolog.org/"
|
||||||
DOWNLOADS="http://www.swi-prolog.org/download/stable/src/${AN}.tar.gz"
|
DOWNLOADS="http://www.swi-prolog.org/download/stable/src/${AN}.tar.gz"
|
||||||
SLOT="0"
|
SLOT="0"
|
||||||
LICENCES="GPL-2 LGPL-2"
|
LICENCES="GPL-2 LGPL-2"
|
||||||
PLATFORMS="~x86 ~amd64"
|
PLATFORMS="~amd64 ~x86"
|
||||||
DEPENDENCIES=""
|
DEPENDENCIES=""
|
||||||
|
|
||||||
MYOPTIONS=""
|
MYOPTIONS=""
|
||||||
WORK="${WORKBASE}/${AN}"
|
WORK=${WORKBASE}/${AN}
|
||||||
|
|
||||||
src_configure() {
|
src_configure() {
|
||||||
econf --libdir="${LIBDIR}"
|
econf --libdir="/usr/${LIBDIR}"
|
||||||
}
|
}
|
||||||
|
|
||||||
src_install() {
|
src_install() {
|
||||||
keepdir /usr/lib/swipl-${PV}/library/dialect/ifprolog
|
keepdir /usr/${LIBDIR}/swipl-${PV}/library/dialect/ifprolog
|
||||||
default
|
default
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
15
packages/net-proxy/tinyproxy/files/systemd.patch
Normal file
15
packages/net-proxy/tinyproxy/files/systemd.patch
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
Systemd wants all pidfiles in /run. This patch will patch the config-file,
|
||||||
|
so systemd gets his pid-file at the right place.
|
||||||
|
--- a/etc/tinyproxy.conf.in 2010-03-03 10:37:24.000000000 +0100
|
||||||
|
+++ b/etc/tinyproxy.conf.in 2013-03-09 15:34:41.072135782 +0100
|
||||||
|
@@ -123,7 +123,11 @@
|
||||||
|
# can be used for signalling purposes.
|
||||||
|
#
|
||||||
|
#PidFile "@localstatedir@/run/tinyproxy/tinyproxy.pid"
|
||||||
|
+#
|
||||||
|
+# systemd wants all pidfiles in /run.
|
||||||
|
+# Do not change the following line:
|
||||||
|
+PidFile "/run/tinyproxy/tinyproxy.pid"
|
||||||
|
|
||||||
|
#
|
||||||
|
# XTinyproxy: Tell Tinyproxy to include the X-Tinyproxy header, which
|
14
packages/net-proxy/tinyproxy/files/user.patch
Normal file
14
packages/net-proxy/tinyproxy/files/user.patch
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
tinyproxy will run as user tinyproxy, not nobody.
|
||||||
|
--- a/etc/tinyproxy.conf.in 2010-03-03 10:37:24.000000000 +0100
|
||||||
|
+++ b/etc/tinyproxy.conf.in 2013-03-09 15:34:41.072135782 +0100
|
||||||
|
@@ -12,8 +12,8 @@
|
||||||
|
# as the root user. Either the user or group name or the UID or GID
|
||||||
|
# number may be used.
|
||||||
|
#
|
||||||
|
-User nobody
|
||||||
|
-Group nobody
|
||||||
|
+User tinyproxy
|
||||||
|
+Group tinyproxy
|
||||||
|
|
||||||
|
#
|
||||||
|
# Port: Specify the port which tinyproxy will listen on. Please note
|
|
@ -10,9 +10,9 @@ SLOT="0"
|
||||||
LICENCES="GPL-2"
|
LICENCES="GPL-2"
|
||||||
PLATFORMS="~amd64 ~x86"
|
PLATFORMS="~amd64 ~x86"
|
||||||
DEPENDENCIES="
|
DEPENDENCIES="
|
||||||
|
app-doc/asciidoc
|
||||||
group/tinyproxy
|
group/tinyproxy
|
||||||
user/tinyproxy
|
user/tinyproxy
|
||||||
app-doc/asciidoc
|
|
||||||
"
|
"
|
||||||
# PID-file will be created in /var/run, but /var/run is a link to /run.
|
# PID-file will be created in /var/run, but /var/run is a link to /run.
|
||||||
# in future, tinyproxy needs an other config, that it uses /run.
|
# in future, tinyproxy needs an other config, that it uses /run.
|
||||||
|
@ -21,22 +21,8 @@ DEFAULT_SRC_CONFIGURE_PARAMS="--localstatedir=/var"
|
||||||
MYOPTIONS="systemd"
|
MYOPTIONS="systemd"
|
||||||
|
|
||||||
src_prepare() {
|
src_prepare() {
|
||||||
c="etc/tinyproxy.conf.in"
|
option systemd && expatch "${FILES}/systemd.patch"
|
||||||
b="${c}.bk"
|
expatch "${FILES}/user.patch"
|
||||||
if option systemd
|
|
||||||
then
|
|
||||||
sed -e 's,^#PidFile.*,&\
|
|
||||||
#\
|
|
||||||
# systemd wants all pidfiles in /run.\
|
|
||||||
# Do not change the following line:\
|
|
||||||
PidFile "/run/tinyproxy/tinyproxy.pid",'
|
|
||||||
else
|
|
||||||
cat
|
|
||||||
fi < "${c}" > "${b}"
|
|
||||||
sed \
|
|
||||||
-e 's/^User nobody/User tinyproxy/' \
|
|
||||||
-e 's/^Group nobody/Group tinyproxy/' \
|
|
||||||
< "${b}" > "${c}"
|
|
||||||
}
|
}
|
||||||
|
|
||||||
src_install() {
|
src_install() {
|
||||||
|
@ -51,3 +37,4 @@ d /run/tinyproxy 0770 tinyproxy tinyproxy
|
||||||
EOF
|
EOF
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -6,7 +6,11 @@ HOMEPAGE="http://oss.sgi.com/projects/xfs"
|
||||||
DOWNLOADS="ftp://oss.sgi.com/projects/xfs/cmd_tars/${PNV}.tar.gz"
|
DOWNLOADS="ftp://oss.sgi.com/projects/xfs/cmd_tars/${PNV}.tar.gz"
|
||||||
SLOT="0"
|
SLOT="0"
|
||||||
LICENCES="GPL-2"
|
LICENCES="GPL-2"
|
||||||
PLATFORMS="~x86 ~amd64"
|
PLATFORMS="~amd64 ~x86"
|
||||||
MYOPTIONS=""
|
MYOPTIONS=""
|
||||||
DEPENDENCIES="build+run: sys-fs/xfsprogs"
|
DEPENDENCIES="
|
||||||
|
build+run:
|
||||||
|
sys-fs/xfsprogs
|
||||||
|
"
|
||||||
DEFAULT_SRC_INSTALL_PARAMS+=( DIST_ROOT="${IMAGE}" )
|
DEFAULT_SRC_INSTALL_PARAMS+=( DIST_ROOT="${IMAGE}" )
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue