Drop merged packages

This commit is contained in:
nemunaire 2018-03-01 03:10:37 +01:00
parent 12310ca65d
commit c34ed50175
43 changed files with 0 additions and 1872 deletions

View File

@ -1,4 +0,0 @@
AUX 50-mooltipass.rule 84 SHA256 82e6af786f2ac972a4dc026d092ad3d0c8d5ecde791996e399a2a8a23e4333d0 SHA512 26f8a9f2c5fb2f3a87a486f91d5fae7069955dc528eacb8a37a833d393be38b70e3a9784024287cdfeb93a90abad83400395bb803e82a091100bd44cb7b2c28d WHIRLPOOL 1956cc3bca8bbcf2161a6f3ebd6025faed18fd7be3a842370b27948b13da27a3c8fb0138a656b3355cde44b6a5abed65f6b6f4c7c73d04d22917d1ccd105a69b
AUX moolticuted.init 400 SHA256 efbc4277a49b9f7005b058a4a0f24b59cd62d5e066c87e5ecc1c2088a5e20c0b SHA512 0f393b6921c8ea4ea7651237122186d4b9b4f639ee66ea1edc81e6ed26f31682b4a4e63af0328d18eb0bf635f6ae4a3ace58ebd488132898be0970b0b85fe0e5 WHIRLPOOL f76fba68598aae3388c2e08d4d06382018c6ba8e9ad386e919f260364fd641fcbcff9e3c843702e2300936f24ed4a6a40450d555cf5238c5f4f492c94ca9e0f2
EBUILD moolticute-9999.ebuild 1302 SHA256 4e7c888ffd0d991a8bbf5af20bbc48b76013347e01d53369bcb2bbca3385de2c SHA512 f1f7b952c3f9c6be9454ea71ae6b74840476faa728cc35f83de06bee39d6aa5f1adf790393bdf095020e9221da1a0f5d716db19efc3603957469dd87818480c9 WHIRLPOOL 60fc699663c1be2ee203b43f1d83cebf98555046b1c9aa2cd1764e09e5ff4af3895c5d4bf17b29912c3911fb3ccec658410f83d1e4d3ffc2c25f65ab4e9c9b2b
MISC metadata.xml 522 SHA256 918331854b3e9d97086f0d5dc7981dd556fa6c341d7d4de027fe5c0affa814b9 SHA512 a08a366830b4fa1cc03a49d0e8af159908a9d5d13e9a4e8e910fd133671da66893010707cfafd1c3548899a54e610e249085583def235bb8e3b32862d960dd45 WHIRLPOOL 80033ebbea02e82fc40c709e4ed6755d6a89ea34b7c2f51b2ab00b75a41650273c34c477c7d14548f732762045f32c818799b3e4f87eee63af596f43cc5715f9

View File

@ -1 +0,0 @@
SUBSYSTEM=="usb", ATTRS{idVendor}=="16d0", ATTRS{idProduct}=="09a0", TAG+="uaccess"

View File

@ -1,18 +0,0 @@
#!/sbin/openrc-run
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
command=/usr/bin/moolticuted
command_args=""
pidfile=/var/run/moolticuted.pid
depend() {
need local udev
}
start() {
ebegin "Starting moolticuted"
start-stop-daemon --start --background \
--make-pidfile --pidfile $pidfile --exec $command -- $command_args
eend $?
}

View File

@ -1,16 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>nemunaire@nemunai.re</email>
<name>Pierre-Olivier Mercier</name>
</maintainer>
<maintainer type="project">
<email>proxy-maint@gentoo.org</email>
<name>Proxy Maintainers</name>
</maintainer>
<upstream>
<remote-id type="github">raoulh/moolticute</remote-id>
<bugs-to>https://github.com/raoulh/moolticute/issues</bugs-to>
</upstream>
</pkgmetadata>

View File

@ -1,66 +0,0 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
if [[ ${PV} == 9999* ]]; then
EGIT_REPO_URI="https://github.com/raoulh/moolticute.git"
inherit git-r3
KEYWORDS=""
else
SRC_URI="https://github.com/raoulh/moolticute/archive/v${PV/_/-}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64 ~arm"
fi
inherit gnome2-utils qmake-utils udev
DESCRIPTION="Mooltipass crossplatform daemon/tools"
HOMEPAGE="https://github.com/raoulh/moolticute"
LICENSE="GPL-3"
SLOT="0"
IUSE=""
RDEPEND="
>=dev-libs/libusb-1.0.20
>=dev-qt/qtcore-5.6:5
dev-qt/qtgui:5
dev-qt/qtnetwork:5
dev-qt/qttest:5
dev-qt/qtwebsockets:5
dev-qt/qtwidgets:5
"
DEPEND="${RDEPEND}"
S="${WORKDIR}/${P/_/-}"
src_prepare() {
default
# Fill version.h with package version
if [[ ${PV} != 9999* ]]; then
sed -i "s/\"git\"/\"${PV/_/-} (Gentoo)\"/" src/version.h
else
sed -i "s/\"git\"/\"git commit $(git log -1 --format=%h) (Gentoo)\"/" src/version.h
fi
}
src_configure() {
eqmake5 PREFIX="/usr" Moolticute.pro
}
src_install() {
emake install INSTALL_ROOT="${D}"
udev_dorules "${FILESDIR}/50-mooltipass.rule"
newinitd "${FILESDIR}/moolticuted.init" moolticuted
}
pkg_postinst() {
udev_reload
gnome2_icon_cache_update
}
pkg_postrm() {
gnome2_icon_cache_update
}

View File

@ -1,14 +0,0 @@
AUX 0001-cmake-CXX-not-found.patch 484 SHA256 d8037b2140393c70d12bdc397572c5ce0834f9c0ad2b74853f8cba2aa1dffa70 SHA512 6452b2d211e15cc7bff576e9911d690f588c797039aeb0d3d01af5a7c9b1b9a4913580ef059c2ec3f968bbdf14d347bac8bba16271dfaa4867e35f40cd125562 WHIRLPOOL 0ff49b417983fcaa4d301e8ae3618a3e38673295d648bb93549615e6f402bbfb8ac396decec63a3dd174f664fb4baca5c490f2db5da9324a087f1142eba73692
DIST nitrokey-app-1.2.1-cppcodec.tar.gz 25989 SHA256 80c2f0ebc0da7186386f525d798bad0eaf14837c9548d86060b503751193b010 SHA512 b7a6b15692d7bd5b6f42993502ca78464a358ddc061f51c08db823c0e1507d331739559c7fa546adf193e459e57ade31658907e63cbd853c3f5936bf5a2919c6 WHIRLPOOL f982c8c7a49db18a03fa321eddf4e78f5d43a5d923299db6725821f750baa8427146845f9cc15d737972fd8ecd3efffe5194a76b33e5e65f7243aff2d1ea8ac9
DIST nitrokey-app-1.2.1-libnitrokey.tar.gz 69238 SHA256 6a3eaa4faefc70e1f187595798cbc11083da1ecde0418af2577edaea7616b42b SHA512 e55b365b76f1b9fcf570d66d7b2ef7be45938811cb5c5b66a38ab492f373117ee345b1e5e158d883cb3e924b7d78bbf0972852e9fb38e3921354508bdde8bc9e WHIRLPOOL 7e6e1c29a333381a29cbea6e76bcdecf87944825227a73528179d8b01a5dbb2a0e42bd464903f72d4789976d22de6e5fa3cd8a3159c2db378a0324603672c483
DIST nitrokey-app-1.2.1.tar.gz 1122737 SHA256 838c5fcde4294799ab33b268bf165ea7068688372cd1c6689edff337d811ee3a SHA512 2dc8038adc6cdec439fb2b2f3d07e8090b56ee293f9366f54512c57ada268591d704f73cf48744a3e4bc73a621aae84d02d72741c22a868d34332e2e6aca7e58 WHIRLPOOL d8ad75326bbba032043fba84bf307311fc5aba9fba50e2dfffd1db60783340214a421d4ad706c82e9fa527a56c7b4e072498dd0da8a2a61a2f8708942043189b
DIST nitrokey-app-1.2_beta2-cppcodec.tar.gz 25989 SHA256 80c2f0ebc0da7186386f525d798bad0eaf14837c9548d86060b503751193b010 SHA512 b7a6b15692d7bd5b6f42993502ca78464a358ddc061f51c08db823c0e1507d331739559c7fa546adf193e459e57ade31658907e63cbd853c3f5936bf5a2919c6 WHIRLPOOL f982c8c7a49db18a03fa321eddf4e78f5d43a5d923299db6725821f750baa8427146845f9cc15d737972fd8ecd3efffe5194a76b33e5e65f7243aff2d1ea8ac9
DIST nitrokey-app-1.2_beta2-libnitrokey.tar.gz 65040 SHA256 acbc4a27cd92d660e44f4f7d9d4b2129ce010e0f5b2deb01a4ffda93c4b6c334 SHA512 f69a60af87e183d027c220a57bd3e937476ad3e4ef857a67d3c211339f09f55b0c3cbe2d73b4774a857b6d690cb8effbf55a16c7fcdf7950d27a3d165a4170ef WHIRLPOOL e8cfe790bbf2752eb334deb0b24243788756c24becc87a7d47a4b5e6e254e1352cae50a21438cd30011c5e5c4635ec24d059ea5682d5b0c8c01f716705ef8c67
DIST nitrokey-app-1.2_beta2.tar.gz 975807 SHA256 df5aac71d7dd81bd2b0bfb71da8cbd516d6e665136d1aae3028187a6bb9d6bd7 SHA512 516b25a8edf7f2c61e23ddb720646dfe34044d566f66f1c03a82152bfadf7f81c33778838247bc8e05aafb19233f8e9545e38aa1ef905b95d51efc519a39ddc1 WHIRLPOOL 234bf6721e05bb074edf814c5862ed331db20cf318814fdd0b9792834a086cc805fcaa4d32582530dc9672f66a464aba1ce44839bc54a1d12a37868a9127e686
DIST nitrokey-app-1.2_beta3-cppcodec.tar.gz 25989 SHA256 80c2f0ebc0da7186386f525d798bad0eaf14837c9548d86060b503751193b010 SHA512 b7a6b15692d7bd5b6f42993502ca78464a358ddc061f51c08db823c0e1507d331739559c7fa546adf193e459e57ade31658907e63cbd853c3f5936bf5a2919c6 WHIRLPOOL f982c8c7a49db18a03fa321eddf4e78f5d43a5d923299db6725821f750baa8427146845f9cc15d737972fd8ecd3efffe5194a76b33e5e65f7243aff2d1ea8ac9
DIST nitrokey-app-1.2_beta3-libnitrokey.tar.gz 68551 SHA256 921bfa00f60a9adeb500f8551f2f9dad599efb7a918658e1ee62a8e88818a513 SHA512 43ec2647473d4caa20c777266da2c4253b5995442cf73e2556b38b837d5a5f5b7ecfeeb6906eeee844c299e17234ca62902873b394c4f465c9b83d609d49d94c WHIRLPOOL fe6992d63323518cd5379114dacf2fb3c09004a2e938b907b8dfa7015927583653256bf02ce41628a98561baf77f05f2f66de4f40975ecdc87dfced0e7d4192a
DIST nitrokey-app-1.2_beta3.tar.gz 975800 SHA256 2ed32321adb076a7bd1c5422ed5fa8e3d1e2730d7ec106d5769a9e5ea0d3f0ca SHA512 86b3e654ab330844a694901d902c4ba8ef931d487e5b80fe52bc938836faf6251c20ebfd4074f26f5df2e731577c199746200d7d32aa06ea1a9ae1dac450b26e WHIRLPOOL 270770151b9cb6c60e512547c3c72a17230562d11e072e6dbbeb4980972eee19215e51039cca70340b1053b31ef30f13edea8fe619df83bea2792c58a6fcbf04
EBUILD nitrokey-app-1.2.1.ebuild 1475 SHA256 6fba13169fd009db9bbca54fde9f1198a221fb7f15208dcac0390925b6db05d8 SHA512 9ecaf74f7346f593c8d028660c077e1d67d4b0425b1ca6ceed94d7a03beea63d542603dc62bec0bbf59cf4c476d6ab3b0d717f59c782f8911afad31aba22558c WHIRLPOOL 1dc297d1556db51cc0af9b2e5b866fc516a8175aa58451c859c7ccea107ebfaad425a2809b2f4275fa75ed58d98405736c13b0f9a4bbff26cf3f5c9073cbd070
EBUILD nitrokey-app-1.2_beta2.ebuild 1534 SHA256 d8c8baa78b99835704fab7b9a55d6d4fffbad5f163c53e5cd8dd25459b97b945 SHA512 fb83f8e09967c603997e3e05be7fc11c092c372dabefd9326d836391be98eb05f4c2f4903ff6dbe77669df912875dc9704e67dd29a9aa4ccb23cd536b825dbb8 WHIRLPOOL edd15f55f545498541ce9c91dd295c7c82686376fd9dc8c0ee88605e556aac61fe8afc43eee5e334d17d628630f0f50aaeda50300390464ef77fd25215985fa9
EBUILD nitrokey-app-1.2_beta3.ebuild 1534 SHA256 2b2ee0204358ea7ee3e5f0e20e4cc39bfc8a44ef952cca68b41b1aefb99aefa4 SHA512 b28ee6fd530788fe8aa86c8b2b8f4b42c599cef3706d3e787e57f0824d990b9c898e2550df30b857f8ab661891bb922c2af0e0545f144d78532745609308b7ec WHIRLPOOL cdb026f509140d0780f463ac98d6125cfbf855cb636ef4e97a926d01366b2a1a20fce7eedbad44ddf19fc7b655c693679735f4cb7eef46dc46479208407bb681
MISC metadata.xml 399 SHA256 f8c4d3ec4247b5404221ab8c81855de68d760f76b82a377c2dc552e9aff9344c SHA512 fa204891e67b5c6f1ac7082fe49f52ae287f6aed77dd1fd8972770c7a5ddb7f2af71f543a3888c9f572dfb04197f98486a75ecba5960506274c634782af110ab WHIRLPOOL 08f5b2c9bc9664319a78d4caecf0566dd1a8d14fdec344c6ac6836818e2da7b2d9c4dd18ba7bf0ed061b6582dc6b5abba61c50eac15e0fba348478ad753a3e95

