Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 520252 - app-forensics/scalpel-2.0 - new HOMEPAGE and SRC_URI
Summary: app-forensics/scalpel-2.0 - new HOMEPAGE and SRC_URI
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal enhancement with 1 vote (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL: https://github.com/sleuthkit/scalpel
Whiteboard:
Keywords: NeedPatch
Depends on:
Blocks:
 
Reported: 2014-08-19 15:04 UTC by Joerg Neikes
Modified: 2018-10-08 12:22 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
scalpel-9999.ebuild (scalpel-9999.ebuild,976 bytes, text/plain)
2014-08-19 15:07 UTC, Joerg Neikes
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Joerg Neikes 2014-08-19 15:04:07 UTC
app-forensics/scalpel-2.0 could not load file on installation.

Project changed to git repo.

Reproducible: Always

Steps to Reproduce:
1.emerge app-forensics/scalpel

Actual Results:  
Calculating dependencies... done!

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) app-forensics/scalpel-2.0::gentoo
Refetching... File renamed to '/usr/portage/distfiles/scalpel-2.0.tar.gz._checksum_failure_.nlxVoD'

>>> Downloading 'http://mirror.some.tld/gentoo/distfiles/scalpel-2.0.tar.gz'
--2014-08-19 16:58:12--  http://mirror.some.tld/gentoo/distfiles/scalpel-2.0.tar.gz
Resolving mirror.some.tld (mirror.some.tld)... 10.1.1.1
Connecting to mirror.some.tld (mirror.some.tld)|10.1.1.1|:8080... connected.
Proxy request sent, awaiting response... 404 Not Found
2014-08-19 16:58:12 ERROR 404: Not Found.

!!! Couldn't download 'scalpel-2.0.tar.gz'. Aborting.
 * Fetch failed for 'app-forensics/scalpel-2.0', Log file:
 *  '/var/log/portage/app-forensics:scalpel-2.0:20140819-145812.log

wget http://www.digitalforensicssolutions.com/Scalpel/scalpel-2.0.tar.gz
--2014-08-19 16:58:31--  http://www.digitalforensicssolutions.com/Scalpel/scalpel-2.0.tar.gz
Auflösen des Hostnamen »www.digitalforensicssolutions.com (www.digitalforensicssolutions.com)«... 184.168.174.163
Verbindungsaufbau zu www.digitalforensicssolutions.com (www.digitalforensicssolutions.com)|184.168.174.163|:80... verbunden.
HTTP-Anforderung gesendet, warte auf Antwort... 404 Not Found
2014-08-19 16:58:31 FEHLER 404: Not Found.


Expected Results:  
Loads the file to extrakt.

