Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 363294 Details for
Bug 427030
net-misc/sks version bump (and it should install an init.d script along with a uid/gid)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
sks-1.1.4.ebuild
sks-1.1.4.ebuild (text/plain), 3.57 KB, created by
Kristian Fiskerstrand (RETIRED)
on 2013-11-14 21:20:12 UTC
(
hide
)
Description:
sks-1.1.4.ebuild
Filename:
MIME Type:
Creator:
Kristian Fiskerstrand (RETIRED)
Created:
2013-11-14 21:20:12 UTC
Size:
3.57 KB
patch
obsolete
># Copyright 1999-2012 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: /var/cvsroot/gentoo-x86/net-misc/sks/sks-1.1.2.ebuild,v 1.4 2012/02/07 00:34:06 kingtaco Exp $ > >EAPI=4 > >inherit eutils multilib > >DESCRIPTION="SKS Keyserver" >HOMEPAGE="https://bitbucket.org/skskeyserver/sks-keyserver" >SRC_URI="https://bitbucket.org/skskeyserver/sks-keyserver/downloads/${P}.tgz" >LICENSE="GPL-2" >SLOT="0" >KEYWORDS="~amd64 ~x86" >IUSE="systemd optimize test" > >DEPEND="dev-lang/ocaml > dev-ml/cryptokit > sys-libs/db:4.8" >RDEPEND="${DEPEND}" > >pkg_setup() { > ebegin "Creating named group and user" > enewgroup sks > enewuser sks -1 -1 /var/lib/sks sks >} > >src_prepare() { > epatch "${FILESDIR}/0001_ECC_OID_fix_x86.patch"; > > cp Makefile.local.unused Makefile.local || die > sed -i \ > -e "s:^BDBLIB=.*$:BDBLIB=-L/usr/$(get_libdir):g" \ > -e "s:^BDBINCLUDE=.*$:BDBINCLUDE=-I/usr/include/db4.8/:g" \ > -e "s:^LIBDB=.*$:LIBDB=-ldb-4.8:g" \ > -e "s:^PREFIX=.*$:PREFIX=${D}/usr:g" \ > -e "s:^MANDIR=.*$:MANDIR=${D}/usr/share/man:g" \ > Makefile.local || die > sed -i \ > -e 's:^CAMLINCLUDE= -I lib -I bdb$:CAMLINCLUDE= -I lib -I bdb -I +cryptokit:g' \ > -e 's:-Werror-implicit-function-declaration::g' \ > Makefile bdb/Makefile || die > sed -i \ > -e 's:/usr/sbin/sks:/usr/bin/sks:g' \ > sks_build.sh || die >} > >src_compile() { > emake dep > emake -j1 all > if use optimize; then > emake all.bc > fi >} > >src_test() { > ./sks unit_test >} > >src_install() { > if use optimize; then > emake install.bc > dosym /usr/bin/sks.bc usr/bin/sks > dosym /usr/bin/sks_add_mail.bc usr/bin/sks_add_mail > else > emake install > fi > > dodoc README.md > > newinitd "${FILESDIR}/sks-db.runscript" sks-db > newinitd "${FILESDIR}/sks-recon.runscript" sks-recon > newconfd "${FILESDIR}/sks-confd" sks > use systemd && systemd_dounit "${FILESDIR}/sks-db.service" > use systemd && systemd_dounit "${FILESDIR}/sks-recon.service" > > mkdir -p $D/var/lib/sks/web.typical > cp $S/sampleConfig/DB_CONFIG $D/var/lib/sks/DB_CONFIG.typical > cp $S/sampleConfig/sksconf.typical $D/var/lib/sks/sksconf.typical > cp $S/sampleWeb/HTML5/* $D/var/lib/sks/web.typical/ > > keepdir /var/lib/sks >} > >pkg_postinst() { > einfo "To get sks running, first build the database," > einfo "start the databse, import atleast one key, then" > einfo "run a cleandb. See the sks man page for more" > einfo "information" > einfo "Typical DB_CONFIG file and sksconf has been installed" > einfo "in /var/lib/sks and can be used as templates by renaming" > einfo "to remove the .typical extension. The DB_CONFIG file has" > einfo "to be in place before doing the database build, or the BDB" > einfo "environment has to be manually cleared from both KDB and PTree." > einfo "The same applies if you are upgrading to this version with an existing KDB/Ptree," > einfo "using another version of BDB than 4.8; you need to clear the environment" > einfo "using e.g. db4.6_recover -h . and db4.6_checkpoint -1h . in both KDB and PTree" > einfo "Additionally a sample web interface has been installed as" > einfo "web.typical in /var/lib/sks that can be used by renaming it to web" > einfo "Important: It is strongly recommended to set up SKS behind a" > einfo "reverse proxy. Instructions on properly configuring SKS can be" > einfo "found at https://bitbucket.org/skskeyserver/sks-keyserver/wiki/Peering" > ewarn "Note when upgrading from earlier versions of SKS" > ewarn "====================" > ewarn "The default values for pagesize settings have changed. To continue" > ewarn "using an existing DB without rebuilding, explicit settings have to be" > ewarn "added to the sksconf file." > ewarn "pagesize: 4" > ewarn "ptree_pagesize: 1" >} >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 427030
:
332860
|
332862
|
332864
|
332866
|
332868
|
332870
|
332872
|
363282
|
363284
|
363294
|
363302
|
363304
|
363306
|
363344
|
363346