parent
7ea2c2747f
commit
fcc6f9f810
@ -0,0 +1,81 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit eutils perl-functions
|
||||
|
||||
PATCHVER=0.2
|
||||
MY_PN=${PN/b/B}
|
||||
MY_P=${MY_PN}-${PV}
|
||||
S=${WORKDIR}/${MY_PN}
|
||||
DESCRIPTION="Bastille-Linux is a security hardening tool"
|
||||
HOMEPAGE="http://bastille-linux.org/"
|
||||
SRC_URI="mirror://sourceforge/${PN}-linux/${MY_P}.tar.bz2
|
||||
mirror://gentoo/${P}-gentoo-${PATCHVER}.patch.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS=""
|
||||
IUSE="X"
|
||||
|
||||
RDEPEND="
|
||||
net-firewall/iptables
|
||||
app-admin/logrotate
|
||||
dev-lang/perl:=
|
||||
dev-perl/Curses
|
||||
net-firewall/psad
|
||||
X? ( dev-perl/Tk )
|
||||
virtual/logger
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${WORKDIR}"/${P}-gentoo-${PATCHVER}.patch
|
||||
|
||||
# make sure the Perl modules go into vendor dir
|
||||
"${FILESDIR}/${P}-perl.patch"
|
||||
|
||||
# prevent file collision, bug 536292
|
||||
"${FILESDIR}/${P}-renamewidgets.patch"
|
||||
|
||||
# openrc runscript rename
|
||||
"${FILESDIR}/${P}-openrc.patch"
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
perl_set_version
|
||||
|
||||
default
|
||||
|
||||
cd "${S}" || die
|
||||
chmod a+x Install.sh bastille-ipchains bastille-netfilter || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
perl_set_version
|
||||
export VENDOR_LIB
|
||||
|
||||
cd "${S}" || die
|
||||
DESTDIR="${D}" ./Install.sh || die
|
||||
|
||||
# Example configs
|
||||
cd "${S}" || die
|
||||
insinto /usr/share/Bastille
|
||||
doins *.config
|
||||
|
||||
newinitd ${PN}-firewall.gentoo-init ${PN}-firewall
|
||||
|
||||
# Documentation
|
||||
cd "${S}" || die
|
||||
dodoc *.txt BUGS Change* README*
|
||||
cd "${S}"/docs || die
|
||||
doman *.1m
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "Please be aware that when using the Server Lax, Server Moderate, or"
|
||||
elog "Server Paranoia configurations, you may need to use InteractiveBastille"
|
||||
elog "to set any advanced network information, such as masquerading and"
|
||||
elog "internal interfaces, if you plan to use them."
|
||||
}
|
@ -0,0 +1,12 @@
|
||||
diff -ruN Bastille.orig/bastille-firewall.gentoo-init Bastille/bastille-firewall.gentoo-init
|
||||
--- Bastille.orig/bastille-firewall.gentoo-init 2017-01-02 09:47:33.144433650 +0100
|
||||
+++ Bastille/bastille-firewall.gentoo-init 2017-01-02 09:49:05.396431757 +0100
|
||||
@@ -1,6 +1,6 @@
|
||||
-#!/sbin/runscript
|
||||
+#!/sbin/openrc-run
|
||||
# Copyright 1999-2004 Gentoo Foundation
|
||||
-# Distributed under the terms of the GNU General Public License v2
|
||||
+# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/bastille/files/bastille-3.0.2-firewall.init,v 1.1 2005/07/31 05:21:10 battousai Exp $
|
||||
|
||||
opts="start stop"
|
@ -0,0 +1,48 @@
|
||||
diff -ruN Bastille.orig/AutomatedBastille Bastille/AutomatedBastille
|
||||
--- Bastille.orig/AutomatedBastille 2017-01-02 09:39:20.720443755 +0100
|
||||
+++ Bastille/AutomatedBastille 2017-01-02 09:40:54.293441835 +0100
|
||||
@@ -77,7 +77,7 @@
|
||||
|
||||
# Use the Curses interface
|
||||
use Curses;
|
||||
-use Curses::Widgets;
|
||||
+use Curses::Widgets_Bastille;
|
||||
|
||||
# Hardcoded List of configurations -- to be replaced by list read from file
|
||||
@list = ("WorkstationLax","WorkstationModerate","WorkstationParanoia","ServerLax","ServerModerate","ServerParanoia","Quit");
|
||||
diff -ruN Bastille.orig/Bastille_Curses.pm Bastille/Bastille_Curses.pm
|
||||
--- Bastille.orig/Bastille_Curses.pm 2005-04-18 14:32:10.000000000 +0200
|
||||
+++ Bastille/Bastille_Curses.pm 2017-01-02 09:41:24.470441216 +0100
|
||||
@@ -34,7 +34,7 @@
|
||||
sub do_Bastille {
|
||||
|
||||
use Curses;
|
||||
- use Curses::Widgets;
|
||||
+ use Curses::Widgets_Bastille;
|
||||
|
||||
# Number_Modules is the number of modules loaded in by Load_Questions
|
||||
$Number_Modules=0;
|
||||
diff -ruN Bastille.orig/Curses/Widgets.pm Bastille/Curses/Widgets.pm
|
||||
--- Bastille.orig/Curses/Widgets.pm 2005-04-06 01:18:11.000000000 +0200
|
||||
+++ Bastille/Curses/Widgets.pm 2017-01-02 09:42:31.145439848 +0100
|
||||
@@ -11,7 +11,7 @@
|
||||
#
|
||||
########################################################################
|
||||
|
||||
-package Curses::Widgets;
|
||||
+package Curses::Widgets_Bastille;
|
||||
|
||||
use strict;
|
||||
use vars qw(@ISA @EXPORT @EXPORT_OK %EXPORT_TAGS $VERSION);
|
||||
diff -ruN Bastille.orig/Install.sh Bastille/Install.sh
|
||||
--- Bastille.orig/Install.sh 2017-01-02 09:39:20.767443754 +0100
|
||||
+++ Bastille/Install.sh 2017-01-02 09:41:05.537441604 +0100
|
||||
@@ -15,7 +15,7 @@
|
||||
cp BastilleBackEnd ${DESTDIR}/usr/sbin
|
||||
cp Bastille_Curses.pm ${DESTDIR}/${VENDOR_LIB}
|
||||
cp Bastille_Tk.pm ${DESTDIR}/${VENDOR_LIB}
|
||||
-cp Curses/Widgets.pm ${DESTDIR}/${VENDOR_LIB}/Curses
|
||||
+cp Curses/Widgets.pm ${DESTDIR}/${VENDOR_LIB}/Curses/Widgets_Bastille.pm
|
||||
cp InteractiveBastille ${DESTDIR}/usr/sbin
|
||||
# Questions.txt has been replaced by Modules.txt and Questions/
|
||||
#cp Questions.txt ${DESTDIR}/usr/share/Bastille
|
@ -1,2 +1 @@
|
||||
DIST ulogd-2.0.5_p20160205.tar.gz 137899 SHA256 d6ece155270aaaea2f78740c00ae679f04e42fd90b4b7c2f342c2dddeb414ee4 SHA512 99c824fcb404f2f4d7b1bd4d8c9231a1a61121f9ae88901d8d30b33172c1f24e44abd37c30ea71722078b543b58c57a6bc99d64e2a655a5af73fe6edf37c72ab WHIRLPOOL 5c3013fc0b0b8d9209d69aac2b25255c9067167ae3c66a73a36f0ee391dc1b6b482f36b786aa57f361c19d5d26da99ab376c3093c460bc02f3764276e0e7f77a
|
||||
DIST ulogd-2.0.5_p20161017.tar.gz 137936 SHA256 07798bbf17ab5fc6111ab7296c0c74778da231cb66fb7e8f38b09ccfc8d3e812 SHA512 b9a3f5323766856fc20d58a6c55f9bc955f50e9d7052df0828ca08bf9d573326e69920f6c90c9d3e877c4dc1a29a5a994cde070bd0834fbf4dee8eebbb251e98 WHIRLPOOL 92931a8248b1c03134f37746c68ad7c389deaec74774a93b78e9548ad42df2b8c027dd698f4498741a81d930dc7f311aa9ddb4e8d14de5f7dcfb6daeb7fe34f6
|
||||
|
@ -1,144 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
AUTOTOOLS_AUTORECONF=1
|
||||
COMMIT_ID="a82d9cfe03679b82ab4d9586c93ad377e9e27149"
|
||||
|
||||
inherit autotools-utils eutils flag-o-matic linux-info readme.gentoo-r1 systemd user vcs-snapshot
|
||||
|
||||
DESCRIPTION="A userspace logging daemon for netfilter/iptables related logging"
|
||||
HOMEPAGE="https://netfilter.org/projects/ulogd/index.html"
|
||||
SRC_URI="http://git.netfilter.org/${PN}2/snapshot/${COMMIT_ID}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~ia64 ppc x86"
|
||||
IUSE="dbi doc json mysql nfacct +nfct +nflog pcap postgres sqlite -ulog"
|
||||
|
||||
RDEPEND="
|
||||
|| ( net-firewall/iptables net-firewall/nftables )
|
||||
>=net-libs/libnfnetlink-1.0.1
|
||||
dbi? ( dev-db/libdbi )
|
||||
json? ( dev-libs/jansson )
|
||||
nfacct? (
|
||||
>=net-libs/libmnl-1.0.3
|
||||
>=net-libs/libnetfilter_acct-1.0.1
|
||||
)
|
||||
nfct? ( >=net-libs/libnetfilter_conntrack-1.0.2 )
|
||||
nflog? ( >=net-libs/libnetfilter_log-1.0.0 )
|
||||
mysql? ( virtual/mysql )
|
||||
pcap? ( net-libs/libpcap )
|
||||
postgres? ( dev-db/postgresql:= )
|
||||
sqlite? ( dev-db/sqlite:3 )
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
doc? (
|
||||
app-text/linuxdoc-tools
|
||||
app-text/texlive-core
|
||||
dev-texlive/texlive-fontsrecommended
|
||||
virtual/latex-base
|
||||
)
|
||||
"
|
||||
|
||||
DOCS=( AUTHORS README TODO )
|
||||
|
||||
DOC_CONTENTS="
|
||||
You must have at least one logging stack enabled to make ulogd work.
|
||||
Please edit the example configuration located at /etc/ulogd.conf.
|
||||
"
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup ulogd
|
||||
enewuser ulogd -1 -1 /var/log/ulogd ulogd
|
||||
|
||||
linux-info_pkg_setup
|
||||
|
||||
if kernel_is lt 2 6 14; then
|
||||
die "${PN} requires a kernel >= 2.6.14."
|
||||
fi
|
||||
|
||||
if use nfacct && kernel_is lt 3 3 0; then
|
||||
ewarn "NFACCT input plugin requires a kernel >= 3.3."
|
||||
fi
|
||||
|
||||
if use ulog && kernel_is ge 3 17 0; then
|
||||
ewarn "ULOG target has been removed in the 3.17 kernel release."
|
||||
ewarn "Consider enabling NFACCT, NFCT, or NFLOG support instead."
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# - make all logs to be kept in a single dir /var/log/ulogd
|
||||
# - place sockets in /run instead of /tmp
|
||||
sed -i \
|
||||
-e "s%var/log%var/log/${PN}%g" \
|
||||
-e 's%tmp%run%g' \
|
||||
ulogd.conf.in || die
|
||||
|
||||
append-lfs-flags
|
||||
autotools-utils_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myeconfargs=(
|
||||
$(use_with dbi)
|
||||
$(use_with json jansson)
|
||||
$(use_enable nfacct)
|
||||
$(use_enable nfct)
|
||||
$(use_enable nflog)
|
||||
$(use_with mysql)
|
||||
$(use_with pcap)
|
||||
$(use_with postgres pgsql)
|
||||
$(use_with sqlite)
|
||||
$(use_enable ulog)
|
||||
)
|
||||
autotools-utils_src_configure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
autotools-utils_src_compile
|
||||
|
||||
if use doc; then
|
||||
# Prevent access violations from bitmap font files generation
|
||||
export VARTEXFONTS="${T}"/fonts
|
||||
emake -C doc
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
autotools-utils_src_install
|
||||
prune_libtool_files --modules
|
||||
readme.gentoo_create_doc
|
||||
|
||||
if use doc; then
|
||||
dohtml doc/${PN}.html
|
||||
dodoc doc/${PN}.{dvi,ps,txt}
|
||||
fi
|
||||
|
||||
use mysql && dodoc doc/mysql-*.sql
|
||||
use postgres && dodoc doc/pgsql-*.sql
|
||||
use sqlite && dodoc doc/sqlite3.table
|
||||
|
||||
doman ${PN}.8
|
||||
|
||||
insinto /etc
|
||||
doins "${BUILD_DIR}/${PN}.conf"
|
||||
fowners root:ulogd /etc/${PN}.conf
|
||||
fperms 640 /etc/${PN}.conf
|
||||
|
||||
newinitd "${FILESDIR}/${PN}.init" ${PN}
|
||||
systemd_dounit "${FILESDIR}/${PN}.service"
|
||||
|
||||
insinto /etc/logrotate.d
|
||||
newins "${FILESDIR}/${PN}.logrotate" ${PN}
|
||||
|
||||
diropts -o ulogd -g ulogd
|
||||
keepdir /var/log/ulogd
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
readme.gentoo_print_elog
|
||||
}
|
@ -1,30 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Converts between the rpm, dpkg, stampede slp, and slackware tgz file formats"
|
||||
HOMEPAGE="http://kitenet.net/programs/alien"
|
||||
SRC_URI="mirror://debian/pool/main/a/${PN}/${PN}_${PV}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 hppa ppc ~ppc64 x86"
|
||||
IUSE="+bzip2"
|
||||
|
||||
RDEPEND="app-arch/rpm
|
||||
app-arch/dpkg
|
||||
bzip2? ( app-arch/bzip2 )
|
||||
dev-util/debhelper
|
||||
>=app-arch/tar-1.14.91"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
S=${WORKDIR}/${PN}
|
||||
|
||||
src_prepare() {
|
||||
sed -e s%'$(VARPREFIX)'%${D}% -e s%'$(PREFIX)'%${D}/usr%g \
|
||||
-i "${S}"/Makefile.PL || die "sed failed."
|
||||
}
|
@ -1,30 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Converts between the rpm, dpkg, stampede slp, and slackware tgz file formats"
|
||||
HOMEPAGE="http://kitenet.net/programs/alien"
|
||||
SRC_URI="mirror://debian/pool/main/a/${PN}/${PN}_${PV}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 hppa ppc ~ppc64 x86"
|
||||
IUSE="+bzip2"
|
||||
|
||||
RDEPEND="app-arch/rpm
|
||||
app-arch/dpkg
|
||||
bzip2? ( app-arch/bzip2 )
|
||||
dev-util/debhelper
|
||||
>=app-arch/tar-1.14.91"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
S=${WORKDIR}/${PN}
|
||||
|
||||
src_prepare() {
|
||||
sed -e s%'$(VARPREFIX)'%${D}% -e s%'$(PREFIX)'%${D}/usr%g \
|
||||
-i "${S}"/Makefile.PL || die "sed failed."
|
||||
}
|
@ -1,30 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Converts between the rpm, dpkg, stampede slp, and slackware tgz file formats"
|
||||
HOMEPAGE="http://kitenet.net/programs/alien"
|
||||
SRC_URI="mirror://debian/pool/main/a/${PN}/${PN}_${PV}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~x86"
|
||||
IUSE="+bzip2"
|
||||
|
||||
RDEPEND="app-arch/rpm
|
||||
app-arch/dpkg
|
||||
bzip2? ( app-arch/bzip2 )
|
||||
dev-util/debhelper
|
||||
>=app-arch/tar-1.14.91"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
S=${WORKDIR}/${PN}
|
||||
|
||||
src_prepare() {
|
||||
sed -e s%'$(VARPREFIX)'%${D}% -e s%'$(PREFIX)'%${D}/usr%g \
|
||||
-i "${S}"/Makefile.PL || die "sed failed."
|
||||
}
|
@ -1,32 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Converts between the rpm, dpkg, stampede slp, and slackware tgz file formats"
|
||||
HOMEPAGE="http://kitenet.net/programs/alien"
|
||||
SRC_URI="mirror://debian/pool/main/a/${PN}/${PN}_${PV}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~x86"
|
||||
IUSE="+bzip2"
|
||||
|
||||
RDEPEND="app-arch/rpm
|
||||
app-arch/dpkg
|
||||
bzip2? (
|
||||
app-arch/bzip2
|
||||
)
|
||||
dev-util/debhelper
|
||||
>=app-arch/tar-1.14.91"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
#S=${WORKDIR}/${PN}
|
||||
|
||||
src_prepare() {
|
||||
sed -e s%'$(VARPREFIX)'%${D}% -e s%'$(PREFIX)'%${D}/usr%g \
|
||||
-i "${S}"/Makefile.PL || die "sed failed."
|
||||
}
|
@ -1,3 +1,3 @@
|
||||
DIST lziprecover-1.17.tar.gz 75941 SHA256 a539b86d282a4bb154e01b04c3e09eaf7540b2c2be72d6b2110900c076bf3dbd SHA512 409a3634ef15238f8c87e6e69ecf0cf83c48274cff6c54a901a4f80bdc3d475b6bf03215cfee762ac64ca41b3e8a805ab620ceaaa1bec7fc22ffafad049b5f0f WHIRLPOOL 1b97ac140cdc190fdb3ceec5337576c775166bf4a30fbd8f956208095898411bd9ee7cbd99bd4e44aae11d67e9a6ad52ba60967d87c9eb057830950ede23aefa
|
||||
DIST lziprecover-1.18.tar.gz 86584 SHA256 08c00b4009601b94aa32a96285b979f491bda2f112447764cfe36d489e45f3db SHA512 60febb52b5dde8e1fa1e4917c48bb09112bcd3a43c5486a234fdcfa3db1d5049977df306ce66ec0821e812676886f5fa214a3479649cb977151b5cf82018b6b6 WHIRLPOOL 33a9199ee20e8849b4a2139fd968498527c99b2c40cecbd1475e97c82ff1c55911c2ff2dc3cc05c613bc8ce6391d2c68154571716e810d4c627b230b43aef882
|
||||
DIST lziprecover-1.19-pre1.tar.gz 94469 SHA256 5776cf40430e804e3dfa7b5a4f74ba2331555485a7050c3382637bf928f0c436 SHA512 50bef5962eb0f5bbc759fdef5b655e69dce77c0fbd445d35b09ba2319de9c42f9d50e8b44905914f48a38319e4e1e1e5e4de9ec7d59eba8d8ed4ed465e7896a1 WHIRLPOOL 3240542a9c7b07a2b4e29dcf07932bef54507f265346104ed987c8a3437cffa51cad51bae78f2d2618a30ab34f717e7ed15b5a89a18dcca4d42631801ace45b1
|
||||
DIST lziprecover-1.19-pre2.tar.gz 96033 SHA256 3cae90607c79b1ead6fc340f0789a010cf6d5ae3800f46132830a3058182f7d1 SHA512 c76f54f852f9e14d2e3f42f3ad4bdfe0e623b841c49fd5ddc0c665168525d411f2338072a3eacdd1d55ee9fafba47ce67e514973163b65c2184aa8745a51e8f0 WHIRLPOOL 1a5941cd30a7e2aa9f54a0fef724ac86c940f8c0e40cfe647b30e0f42dfaccad5b5bff88c6b096d9b9b000547c97e3294b807a2a89f7d81f86ca173a8227db94
|
||||
|
@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
@ -1 +1 @@
|
||||
DIST untangle-https-backup-0.0.4.tar.gz 15603 SHA256 ebd67322c22f69eaf42884bf4503b8590b71b9f6ea13e449a7dbe71aa5420968 SHA512 15346786365e5ec1c8548ea1abb87d980442ac56839eef13626ebb39355c5715135885a887c6acaa2bec61b2ea6983d73354589c58afb8ccd076f85937277e0c WHIRLPOOL 33d8dbe2401b8c6888b742ff0a6347b0c7c5014305a9a0c215dd4c25565aee4ba5956de7e10c05dccaf45b05811a78a23024421d0bc54eb3a60088a6a2e5c736
|
||||
DIST untangle-https-backup-0.0.6.tar.gz 15730 SHA256 91f5a308557d89de50d4f741c623b3b2073878bae44d2efa64b9237b06d18baa SHA512 a7854fe23faba88ee21e3bc9aaaedc54aefc58d8cd844d200d184ddffcff3cc5c90ff429464914e89cbfc4651057007ad328a665ed706d65ba3e1bda87965da1 WHIRLPOOL 913bec9d3bd291798688aa9a1cda9af8fbd746574401d3387f42e7f32bcd817e34702e498594012db19b06ff214b997bd06b0a0712e4690d9549cb5df5a06770
|
||||
|
@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
@ -1,3 +1,2 @@
|
||||
DIST signing-party_1.1.4.orig.tar.gz 230259 SHA256 3d135437540ad1e5b3bb209ee90896a6b9153170eb0e4c93d018c1952fb80fa1 SHA512 935a192d8ce0057731b3422d217a90890dd97d9c84a3a46e3e4a2536f41e6752a44a86ba13db9b9a3e24a629dd6e78cb599a7999eeffea0a2b3b83b775dea36c WHIRLPOOL b5efdbd37d3277fd4fedc0938abcedada2c9a603bfdb1e93882e60abd698e4d4ef9535fde8d6c0c57818603e12507d911a150022fea5690b72eac66eecda803f
|
||||
DIST signing-party_2.4.orig.tar.gz 197731 SHA256 02b3487ab80cb3030d33317ce1290c2700241fd2138f6768a49c63a55a6a62fe SHA512 0ab18af70314839193d25053c6b3de31afba173ae70a39b84e19aad8ec4864bbd95f9b685b3bc807674310c35af2dc75145eb6eb9d03d6a0ce84ce45ac7f29c0 WHIRLPOOL fb6892338c110751f7332905afd0336dae667104650a1bc10422111d169a398cfebbe2753202d8a64643eb0bd1a16bb0424b7e71be8651077985cbdb1bc51b99
|
||||
DIST signing-party_2.5.orig.tar.gz 198105 SHA256 62db91ccbde650ffbb332beab9cba0676b0d42fc46034fa3c28a471cc0ec4bf8 SHA512 a04875bfaef791a6505134dd2530148d5e6baaa8aa5610e75d42fbf59e884fafffb5de2486425bb53e6464ff3fd35b974684d8bc85291750e4a7bd8bb82b0da3 WHIRLPOOL 7c070f194a67de7fe4ac2f479c6e15a96bf3f182a9065f293b60f5fb979f035c160860ec25ffe0fcc64b30561af94db40b3d8cb113dc8e8cf17cfe2f9bec5248
|
||||
|
@ -1,107 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit eutils toolchain-funcs
|
||||
|
||||
DESCRIPTION="A collection of several tools related to OpenPGP"
|
||||
HOMEPAGE="http://pgp-tools.alioth.debian.org/"
|
||||
SRC_URI="mirror://debian/pool/main/s/signing-party/${PN}_${PV}.orig.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ppc x86 ~ppc-macos"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND=">=app-crypt/gnupg-1.3.92
|
||||
dev-perl/GnuPG-Interface
|
||||
dev-perl/Text-Template
|
||||
dev-perl/MIME-tools
|
||||
net-mail/qprint
|
||||
>=dev-perl/MailTools-1.62
|
||||
virtual/mailx
|
||||
virtual/mta
|
||||
dev-lang/perl
|
||||
|| (
|
||||
dev-perl/libintl-perl
|
||||
dev-perl/Text-Iconv
|
||||
app-text/recode
|
||||
)"
|
||||
|
||||
src_prepare() {
|
||||
# app-crypt/keylookup
|
||||
rm -fr keylookup
|
||||
# media-gfx/springgraph
|
||||
rm -fr springgraph
|
||||
|
||||
epatch "${FILESDIR}"/${PN}-makefile.diff
|
||||
|
||||
sed -i -e \
|
||||
"s:/usr/share/doc/signing-party/caff/caffrc.sample:${EPREFIX}/usr/share/doc/${P}/caff/caffrc.sample.gz:g" \
|
||||
caff/caff || die "Sed failed"
|
||||
sed -i -e "s/make pgpring/\$(MAKE) pgpring/" keyanalyze/Makefile \
|
||||
|| die "Sed failed"
|
||||
sed -i -e \
|
||||
"s|:/usr/share/signing-party|:${EPREFIX}/usr/share/signing-party|" \
|
||||
gpgsigs/gpgsigs || die "Sed failed"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# Check Makefile when a new tool is introduced to this package.
|
||||
# caff
|
||||
dobin caff/caff caff/pgp-clean caff/pgp-fixkey
|
||||
docinto caff
|
||||
dodoc caff/{README*,THANKS,TODO,caffrc.sample}
|
||||
# gpgdir
|
||||
dobin gpgdir/gpgdir
|
||||
docinto gpgdir
|
||||
dodoc gpgdir/{VERSION,LICENSE,README,INSTALL,CREDITS,ChangeLog*}
|
||||
# gpg-key2ps
|
||||
dobin gpg-key2ps/gpg-key2ps
|
||||
docinto gpg-key2ps
|
||||
dodoc gpg-key2ps/README
|
||||
# gpglist
|
||||
dobin gpglist/gpglist
|
||||
# gpg-mailkeys
|
||||
dobin gpg-mailkeys/gpg-mailkeys
|
||||
docinto gpg-mailkeys
|
||||
dodoc gpg-mailkeys/{example.gpg-mailkeysrc,README}
|
||||
# gpgparticipants
|
||||
dobin gpgparticipants/gpgparticipants
|
||||
# gpgwrap
|
||||
dobin gpgwrap/bin/gpgwrap
|
||||
docinto gpgwrap
|
||||
dodoc gpgwrap/{LICENSE,NEWS,README}
|
||||
doman gpgwrap/doc/gpgwrap.1
|
||||
# gpgsigs
|
||||
dobin gpgsigs/gpgsigs
|
||||
insinto /usr/share/signing-party
|
||||
doins gpgsigs/gpgsigs-eps-helper
|
||||
# keyanalyze
|
||||
# TODO: some of the scripts are intended for webpages, and not really
|
||||
# packaging, so they are NOT installed yet.
|
||||
newbin keyanalyze/pgpring/pgpring pgpring-keyanalyze
|
||||
dobin keyanalyze/{keyanalyze,process_keys}
|
||||
docinto keyanalyze
|
||||
dodoc keyanalyze/{README,Changelog}
|
||||
# See app-crypt/keylookup instead
|
||||
#dobin keylookup/keylookup
|
||||
#docinto keylookup
|
||||
#dodoc keylookup/NEWS
|
||||
# sig2dot
|
||||
dobin sig2dot/sig2dot
|
||||
dodoc sig2dot/README.sig2dot
|
||||
# See media-gfx/springgraph instead
|
||||
#dobin springgraph/springgraph
|
||||
#dodoc springgraph/README.springgraph
|
||||
# all other manpages, and the root doc
|
||||
doman */*.1
|
||||
dodoc README
|
||||
}
|
@ -0,0 +1,39 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit autotools
|
||||
|
||||
DESCRIPTION="Monitors a given set of directories for new files"
|
||||
HOMEPAGE="https://github.com/l3ib/fsniper/"
|
||||
SRC_URI="http://projects.l3ib.org/${PN}/files/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
DEPEND="
|
||||
dev-libs/libpcre
|
||||
sys-apps/file"
|
||||
|
||||
RDEPEND="
|
||||
${DEPEND}"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${P}-format-security.patch
|
||||
"${FILESDIR}"/${P}-umask.patch
|
||||
)
|
||||
|
||||
DOCS=( AUTHORS COPYING NEWS README example.conf )
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
einstalldocs
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue