path fix for mkfs.{dos,vfat,ntfs} from bug #107572 + bit of a cleanout
authorDaniel Black <dragonheart@gentoo.org>
Sat, 12 Nov 2005 10:02:43 +0000 (10:02 +0000)
committerDaniel Black <dragonheart@gentoo.org>
Sat, 12 Nov 2005 10:02:43 +0000 (10:02 +0000)
Package-Manager: portage-2.0.53_rc7

app-crypt/bestcrypt/ChangeLog
app-crypt/bestcrypt/Manifest
app-crypt/bestcrypt/bestcrypt-1.6_p1-r1.ebuild [deleted file]
app-crypt/bestcrypt/bestcrypt-1.6_p1.ebuild [deleted file]
app-crypt/bestcrypt/bestcrypt-1.6_p2-r1.ebuild [moved from app-crypt/bestcrypt/bestcrypt-1.6_p2.ebuild with 96% similarity]
app-crypt/bestcrypt/files/bestcrypt-1.6_p2-path.patch [new file with mode: 0644]
app-crypt/bestcrypt/files/digest-bestcrypt-1.6_p1 [deleted file]
app-crypt/bestcrypt/files/digest-bestcrypt-1.6_p1-r1 [deleted file]
app-crypt/bestcrypt/files/digest-bestcrypt-1.6_p2-r1 [moved from app-crypt/bestcrypt/files/digest-bestcrypt-1.6_p2 with 100% similarity]

index 2a00b25b786834666a1aef68b65a1ad0ece6acc5..3b6e7d10823f5a940b2a66c62bb3ab260cf4dd95 100644 (file)
@@ -1,6 +1,15 @@
 # ChangeLog for app-crypt/bestcrypt
 # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-crypt/bestcrypt/ChangeLog,v 1.38 2005/11/10 19:19:02 dragonheart Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/bestcrypt/ChangeLog,v 1.39 2005/11/12 10:02:43 dragonheart Exp $
+
+*bestcrypt-1.6_p2-r1 (12 Nov 2005)
+
+  12 Nov 2005; Daniel Black <dragonheart@gentoo.org>
+  +files/bestcrypt-1.6_p2-path.patch, -bestcrypt-1.6_p1.ebuild,
+  -bestcrypt-1.6_p1-r1.ebuild, -bestcrypt-1.6_p2.ebuild,
+  +bestcrypt-1.6_p2-r1.ebuild:
+  path fix for mkfs.{dos,vfat,ntfs} from bug #107572. Did a bit of a cleanout
+  too. Thanks to Alexander Wigen
 
 *bestcrypt-1.6_p2 (10 Nov 2005)
 
index 12c4cbb2ca685a2c77fa99f4678281631a6c9375..d1ef5c39486d4c28163b7705169a9f4e2ebcb728 100644 (file)
@@ -1,31 +1,28 @@
 -----BEGIN PGP SIGNED MESSAGE-----
 Hash: SHA1
 
-MD5 99f332b677685308fbccafd1a6568a55 ChangeLog 7703
+MD5 27940213f842645058fa6d0323ea1a85 ChangeLog 8056
 MD5 e30c17c4efee41b1ed3f849680d9cdfa bestcrypt-1.5_p10.ebuild 2974
 MD5 01fa3fab9cef0bcfe01671f972ba1052 bestcrypt-1.5_p11.ebuild 3130
-MD5 3c2d03aae97763035f173f2bb94dee06 bestcrypt-1.6_p1-r1.ebuild 3080
 MD5 dbc881283e69a96c6b64f474e7ad732b bestcrypt-1.6_p1-r2.ebuild 3368
