diff options
Diffstat (limited to 'mail-filter')
-rw-r--r-- | mail-filter/Manifest.gz | bin | 11028 -> 11033 bytes | |||
-rw-r--r-- | mail-filter/milter-regex/Manifest | 7 | ||||
-rw-r--r-- | mail-filter/milter-regex/files/milter-regex-2.2-gentoo.patch | 38 | ||||
-rw-r--r-- | mail-filter/milter-regex/files/milter-regex-conf-2.2 | 13 | ||||
-rw-r--r-- | mail-filter/milter-regex/files/milter-regex-init-2.2 | 14 | ||||
-rw-r--r-- | mail-filter/milter-regex/metadata.xml | 26 | ||||
-rw-r--r-- | mail-filter/milter-regex/milter-regex-2.2.ebuild | 51 | ||||
-rw-r--r-- | mail-filter/razor/Manifest | 3 | ||||
-rw-r--r-- | mail-filter/razor/files/razor-2.85-makefile-quoting-fix.patch | 15 | ||||
-rw-r--r-- | mail-filter/razor/razor-2.85-r2.ebuild | 81 | ||||
-rw-r--r-- | mail-filter/razor/razor-2.85-r3.ebuild | 89 |
11 files changed, 248 insertions, 89 deletions
diff --git a/mail-filter/Manifest.gz b/mail-filter/Manifest.gz Binary files differindex d8894b8cacdb..9419cf06f57f 100644 --- a/mail-filter/Manifest.gz +++ b/mail-filter/Manifest.gz diff --git a/mail-filter/milter-regex/Manifest b/mail-filter/milter-regex/Manifest index 4f337fd47857..070e281e4b14 100644 --- a/mail-filter/milter-regex/Manifest +++ b/mail-filter/milter-regex/Manifest @@ -1,6 +1,11 @@ AUX milter-regex-1.9-gentoo.patch 1074 BLAKE2B 2a5d23b52327ec538ca2c59cba79569c8ba376d2ed0cf8a72bb0cda669de0db143baf59b5f62ac7d896e3e8d7158af88c47f32e09cbc454fdc4601b00c66341f SHA512 d7311e3da08aeb39b2706c110c67a1aaf3f114aeb3fe94a73f8c10a8327e1865cb911f992a887fb518a6c500a4bae5d4e8c39955820436b21dab8f3820dd27cc +AUX milter-regex-2.2-gentoo.patch 1078 BLAKE2B 30b782e70b2b9b23d3bdfb22ac5bdecfc1af0d08b018ac9f05d3893eef7f398a47072824cf814d8bea98a148f28c054d13963a54a1b98481961e6377233ca74f SHA512 6e5af31774d7dcb9d53eb4736bf1604f1d63ac83ad4cfb28bdcef451ff932f918afbbb4f6dcc68f5a82cba84c24f15f67ddffacb05b849297a942a789568a81b AUX milter-regex-conf 177 BLAKE2B 9a05241608c171c8cd0ff3c34962718baa94b5f67692758b01247de2386e3142f6cb4704b32b47427f2f45b222685ec9205227b4d99dfcc0c41f82f194c3c8f9 SHA512 b4fa346684bf2184021adad76c44fbf38e3127299792d5a3b0f0052019a6046deaab19b56bee2b44b7f4fced9c309f440cf4be18f8190d661fc08bedaadbc2e8 +AUX milter-regex-conf-2.2 274 BLAKE2B 6622d3f5bee56d25a60ba2e9826bcbdf82a8ffaefab4ab94a9d45d8bb9d8d4c9dbba554589d608cf4d80d44d982f1cdd1d2edc35dccd5f7bb89f27b042aa13bb SHA512 5c16d1d121cd17b15520fb7d8bf6e06440e4b87c4214a2fc1587317d0927d96ba04d89610ee4c5db3b6fdfa2fe5ca536149e782081138e2b0b8c93826febcab5 AUX milter-regex-init 842 BLAKE2B 052aee4916608c42f5d664a9bb46eea5c839456f69b71c6f4c9f737abd88eb86cc0a8e8814cab6391264c084967dd90c64117bbc2db55d79c82b37f79a991a89 SHA512 63ba6f37fe387179c12c6b938985cfd37d5a9ea470d90666636d14d5bac53fe42ee11e559513db6cd3f21066a9adc0ee3ef59c361bc5e65364fc9a41525ff2c8 +AUX milter-regex-init-2.2 409 BLAKE2B 16b13cdd120a283918f7b7bf7802f3114c164776760a08a03158968347a757ea6db1d18ae957c0736def7ae08a47ca3d7c4c6c36fafc4cb624ff7521fc591a5f SHA512 4cb777e506304a0460da9ed13ad94257737a1f8d7346e0d0b6dc30b496da7863861c3d3184ed10e577e1b7ab234e210da70cc42a497c0111538f5a03ac21fc98 DIST milter-regex-1.9.tar.gz 19880 BLAKE2B 8934eb4f78f168b6f4f93b3a7e70b896c6518cd1228ea8fe387184a718a002f051f5084a7a7f4d07c9e7832fe1c9e9bc907661c4e765dde938b7c6049c8772e6 SHA512 55cb97eba01220eb57c29498a090152c05d259abbe6f771e47a67499e7c2a1d4121ec9d0bce84cc8b6490bcd20dea8eaaba753e61f1ce9002edd8440b13f7148 +DIST milter-regex-2.2.tar.gz 20496 BLAKE2B 75cd668e8f75a62bb16d1e38d089465e1e9b49a7441594cb8f77279c9e29f1b90c7b452595f8653b81167fbed8f10e8322ccec51374446938ca43b245cbfa440 SHA512 c2f94d1d9897e2a3f62639343ff9272d28c044f25c59e10f12f37250aa0e5426174cb2a74850993246628e828d21f5cba8567de65a225235eac1969836e41f28 EBUILD milter-regex-1.9.ebuild 1629 BLAKE2B ab1894e178101a82f0770c7a55fb010c2edc07a62ade4992870be338a5e9d2b17e704e6fdb31beb3338c78013c6b6102ce813144b0de1a7d1e06d923aee25221 SHA512 f58ccd7fe3c43aaaea5508f5ef653c6a00d336cb130fef4b124d4402f1e7bf3c0e30d3720e5a2ccfabee41b8fcd21f2d302d955a74b8db75f14ce7960790dd75 -MISC metadata.xml 479 BLAKE2B 461923701b076e778c5bb13a22e9d3d1d5774439a6cf4e85066c8cb1ec47dc3dbbd07b928ae4bdc72e94ea6f4a559e46d20a6b9fcc4e3db60690cfc1f3b1dc8f SHA512 7cdb6340985723327504cc1df87cccf32813bdef5e014f2c794b50482072efc990707edc47c3818baf86c972d1032da7631e216bc47ab72ee37de0061ccf2b50 +EBUILD milter-regex-2.2.ebuild 1270 BLAKE2B bd58fe31035c9dcb7e4e2a45c28875c1acdfc532501d082148277cc5238fef566123004e5b3a95578e72e5055c08efb736d9e6669aed5690fcf60f6122238a28 SHA512 d30adc300ea4e186a202befef8cde5a22a5acbb4e9208ef4ee8abfc3353a5693b3ce33231713833a9b38ed321e5f00570da5a3d5dbfad9295e9ec35a0d869647 +MISC metadata.xml 801 BLAKE2B fecf24c1cf94b3a8435c676546684ee2804c399550a3259c0a89763a71d0077cce15e24fbeeaa5727e3f7a7eb3df97cf3ed9228bd57bf6a7916abe6c5c95e7e8 SHA512 7bd781757ba81d5dfa5cd24ec86953ddd04e6f0778d4db1bdfb3f6fe0a8bc09c64df0889687393aeadba690e0f07b88eecf6729adff754f03ed061acb549e0bf diff --git a/mail-filter/milter-regex/files/milter-regex-2.2-gentoo.patch b/mail-filter/milter-regex/files/milter-regex-2.2-gentoo.patch new file mode 100644 index 000000000000..14efd964f843 --- /dev/null +++ b/mail-filter/milter-regex/files/milter-regex-2.2-gentoo.patch @@ -0,0 +1,38 @@ +--- a/Makefile.linux 2011-07-16 16:51:34.000000000 +0300 ++++ a/Makefile.linux 2012-08-05 18:15:30.906378968 +0300 +@@ -6,28 +6,27 @@ + # see milter-regex.init for an init script for RedHat/Fedora + # (contributed by admin@2ka.mipt.ru) + +-CFLAGS= -g +-LDFLAGS= -L/usr/lib/libmilter -lmilter -lpthread ++LIBS= -lmilter -lpthread + + all: milter-regex milter-regex.cat8 + + milter-regex: milter-regex.o eval.o strlcat.o strlcpy.o y.tab.o +- gcc -o milter-regex milter-regex.o eval.o strlcat.o strlcpy.o y.tab.o $(LDFLAGS) ++ $(CC) $(LDFLAGS) -o milter-regex milter-regex.o eval.o strlcat.o strlcpy.o y.tab.o $(LIBS) + + milter-regex.o: milter-regex.c eval.h +- gcc $(CFLAGS) -c milter-regex.c ++ $(CC) $(CFLAGS) -c milter-regex.c + + eval.o: eval.c eval.h +- gcc $(CFLAGS) -c eval.c ++ $(CC) $(CFLAGS) -c eval.c + + strlcat.o: strlcat.c +- gcc $(CFLAGS) -c strlcat.c ++ $(CC) $(CFLAGS) -c strlcat.c + + strlcpy.o: strlcpy.c +- gcc $(CFLAGS) -c strlcpy.c ++ $(CC) $(CFLAGS) -c strlcpy.c + + y.tab.o: y.tab.c +- gcc $(CFLAGS) -c y.tab.c ++ $(CC) $(CFLAGS) -c y.tab.c + + y.tab.c: parse.y + yacc -d parse.y diff --git a/mail-filter/milter-regex/files/milter-regex-conf-2.2 b/mail-filter/milter-regex/files/milter-regex-conf-2.2 new file mode 100644 index 000000000000..382a5fe1d978 --- /dev/null +++ b/mail-filter/milter-regex/files/milter-regex-conf-2.2 @@ -0,0 +1,13 @@ +# Config file. +MR_CONF="/etc/milter-regex.conf" + +# Process and socket owner, socket group, socket permissions. +MR_USER="milter" +MR_GROUP="milter" +MR_PERM="0660" + +MR_RUNDIR="/run/milter-regex" +MR_SOCKET="${MR_RUNDIR}/socket" + +# Additional options for logging etc. +MR_OPTS="" diff --git a/mail-filter/milter-regex/files/milter-regex-init-2.2 b/mail-filter/milter-regex/files/milter-regex-init-2.2 new file mode 100644 index 000000000000..57c5988babb1 --- /dev/null +++ b/mail-filter/milter-regex/files/milter-regex-init-2.2 @@ -0,0 +1,14 @@ +#!/sbin/openrc-run +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +command="/usr/bin/milter-regex" +command_args="-c ${MR_CONF} -u ${MR_USER} -p unix:${MR_SOCKET} -P ${MR_PERM} -U ${MR_USER} -G ${MR_GROUP} ${MR_OPTS}" + +depend() { + before postfix sendmail +} + +start_pre() { + checkpath --directory --mode 0755 --owner ${MR_USER}:${MR_GROUP} ${MR_RUNDIR} +} diff --git a/mail-filter/milter-regex/metadata.xml b/mail-filter/milter-regex/metadata.xml index 400a0fa1ec9d..e6990e63034f 100644 --- a/mail-filter/milter-regex/metadata.xml +++ b/mail-filter/milter-regex/metadata.xml @@ -1,10 +1,24 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> -<maintainer type="project"> - <email>net-mail@gentoo.org</email> - <name>Net-Mail</name> -</maintainer> -<longdescription>milter-regex is a very simple milter-based plugin that rejects or discards messages matching -regular expressions. It doesn't add much processing overhead, so even a busy mail server can afford to run it.</longdescription> + <maintainer type="person"> + <email>gentoo@seichter.de</email> + <name>Ralph Seichter</name> + </maintainer> + <maintainer type="project"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> + <maintainer type="project"> + <email>net-mail@gentoo.org</email> + <name>Net-Mail</name> + </maintainer> + <longdescription> + milter-regex is a very simple milter-based plugin that rejects or + discards messages matching regular expressions. It doesn't add much + processing overhead, so even a busy mail server can afford to run it. + </longdescription> + <upstream> + <doc>https://www.benzedrine.ch/milter-regex.html</doc> + </upstream> </pkgmetadata> diff --git a/mail-filter/milter-regex/milter-regex-2.2.ebuild b/mail-filter/milter-regex/milter-regex-2.2.ebuild new file mode 100644 index 000000000000..5b060fbb4e9a --- /dev/null +++ b/mail-filter/milter-regex/milter-regex-2.2.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit toolchain-funcs user + +DESCRIPTION="A milter-based regular expression filter" +HOMEPAGE="https://www.benzedrine.ch/milter-regex.html" +SRC_URI="https://www.benzedrine.ch/${P}.tar.gz" +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND="|| ( mail-filter/libmilter mail-mta/sendmail )" +DEPEND="${RDEPEND} + virtual/yacc" + +PATCHES=( "${FILESDIR}/${P}-gentoo.patch" ) + +src_compile() { + emake CC="$(tc-getCC)" -f Makefile.linux all +} + +src_install() { + dobin ${PN} + + insinto /etc + newins rules ${PN}.conf + + newconfd "${FILESDIR}/${PN}-conf-${PV}" ${PN} + newinitd "${FILESDIR}/${PN}-init-${PV}" ${PN} + + doman *.8 +} + +pkg_preinst() { + # For consistency with mail-milter/spamass-milter (see bug #280571). + # While the milter process requires an owner, a home directory is not + # necessary because no data is written. + enewgroup milter + enewuser milter -1 -1 /var/lib/milter milter +} + +pkg_postinst() { + elog "Postfix configuration example (add to main.cf or master.cf):" + elog " smtpd_milters=unix:/run/milter-regex/socket" + elog "Sendmail configuration example:" + elog " INPUT_MAIL_FILTER(\`${PN}',\`S=unix:/run/milter-regex/socket,T=S:30s;R:2m')" +} diff --git a/mail-filter/razor/Manifest b/mail-filter/razor/Manifest index 2c8179dea7a9..d6bf080837c4 100644 --- a/mail-filter/razor/Manifest +++ b/mail-filter/razor/Manifest @@ -1,5 +1,6 @@ AUX razor-2.85-cosmetic-pv-fix.patch 616 BLAKE2B 58def0277c1142b664f65ae9f6e7f312f51ae5a926379616818fda3f0c450b7d157b12fb1777603ac70731d55ca9059708c3c70100c930bdb0371ef60d5b23aa SHA512 c7e7985e779185d704d88ff4c39d106df46ba20daee92c4a4410e8a1af7d4c31bdca0646018fb5d1f7d58e106036c8442a0fa2635b39a5e1df2a259f79eced91 +AUX razor-2.85-makefile-quoting-fix.patch 574 BLAKE2B 03616893b3537e00f0a56b357a70956cb87e266feb72d588343427f248d73c2e61d8c9515572d7bc0f312420d5328dd6e0039a297be322f83dfd270615922289 SHA512 ee43993dbf4e1ed932a293636cfad98c8c4bb5b94a8df00262c39d34dd9c95143ba8dca1f088185123d352b940e0dd19d5b0a6f4afc04e63b36cc49a4963cbe4 AUX razor-2.85-use-sha-not-sha1.patch 3897 BLAKE2B 5cbdd0cbf6a80f4d2e1eba364d2db5ef972368257110daaf07c8ee6444884b07ff930184a4c92c1b0e7af89cfd5384ada7d00ddd79114c799bc8ad34e8f61a51 SHA512 891a93408f56bb6a7b43814a501cce8775c51abe7cf227c39dd18699ac5f4c1aa5484842435edda58f7141a87e5ebe1496bfe959afab09fb44c3558c66511289 DIST razor-agents-2.85.tar.bz2 81691 BLAKE2B fdb389ca4192dc2a3b87935fe97a4750ab715ae163aa1cf8adf5c6dd54e8e2f2ca53f1fcc37505b5ea0ec4e9bdb78a14ae8b30fca770de80a2a69e3e534ec3ab SHA512 31dded1969dde963389a5939514c29638ad07f45dbb2f4c633cf20ebc4abab94e65e9a6d8885233cdde686ef365aab11fa5eba2ca38d79c5b8fab689143ff5db -EBUILD razor-2.85-r2.ebuild 2674 BLAKE2B e3160a36643630aa1e8d2ce4260c0a135d4631d35abf2e538dd8cd8c1ea19b340da0afa52b2db54c2078a20929bcfc01c453dfc2af5643d7ddb393cd8d489ba0 SHA512 b506a09d12550f7c25bce17e458456ce7aab6858d120dc82b5f6adfb0b18ee53e2019eee8514a20e50337f949cf29421460d99f83fe65a9865d34d9e05250cbd +EBUILD razor-2.85-r3.ebuild 2595 BLAKE2B 743be10deb95e88192040b63e36f871ca557cd471f0ff34ccd93775c93d80e4a5d88a542176af94b57f889855bcbf27e3bdd410613a8fd91fdb37559dd089df6 SHA512 8d36ea73cce5c6a48cbd652f67f2e6e87bc547b9739eb1320b7be061fbcd9b6c11744659f47ebf4af7adc66b600b1a6a3249e72632f5edbd08e51cabf1ec5ea1 MISC metadata.xml 588 BLAKE2B 41114b28fb19ea1165d71b5a7371ed475b58ca2fbdd772b280a40ce090cb1132fea2ec248c35f999067f203ab5c30bcc19c17db4e1cff1fc86886ab599fe7826 SHA512 7f347fae3820ef0c5b5fc914377bd5f11090dd0792b1c4736596d433cc07b6b3ff492f73c7ff605b60765d7c3f400531b00777ff4a8cc198af498209ed519847 diff --git a/mail-filter/razor/files/razor-2.85-makefile-quoting-fix.patch b/mail-filter/razor/files/razor-2.85-makefile-quoting-fix.patch new file mode 100644 index 000000000000..677d5c7010d1 --- /dev/null +++ b/mail-filter/razor/files/razor-2.85-makefile-quoting-fix.patch @@ -0,0 +1,15 @@ +diff -uprw razor-agents-2.85.orig/Makefile.PL razor-agents-2.85/Makefile.PL +--- razor-agents-2.85.orig/Makefile.PL 2007-05-09 01:47:53.000000000 +0300 ++++ razor-agents-2.85/Makefile.PL 2015-06-14 20:36:23.677213987 +0300 +@@ -140,9 +140,9 @@ sub MY::install { + my $inherited = $self->SUPER::install(@_); + + my $man5 = q{ \\ +- $(INST_MAN5DIR) $(INSTALLMAN5DIR)}; ++ "$(INST_MAN5DIR)" "$(INSTALLMAN5DIR)"}; + +- $inherited =~ s/(\$\((?:DEST)?INSTALL\w*MAN1DIR\))/$1$man5/gm; ++ $inherited =~ s/("?\$\((?:DEST)?INSTALL\w*MAN1DIR\)"?)/$1$man5/gm; + + return $inherited; + } diff --git a/mail-filter/razor/razor-2.85-r2.ebuild b/mail-filter/razor/razor-2.85-r2.ebuild deleted file mode 100644 index 6a4adfd6319d..000000000000 --- a/mail-filter/razor/razor-2.85-r2.ebuild +++ /dev/null @@ -1,81 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -inherit perl-module - -MY_PN="razor-agents" -MY_P="${MY_PN}-${PV}" - -DESCRIPTION="Distributed, collaborative spam detection and filtering network" -HOMEPAGE="http://razor.sourceforge.net/" -SRC_URI="mirror://sourceforge/razor/${MY_P}.tar.bz2" - -LICENSE="Artistic" -SLOT="0" -KEYWORDS="alpha amd64 hppa ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~x86-macos" - -RDEPEND=" - dev-perl/URI - dev-perl/Net-DNS - virtual/perl-Net-Ping - virtual/perl-Time-HiRes - dev-perl/Digest-Nilsimsa - || ( virtual/perl-Digest-SHA dev-perl/Digest-SHA1 )" - -PATCHES=( - "${FILESDIR}/${PN}-2.85-use-sha-not-sha1.patch" - "${FILESDIR}/${PN}-2.85-cosmetic-pv-fix.patch" -) - -S=${WORKDIR}/${MY_P} - -# Install docs/ content -mydoc="docs/*" -SRC_TEST="do parallel" - -src_compile() { - emake -j1 -} - -pkg_postinst() { - elog - elog "Run 'razor-admin -create' to create a default config file in your" - elog "home directory under /home/user/.razor. (Remember to change user to" - elog "your username from root before running razor-admin)" - elog - elog "Razor v2 requires reporters to be registered so their reputations can" - elog "be computed over time and they can participate in the revocation" - elog "mechanism. Registration is done with razor-admin -register. It has to be" - elog "manually invoked in either of the following ways:" - elog - elog "To register user foo with 's1kr3t' as password: " - elog - elog "razor-admin -register -user=foo -pass=s1kr3t" - elog - elog "To register with an email address and have the password assigned:" - elog - elog "razor-admin -register -user=foo@bar.com " - elog - elog "To have both (random) username and password assgined: " - elog - elog "razor-admin -register " - elog - elog "razor-admin -register negotiates a registration with the Nomination Server" - elog "and writes the identity information in" - elog "/home/user/.razor/identity-username, or /etc/razor/identity-username" - elog "when invoked as root." - elog - elog "You can edit razor-agent.conf to change the defaults. Config options" - elog "and their values are defined in the razor-agent.conf(5) manpage." - elog - elog "The next step is to integrate razor-check, razor-report and" - elog "razor-revoke in your mail system. If you are running Razor v1, the" - elog "change will be transparent, new versions of razor agents will overwrite" - elog "the old ones. You would still need to plugin razor-revoke in your MUA," - elog "since it's a new addition in Razor v2. If you are not running Razor v1," - elog "refer to manpages of razor-check(1), razor-report(1), and" - elog "razor-revoke(1) for integration instructions." - elog -} diff --git a/mail-filter/razor/razor-2.85-r3.ebuild b/mail-filter/razor/razor-2.85-r3.ebuild new file mode 100644 index 000000000000..965f5c3a51bd --- /dev/null +++ b/mail-filter/razor/razor-2.85-r3.ebuild @@ -0,0 +1,89 @@ +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit perl-module readme.gentoo-r1 + +MY_PN="razor-agents" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="Distributed, collaborative spam detection and filtering network" +HOMEPAGE="http://razor.sourceforge.net/" +SRC_URI="mirror://sourceforge/razor/${MY_P}.tar.bz2" + +LICENSE="Artistic" +SLOT="0" +KEYWORDS="~alpha amd64 hppa ~ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~x86-macos" + +RDEPEND=" + dev-perl/URI + dev-perl/Net-DNS + virtual/perl-Net-Ping + virtual/perl-Time-HiRes + dev-perl/Digest-Nilsimsa + || ( virtual/perl-Digest-SHA dev-perl/Digest-SHA1 ) +" +DEPEND="" + +PATCHES=( + "${FILESDIR}/${PN}-2.85-use-sha-not-sha1.patch" + "${FILESDIR}/${PN}-2.85-cosmetic-pv-fix.patch" + "${FILESDIR}/${PN}-2.85-makefile-quoting-fix.patch" +) + +S="${WORKDIR}/${MY_P}" + +SRC_TEST="do parallel" + +DISABLE_AUTOFORMATTING="yes" +DOC_CONTENTS=" +Run 'razor-admin -create' to create a default config file in your +home directory under /home/user/.razor. (Remember to change user to +your username from root before running razor-admin) + +Razor v2 requires reporters to be registered so their reputations can +be computed over time and they can participate in the revocation +mechanism. Registration is done with razor-admin -register. It has to be +manually invoked in either of the following ways: + +To register user foo with 's1kr3t' as password: + +razor-admin -register -user=foo -pass=s1kr3t + +To register with an email address and have the password assigned: + +razor-admin -register -user=foo@bar.com + +To have both (random) username and password assigned: + +razor-admin -register + +razor-admin -register negotiates a registration with the Nomination Server +and writes the identity information in +/home/user/.razor/identity-username, or /etc/razor/identity-username +when invoked as root. + +You can edit razor-agent.conf to change the defaults. Config options +and their values are defined in the razor-agent.conf(5) manpage. + +The next step is to integrate razor-check, razor-report and +razor-revoke in your mail system. If you are running Razor v1, the +change will be transparent, new versions of razor agents will overwrite +the old ones. You would still need to plugin razor-revoke in your MUA, +since it's a new addition in Razor v2. If you are not running Razor v1, +refer to manpages of razor-check(1), razor-report(1), and +razor-revoke(1) for integration instructions. +" + +src_compile() { + emake -j1 +} + +src_install() { + mydoc="docs/*" perl-module_src_install + readme.gentoo_create_doc +} + +pkg_postinst() { + readme.gentoo_print_elog +} |