diff options
author | Paweł Hajdan <phajdan.jr@gentoo.org> | 2009-12-18 17:37:06 +0000 |
---|---|---|
committer | Paweł Hajdan <phajdan.jr@gentoo.org> | 2009-12-18 17:37:06 +0000 |
commit | c4bd6b5af5ed8b79ab92d3085fd04fa3f19d19fe (patch) | |
tree | 078f86e4096dc27868071bbc387400bed3c78e40 /app-misc/lockfile-progs | |
parent | Bump to latest version, include support for 2.6.32 (diff) | |
download | historical-c4bd6b5af5ed8b79ab92d3085fd04fa3f19d19fe.tar.gz historical-c4bd6b5af5ed8b79ab92d3085fd04fa3f19d19fe.tar.bz2 historical-c4bd6b5af5ed8b79ab92d3085fd04fa3f19d19fe.zip |
Adding app-misc/lockfile-progs to the tree (bug #106393).
Will be needed for the logcheck package (bug #105816).
Package-Manager: portage-2.1.6.13/cvs/Linux i686
Diffstat (limited to 'app-misc/lockfile-progs')
-rw-r--r-- | app-misc/lockfile-progs/ChangeLog | 8 | ||||
-rw-r--r-- | app-misc/lockfile-progs/Manifest | 5 | ||||
-rw-r--r-- | app-misc/lockfile-progs/files/Makefile | 30 | ||||
-rw-r--r-- | app-misc/lockfile-progs/lockfile-progs-0.1.13.ebuild | 31 | ||||
-rw-r--r-- | app-misc/lockfile-progs/metadata.xml | 9 |
5 files changed, 83 insertions, 0 deletions
diff --git a/app-misc/lockfile-progs/ChangeLog b/app-misc/lockfile-progs/ChangeLog new file mode 100644 index 000000000000..15e46601a49d --- /dev/null +++ b/app-misc/lockfile-progs/ChangeLog @@ -0,0 +1,8 @@ +# ChangeLog for app-misc/lockfile-progs +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-misc/lockfile-progs/ChangeLog,v 1.1 2009/12/18 17:37:05 phajdan.jr Exp $ + + 18 Dec 2009; Pawel Hajdan jr <phajdan.jr@gentoo.org> +files/Makefile, + +metadata.xml: + New ebuild for lockfile-progs. Bug 106393. + diff --git a/app-misc/lockfile-progs/Manifest b/app-misc/lockfile-progs/Manifest new file mode 100644 index 000000000000..be2cd045bacd --- /dev/null +++ b/app-misc/lockfile-progs/Manifest @@ -0,0 +1,5 @@ +AUX Makefile 1191 RMD160 23bd497b83330dca3e3210f9773ab6e0a4f41116 SHA1 43369d6d707149c1919255fac6cdabcbff821125 SHA256 48440736abaff0359494e34a6753c0a2b3ecb1c39c0cc13d782f592552fd40aa +DIST lockfile-progs_0.1.13.tar.gz 116495 RMD160 507c084ba10619c5853edcb91f288b9c66a6f8d2 SHA1 ae3dfb42d4c1b6c9bc9be7a502d657ed2b58f74d SHA256 375c6068579770eaad73000eed54615fc8f4fb1ebd9384ed00ab7d0409711303 +EBUILD lockfile-progs-0.1.13.ebuild 802 RMD160 0574cfd7b6699312c20dbfebc455767db54602f4 SHA1 80f50303a77762e93694516f363cadcdd4414e28 SHA256 d4dc586d516de2f76bf48a3adb76badfe3cc246f130762735eddecc507e68d71 +MISC ChangeLog 358 RMD160 af329b0e621700c953b43b683b3ce7e29b0337ae SHA1 13189c07e8508539f8f7b03ff7822a94a97fcc6b SHA256 8ba8d59befb8cc5ace2e86a1b141166f6c03ea1e021093cda878439193012617 +MISC metadata.xml 260 RMD160 e9437033b7df4bdb32fdef6e886a1ed321a6f462 SHA1 f008d84bacf2428dafd6f33263898961dacf8c5e SHA256 c7f8354174de834aa476ee81d3412d85e1352a6647415dbeee403461b99ea19c diff --git a/app-misc/lockfile-progs/files/Makefile b/app-misc/lockfile-progs/files/Makefile new file mode 100644 index 000000000000..07ff7d5dd476 --- /dev/null +++ b/app-misc/lockfile-progs/files/Makefile @@ -0,0 +1,30 @@ +all: lockfile-create +.PHONY: all + +install: all + install -d $(DESTDIR)/usr/bin + + install --mode=755 lockfile-create $(DESTDIR)/usr/bin/lockfile-create + ln -s lockfile-create $(DESTDIR)/usr/bin/lockfile-remove + ln -s lockfile-create $(DESTDIR)/usr/bin/lockfile-touch + ln -s lockfile-create $(DESTDIR)/usr/bin/lockfile-check + + install --mode=755 lockfile-create $(DESTDIR)/usr/bin/mail-lock + ln -s mail-lock $(DESTDIR)/usr/bin/mail-unlock + ln -s mail-unlock $(DESTDIR)/usr/bin/mail-touchlock + + install -d $(DESTDIR)/usr/share/man/man1 + + install --mode=644 lockfile-progs.1 $(DESTDIR)/usr/share/man/man1 + ln -s lockfile-progs.1 $(DESTDIR)/usr/share/man/man1/lockfile-create.1 + ln -s lockfile-progs.1 $(DESTDIR)/usr/share/man/man1/lockfile-remove.1 + ln -s lockfile-progs.1 $(DESTDIR)/usr/share/man/man1/lockfile-touch.1 + ln -s lockfile-progs.1 $(DESTDIR)/usr/share/man/man1/lockfile-check.1 + + ln -s lockfile-progs.1 $(DESTDIR)/usr/share/man/man1/mail-lock.1 + ln -s lockfile-progs.1 $(DESTDIR)/usr/share/man/man1/mail-unlock.1 + ln -s lockfile-progs.1 $(DESTDIR)/usr/share/man/man1/mail-touchlock.1 +.PHONY: install + +lockfile-create: lockfile-progs.o + ${CC} -o $@ ${CFLAGS} ${LDFLAGS} $^ -llockfile diff --git a/app-misc/lockfile-progs/lockfile-progs-0.1.13.ebuild b/app-misc/lockfile-progs/lockfile-progs-0.1.13.ebuild new file mode 100644 index 000000000000..482b7f6afdfe --- /dev/null +++ b/app-misc/lockfile-progs/lockfile-progs-0.1.13.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-misc/lockfile-progs/lockfile-progs-0.1.13.ebuild,v 1.1 2009/12/18 17:37:05 phajdan.jr Exp $ + +EAPI="2" + +inherit eutils + +DESCRIPTION="Programs to safely lock/unlock files and mailboxes" +HOMEPAGE="http://packages.debian.org/sid/lockfile-progs" +SRC_URI="mirror://debian/pool/main/l/${PN}/${PN}_${PV}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" +IUSE="" + +DEPEND="net-libs/liblockfile" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/sid" + +src_prepare() { + # Provide better Makefile, with clear separation between compilation + # and installation. + cp "${FILESDIR}/Makefile" . || die "cp failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "install failed" +} diff --git a/app-misc/lockfile-progs/metadata.xml b/app-misc/lockfile-progs/metadata.xml new file mode 100644 index 000000000000..9ca372f9b46f --- /dev/null +++ b/app-misc/lockfile-progs/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>no-herd</herd> + <maintainer> + <email>phajdan.jr@gentoo.org</email> + <name>Pawel Hajdan jr</name> + </maintainer> +</pkgmetadata> |