emerge --info
Portage 2.2.12 (python 2.7.8-final-0, default/linux/x86/13.0, gcc-4.8.3, glibc-2.19-r1, 3.16.0-gentoo i686)
=================================================================
System uname: Linux-3.16.0-gentoo-i686-Intel-R-_Core-TM-_i7-2600_CPU_@_3.40GHz-with-gentoo-2.2
KiB Mem:    16571352 total,   6618072 free
KiB Swap:    7996220 total,   7991948 free
Timestamp of tree: Tue, 19 Aug 2014 14:15:01 +0000
ld GNU ld (Gentoo 2.24 p1.4) 2.24
distcc 3.1 i686-pc-linux-gnu [disabled]
ccache version 3.1.9 [enabled]
app-shells/bash:          4.2_p47
dev-java/java-config:     2.2.0
dev-lang/python:          2.5.4-r5, 2.6.9, 2.7.8, 3.1.5-r1, 3.2.5-r6, 3.3.5-r1, 3.4.1
dev-util/ccache:          3.1.9-r3
dev-util/cmake:           2.8.12.2-r1
dev-util/pkgconfig:       0.28-r2
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.13
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.4_p6-r1, 1.5-r1, 1.6.3-r1, 1.7.9-r2, 1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.6, 1.12.6, 1.13.4, 1.14.1
sys-devel/binutils:       2.24-r3
sys-devel/gcc:            4.4.7, 4.5.4, 4.6.3, 4.7.3, 4.8.3
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2-r1
sys-devel/make:           4.0-r1
sys-kernel/linux-headers: 3.16 (virtual/os-headers)
sys-libs/glibc:           2.19-r1
Repositories: gentoo sunrise xpol dev-zero
Installed sets: @system
ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="*"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /var/bind /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/apache2-php5.4/ext-active/ /etc/php/apache2-php5.5/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/php/cli-php5.4/ext-active/ /etc/php/cli-php5.5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--autounmask=n"
FCFLAGS="-O2 -march=i686 -pipe"
FEATURES="assume-digests binpkg-logs ccache config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -march=i686 -pipe"
GENTOO_MIRRORS="http://mirror.some.tld/gentoo/"
LANG="de_DE.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/sunrise /var/lib/layman/xpol-overlay /var/lib/layman/dev-zero"
SYNC="rsync://mirror.some.tld/gentoo-portage"
USE="X aac acl aff alsa apache apache2 bcmath berkdb branding bzip2 bzlib cairo calendar cli config-file cracklib crypt ctype cups curl curlwrappers custom-optimization cxx dba dbase dbx dio dns dri dvb dvd emacs encode ewf exif flatfile fontconfig fortran ftp gdbm gif gmp gnome-keyring gtk http-forms http-server iconv idn imap ipv6 jack java jpeg l7filter ldap lirc mad maildir mhash midi mime mmx mng modules mp3 mssql mysql ncurses nls nptl nptlonly nsplugin nss ogg opengl openmp openssl pam pcre pdf pdflib php pic png posix postgres qt qt3support qt4 quicktime readline realtime samba secure-delete semantic-desktop session sharedext simplexml smp soap sockets spell sse sse2 ssl ssse3 sysvipc tcpd tidy tiff timidity truetype unicode usb vhost vorbis wifi wma x86 xinerama xml xml2 xmlrpc xpm xsl xulrunner zlib" ABI_X86="32" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias authn_core ratelimit socache_shmcb slotmem_shm mysqli access_compat authz_core unixd mpm-prefork suexec" APACHE2_MPMS="prefork" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" DVB_CARDS="sp887x ttpci" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="de dk fi jp it nl fr" LIRC_DEVICES="devinput" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-3 php5-2" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="jython2_6 jython2_7 python2_7 python3_2 python3_3" QEMU_SOFTMMU_TARGETS="arm cris i386 m32 m68k microblaze microblazeel mips mips64 mips64el mipsel ppc ppc64 ppcemb s390x sh4 sh4eb sparc sparc64 x86_64 xtensa xtensaeb" QEMU_USER_TARGETS="alpha arm armeb cris i386 m68k microblaze microblazeel mips mipsel ppc ppc64 ppc64abi32 s390x sh4 sh4eb sparc sparc32plus sparc64 unicore32 x86_64" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
USE_PYTHON="2.6 2.7 3.2 3.3"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Joerg Neikes 2014-08-19 15:04:38 UTC
emerge --info
Portage 2.2.12 (python 2.7.8-final-0, default/linux/x86/13.0, gcc-4.8.3, glibc-2.19-r1, 3.16.0-gentoo i686)
=================================================================
System uname: Linux-3.16.0-gentoo-i686-Intel-R-_Core-TM-_i7-2600_CPU_@_3.40GHz-with-gentoo-2.2
KiB Mem:    16571352 total,   6618072 free
KiB Swap:    7996220 total,   7991948 free
Timestamp of tree: Tue, 19 Aug 2014 14:15:01 +0000
ld GNU ld (Gentoo 2.24 p1.4) 2.24
distcc 3.1 i686-pc-linux-gnu [disabled]
ccache version 3.1.9 [enabled]
app-shells/bash:          4.2_p47
dev-java/java-config:     2.2.0
dev-lang/python:          2.5.4-r5, 2.6.9, 2.7.8, 3.1.5-r1, 3.2.5-r6, 3.3.5-r1, 3.4.1
dev-util/ccache:          3.1.9-r3
dev-util/cmake:           2.8.12.2-r1
dev-util/pkgconfig:       0.28-r2
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.13
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.4_p6-r1, 1.5-r1, 1.6.3-r1, 1.7.9-r2, 1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.6, 1.12.6, 1.13.4, 1.14.1
sys-devel/binutils:       2.24-r3
sys-devel/gcc:            4.4.7, 4.5.4, 4.6.3, 4.7.3, 4.8.3
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2-r1
sys-devel/make:           4.0-r1
sys-kernel/linux-headers: 3.16 (virtual/os-headers)
sys-libs/glibc:           2.19-r1
Repositories: gentoo sunrise xpol dev-zero
Installed sets: @system
ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="*"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /var/bind /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/apache2-php5.4/ext-active/ /etc/php/apache2-php5.5/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/php/cli-php5.4/ext-active/ /etc/php/cli-php5.5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--autounmask=n"
FCFLAGS="-O2 -march=i686 -pipe"
FEATURES="assume-digests binpkg-logs ccache config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -march=i686 -pipe"
GENTOO_MIRRORS="http://mirror.some.tld/gentoo/"
LANG="de_DE.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/sunrise /var/lib/layman/xpol-overlay /var/lib/layman/dev-zero"
SYNC="rsync://mirror.some.tld/gentoo-portage"
USE="X aac acl aff alsa apache apache2 bcmath berkdb branding bzip2 bzlib cairo calendar cli config-file cracklib crypt ctype cups curl curlwrappers custom-optimization cxx dba dbase dbx dio dns dri dvb dvd emacs encode ewf exif flatfile fontconfig fortran ftp gdbm gif gmp gnome-keyring gtk http-forms http-server iconv idn imap ipv6 jack java jpeg l7filter ldap lirc mad maildir mhash midi mime mmx mng modules mp3 mssql mysql ncurses nls nptl nptlonly nsplugin nss ogg opengl openmp openssl pam pcre pdf pdflib php pic png posix postgres qt qt3support qt4 quicktime readline realtime samba secure-delete semantic-desktop session sharedext simplexml smp soap sockets spell sse sse2 ssl ssse3 sysvipc tcpd tidy tiff timidity truetype unicode usb vhost vorbis wifi wma x86 xinerama xml xml2 xmlrpc xpm xsl xulrunner zlib" ABI_X86="32" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias authn_core ratelimit socache_shmcb slotmem_shm mysqli access_compat authz_core unixd mpm-prefork suexec" APACHE2_MPMS="prefork" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" DVB_CARDS="sp887x ttpci" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="de dk fi jp it nl fr" LIRC_DEVICES="devinput" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-3 php5-2" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="jython2_6 jython2_7 python2_7 python3_2 python3_3" QEMU_SOFTMMU_TARGETS="arm cris i386 m32 m68k microblaze microblazeel mips mips64 mips64el mipsel ppc ppc64 ppcemb s390x sh4 sh4eb sparc sparc64 x86_64 xtensa xtensaeb" QEMU_USER_TARGETS="alpha arm armeb cris i386 m68k microblaze microblazeel mips mipsel ppc ppc64 ppc64abi32 s390x sh4 sh4eb sparc sparc32plus sparc64 unicore32 x86_64" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
USE_PYTHON="2.6 2.7 3.2 3.3"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Joerg Neikes 2014-08-19 15:07:42 UTC
Created attachment 383126 [details]
scalpel-9999.ebuild