View File

@ -1,11 +0,0 @@
--- a/libnitrokey/CMakeLists.txt 2017-08-06 01:35:11.382608018 +0200
+++ b/libnitrokey/CMakeLists.txt 2017-08-06 01:35:17.789623109 +0200
@@ -3,8 +3,6 @@
OPTION(USE_CLANG "Use CLang" FALSE)
IF(USE_CLANG)
set(CMAKE_CXX_COMPILER "/usr/bin/clang++" CACHE string "clang++ compiler" FORCE)
- ELSE()
- set(CMAKE_CXX_COMPILER)
ENDIF()
OPTION(ADD_ASAN "Use ASAN to show memory issues" FALSE)
OPTION(ADD_TSAN "Use TSAN to show thread issues" FALSE)

View File

@ -1,12 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>soap@gentoo.org</email>
<name>David Seifert</name>
</maintainer>
<upstream>
<remote-id type="github">Nitrokey/nitrokey-app</remote-id>
<bugs-to>https://github.com/Nitrokey/nitrokey-app/issues</bugs-to>
</upstream>
</pkgmetadata>

View File

@ -1,58 +0,0 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit cmake-utils gnome2-utils udev
DESCRIPTION="Cross platform personalization tool for the Nitrokey"
HOMEPAGE="https://github.com/Nitrokey/nitrokey-app"
SRC_URI="
https://github.com/Nitrokey/${PN}/archive/v${PV/_beta/-beta.}.tar.gz -> ${P}.tar.gz
https://github.com/Nitrokey/libnitrokey/archive/f6e999ff3a68993a9f19f2218b59d626e794395b.tar.gz -> ${P}-libnitrokey.tar.gz
https://github.com/tplgy/cppcodec/archive/61d9b044d6644293f99fb87dfadc15dcab951bd9.tar.gz -> ${P}-cppcodec.tar.gz
"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64"
IUSE=""
RDEPEND="
dev-libs/hidapi
dev-qt/qtcore:5
dev-qt/qtgui:5
dev-qt/qtwidgets:5"
DEPEND="
${RDEPEND}
virtual/pkgconfig"
S="${WORKDIR}/${PN}-${PV/_beta/-beta.}"
mycmakeargs=( -DHAVE_LIBAPPINDICATOR=NO )
src_unpack() {
unpack ${A}
rmdir "${S}/libnitrokey" "${S}/3rdparty/cppcodec" || die "directory libnitrokey not empty"
mv "${WORKDIR}"/libnitrokey-* "${S}/libnitrokey" || die "Unable to move libnitrokey directory"
mv "${WORKDIR}"/cppcodec-* "${S}/3rdparty/cppcodec" || die "Unable to move cppcodec directory"
}
src_prepare() {
cmake-utils_src_prepare
sed -i "s:DESTINATION lib/udev/rules.d:DESTINATION $(get_udevdir)/rules.d:" \
CMakeLists.txt || die
}
pkg_preinst() {
gnome2_icon_savelist
}
pkg_postinst() {
udev_reload
gnome2_icon_cache_update
}
pkg_postrm() {
gnome2_icon_cache_update
}

View File

@ -1,62 +0,0 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit cmake-utils gnome2-utils udev
DESCRIPTION="Cross platform personalization tool for the Nitrokey"
HOMEPAGE="https://github.com/Nitrokey/nitrokey-app"
SRC_URI="
https://github.com/Nitrokey/${PN}/archive/v${PV/_beta/-beta.}.tar.gz -> ${P}.tar.gz
https://github.com/Nitrokey/libnitrokey/archive/06c0deb7935a9390a67bc02d6c323e64c785a026.tar.gz -> ${P}-libnitrokey.tar.gz
https://github.com/tplgy/cppcodec/archive/61d9b044d6644293f99fb87dfadc15dcab951bd9.tar.gz -> ${P}-cppcodec.tar.gz
"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64"
IUSE=""
RDEPEND="
dev-libs/hidapi
dev-qt/qtcore:5
dev-qt/qtgui:5
dev-qt/qtwidgets:5"
DEPEND="
${RDEPEND}
virtual/pkgconfig"
PATCHES=(
"${FILESDIR}/0001-cmake-CXX-not-found.patch"
)
S="${WORKDIR}/${PN}-${PV/_beta/-beta.}"
mycmakeargs=( -DHAVE_LIBAPPINDICATOR=NO )
src_unpack() {
unpack ${A}
rmdir "${S}/libnitrokey" "${S}/3rdparty/cppcodec" || die "directory libnitrokey not empty"
mv "${WORKDIR}"/libnitrokey-* "${S}/libnitrokey" || die "Unable to move libnitrokey directory"
mv "${WORKDIR}"/cppcodec-* "${S}/3rdparty/cppcodec" || die "Unable to move cppcodec directory"
}
src_prepare() {
cmake-utils_src_prepare
sed -i "s:DESTINATION lib/udev/rules.d:DESTINATION $(get_udevdir)/rules.d:" \
CMakeLists.txt || die
}
pkg_preinst() {
gnome2_icon_savelist
}
pkg_postinst() {
udev_reload
gnome2_icon_cache_update
}
pkg_postrm() {
gnome2_icon_cache_update
}

View File

@ -1,62 +0,0 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit cmake-utils gnome2-utils udev
DESCRIPTION="Cross platform personalization tool for the Nitrokey"
HOMEPAGE="https://github.com/Nitrokey/nitrokey-app"
SRC_URI="
https://github.com/Nitrokey/${PN}/archive/v${PV/_beta/-beta.}.tar.gz -> ${P}.tar.gz
https://github.com/Nitrokey/libnitrokey/archive/91f88b15f011abe85c85893d1fe50de6c8e4189d.tar.gz -> ${P}-libnitrokey.tar.gz
https://github.com/tplgy/cppcodec/archive/61d9b044d6644293f99fb87dfadc15dcab951bd9.tar.gz -> ${P}-cppcodec.tar.gz
"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64"
IUSE=""
RDEPEND="
dev-libs/hidapi
dev-qt/qtcore:5
dev-qt/qtgui:5
dev-qt/qtwidgets:5"
DEPEND="
${RDEPEND}
virtual/pkgconfig"
PATCHES=(
"${FILESDIR}/0001-cmake-CXX-not-found.patch"
)
S="${WORKDIR}/${PN}-${PV/_beta/-beta.}"
mycmakeargs=( -DHAVE_LIBAPPINDICATOR=NO )
src_unpack() {
unpack ${A}
rmdir "${S}/libnitrokey" "${S}/3rdparty/cppcodec" || die "directory libnitrokey not empty"
mv "${WORKDIR}"/libnitrokey-* "${S}/libnitrokey" || die "Unable to move libnitrokey directory"
mv "${WORKDIR}"/cppcodec-* "${S}/3rdparty/cppcodec" || die "Unable to move cppcodec directory"
}
src_prepare() {
cmake-utils_src_prepare
sed -i "s:DESTINATION lib/udev/rules.d:DESTINATION $(get_udevdir)/rules.d:" \
CMakeLists.txt || die
}
pkg_preinst() {
gnome2_icon_savelist
}
pkg_postinst() {
udev_reload
gnome2_icon_cache_update
}
pkg_postrm() {
gnome2_icon_cache_update
}

View File

@ -1,5 +0,0 @@
AUX tpacpi-bat.confd.0 668 SHA256 23fbfd271bb0a30c621b620307222efc4eb51f74904f7bae75a9942fe9e899e5 SHA512 570824184f85e9f4b687e67131165671389b836d94f15edbd4bd14c77b0c6546c2991da25bc0172ccdee03cc8c0ad82c378e982e147334e9cb83334d0382038b WHIRLPOOL 7db522f8d08c99f68ba61d46144948b24db889882adf7bea8ccfadc14c1b21b8ce9d6a526a4c611df25e184dee28f3686ecf2eee70ac746916a0c137e7045d04
AUX tpacpi-bat.initd.1 1485 SHA256 3d490db3c3382e670a6694839dd4d68a9479e6670dc3624c3d80d42e2e57bb96 SHA512 5f5462e9ec38f88ca420ee91392e83d48feb63fe6150b2d19200010b9ecd144ff724b1f3d72063bcb26829a96c6087d0e681b641f490690ee1e854e33d89f452 WHIRLPOOL 0844a613e1fc491e57c6ad222a9b28c1f950801284ae2067aa743233e2ee2d4dc508555ba6a0041895a199b391cbb98da53f8b275ed98a116e4702732538578d
DIST tpacpi-bat-3.0.tar.gz 18137 SHA256 f9aa8be181df6a7d41eac6224abb6dadf1d147022449e9159c4aa09397b7a485 SHA512 2beab3e5495f028b53d673a4243a2128f4ff85e19e18ac7d53663a1d62e20b271442d6c2c8f19cb41d618ddf7ebb4d9b8390f7f185f77bdca33c69bb19463128 WHIRLPOOL 9329ea83fdd0913cc47446895e6ab385f09ca42e7a19533b5c7fa44cb62bebd07ba24f89b0deacc89d6b3aff3ff826f2a53f8d2e918f137d0f6215aa6eaa9198
EBUILD tpacpi-bat-3.0-r1.ebuild 854 SHA256 fdfc616d11119b8c7d4166eeaa3ca123337fbbbb19a91e2fa033bf52986ea6ff SHA512 6a58873f2fb6761e1bff6e20c4b20b5a2c50c968e23e682b25dd0d6fa1bff67714856fe96179081b76ca9992dbbdbb84cd312c86861b27b780ce542f2c02d70c WHIRLPOOL ecf1f8f8ac22abc12ddf4e9cf04e3bdc662fa12a9f6cdbd55211332bd8c7fb2cff8ad7b53369c09821f2d64796cf3e67a7f8431afdbde7d9c48551a614eb1ef9
MISC metadata.xml 336 SHA256 dec541eaeca510bc42413503d45d26cbea4db1b41a2ee81479e58af3002e9d59 SHA512 01048c76d5f27ab31637351e2f332f57e53b83a7eac350974c7cd7308043f4e29f7fc578c9cf1c17e95a73f3ce9d6eece44e611a9dbb3a3badbe27e1da630ccd WHIRLPOOL 804f0faa7a417442e2ec61fdefd10bbe1b5c5e457342175808d63ee8ed7914d920c175f91cdff49d5bc8a7d603079df408239cb16479a1c882d5635313b1c362

