diff options
Diffstat (limited to 'app-misc/srm')
-rw-r--r-- | app-misc/srm/Manifest | 9 | ||||
-rw-r--r-- | app-misc/srm/files/srm-1.2.11-cflags.patch | 23 | ||||
-rw-r--r-- | app-misc/srm/files/srm-1.2.15-cflags.patch | 10 | ||||
-rw-r--r-- | app-misc/srm/metadata.xml | 11 | ||||
-rw-r--r-- | app-misc/srm/srm-1.2.11-r2.ebuild | 36 | ||||
-rw-r--r-- | app-misc/srm/srm-1.2.15.ebuild | 36 |
6 files changed, 125 insertions, 0 deletions
diff --git a/app-misc/srm/Manifest b/app-misc/srm/Manifest new file mode 100644 index 000000000000..4f75174483d3 --- /dev/null +++ b/app-misc/srm/Manifest @@ -0,0 +1,9 @@ +AUX srm-1.2.11-cflags.patch 572 SHA256 e2215079b437013171e9ab2d76dce9f648b3f27d964b39b678051a68f87f16df SHA512 ff776f2b76c5fd2423927fd903fb3d19080b3fab36eb491f9e116f7d9b9bca4a92bdea3c63369f10edd5b76283d737e64deaff418d861980f6c6b493a683827d WHIRLPOOL 8660d9958f76cd5a3d3b04545db6491a7a2580243d3ecf1467154287112a056366559b61eac409df75e47878e9dda5d4a4a94b2c678f23e07df0d63a5c195674 +AUX srm-1.2.15-cflags.patch 343 SHA256 cafb2a6cbca76bc076000730051d8c33d9c3a775ff640f06f258d2d690444997 SHA512 81196944b68b0bff7b32a16dd749cc15ce73c125dba6bfa175dbc38b4baf3a291702139ae63f900e94c3babdacf769fc943992e192371c5c7073275320f0f9c6 WHIRLPOOL 128873f321d605723f8e43c1d8545c45644ccf6f65f7e252f1ea58e1a63c3a03d42b61384c1128b65bf9a700305f14051dc67afc2e5e3c5bf7d3dff918784ec2 +DIST srm-1.2.11.tar.gz 124982 SHA256 5105152d1d8e6166a5b1bef6b4ec945fd9dcc03289ff8916e98f44bfa8f25a8a SHA512 4b9b80242242dc64dcf97e4180676a1dc8b64d43f144ad4278d6762716e5e1b77b4c794900c298a919be7bdf1af71dcaf7286d4fae909ec5314752bfb73da8db WHIRLPOOL cf9980c745d79564adf913e5729f223861128d7cb1eea7b90829b09425f4d2e34ccc20d233dca88370467500826ca766f912fa565c16f3b959982c00b43204bc +DIST srm-1.2.15.tar.gz 132031 SHA256 7583c1120e911e292f22b4a1d949b32c23518038afd966d527dae87c61565283 SHA512 a8ec78473c55b70557fca88f525998ed51df3be58618b9da220e1bb73df013163f4e1563cbe2062b9cf1512152afeb9004b5be0be69cc1278c0d28597310dfd2 WHIRLPOOL 342d3bbdd94ff756a1253df7e8d0040c1d8bc744c695f970c89f2a62dcfd43fbdcaee16a9ac54a87c25d3be02d36b96f659cbb317d090b5fe1b45135865f1adb +EBUILD srm-1.2.11-r2.ebuild 827 SHA256 0e10ed63e53dcf4cad0a5b3ac4cc20d6e9b8e15f16d0dacd12da8ae7eb0ade34 SHA512 73f6d3948533f1f96530a581afe31c2e02f46b2a0ef16490e750844d7af6aa7b68eee2dfd69d208df4d1313f0a080c893f043db2bf61e67649d6fd4f38b9642d WHIRLPOOL c9aeaca8025e779262c9d2ec1f41c4687ff7664c40d32953043d9c3a9a128473fe3ea3504b8e05ad2492bc46daa2f2edd2acb3c9df136b0fe3c70269215c9083 +EBUILD srm-1.2.15.ebuild 825 SHA256 00afefc138112edb63fb1d4c78cb77ee52e2f87289fea852c47a90227a3ada14 SHA512 cd3ca3a093d981c404b22ae7053545ab2e2090b1c843198b20a23c338d174956aa50970802fbfc429c7296691d5dffbfbf88a5aa5a511ceeb458f768c45c13f3 WHIRLPOOL f9674b9a7987ab2423399a3d96df134a0219600f663c89d270c12fd8ec7a713ba46d6046a13909bf1f2f33db618573f8fd914bf29aa96e67e1b0f017bc9a3297 +MISC ChangeLog 3027 SHA256 d1c1e4354f92b636dc0cece7b093ba3c1469603dacfb3e15d8d39dbcd8fe0b12 SHA512 93c6b927f5ccb3985775362ca3577bc5fee7aad41b65d22e8427ba6c4e1d6cc0500bea33a6db93d09321fec6e2d4185761c0f423a43f51473cbf9139468e9816 WHIRLPOOL 1815ea34376acf43c7892fe549eb9b2f0304247b74f4cfad8df239a1cbd1e31b2ff65710d29107be18a1210bc1aa13e54a94912b210e3d0b0cc1135a6a010749 +MISC ChangeLog-2015 4494 SHA256 104cb1587f6aba4e7ebcfb69fb3217e985bf9077fb5594b8495700f6586703f5 SHA512 d8022c7ec1f7bd42e906a1f8811d8031f4f9defc6e1245f2c3cd0c04ee79be5884b9eedc3597ce614cd38162aa133eba9b4a2ffc37ca46ec2e4f91ca480dfcc3 WHIRLPOOL eeac81a71e193f5dd1b3f1f3b3db2cb1bdbb04857a35ad3de94c9963e5aecae5857ba817ad09b28d5238670310e5629bbb23ef9faadb31190052dde6e347d7c2 +MISC metadata.xml 326 SHA256 626d8c5395f9a24a950467b5d55e97144ada200ea70a3576ccaec9014e568d26 SHA512 721014538f226f65a6d673e52715b7802e714f87fb8c98c74e610ea603f1cd72504da9229d72e15012fee7fc3d17f6c1b702e1ad5ec300b9696f8b717b492293 WHIRLPOOL 279b2c988dbe99f9672b9bb7fe9fb5012462c373b54f96f50d8e1f58de3dc63a61b70c9fefc851aa69692f37d05dbd4d40dfffb5a5a9b9234eee96357fcc12ba diff --git a/app-misc/srm/files/srm-1.2.11-cflags.patch b/app-misc/srm/files/srm-1.2.11-cflags.patch new file mode 100644 index 000000000000..7f05c5d2aa9d --- /dev/null +++ b/app-misc/srm/files/srm-1.2.11-cflags.patch @@ -0,0 +1,23 @@ +--- configure.in 2010-06-06 13:22:08.000000000 -0400 ++++ configure.in 2011-11-06 11:36:37.684800151 -0500 +@@ -6,8 +6,6 @@ + + dnl Checks for programs. + AC_PROG_CC +-dnl reset CFLAGS +-CFLAGS= + + AC_PROG_INSTALL + AC_PROG_RANLIB +@@ -39,10 +37,9 @@ + AC_ARG_ENABLE(debug, [ --enable-debug=[no/yes] turn on debugging + [default=$debug_default]],, enable_debug=$debug_default) + if test "x$enable_debug" = "xyes"; then +- CFLAGS="$CFLAGS -g" + AC_MSG_RESULT(yes) + else +- CFLAGS="$CFLAGS -O2 -DNDEBUG" ++ CFLAGS="$CFLAGS -DNDEBUG" + AC_MSG_RESULT(no) + fi + diff --git a/app-misc/srm/files/srm-1.2.15-cflags.patch b/app-misc/srm/files/srm-1.2.15-cflags.patch new file mode 100644 index 000000000000..0a45bdc12520 --- /dev/null +++ b/app-misc/srm/files/srm-1.2.15-cflags.patch @@ -0,0 +1,10 @@ +--- srm-1.2.15/configure.ac ++++ srm-1.2.15/configure.ac +@@ -42,7 +42,6 @@ + AC_ARG_ENABLE(debug, [ --enable-debug=[no/yes] turn on debugging + [default=$debug_default]],, enable_debug=$debug_default) + if test "x$enable_debug" = "xyes"; then +- CFLAGS="$CFLAGS -g" + AC_MSG_RESULT(yes) + else + CFLAGS="$CFLAGS -DNDEBUG" diff --git a/app-misc/srm/metadata.xml b/app-misc/srm/metadata.xml new file mode 100644 index 000000000000..ebb6d1580d6d --- /dev/null +++ b/app-misc/srm/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>titanofold@gentoo.org</email> + <name>Aaron W. Swenson</name> + </maintainer> + <upstream> + <remote-id type="sourceforge">srm</remote-id> + </upstream> +</pkgmetadata> diff --git a/app-misc/srm/srm-1.2.11-r2.ebuild b/app-misc/srm/srm-1.2.11-r2.ebuild new file mode 100644 index 000000000000..f88fd563ae67 --- /dev/null +++ b/app-misc/srm/srm-1.2.11-r2.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="4" + +inherit autotools eutils + +DESCRIPTION="A command-line compatible rm which destroys file contents before unlinking" +HOMEPAGE="https://sourceforge.net/projects/srm/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 ppc ~ppc64 x86" +IUSE="debug" + +DEPEND="!app-misc/secure-delete + sys-kernel/linux-headers +" + +DOCS=( AUTHORS ChangeLog NEWS README TODO ) + +src_prepare() { + epatch "${FILESDIR}/${PN}-1.2.11-cflags.patch" + eautoreconf +} + +src_configure() { + econf $(use_enable debug) +} + +pkg_postinst() { + ewarn "Please note that srm will not work as expected with any journaled file" + ewarn "system (e.g., reiserfs, ext3)." + ewarn "See: ${EROOT%/}/usr/share/doc/${PF}/README" +} diff --git a/app-misc/srm/srm-1.2.15.ebuild b/app-misc/srm/srm-1.2.15.ebuild new file mode 100644 index 000000000000..c4fef52773d4 --- /dev/null +++ b/app-misc/srm/srm-1.2.15.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit autotools eutils + +DESCRIPTION="A command-line compatible rm which destroys file contents before unlinking" +HOMEPAGE="https://sourceforge.net/projects/srm/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 ppc ~ppc64 x86" +IUSE="debug" + +DEPEND="!app-misc/secure-delete + sys-kernel/linux-headers +" + +DOCS=( AUTHORS ChangeLog NEWS README TODO ) + +src_prepare() { + epatch "${FILESDIR}/${PN}-1.2.15-cflags.patch" + eautoreconf +} + +src_configure() { + econf $(use_enable debug) +} + +pkg_postinst() { + ewarn "Please note that srm will not work as expected with any journaled file" + ewarn "system (e.g., reiserfs, ext3)." + ewarn "See: ${EROOT%/}/usr/share/doc/${PF}/README" +} |