diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-libs/libhome |
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-libs/libhome')
-rw-r--r-- | dev-libs/libhome/Manifest | 7 | ||||
-rw-r--r-- | dev-libs/libhome/files/libhome-0.10.2-Makefile.patch | 59 | ||||
-rw-r--r-- | dev-libs/libhome/files/libhome-0.10.2-ldap_deprecated.patch | 12 | ||||
-rw-r--r-- | dev-libs/libhome/libhome-0.10.2-r1.ebuild | 55 | ||||
-rw-r--r-- | dev-libs/libhome/metadata.xml | 8 |
5 files changed, 141 insertions, 0 deletions
diff --git a/dev-libs/libhome/Manifest b/dev-libs/libhome/Manifest new file mode 100644 index 000000000000..ad33d0ea0d41 --- /dev/null +++ b/dev-libs/libhome/Manifest @@ -0,0 +1,7 @@ +AUX libhome-0.10.2-Makefile.patch 2591 SHA256 3952f5f7efe22f996856abba0a237ec709278b7d0a2482ee703ce7833aaf7fdf SHA512 e09c736127e015c4e68a572626c04162fc42736c6e8628772f268fe2df164e78e36a2d213b17072dfba31d31f0063615da89e5ceac176b2dd93b56a4c192b020 WHIRLPOOL ace1aa12e32ea54a4a080050b3f234dba92ecaffd5526d16996628c141c0006d3fd06878a67b0eb40acf109d2b85669e53aae7f9814760ad90d04d0044a42e5c +AUX libhome-0.10.2-ldap_deprecated.patch 436 SHA256 89286c93b11eef9584052c060d5d04bf227ee3730d06f1dd85130ff51e8f8937 SHA512 9837639846acb2e89c92e0b821faf40d9ee82af9f6837ea69b3d435da6433c6095b45dbf09178de5d361993405141bf9ac7b91e8f6a0bda65d038f80c6897ae7 WHIRLPOOL b2f84b52e6fa727d9e24cf5a32c151a5f98a0f490d0bd9c3dfd735d94501f6552778cd9e90671f8f16486dacb0f050d675fe2fca5dde8dcdb0254d1715ca5dff +DIST libhome-0.10.2.tar.gz 286453 SHA256 a099e61e83c140d74e3515135881903f26358bc32ce97292c8a8c673e7c0de13 SHA512 9f144b6aeb8e01f5ca2f8f90c5289d4449895e2eddbfd2d8d9b1828bb203fd8f68c224c0f068ffabfa5ee1514f9b756cb2499f862418d793eb8d06ae960447a9 WHIRLPOOL 04db6d6406e9f4f715db2236fa48b2b1e5bc7e625cbfd1c0ac192fff58dac71bc4e9ef1dac6cdd4d8ab01beede31ecda7c9fac6ec239939ef061e576c0250b44 +EBUILD libhome-0.10.2-r1.ebuild 1208 SHA256 f36fc924dba8e90e265a34bc3e5f9592904b900237fb1a31e810831aa5fcbb37 SHA512 6d994881ee0834575f23c8832c7526d5a601fef122cf3f2de17b7a866f81640227ef0880b5d9cea3287a71e83f0cef10067117d2932c2b039b6575002cbd8e94 WHIRLPOOL 0bc351b3316f27540593d7e4dcee5943d8f25c99d94413585ee65d85698915c0439b63bac6b4578dd9f8162306d314c4d0957db895c8a982228e448ef0257568 +MISC ChangeLog 2617 SHA256 e185b178fe9f1608b48fd5cc858456b6a2868f2c6ab7d73b2d8c60d379bf9c2f SHA512 75ead655ac873a79288010d697b62d36b14635336cd4f7cbb38438d0d7ba290509a7ed2ec5906cf3ad782647ad997dba284bb53e2284b1a54bf94b21e50e4c9b WHIRLPOOL 9afd70f21be57f603ceb19b5f9a31e73930ed23b7229c9fc0581f935b035d70f4204cf72fec8a44e868f1648aaa78445075e9dcfe6b904a8d71b4b496dc84125 +MISC ChangeLog-2015 3208 SHA256 7700da80fb628645eabbb0cc500c9f7cde75e3648bb5c2680aec99485f9e7019 SHA512 6d67908123fc8df9a41b845bb429d68033dae3af0b04ff2031dc90102ce048f5da88e63fcb2afc7e4702e8c063b04f6d66356ecce9831390528856c4ee9f18da WHIRLPOOL ffe712f5c5d420d8e9c5912324503968c8d5a61321944d18b231ac11b459dfe23619fff51095b8abb6699700e64f18a2a38ea089730e992858da5c75e606b1bb +MISC metadata.xml 240 SHA256 428e0d302706c12f7ca6a9430ec01a562a9bb08d13db86d35384354608c05c07 SHA512 b81e5b5547e3dc86326d624d771f3c7a55f6b85989c0de3827fd9df823f7fef49d66e6ba814d1ee6ee0e02bbc9705f00aa74ea6d247abe3db5cf3a57e4171455 WHIRLPOOL 9c679241c863adeac24bbba3ac6bc107f107d5cbc7dcdb58bba457c1524b422f3f3eee7d4b0661784a52a401945ce9b7d6b63ef94f1223a2871a1823d84a4920 diff --git a/dev-libs/libhome/files/libhome-0.10.2-Makefile.patch b/dev-libs/libhome/files/libhome-0.10.2-Makefile.patch new file mode 100644 index 000000000000..54915fd4bb04 --- /dev/null +++ b/dev-libs/libhome/files/libhome-0.10.2-Makefile.patch @@ -0,0 +1,59 @@ +--- Makefile.in ++++ Makefile.in +@@ -61,7 +61,7 @@ + LIBTOOL=./libtool + + COMPILE=${LIBTOOL} --mode=compile ${CC} ${CPPFLAGS} ${CFLAGS} +-LINK=${LIBTOOL} --mode=link ${CC} ${CFLAGS} ++LINK=${LIBTOOL} --mode=link ${CC} ${CFLAGS} ${LDFLAGS} + + + hparam.o: version.h +@@ -114,27 +114,32 @@ + install:: install-man install-lib + + install-man:: home.conf.5 +- ${INSTALL_DATA} home.conf.5 ${mandir}/man5/ +-@DO_PROXY@ ${INSTALL_DATA} home_proxy.8 ${mandir}/man8/ ++ ${INSTALL} -d $(DESTDIR)${mandir}/man5 ++@DO_PROXY@ ${INSTALL} -d $(DESTDIR)${mandir}/man8 ++ ${INSTALL_DATA} home.conf.5 $(DESTDIR)${mandir}/man5/ ++@DO_PROXY@ ${INSTALL_DATA} home_proxy.8 $(DESTDIR)${mandir}/man8/ + + install-lib:: all +- ${LIBTOOL} --mode=install ${INSTALL_DATA} libhome.la ${libdir}/ ++ ${INSTALL} -d $(DESTDIR)${libdir} ++ ${INSTALL} -d $(DESTDIR)${bindir} ++@DO_PROXY@ ${INSTALL} -d $(DESTDIR)${sbindir} ++ ${INSTALL} -d $(DESTDIR)${includedir}/home ++ ${LIBTOOL} --mode=install ${INSTALL_DATA} libhome.la $(DESTDIR)${libdir}/ + test "@PRELOAD_LIB@" = "" || \ +- ${LIBTOOL} --mode=install ${INSTALL_DATA} @PRELOAD_LIB@ ${libdir}/ +- ${LIBTOOL} --mode=install ${INSTALL_PROGRAM} home_finger ${bindir}/ +- ${LIBTOOL} --mode=install ${INSTALL_PROGRAM} home_su ${bindir}/ +- -mkdir -p ${includedir}/home +- ${INSTALL_DATA} hpwd.h ${includedir}/home/pwd.h +- ${INSTALL_DATA} hpwd.h ${includedir}/home/ +- ${INSTALL_DATA} hparam.h ${includedir}/home/ +- ${INSTALL_DATA} home_version.h ${includedir}/home/ ++ ${LIBTOOL} --mode=install ${INSTALL_DATA} @PRELOAD_LIB@ $(DESTDIR)${libdir}/ ++ ${LIBTOOL} --mode=install ${INSTALL_PROGRAM} home_finger $(DESTDIR)${bindir}/ ++ ${LIBTOOL} --mode=install ${INSTALL_PROGRAM} home_su $(DESTDIR)${bindir}/ ++ ${INSTALL_DATA} -D hpwd.h $(DESTDIR)${includedir}/home/pwd.h ++ ${INSTALL_DATA} -D hpwd.h $(DESTDIR)${includedir}/home/ ++ ${INSTALL_DATA} -D hparam.h $(DESTDIR)${includedir}/home/ ++ ${INSTALL_DATA} -D home_version.h $(DESTDIR)${includedir}/home/ + chmod +x libhome.sh +- ${INSTALL_SCRIPT} libhome.sh ${bindir}/ +-@DO_PROXY@ ${LIBTOOL} --mode=install ${INSTALL_PROGRAM} home_proxy ${sbindir}/ +-@DO_NSS@ ${LIBTOOL} --mode=install ${INSTALL_DATA} ${NSS_LIB} ${libdir}/ ++ ${INSTALL_SCRIPT} -D libhome.sh $(DESTDIR)${bindir}/ ++@DO_PROXY@ ${LIBTOOL} --mode=install ${INSTALL_PROGRAM} home_proxy $(DESTDIR)${sbindir}/ ++@DO_NSS@ ${LIBTOOL} --mode=install ${INSTALL_DATA} ${NSS_LIB} $(DESTDIR)${libdir}/ + + install-nss:: nss +-@DO_NSS@ ${LIBTOOL} --mode=install ${INSTALL_DATA} ${NSS_LIB} ${libdir}/ ++@DO_NSS@ ${LIBTOOL} --mode=install ${INSTALL_DATA} ${NSS_LIB} $(DESTDIR)${libdir}/ + + compat: + -mkdir compat diff --git a/dev-libs/libhome/files/libhome-0.10.2-ldap_deprecated.patch b/dev-libs/libhome/files/libhome-0.10.2-ldap_deprecated.patch new file mode 100644 index 000000000000..a96645176c13 --- /dev/null +++ b/dev-libs/libhome/files/libhome-0.10.2-ldap_deprecated.patch @@ -0,0 +1,12 @@ +Index: libhome-0.10.2/hldap.c +=================================================================== +--- libhome-0.10.2.orig/hldap.c ++++ libhome-0.10.2/hldap.c +@@ -27,6 +27,7 @@ static char const rcsid[] UNUSED = + "$Id: libhome-0.10.2-ldap_deprecated.patch,v 1.1 2009/07/05 19:25:41 hollow Exp $"; + + #define passwd system_passwd ++#define LDAP_DEPRECATED 1 + #include <lber.h> /* for openldap 1.x */ + #include <ldap.h> + #include <errno.h> diff --git a/dev-libs/libhome/libhome-0.10.2-r1.ebuild b/dev-libs/libhome/libhome-0.10.2-r1.ebuild new file mode 100644 index 000000000000..ef3cfe46b6ca --- /dev/null +++ b/dev-libs/libhome/libhome-0.10.2-r1.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit autotools db-use eutils + +DESCRIPTION="libhome is a library providing a getpwnam() emulation" +HOMEPAGE="http://pll.sourceforge.net" +SRC_URI="mirror://sourceforge/pll/${P}.tar.gz" + +LICENSE="LGPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="berkdb ldap mysql pam postgres" + +DEPEND="berkdb? ( >=sys-libs/db-4 ) + ldap? ( net-nds/openldap ) + mysql? ( virtual/mysql ) + pam? ( virtual/pam ) + postgres? ( dev-db/postgresql[server] )" +RDEPEND="${DEPEND}" + +src_prepare() { + rm -f aclocal.m4 + + epatch "${FILESDIR}"/${PN}-0.10.2-Makefile.patch + epatch "${FILESDIR}"/${PN}-0.10.2-ldap_deprecated.patch + + # bug 225579 + sed -i -e 's:\<VERSION\>:__PKG_VERSION:' configure.in + + sed -i -e '/AC_SEARCH_LIBS.*db4/s: db-4.* db4:'$(db_libname)':' \ + configure.in + + eautoreconf +} + +src_configure() { + econf --without-db3 \ + $(use_with berkdb db4 $(db_includedir)) \ + $(use_with ldap) \ + $(use_with mysql) \ + $(use_with pam) \ + $(use_with postgres pgsql) \ + || die "econf failed" +} + +src_compile() { + emake || die "emake failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "make install failed" +} diff --git a/dev-libs/libhome/metadata.xml b/dev-libs/libhome/metadata.xml new file mode 100644 index 000000000000..77f70a1e61a5 --- /dev/null +++ b/dev-libs/libhome/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <!-- maintainer-needed --> + <upstream> + <remote-id type="sourceforge">pll</remote-id> + </upstream> +</pkgmetadata> |