View File

@ -1,19 +0,0 @@
# /etc/conf.d/tpacpi-bat: config file for /etc/init.d/tpacpi-bat
# use '/etc/init.d/tpacpi-bat info' at any time to check the thresholds
# currently used by the driver
# list of batteries the script should manage
# for example: BATS="1 2"
BATS="1"
# default thresholds for '/etc/init.d/tpacpi-bat start'
TPACPI_BAT_THRESH_START="30"
TPACPI_BAT_THRESH_STOP="85"
# values to be used for '/etc/init.d/tpacpi-bat low'
TPACPI_BAT_LOW_THRESH_START="${TPACPI_BAT_THRESH_START}"
TPACPI_BAT_LOW_THRESH_STOP="${TPACPI_BAT_THRESH_STOP}"
# values to be used for '/etc/init.d/tpacpi-bat high'
TPACPI_BAT_HIGH_THRESH_START="95"
TPACPI_BAT_HIGH_THRESH_STOP="99" #see bug #485526

View File

@ -1,76 +0,0 @@
#!/sbin/runscript
# Copyright (C) 2012-2013 Christoph Junghans <ottxor@gentoo.org>
#
# Distributed under the terms of the GNU General Public License, v2 or later
extra_started_commands="low high info"
depend() {
after modules
}
start() {
local state1
ebegin "Making sure that module 'acpi_call' is loaded"
modprobe acpi_call
state1=$?
eend ${state1}
[ "${state1}" -ne "0" ] && return 1
ebegin "Starting ${SVCNAME}"
set_all ${TPACPI_BAT_THRESH_START} ${TPACPI_BAT_THRESH_STOP}
eend $?
}
stop() {
einfo "Nothing required to be done to stop ${SVCNAME}"
}
require_started() {
if ! service_started; then
"${RC_SERVICE}" start || return $?
fi
}
high() {
require_started
einfo "Switching ${SVCNAME} to high thesholds"
set_all ${TPACPI_BAT_HIGH_THRESH_START} ${TPACPI_BAT_HIGH_THRESH_STOP}
}
low() {
require_started
einfo "Switching ${SVCNAME} to low thesholds"
set_all ${TPACPI_BAT_LOW_THRESH_START} ${TPACPI_BAT_LOW_THRESH_STOP}
}
set_all() {
local tstart=$1
local tstop=$2
local bat
for bat in ${BATS}; do
ebegin " setting thresholds for ${bat}: $tstart $tstop"
/usr/bin/tpacpi-bat -s startThreshold ${bat} ${tstart}
/usr/bin/tpacpi-bat -s stopThreshold ${bat} ${tstop}
eend $?
done
}
info() {
local tstart
local tstop
local bat
require_started
for bat in ${BATS}; do
tstart=$(/usr/bin/tpacpi-bat -g startThreshold ${bat})
tstop=$(/usr/bin/tpacpi-bat -g stopThreshold ${bat})
einfo "Battery ${bat}: ${tstart} ${tstop}"
done
}

View File

@ -1,11 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>ottxor@gentoo.org</email>
<name>Christoph Junghans</name>
</maintainer>
<upstream>
<remote-id type="github">teleshoes/tpacpi-bat</remote-id>
</upstream>
</pkgmetadata>

View File

@ -1,34 +0,0 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
inherit eutils systemd
if [ "${PV}" = "9999" ]; then
inherit git-2
EGIT_REPO_URI="git://github.com/teleshoes/tpacpi-bat.git https://github.com/teleshoes/tpacpi-bat.git"
KEYWORDS=""
else
SRC_URI="https://github.com/teleshoes/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64"
fi
DESCRIPTION="Control battery thresholds of recent ThinkPads, which are not supported by tp_smapi"
HOMEPAGE="https://github.com/teleshoes/tpacpi-bat"
LICENSE="GPL-3"
SLOT="0"
IUSE=""
DEPEND=""
RDEPEND="sys-power/acpi_call
dev-lang/perl"
src_install() {
dodoc README battery_asl
dobin tpacpi-bat
newinitd "${FILESDIR}"/${PN}.initd.1 ${PN}
newconfd "${FILESDIR}"/${PN}.confd.0 ${PN}
systemd_newunit tpacpi.service ${PN}.service
}

View File

@ -1,4 +0,0 @@
DIST e_dbus-1.7.10.tar.bz2 439191 SHA256 b93f778a4bf50ce044b4798e08a03f62e9b890c47305f9d5839989481f38ddd4 SHA512 db3e3106cd3f66699dd59433beb8592115a8970982c7dc49f04458bc162acbbece5c6ec08bea994cc7eca04fe786ad45961bb555d2dfd364d07d3673d144b3c4 WHIRLPOOL 2f351946be4e47722fb6c027641d0054aed5fcd1523a02d20758763423100086e4c5bcf129f448c764a39ce8b4748c62b58c5e8dc9d3e676077866879b219f04
EBUILD e_dbus-1.7.10.ebuild 1568 SHA256 1cecc5a9ec287ec1a337176ef6bf0b9f7b13cc394993335635b8194015d2538a SHA512 c6cd35965d37c5acab77e8a53646904fd393927df02a295a1cc3d2efbc9c439fd16b5cc504cf6aba26c609bd1d9554e6deb437262d85f72e04ebeb092cab7224 WHIRLPOOL ece8ecda199a558e82ad47b3a2da8b96749d3564143e4d5e3d8b3e0ff82e6e260b2969e550da08a527c15e3df256908f8bbe9b606d3d784031c732840992c4ed
EBUILD e_dbus-9999.ebuild 1675 SHA256 aee655ce839b30a664fee3358d7edb694ab20caf98d2cb4f845a7736cedf6099 SHA512 44381c15a1d9dc3dd5875f29241edc2b6460249181170baa25109f78845bdbb6a29afa0326fb823328bf0013c492550fc7ec637acfb50157efa1be0e94482114 WHIRLPOOL 7c307aff260218645e6b84c507c7854c1072215fa69acf7e73307b35663ff905738af08a6d5e750f3e419d4dbb5faf5c31b64ea192bf24045629b0ecc8d209a3
MISC metadata.xml 540 SHA256 28314e1453097986d858189087f5b0739ceb53043d97181330465e5420a10b5a SHA512 883d9748674badfd0bc26141878dc19c10c665ae977f172439e95776dacb966c3e64990c68c65c624fdafc741284b334cf546c1525f44188a34fc3c42b89ed30 WHIRLPOOL 55de866a9c91943bed91a9f27a80f4da424f918ea455d8f193acd4eb3e78bfa6796d5d71cf5c3242de4cbedce7e16d2d2221f64d908050f98c5bfbdbf30e77bc

View File

@ -1,59 +0,0 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI="4"
inherit enlightenment
DESCRIPTION="Enlightenment's (Ecore) integration to DBus"
SRC_URI="https://download.enlightenment.org/releases/${P}.tar.bz2"
LICENSE="BSD-2"
KEYWORDS="amd64 ~arm x86"
IUSE="bluetooth +connman +libnotify ofono static-libs test-binaries +udev"
RDEPEND=">=dev-libs/efl-1.8.4
sys-apps/dbus
connman? ( >=net-misc/connman-0.75 )
udev? ( || ( sys-power/upower sys-power/upower-pm-utils ) sys-fs/udisks:0 )
"
DEPEND="${RDEPEND}"
S=${WORKDIR}/${PN}-${PV%%_*}
src_configure() {
E_ECONF+=(
$(use_enable bluetooth ebluez)
$(use_enable connman econnman0_7x)
$(use_enable doc)
--disable-ehal
$(use_enable libnotify enotify)
$(use_enable ofono eofono)
$(use_enable test-binaries edbus-test)
$(use_enable test-binaries edbus-test-client)
$(use_enable udev eukit)
)
if use test-binaries ; then
E_ECONF+=(
$(use_enable bluetooth edbus-bluez-test)
$(use_enable connman edbus-connman0_7x-test)
$(use_enable libnotify edbus-notification-daemon-test)
$(use_enable libnotify edbus-notify-test)
$(use_enable ofono edbus-ofono-test)
$(use_enable udev edbus-ukit-test)
)
else
E_ECONF+=(
--disable-edbus-bluez-test
--disable-edbus-connman0_7x-test
--disable-edbus-notification-daemon-test
--disable-edbus-notify-test
--disable-edbus-ofono-test
--disable-edbus-ukit-test
--disable-edbus-async-test
--disable-edbus-performance-test
)
fi
enlightenment_src_configure
}

View File

@ -1,66 +0,0 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI="5"
if [[ ${PV} == "9999" ]] ; then
EGIT_SUB_PROJECT="legacy"
EGIT_URI_APPEND=${PN}
EGIT_BRANCH=${PN}-1.7
else
SRC_URI="https://download.enlightenment.org/releases/${P}.tar.bz2"
EKEY_STATE="snap"
fi
inherit enlightenment
DESCRIPTION="Enlightenment's (Ecore) integration to DBus"
LICENSE="BSD-2"
IUSE="bluetooth +connman +libnotify ofono static-libs test-binaries +udev"
RDEPEND=">=dev-libs/efl-1.8.4
sys-apps/dbus
connman? ( >=net-misc/connman-0.75 )
udev? ( || ( sys-power/upower sys-power/upower-pm-utils ) sys-fs/udisks:0 )
"
DEPEND="${RDEPEND}"
S=${WORKDIR}/${PN}-${PV%%_*}
src_configure() {
E_ECONF=(
$(use_enable bluetooth ebluez)
$(use_enable connman econnman0_7x)
$(use_enable doc)
--disable-ehal
$(use_enable libnotify enotify)
$(use_enable ofono eofono)
$(use_enable test-binaries edbus-test)
$(use_enable test-binaries edbus-test-client)
$(use_enable udev eukit)
)
if use test-binaries ; then
E_ECONF+=(
$(use_enable bluetooth edbus-bluez-test)
$(use_enable connman edbus-connman0_7x-test)
$(use_enable libnotify edbus-notification-daemon-test)
$(use_enable libnotify edbus-notify-test)
$(use_enable ofono edbus-ofono-test)
$(use_enable udev edbus-ukit-test)
)
else
E_ECONF+=(
--disable-edbus-bluez-test
--disable-edbus-connman0_7x-test
--disable-edbus-notification-daemon-test
--disable-edbus-notify-test
--disable-edbus-ofono-test
--disable-edbus-ukit-test
--disable-edbus-async-test
--disable-edbus-performance-test
)
fi
enlightenment_src_configure
}

View File

@ -1,13 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>enlightenment@gentoo.org</email>
<name>Project Enlightenment</name>
</maintainer>
<use>
<flag name="bluetooth">Enable interfacing with <pkg>net-wireless/bluez</pkg> DBus API</flag>
<flag name="ofono">Enable interfacing with <pkg>net-misc/ofono</pkg> DBus API</flag>
<flag name="test-binaries">Enable building of test binaries for enabled features</flag>
</use>
</pkgmetadata>

