[arch-commits] Commit in chntpw/repos (4 files)
Lukas Fleischer
lfleischer at nymeria.archlinux.org
Thu Feb 13 09:45:47 UTC 2014
Date: Thursday, February 13, 2014 @ 10:45:47
Author: lfleischer
Revision: 105665
archrelease: copy trunk to community-i686, community-x86_64
Added:
chntpw/repos/community-i686/PKGBUILD
(from rev 105664, chntpw/trunk/PKGBUILD)
chntpw/repos/community-x86_64/PKGBUILD
(from rev 105664, chntpw/trunk/PKGBUILD)
Deleted:
chntpw/repos/community-i686/PKGBUILD
chntpw/repos/community-x86_64/PKGBUILD
---------------------------+
/PKGBUILD | 74 ++++++++++++++++++++++++++++++++++++++++++++
community-i686/PKGBUILD | 34 --------------------
community-x86_64/PKGBUILD | 34 --------------------
3 files changed, 74 insertions(+), 68 deletions(-)
Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD 2014-02-13 09:45:34 UTC (rev 105664)
+++ community-i686/PKGBUILD 2014-02-13 09:45:47 UTC (rev 105665)
@@ -1,34 +0,0 @@
-# $Id$
-# Maintainer: Lukas Fleischer <archlinux at cryptocrack dot de>
-# Contributor: Tobias Powalowski <tpowa at archlinux.org>
-
-pkgname=chntpw
-pkgver=110511
-pkgrel=2
-pkgdesc='Offline NT Password Editor - reset passwords in a Windows NT SAM user database file.'
-arch=('i686' 'x86_64')
-url='http://pogostick.net/~pnh/ntpasswd/'
-license=('GPL' 'LGPL')
-makedepends=('openssl')
-source=("http://pogostick.net/~pnh/ntpasswd/${pkgname}-source-${pkgver}.zip")
-md5sums=('a3fb358d1adec589cd6bc8dedf68896c')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
-
- [ "$CARCH" = "x86_64" ] && sed -i "s|CFLAGS= -DUSEOPENSSL -g -I. -I\$(OSSLINC) -Wall -m32|CFLAGS= -DUSEOPENSSL -g -I. -I\$(OSSLINC) -Wall|" Makefile
- make
-}
-
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
-
- # install binaries, don't install static binaries!
- install -Dm0755 "${srcdir}/${pkgname}-${pkgver}/${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
- install -Dm0755 "${srcdir}/${pkgname}-${pkgver}/reged" "${pkgdir}/usr/bin/reged"
- install -Dm0755 "${srcdir}/${pkgname}-${pkgver}/cpnt" "${pkgdir}/usr/bin/cpnt"
-
- for _f in *.txt; do
- install -Dm0644 "${_f}" "${pkgdir}/usr/share/doc/${pkgname}/${_f}"
- done
-}
Copied: chntpw/repos/community-i686/PKGBUILD (from rev 105664, chntpw/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2014-02-13 09:45:47 UTC (rev 105665)
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer: Lukas Fleischer <archlinux at cryptocrack dot de>
+# Contributor: Tobias Powalowski <tpowa at archlinux.org>
+
+pkgname=chntpw
+pkgver=140201
+pkgrel=1
+pkgdesc='Offline NT Password Editor - reset passwords in a Windows NT SAM user database file'
+arch=('i686' 'x86_64')
+url='http://pogostick.net/~pnh/ntpasswd/'
+license=('GPL' 'LGPL')
+makedepends=('openssl')
+source=("http://pogostick.net/~pnh/ntpasswd/${pkgname}-source-${pkgver}.zip")
+md5sums=('d60bc657206b07ad84d926649d6417dc')
+
+prepare() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ sed -i 's/^CFLAGS= \(.*\) -m32 $/CFLAGS= \1/' Makefile
+}
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ # install binaries, don't install static binaries!
+ install -Dm0755 "${srcdir}/${pkgname}-${pkgver}/${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
+ install -Dm0755 "${srcdir}/${pkgname}-${pkgver}/reged" "${pkgdir}/usr/bin/reged"
+ install -Dm0755 "${srcdir}/${pkgname}-${pkgver}/cpnt" "${pkgdir}/usr/bin/cpnt"
+
+ for _f in *.txt; do
+ install -Dm0644 "${_f}" "${pkgdir}/usr/share/doc/${pkgname}/${_f}"
+ done
+}
Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD 2014-02-13 09:45:34 UTC (rev 105664)
+++ community-x86_64/PKGBUILD 2014-02-13 09:45:47 UTC (rev 105665)
@@ -1,34 +0,0 @@
-# $Id$
-# Maintainer: Lukas Fleischer <archlinux at cryptocrack dot de>
-# Contributor: Tobias Powalowski <tpowa at archlinux.org>
-
-pkgname=chntpw
-pkgver=110511
-pkgrel=2
-pkgdesc='Offline NT Password Editor - reset passwords in a Windows NT SAM user database file.'
-arch=('i686' 'x86_64')
-url='http://pogostick.net/~pnh/ntpasswd/'
-license=('GPL' 'LGPL')
-makedepends=('openssl')
-source=("http://pogostick.net/~pnh/ntpasswd/${pkgname}-source-${pkgver}.zip")
-md5sums=('a3fb358d1adec589cd6bc8dedf68896c')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
-
- [ "$CARCH" = "x86_64" ] && sed -i "s|CFLAGS= -DUSEOPENSSL -g -I. -I\$(OSSLINC) -Wall -m32|CFLAGS= -DUSEOPENSSL -g -I. -I\$(OSSLINC) -Wall|" Makefile
- make
-}
-
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
-
- # install binaries, don't install static binaries!
- install -Dm0755 "${srcdir}/${pkgname}-${pkgver}/${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
- install -Dm0755 "${srcdir}/${pkgname}-${pkgver}/reged" "${pkgdir}/usr/bin/reged"
- install -Dm0755 "${srcdir}/${pkgname}-${pkgver}/cpnt" "${pkgdir}/usr/bin/cpnt"
-
- for _f in *.txt; do
- install -Dm0644 "${_f}" "${pkgdir}/usr/share/doc/${pkgname}/${_f}"
- done
-}
Copied: chntpw/repos/community-x86_64/PKGBUILD (from rev 105664, chntpw/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2014-02-13 09:45:47 UTC (rev 105665)
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer: Lukas Fleischer <archlinux at cryptocrack dot de>
+# Contributor: Tobias Powalowski <tpowa at archlinux.org>
+
+pkgname=chntpw
+pkgver=140201
+pkgrel=1
+pkgdesc='Offline NT Password Editor - reset passwords in a Windows NT SAM user database file'
+arch=('i686' 'x86_64')
+url='http://pogostick.net/~pnh/ntpasswd/'
+license=('GPL' 'LGPL')
+makedepends=('openssl')
+source=("http://pogostick.net/~pnh/ntpasswd/${pkgname}-source-${pkgver}.zip")
+md5sums=('d60bc657206b07ad84d926649d6417dc')
+
+prepare() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ sed -i 's/^CFLAGS= \(.*\) -m32 $/CFLAGS= \1/' Makefile
+}
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ # install binaries, don't install static binaries!
+ install -Dm0755 "${srcdir}/${pkgname}-${pkgver}/${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
+ install -Dm0755 "${srcdir}/${pkgname}-${pkgver}/reged" "${pkgdir}/usr/bin/reged"
+ install -Dm0755 "${srcdir}/${pkgname}-${pkgver}/cpnt" "${pkgdir}/usr/bin/cpnt"
+
+ for _f in *.txt; do
+ install -Dm0644 "${_f}" "${pkgdir}/usr/share/doc/${pkgname}/${_f}"
+ done
+}
More information about the arch-commits
mailing list