diff options
Diffstat (limited to 'app-crypt/nwipe')
-rw-r--r-- | app-crypt/nwipe/Manifest | 3 | ||||
-rw-r--r-- | app-crypt/nwipe/files/nwipe-0.12-ncurses.patch | 59 | ||||
-rw-r--r-- | app-crypt/nwipe/metadata.xml | 12 | ||||
-rw-r--r-- | app-crypt/nwipe/nwipe-0.12-r1.ebuild | 28 | ||||
-rw-r--r-- | app-crypt/nwipe/nwipe-0.12.ebuild | 24 | ||||
-rw-r--r-- | app-crypt/nwipe/nwipe-0.13.ebuild | 21 | ||||
-rw-r--r-- | app-crypt/nwipe/nwipe-0.14.ebuild | 21 |
7 files changed, 168 insertions, 0 deletions
diff --git a/app-crypt/nwipe/Manifest b/app-crypt/nwipe/Manifest new file mode 100644 index 000000000000..852c9150ed96 --- /dev/null +++ b/app-crypt/nwipe/Manifest @@ -0,0 +1,3 @@ +DIST nwipe-0.12.tar.gz 147380 SHA256 da70976acad36c8f500ecd27b1b0ac4beb81e909f8a761753cd23da37534596a SHA512 c05def96418824fdf372c24323d40c9b4e9fe7ce946af37d8d5bf4dff618c3af2d70dfec6819b89f1dedea835bab66cec2cf4206247c6c7c095aaa18c1bfbb2c WHIRLPOOL 243f840b98994e02dfa9f3737a297b68c754fa0c93f94b7c3799271605501f850f2392edea9e4e33828d15ea05d1d89012c221f073210b9b2e8ef607730201bd +DIST nwipe-0.13.tar.gz 150344 SHA256 371177edc3784f8dac1b283bfd07cb764f6f8ac0d2cdea2a7030c8e7bd86cac4 SHA512 311142f606cdada7136244adcce8aaeba37fd06a2dc496759ce635db72e9b3d5183e91793f0b5a68d4748b0d3ff00a8663b97ff8118e02b950198edbfcf04382 WHIRLPOOL 4e1c25109179f1a780cbed10c3f344ca0605872899e3f6a4e2954264156c4a39d20e77b8b0dc9a9cf7581cc3f49581b298442e2d5b4e8a1bee95a3d0bc762e99 +DIST nwipe-0.14.tar.gz 150685 SHA256 2fa879256bad5e2369e325e6cb047651b85eb1e8bc88ce9fc89c1db3f4067a2a SHA512 f218f4c9d1add4f9decff5657767cfc0c38bfc57e834dca1759fa44d3a20d108bb9e9addf810fabc576aeaff5a6cb61ace0eb5199d29f69c18251046ab3a2a52 WHIRLPOOL b5d304b8bbf0e32438d128de30a5506179adac5f37b35be997f5e7deface65c00d1a05ef991c9621c924632575b9c3b6c4a1968125abefc11894ead2120a6de2 diff --git a/app-crypt/nwipe/files/nwipe-0.12-ncurses.patch b/app-crypt/nwipe/files/nwipe-0.12-ncurses.patch new file mode 100644 index 000000000000..7cb8131fb0bc --- /dev/null +++ b/app-crypt/nwipe/files/nwipe-0.12-ncurses.patch @@ -0,0 +1,59 @@ +From 0176793f19a368c3786c231042b87c3a2ef3de2b Mon Sep 17 00:00:00 2001 +From: Alon Bar-Lev <alon.barlev@gmail.com> +Date: Sun, 3 Feb 2013 00:40:57 +0200 +Subject: [PATCH] build: detect ncurses using pkg-config + +--- + configure.ac | 32 ++++++++++++++++++++------------ + 1 file changed, 20 insertions(+), 12 deletions(-) + +diff --git a/configure.ac b/configure.ac +index a551913..a84680f 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -10,22 +10,30 @@ AC_CONFIG_HEADERS([config.h]) + + # Checks for programs. + AC_PROG_CC ++PKG_PROG_PKG_CONFIG + + # Checks for libraries. + +-# Check for ncurses. If we find the library then we check to see if it's +-# in a ncurses directory inside the include directory. +-# The assumption is made in the source code that panel.h will be in the same place +-AC_CHECK_LIB([ncurses], [delscreen], [ +- LIBS="-lncurses $LIBS" +- AC_CHECK_HEADERS(ncurses.h,, [ +- AC_CHECK_HEADERS(ncurses/ncurses.h, [ +- AC_DEFINE([NCURSES_IN_SUBDIR], [ncurses/], [Look for ncurses headers in subdir]) +- ], [AC_MSG_ERROR([ncurses headers not found])]) +- ]) +- ], [AC_MSG_ERROR([ncurses development library not found])] ++PKG_CHECK_MODULES( ++ [PANEL], ++ [panel], ++ [ ++ CFLAGS="${CFLAGS} ${PANEL_CFLAGS}" ++ LIBS="${LIBS} ${PANEL_LIBS}" ++ ], ++ [ ++ AC_CHECK_LIB([ncurses], [delscreen], [ ++ LIBS="-lncurses $LIBS" ++ AC_CHECK_HEADERS(ncurses.h,, [ ++ AC_CHECK_HEADERS(ncurses/ncurses.h, [ ++ AC_DEFINE([NCURSES_IN_SUBDIR], [ncurses/], [Look for ncurses headers in subdir]) ++ ], [AC_MSG_ERROR([ncurses headers not found])]) ++ ]) ++ ], [AC_MSG_ERROR([ncurses development library not found])] ++ ) ++ AC_CHECK_LIB([panel], [main], ,[AC_MSG_ERROR([ncurses panel library not found])]) ++ ] + ) +-AC_CHECK_LIB([panel], [main], ,[AC_MSG_ERROR([ncurses panel library not found])]) + + AC_CHECK_LIB([parted], [ped_device_probe_all], ,[AC_MSG_ERROR([parted development library not found])]) + AC_CHECK_LIB([pthread], [main], ,[AC_MSG_ERROR([pthread development library not found])]) +-- +1.7.12.4 + diff --git a/app-crypt/nwipe/metadata.xml b/app-crypt/nwipe/metadata.xml new file mode 100644 index 000000000000..1da17f136e47 --- /dev/null +++ b/app-crypt/nwipe/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>crypto</herd> + <maintainer> + <email>ssuominen@gentoo.org</email> + <name>Samuli Suominen</name> + </maintainer> + <upstream> + <remote-id type="sourceforge">nwipe</remote-id> + </upstream> +</pkgmetadata> diff --git a/app-crypt/nwipe/nwipe-0.12-r1.ebuild b/app-crypt/nwipe/nwipe-0.12-r1.ebuild new file mode 100644 index 000000000000..54d6eb844989 --- /dev/null +++ b/app-crypt/nwipe/nwipe-0.12-r1.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit eutils autotools + +DESCRIPTION="Securely erase disks using a variety of recognized methods" +HOMEPAGE="http://sourceforge.net/projects/nwipe/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND=">=sys-block/parted-2.3 + >=sys-libs/ncurses-5.7-r7" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +DOCS="README" + +src_prepare() { + epatch "${FILESDIR}/${P}-ncurses.patch" + eautoreconf +} diff --git a/app-crypt/nwipe/nwipe-0.12.ebuild b/app-crypt/nwipe/nwipe-0.12.ebuild new file mode 100644 index 000000000000..a60367e42928 --- /dev/null +++ b/app-crypt/nwipe/nwipe-0.12.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit autotools + +DESCRIPTION="Securely erase disks using a variety of recognized methods" +HOMEPAGE="http://sourceforge.net/projects/nwipe/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND=">=sys-block/parted-2.3 + >=sys-libs/ncurses-5.7-r7" +DEPEND=${RDEPEND} + +DOCS="README" + +src_prepare() { eautoreconf; } # prevent maintainer mode diff --git a/app-crypt/nwipe/nwipe-0.13.ebuild b/app-crypt/nwipe/nwipe-0.13.ebuild new file mode 100644 index 000000000000..457c3ee575d9 --- /dev/null +++ b/app-crypt/nwipe/nwipe-0.13.ebuild @@ -0,0 +1,21 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +DESCRIPTION="Securely erase disks using a variety of recognized methods" +HOMEPAGE="http://sourceforge.net/projects/nwipe/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND=">=sys-block/parted-2.3 + >=sys-libs/ncurses-5.7-r7" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +DOCS="README" diff --git a/app-crypt/nwipe/nwipe-0.14.ebuild b/app-crypt/nwipe/nwipe-0.14.ebuild new file mode 100644 index 000000000000..457c3ee575d9 --- /dev/null +++ b/app-crypt/nwipe/nwipe-0.14.ebuild @@ -0,0 +1,21 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +DESCRIPTION="Securely erase disks using a variety of recognized methods" +HOMEPAGE="http://sourceforge.net/projects/nwipe/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND=">=sys-block/parted-2.3 + >=sys-libs/ncurses-5.7-r7" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +DOCS="README" |