View File

@ -1,8 +0,0 @@
AUX nss-3.21-enable-pem.patch 172 SHA256 20f965b06496b4f7e6b8b429fbd2c83b24e1f9bacd3f991af80906f49fbad96f SHA512 fd40fd3b5724f01dd94c2dcf1311d6ab207e59869e5b531fddf35c716bfb1b5cb95c8869fc4ad365b676667598319460de99bf314f529e90415096437f3e610f WHIRLPOOL 97dae3d71f5f5f56dfde405e7fb523992f0901e2f4c7d7879b0ba9e8b3fe1b8186a49d3c0a057233089f8bdfc0b95791f905c8c59370c9dbfb177ac7ff6d011b
AUX nss-3.21-gentoo-fixup-warnings.patch 178 SHA256 cb2516461bd68de96e77bab7274c0a920a6dbe958b8d73db018cf0105cb59838 SHA512 7667a020311ca11e8f1836bc146e4a3c94ff2a489882dbe87debcccfeaafeb50e6607574c64254a826b4b6f0bb436b310a3386fff4a58324f0e5e58debaa9d51 WHIRLPOOL 0676a1900eaccaf2f7f961f1e55987340eedab6e1e039e1375d4b9a4753d80fddaf3e873d7b689d29f22520dc42bd5c060ad10e75ede1a62605a3cc78b3d46b9
AUX nss-3.21-gentoo-fixups.patch 5270 SHA256 1e4c2fba0f2cdf88e57c0a3466d67acacce3f51fc0071e560b65282f44c66ad1 SHA512 557eadbd419b33573c0c2e1369a078db002a1f9a98b0e8214580a3129c30e9c3aa54274cc80b8b3b70f23054e29159bad26d20a66cc7a6a43e250dafddc1710b WHIRLPOOL 3ae6842925c51e7d3335c554f265cf4880f6831f7f44d2107922a21cb3b6b14c5dc2120fc0632e83e97300403eb38eff2c9374555e339ea6cd12702455b31fb0
AUX nss-3.23-hppa-byte_order.patch 460 SHA256 f75dbf36847d13a1638b1983e08b9f6dc3f2417475cba42555ce7b88f828cebe SHA512 ad0097bb6cf409d61eb28202d7460c87e983d6db977aba38ff9ef2749b3f7bb8fdadce4174f5bf806350ae33733097a1f444792d31cc43574b28341893642e5a WHIRLPOOL 4d6fcec5da495afb0ac1d23e124a2dbc65aaf75a217c2adc7e76017aec4189057c2b1cd6c088ee4c2a4b6c55127792aef410afe19c533437d30e810da840f08b
DIST nss-3.27.2.tar.gz 7397599 SHA256 dc8ac8524469d0230274fd13a53fdcd74efe4aa67205dde1a4a92be87dc28524 SHA512 699847665e93fd649cb60ce6bc8f849f452779e7232a09bbeb0613f9e6c57bb81948f1ae59cc86648e41a212cda259109850ccd14546d35910deb75f5d2a13b8 WHIRLPOOL 08229d87de1c7020c1d7fc12fb8a2afc4bc9ab9f0208aad12698aba17386fbe9163cb506101c7d4d568409fd99141fb88c0e71fc32cecbc6640a4a8f7a4efabf
DIST nss-cacert-class1-class3.patch 22950 SHA256 6bba29cee34276e2ca6436dabedfeba2b61fb46668c5d5ceabf0c871574649bf SHA512 a5aa740bf110a3f0262e3f1ef2fc739ac2b44f042e220039d48aee8e97cd764d5c10718220364f4098aba955882bd02cadb5481512388971a8290312f88a7df0 WHIRLPOOL 1246223b01292604e5609bb9c580f092dc5937bf8c98f6891b099e8bab960e03612b6617e30a55d6ff8817d88f190e03812fe8f89f84f25c20970493dc2f7700
DIST nss-pem-20160329.tar.xz 27732 SHA256 6c13c342e7a9fe34b585556099beca33c3078b3df3e11b72827fb70232ac1443 SHA512 5834b06e4c64205447573d4f4c8989e20986ae67ee00eebce3817eb73794a6355a404143ba1c676ec302ceefaf9df103cb879b1d4ff14ba4e3790dbee3e40eb2 WHIRLPOOL 16fb714fab29e44f7a15fa1928a0f4c1a770f0847b8da97816e29a3b124dee782cffe2357648c445f4d29081f349571b6fffe48c5bc725c7c2dde491f3e0e836
EBUILD nss-3.27.2.ebuild 9330 SHA256 9a6a8e9cf24b1ea546eb88254c9b31ad6dbe0f225f7ec50fb3c7241b51eac9ff SHA512 d28727374d9c13abb0120e91909302e89c71975bbb3ec5e4db4cc68de813afd6745e9242d68427202806a6f139909345eba29eb8be35b24e1fa854e198a49737 WHIRLPOOL 48896591b33a660924eb08d92ec38dc07a1dcadca3b39876151dfa801f78640477bfb5dbc12ab79ee4144b5e70b0dcbdddf5fc7246e4d3d335b37402bb39d398

View File

@ -1,11 +0,0 @@
--- nss/lib/ckfw/manifest.mn
+++ nss/lib/ckfw/manifest.mn
@@ -5,7 +5,7 @@
CORE_DEPTH = ../..
-DIRS = builtins
+DIRS = builtins pem
PRIVATE_EXPORTS = \
ck.h \

View File

@ -1,10 +0,0 @@
--- nss/coreconf/Linux.mk
+++ nss/coreconf/Linux.mk
@@ -130,6 +130,7 @@
OPTIMIZER += -gdwarf-2
endif
endif
+OPTIMIZER += -fno-strict-aliasing
endif
ifndef COMPILER_TAG

View File

@ -1,238 +0,0 @@
--- nss/config/Makefile
+++ nss/config/Makefile
@@ -0,0 +1,40 @@
+CORE_DEPTH = ..
+DEPTH = ..
+
+include $(CORE_DEPTH)/coreconf/config.mk
+
+NSS_MAJOR_VERSION = `grep "NSS_VMAJOR" ../lib/nss/nss.h | awk '{print $$3}'`
+NSS_MINOR_VERSION = `grep "NSS_VMINOR" ../lib/nss/nss.h | awk '{print $$3}'`
+NSS_PATCH_VERSION = `grep "NSS_VPATCH" ../lib/nss/nss.h | awk '{print $$3}'`
+PREFIX = /usr
+
+all: export libs
+
+export:
+ # Create the nss.pc file
+ mkdir -p $(DIST)/lib/pkgconfig
+ sed -e "s,@prefix@,$(PREFIX)," \
+ -e "s,@exec_prefix@,\$${prefix}," \
+ -e "s,@libdir@,\$${prefix}/lib64," \
+ -e "s,@includedir@,\$${prefix}/include/nss," \
+ -e "s,@NSS_MAJOR_VERSION@,$(NSS_MAJOR_VERSION),g" \
+ -e "s,@NSS_MINOR_VERSION@,$(NSS_MINOR_VERSION)," \
+ -e "s,@NSS_PATCH_VERSION@,$(NSS_PATCH_VERSION)," \
+ nss.pc.in > nss.pc
+ chmod 0644 nss.pc
+ ln -sf ../../../../config/nss.pc $(DIST)/lib/pkgconfig
+
+ # Create the nss-config script
+ mkdir -p $(DIST)/bin
+ sed -e "s,@prefix@,$(PREFIX)," \
+ -e "s,@NSS_MAJOR_VERSION@,$(NSS_MAJOR_VERSION)," \
+ -e "s,@NSS_MINOR_VERSION@,$(NSS_MINOR_VERSION)," \
+ -e "s,@NSS_PATCH_VERSION@,$(NSS_PATCH_VERSION)," \
+ nss-config.in > nss-config
+ chmod 0755 nss-config
+ ln -sf ../../../config/nss-config $(DIST)/bin
+
+libs:
+
+dummy: all export libs
+
--- nss/config/nss-config.in
+++ nss/config/nss-config.in
@@ -0,0 +1,145 @@
+#!/bin/sh
+
+prefix=@prefix@
+
+major_version=@NSS_MAJOR_VERSION@
+minor_version=@NSS_MINOR_VERSION@
+patch_version=@NSS_PATCH_VERSION@
+
+usage()
+{
+ cat <<EOF
+Usage: nss-config [OPTIONS] [LIBRARIES]
+Options:
+ [--prefix[=DIR]]
+ [--exec-prefix[=DIR]]
+ [--includedir[=DIR]]
+ [--libdir[=DIR]]
+ [--version]
+ [--libs]
+ [--cflags]
+Dynamic Libraries:
+ nss
+ ssl
+ smime
+ nssutil
+EOF
+ exit $1
+}
+
+if test $# -eq 0; then
+ usage 1 1>&2
+fi
+
+lib_ssl=yes
+lib_smime=yes
+lib_nss=yes
+lib_nssutil=yes
+
+while test $# -gt 0; do
+ case "$1" in
+ -*=*) optarg=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
+ *) optarg= ;;
+ esac
+
+ case $1 in
+ --prefix=*)
+ prefix=$optarg
+ ;;
+ --prefix)
+ echo_prefix=yes
+ ;;
+ --exec-prefix=*)
+ exec_prefix=$optarg
+ ;;
+ --exec-prefix)
+ echo_exec_prefix=yes
+ ;;
+ --includedir=*)
+ includedir=$optarg
+ ;;
+ --includedir)
+ echo_includedir=yes
+ ;;
+ --libdir=*)
+ libdir=$optarg
+ ;;
+ --libdir)
+ echo_libdir=yes
+ ;;
+ --version)
+ echo ${major_version}.${minor_version}.${patch_version}
+ ;;
+ --cflags)
+ echo_cflags=yes
+ ;;
+ --libs)
+ echo_libs=yes
+ ;;
+ ssl)
+ lib_ssl=yes
+ ;;
+ smime)
+ lib_smime=yes
+ ;;
+ nss)
+ lib_nss=yes
+ ;;
+ nssutil)
+ lib_nssutil=yes
+ ;;
+ *)
+ usage 1 1>&2
+ ;;
+ esac
+ shift
+done
+
+# Set variables that may be dependent upon other variables
+if test -z "$exec_prefix"; then
+ exec_prefix=`pkg-config --variable=exec_prefix nss`
+fi
+if test -z "$includedir"; then
+ includedir=`pkg-config --variable=includedir nss`
+fi
+if test -z "$libdir"; then
+ libdir=`pkg-config --variable=libdir nss`
+fi
+
+if test "$echo_prefix" = "yes"; then
+ echo $prefix
+fi
+
+if test "$echo_exec_prefix" = "yes"; then
+ echo $exec_prefix
+fi
+
+if test "$echo_includedir" = "yes"; then
+ echo $includedir
+fi
+
+if test "$echo_libdir" = "yes"; then
+ echo $libdir
+fi
+
+if test "$echo_cflags" = "yes"; then
+ echo -I$includedir
+fi
+
+if test "$echo_libs" = "yes"; then
+ libdirs=""
+ if test -n "$lib_ssl"; then
+ libdirs="$libdirs -lssl${major_version}"
+ fi
+ if test -n "$lib_smime"; then
+ libdirs="$libdirs -lsmime${major_version}"
+ fi
+ if test -n "$lib_nss"; then
+ libdirs="$libdirs -lnss${major_version}"
+ fi
+ if test -n "$lib_nssutil"; then
+ libdirs="$libdirs -lnssutil${major_version}"
+ fi
+ echo $libdirs
+fi
+
--- nss/config/nss.pc.in
+++ nss/config/nss.pc.in
@@ -0,0 +1,12 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+
+Name: NSS
+Description: Network Security Services
+Version: @NSS_MAJOR_VERSION@.@NSS_MINOR_VERSION@.@NSS_PATCH_VERSION@
+Requires: nspr >= 4.8
+Libs: -lssl3 -lsmime3 -lnss3 -lnssutil3
+Cflags: -I${includedir}
+
--- nss/Makefile
+++ nss/Makefile
@@ -46,7 +46,7 @@
# (7) Execute "local" rules. (OPTIONAL). #
#######################################################################
-nss_build_all: build_nspr all
+nss_build_all: all
nss_clean_all: clobber_nspr clobber
@@ -115,12 +115,6 @@
--with-dist-prefix='$(NSPR_PREFIX)' \
--with-dist-includedir='$(NSPR_PREFIX)/include'
-build_nspr: $(NSPR_CONFIG_STATUS)
- $(MAKE) -C $(CORE_DEPTH)/../nspr/$(OBJDIR_NAME)
-
-clobber_nspr: $(NSPR_CONFIG_STATUS)
- $(MAKE) -C $(CORE_DEPTH)/../nspr/$(OBJDIR_NAME) clobber
-
build_docs:
$(MAKE) -C $(CORE_DEPTH)/doc
--- nss/manifest.mn
+++ nss/manifest.mn
@@ -10,4 +10,4 @@
RELEASE = nss
-DIRS = coreconf lib cmd external_tests
+DIRS = coreconf lib cmd config

View File

@ -1,16 +0,0 @@
--- nss/lib/dbm/include/mcom_db.h
+++ nss/lib/dbm/include/mcom_db.h
@@ -110,11 +110,13 @@
#endif /* !BYTE_ORDER */
#endif /* __sun */
+#ifndef BYTE_ORDER
#if defined(__hpux) || defined(__hppa)
#define BYTE_ORDER BIG_ENDIAN
#define BIG_ENDIAN 4321
#define LITTLE_ENDIAN 1234 /* LSB first: i386, vax, all NT risc */
#endif
+#endif /* !BYTE_ORDER */
#if defined(AIXV3) || defined(AIX)
/* BYTE_ORDER, LITTLE_ENDIAN, BIG_ENDIAN are all defined here */

View File

@ -1,339 +0,0 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
inherit eutils flag-o-matic multilib toolchain-funcs multilib-minimal
NSPR_VER="4.12"
RTM_NAME="NSS_${PV//./_}_RTM"
# Rev of https://git.fedorahosted.org/cgit/nss-pem.git
PEM_GIT_REV="429b0222759d8ad8e6dcd29e62875ae3efd69116"
PEM_P="${PN}-pem-20160329"
DESCRIPTION="Mozilla's Network Security Services library that implements PKI support"
HOMEPAGE="http://www.mozilla.org/projects/security/pki/nss/"
SRC_URI="https://archive.mozilla.org/pub/security/nss/releases/${RTM_NAME}/src/${P}.tar.gz
cacert? ( https://dev.gentoo.org/~axs/distfiles/${PN}-cacert-class1-class3.patch )
nss-pem? ( https://dev.gentoo.org/~polynomial-c/${PEM_P}.tar.xz )"
LICENSE="|| ( MPL-2.0 GPL-2 LGPL-2.1 )"
SLOT="0"
KEYWORDS="alpha amd64 arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
IUSE="cacert +nss-pem utils"
CDEPEND=">=dev-db/sqlite-3.8.2[${MULTILIB_USEDEP}]
>=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}]"
DEPEND=">=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}]
>=dev-libs/nspr-${NSPR_VER}[${MULTILIB_USEDEP}]
${CDEPEND}"
RDEPEND=">=dev-libs/nspr-${NSPR_VER}[${MULTILIB_USEDEP}]
${CDEPEND}
abi_x86_32? (
!<=app-emulation/emul-linux-x86-baselibs-20140508-r12
!app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)]
)"
RESTRICT="test"
S="${WORKDIR}/${P}/${PN}"
MULTILIB_CHOST_TOOLS=(
/usr/bin/nss-config
)
PATCHES=(
# Custom changes for gentoo
"${FILESDIR}/${PN}-3.21-gentoo-fixups.patch"
"${FILESDIR}/${PN}-3.21-gentoo-fixup-warnings.patch"
"${FILESDIR}/${PN}-3.23-hppa-byte_order.patch"
)
src_unpack() {
unpack ${A}
if use nss-pem ; then
mv "${PN}"/lib/ckfw/pem/ "${S}"/lib/ckfw/ || die
fi
}
src_prepare() {
if use nss-pem ; then
PATCHES+=(
"${FILESDIR}/${PN}-3.21-enable-pem.patch"
)
fi
if use cacert ; then #521462
PATCHES+=(
"${DISTDIR}/${PN}-cacert-class1-class3.patch"
)
fi
default
pushd coreconf >/dev/null || die
# hack nspr paths
echo 'INCLUDES += -I$(DIST)/include/dbm' \
>> headers.mk || die "failed to append include"
# modify install path
sed -e '/CORE_DEPTH/s:SOURCE_PREFIX.*$:SOURCE_PREFIX = $(CORE_DEPTH)/dist:' \
-i source.mk || die
# Respect LDFLAGS
sed -i -e 's/\$(MKSHLIB) -o/\$(MKSHLIB) \$(LDFLAGS) -o/g' rules.mk
popd >/dev/null || die
# Fix pkgconfig file for Prefix
sed -i -e "/^PREFIX =/s:= /usr:= ${EPREFIX}/usr:" \
config/Makefile || die
# use host shlibsign if need be #436216
if tc-is-cross-compiler ; then
sed -i \
-e 's:"${2}"/shlibsign:shlibsign:' \
cmd/shlibsign/sign.sh || die
fi
# dirty hack
sed -i -e "/CRYPTOLIB/s:\$(SOFTOKEN_LIB_DIR):../freebl/\$(OBJDIR):" \
lib/ssl/config.mk || die
sed -i -e "/CRYPTOLIB/s:\$(SOFTOKEN_LIB_DIR):../../lib/freebl/\$(OBJDIR):" \
cmd/platlibs.mk || die
multilib_copy_sources
strip-flags
}
multilib_src_configure() {
# Ensure we stay multilib aware
sed -i -e "/@libdir@/ s:lib64:$(get_libdir):" config/Makefile || die
}
nssarch() {
# Most of the arches are the same as $ARCH
local t=${1:-${CHOST}}
case ${t} in
aarch64*)echo "aarch64";;
hppa*) echo "parisc";;
i?86*) echo "i686";;
x86_64*) echo "x86_64";;
*) tc-arch ${t};;
esac
}
nssbits() {
local cc cppflags="${1}CPPFLAGS" cflags="${1}CFLAGS"
if [[ ${1} == BUILD_ ]]; then
cc=$(tc-getBUILD_CC)
else
cc=$(tc-getCC)
fi
echo > "${T}"/test.c || die
${cc} ${!cppflags} ${!cflags} -c "${T}"/test.c -o "${T}/${1}test.o" || die
case $(file "${T}/${1}test.o") in
*32-bit*x86-64*) echo USE_X32=1;;
*64-bit*|*ppc64*|*x86_64*) echo USE_64=1;;
*32-bit*|*ppc*|*i386*) ;;
*) die "Failed to detect whether ${cc} builds 64bits or 32bits, disable distcc if you're using it, please";;
esac
}
multilib_src_compile() {
# use ABI to determine bit'ness, or fallback if unset
local buildbits mybits
case "${ABI}" in
n32) mybits="USE_N32=1";;
x32) mybits="USE_X32=1";;
s390x|*64) mybits="USE_64=1";;
${DEFAULT_ABI})
einfo "Running compilation test to determine bit'ness"
mybits=$(nssbits)
;;
esac
# bitness of host may differ from target
if tc-is-cross-compiler; then
buildbits=$(nssbits BUILD_)
fi
local makeargs=(
CC="$(tc-getCC)"
AR="$(tc-getAR) rc \$@"
RANLIB="$(tc-getRANLIB)"
OPTIMIZER=
${mybits}
)
# Take care of nspr settings #436216
local myCPPFLAGS="${CPPFLAGS} $($(tc-getPKG_CONFIG) nspr --cflags)"
unset NSPR_INCLUDE_DIR
# Do not let `uname` be used.
if use kernel_linux ; then
makeargs+=(
OS_TARGET=Linux
OS_RELEASE=2.6
OS_TEST="$(nssarch)"
)
fi
export NSS_ENABLE_WERROR=0 #567158
export BUILD_OPT=1
export NSS_USE_SYSTEM_SQLITE=1
export NSDISTMODE=copy
export NSS_ENABLE_ECC=1
export FREEBL_NO_DEPEND=1
export ASFLAGS=""
local d
# Build the host tools first.
LDFLAGS="${BUILD_LDFLAGS}" \
XCFLAGS="${BUILD_CFLAGS}" \
NSPR_LIB_DIR="${T}/fakedir" \
emake -j1 -C coreconf \
CC="$(tc-getBUILD_CC)" \
${buildbits:-${mybits}}
makeargs+=( NSINSTALL="${PWD}/$(find -type f -name nsinstall)" )
# Then build the target tools.
for d in . lib/dbm ; do
CPPFLAGS="${myCPPFLAGS}" \
XCFLAGS="${CFLAGS} ${CPPFLAGS}" \
NSPR_LIB_DIR="${T}/fakedir" \
emake -j1 "${makeargs[@]}" -C ${d}
done
}
# Altering these 3 libraries breaks the CHK verification.
# All of the following cause it to break:
# - stripping
# - prelink
# - ELF signing
# http://www.mozilla.org/projects/security/pki/nss/tech-notes/tn6.html
# Either we have to NOT strip them, or we have to forcibly resign after
# stripping.
#local_libdir="$(get_libdir)"
#export STRIP_MASK="
# */${local_libdir}/libfreebl3.so*
# */${local_libdir}/libnssdbm3.so*
# */${local_libdir}/libsoftokn3.so*"
export NSS_CHK_SIGN_LIBS="freebl3 nssdbm3 softokn3"
generate_chk() {
local shlibsign="$1"
local libdir="$2"
einfo "Resigning core NSS libraries for FIPS validation"
shift 2
local i
for i in ${NSS_CHK_SIGN_LIBS} ; do
local libname=lib${i}.so
local chkname=lib${i}.chk
"${shlibsign}" \
-i "${libdir}"/${libname} \
-o "${libdir}"/${chkname}.tmp \
&& mv -f \
"${libdir}"/${chkname}.tmp \
"${libdir}"/${chkname} \
|| die "Failed to sign ${libname}"
done
}
cleanup_chk() {
local libdir="$1"
shift 1
local i
for i in ${NSS_CHK_SIGN_LIBS} ; do
local libfname="${libdir}/lib${i}.so"
# If the major version has changed, then we have old chk files.
[ ! -f "${libfname}" -a -f "${libfname}.chk" ] \
&& rm -f "${libfname}.chk"
done
}
multilib_src_install() {
pushd dist >/dev/null || die
dodir /usr/$(get_libdir)
cp -L */lib/*$(get_libname) "${ED}"/usr/$(get_libdir) || die "copying shared libs failed"
cp -L */lib/libcrmf.a "${ED}"/usr/$(get_libdir) || die "copying libs failed"
cp -L */lib/libfreebl.a "${ED}"/usr/$(get_libdir) || die "copying libs failed"
# Install nss-config and pkgconfig file
dodir /usr/bin
cp -L */bin/nss-config "${ED}"/usr/bin || die
dodir /usr/$(get_libdir)/pkgconfig
cp -L */lib/pkgconfig/nss.pc "${ED}"/usr/$(get_libdir)/pkgconfig || die
# create an nss-softokn.pc from nss.pc for libfreebl and some private headers
# bug 517266
sed -e 's#Libs:#Libs: -lfreebl#' \
-e 's#Cflags:#Cflags: -I${includedir}/private#' \
*/lib/pkgconfig/nss.pc >"${ED}"/usr/$(get_libdir)/pkgconfig/nss-softokn.pc \
|| die "could not create nss-softokn.pc"
# all the include files
insinto /usr/include/nss
doins public/nss/*.h
insinto /usr/include/nss/private
doins private/nss/{blapi,alghmac}.h
popd >/dev/null || die
local f nssutils
# Always enabled because we need it for chk generation.
nssutils="shlibsign"
if multilib_is_native_abi ; then
if use utils; then
# The tests we do not need to install.
#nssutils_test="bltest crmftest dbtest dertimetest
#fipstest remtest sdrtest"
# checkcert utils has been removed in nss-3.22:
# https://bugzilla.mozilla.org/show_bug.cgi?id=1187545
# https://hg.mozilla.org/projects/nss/rev/df1729d37870
nssutils="addbuiltin atob baddbdir btoa certcgi certutil
cmsutil conflict crlutil derdump digest makepqg mangle modutil multinit
nonspr10 ocspclnt oidcalc p7content p7env p7sign p7verify pk11mode
pk12util pp rsaperf selfserv shlibsign signtool signver ssltap strsclnt
symkeyutil tstclnt vfychain vfyserv"
# install man-pages for utils (bug #516810)
doman doc/nroff/*.1
fi
pushd dist/*/bin >/dev/null || die
for f in ${nssutils}; do
dobin ${f}
done
popd >/dev/null || die
fi
# Prelink breaks the CHK files. We don't have any reliable way to run
# shlibsign after prelink.
dodir /etc/prelink.conf.d
printf -- "-b ${EPREFIX}/usr/$(get_libdir)/lib%s.so\n" ${NSS_CHK_SIGN_LIBS} \
> "${ED}"/etc/prelink.conf.d/nss.conf
}
pkg_postinst() {
multilib_pkg_postinst() {
# We must re-sign the libraries AFTER they are stripped.
local shlibsign="${EROOT}/usr/bin/shlibsign"
# See if we can execute it (cross-compiling & such). #436216
"${shlibsign}" -h >&/dev/null
if [[ $? -gt 1 ]] ; then
shlibsign="shlibsign"
fi
generate_chk "${shlibsign}" "${EROOT}"/usr/$(get_libdir)
}
multilib_foreach_abi multilib_pkg_postinst
}
pkg_postrm() {
multilib_pkg_postrm() {
cleanup_chk "${EROOT}"/usr/$(get_libdir)
}
multilib_foreach_abi multilib_pkg_postrm
}