-MD5 647e65173bc7229527e94aea50a6f3fd bestcrypt-1.6_p1.ebuild 3317
-MD5 2bcc5b3d69cf980c5e75f97b4698b47d bestcrypt-1.6_p2.ebuild 3174
+MD5 e37e1e4c10f5515dfede974dc9697827 bestcrypt-1.6_p2-r1.ebuild 3215
 MD5 063ae0f67213da39ed4dd75a594b3b07 files/bcrypt3 3246
 MD5 e9585e8f08138f46bdda7b88ddd81cd8 files/bestcrypt-1.5_p10-makefile_fix.patch 1136
 MD5 009cee9a408478ebf4f7c1a381c7e8b2 files/bestcrypt-1.5_p11-makefile_fix.patch 1148
 MD5 6827793707b540d0174ef30904e3ded1 files/bestcrypt-1.6_p1-kgsha256makefile_fix.patch 313
 MD5 e4fb0265d55a570daf750fa7c0b8414c files/bestcrypt-1.6_p1-makefile_fix.patch 1367
 MD5 cf95724607cedd581c142b4dc421d6d4 files/bestcrypt-1.6_p2-makefile_fix.patch 1760
+MD5 eee5b50e92787e0f9266bc2a5f8a3aed files/bestcrypt-1.6_p2-path.patch 342
 MD5 01225cc87eee84cf54232c86b04e8c93 files/bestcrypt.devfs 1673
 MD5 c9fdd7c76eb3731a6166cc9ff17bf722 files/digest-bestcrypt-1.5_p10 137
 MD5 0f4e6e0c1442b612832726753739f6b2 files/digest-bestcrypt-1.5_p11 208
-MD5 dee6aa8c71224187da9fbc2b2a6fc167 files/digest-bestcrypt-1.6_p1 136
-MD5 6a91a7867c21eaa1be5ac4b829ae34d9 files/digest-bestcrypt-1.6_p1-r1 207
 MD5 6a91a7867c21eaa1be5ac4b829ae34d9 files/digest-bestcrypt-1.6_p1-r2 207
-MD5 115400b8e4184f161f23a15a3b3bf724 files/digest-bestcrypt-1.6_p2 207
+MD5 115400b8e4184f161f23a15a3b3bf724 files/digest-bestcrypt-1.6_p2-r1 207
 MD5 566cf4f89e44670d0aba4a745913d748 metadata.xml 224
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.2-ecc0.1.6 (GNU/Linux)
 
-iD8DBQFDc50zmdTrptrqvGERAo2MAJsHuIctIXB8ONpHplD8saI46PCgYwCfYrNh
-KAJgwWXla96jVqCB/VLsm0w=
-=LXcw
+iD8DBQFDdb28mdTrptrqvGERAr0YAJ9DPwNH4Y4hS9aVuEyETFL4j+y/tACaArNn
+hcR+6Xa9os2n98E9+2Z58hg=
+=vYYL
 -----END PGP SIGNATURE-----