Added git repo and configuration for ./bootstrap ./configure and make to the ebuild.
Comment 3 Jeroen Roovers gentoo-dev 2014-08-19 20:03:49 UTC
Comment on attachment 383126 [details]
scalpel-9999.ebuild

That's not a change to the ebuild - that's a brand new live ebuild.


--- scalpel-2.0.ebuild  2011-05-28 14:33:31.000000000 +0200
+++ scalpel-9999.ebuild   2014-08-19 22:02:37.923807721 +0200
@@ -4,11 +4,14 @@

 EAPI=4

+inherit git-2 autotools
+
 DESCRIPTION="A high performance file carver"
-HOMEPAGE="http://www.digitalforensicssolutions.com/Scalpel/"
-SRC_URI="http://www.digitalforensicssolutions.com/Scalpel/${P}.tar.gz"
+HOMEPAGE="https://github.com/sleuthkit/scalpel"
+
+EGIT_REPO_URI="https://github.com/sleuthkit/scalpel.git"

-LICENSE="GPL-2"
+LICENSE="Apache-2"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
 IUSE=""
@@ -23,6 +26,19 @@
        sed -i -e "s:scalpel.conf:/etc/\0:" src/scalpel.h || die "sed failed"
 }

+src_compile() {
+       if [ -x ./bootstrap ]; then
+        WANT_AUTOCONF=2.5      ./bootstrap
+       fi
+       if [ -x ./configure ]; then
+        WANT_AUTOCONF=2.5      econf
+       fi
+       if [ -f Makefile ] || [ -f GNUmakefile ] || [ -f makefile ]; then
+       emake || die "emake failed"
+       fi
+}
+
+
 src_install() {
        default
Comment 4 Jonas Stein gentoo-dev 2017-11-26 23:54:55 UTC
Here we can see how other distributions continued:
https://repology.org/metapackage/scalpel/versions

Some have 2.1 AUR switched to the git version.
It looks to me, if the github page was a fork, is that correct?