View File

@ -1,11 +0,0 @@
AUX 1.6.3-dont-create-extra-directories.patch 499 SHA256 9c8a18a56117830b9b9c50d95503928a08450cb8864d93cb72be98f532711a82 SHA512 69def6e4c5282dfaa070c41275ec6cdeccccf90c96ccb6c570e410ac3fba6cdf569468c9bdbcb3604de0c1c128d51d28846f5daa0f411a0c62d1fd2e5093795f WHIRLPOOL ccfdb194a1c0622939acf206ecd3e1dc0b33b03fb0a899364f15f1b920b08bdfab918f20f812da08c504fc9c98d132080272c7e249abf44c75a0d2da13d25cbb
AUX 2.0.2-dont-create-extra-directories.patch 595 SHA256 27e9e307dfca4a534efca368689d5bf8738d7019991a064f3d9e4f32ca6331c6 SHA512 942a063102fe0d5273b1727432111798375a0cc3f9131e85184226a7de194c5bcfa96c64f3440dfcee3949ac8ecd9afd67ac75b5b47a677e09ad6e50db8bb083 WHIRLPOOL 1bf8403474b7e950b2a519d3f0122166dd290627a45e728afd9439f2a6bcc181df81b65a390a61a7a69b523d4a2294fcad834608f4cbe7a72499e620686076ec
AUX 2.5.3-link-with-libatomic.patch 3837 SHA256 a615313865f527af1ef3e1fe8aaf272b77d80b3c33a2500edf7330cffd28f422 SHA512 8e3eac0cce77971a5c2357cc9fc8729f072363fcd160f5dec8ceb1b4b5ed938826bcfbabc7b78f81f21ff4b95aa38dcfc887470242589dd7684e79820a83a01a WHIRLPOOL 82216a015131ee04f21581b5e86afff1b40d44f4fac1f4898d2e0503f39cf81fd88c2a2e34a2da8b2ff98df48f5c717ee32ebcec2b932141d9120a1a90432284
AUX knot-1.service 337 SHA256 5140fd96b54c3ecf79e9f386ce27159fa5c9d85c60fea11eb3d46a1b98e17b1d SHA512 58c4186e57ebd00b86dae34d5d208ed8801c0376da40cccb23b3d4542a7ee04a1003a12a4b89347b76a384b50eae4a61f96164bf22ec987ce05b1c65691659e7 WHIRLPOOL 03d9fd28f19d7c4a5a17fce6944560e01a4f95dc67a6a6385900f407c638b13c6f2908c619e652a7cfa08cea823bccc39de7cd939c152811a05240b14751192c
AUX knot.init 861 SHA256 ec5c5aef42aaf7b0e47be6ea7dd94abdb38605f6e64b251184e381e2d490daf3 SHA512 e5faa96cbee618e9042bdfd0628f06c4bc4d23c7295521771e16f6eae715835a240799e8425317b03b1ea162966defb5d6b6592139cb1d9d61b47a24961ec9b9 WHIRLPOOL 5c102cf9ca93757a98be1e41f04027b6072b27e3e5e55d24c26040c94bcf6ac96cf5684ba639d3c65f9f46745a50981ac28a40bd50d432f04f83c5f84217ab60
AUX knot.service 275 SHA256 3b091f61652f7d91189659e1d297e5ead76c79f4b0515c9eb4c7f054894e6810 SHA512 37c4700320a2781aa93ca92bc2634c3e080c87337b7d632d0e2fa23f6e2e8fa1985d1d8e2516fed02b612da4d340472d5f8d0ae37c5b323ac17bbd61ca243a86 WHIRLPOOL 39623f669bf141e785b630cd5caa71f47e67d6aa923cbfda074a4644faf83f05214484d133618a2c3731342f5bb44ef942d7559f36e7e2cade3c2318e8461dcb
DIST knot-2.4.2.tar.xz 1109156 SHA256 37da7fcf1f194bd6376c63d8c4fa28a21899b56a3f3b63dba7095740a5752c52 SHA512 8e3f6ea1cf951f090977d26ed555a8e228416e2b7c7f86eae1b5d744099203effb1df6c664076547ef3e820fe8af15b370651edbf8b846b3c0707f4cd2faa4f2 WHIRLPOOL 34358644fa20dbe60ec77ac0fb2915810b03b949a5cfc014b1be1a2d212fcf3f2c5a22ca00a48eed2879a4a2014362501a8261704ce27ae334cb1ff2fd7b0174
DIST knot-2.5.3.tar.xz 1073372 SHA256 d78ae231a68ace264f5738c8e57481923bcad7413f3f440c06fa6cc0aded9d8e SHA512 c93bfdd42c3f1e5b74de7a5bb46841bee75d5153b4c72eb876f11e193a290484620ea8f877bd039c40fc665a9d5d07905a712e8e085c3267da5db5208aa71f08 WHIRLPOOL c6fa2cd7dde2cd0ee54a7fc68fdd441d6af03777c788adaf2534bc944a0a5f8f0445b2cc1f80502c905e1f55baf0f65db37b66a097e46ec9fa0c960767398278
EBUILD knot-2.4.2.ebuild 1526 SHA256 6eddabf0cd0a65752e9d34284e0efd79b1933ca429f3044b8cf61edaea4b8a59 SHA512 611df211d6cbf85ee1da5f451f6ecad1666dc2939941bd8f689367125c1ca84e39e6cd809373b81043b3969b11b748f0b56d28dd40e48506f0c1f76133008323 WHIRLPOOL 29efd8fa9919c6ed2ce7f9ed65a17dddf5346b3d9d4752b777cf07d3ae53d147d9f7843ec7d6b4e5516f0939a90dd6cda29df97950f8380259683f396914fe7a
EBUILD knot-2.5.3-r1.ebuild 1860 SHA256 d3f7c1246430b043976f3233b34ca8ab5f462861b53c73124c89975ee83f7e07 SHA512 dfa857d95e89c5c81eeaf3bff5b4e9a55a1b372e97cd01ef5158212664a23e585a2a6a7a1228214c4522ebc363c196f768eef675e8d23281efd7da3c3dc297f1 WHIRLPOOL e81ad53c9cf09dc6bb5ef8be3099ffafde797b6aee166a53cce38832caa327db648b78a8d93d9d90014942a203ea0f3c64556d745915c0f929303aa844bf0c1b
MISC metadata.xml 722 SHA256 b83d23fd04e358b42b1f5af545752931e83fa5b8e93ea12dc765a92ff6efe32e SHA512 885e24b980e0db1616e7e23f03e533dfa2766c87b066a3e3a130c02ea06cf1b944fc6406cc64b129b693d58de20bbdc4d52d485604d8772946d4c92047b08f54 WHIRLPOOL 3fdfe5b1a65d061d170f3f52eae65896c4813ab445c8d4dfda12b6d86bfd9abbada03617de14c49af7b0292b36b26b3dc78319cdd29de8051b321e2ca54124ba

View File

@ -1,15 +0,0 @@
--- src/Makefile.in.orig 2015-05-03 16:34:53.177934984 +0200
+++ src/Makefile.in 2015-05-03 16:35:11.481325329 +0200
@@ -2712,12 +2712,6 @@
uninstall-sbinPROGRAMS
-# Create storage and run-time directories
-install-data-hook:
- $(INSTALL) -d $(DESTDIR)/@config_dir@
- $(INSTALL) -d $(DESTDIR)/@run_dir@
- $(INSTALL) -d $(DESTDIR)/@storage_dir@
-
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT:

View File

@ -1,15 +0,0 @@
--- src/Makefile.in.orig 2015-05-10 20:59:26.854079700 +0200
+++ src/Makefile.in 2015-05-10 21:00:01.870857369 +0200
@@ -3401,12 +3401,6 @@
uninstall-pkgconfigDATA uninstall-sbinPROGRAMS
-# Create storage and run-time directories
-@HAVE_DAEMON_TRUE@install-data-hook:
-@HAVE_DAEMON_TRUE@ $(INSTALL) -d $(DESTDIR)/@config_dir@
-@HAVE_DAEMON_TRUE@ $(INSTALL) -d $(DESTDIR)/@run_dir@
-@HAVE_DAEMON_TRUE@ $(INSTALL) -d $(DESTDIR)/@storage_dir@
-
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT:

View File