diff --git a/app-crypt/bestcrypt/bestcrypt-1.6_p1-r1.ebuild b/app-crypt/bestcrypt/bestcrypt-1.6_p1-r1.ebuild
deleted file mode 100644 (file)
index 5bcd7bd..0000000
+++ /dev/null
@@ -1,111 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-crypt/bestcrypt/bestcrypt-1.6_p1-r1.ebuild,v 1.3 2005/08/07 11:27:44 dragonheart Exp $
-
-inherit flag-o-matic eutils linux-mod toolchain-funcs
-
-MY_PN="bcrypt"
-DESCRIPTION="commercially licensed transparent filesystem encryption"
-HOMEPAGE="http://www.jetico.com/"
-SRC_URI="http://www.jetico.com/linux/BestCrypt-${PV/_p/-}.tar.gz
-       !x86? ( mirror://gentoo/bcrypt-rc6-serpent-c.diff.gz )
-       x86? ( http://www.carceri.dk/files/bcrypt-rc6-serpent.diff.gz )"
-
-LICENSE="bestcrypt"
-SLOT="0"
-IUSE=""
-KEYWORDS="~amd64 ~x86"
-
-DEPEND="virtual/linux-sources"
-
-S=${WORKDIR}/bcrypt
-
-#get-version
-MODULE_NAMES="bc(block:${S}/mod)
-               bc_des(block:${S}/mod/des)
-               bc_3des(block:${S}/mod/3des)
-               bc_bf128(block:${S}/mod/bf128)
-               bc_bf448(block:${S}/mod/bf448)
-               bc_blowfish(block:${S}/mod/blowfish)
-               bc_cast(block:${S}/mod/cast)
-               bc_gost(block:${S}/mod/gost)
-               bc_idea(block:${S}/mod/idea)
-               bc_rijn(block:${S}/mod/rijn)
-               bc_twofish(block:${S}/mod/twofish)
-               bc_serpent(block:${S}/mod/serpent)
-               bc_rc6(block:${S}/mod/rc6)"
-
-src_unpack() {
-       unpack ${A}
-       epatch ${FILESDIR}/${P}-makefile_fix.patch
-
-       if use x86;
-       then
-               epatch bcrypt-rc6-serpent.diff
-       else
-               epatch bcrypt-rc6-serpent-c.diff
-       fi
-}
-
-src_compile() {
-       filter-flags -fforce-addr
-
-       emake -C kgsha EXTRA_CXXFLAGS="${CXXFLAGS} -fPIC" || die "library compile failed"
-       emake -C src EXTRA_CFLAGS="${CFLAGS} -I../kgsha256" || die "bctool compile failed"
-
-       # Don't put stack protection in the kernel - it just is bad
-       append-flags -fno-stack-protector-all -fno-stack-protector
-
-       emake  -C mod SYMSRC=bc_dev${KV_MAJOR}${KV_MINOR}.c bc_dev.ver EXTRA_CFLAGS="${CFLAGS}" \
-               || die "compile failed"
-
-       emake  -C mod OBJS="bc_dev${KV_MAJOR}${KV_MINOR}.o bc_mgr.o" \
-               KERNEL_DIR=${KV_DIR} KEXT=${KV_OBJ} CC=$(tc-getCC) LD=$(tc-getLD) \
-               AS=$(tc-getAS) CPP=$(tc-getCXX) EXTRA_CFLAGS="${CFLAGS}" || die "compile failed"
-       einfo "Modules compiled"
-}
-
-src_install() {
-       linux-mod_src_install
-
-       cd ${S}
-       dodir /etc
-       cp etc/bc.conf ${D}/etc/bc.conf
-
-       dobin bin/bctool
-       insinto /usr/bin
-       for link in bcumount bcformat bcfsck bcnew bcpasswd bcinfo \
-               bclink bcunlink bcmake_hidden bcreencrypt;
-       do
-               dosym bctool /usr/bin/${link}
-       done
-
-
-       doman man/bctool.8
-       newinitd ${FILESDIR}/bcrypt3 bcrypt
-       dodoc README LICENSE HIDDEN_PART
-
-       insinto /etc/devfs.d
-       doins ${FILESDIR}/bestcrypt.devfs
-}
-
-
-pkg_postinst() {
-
-       einfo "If you are using the serpent or rc6 encryption modules and have any problems,"
-       einfo "please submit bugs to http://bugs.gentoo.org because these modules are not part"
-       einfo "of the standard distribution of BestCrypt for Linux released by Jetico."
-       einfo "For more information on these additional modules:"
-       einfo "visit http://www.carceri.dk/index.php?redirect=other_bestcrypt"
-
-       einfo
-       ewarn "The BestCrypt drivers are not free - Please purchace a license from "
-       ewarn "http://www.jetico.com/"
-
-       if [ -e "${ROOT}/dev/.devfsd" ]; then
-               killall -HUP devfsd
-       fi
-
-       einfo
-       linux-mod_pkg_postinst
-}
diff --git a/app-crypt/bestcrypt/bestcrypt-1.6_p1.ebuild b/app-crypt/bestcrypt/bestcrypt-1.6_p1.ebuild
deleted file mode 100644 (file)
index 3b9f041..0000000
+++ /dev/null
@@ -1,118 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-crypt/bestcrypt/bestcrypt-1.6_p1.ebuild,v 1.4 2005/08/07 11:27:44 dragonheart Exp $
-
-inherit flag-o-matic eutils linux-mod toolchain-funcs
-
-MY_PN="bcrypt"
-DESCRIPTION="commercially licensed transparent filesystem encryption"
-HOMEPAGE="http://www.jetico.com/"
-SRC_URI="http://www.jetico.com/linux/BestCrypt-${PV/_p/-}.tar.gz
-       http://www.carceri.dk/files/bcrypt-rc6-serpent.diff.gz"
-
-LICENSE="bestcrypt"
-SLOT="0"
-IUSE=""
-KEYWORDS="~amd64 ~x86"
-
-DEPEND="virtual/linux-sources"
-
-S=${WORKDIR}/bcrypt
-
-#get-version
-MODULE_NAMES="bc(block:${S}/mod)
-               bc_des(block:${S}/mod/des)
-               bc_3des(block:${S}/mod/3des)
-               bc_bf128(block:${S}/mod/bf128)
-               bc_bf448(block:${S}/mod/bf448)
-               bc_blowfish(block:${S}/mod/blowfish)
-               bc_cast(block:${S}/mod/cast)
-               bc_gost(block:${S}/mod/gost)
-               bc_idea(block:${S}/mod/idea)
-               bc_rijn(block:${S}/mod/rijn)
-               bc_twofish(block:${S}/mod/twofish)"
-
-src_unpack() {
-       unpack BestCrypt-${PV/_p/-}.tar.gz
-       epatch ${FILESDIR}/${P}-makefile_fix.patch
-       cd ${S}
-
-       if ! use amd64;
-       then
-               epatch ${DISTDIR}/bcrypt-rc6-serpent.diff.gz
-               export MODULE_NAMES="${MODULE_NAMES} bc_serpent(block:${S}/mod/serpent) bc_rc6(block:${S}/mod/rc6)"
-       fi
-}
-
-src_compile() {
-       if ! use amd64;
-       then
-               export MODULE_NAMES="${MODULE_NAMES} bc_serpent(block:${S}/mod/serpent) bc_rc6(block:${S}/mod/rc6)"
-       fi
-
-       filter-flags -fforce-addr
-
-       emake -C kgsha EXTRA_CXXFLAGS="${CXXFLAGS} -fPIC" || die "library compile failed"
-       emake -C src EXTRA_CFLAGS="${CFLAGS} -I../kgsha256" || die "bctool compile failed"
-
-       # Don't put stack protection in the kernel - it just is bad
-       append-flags -fno-stack-protector-all -fno-stack-protector
-
-       emake  -C mod SYMSRC=bc_dev${KV_MAJOR}${KV_MINOR}.c bc_dev.ver EXTRA_CFLAGS="${CFLAGS}" \
-               || die "compile failed"
-
-       emake  -C mod OBJS="bc_dev${KV_MAJOR}${KV_MINOR}.o bc_mgr.o" \
-               KERNEL_DIR=${KV_DIR} KEXT=${KV_OBJ} CC=$(tc-getCC) LD=$(tc-getLD) \
-               AS=$(tc-getAS) CPP=$(tc-getCXX) EXTRA_CFLAGS="${CFLAGS}" || die "compile failed"
-       einfo "Modules compiled"
-}
-
-src_install() {
-       if ! use amd64;
-       then
-               export MODULE_NAMES="${MODULE_NAMES} bc_serpent(block:${S}/mod/serpent) bc_rc6(block:${S}/mod/rc6)"
-       fi
-
-       linux-mod_src_install
-
-       cd ${S}
-       dodir /etc
-       cp etc/bc.conf ${D}/etc/bc.conf
-
-       dobin bin/bctool
-       insinto /usr/bin
-       for link in bcumount bcformat bcfsck bcnew bcpasswd bcinfo \
-               bclink bcunlink bcmake_hidden bcreencrypt;
-       do
-               dosym bctool /usr/bin/${link}
-       done
-
-
-       doman man/bctool.8
-       newinitd ${FILESDIR}/bcrypt3 bcrypt
-       dodoc README LICENSE HIDDEN_PART
-
-       insinto /etc/devfs.d
-       doins ${FILESDIR}/bestcrypt.devfs
-}
-
-
-pkg_postinst() {
-
-       einfo "If you are using the serpent or rc6 encryption modules and have any problems,"
-       einfo "please submit bugs to http://bugs.gentoo.org because these modules are not part"
-       einfo "of the standard distribution of BestCrypt for Linux released by Jetico."
-       einfo "For more information on these additional modules:"
-       einfo "visit http://www.carceri.dk/index.php?redirect=other_bestcrypt"
-
-       einfo
-       ewarn "The BestCrypt drivers are not free - Please purchace a license from "
-       ewarn "http://www.jetico.com/"
-
-       if [ -e "${ROOT}/dev/.devfsd" ]; then
-               killall -HUP devfsd
-       fi
-
-       einfo
-       linux-mod_pkg_postinst
-}
similarity index 96%
rename from app-crypt/bestcrypt/bestcrypt-1.6_p2.ebuild
rename to app-crypt/bestcrypt/bestcrypt-1.6_p2-r1.ebuild
index d94c319e47bae3d4e677dc5f456edf48c68c6907..e10077bb182c2109dd584aaf3655af93931b9b58 100644 (file)
@@ -1,6 +1,6 @@
 # Copyright 1999-2005 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-crypt/bestcrypt/bestcrypt-1.6_p2.ebuild,v 1.1 2005/11/10 19:19:02 dragonheart Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/bestcrypt/bestcrypt-1.6_p2-r1.ebuild,v 1.1 2005/11/12 10:02:43 dragonheart Exp $
 
 inherit flag-o-matic eutils linux-mod toolchain-funcs
 
@@ -38,6 +38,7 @@ MODULE_NAMES="bc(block:"${S}"/mod)
 src_unpack() {
        unpack ${A}
        epatch "${FILESDIR}"/${P}-makefile_fix.patch
+       epatch "${FILESDIR}"/${P}-path.patch
 
        if use x86;
        then
diff --git a/app-crypt/bestcrypt/files/bestcrypt-1.6_p2-path.patch b/app-crypt/bestcrypt/files/bestcrypt-1.6_p2-path.patch
new file mode 100644 (file)
index 0000000..88bbb4a
--- /dev/null
@@ -0,0 +1,11 @@
+--- bcrypt/src/misc.c.orig     2005-11-12 09:21:28.000000000 +1100
++++ bcrypt/src/misc.c  2005-11-12 09:21:49.000000000 +1100
+@@ -223,7 +223,7 @@
+ int run_process(char *args[])
+ {
+     int pid;
+-    char *env[] = { "PATH=/sbin", NULL};
++    char *env[] = { "PATH=/sbin:/usr/sbin", NULL};
+ 
+     assert(args != NULL);
+     assert(args[0] != NULL);
diff --git a/app-crypt/bestcrypt/files/digest-bestcrypt-1.6_p1 b/app-crypt/bestcrypt/files/digest-bestcrypt-1.6_p1
deleted file mode 100644 (file)
index ca24dfb..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-MD5 966088b98018c477438d908ad763056c BestCrypt-1.6-1.tar.gz 194566
-MD5 aa6e1f0e9ee797b409267bdba1f6534e bcrypt-rc6-serpent.diff.gz 5718
diff --git a/app-crypt/bestcrypt/files/digest-bestcrypt-1.6_p1-r1 b/app-crypt/bestcrypt/files/digest-bestcrypt-1.6_p1-r1
deleted file mode 100644 (file)
index da72c6b..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 966088b98018c477438d908ad763056c BestCrypt-1.6-1.tar.gz 194566
-MD5 d68956f4c2ed795c68a451a451de27bb bcrypt-rc6-serpent-c.diff.gz 6034
-MD5 aa6e1f0e9ee797b409267bdba1f6534e bcrypt-rc6-serpent.diff.gz 5718