diff options
author | Seemant Kulleen <seemant@gentoo.org> | 2006-10-10 14:46:01 +0000 |
---|---|---|
committer | Seemant Kulleen <seemant@gentoo.org> | 2006-10-10 14:46:01 +0000 |
commit | 0555d83f04e658937de90b16c8d8b775e1739d0a (patch) | |
tree | 81dc029dfbb7e388650b6d4981e073fd19b20bc3 /app-backup/backuppc | |
parent | removed cruft ebuild, and added a postinst to close bug #147063 by Hendrik Fr... (diff) | |
download | gentoo-2-0555d83f04e658937de90b16c8d8b775e1739d0a.tar.gz gentoo-2-0555d83f04e658937de90b16c8d8b775e1739d0a.tar.bz2 gentoo-2-0555d83f04e658937de90b16c8d8b775e1739d0a.zip |
removed cruft ebuild, and added a postinst to close bug #147063 by Hendrik Friedel
(Portage version: 2.1.2_pre2-r7)
(Unsigned Manifest commit)
Diffstat (limited to 'app-backup/backuppc')
-rw-r--r-- | app-backup/backuppc/Manifest | 23 | ||||
-rw-r--r-- | app-backup/backuppc/backuppc-2.1.2.ebuild | 130 | ||||
-rw-r--r-- | app-backup/backuppc/files/digest-backuppc-2.1.2 | 6 |
3 files changed, 8 insertions, 151 deletions
diff --git a/app-backup/backuppc/Manifest b/app-backup/backuppc/Manifest index 1b594c571833..8314a9fe15c3 100644 --- a/app-backup/backuppc/Manifest +++ b/app-backup/backuppc/Manifest @@ -8,25 +8,18 @@ RMD160 5ba199181c43a2aa7b94ac077bfeb17fb01641da files/postinstall-en.txt 69 SHA256 86a0aaa4567e89fdbdf67b2cd3bbfd6609313ad51bb55ea66f1bea21d2e8583f files/postinstall-en.txt 69 DIST BackupPC-2.1.2.tar.gz 354599 RMD160 4708ea10f1471d266bb7c77f86cfecb919348d13 SHA1 9f99e201fbf6bbd016c19007e5fb4072d77312c7 SHA256 5ed4afb044611eb00ef6910d56c3cb9fab34dd29a67600e4a727c0beed27a383 DIST backuppc-2.1.2-gentoo-0.1.tar.bz2 17219 RMD160 ae172882e58707bbe0c9d659ca300e490bc375b2 SHA1 c701e8456ff67ca112d5128ded415a50a963016f SHA256 3f171d145cb0bae0f28b2f3861e039b4b43686b3fd25aa66d8a8262f54b50862 -EBUILD backuppc-2.1.2-r1.ebuild 3157 RMD160 47455367994104d1e7e48ac3c90ba9158405d40f SHA1 9e7746f01c5fe956e839ff8be16dd6c9398aea3c SHA256 ae5a954d3766a53bb21457c4f03d06e3599d68d12a4def243921594b1c1bebe1 -MD5 ee34ad45dce48f26e614f7ff2332bd2a backuppc-2.1.2-r1.ebuild 3157 -RMD160 47455367994104d1e7e48ac3c90ba9158405d40f backuppc-2.1.2-r1.ebuild 3157 -SHA256 ae5a954d3766a53bb21457c4f03d06e3599d68d12a4def243921594b1c1bebe1 backuppc-2.1.2-r1.ebuild 3157 -EBUILD backuppc-2.1.2.ebuild 3198 RMD160 89240e693f4742bc82d1ee5320750576db365fcb SHA1 023ce76fc74080406fd9182c77677e63e6e70a49 SHA256 03d8767ab62920a195b714b91423daa1b4c72f0f29333dd555c8c911c63eeda5 -MD5 16e58e2361e8ba19aa18de8b0174dc57 backuppc-2.1.2.ebuild 3198 -RMD160 89240e693f4742bc82d1ee5320750576db365fcb backuppc-2.1.2.ebuild 3198 -SHA256 03d8767ab62920a195b714b91423daa1b4c72f0f29333dd555c8c911c63eeda5 backuppc-2.1.2.ebuild 3198 -MISC ChangeLog 1023 RMD160 97b53a8cbb99d777883e01ecd82cf7ffc6440770 SHA1 4b77c8961dc074fd300ca8159b612d537d6cd101 SHA256 81e5f4e0acd45e22b85ed17b3d4514841269b29d45865173a0d8dac23f0df711 -MD5 be131a3a663b36bdef176d34946f8874 ChangeLog 1023 -RMD160 97b53a8cbb99d777883e01ecd82cf7ffc6440770 ChangeLog 1023 -SHA256 81e5f4e0acd45e22b85ed17b3d4514841269b29d45865173a0d8dac23f0df711 ChangeLog 1023 +EBUILD backuppc-2.1.2-r1.ebuild 3305 RMD160 019f28b61200bd8e14d455ea34ca8696d3f37f1c SHA1 9688636b4142d9b05ffa868558a96cfa99de5911 SHA256 986a41f8bc88bdff744e98d710a95ced7522801c720c78104d5234f47125cbe4 +MD5 e6edf82aab5b2117c56473a1ebc52e1a backuppc-2.1.2-r1.ebuild 3305 +RMD160 019f28b61200bd8e14d455ea34ca8696d3f37f1c backuppc-2.1.2-r1.ebuild 3305 +SHA256 986a41f8bc88bdff744e98d710a95ced7522801c720c78104d5234f47125cbe4 backuppc-2.1.2-r1.ebuild 3305 +MISC ChangeLog 1215 RMD160 b14a5a65dfd0927d4dbb0472c193ef578d1c575e SHA1 c3f2da88ba3c12cf4dc0e65192476a71eac2a21f SHA256 7d0fecd2a135f2294edc78b1a9a7ddb6d6a04c01d2f5b905107e79b58aa885a9 +MD5 e361dc9b1ca7c018089ec0ba980f2a71 ChangeLog 1215 +RMD160 b14a5a65dfd0927d4dbb0472c193ef578d1c575e ChangeLog 1215 +SHA256 7d0fecd2a135f2294edc78b1a9a7ddb6d6a04c01d2f5b905107e79b58aa885a9 ChangeLog 1215 MISC metadata.xml 257 RMD160 e51e4c87d1c9c5c66bd6b7c4ca7ba140c2ed9050 SHA1 9b3b8bde9fc6c20862b7e5ae4187a5830bdbd73e SHA256 1991fe897fa842832184bed617b1add99109a8ec9ba158493d5d0e422a64309a MD5 95f802b1f64061dbaa6f1828efd53a03 metadata.xml 257 RMD160 e51e4c87d1c9c5c66bd6b7c4ca7ba140c2ed9050 metadata.xml 257 SHA256 1991fe897fa842832184bed617b1add99109a8ec9ba158493d5d0e422a64309a metadata.xml 257 -MD5 4afde428eec08950f579b6e1cc258715 files/digest-backuppc-2.1.2 521 -RMD160 b1925b42c42dc04d33f5fdc870cf55002a3a10dd files/digest-backuppc-2.1.2 521 -SHA256 a6d5fdf8c5a68c3d94f5bda5d910815cacba21c69e30c12e6337c9f20ba4e5d2 files/digest-backuppc-2.1.2 521 MD5 4afde428eec08950f579b6e1cc258715 files/digest-backuppc-2.1.2-r1 521 RMD160 b1925b42c42dc04d33f5fdc870cf55002a3a10dd files/digest-backuppc-2.1.2-r1 521 SHA256 a6d5fdf8c5a68c3d94f5bda5d910815cacba21c69e30c12e6337c9f20ba4e5d2 files/digest-backuppc-2.1.2-r1 521 diff --git a/app-backup/backuppc/backuppc-2.1.2.ebuild b/app-backup/backuppc/backuppc-2.1.2.ebuild deleted file mode 100644 index ec46f620095d..000000000000 --- a/app-backup/backuppc/backuppc-2.1.2.ebuild +++ /dev/null @@ -1,130 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-backup/backuppc/backuppc-2.1.2.ebuild,v 1.2 2005/10/02 15:02:29 flameeyes Exp $ - -inherit eutils webapp - -IUSE="samba doc" - -MY_P=BackupPC-${PV} -PATCH_VER=0.1 -S=${WORKDIR}/${MY_P} -DESCRIPTION="A high performance, enterprise grade backup system for backing up -Linux, Windows, Mac OS X desktops and laptops to a server's disk. No client -side software needed." -HOMEPAGE="http://backuppc.sourceforge.net" -SRC_URI="mirror://sourceforge/backuppc/${MY_P}.tar.gz - http://dev.gentoo.org/~seemant/distfiles/${P}-gentoo-${PATCH_VER}.tar.bz2 - mirror://gentoo/${P}-gentoo-${PATCH_VER}.tar.bz2" - -LICENSE="GPL-2" -KEYWORDS="~amd64 ~x86" - -DEPEND="dev-lang/perl" -RDEPEND="dev-perl/File-RsyncP - app-arch/par2cmdline - app-arch/gzip - app-arch/bzip2 - app-arch/unzip - dev-perl/Archive-Zip - virtual/mta - samba? ( net-fs/samba )" - -PATCHDIR=${WORKDIR}/gentoo/prepatch - -pkg_setup() { - enewgroup backuppc - enewuser backuppc -1 -1 /dev/null backuppc - - webapp_pkg_setup -} - -src_unpack() { - unpack ${A}; cd ${S} - - EPATCH_SUFFIX="diff" epatch ${PATCHDIR} -} - -src_compile() { - find ./ -name 'CVS' -type d | xargs rm -rf -} - -src_test() { - einfo "Can not test" -} - -src_install() { - local myconf - if use samba ; then - myconf="--bin-path smbclient=$(type -p smbclient)" - myconf="--bin-path nmblookup=$(type -p nmblookup)" - fi - - webapp_src_preinst - - dodir ${MY_HTDOCSDIR}/${PN} - - ./configure.pl \ - --batch \ - --bin-path perl=$(type -p perl) \ - --bin-path ptar=$(type -p tar) \ - --bin-path rsync=$(type -p rsync) \ - --bin-path ping=$(type -p ping) \ - --bin-path df=$(type -p df) \ - --bin-path ssh=$(type -p ssh) \ - --bin-path sendmail=$(type -p sendmail) \ - --bin-path hostname=$(type -p hostname) \ - --bin-path gzip=$(type -p gzip) \ - --bin-path bzip2=$(type -p bzip2) \ - --bin-path hostname=$(type -p hostname) \ - --hostname XXXXXX \ - --uid-ignore \ - --install-dir=/usr \ - --dest-dir ${D} \ - --html-dir ${MY_HTDOCSDIR}/image \ - --html-dir-url /backuppc/image \ - --cgi-dir ${MY_CGIBINDIR}/ \ - --data-dir /var/lib/backuppc \ - ${myconf} || die "failed the configure.pl script" - - pod2man \ - --section=8 \ - --center="BackupPC manual" \ - ${S}/doc/BackupPC.pod backuppc.8 || die "failed to generate man page" - - doman backuppc.8 - - diropts -m 750 - keepdir /var/lib/backuppc/{trash,pool,pc,log,cpool} - - diropts -m 755 - dodir /etc/backuppc - mv ${D}/var/lib/backuppc/conf/* ${D}/etc/backuppc - rmdir ${D}/var/lib/backuppc/conf - - fperms 644 /etc/backuppc/config.pl - fperms 644 /etc/backuppc/hosts - - newinitd ${S}/init.d/gentoo-backuppc backuppc - newconfd ${S}/init.d/gentoo-backuppc.conf backuppc - - webapp_postinst_txt \ - en ${FILESDIR}/postinstall-en.txt || die "webapp_postinst_txt" - - webapp_src_install || die "webapp_src_install" - - cd ${D}/etc/backuppc - ebegin "Patching config.pl for sane defaults" - patch -p0 < ${WORKDIR}/gentoo/postpatch/config.pl.diff - eend $? - - chown -R backuppc:backuppc "${D}/var/lib/backuppc" -} - -pkg_postinst() { - webapp_pkg_postinst - - ebegin "Adjusting ownership of /var/lib/backuppc" - chown -R backuppc:backuppc "${ROOT}/var/lib/backuppc" - eend $? -} diff --git a/app-backup/backuppc/files/digest-backuppc-2.1.2 b/app-backup/backuppc/files/digest-backuppc-2.1.2 deleted file mode 100644 index 40e3ccf0597e..000000000000 --- a/app-backup/backuppc/files/digest-backuppc-2.1.2 +++ /dev/null @@ -1,6 +0,0 @@ -MD5 72fc0f09084f44c42ba5d22451cfe29b BackupPC-2.1.2.tar.gz 354599 -RMD160 4708ea10f1471d266bb7c77f86cfecb919348d13 BackupPC-2.1.2.tar.gz 354599 -SHA256 5ed4afb044611eb00ef6910d56c3cb9fab34dd29a67600e4a727c0beed27a383 BackupPC-2.1.2.tar.gz 354599 -MD5 84a94fa957cef434e453c0d8350c0b46 backuppc-2.1.2-gentoo-0.1.tar.bz2 17219 -RMD160 ae172882e58707bbe0c9d659ca300e490bc375b2 backuppc-2.1.2-gentoo-0.1.tar.bz2 17219 -SHA256 3f171d145cb0bae0f28b2f3861e039b4b43686b3fd25aa66d8a8262f54b50862 backuppc-2.1.2-gentoo-0.1.tar.bz2 17219 |