@ -1,117 +0,0 @@
From 5cf2d1acf87fa0ab18375534ca210f1cabf212b3 Mon Sep 17 00:00:00 2001
From: Pierre-Olivier Mercier <nemunaire@nemunai.re>
Date: Wed, 2 Aug 2017 23:16:43 +0200
Subject: [PATCH] Link with libatomic on architectures that requires it
---
configure.ac | 10 +++++++++-
src/Makefile.am | 2 +-
2 files changed, 10 insertions(+), 2 deletions(-)
diff --git a/configure.ac b/configure.ac
index 2a28214..5bd1798 100644
--- a/configure.ac
+++ b/configure.ac
@@ -504,8 +504,16 @@ AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <sched.h>]], [[cpuset_t* set = cpuset
AC_COMPILE_IFELSE(
[AC_LANG_PROGRAM([[#include <stdint.h>]],
[[uint64_t val = 0; __atomic_add_fetch(&val, 1, __ATOMIC_RELAXED);]])],
- [AC_DEFINE(HAVE_ATOMIC, 1, [Define to 1 if you have '__atomic' functions.])]
+ [AC_DEFINE(HAVE_ATOMIC, 1, [Define to 1 if you have '__atomic' functions.])
+ AC_LINK_IFELSE(
+ [AC_LANG_PROGRAM([[#include <stdint.h>]],
+ [[uint64_t val = 0; __atomic_add_fetch(&val, 1, __ATOMIC_RELAXED);]])],
+ [atomic_LIBS=""],
+ [atomic_LIBS="-latomic"]
+ )],
+ [atomic_LIBS=""]
)
+AC_SUBST([atomic_LIBS])
# Prepare CFLAG_VISIBILITY to be used where needed
gl_VISIBILITY()
diff --git a/src/Makefile.am b/src/Makefile.am
index 948912e..bf28013 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -399,7 +399,7 @@ libknotd_la_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAG_VISIBILITY) $(systemd_CFLAGS) \
$(liburcu_CFLAGS) -DKNOTD_MOD_STATIC
libknotd_la_LDFLAGS = $(AM_LDFLAGS) -export-symbols-regex '^knotd_'
libknotd_la_LIBADD = libknot.la zscanner/libzscanner.la $(systemd_LIBS) \
- $(liburcu_LIBS)
+ $(liburcu_LIBS) $(atomic_LIBS)
###################
# Knot DNS Daemon #
--- a/src/Makefile.in 2017-08-05 18:09:14.029882010 +0200
+++ b/src/Makefile.in 2017-08-05 18:12:43.541190937 +0200
@@ -379,7 +379,7 @@
@STATIC_MODULE_dnstap_TRUE@ contrib/dnstap/libdnstap.la
libknotd_la_DEPENDENCIES = libknot.la zscanner/libzscanner.la \
$(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
- $(am__DEPENDENCIES_2)
+ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_2)
am__libknotd_la_SOURCES_DIST = knot/conf/base.c knot/conf/base.h \
knot/conf/conf.c knot/conf/conf.h knot/conf/confdb.c \
knot/conf/confdb.h knot/conf/confio.c knot/conf/confio.h \
@@ -937,6 +937,7 @@
am__quote = @am__quote@
am__tar = @am__tar@
am__untar = @am__untar@
+atomic_LIBS = @atomic_LIBS@
bindir = @bindir@
build = @build@
build_alias = @build_alias@
@@ -1275,7 +1276,8 @@
$(am__append_11)
libknotd_la_LDFLAGS = $(AM_LDFLAGS) -export-symbols-regex '^knotd_'
libknotd_la_LIBADD = libknot.la zscanner/libzscanner.la \
- $(systemd_LIBS) $(liburcu_LIBS) $(am__append_12)
+ $(systemd_LIBS) $(liburcu_LIBS) $(atomic_LIBS) \
+ $(am__append_12)
@HAVE_DAEMON_TRUE@sbin_SCRIPTS = utils/pykeymgr/pykeymgr
@HAVE_DAEMON_TRUE@CLEAN_FILES = $(sbin_SCRIPTS)
@HAVE_DAEMON_TRUE@knotddir = $(includedir)/knot
--- a/configure 2017-08-05 18:09:14.039882551 +0200
+++ b/configure 2017-08-05 18:12:18.779857706 +0200
@@ -655,6 +655,7 @@
CODE_COVERAGE_ENABLED_TRUE
HAVE_VISIBILITY
CFLAG_VISIBILITY
+atomic_LIBS
libidn_LIBS
libidn_CFLAGS
libidn2_LIBS
@@ -16347,10 +16358,32 @@
$as_echo "#define HAVE_ATOMIC 1" >>confdefs.h
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+#include <stdint.h>
+int
+main ()
+{
+uint64_t val = 0; __atomic_add_fetch(&val, 1, __ATOMIC_RELAXED);
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ atomic_LIBS=""
+else
+ atomic_LIBS="-latomic"
+
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+else
+ atomic_LIBS=""
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+
# Prepare CFLAG_VISIBILITY to be used where needed

View File

@ -1,17 +0,0 @@
[Unit]
Description=Knot high-performance DNS Server
After=network.target
[Service]
ExecStart=/usr/sbin/knotd
ExecReload=/usr/sbin/knotc reload
ExecStop=/usr/sbin/knotc stop
PrivateTmp=true
User=knot
Group=knot
RuntimeDirectory=knot
RuntimeDirectoryMode=750
AmbientCapabilities=CAP_NET_BIND_SERVICE
[Install]
WantedBy=multi-user.target

View File

@ -1,41 +0,0 @@
#!/sbin/openrc-run
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
command=/usr/sbin/knotd
command_args="-d"
pidfile=/var/run/knot/knot.pid
required_files=/etc/knot/knot.conf
extra_started_commands="reload"
description_reload="Reload configuration and changed zones."
depend() {
need net
}
start() {
checkpath -d -m 0750 -o knot:knot /var/run/knot/ /var/lib/knot/
ebegin "Starting knot"
start-stop-daemon --start \
--pidfile $pidfile --exec $command -- $command_args
eend $?
}
stop() {
ebegin "Stoping knot"
/usr/sbin/knotc stop >/dev/null 2>&1
# In case remote control is not working
if [ "$?" != 0 ]; then
if [ -f $pidfile ]; then
start-stop-daemon --stop --pidfile $pidfile
fi
fi
ewend $?
}
reload() {
ebegin "Reloading knot"
/usr/sbin/knotc reload >/dev/null
eend $?
}

View File

@ -1,14 +0,0 @@
[Unit]
Description=Knot high-performance DNS Server
After=network.target
[Service]
ExecStart=/usr/sbin/knotd
ExecReload=/usr/sbin/knotc reload
ExecStop=/usr/sbin/knotc stop
PrivateTmp=true
RuntimeDirectory=knot
RuntimeDirectoryMode=750
[Install]
WantedBy=multi-user.target

View File

@ -1,76 +0,0 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit bash-completion-r1 eutils systemd user
DESCRIPTION="High-performance authoritative-only DNS server"
HOMEPAGE="http://www.knot-dns.cz/"
SRC_URI="https://secure.nic.cz/files/knot-dns/${P/_/-}.tar.xz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="dnstap doc caps +fastparser idn systemd"
RDEPEND="
>=net-libs/gnutls-3.3:=
>=dev-libs/jansson-2.3
>=dev-db/lmdb-0.9.15
>=dev-libs/userspace-rcu-0.5.4
caps? ( >=sys-libs/libcap-ng-0.6.4 )
dnstap? (
dev-libs/fstrm
dev-libs/protobuf-c
)
idn? ( net-dns/libidn )
dev-libs/libedit
systemd? ( sys-apps/systemd )
"
DEPEND="${RDEPEND}
virtual/pkgconfig
doc? ( dev-python/sphinx )
"
S="${WORKDIR}/${P/_/-}"
src_configure() {
econf \
--with-storage="${EPREFIX}/var/lib/${PN}" \
--with-rundir="${EPREFIX}/var/run/${PN}" \
--with-lmdb \
--with-bash-completions="$(get_bashcompdir)" \
$(use_enable fastparser) \
$(use_enable dnstap) \
$(use_enable doc documentation) \
$(use_with idn libidn) \
--enable-systemd=$(usex systemd)
}
src_compile() {
default
if use doc; then
emake -C doc html
HTML_DOCS=( doc/_build/html/{*.html,*.js,_sources,_static} )
fi
}
src_test() {
emake check
}
src_install() {
default
keepdir /var/lib/${PN}
newinitd "${FILESDIR}/knot.init" knot
systemd_newunit "${FILESDIR}/knot.service-r1" knot.service
}
pkg_postinst() {
enewgroup knot 53
enewuser knot 53 -1 /var/lib/knot knot
}

View File

@ -1,92 +0,0 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit eutils systemd user
DESCRIPTION="High-performance authoritative-only DNS server"
HOMEPAGE="http://www.knot-dns.cz/"
SRC_URI="https://secure.nic.cz/files/knot-dns/${P/_/-}.tar.xz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
KNOT_MODULES="+dnsproxy dnstap +noudp +onlinesign rosedb +rrl +stats +synthrecord +whoami"
IUSE="doc caps +fastparser idn systemd +utils ${KNOT_MODULES}"
RDEPEND="
>=net-libs/gnutls-3.3:=
>=dev-db/lmdb-0.9.15
dev-python/lmdb
>=dev-libs/userspace-rcu-0.5.4
caps? ( >=sys-libs/libcap-ng-0.6.4 )
dnstap? (
dev-libs/fstrm
dev-libs/protobuf-c
)
idn? ( || ( net-dns/libidn >=net-dns/libidn2-2.0.0 ) )
dev-libs/libedit
systemd? ( >=sys-apps/systemd-229 )
"
DEPEND="${RDEPEND}
virtual/pkgconfig
doc? ( dev-python/sphinx )
"
S="${WORKDIR}/${P/_/-}"
PATCHES=(
"${FILESDIR}/${PV}-link-with-libatomic.patch"
)
src_configure() {
local my_conf=""
for u in ${KNOT_MODULES//+/}; do
my_conf+="$(use_with $u module-$u) "
done
econf \
--with-storage="${EPREFIX}/var/lib/${PN}" \
--with-rundir="${EPREFIX}/var/run/${PN}" \
$(use_enable fastparser) \
$(use_enable dnstap) \
$(use_enable doc documentation) \
$(use_enable utils utilities) \
$(use_enable systemd) \
$(use_with idn libidn) \
${my_conf}
}
src_compile() {
default
if use doc; then
emake -C doc html
HTML_DOCS=( doc/_build/html/{*.html,*.js,_sources,_static} )
fi
}
src_test() {
emake check
}
src_install() {
default
rmdir "${D}/var/run/${PN}" "${D}/var/run/"
keepdir /var/lib/${PN}
newinitd "${FILESDIR}/knot.init" knot
if use systemd; then
systemd_newunit "${FILESDIR}/knot-1.service" knot
fi
prune_libtool_files
}
pkg_postinst() {
enewgroup knot 53
enewuser knot 53 -1 /var/lib/knot knot
}

View File

@ -1,52 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>nemunaire@nemunai.re</email>
<name>Pierre-Olivier Mercier</name>
</maintainer>
<maintainer type="project">
<email>proxy-maint@gentoo.org</email>
<name>Proxy Maintainers</name>
</maintainer>
<use>
<flag name="dnsproxy">
Enable the tiny DNS proxy module.
</flag>
<flag name="dnstap">
Include support for the dnstap binary log format
(http://dnstap.info/).
</flag>
<flag name="fastparser">
Use a zone file parser that is faster, but requires
more memory and CPU time to compile.
</flag>
<flag name="noudp">
Enable the module which can send empty truncated
responses to UDP queries.
</flag>
<flag name="onlinesign">
Enable the module that sign zones on the fly instead of
pre-signing zone.
</flag>
<flag name="rosedb">
Enable the module that staticaly override certain
responses.
</flag>
<flag name="rrl">
Enable the response rate limiting module.
</flag>
<flag name="stats">
Enable the server statistics module.
</flag>
<flag name="synthrecord">
Enable the automatic forward/reverse records module.
</flag>
<flag name="utils">
Install Knot utilities, such as kdig, kzonecheck, ...
</flag>
<flag name="whoami">
Enable the whoami response module.
</flag>
</use>
</pkgmetadata>

View File

@ -1,7 +0,0 @@
AUX slrn-1.0.2-make.patch 1044 SHA256 167584a0820d1246c94f2638358d0e5664a2fed50cc84ee58a23c4064ed10fa6 SHA512 14859999f7739121027a7ddd6b0f157534a3e64a5c63b2354c4962c0391b9fbc5b4f80bc4260909561b534d79abcb3bdcca6f737eb52029f9c48cb0aae5f6473 WHIRLPOOL b0def6989699f8bb86a512a0210ef435cb867f4e6434d6e3e14d44c9ec019f12b04838633341334a8fcd83f13023dde4935743504ff533b46d424841c2cf6ae1
AUX slrn-1.0.3-make.patch 1044 SHA256 167584a0820d1246c94f2638358d0e5664a2fed50cc84ee58a23c4064ed10fa6 SHA512 14859999f7739121027a7ddd6b0f157534a3e64a5c63b2354c4962c0391b9fbc5b4f80bc4260909561b534d79abcb3bdcca6f737eb52029f9c48cb0aae5f6473 WHIRLPOOL b0def6989699f8bb86a512a0210ef435cb867f4e6434d6e3e14d44c9ec019f12b04838633341334a8fcd83f13023dde4935743504ff533b46d424841c2cf6ae1
DIST slrn-1.0.2.tar.bz2 995433 SHA256 99acbc51e7212ccc5c39556fa8ec6ada772f0bb5cc45a3bb90dadb8fe764fb59 SHA512 264dce88622e544356782c483f3639252ba57408d79775b2cd3ea06962ea3ebc568bc45ed19f1690c66b5b71d82eadeebd62a0bad656b1339ab7b80eb3f3cc5f WHIRLPOOL 831cce64c22fb42d7b6f3ecd6b19e8b6e26b9a25a5c1b75aeea74b9368b09bf5abc8acfc86b7651e528e9db20c4586ba56a05d18ee2c094d752947f832f31e0f
DIST slrn-1.0.3a.tar.bz2 997138 SHA256 3ba8a4d549201640f2b82d53fb1bec1250f908052a7983f0061c983c634c2dac SHA512 11cef2dfe41f441af15acc22fb675cf607e932f0dd6d4a998e51ecda05c9a50d7abf10a3e693ffc857ad77e09634f460404e4d5b289169e7bbffdaf5d6d565a3 WHIRLPOOL fca546d650ef8e2e015b73faea2ea4f28b118ce22295754dd731041ed4f8e77bb290cd188e863486b13afa7bb42cc510797ae30bf257e83b547e8e9b38aea4a4
EBUILD slrn-1.0.2.ebuild 912 SHA256 8be55b84546fcc608f0d8c9cfa436fd298bcb8aeaedb366c36d140a86e3ada72 SHA512 4380069e15b8398c2c1a6b06a3f62e51d7935bfe77c4eb4a5a2ec196dc33c3d0452ce9811bd0f7d38598e3af4079ca9978b4dea4a0a3e7f7e8c8b7ed6889c154 WHIRLPOOL 4effb7808559cbc2860f32a30eac0239418c685f2e92125204a575b731341532b0ffd94bafb801e361bb271b1525eb02882167583697e4b65cc63455e7f4d1f6
EBUILD slrn-1.0.3.ebuild 886 SHA256 0e1bb48fe46fcb927d5ae0e07d706dc5941f7a8e862f3c34f9d794f865454497 SHA512 7506aa74cd60eee4bb41e902a693db326ec98139f4fc595595ec2295abdc28cd61a17267f82f3598b2e4d6c489e7a793dfb233839999accbc49b57fe4b0fadec WHIRLPOOL 34a7c38b7a8cac42c581515aa8ba2f6b176986d9a6d9fbc988a8d32cc3be0bdc26227bdd167197211a117af7a86c726e0bd6701ac92f4765e1838fb445627096
MISC metadata.xml 659 SHA256 eee4e4f943f23021f2a932fbed95b3603ee6f5605e82c040f6e2c06259c73f43 SHA512 96c12fba55179bf63aa81e54517cca962f7724c95d89ebc4048c0fab89a14acf3c3c541fa489593570b9a3afb1f88f85302278650c2224b9aea1f2e749c0cafa WHIRLPOOL 43acecb891dbcd01e1769fef14d4b1c41d8860a217bfda2dc655e752546329440121b602684813c376b993132a0b38bbe85feb5782991b185c38806ace885d02

View File

@ -1,36 +0,0 @@
--- slrn-1.0.2/src/Makefile.in
+++ slrn-1.0.2/src/Makefile.in
@@ -153,7 +153,7 @@
$(MKINSDIR) $(DEST_SLRN_LIB_DIR)
$(MKINSDIR) $(DEST_SLRN_SLANG_DIR)
# $(MKINSDIR) $(DEST_CONFDIR)
-installdocs:
+installdocs: installdirs
@for i in $(MAN_FILES); \
do \
echo $(INSTALL_DATA) $$i $(DEST_MANDIR)/man1/; \
@@ -186,7 +186,7 @@
exit 1; \
fi; \
done
-installslang:
+installslang: installdirs
@files=$(CONF_FILES); \
for i in $$files; \
do \
@@ -204,11 +204,11 @@
exit 1; \
fi; \
done
-installlocales:
+installlocales: installdirs
-cd ../po; $(MAKE) DESTDIR=$(DESTDIR) LOCALEDIR=$(LOCALEDIR) install
-installbin:
- $(INSTALL) -m 755 -s $(OBJDIR)/slrn $(DEST_BINDIR)
- -$(INSTALL) -m 755 -s $(OBJDIR)/slrnpull $(DEST_BINDIR)
+installbin: installdirs
+ $(INSTALL) -m 755 $(OBJDIR)/slrn $(DEST_BINDIR)
+ -$(INSTALL) -m 755 $(OBJDIR)/slrnpull $(DEST_BINDIR)
install: all installdirs installbin installdocs installslang installlocales
# The symlinks target is for my own private use. It simply creates the object

View File

@ -1,39 +0,0 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
MY_P="${P}a"
DESCRIPTION="A s-lang based newsreader"
HOMEPAGE="http://slrn.sourceforge.net/"
SRC_URI="http://jedsoft.org/releases/${PN}/${MY_P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
IUSE="canlock libressl nls ssl uudeview"
RDEPEND="app-arch/sharutils
>=sys-libs/slang-2.2.3
virtual/mta
canlock? ( net-libs/canlock )
ssl? (
!libressl? ( dev-libs/openssl:0= )
libressl? ( dev-libs/libressl:0= )
)
uudeview? ( dev-libs/uulib )"
DEPEND="${RDEPEND}
nls? ( sys-devel/gettext )"
PATCHES=( "${FILESDIR}"/${P}-make.patch )
src_configure() {
econf \
--with-docdir="${EPREFIX}"/usr/share/doc/${PF} \
--with-slrnpull \
$(use_with canlock) \
$(use_enable nls) \
$(use_with ssl) \
$(use_with uudeview uu)
}

View File

@ -1,4 +0,0 @@
AUX sniproxy.init 493 SHA256 06e340db11a20102c227a3a8cd80e870c5363091455832f59802dc4000b43c33 SHA512 6dc6ba017c18cc5c4b15b2085e95157c396c44b8d368b6ee28c559c9d4072460604afca3a20c46c639c5b095a3da65e3b2b15fc20d738e41651cc77615dd3ca0 WHIRLPOOL 45b11da0d66cd86b5b4043892cd44337a304bf563bffc1b537a4cf0700641045e1e29ca23b443957f70f59941c653ac65be1333e5d4e653aeb5a5946374b759f
DIST sniproxy-0.5.0.tar.gz 72654 SHA256 0b8dd06f9aa9e1c4151b572caf645ffceacdd35a139ded16a7fb0035452c17e5 SHA512 52dbb217193d2b7bf9dea37b13fde395b5c56d0a6627508a245f2807920deb282aae3c1ae7e6b5fa68432990e48998989fd28027b65cb7310f214b29f98e5e5d WHIRLPOOL c353326d5a25123da9c6fbfb85c2a9435f036792f8442adb6650b91b9d51d8916eaded75aa68fdf05768db72bc4f9cccf5dae256e21559d7b5d26ccff6c48b41
EBUILD sniproxy-0.5.0.ebuild 1300 SHA256 3780a95a7d0b49c0c183b2a3f3665851d0ce1cf2ba183d02101eee094e4aa912 SHA512 b749fd7069ddf7716e610ea97033bce2de146a3e77c2219c6d6eb4b754a2d3c6e99514cfebd2931b53b8393cc6ba736c56116c36623a84a1c71bfcaab930b7a5 WHIRLPOOL 8704c72df400962ca7021406ce0e184be86e96af2c0510bc22a961a6569f763cd4c8c6c32a41169efde986722cd8ff3a8accc3204f0d8b578ccab22ee974c882
MISC metadata.xml 630 SHA256 737c49cb3f53fe0ed05458003c7f081058dfa521011a566f2da18f38e2aa7b60 SHA512 263e1b4f405a67f6e402cd842d95640664c9f961ee29c614022787be76a2d83b5dcb3c4e784bef4369424680bdf1888d440eeb0a195dd8dfa65132c137a2fb55 WHIRLPOOL 4e5a4aa7f9d370f5674c554d3f79fd7cb9a6b7f6ed01d70b24f41021e54495e9f02decf2718dd0e893ba9d467322627d2f9a8c53d003f01aaf770043e137d379

View File

@ -1,17 +0,0 @@
#!/sbin/openrc-run
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
name="sniproxy daemon"
description="Proxies incoming HTTP and TLS connections based on the hostname contained in the initial request."
SNIPROXY_CONFFILE=${SNIPROXY_CONFFILE:-/etc/sniproxy/${SVCNAME}.conf}
command="/usr/sbin/sniproxy"
command_args="-c \"${SNIPROXY_CONFFILE}\""
pidfile=${SNIPROXY_PIDFILE:-/var/run/sniproxy.pid}
depend() {
need net
use logger
}

View File

@ -1,23 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>nemunaire@nemunai.re</email>
<name>Pierre-Olivier Mercier</name>
</maintainer>
<maintainer type="project">
<email>proxy-maint@gentoo.org</email>
<name>Proxy Maintainers</name>
</maintainer>
<use>
<flag name="dns">
Enable DNS resolver via net-libs/udns
</flag>
<flag name="largefile">
Enable large file support (so we can log more than 2GB)
</flag>
<flag name="rfc3339">
Use RFC3339 timestamp format in log.
</flag>
</use>
</pkgmetadata>

View File

@ -1,63 +0,0 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit autotools user
if [[ ${PV} == 9999* ]]; then
EGIT_REPO_URI="https://github.com/dlundquist/sniproxy.git"
EGIT_BRANCH="master"
inherit git-r3
KEYWORDS=""
else
SRC_URI="https://github.com/dlundquist/sniproxy/archive/${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64 ~x86"
fi
DESCRIPTION="Proxies incoming HTTP and TLS connections based on the hostname"
HOMEPAGE="https://github.com/dlundquist/sniproxy"
LICENSE="BSD-2"
SLOT="0"
IUSE="+dns +largefile rfc3339"
RDEPEND="
dev-libs/libev
>=dev-libs/libpcre-3
dns? ( net-libs/udns )
"
DEPEND="${RDEPEND}"
src_prepare() {
default
eautoreconf
{
sed -i "/user/s/daemon/sniproxy/" debian/sniproxy.conf &&
sed -i "/create/s/daemon/sniproxy/" debian/logrotate.conf
} || die "Unable to replace configuration"
}
src_install() {
default
newinitd "${FILESDIR}/sniproxy.init" sniproxy
insinto /etc/sniproxy
doins "${S}"/debian/sniproxy.conf
keepdir /var/log/sniproxy
insinto /etc/logrotate.d
newins "${S}"/debian/logrotate.conf sniproxy
dodoc ARCHITECTURE.md AUTHORS README.md
doman man/sniproxy.8
doman man/sniproxy.conf.5
}
pkg_postinst() {
enewgroup ${PN}
enewuser ${PN} -1 -1 /var/lib/sniproxy ${PN}
}