summaryrefslogtreecommitdiff
path: root/app-misc/srm
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /app-misc/srm
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.xz
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'app-misc/srm')
-rw-r--r--app-misc/srm/Manifest2
-rw-r--r--app-misc/srm/files/cflags.patch21
-rw-r--r--app-misc/srm/files/srm-1.2.11-cflags.patch23
-rw-r--r--app-misc/srm/files/srm-1.2.15-cflags.patch10
-rw-r--r--app-misc/srm/files/srm-1.2.8-remove-mount.patch13
-rw-r--r--app-misc/srm/metadata.xml15
-rw-r--r--app-misc/srm/srm-1.2.11-r2.ebuild37
-rw-r--r--app-misc/srm/srm-1.2.15.ebuild37
8 files changed, 158 insertions, 0 deletions
diff --git a/app-misc/srm/Manifest b/app-misc/srm/Manifest
new file mode 100644
index 00000000000..50f10ee2d84
--- /dev/null
+++ b/app-misc/srm/Manifest
@@ -0,0 +1,2 @@
+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
diff --git a/app-misc/srm/files/cflags.patch b/app-misc/srm/files/cflags.patch
new file mode 100644
index 00000000000..d8f598b6892
--- /dev/null
+++ b/app-misc/srm/files/cflags.patch
@@ -0,0 +1,21 @@
+diff -Naur srm-1.2.11.orig/configure.in srm-1.2.11/configure.in
+--- srm-1.2.11.orig/configure.in 2010-06-06 13:22:08.000000000 -0400
++++ srm-1.2.11/configure.in 2011-09-28 21:23:24.562682859 -0400
+@@ -6,8 +6,6 @@
+
+ dnl Checks for programs.
+ AC_PROG_CC
+-dnl reset CFLAGS
+-CFLAGS=
+
+ AC_PROG_INSTALL
+ AC_PROG_RANLIB
+@@ -42,7 +40,7 @@
+ 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.11-cflags.patch b/app-misc/srm/files/srm-1.2.11-cflags.patch
new file mode 100644
index 00000000000..7f05c5d2aa9
--- /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 00000000000..0a45bdc1252
--- /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/files/srm-1.2.8-remove-mount.patch b/app-misc/srm/files/srm-1.2.8-remove-mount.patch
new file mode 100644
index 00000000000..0f3297a43a3
--- /dev/null
+++ b/app-misc/srm/files/srm-1.2.8-remove-mount.patch
@@ -0,0 +1,13 @@
+--- src/sunlink.c 2007-03-05 03:01:00.000000000 +0530
++++ src/sunlink.c 2007-03-05 03:01:16.000000000 +0530
+@@ -20,9 +20,8 @@
+ #include <sys/vfs.h>
+ #endif
+
+-#if HAVE_SYS_PARAM_H && HAVE_SYS_MOUNT_H
++#if HAVE_SYS_PARAM_H
+ #include <sys/param.h>
+-#include <sys/mount.h>
+ #endif
+
+ #include "srm.h"
diff --git a/app-misc/srm/metadata.xml b/app-misc/srm/metadata.xml
new file mode 100644
index 00000000000..d8967968aa2
--- /dev/null
+++ b/app-misc/srm/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>idella4@gentoo.org</email>
+ <name>Ian Delaney</name>
+ </maintainer>
+ <maintainer>
+ <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 00000000000..fbbfdf4b772
--- /dev/null
+++ b/app-misc/srm/srm-1.2.11-r2.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="4"
+
+inherit autotools eutils
+
+DESCRIPTION="A command-line compatible rm which destroys file contents before unlinking"
+HOMEPAGE="http://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 00000000000..fdcc2a77a52
--- /dev/null
+++ b/app-misc/srm/srm-1.2.15.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit autotools eutils
+
+DESCRIPTION="A command-line compatible rm which destroys file contents before unlinking"
+HOMEPAGE="http://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"
+}